:root{--ink:#23382f;--muted:#78887e;--green:#305d47;--accent:#c9de86;--bg:#f5f7f1;--line:#e4eae0;--white:#fff;--orange:#d88f5c}*{box-sizing:border-box}body{margin:0;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{display:flex;min-height:100vh}.sidebar{width:225px;flex:none;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 20px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px}.brand-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:var(--green);color:#d4e893;font-size:26px}.brand strong{font-size:17px;letter-spacing:.04em}.brand small,.sidebar-bottom small{display:block;font-size:9px;color:#9aa89d;letter-spacing:.08em;margin-top:5px}.side-label{margin:62px 12px 14px;font-size:11px;color:#a1aea4}.sidebar nav{display:grid;gap:6px}.nav{border:0;text-align:left;padding:13px 15px;background:transparent;color:#75877b;border-radius:10px;font-weight:600}.nav span{font-size:17px;margin-right:12px}.nav:hover,.nav.active{background:#edf4e4;color:#305d47}.sidebar-bottom{display:flex;gap:10px;align-items:flex-start;margin-top:auto;padding:18px 8px 0;border-top:1px solid var(--line);font-size:12px}.privacy-dot{width:8px;height:8px;border-radius:50%;background:#9abe6b;margin-top:4px}.sidebar-bottom small{letter-spacing:0;font-size:11px}main{min-width:0;flex:1}.topbar{height:72px;background:rgba(255,255,255,.75);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;color:#7e8e82;font-size:12px}.slash{padding:0 9px;color:#c5cfc5}.top-actions{display:flex;gap:8px}.button{border:1px solid transparent;border-radius:9px;padding:10px 15px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:#234b38}.subtle{border-color:#e0e8de;background:#fff;color:#53695a}.subtle:hover{background:#f3f7f0}.content{max-width:1500px;margin:auto;padding:34px 40px 0}.page{display:none}.page.active{display:block}.heading{min-height:230px;position:relative;overflow:hidden;border-radius:18px;padding:34px 40px;background:#e9f1da}.heading h1,.page-heading h1{font-size:32px;line-height:1.38;letter-spacing:.02em;margin:14px 0 10px;font-weight:750}.heading h1 em{font-style:normal;color:#63814c}.heading p,.page-heading p{margin:0;color:#748b77}.eyebrow,.section-no{font-size:10px;letter-spacing:.15em;font-weight:750;color:#91a68e}.eyebrow span{color:#9cbb71;padding-left:8px}.heading-art{position:absolute;right:10%;top:18px;width:230px;height:210px}.art-page{position:absolute;right:25px;top:12px;width:142px;height:178px;background:#fffdfa;box-shadow:0 12px 26px #7a986126;border-radius:6px;transform:rotate(8deg);padding:17px}.art-page div{font-size:27px;color:#a5c074}.art-page i{display:block;background:#e4eade;height:4px;width:85%;margin-top:10px;border-radius:4px}.art-page i:nth-of-type(2){width:70%}.art-page i:nth-of-type(3){width:78%}.art-page b{display:block;font-size:16px;line-height:1.1;color:#8da879;margin-top:16px}.art-star{position:absolute;right:0;bottom:22px;font-size:43px;color:#e4b578}.filter-bar{margin:22px 0 18px;padding:17px 21px;display:flex;align-items:end;gap:14px;background:#fff;border:1px solid var(--line);border-radius:13px}.filter-bar>div{margin-right:auto;align-self:center}.filter-bar b,.filter-bar small{display:block}.filter-bar small,.list-toolbar small{color:#97a69b;font-size:11px;margin-top:5px}.filter-bar label,.trend-label,.student-picker label,.editor-meta label{display:grid;gap:6px;font-size:11px;color:#89998d;font-weight:600}input,select,textarea{border:1px solid #dfe8dc;background:#fff;color:var(--ink);border-radius:8px;padding:9px 10px;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #c4dcae;outline-offset:1px}.text-button{border:0;background:none;color:#61815f;font-size:12px;font-weight:700;padding:9px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 21px}.stat .stat-label{color:#839489;font-size:12px}.stat strong{display:block;font-size:28px;line-height:1.2;margin-top:12px}.stat small{display:block;color:#a1aea3;font-size:11px;margin-top:7px}.stat .badge{float:right;border-radius:9px;background:#eff5e7;color:#709d59;padding:7px;font-size:15px}.grid{display:grid;grid-template-columns:1.15fr 1fr;gap:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.panel-head h2,.section-title h2{font-size:17px;margin:8px 0}.panel-head p{font-size:11px;color:#9aa99d;margin:0}.bar-list{padding-top:15px;display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:68px 1fr 32px;align-items:center;gap:9px;font-size:12px}.bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{height:8px;background:#f1f5ed;border-radius:8px;overflow:hidden}.bar-fill{height:100%;border-radius:8px;background:#a8c77d}.bar-row:nth-child(3n+2) .bar-fill{background:#dec18e}.bar-row:nth-child(3n) .bar-fill{background:#a9cbb4}.bar-count{text-align:right;color:#819087}.trend-label{display:flex;align-items:center;justify-content:flex-end;margin-top:14px}.trend-label select{padding:6px 8px}.trend-list{display:grid;gap:7px;max-height:245px;overflow:auto;margin-top:15px}.trend-row{display:grid;grid-template-columns:82px 1fr 26px;gap:8px;align-items:center;font-size:11px;color:#819087}.trend-row .bar-fill{background:#7fa979}.empty{padding:28px 8px;color:#a0ada2;text-align:center;font-size:12px}.section-title{display:flex;justify-content:space-between;align-items:end;margin:29px 1px 13px}.section-title h2{margin-bottom:0}.record-list{display:grid;gap:9px}.record{display:flex;align-items:center;gap:15px;padding:16px 18px;background:white;border:1px solid var(--line);border-radius:12px}.record-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:10px;background:#f0f5e7;color:#84a965;font-size:19px;flex:none}.record-main{min-width:0;flex:1}.record-title{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-meta{font-size:11px;color:#99a99d;margin-top:6px}.record-tag{font-size:11px;color:#a37850;background:#fbf1e6;border-radius:12px;padding:5px 8px;white-space:nowrap}.record-tag.ok{color:#6b9166;background:#edf5e9}.record-action{border:0;background:none;color:#91a394;font-size:18px}.page-heading{display:flex;justify-content:space-between;align-items:end;margin:14px 0 28px}.page-heading h1{margin:8px 0;font-size:30px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.list-toolbar input{width:250px}.student-picker{display:flex;align-items:center;gap:30px}.student-picker label{min-width:160px}.student-picker p{color:#93a295;font-size:12px}.compact{grid-template-columns:repeat(3,1fr)}footer{font-size:11px;color:#a6b2a7;padding:40px 0 30px}footer span{color:#9dbd7b}dialog{border:0;border-radius:16px;padding:25px;width:min(900px,calc(100% - 30px));max-height:90vh;box-shadow:0 20px 70px #192d2238;color:var(--ink)}dialog::backdrop{background:#1e3028a0}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.dialog-head h2{font-size:21px;margin:7px 0 0}.icon-button{border:0;background:#f1f5ef;color:#819388;border-radius:50%;width:34px;height:34px;font-size:23px}.detail-info{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.pill{padding:6px 10px;border-radius:20px;background:#eef5e8;color:#64835e;font-size:11px}.detail-note{background:#faf8ef;color:#8b826c;border-radius:9px;padding:12px;line-height:1.7;margin-bottom:14px}.detail-tools{display:flex;gap:8px;justify-content:flex-end;margin-bottom:16px}.detail-grid,.edit-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.cell{border:1px solid var(--line);border-radius:9px;padding:10px;min-width:0}.cell small{display:block;color:#a2afa4;font-size:10px;margin-bottom:7px}.cell b{font-size:14px;overflow-wrap:anywhere}.cell em{display:block;color:#a78259;font-style:normal;font-size:10px;margin-top:5px;overflow-wrap:anywhere}.cell.missing{background:#f8f9f6;color:#a9b3a9}.editor-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor-meta .wide{grid-column:1/-1}.edit-instructions{display:flex;justify-content:space-between;gap:15px;margin:24px 0 12px}.edit-instructions span{color:#98a69a;font-size:11px}.edit-cell{border:1px solid var(--line);border-radius:9px;padding:9px}.edit-cell label{font-size:11px;color:#8d9e91}.edit-cell input,.edit-cell select{width:100%;margin-top:5px;padding:7px;font-size:11px}.dialog-actions{position:sticky;bottom:-25px;background:white;display:flex;justify-content:flex-end;gap:8px;padding:17px 0 5px}.image-hint{color:#94a299;font-size:12px}#imageOpen{display:inline-block;color:var(--green);margin:3px 0 14px}#sourceImage{display:block;max-width:100%;height:auto}.notice{background:#fff8e7;border:1px solid #f2dfb8;color:#8e7045;padding:13px 17px;border-radius:10px;margin-bottom:16px;font-size:12px;line-height:1.7}.notice button{border:0;background:none;color:#856632;font-weight:700;text-decoration:underline}#toast{position:fixed;bottom:26px;right:26px;background:#274b38;color:white;padding:12px 18px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:20}#toast.show{opacity:1}@media(max-width:900px){.sidebar{width:70px;padding:24px 12px}.brand div,.side-label,.nav:not(.active),.sidebar-bottom{font-size:0}.brand-icon{width:40px}.sidebar nav{margin-top:45px}.nav{font-size:0;padding:12px}.nav span{font-size:20px;margin:0}.sidebar-bottom{display:none}.content{padding:25px 22px 0}.topbar{padding:0 22px}.grid{grid-template-columns:1fr}.filter-bar{flex-wrap:wrap}.filter-bar>div{width:100%}.heading-art{right:1%}.detail-grid,.edit-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:600px){.app{display:block}.sidebar{position:static;width:100%;height:auto;padding:12px 16px;display:flex;flex-direction:row;align-items:center;border:0}.brand div{font-size:initial}.brand strong{font-size:14px}.brand small{font-size:8px}.brand-icon{width:34px;height:34px;font-size:21px}.sidebar nav{margin:0 0 0 auto;display:flex}.nav,.nav:not(.active){font-size:0;padding:8px}.nav span{font-size:17px}.topbar{height:auto;padding:11px 16px;gap:10px;flex-wrap:wrap}.top-actions{margin-left:auto;gap:5px}.button{padding:8px 9px;font-size:11px}.content{padding:18px 14px 0}.heading{padding:26px 22px;min-height:205px}.heading h1{font-size:26px}.heading p{max-width:63%;font-size:12px;line-height:1.7}.heading-art{right:-50px;top:14px;transform:scale(.75)}.filter-bar{gap:10px;padding:14px}.filter-bar label{width:calc(50% - 8px)}.filter-bar input,.filter-bar select{width:100%}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat{padding:15px}.stat strong{font-size:24px}.page-heading{align-items:start;gap:8px}.page-heading h1{font-size:25px}.list-toolbar{gap:8px}.list-toolbar input{width:45%}.record{gap:10px;padding:12px}.record-tag{display:none}.detail-grid,.edit-grid{grid-template-columns:repeat(2,1fr)}.edit-instructions{display:block}.edit-instructions span{display:block;margin-top:6px}.student-picker{display:block}.student-picker p{margin-bottom:0}.compact{grid-template-columns:repeat(3,1fr)}.compact .stat{padding:10px}.compact .stat strong{font-size:20px}dialog{padding:18px}.dialog-actions{bottom:-18px}.editor-meta{grid-template-columns:1fr 1fr}}

.assignment-distribution{border-top:1px solid var(--line);padding-top:15px;margin:4px 0 16px}.assignment-distribution>b{font-size:13px}.assignment-distribution>span{font-size:11px;color:#95a398;margin-left:12px}.assignment-distribution .detail-info{margin:10px 0 0}
.student-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.student-filters label,.student-history-title label{display:grid;gap:6px;color:#89998d;font-size:11px;font-weight:600}.student-filters label:first-child{min-width:130px;margin-right:auto}.student-scope{color:#819287;font-size:12px;margin:18px 2px 0}.student-grid{margin-top:16px}.student-bars{max-height:280px;overflow:auto}.student-footnote{font-size:11px;line-height:1.6;color:#93a397;margin:15px 0 0}.student-months{display:grid;gap:14px;margin-top:18px;max-height:240px;overflow:auto}.student-month>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:7px}.student-month strong{font-size:12px}.student-month span{color:#8d9d91;font-size:11px;text-align:right}.student-month .bar-fill{background:#7fa979}.student-explainer{margin-top:15px;background:#f0f5e9;color:#718571;border-radius:11px;padding:14px 18px;font-size:12px;line-height:1.7}.student-history-title p{font-size:11px;color:#95a59a;margin:7px 0 0}.student-record-icon{font-size:14px;overflow-wrap:anywhere;text-align:center}.student-history-title label{min-width:150px}@media(max-width:600px){.student-filters{gap:10px}.student-filters label:first-child{width:100%}.student-filters label{width:calc(50% - 6px)}.student-filters select,.student-filters input{width:100%}.student-history-title{gap:8px}.student-history-title label{min-width:125px}.student-month>div:first-child{align-items:start}.student-month span{max-width:70%}}
/* A quieter, consistent interface for everyday reading. */
:root{--ink:#253c35;--muted:#73857c;--green:#355e4d;--accent:#c4d9b3;--bg:#f5f7f3;--line:#e1e9e2;--orange:#bd8867}
body{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;line-height:1.5;letter-spacing:.01em}
.sidebar{width:232px;padding:30px 18px;background:#fbfcfa}.brand{padding:0 5px}.brand-icon{border-radius:12px;background:#315c4a;color:#e4efd5;font-size:22px}.brand strong{font-size:16px}.brand small{font-size:9px;letter-spacing:.1em}.side-label{margin:58px 14px 13px;letter-spacing:.08em}.sidebar nav{gap:5px}.nav{padding:12px 15px;font-weight:600;border:1px solid transparent;transition:background .16s,color .16s}.nav:hover{background:#f0f5ed}.nav.active{background:#eaf2e5;border-color:#e2eddf;color:#2e5946}.nav span{display:inline-block;width:18px;text-align:center;color:#789584}.sidebar-bottom{margin-left:5px;margin-right:5px}
.topbar{height:70px;padding:0 40px;background:#fbfcfa}.content{padding-top:32px}.heading{min-height:218px;padding:34px 38px;background:#eaf1e5;border:1px solid #dfe9db;border-radius:16px}.heading h1{font-size:30px;line-height:1.4;letter-spacing:.025em}.heading h1 em{color:#678665}.heading p{font-size:13px;color:#718579}.heading-art{opacity:.56;transform:scale(.9);transform-origin:top right}.art-page{box-shadow:0 10px 24px #71846d1a}.art-star{color:#b5c9a1}.filter-bar,.panel,.stat,.record{border-color:var(--line);box-shadow:0 3px 12px rgba(37,60,53,.025)}.filter-bar{border-radius:12px}.stats{gap:12px}.stat{padding:20px 21px;border-radius:12px}.stat strong{font-size:27px;font-variant-numeric:tabular-nums}.stat .badge{background:#eff5ed;color:#789b7d}.panel{border-radius:12px;padding:24px}.panel-head h2,.section-title h2{font-size:16px}.panel-head p{font-size:12px;line-height:1.6}.section-no,.eyebrow{font-size:10px;letter-spacing:.13em;color:#8da294}.bar-track{background:#edf2eb}.bar-fill{background:#a7c79a}.bar-row:nth-child(3n+2) .bar-fill{background:#bdd0ad}.bar-row:nth-child(3n) .bar-fill{background:#9ebda8}.record{padding:15px 18px;border-radius:11px;transition:border-color .16s,box-shadow .16s}.record:hover{border-color:#c8daca;box-shadow:0 5px 16px #304d3710}.record-icon{background:#eff5eb;color:#779b79}.record-title{font-size:14px}.record-meta{line-height:1.55}.record-action{width:35px;height:35px;border-radius:8px}.record-action:hover{background:#edf4e9;color:#356349}.button{transition:background .15s,border-color .15s,transform .15s}.button:active{transform:translateY(1px)}.button.primary{background:#355e4d}.button.primary:hover{background:#274c3d}.button.subtle{background:#fff;border-color:#e0e8df}.button.subtle:hover{background:#f4f7f2}input,select,textarea{background:#fff;border-color:#dbe5dc;color:#2c4539}input:hover,select:hover,textarea:hover{border-color:#b9cdbc}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid #87ad8e;outline-offset:2px}.text-button{color:#5a8065}.notice{background:#faf7ed;border-color:#efe6d3;color:#897654}.pill{background:#eef5eb;color:#5e7f65}.detail-note{background:#f7f8f3;color:#728277}.cell{background:#fff}.cell.missing{background:#f7f9f6}.student-explainer{background:#eef5eb;color:#6b826e}.student-month .bar-fill,.trend-row .bar-fill{background:#83a989}.student-bars .bar-count{font-variant-numeric:tabular-nums}dialog{border:1px solid #e4ebe3;box-shadow:0 20px 70px #192d2238}.dialog-head{border-bottom:1px solid #edf1eb;padding-bottom:16px}.icon-button:hover{background:#e7efe4;color:#496a55}footer{border-top:1px solid var(--line);margin-top:36px;padding:22px 0 28px}
@media(max-width:900px){.sidebar{width:70px;padding:24px 12px}.brand{padding:0}.content{padding:25px 22px 0}.topbar{padding:0 22px}}
@media(max-width:600px){.sidebar{width:100%;padding:12px 16px}.sidebar nav{gap:4px}.nav{padding:8px}.content{padding:18px 14px 0}.topbar{padding:11px 16px}.heading{padding:24px 21px;min-height:196px}.heading h1{font-size:25px}.heading-art{transform:scale(.68);opacity:.4;right:-45px}.heading p{max-width:70%}.stat{padding:15px}.stat strong{font-size:24px}.panel{padding:18px}.record{padding:12px}.student-scope{line-height:1.7}.student-explainer{padding:12px 14px}footer{margin-top:26px}}
