:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#263633;background:#f5f7f8;font-size:16px;--green:#2c5280;--line:#e4e9e8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:8px;padding:10px 16px;color:inherit;font-weight:500}button:hover{background:#edf4f1}button:disabled{opacity:.5;cursor:default}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#203f63}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;gap:32px}.brand{font-size:25px;font-weight:750;letter-spacing:2px;display:flex;align-items:center;gap:12px}.mark{background:var(--green);color:#fff;border-radius:10px;width:40px;height:40px;display:grid;place-items:center;font-size:20px}.sub{font-size:13px;color:#88938f;margin-top:8px}.nav{padding:13px;border-radius:8px;background:#e9f2ef;color:var(--green);font-weight:600}.sidefoot{margin-top:auto;color:#87938f;font-size:13px;line-height:1.8}.main{max-width:1280px;padding:35px 48px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;color:#778581;font-size:14px;margin-bottom:40px}.topbar span:last-child{background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:30px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}h1{font-size:29px;letter-spacing:-1px;margin:0 0 10px}p{line-height:1.6}.muted{color:#7a8783}.classbar{display:flex;gap:12px;margin-bottom:26px;align-items:center}.classbar select{width:180px;background:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);padding:22px;border-radius:12px}.stat strong{display:block;font-size:32px;margin-top:12px;font-weight:650}.stat strong small{font-size:16px;color:#99a39f;font-weight:400}.stat label{font-size:14px;color:#75827e}.sectiontitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}h2{font-size:19px;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;overflow:hidden}.cardbody{padding:24px}.titleline{display:flex;justify-content:space-between;gap:12px;align-items:center}.titleline h3{font-size:19px;margin:0;line-height:1.5}.pill{font-size:13px;border-radius:5px;padding:5px 9px;white-space:nowrap;background:#edf4f0;color:#306451}.pill.orange{background:#fff1df;color:#a06b21}.meta{font-size:14px;color:#78847f;margin:12px 0 22px}.progresslabel{display:flex;justify-content:space-between;font-size:14px}.progress{height:7px;background:#edf0ee;border-radius:10px;margin-top:12px}.progress i{display:block;background:#3b8271;height:100%;border-radius:10px}.missing{background:#faf7f1;padding:16px;border-radius:8px;margin-top:22px;font-size:14px;line-height:1.9}.missing strong{color:#946c32;margin-right:15px}.actions{padding:16px 24px;border-top:1px solid var(--line);display:flex;gap:9px;flex-wrap:wrap}.actions button{font-size:14px}.aside{background:#eaf0ed;padding:24px;border-radius:12px;height:max-content;line-height:1.8}.aside h3{margin:0 0 20px;font-size:17px}.step{display:flex;gap:12px;margin:18px 0;font-size:14px}.step b{border:1px solid #c4d6ce;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.aside p{font-size:13px;color:#71837b;border-top:1px solid #d2ded7;padding-top:16px}.back{margin-bottom:22px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{color:#7b8883;font-weight:500;background:#fafbfa}td,th{padding:17px 22px;border-bottom:1px solid var(--line)}td button{font-size:14px;padding:6px 11px}.status{color:#2e7563}.warn{color:#a97624}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.toolbar select{width:150px}input,select,textarea{padding:12px;border:1px solid #d7dfdb;border-radius:8px;width:100%;background:#fff;color:#263633}label.field{display:block;margin:19px 0;font-size:14px}label.field>input,label.field>select,label.field>textarea{margin-top:8px}textarea{resize:vertical;min-height:95px}dialog{border:0;border-radius:16px;padding:28px;width:min(560px,calc(100vw - 32px));max-height:90vh;color:#263633;box-shadow:0 20px 90px #142d3830}dialog::backdrop{background:#14292766}.dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.close{border:0;font-size:22px;padding:3px 10px}.dialogfoot{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.photos{display:flex;gap:12px;overflow:auto;margin:20px 0}.photos a{flex-shrink:0}.photos img{width:125px;height:165px;object-fit:cover;border:1px solid var(--line);border-radius:8px}.parent{max-width:520px;margin:0 auto;padding:30px 20px 60px}.parent .brand{justify-content:center;margin:16px 0 30px}.parent h1{font-size:23px;letter-spacing:0;line-height:1.5}.parent .cardbody{padding:26px}.parent .primary{width:100%;padding:15px}.upload{border:2px dashed #bdd2c8;border-radius:12px;display:block;padding:30px 20px;text-align:center;background:#f5faf7;color:#2d705c;cursor:pointer}.upload input{display:none}.upload small{display:block;color:#81958b;font-size:13px;margin-top:10px}.previewlist{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.previewitem{width:95px;position:relative}.previewitem img{width:95px;height:110px;object-fit:cover;border-radius:6px}.previewitem button{position:absolute;right:3px;top:3px;padding:1px 6px}.success{text-align:center;padding:20px 0}.success b{font-size:45px;color:#367e65}.success p{color:#75827d}.demo{font-size:13px;text-align:center;color:#89958f;margin-top:20px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#263c35;color:white;border-radius:9px;display:none;z-index:100}button:focus-visible,a:focus-visible{outline:3px solid #72bba8;outline-offset:3px}.empty{padding:36px;text-align:center;color:#8a9590}@media(max-width:1050px){.workspace{grid-template-columns:1fr}.aside{display:none}.main{padding:28px}.shell{grid-template-columns:180px 1fr}}@media(max-width:700px){.shell{display:block}.sidebar{padding:18px 20px;border-bottom:1px solid var(--line);border-right:0}.sidebar .nav,.sidebar .sidefoot,.sidebar .sub{display:none}.brand{font-size:21px}.main{padding:22px 16px}.topbar{margin-bottom:26px}.heading{align-items:flex-start}.heading button{white-space:nowrap;padding:10px 12px}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:16px}.cardbody{padding:19px}.actions{padding:15px}.titleline{align-items:flex-start}.titleline h3{font-size:17px}.meta{line-height:1.7}.toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.topbar span:last-child{font-size:12px}.classbar{flex-wrap:wrap}td,th{padding:14px;white-space:nowrap}}

