/* 班级统计只作用于独立工作区；学生墙保持原有八列布局。 */
.class-statistics-open .workspace>:not(#classroom-statistics){display:none!important}
.class-statistics-open #batch-bar{display:none!important}
.nav-insights{margin-top:auto;display:grid;gap:5px}
.sea-nav .nav-bottom{margin-top:8px}
.sea-nav .nav-bottom>img{width:84px;height:68px}
.classroom-statistics{background:#fff;border-radius:22px;padding:28px 32px;color:#214e67;min-height:calc(100vh - 48px);box-shadow:0 8px 28px #21516a0a}
.classroom-statistics button,.classroom-statistics input,.classroom-statistics select{font:inherit}
.stats-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.stats-header h1{font-size:30px;margin:3px 0;font-weight:750;color:#164d6e}
.stats-header .eyebrow{margin:0;color:#557587}
.classroom-statistics .secondary-button{background:#f4f9fc;color:#216389;border:1px solid #bfd8e5;border-radius:9px;padding:10px 15px;min-height:44px;cursor:pointer}
.classroom-statistics button:disabled{opacity:.45;cursor:default}
.classroom-statistics :is(button,input,select):focus-visible{outline:3px solid #e68459;outline-offset:3px}
.stats-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;border-bottom:1px solid #dceaf1;padding-bottom:18px}
.stats-filters label{display:grid;gap:5px;color:#486b80;font-size:13px}
.stats-filters input,.stats-filters select{min-height:44px;background:#fff;border:1px solid #bfd8e5;border-radius:9px;padding:8px 10px;color:#214e67;max-width:240px}
.stats-periods{display:flex;background:#eef6fa;border-radius:10px;padding:4px;gap:2px;min-height:44px;align-items:center}
.stats-periods button{padding:8px 13px;border:0;background:transparent;border-radius:7px;color:#476a7e;cursor:pointer;min-height:36px}
.stats-periods [aria-pressed=true]{background:#147cba;color:#fff;box-shadow:0 2px 5px #125a7b1a}
.stats-scope{font-size:14px;color:#52758a;line-height:1.7;margin:12px 0 16px;min-height:24px}
.stats-tabs{display:flex;gap:26px;border-bottom:1px solid #cfe1eb}
.stats-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:10px 3px 13px;color:#4d6c7e;font-size:17px;font-weight:650;cursor:pointer}
.stats-tabs [aria-selected=true]{color:#1078b5;border-bottom-color:#1078b5}
.stats-status{color:#7e523e;line-height:1.8;margin:0}
.stats-status:not(:empty){padding:22px 0}
.stats-metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0;margin:0;border-bottom:1px solid #e3edf3;gap:20px}
.stats-metrics>div+div{border-left:1px solid #e0ecf2;padding-left:24px}
.stats-metrics dt{font-size:15px;color:#5b7889;margin-bottom:6px}
.stats-metrics dd{font-size:38px;font-weight:750;margin:0;color:#12648f;font-variant-numeric:tabular-nums}
.stats-metrics dd small{font-size:15px;font-weight:400;margin-left:7px;color:#5b7889}
.stats-charts{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:32px;padding:24px 0;border-bottom:1px solid #e3edf3}
.classroom-statistics h2{font-size:18px;margin:0 0 6px;color:#214e67}
.stats-muted{font-size:14px;color:#5b7889;line-height:1.65;margin:4px 0 12px}
.stats-trend,.stats-dimensions{display:block;width:100%;max-height:360px}
.stats-trend text,.stats-dimensions text{font-family:"Microsoft YaHei",sans-serif;fill:#45697f;font-size:12px}
.stats-uncovered{padding-top:24px}
.stats-uncovered h2>span{font-size:14px;color:#976146;font-weight:500;margin-left:8px}
.stats-name-list{display:flex;flex-wrap:wrap;gap:8px}
.stats-name-list button{border:1px solid #dce8ee;border-radius:8px;padding:9px 14px;background:#f8fbfc;color:#365e75;cursor:pointer;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}
.stats-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0 14px}
.stats-section-title p{margin:0}
.stats-table-scroll{overflow:auto;max-width:100%;border-top:1px solid #e0eaf0}
.stats-table-scroll table{border-collapse:collapse;width:100%;min-width:680px;font-size:15px;color:#2b5269}
.stats-table-scroll caption{text-align:left;padding:12px 14px;font-size:13px;color:#5b7889;background:#f8fbfd}
.stats-table-scroll :is(th,td){text-align:left;padding:13px 14px;border-bottom:1px solid #e2edf3;vertical-align:top;font-weight:400;line-height:1.6}
.stats-table-scroll thead th{background:#eff6fa;font-size:14px;color:#456a81;font-weight:650;white-space:nowrap}
.stats-table-scroll tbody tr:hover{background:#f6fafd}
.stats-table-scroll tbody th,.stats-person{min-width:100px;white-space:nowrap}
.stats-scroll-hint{display:none;font-size:12px;color:#537689;margin:0 0 10px}
.stats-table-scroll .stats-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.stats-student-link{background:none;border:0;color:#0877b1;text-decoration:underline;text-underline-offset:4px;padding:0;cursor:pointer;font-weight:600!important;min-height:28px}
.stats-person-id{display:block;color:#687e8a;font-size:12px}
.stats-description{min-width:260px;max-width:620px;overflow-wrap:anywhere}
.stats-description small{font-size:12px;color:#617d8d}
.stats-description p{margin:4px 0 0;white-space:pre-wrap}
.stats-time{min-width:146px;font-variant-numeric:tabular-nums}
.stats-empty{font-size:15px;color:#607d8d;padding:20px 0;line-height:1.8}
.stats-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:20px;font-size:14px;color:#557487}
.stats-record-actions{display:flex;gap:10px;align-items:center}
.stats-record-list{display:none}
.stats-record-list article{padding:16px 0;border-bottom:1px solid #dce9f0;overflow-wrap:anywhere}
.stats-record-list article header{display:flex;justify-content:space-between;gap:12px;color:#1c5f86;font-size:16px}
.stats-record-list article p{line-height:1.7;font-size:14px;margin:6px 0 0;white-space:pre-wrap}
.stats-record-list article small,.stats-record-list .stats-record-meta{color:#5c7888;font-size:12px}
.stats-footnote{font-size:12px;line-height:1.8;color:#677f8d;padding-top:24px;margin-top:22px;border-top:1px solid #e0eaf0}
.stats-footnote span{display:block}
@media(max-width:760px){.stats-scroll-hint{display:block}.stats-name-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.stats-name-list button{padding:9px 8px;font-size:13px}.stats-records-table{display:none}.stats-record-list{display:block}}
.growth-dialog .balance-row{flex-wrap:wrap;gap:10px}
.growth-dialog .balance-row>div{min-width:40%;flex:1}
@media(max-height:820px){.sea-nav .nav-bottom>img,.sea-nav .nav-bottom>span{display:none}.sea-nav .nav-bottom{padding-bottom:8px}.sea-nav .nav-item{padding-top:10px;padding-bottom:10px}.sea-nav .brand{margin-bottom:4px}}
@media(max-width:1100px){.classroom-statistics{padding:22px}.stats-charts{gap:22px;grid-template-columns:1.3fr 1fr}.stats-metrics dd{font-size:30px}.stats-metrics>div+div{padding-left:14px}}
@media(max-width:760px){.classroom-statistics{padding:18px 12px;border-radius:14px}.stats-header{align-items:flex-start;flex-wrap:wrap}.stats-header h1{font-size:25px}.stats-header .secondary-button{font-size:13px}.stats-filters{gap:10px}.stats-periods{width:100%;justify-content:space-between}.stats-periods button{padding:8px 9px;font-size:13px}.stats-filters label{flex:1;min-width:110px}.stats-filters :is(input,select){width:100%;max-width:100%;min-width:0}.stats-tabs{gap:0;justify-content:space-between}.stats-tabs button{font-size:14px;padding:9px 1px 12px}.stats-metrics{grid-template-columns:1fr 1fr;gap:18px 10px}.stats-metrics>div+div{border:0;padding-left:0}.stats-metrics dt{font-size:13px}.stats-metrics dd{font-size:30px}.stats-metrics dd small{font-size:12px}.stats-charts{grid-template-columns:1fr}.stats-section-title{align-items:flex-start;flex-direction:column;gap:10px}.stats-record-actions{flex-wrap:wrap}.stats-scope{font-size:12px}.stats-pagination{gap:9px}.stats-pagination .secondary-button{padding:8px 10px}.nav-insights{width:100%}}
@media(prefers-reduced-motion:no-preference){.stats-periods button,.stats-tabs button{transition:background-color .15s,color .15s,border-color .15s}.stats-name-list button:hover{background:#edf7fc;border-color:#8abfd9}}
