*{box-sizing:border-box}body{margin:0;background:#f6f8f7;color:#18312f;font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif}.shell{min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid #e2e9e6;display:flex;align-items:center;justify-content:space-between;padding:0 max(4vw,24px)}.brand{display:flex;align-items:center;gap:12px}.brandmark{background:#126a57;color:white;border-radius:11px;width:38px;height:38px;display:grid;place-items:center;font-weight:700}.brand strong{display:block;font-size:16px}.brand small{display:block;color:#78908a;font-size:12px;margin-top:3px}.topbar nav{display:flex;gap:32px;color:#71827f;font-size:14px}.topbar nav span{height:76px;display:flex;align-items:center}.topbar .navactive{border-bottom:3px solid #13866b;color:#126a57;font-weight:700}.userpill{border:1px solid #d7e5e0;border-radius:20px;padding:8px 13px;color:#37655b;font-size:13px}.layout{max-width:1500px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;padding:42px max(4vw,24px)}.titleline{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.eyebrow{font-size:12px;color:#168369;letter-spacing:.14em;font-weight:700}.titleline h1{font-size:32px;margin:8px 0}.titleline p,.calendarheading p{margin:0;color:#82918c;font-size:14px}.term{font-size:13px;color:#668078;background:#ecf5f0;padding:9px 14px;border-radius:20px}.term span{padding:0 5px}.controls{display:flex;align-items:end;gap:16px;background:#fff;border:1px solid #e3ece8;border-radius:18px;padding:19px;margin-bottom:20px;box-shadow:0 6px 25px #203d3010}.controls label{display:flex;flex-direction:column;gap:8px;color:#6c827a;font-size:13px;font-weight:600}.controls select,.controls input{min-width:180px;border:1px solid #dce8e2;border-radius:9px;padding:11px 13px;color:#1e3631;font-size:15px;background:#fbfdfc}.legend{margin-left:auto;font-size:12px;color:#82928d;padding-bottom:14px}.legend i{display:inline-block;background:#128568;border-radius:50%;width:8px;height:8px;margin-right:5px}.calendarheading{display:flex;align-items:center;justify-content:space-between;margin:27px 0 15px}.calendarheading h2{font-size:19px;margin:0 0 5px}.weeknav{display:flex;gap:7px}.weeknav button{width:34px;height:34px;border:1px solid #dce8e2;background:#fff;border-radius:8px;font-size:23px;color:#658079;cursor:pointer}.tablewrap{overflow-x:auto;border:1px solid #e1ebe6;border-radius:16px;background:#fff;box-shadow:0 8px 30px #16392a0a}table{width:100%;border-collapse:collapse;min-width:720px;table-layout:fixed}th,td{border-right:1px solid #edf1ee;border-bottom:1px solid #edf1ee}thead th{height:62px;color:#455c54;font-size:14px;font-weight:600;background:#fbfcfb}thead th:first-child{width:76px}thead small,tbody th small{display:block;font-size:12px;color:#9aaba3;font-weight:400;margin-top:4px}tbody th{background:#fbfcfb;color:#456c5f;font-size:15px}tbody td{height:87px;padding:7px;background:#fff}.today{background:#f9fcf8!important}.lesson{display:flex;flex-direction:column;justify-content:center;text-align:left;width:100%;height:72px;border:1px solid #d9e9e2;background:#eff7f3;border-radius:10px;padding:11px 12px;cursor:pointer;color:#235748}.lesson:hover,.lesson.selected{border-color:#128568;background:#daf1e7}.lesson strong{font-size:15px}.lesson span{color:#6a897e;font-size:12px;margin-top:6px}.empty{text-align:center;color:#d5dfda}.side{padding-top:100px}.asidehead{display:flex;gap:10px;align-items:center;font-size:15px;font-weight:700;margin-bottom:14px}.step{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#167c65;color:white;font-size:12px}.prompt,.chosen{background:#fff;border:1px solid #e3ece8;border-radius:16px;padding:25px;min-height:240px}.prompticon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#eaf6f0;color:#168069;font-size:24px}.prompt h3,.chosen h3{margin:23px 0 9px;font-size:18px}.prompt p,.chosen p,.note p{color:#83938c;font-size:13px;line-height:1.7;margin:0}.chosen small{color:#168069}.chosen button{width:100%;margin-top:24px;padding:12px;border:0;border-radius:9px;background:#147e64;color:white;font-size:14px;cursor:pointer}.note{margin-top:19px;padding:20px;border-radius:14px;background:#eaf2ee}.note strong{font-size:14px}.note p{margin-top:6px}@media(max-width:1000px){.layout{grid-template-columns:1fr}.side{padding-top:0}.topbar nav{display:none}}@media(max-width:600px){.topbar{height:66px}.layout{padding:25px 15px}.titleline{display:block}.titleline h1{font-size:26px}.term{display:inline-block;margin-top:16px}.controls{flex-wrap:wrap}.controls label{flex:1 1 100%}.controls select,.controls input{width:100%}.legend{margin-left:0;padding:0}.tablewrap{margin:0 -15px;border-radius:0}.side{padding-bottom:40px}}
.topbar nav button{border:0;background:none;color:#71827f;font-size:14px;height:76px;padding:0;cursor:pointer}.topbar nav button.navactive{color:#126a57}.userpill{background:#fff;cursor:pointer}.lesson.pending{background:#fff6e7;border-color:#edcc93}.lesson.pending span{color:#986514}.loginback{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 20% 20%,#d9eee2,transparent 35%),#f6f8f7}.logincard{width:min(430px,100%);padding:38px;background:#fff;border:1px solid #e0ebe5;border-radius:24px;box-shadow:0 20px 70px #103b2620}.logincard h1{font-size:26px;margin:24px 0 7px}.logincard p{color:#7e9187;font-size:14px}.rolebar{display:flex;gap:8px;background:#f1f5f2;padding:5px;border-radius:10px;margin:26px 0}.rolebar button{flex:1;border:0;background:none;padding:10px;border-radius:7px;color:#627b6f;cursor:pointer}.rolebar button.on{background:#fff;color:#126a57;box-shadow:0 2px 7px #173b2512;font-weight:700}.logincard label,.panel label{display:flex;flex-direction:column;gap:8px;color:#647d71;font-size:13px;margin-bottom:16px}.logincard input,.panel input,.panel select{border:1px solid #d9e5dc;border-radius:8px;padding:11px;font-size:14px;width:100%;background:#fff;color:#1c3b2f}.primary{background:#147e64;border:0;border-radius:9px;color:#fff;padding:12px 17px;cursor:pointer;font-size:14px}.primary:disabled{opacity:.55;cursor:not-allowed}.logincard .primary{width:100%}.error{color:#b24943!important}.toast{position:fixed;top:86px;right:25px;background:#fff3ef;border:1px solid #f0c5b9;border-radius:9px;padding:13px 17px;color:#93453a;z-index:20;cursor:pointer}.toast.success{background:#e6f8ef;border-color:#9fd5b7;color:#126a57}.load{display:grid;place-items:center;min-height:100vh}.leavebox{margin-top:18px;padding:12px;background:#f5faf7;border-radius:9px}.leavebox strong{font-size:13px}.leavebox p{font-size:12px;margin:4px 0 9px}.leavebox div{display:flex;flex-wrap:wrap;gap:5px}.leavebox button{border:1px solid #cce2d5;background:#fff;border-radius:15px;padding:5px 8px;font-size:11px;color:#276951;cursor:pointer}.hint{font-size:12px;color:#85938b;line-height:1.6}.results,.preview{background:#fff;border:1px solid #e3ece8;border-radius:16px;padding:18px;margin-top:16px}.results h3,.preview h3{font-size:16px;margin:0 0 12px}.candidateList{max-height:275px;overflow:auto;display:grid;gap:7px}.candidateList button{display:flex;flex-direction:column;gap:4px;text-align:left;border:1px solid #deebe3;background:#fff;border-radius:8px;padding:10px;cursor:pointer}.candidateList button.active{border-color:#128568;background:#eaf7ee}.candidateList span{color:#71867b;font-size:12px}.preview p{font-size:13px;line-height:1.7;border-bottom:1px solid #edf2ee;padding-bottom:8px;color:#536d60}.preview .primary{width:100%}.wide{max-width:1300px;padding:42px max(4vw,24px);margin:auto}.wide h1{font-size:30px}.muted{color:#7d8e85;font-size:14px}.historylist{display:grid;gap:12px}.historylist article,.panel{background:#fff;border:1px solid #e2ebe6;border-radius:15px;padding:21px}.historylist p{color:#596e63}.historylist small{color:#899a91}.adminGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.panel h2{font-size:18px;margin:0 0 20px}.classchips{display:flex;flex-wrap:wrap;gap:8px}.classchips button{background:#eff8f2;border:1px solid #d5e8da;color:#27664b;border-radius:7px;padding:8px;cursor:pointer}.successText{color:#167f5e;font-size:13px}.row{display:flex;align-items:center}.between{justify-content:space-between}.small{padding:10px 14px}.gridtable{overflow:auto;max-height:440px}.gridtable table{min-width:800px}.gridtable td{height:auto}.gridtable input,.gridtable select{min-width:80px;padding:8px}.editpanel{margin:18px 0}.editfields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.textbutton{border:0;background:none;color:#688477;padding:10px;cursor:pointer}.baseList{max-height:360px;overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.baseList button{border:1px solid #e1ebe4;background:#fff;border-radius:8px;padding:9px;text-align:left;cursor:pointer}.baseList span{display:block;font-size:12px;color:#7a8c80}.baseList strong{display:block;font-size:13px;color:#254c36;margin-top:3px}.baseList em{font-size:11px;color:#b36e25}@media(max-width:900px){.adminGrid{grid-template-columns:1fr}.baseList{grid-template-columns:1fr 1fr}}@media(max-width:600px){.wide{padding:25px 15px}.baseList,.editfields{grid-template-columns:1fr}.topbar nav{display:flex;gap:10px}.topbar nav button{font-size:12px;height:66px}.brand small,.userpill{display:none}}
.previewday{margin:14px 0}.previewday>b{font-size:13px}.previewscroll{overflow:auto;margin-top:7px}.previewscroll table{min-width:470px;table-layout:auto;font-size:11px}.previewscroll th,.previewscroll td{height:auto;padding:6px;text-align:left;background:#fff;color:#315846}.previewscroll th{background:#f4f8f5;font-size:11px}.previewscroll thead th:first-child{width:auto}.previewscroll p{margin:0}
@media(max-width:1000px){.topbar nav{display:flex;gap:14px}.topbar nav button{font-size:12px}.brand small{display:none}.titleline{display:block}.term{display:inline-block;margin-top:14px}.controls{flex-wrap:wrap}.legend{margin-left:0}.userpill{font-size:12px}}
@media(max-width:700px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px 16px;gap:8px}.topbar nav{order:3;width:100%;justify-content:space-around;border-top:1px solid #e7efea}.topbar nav button{height:42px}.brand strong{font-size:14px}.userpill{display:block}.controls label{flex:1 1 180px}.layout{padding:25px 16px}.titleline h1{font-size:26px}.tablewrap{margin:0 -16px;border-radius:0}}
.targetday{margin:16px 0 0}.targetday label{display:flex;flex-direction:column;gap:7px;color:#607b6d;font-size:13px}.targetday select{width:100%;padding:10px 12px;border:1px solid #d6e6db;border-radius:9px;background:#fff;color:#204e3b;font-size:14px}
@media(min-width:1001px){.layout{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);gap:24px}.maincol table{min-width:640px}}
.candidateList{max-height:min(68vh,620px)}.candidateList button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px}.candidateList button strong{font-size:13px}.candidateList button span{text-align:right;white-space:nowrap}
@media(max-width:600px){.candidateList button{grid-template-columns:1fr;gap:4px}.candidateList button span{text-align:left}}