.student-results{display:flex;flex-wrap:wrap;gap:8px;max-height:210px;overflow:auto;margin-top:-8px;padding:4px 2px}.student-results button{padding:10px 14px;font-size:16px}.student-results button[aria-pressed="true"]{background:var(--green);color:white;border-color:var(--green)}.student-choice{font-size:14px;color:#427662;margin:12px 0 22px}.student-results p{font-size:14px;margin:8px 0}
.brand{letter-spacing:0;gap:10px;font-size:21px}.brandname{display:block;line-height:1.4}.brandname small{display:block;font-size:12px;letter-spacing:2px;font-weight:400;color:#70839a}.mark{background:#2c5280;border-radius:12px 12px 12px 3px;box-shadow:3px 3px 0 #edbc66}.sidebar .sub{color:#7b8ea4;margin-top:14px}.sidebar .nav{background:#edf3fb;color:#2c5280}.sidebar{border-top:4px solid #2c5280}.parent .brand{margin-bottom:28px}.parent .brandname small{font-size:13px}.heading h1:after{content:"";display:block;width:30px;height:3px;background:#edbc66;margin-top:12px;border-radius:3px}.heading h1{margin-bottom:14px}.aside{background:#edf2f8}.progress i{background:#3d719b}.pill{background:#edf3fa;color:#365d87}.upload{background:#f4f7fc;border-color:#bdd0e5;color:#2c5280}

.upload-overlay{position:fixed;inset:0;z-index:10000;background:rgba(238,243,249,.98);display:flex;align-items:center;justify-content:center;padding:24px}.upload-panel{max-width:470px;width:100%;text-align:center;background:white;padding:36px 24px;border-radius:24px;box-shadow:0 12px 50px #2c528018}.upload-panel h1{font-size:25px}.upload-panel p{line-height:1.7}.upload-warning{color:#ab5c14;font-weight:700;font-size:19px}.upload-panel progress{width:100%;height:18px;accent-color:#2c5280}.upload-panel strong{display:block;margin:12px;font-size:30px;color:#2c5280}.upload-spinner{width:36px;height:36px;border:4px solid #e5edf6;border-top-color:#2c5280;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 24px}@keyframes spin{to{transform:rotate(360deg)}}.submit-error{padding:18px;background:#fff1eb;border:1px solid #e9b39c;border-radius:12px;color:#913c24;margin-top:18px;line-height:1.6}
