:root{--ink:#243e35;--muted:#839085;--green:#287e60;--line:#e4eae1;--paper:#fff;--bg:#f5f7f3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 "Microsoft YaHei",system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid var(--line);padding:9px 16px;border-radius:9px;background:white;color:var(--ink)}button:disabled{cursor:wait;opacity:.5}a{color:var(--green);text-decoration:none}button:hover{filter:brightness(.97)}.primary{background:var(--green);border-color:var(--green);color:white}.ghost{background:transparent}.danger{color:#b95147;border-color:#ecd4d0}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#f0f4ed;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:21px;letter-spacing:1px;color:var(--ink);font-weight:650}.brand-icon{background:var(--green);color:#fff;border-radius:12px;padding:6px 11px;font-size:23px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:400}.nav-caption{font-size:11px;color:#95a28f;margin:43px 14px 12px;letter-spacing:2px}nav button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:0;background:transparent;color:#728170;margin:5px 0;padding:13px 14px;font-size:14px}nav button.active{color:var(--green);background:#e1ebdd;font-weight:600}nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.nav-count{margin-left:auto;font-size:11px;border-radius:12px;background:#d08460;color:white;padding:0 6px}.sidebar-bottom{margin-top:auto;color:#607561;font-size:12px;padding:18px 10px 0;border-top:1px solid #dce5d7}.sidebar-bottom small{display:block;color:#8e9a86;font-size:10px;margin:8px 0 16px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#65a180;margin-right:7px}.workspace{margin-left:224px}.topbar{height:77px;padding:0 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fcfdfb;font-size:12px;color:#8b9789}.topbar>div{display:flex;gap:20px;align-items:center}.topbar b{font-weight:400;color:#506550}.slash{margin:0 15px;color:#c4cdbe}.local-pill{font-size:10px;letter-spacing:1px}.avatar{background:#e5ecdf;border-radius:50%;height:30px;width:30px;text-align:center;line-height:30px;color:#6f8663}.topbar button{border:0;padding:3px}main{max-width:1500px;margin:auto;padding:36px 40px;min-height:calc(100vh - 126px)}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.eyebrow{color:#9aaa8f;letter-spacing:3px;font-size:10px}h1{font-size:26px;font-weight:600;margin:8px 0 8px;letter-spacing:.4px}p{margin:0;color:var(--muted);font-size:12px}h2{font-size:16px;font-weight:600;margin:0}h3{font-size:14px;margin:0 0 8px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}.metric{background:white;border:1px solid var(--line);border-radius:14px;padding:22px 23px;position:relative}.metric .number{font-size:34px;line-height:1.5;font-weight:500;letter-spacing:-1px}.metric .label{color:#788675;font-size:12px}.metric .hint{font-size:10px;color:#9aa38f}.metric .mark{position:absolute;right:20px;top:24px;width:35px;height:35px;background:#eff4e9;border-radius:10px;text-align:center;line-height:35px;color:#809970;font-size:19px}.grid2{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #eef1eb}.panel-body{padding:24px}.panel-head small,.muted{color:var(--muted);font-size:12px}.filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}.filters input{flex:1;min-width:160px}.filters select{min-width:125px}input,select,textarea{width:100%;border:1px solid #dfe6da;background:#fcfdfb;border-radius:8px;padding:10px 12px;color:var(--ink)}textarea{resize:vertical;min-height:120px;line-height:1.8}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{text-align:left;background:#fafbf8;font-size:11px;letter-spacing:.5px;color:#8d9984;font-weight:400;padding:15px 22px;border-bottom:1px solid var(--line)}td{padding:19px 22px;border-bottom:1px solid #eef1eb}tr:last-child td{border-bottom:0}td.title-cell{white-space:normal;min-width:220px;max-width:400px}td small{display:block;font-size:10px;color:#99a18f;margin-top:4px}td button{font-size:11px;padding:5px 10px;border:0;background:#f0f5eb;margin-right:5px;color:var(--green)}.badge{display:inline-block;font-size:10px;border-radius:5px;padding:3px 8px;background:#edf3e7;color:#729161;white-space:nowrap}.badge.pending{background:#fbf1df;color:#b89a5a}.badge.disabled{background:#f8e9e4;color:#b86e5e}.empty{text-align:center;padding:55px 22px;color:#8d9a85}.empty strong{display:block;color:#526c54;font-size:16px;font-weight:500;margin-bottom:8px}.feedback-item{padding:22px 24px;border-bottom:1px solid var(--line)}.feedback-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:12px}.feedback-text{white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.9}.reply-box{background:#f4f7f0;padding:14px 18px;border-radius:9px;margin-top:16px;font-size:12px;white-space:pre-wrap}.feedback-item>button{margin-top:15px;font-size:12px}.progress-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eef1eb;font-size:12px}.progress-row:last-child{border:0}.progress-track{width:95px;height:5px;background:#edf2e8;border-radius:6px;overflow:hidden}.progress-track i{height:100%;display:block;background:#91ac83}.bullet-note{background:#edf3e6;border-radius:12px;padding:23px;margin-top:22px;font-size:12px;line-height:2;color:#728764}.bullet-note b{display:block;color:#456a4d}.quick{display:flex;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid #eef1eb}.quick:last-child{border:0}.quick .tile{border-radius:9px;background:#f3f6ed;padding:10px 14px;font-size:22px;color:#8eaa7b}.quick button{margin-left:auto;border:0;color:var(--green)}.quick p{font-size:11px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:block;font-size:12px;font-weight:500;margin-bottom:18px}.field input,.field select,.field textarea{margin-top:7px;font-weight:400}.field small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.field-grid .field{margin-bottom:0}.field-grid{margin-bottom:18px}.span2{grid-column:span 2}.check{display:flex;gap:8px;align-items:center}.check input{width:auto;accent-color:var(--green)}.recipient-table input[type=checkbox]{width:auto;accent-color:var(--green)}.recipient-table input[type=text]{min-width:200px}.recipient-table td{padding:12px 16px}.send-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-top:1px solid var(--line)}.review{background:#f4f7f0;border-radius:10px;padding:18px;white-space:pre-wrap;max-height:350px;overflow:auto;font-size:12px}.message-details{white-space:pre-wrap;line-height:1.9;font-size:13px}.file-note{font-size:11px;color:var(--green);margin:8px 0}dialog{border:1px solid var(--line);border-radius:18px;padding:26px;width:650px;max-width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 24px 80px #25432f20}dialog::backdrop{background:#233b355c}dialog .dialog-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:22px}.dialog-head button{border:0;background:transparent;font-size:24px;padding:0 5px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.error{color:#ad574b;font-size:12px;margin:12px 0}.success,#notice{background:#e6f0e0;color:#416d49;padding:12px 18px;border-radius:9px;margin-bottom:20px}#notice.error{background:#fae8e1;color:#a35040}footer{padding:12px 40px 24px;color:#abb3a3;font-size:10px;letter-spacing:1px}.guide-list{display:grid;gap:15px}.guide-list p{line-height:1.9}.two-actions{display:flex;gap:10px}.student-avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#e9f0e2;margin-right:10px;color:#79916d}@media(max-width:1050px){.sidebar{width:190px;padding:30px 14px}.workspace{margin-left:190px}main{padding:28px 24px}.topbar{padding:0 24px}.metrics{gap:10px}.metric{padding:18px}.metric .mark{display:none}.grid2{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{position:static;width:auto;padding:18px}.brand{font-size:18px}.nav-caption,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;margin-top:12px}nav button{width:auto;white-space:nowrap;padding:8px 12px}nav svg{display:none}.workspace{margin:0}.topbar{height:60px}.local-pill,.avatar{display:none}main{padding:24px 16px}h1{font-size:21px}.metrics{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start}.page-heading button{font-size:11px;white-space:nowrap}.field-grid{grid-template-columns:1fr}.span2{grid-column:auto}}
body:not(.authenticated)>.sidebar,body:not(.authenticated)>.workspace{display:none}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top left,#e3eddc,transparent 65%)}.auth-card{width:430px;max-width:100%;background:#fffefb;border:1px solid var(--line);border-radius:22px;padding:38px;box-shadow:0 20px 80px #3451380b}.auth-card .brand{margin-bottom:32px}.auth-card p{margin-bottom:24px}.auth-card>button{width:100%}.authenticated .auth-screen{display:none}.scope-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;background:#f5f8f1;border-radius:10px;margin:12px 0 18px}.scope-list label{font-size:12px}.staff-summary{padding:18px 24px;background:#edf3e8;color:#6b835f;font-size:12px}.receipt-filter{margin-bottom:16px}.receipt-table td{white-space:normal}.teacher-metrics{grid-template-columns:repeat(3,1fr)}#session-label{font-size:11px;color:var(--green)}
[hidden]{display:none!important}
.ai-record-filters select{width:auto;max-width:230px}.ai-record-filters label{font-size:11px;color:var(--muted)}.ai-record-filters input[type=date]{display:block;width:160px;min-width:0}.ai-question-cell{overflow-wrap:anywhere}.ai-detail-title{margin-top:20px}.ai-file-name{overflow-wrap:anywhere;margin:8px 0}
.auth-remember-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;font-size:12px}.auth-remember-row label{cursor:pointer;white-space:nowrap}.auth-remember-row input{width:16px;height:16px;margin:0}.auth-remember-row small{font-size:11px;color:var(--muted)}@media(max-width:420px){.auth-remember-row{align-items:flex-start;flex-direction:column;gap:6px}}
