@font-face{font-family:system;src:local('Microsoft YaHei')}*{box-sizing:border-box}body{margin:0;background:#f5f7f3;color:#213c36;font-family:system,-apple-system,BlinkMacSystemFont,'Noto Sans SC',sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8ab593;outline-offset:3px}input,select,textarea{border:1px solid #dce3dd;border-radius:10px;padding:11px 13px;background:#fff;color:#213c36;min-height:44px}textarea{resize:vertical;width:100%;min-height:120px;line-height:1.8}h1,h2,h3,p{margin:0}small,.muted{color:#75837d}a{color:#226f60}button svg{width:20px;height:20px;vertical-align:middle;flex-shrink:0}.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:#164f45;color:#fff;padding:30px 18px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:0 10px}.brand img{width:39px;height:39px;border:1px solid #ffffff32;border-radius:11px}.brand strong{font-size:21px;letter-spacing:2px}.brand small{display:block;color:#b5cfc6;font-size:11px;margin-top:5px;letter-spacing:2px}.navigation{display:flex;flex-direction:column;gap:8px}.nav{display:flex;align-items:center;gap:12px;border-radius:11px;padding:14px 15px;background:transparent;color:#bfd5cb;text-align:left;font-size:16px}.nav.active{background:#edf4d8;color:#254d41;font-weight:700}.nav:not(.active):hover{background:#ffffff10}.side-note{margin-top:auto;border-top:1px solid #ffffff25;padding:22px 9px 0;font-size:12px;line-height:1.9;color:#bed1c9}.side-note strong{display:block;font-weight:500;color:white;margin-bottom:8px}.workspace{padding:30px 38px 24px;max-width:1650px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:27px}.eyebrow{font-size:12px;letter-spacing:2px;color:#76887e;margin-bottom:8px}.topbar h1{font-size:27px;font-weight:750;letter-spacing:1px}.top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.pill{border-radius:30px;font-size:12px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;background:#edf2eb;color:#49705c}.dot{height:6px;width:6px;border-radius:50%;background:#6a936c;display:inline-block}.pill.warn{color:#a76920;background:#fff2d9}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 17px;background:#eaf0e8;border-radius:10px;color:#345e4c;font-weight:600}.button.primary{background:#1b594d;color:#fff}.button.danger{background:#a94b3a;color:#fff}.button.outline{background:transparent;border:1px solid #d8e0d5}.button.light{background:#ffffff16;border:1px solid #ffffff35;color:#fff}.demo-banner,.notice{padding:12px 18px;border-radius:10px;background:#fff0d9;color:#986c20;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.demo-banner button{background:transparent;color:inherit;text-decoration:underline;min-height:34px}.hero{background:#e7efdf;border-radius:19px;padding:25px 28px;display:flex;justify-content:space-between;gap:24px;align-items:center;border:1px solid #dfe8d5}.hero h2{font-size:24px;margin:11px 0}.hero small{font-size:13px;color:#6e806b}.hero-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero select{min-width:142px;border-color:#cbd8c3;background:#f8faf5;font-weight:600}.clock{text-align:right;flex-shrink:0}.clock .digits{font-size:42px;letter-spacing:1px;font-variant-numeric:tabular-nums;font-weight:500;color:#385444}.clock small{display:block;margin-top:4px}.section-header{margin:27px 0 16px;display:flex;justify-content:space-between;align-items:center;gap:14px}.section-header h2{font-size:18px}.section-header h2 span{font-size:13px;background:#edf1e9;padding:3px 9px;border-radius:8px;margin-left:8px;color:#6b7d69;font-weight:500}.legend{display:flex;gap:15px;font-size:12px;color:#7e887e;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:50%;background:#5c8b72}.legend i.orange{background:#d49c47}.legend i.red{background:#c26452}.away-empty{background:#fff;border:1px dashed #d8e1d3;border-radius:13px;padding:23px;display:flex;align-items:center;gap:13px;color:#849181}.away-empty svg{color:#779778;width:28px;height:28px}.away-empty strong{font-weight:500;color:#54724f;display:block;margin-bottom:4px}.away-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.away{border:1px solid #dce7d8;background:#edf4e7;border-radius:13px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:7px;color:#315a42;text-align:left}.away strong{font-size:18px}.away .elapsed{font-variant-numeric:tabular-nums;font-size:22px;grid-column:2;grid-row:1/3}.away small{color:inherit;opacity:.75;font-size:12px}.away.late{border-color:#ecd7af;background:#fff5e5;color:#986d27}.away.severe{border-color:#ecc8bf;background:#fff0ea;color:#a54837}.search{width:220px;font-size:13px;padding:9px 12px;min-height:39px}.student-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.student{padding:17px 15px;min-height:104px;border:1px solid #e0e6dc;border-radius:13px;background:white;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;box-shadow:0 2px 2px #21402d02;color:#304c3d}.student:hover{border-color:#8ba880;box-shadow:0 3px 10px #1a513010}.student .student-top{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:11px;color:#98a191}.student strong{font-size:18px;letter-spacing:.5px;font-weight:600;overflow-wrap:anywhere}.student .student-bottom{font-size:11px;color:#83917b}.student.out{background:#eaf2e6;border-color:#a9c49a}.student.late{background:#fff3e1;border-color:#dfba78}.student.severe{background:#ffeee8;border-color:#e3aa9b}.class-footer{display:flex;align-items:center;justify-content:space-between;padding:22px 0 8px;gap:15px}.class-footer small{line-height:1.8}.end-button{padding:15px 25px;min-width:165px}.empty{background:#fff;border:1px solid #e1e6dc;border-radius:15px;text-align:center;padding:55px 25px}.empty h3{font-size:23px;margin:15px 0 10px}.empty p{color:#7b897c;line-height:1.9;max-width:480px;margin:0 auto 24px}.empty .icon-big{color:#81a27a}.empty .icon-big svg{width:46px;height:46px}.empty-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.metric{background:#fff;border:1px solid #e0e7db;border-radius:14px;padding:21px}.metric label{font-size:13px;color:#748570}.metric strong{display:block;margin-top:12px;font-size:30px;font-weight:550}.metric small{font-size:11px}.filters{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}.filters label{font-size:12px;color:#6d806f;display:flex;flex-direction:column;gap:6px}.filters input,.filters select{font-size:13px;min-height:40px}.table-wrap{overflow:auto;border:1px solid #e2e7de;border-radius:13px;background:#fff}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}th{background:#edf2e8;font-weight:500;color:#75836e;padding:15px 17px}td{padding:16px 17px;border-top:1px solid #edf0e8}td strong{font-weight:600}.tag{display:inline-block;padding:4px 8px;border-radius:6px;font-size:11px;background:#eaf1e6;color:#66865a}.tag.late{background:#fff0d7;color:#a1752b}.tag.severe{background:#fce5de;color:#ab5141}.tag.void{background:#efefef;color:#888}.text-button{background:transparent;color:#8f5d43;text-decoration:underline;padding:5px 0;font-size:12px}.panel{background:white;border:1px solid #e0e6dc;border-radius:15px;padding:25px;margin-bottom:18px}.panel h2{font-size:18px;margin-bottom:10px}.panel p{color:#7b8976;line-height:1.9;font-size:13px;margin-bottom:18px}.panel .row{display:flex;gap:12px;flex-wrap:wrap}.import-box{border:1px dashed #becfb3;background:#f7f9f3;border-radius:12px;padding:26px;margin:18px 0;text-align:center}.import-box p{margin:8px 0 17px}.rules{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.rule{background:#f7f9f3;padding:17px;border-radius:12px}.rule strong{display:block;margin-bottom:7px}.rule small{line-height:1.8;font-size:12px}.bottom-note{margin-top:25px;font-size:11px;color:#94a18e;text-align:center;line-height:1.8}.loading{padding:30vh 20px;text-align:center;font-size:28px;color:#305b46}.loading small{font-size:13px;display:block;margin-top:15px}dialog{border:1px solid #dce3d5;border-radius:20px;padding:28px;max-width:480px;width:calc(100% - 36px);color:#254234;box-shadow:0 20px 80px #12372026}dialog::backdrop{background:#163e325c;backdrop-filter:blur(3px)}dialog h2{font-size:21px;margin-bottom:12px}dialog p{color:#7e8978;font-size:14px;line-height:1.8;margin:12px 0}dialog input{width:100%;margin:7px 0}dialog .modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}dialog .error{color:#a64734;min-height:20px;font-size:13px}.result-list{max-height:260px;overflow:auto;line-height:2;font-size:14px}.timer-pulse{animation:pulse 1.8s infinite}@keyframes pulse{50%{opacity:.45}}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 28px);padding:14px 23px;color:#fff;background:#264e40;box-shadow:0 6px 24px #16423022;border-radius:12px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .15s;z-index:9}#toast.visible{opacity:1}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.stale{color:#a66b25}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.data-note{font-size:12px;color:#83927c;margin-top:12px;line-height:1.8}
@media(min-width:1400px){.student-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:180px;padding:24px 12px}.shell{grid-template-columns:180px minmax(0,1fr)}.workspace{padding:25px}.student-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.clock .digits{font-size:34px}.brand strong{font-size:19px}.metric-row{gap:10px}.metric{padding:16px}}@media(max-width:800px){.shell{grid-template-columns:1fr}.sidebar{width:auto;height:auto;position:static;padding:14px 17px;gap:18px}.brand{padding:0}.brand small,.side-note{display:none}.brand img{width:33px;height:33px}.brand strong{font-size:19px}.navigation{flex-direction:row;gap:6px}.nav{flex:1;padding:10px 5px;justify-content:center;font-size:13px;gap:6px}.nav svg{width:17px}.workspace{padding:21px 17px}.topbar{padding-bottom:19px}.topbar h1{font-size:23px}.top-actions{gap:6px}.top-actions .button{font-size:12px;padding:8px 11px;min-height:35px}.hero{padding:20px;gap:12px;align-items:flex-start}.hero h2{font-size:21px}.clock .digits{font-size:29px}.hero-controls{gap:8px}.hero select{min-width:110px;font-size:13px;padding:10px}.hero-controls .button{font-size:13px}.student-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.student{padding:14px 10px;min-height:100px}.student strong{font-size:17px}.legend{gap:9px;font-size:11px}.rules{grid-template-columns:1fr}.metric-row{grid-template-columns:repeat(2,1fr)}.search{width:175px}.section-header{margin-top:22px}.section-header h2{font-size:17px}}@media(max-width:480px){.student-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.clock{display:none}.topbar{align-items:flex-start}.top-actions .pill{font-size:10px;padding:6px 9px}.eyebrow{font-size:10px;letter-spacing:1px}.legend{display:none}.class-footer{align-items:flex-end}.end-button{min-width:130px;padding:13px 18px}.search{width:150px}.student strong{font-size:16px}.away-list{grid-template-columns:1fr}.hero h2{margin:8px 0}.top-actions{max-width:180px}.nav{font-size:12px}.nav svg{display:none}}
.class-footer{position:sticky;bottom:0;z-index:2;background:#f5f7f3f2;border-top:1px solid #e0e6dc;backdrop-filter:blur(8px)}
.student strong{width:100%;letter-spacing:0;line-height:1.5;unicode-bidi:plaintext}.away strong{unicode-bidi:plaintext}.student{min-height:124px}.roster-review{margin-top:14px;line-height:1.9}
.brand{flex-wrap:wrap;gap:10px;padding:0 8px}.brand img{width:45px;height:45px;border:0;border-radius:12px}.brand>div{display:contents}.brand strong{font-size:40px;line-height:1;letter-spacing:0}.brand small{display:block;flex-basis:100%;font-size:11px;line-height:1.8;letter-spacing:0;color:#c5d8c7;margin:0}.button{text-decoration:none}.account-line{overflow-wrap:anywhere}.account-line a{margin-left:12px;white-space:nowrap}.welcome{max-width:1120px;margin:auto;padding:35px 32px 28px}.welcome-brand{display:flex;align-items:center;gap:14px}.welcome-brand img{width:64px;height:64px;border-radius:18px}.welcome-brand strong{font-size:43px;line-height:1;font-weight:750}.welcome-brand small{display:block;font-size:12px;color:#75867b;margin-top:7px}.trial-label{margin-left:auto;border:1px solid #d8e3cf;color:#6b805e;border-radius:30px;padding:7px 12px;font-size:11px}.welcome-intro{padding:66px 0 54px;border-bottom:1px solid #dfe6d8}.welcome-intro .eyebrow{margin-bottom:22px}.welcome h1{font-size:clamp(38px,5.6vw,64px);line-height:1.2;letter-spacing:-1px;font-weight:650;color:#164f45}.welcome-copy{line-height:1.9;margin:25px 0 26px;font-size:16px;color:#6d806e}.welcome-actions{display:flex;gap:12px;flex-wrap:wrap}.welcome-actions .button{min-height:49px;padding:13px 22px}.welcome-hint{font-size:12px;color:#7e8b79;margin-top:18px;line-height:1.8;max-width:500px}.welcome-features{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:30px 0 20px}.welcome-features article>span{font-size:11px;color:#79916d}.welcome-features h2{font-size:17px;margin:12px 0 8px;font-weight:600}.welcome-features p{font-size:13px;color:#7a8774;line-height:1.9}.welcome footer{font-size:11px;color:#889582;margin-top:25px;line-height:1.8}.welcome .pill{min-height:49px}
@media(max-width:800px){.brand{flex-wrap:nowrap;gap:10px}.brand img{width:44px;height:44px}.brand>div{display:block}.brand strong{font-size:28px}.brand small{display:block;font-size:10px;margin-top:4px}.welcome{padding:25px 23px}.welcome-intro{padding:45px 0 35px}.welcome-features{gap:20px}.welcome-copy{font-size:14px}.welcome-brand img{width:54px;height:54px}.welcome-brand strong{font-size:36px}}
@media(max-width:520px){.welcome{padding:22px 20px}.welcome-intro{padding-top:40px}.welcome h1{font-size:42px}.welcome-brand{gap:10px}.welcome-brand small{font-size:10px}.trial-label{font-size:10px;padding:6px 9px}.welcome-features{grid-template-columns:1fr;gap:23px}.welcome-features h2{margin-top:7px}.welcome-copy br{display:none}.welcome-actions .button{padding:12px 16px;font-size:13px}}
