:root{--bg:#f6f7f1;--panel:#fff;--ink:#20382c;--muted:#5e7062;--line:#d9e0d4;--pine:#174b38;--pale:#e8eee1;--lime:#dae99e;--warn:#986d2e;--danger:#a2443e;--shadow:0 12px 30px rgba(35,58,45,.08)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:0;margin-bottom:9px}h2{letter-spacing:0}h3{margin-bottom:7px}.icon{width:18px;height:18px;object-fit:contain;vertical-align:-4px}.brand{display:flex;align-items:center;gap:10px}.brand img{width:34px;height:34px}.brand strong{display:block;font-size:18px;letter-spacing:.02em}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.muted{color:var(--muted)}.eyebrow{color:var(--pine);font-size:12px;font-weight:700;letter-spacing:.08em;margin-bottom:10px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}.btn{border:1px solid transparent;border-radius:7px;padding:11px 16px;display:inline-flex;align-items:center;gap:8px;font-weight:700}.btn.primary{background:var(--pine);color:#fff}.btn.secondary{background:#fff;color:var(--pine);border-color:var(--line)}.plainBtn,.backBtn{border:0;background:transparent;color:var(--pine);padding:6px;display:inline-flex;gap:6px;align-items:center;font-weight:700}.iconBtn{border:0;background:transparent;padding:6px;color:var(--ink)}.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:20px;padding:4px 8px;white-space:nowrap}.pill i{width:5px;height:5px;border-radius:50%;background:currentColor}.pill.good{color:#316343;background:#e7f0e0}.pill.warn{color:var(--warn);background:#f8edda}.pill.danger{color:var(--danger);background:#f9e3e1}.loginPage{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#f6f7f1,#edf3e8)}.loginCard{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:12px;padding:34px;box-shadow:var(--shadow)}.loginCard h1{margin-top:30px}.loginCard form{display:grid;gap:15px;margin-top:25px}.loginCard label,.modal label{display:grid;gap:7px;color:var(--muted);font-weight:700;font-size:12px}.loginCard input,.modal input,.modal select,.modal textarea{width:100%;border:1px solid #cbd7c7;border-radius:6px;padding:11px;color:var(--ink);background:#fff}.modal textarea{min-height:100px;resize:vertical}.loginHint{font-size:12px;color:var(--muted);line-height:1.7;margin:20px 0 0}.notice{display:flex;gap:8px;align-items:center;margin:18px 0;padding:11px;border-radius:7px}.notice.danger{background:#f9e3e1;color:var(--danger)}.studentLayout{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.studentSide{background:#eef2e8;border-right:1px solid var(--line);padding:28px 15px;display:flex;flex-direction:column}.studentSide .brand{padding:0 8px 30px}.sideTitle{font-weight:700;font-size:13px;color:var(--muted);padding:0 8px 10px}.zoneList{display:grid;gap:8px}.zoneItem{display:flex;align-items:center;gap:9px;width:100%;background:transparent;border:0;border-radius:10px;padding:10px 8px;text-align:left;color:var(--muted)}.zoneItem:hover,.zoneItem:focus,.zoneItem.active{background:#dce8d7;color:var(--pine)}.zoneItem img{width:32px;height:32px;border-radius:7px;object-fit:cover}.zoneItem span:nth-child(2){flex:1;font-weight:700}.studentSideFoot{margin-top:auto;border-top:1px solid var(--line);padding:16px 8px;color:var(--muted);font-size:12px}.studentMain{min-width:0}.studentTop{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,56px)}.studentActions{display:flex;align-items:center;gap:13px;color:var(--muted)}.studentNo{font-family:ui-monospace;font-size:12px}.studentTop .brand{display:none}.studentIntro,.pageHeader{padding:48px clamp(18px,5vw,76px) 28px}.studentIntro{display:flex;align-items:end;justify-content:space-between;gap:30px}.studentIntro h1{font-size:38px}.studentIntro p:last-child,.pageHeader>p:last-child{color:var(--muted)}.segmented{display:flex;gap:4px;border:1px solid var(--line);background:#eef2e8;padding:4px;border-radius:8px}.segmented button{border:0;border-radius:6px;background:transparent;padding:9px 14px;color:var(--muted)}.segmented button.active{background:#fff;color:var(--pine);font-weight:700;box-shadow:0 1px 3px #20382c1a}.zoneHero{margin:0 clamp(18px,5vw,76px) 38px;border-radius:13px;background:var(--pine);color:#fff;padding:30px 38px;display:flex;justify-content:space-between;align-items:center;min-height:180px;overflow:hidden}.zoneHero h2{font-size:30px;margin:16px 0 8px}.zoneHero p{color:#dbe8d9}.zoneHero img{width:150px;height:150px;opacity:.9;object-fit:cover;border-radius:16px}.heroTag{font-size:11px;background:#496b4b;padding:5px 9px;border-radius:12px}.contentGrid{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:0 clamp(18px,5vw,76px) 50px}.sectionHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.sectionHead h2{font-size:20px}.sectionHead>span{color:var(--muted);font-size:12px}.itemList{display:grid;gap:12px}.studyItem{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px;display:flex;gap:12px;align-items:center}.itemIcon{background:#e4efda;color:#446443;border-radius:7px;padding:12px}.itemIcon.video{background:#f2ddb7;color:#81592d}.itemBody{min-width:0;flex:1}.itemBody h3{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.itemBody p,.itemMeta{font-size:12px;color:var(--muted);margin:0 0 6px}.itemMeta{display:flex;align-items:center;gap:8px}.empty{background:#fff;border:1px dashed var(--line);color:var(--muted);padding:34px;text-align:center;border-radius:10px}.bottomNav{display:none}.pageHeader h1{margin-top:8px}.quizLayout{display:grid;grid-template-columns:230px 1fr;gap:28px;padding:0 clamp(18px,5vw,76px) 60px}.quizNav{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px;height:max-content}.quizNav h3{padding:0 8px 8px}.quizNav button{border:0;background:transparent;width:100%;padding:10px 8px;text-align:left;border-radius:6px;color:var(--muted);display:flex;gap:10px}.quizNav button.active{background:#e8eee1;color:var(--pine);font-weight:700}.quizNav button span{font-size:11px}.questionPanel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:32px;min-height:400px}.questionTop{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.questionStem{font-size:22px;line-height:1.65;margin:25px 0}.options{display:grid;gap:10px}.option{display:flex;gap:12px;align-items:center;border:1px solid var(--line);padding:13px;border-radius:7px;cursor:pointer}.option:has(input:checked){border-color:var(--pine);background:#f1f7ed}.option input{accent-color:var(--pine)}.optionKey{width:25px;height:25px;border-radius:50%;background:#edf2e8;color:var(--pine);display:grid;place-items:center;font-weight:700}.questionPanel textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:13px;resize:vertical}.answerActions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.explain{margin-top:26px;border-top:1px solid var(--line);padding-top:18px;background:#f5f8f1;padding:16px;border-radius:8px}.explain h3{color:var(--pine);font-size:14px}.explain p{line-height:1.7;margin-bottom:0}.locked{text-align:center;padding:80px 20px;color:var(--muted)}.lockIcon{display:grid;place-items:center;margin:0 auto 20px;background:#eef2e8;width:58px;height:58px;border-radius:50%;color:var(--pine)}.lockIcon .icon{width:25px;height:25px}.courseLayout{display:grid;grid-template-columns:1fr 320px;gap:24px;padding:0 clamp(18px,5vw,76px) 60px}.videoBox{background:#102c22;border-radius:11px;min-height:340px;position:relative;overflow:hidden}.videoPoster{height:100%;min-height:340px;position:relative}.videoPoster>img{width:100%;height:100%;object-fit:cover;opacity:.7}.videoOverlay{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#fff;gap:10px}.videoOverlay .icon{width:42px;height:42px;margin:auto}.videoBox video{width:100%;height:100%;min-height:340px;object-fit:contain;background:#102c22}.watermark{position:absolute;bottom:15px;right:18px;color:#fff;background:#12281f99;padding:3px 7px;border-radius:4px;font-family:ui-monospace}.lessonList{background:#fff;border:1px solid var(--line);padding:16px;border-radius:11px;height:max-content}.lesson{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid var(--line);background:transparent;padding:14px 2px;text-align:left;color:var(--ink)}.lesson>span:first-child{font-family:ui-monospace;color:var(--muted)}.lesson b{flex:1}.profileGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 clamp(18px,5vw,76px)}.profileCard,.panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px}.profileCard>.brand{margin-bottom:30px}.profileName{display:flex;gap:14px;align-items:center;margin-bottom:35px}.profileName h2{margin:0 0 4px}.avatar{width:30px;height:30px;border-radius:50%;background:#dceac8;color:#315c42;display:grid;place-items:center;font-weight:700;font-size:12px}.avatar.large{width:50px;height:50px;font-size:18px}.grantRow{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:12px 0}.grantRow img{width:34px;height:34px;border-radius:7px}.grantRow div{flex:1}.grantRow small{display:block;color:var(--muted);margin-top:3px}.adminLayout{min-height:100vh;display:grid;grid-template-columns:235px 1fr}.adminSide{background:#173e30;color:#fff;padding:25px 14px;display:flex;flex-direction:column}.adminSide .brand strong{color:#fff}.adminSide .brand small{color:#b5cbb5}.adminSide nav{display:grid;gap:5px;margin-top:42px}.adminSide nav button{display:flex;gap:10px;align-items:center;border:0;background:transparent;color:#d9e8d7;padding:12px 11px;border-radius:7px;text-align:left}.adminSide nav button.active,.adminSide nav button:hover{background:#315b45;color:#fff}.adminSide .icon{filter:brightness(0) invert(1)}.adminAccount{display:flex;align-items:center;gap:9px;margin-top:auto;border-top:1px solid #ffffff33;padding:17px 8px}.adminAccount small{display:block;color:#b5cbb5;margin-top:2px}.adminMain{min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px}.crumb{display:flex;align-items:center;gap:8px;color:var(--muted)}.topright{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.topright .date{font-family:ui-monospace;border-right:1px solid var(--line);padding-right:13px}.adminContent{padding:34px 40px 60px;max-width:1500px}.inlineBetween{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.statsGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 24px}.statCell{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px}.statCell .icon{display:block;background:#e8eee1;padding:10px;width:38px;height:38px;border-radius:7px;margin-bottom:15px}.statCell small{display:block;color:var(--muted)}.statCell strong{font-size:28px;display:block;margin-top:6px}.adminTwo{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panelHead{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:10px}.flowSteps{display:flex;gap:8px;flex-wrap:wrap}.flowSteps span{background:#edf2e8;color:var(--pine);padding:10px;border-radius:6px;font-size:12px}.tableWrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-bottom:1px solid var(--line);padding:14px 10px;vertical-align:middle}th{font-size:12px;color:var(--muted);font-weight:700}td small{display:block;color:var(--muted);margin-top:4px}.titleCell{display:flex;align-items:center;gap:9px}.titleCell img{width:34px;height:34px;border-radius:7px;object-fit:cover}.coverThumb{width:52px!important;height:34px!important}.modalBack{position:fixed;inset:0;background:#102c2270;display:grid;place-items:center;padding:20px;z-index:20}.modal{background:#fff;border-radius:10px;width:min(560px,100%);max-height:90vh;overflow:auto;padding:22px;box-shadow:var(--shadow)}.modalHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modalHead h2{margin:0;font-size:20px}.modal form{display:grid;gap:14px}.checkLine{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important;gap:8px!important}.checkLine input{width:auto}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--pine);color:#fff;padding:11px 18px;border-radius:7px;z-index:40;box-shadow:var(--shadow)}.toast.danger{background:var(--danger)}
@media(max-width:900px){.studentLayout,.adminLayout{display:block}.studentSide,.adminSide{display:none}.studentTop .brand{display:flex}.studentTop{padding:0 18px}.contentGrid,.adminTwo,.profileGrid{grid-template-columns:1fr}.quizLayout,.courseLayout{grid-template-columns:1fr}.quizNav{display:flex;gap:5px;overflow:auto}.quizNav h3{display:none}.quizNav button{width:auto;min-width:70px}.bottomNav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;height:64px;background:#fff;border-top:1px solid var(--line);justify-content:space-around}.bottomNav button{border:0;background:transparent;color:var(--muted);font-size:11px;display:grid;place-items:center}.bottomNav button.active{color:var(--pine)}.studentMain{padding-bottom:60px}.adminContent{padding:25px 18px 60px}.topbar{padding:0 18px}.topright .date,.topright>span:not(.avatar){display:none}.statsGrid{grid-template-columns:repeat(2,1fr)}.studentIntro{display:block;padding-top:30px}.segmented{margin-top:20px;overflow:auto}.zoneHero{margin-left:18px;margin-right:18px;padding:24px}.zoneHero img{width:90px;height:90px}.studentIntro,.pageHeader{padding-left:18px;padding-right:18px}.contentGrid{padding-left:18px;padding-right:18px}.questionPanel{padding:20px}.questionStem{font-size:19px}}
button,.btn,.plainBtn,.backBtn,.iconBtn,.segmented button,.bottomNav button{display:inline-flex;align-items:center;justify-content:center;line-height:1.2}
.adminSide{background:#173e31;padding:24px 16px}
.adminSide .brand{padding:5px 10px 24px;border-bottom:1px solid #ffffff35}
.adminSide .brand strong{font-family:serif;font-size:24px;letter-spacing:0}
.adminSide nav{margin-top:14px;gap:3px}
.adminSide nav small{color:#aac3ad;font-size:12px;padding:14px 11px 7px}
.adminSide nav button{font-size:15px;min-height:44px;padding:10px 13px}
.adminSide nav button.active{background:#dae99e;color:#174b38;font-weight:700}
.adminSide nav button.active .icon{filter:none}
.adminAccount .avatar{width:32px;height:32px;background:#4d7458;color:#dae99e}
.adminContent{max-width:none;padding:28px 34px 50px}
.adminContent>.pageHeader{padding:0 0 22px}
.adminContent>.pageHeader h1{font-family:serif;font-size:31px;margin-bottom:13px}
.adminContent>.pageHeader p{color:var(--muted);margin:0}
.adminContent .panel{border-radius:8px}
.adminContent th{background:#eef2e8}
.adminContent td{height:61px}
.overviewTop{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:16px}
.overviewHero{min-height:230px;border-radius:8px;background:#173e31 url('/assets/hero-book.svg') center/cover no-repeat;overflow:hidden;color:#fff;display:flex;align-items:stretch}
.overviewHeroCopy{padding:24px;display:flex;flex-direction:column;align-items:flex-start;width:48%;max-width:48%;min-width:0}
.overviewHeroCopy small{font-size:13px}
.overviewHeroCopy h2{font-family:serif;font-size:30px;line-height:1.25;margin:21px 0 13px;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.overviewHeroCopy p{color:#e6efdf;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.adminMobileNav{display:none}
.heroButton{background:#dae99e;color:#174b38;margin-top:auto}
.quickPanel{padding:19px 20px}
.quickPanel h2,.zoneSummary>h2,.protectionGrid h2,.protectionNote h2{font-size:18px;margin-bottom:14px}
.quickPanel button{display:flex;align-items:center;gap:12px;background:transparent;border:0;border-bottom:1px solid var(--line);width:100%;min-height:54px;color:var(--ink);text-align:left}
.quickPanel button:last-child{border:0}
.quickPanel button b{flex:1}
.quickPanel button>.icon:last-child{width:15px}
.quickIcon{width:32px;height:32px;background:#e8eee1;border-radius:6px;display:grid;place-items:center}
.quickPanel button:nth-of-type(2) .quickIcon{background:#f6e5ca}
.quickPanel button:nth-of-type(3) .quickIcon{background:#e6e5f0}
.statsGrid{margin:17px 0;gap:12px}
.statCell{border-radius:8px;padding:16px;min-height:91px}
.statCell>div{display:flex;align-items:center;gap:9px}
.statCell .icon{display:block;background:transparent;padding:0;width:17px;height:17px;margin:0}
.statCell strong{color:#174b38;font-size:28px;margin-top:8px}
.zoneSummary{padding:0;overflow:hidden}
.zoneSummary>h2{padding:18px 20px;margin:0}
.zoneSummary th,.zoneSummary td{padding-left:20px}
.questionWork{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.sourcePane,.questionListPane,.editorPane{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.excelQuestionList{max-height:70vh;overflow:auto}
.excelQuestionList .paneHead{position:sticky;top:0;z-index:1;background:#fff}
.bankActions{display:flex;align-items:center;gap:10px;white-space:nowrap}
.deleteBtn{color:var(--danger)}
.btn.danger{background:var(--danger);color:#fff;justify-content:center}
.paneHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px}
.paneHead h2{margin:0;font-size:18px}
.paneHead a{color:var(--pine);display:inline-flex;align-items:center;gap:5px;text-decoration:none;font-weight:700}
.sourcePane iframe{display:block;width:100%;height:570px;border:0;background:#f0f2eb}
.questionMiniList{margin-top:12px;border:1px solid var(--line);border-radius:8px;overflow:auto;max-height:170px;background:#fff}
.questionListRow{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:0;border-top:1px solid var(--line);padding:13px 17px;background:#fff;color:var(--ink)}
.questionListRow.active{background:#eef4e8}
.questionListRow span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.questionListRow small{color:var(--muted);white-space:nowrap}
.questionListPane .paneHead+.questionListRow{border-top:1px solid var(--line)}
.editorPane{padding:18px}
.editorPane form{display:grid;gap:14px}
.editorPane h2{font-size:18px}
.editorPane label{display:grid;gap:7px;font-weight:700;font-size:13px}
.editorPane input,.editorPane select,.editorPane textarea{width:100%;border:1px solid var(--line);border-radius:6px;padding:10px 11px;color:var(--ink);background:#fff;font-weight:400}
.editorPane textarea{min-height:72px;resize:vertical}
.editorPane .checkLine input{width:auto}
.formPair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.formActions{display:flex;justify-content:flex-end}
.protectionGrid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:16px}
.protectionGrid .panel:first-child{padding:0;overflow:hidden}
.protectionGrid .panel:first-child .paneHead{padding:19px 20px}
.protectedContent{background:#eef2e8}
.protectedContent p,.protectionNote p{display:flex;align-items:center;gap:12px;line-height:1.6}
.protectionNote{margin-top:18px}
.protectionNote p{background:#eef2e8;padding:12px;border-radius:7px;margin:0}
.row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
@media(max-width:900px){.adminContent{padding:24px 18px 112px}.overviewTop,.questionWork,.protectionGrid{grid-template-columns:1fr}.overviewHero{min-height:220px}.overviewHeroCopy{width:52%;max-width:52%}.overviewHeroCopy h2{font-size:23px}.statsGrid{grid-template-columns:repeat(2,1fr)}.sourcePane iframe{height:440px}.adminContent>.pageHeader.inlineBetween{display:block}.adminContent>.pageHeader .row{margin-top:15px}.adminMobileNav{display:flex;position:fixed;z-index:10;left:0;right:0;bottom:0;overflow-x:auto;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.adminMobileNav button{flex:none;min-width:88px;min-height:66px;padding:7px 10px;border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px}.adminMobileNav button.active{color:var(--pine);font-weight:700}.adminMobileNav .icon{width:19px;height:19px}}
