/* REVOLISH v0.9 - actual usability improvements, not an unrelated redesign. */
:root{--navy:#142746;--yellow:#f5c947;--bg:#f3f6fa;--shadow:0 6px 24px rgba(23,44,78,.045)}
body{font-size:14px;color:#192b46;background:#f3f6fa}
.sidebar{width:214px;padding:21px 12px;z-index:30}
.brand{padding:5px 6px 19px}.brand img{width:48px;height:48px}.brand strong{font-size:16px}
.sidebar-label{margin:19px 11px 9px;font-size:10px;letter-spacing:1.3px}
.sidebar .nav-section{font-size:11px;letter-spacing:.3px;padding:12px 13px 4px;text-transform:none;color:#9aaac5}
.sidebar .nav-divider{margin:10px 10px}
.nav{padding:11px 12px;font-size:13px;margin:3px 0;gap:10px;border-radius:9px}.nav span{font-size:18px;min-width:23px}
.topbar{height:65px;position:sticky;top:0;z-index:23;box-shadow:0 2px 12px #14274608;padding:0 30px}
.main-content{max-width:none;padding:25px clamp(17px,2.4vw,38px) 65px}
.safety-note{padding:8px 30px;font-size:11px}
.page-title{margin-bottom:19px}.page-title h1{font-size:27px;margin:4px 0}.page-title p{font-size:13px}
.card{box-shadow:0 4px 16px #162d4709;border-color:#e1e7ef}.btn{border-radius:9px}
.form-field label{font-size:12px}.form-field input,.form-field select,.form-field textarea{font-size:13px}
.table-wrap thead th{position:sticky;top:0;z-index:2;background:#f3f6fb}
/* Quick actions feel like a workflow and genuinely navigate */
.ui09-actionbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 19px;border:1px solid #e0e6f0;background:#fff;padding:15px 17px;border-radius:14px}
.ui09-actionbar>div{margin-right:auto;display:grid;gap:3px}.ui09-actionbar b{font-size:15px}.ui09-actionbar small{color:#7e8ba2;font-size:11px}
.ui09-actionbar button{border:1px solid #dbe3ee;background:#f8faff;padding:11px 15px;border-radius:9px;font-weight:750;color:#23436d;font-size:12px;transition:background .12s}
.ui09-actionbar button:hover{background:#fff1c9;border-color:#ecc65c}
/* Middle: prioritize the roster, but give the parent's preview enough space to read */
.mid-main-grid{grid-template-columns:minmax(610px,1.22fr) minmax(430px,.92fr);gap:17px}
.mid-card-pad{padding:18px 19px}.mid-toolbar{margin-bottom:14px;padding:13px 18px}.mid-tabs{margin-bottom:11px}
.mid-tabs button{padding:11px 17px;font-size:13px}
.mid-roster-table table{min-width:620px}.mid-roster-table td{padding:10px 5px}
.mid-roster-table th{font-size:12px}.mid-cell-select{min-width:84px;font-size:12px;padding:8px 4px}
.mid-link b{font-size:13px}.mid-date-field{min-width:154px}.mid-test-switches{gap:7px}
.mid-switch{font-size:12px;white-space:normal;text-align:center}
.mid-month-kpis strong{font-size:21px}.mid-history th,.mid-history td{font-size:12px}
.mid-report-sticky{position:sticky;top:87px;align-self:start;max-height:calc(100vh - 98px);overflow-y:auto;scrollbar-width:thin}
.mid-report-wrapper{padding:16px!important}
.mid-report-paper{overflow:hidden}.mid-report-intro h2{font-size:22px}
.mid-report-section-title{flex-wrap:wrap}
.mid-report-row-title strong{font-size:12px}.mid-report-row-title span{font-size:12px}
/* Parent-facing monthly details: readably distinguish summary, comparison and observations */
.report09-insights{padding:16px 15px 15px;border-top:1px solid #e1e7ef;color:#213550}
.report09-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px}.report09-h b{font-size:12px}.report09-h small{font-size:9px;color:#8390a4}
.report09-insight-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}
.report09-insight-pair>div{padding:10px 11px;border-radius:8px;background:#f4f7fc;min-width:0}.report09-insight-pair>div:nth-child(2){background:#fff8e8}
.report09-insight-pair small,.report09-mini-stats small{display:block;color:#728198;font-size:10px;font-weight:700;margin-bottom:5px}
.report09-insight-pair strong{display:block;color:#243955;font-size:10px;line-height:1.65;font-weight:650;word-break:keep-all}
.report09-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 16px}
.report09-mini-stats>div{background:#fafbfd;border:1px solid #e8edf4;border-radius:8px;padding:8px}
.report09-mini-stats b{font-size:15px}



.report09-topic{padding:10px;background:#fff8e7;border:1px solid #f6eac9;border-radius:8px;display:flex;gap:7px;flex-direction:column}
.report09-topic b{font-size:10px;color:#94712c}.report09-topic span{font-size:11px;color:#3f4f69}
.mid-report-comment{margin-top:0!important}
/* Exam: move a small readable report into a proper preview workspace */
.exam-workbench{grid-template-columns:minmax(590px,1.1fr) minmax(480px,1fr);gap:18px}
.focus-studio .focus-card{padding:17px 16px}.focus-right{position:sticky;top:85px;max-height:calc(100vh - 92px);overflow-y:auto;scrollbar-width:thin}
.focus-card-head h2{font-size:15px}.focus-card-head p{font-size:12px}
.focus-question-grid{gap:5px}.focus-question{font-size:13px;min-height:34px}.focus-legend,.mini-meta{font-size:12px}
.focus-card .helper{font-size:11px}.analysis-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.comment-editor-grid textarea{font-size:13px;line-height:1.8}.comment-editor-grid label{font-size:12px}
.parent-report{padding:20px 18px}.parent-report-top strong{font-size:13px}.parent-report-top small{font-size:9px}
.parent-report-title h2{font-size:21px}.parent-info{font-size:11px}.parent-scores small{font-size:10px}
.parent-scores strong{font-size:23px}.parent-scores .parent-main-score strong{font-size:30px}
.parent-badges strong,.parent-badges span{font-size:10px}
.v04-parent-report .parent-detail-panel{padding:11px 9px}.v04-parent-report .parent-detail-panel header strong{font-size:11px}
.v04-parent-report .parent-mini-grid{gap:3px}.v04-parent-report .report-mini-q{font-size:10px;min-height:22px}
.v04-parent-report .report-top10-table th,.v04-parent-report .report-top10-table td{font-size:10px;line-height:1.45;padding:4px 2px}
.v04-parent-report .report-top10-caption{font-size:9px;line-height:1.5}.v04-parent-report .parent-comment p{font-size:11px;line-height:1.7}
.report09-exam-snapshot{padding:12px 0 0}.report09-exam-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.report09-exam-mini>div{background:#f3f6fb;border:1px solid #e8edf4;border-radius:7px;padding:9px 8px}
.report09-exam-mini small{display:block;font-size:9px;line-height:1.5;color:#667992;font-weight:700}.report09-exam-mini b{font-size:16px;color:#203a60}
.report09-priority{display:grid;grid-template-columns:76px 1fr;gap:8px;align-items:start;background:#fff9ea;border:1px solid #f4e8c6;border-radius:7px;margin-top:7px;padding:10px}
.report09-priority b{font-size:10px;color:#9c792d}.report09-priority span{font-size:10px;line-height:1.6;color:#364c6a;word-break:keep-all}
.report09-exam-bands{border-top:1px solid #e2e8f1;margin-top:13px;padding:12px 0 1px}
.report09-exam-bands .report09-h b{font-size:12px}
.report09-band-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 11px}
.report09-band-item{display:grid;grid-template-columns:84px minmax(0,1fr) 28px;align-items:center;gap:5px;min-width:0}
.report09-band-item>span{font-size:9px;font-weight:650;color:#63748e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report09-band-item>div{height:6px;background:#e6edf5;border-radius:5px;overflow:hidden}.report09-band-item i{height:100%;display:block;border-radius:5px}
.report09-band-item>b{font-size:10px;color:#294165;text-align:right}.report09-exam-bands p{font-size:9px;color:#8a96a6;line-height:1.45;margin:9px 0 0}
/* Reports can be read at normal size when expanded, without printing a clipped pane */
.preview-modal-report{max-width:750px}.preview-modal-report .parent-report{padding:30px}
.preview-modal-report .parent-info{font-size:13px}.preview-modal-report .report09-insight-pair strong{font-size:13px}
.preview-modal-report .report09-exam-mini small{font-size:12px}.preview-modal-report .report09-exam-mini b{font-size:19px}
.preview-modal-report .report09-priority span{font-size:13px}.preview-modal-report .report09-priority b{font-size:12px}
.preview-modal-report .report09-band-item span{font-size:12px}.preview-modal-report .report09-band-item b{font-size:12px}
/* Screen widths: don't squash the parent report; stack the workbench instead */
@media(max-width:1500px){.exam-workbench{grid-template-columns:minmax(530px,1.08fr) minmax(410px,1fr)}.mid-main-grid{grid-template-columns:minmax(520px,1.1fr) minmax(390px,.9fr)}.main-content{padding:23px 19px 60px}.sidebar{width:195px}}
@media(max-width:1200px){.exam-workbench,.mid-main-grid{grid-template-columns:minmax(0,1fr)}.focus-right,.mid-report-sticky{position:static;max-height:none;overflow:visible;max-width:790px;width:100%;margin:0 auto}.exam-workbench{gap:19px}.mid-test-switches{grid-template-columns:repeat(2,1fr)}.parent-report-title h2{font-size:22px}.v04-parent-report .report-mini-q{min-height:26px;font-size:12px}.v04-parent-report .report-top10-table td,.v04-parent-report .report-top10-table th{font-size:11px}.report09-insight-pair strong{font-size:12px}}
@media(max-width:850px){.sidebar{width:230px;left:-235px}.topbar{padding:0 15px}.main-content{padding:20px 12px 55px}.safety-note{padding:8px 13px}.ui09-actionbar{padding:12px}.ui09-actionbar>div{width:100%}.ui09-actionbar button{flex:1;min-width:110px}.page-title h1{font-size:24px}}
@media(max-width:600px){.mid-card-pad{padding:14px 10px}.mid-toolbar{padding:12px}.mid-toolbar>.form-field{min-width:130px;flex:1}.mid-main-grid{display:block}.mid-report-sticky{margin-top:14px}.mid-report-wrapper{padding:9px!important}.report09-insight-pair{grid-template-columns:1fr}.report09-band-grid{grid-template-columns:1fr}.v04-parent-report .parent-detail-split{grid-template-columns:1fr}.v04-parent-report .parent-mini-grid{grid-template-columns:repeat(9,minmax(0,1fr))}.focus-studio .focus-card{padding:13px 10px}.report09-exam-mini{gap:4px}.report09-exam-mini>div{padding:7px 5px}.report09-exam-mini small{font-size:8px}.parent-report{padding:13px 10px}.focus-right{width:100%}.mid-month-kpis{grid-template-columns:repeat(2,1fr)}}
@media print{.mid-report-sticky,.focus-right{position:static;max-height:none;overflow:visible}.ui09-actionbar{display:none}}
/* Download controls stay reachable while reading a long report. */
.mid-report-sticky .mid-export-buttons,.focus-right .preview-bottom{position:sticky;bottom:0;z-index:10;background:linear-gradient(180deg,#ffffffd9,#fff 30%);padding:10px 3px 3px;margin-top:4px;border-top:1px solid #e7edf4}
/* Working dashboard first: status and actions before decorative statistics. */
#content:has(.integrated-home-grid){display:flex;flex-direction:column}
#content:has(.integrated-home-grid)>.page-title{order:0}
#content:has(.integrated-home-grid)>.v08-today{order:1}
#content:has(.integrated-home-grid)>.ui09-actionbar{order:2}
#content:has(.integrated-home-grid)>.integrated-stats{order:3}
#content:has(.integrated-home-grid)>.integrated-home-grid{order:4}
#content:has(.integrated-home-grid)>.integrated-coming{order:5}
#content:has(.integrated-home-grid)>.integrated-hero{display:none}

/* v0.9.1: explicit direction against same-class peers in each middle-school report metric. */
.mid-report-row .mid-bar-caption{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:10px;line-height:1.35;margin:7px 0 5px}
.mid-peer-badge{display:inline-flex;align-items:center;gap:2px;padding:4px 8px;border-radius:6px;font-size:10px;font-weight:780;letter-spacing:-.15px}
.mid-peer-badge b{font-size:10px;font-weight:700}
.mid-peer-badge.high{background:#e8f7ed;color:#246b4e}
.mid-peer-badge.low{background:#fff0ec;color:#a54839}
.mid-peer-badge.same{background:#edf3fc;color:#345e91}
.mid-peer-badge.none{background:#f0f3f7;color:#718198}

/* v0.9.3 report accent cards */
.report09-hero{position:relative;overflow:hidden;border:1px solid #e8edf4;padding:12px 12px 11px;border-radius:12px;min-width:0;box-shadow:0 6px 14px rgba(16,36,74,.05)}
.report09-hero-good{background:linear-gradient(180deg,#f2fbf5 0%,#f8fcf9 100%);border-color:#d7eddc}
.report09-hero-focus{background:linear-gradient(180deg,#fff8e9 0%,#fffdf7 100%);border-color:#f3e4ba}
.report09-labelrow{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.report09-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:800;letter-spacing:.02em;box-shadow:inset 0 -1px 0 rgba(0,0,0,.04)}
.report09-badge-good{background:#dff5e5;color:#205c3b}
.report09-badge-focus{background:#fff0bf;color:#8b6310}
.report09-hero:after{content:"";position:absolute;right:-24px;bottom:-24px;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.45)}
.report09-insight-pair small,.report09-mini-stats small{display:block;color:#728198;font-size:10px;font-weight:700;margin-bottom:5px}
.report09-insight-pair strong{display:block;color:#243955;font-size:11px;line-height:1.7;font-weight:700;word-break:keep-all}
.preview-modal-report .report09-badge{font-size:12px;padding:5px 10px}
.preview-modal-report .report09-insight-pair strong{font-size:14px;line-height:1.75}

/* v0.9.4B friendly report style */
.report09-hero{border-radius:16px;border:1px solid #e4ebf5;box-shadow:0 10px 22px rgba(53,87,144,.08)}
.report09-hero-good{background:linear-gradient(180deg,#effcf3 0%,#f8fffb 100%);border-color:#d7f1df}
.report09-hero-focus{background:linear-gradient(180deg,#fff7ea 0%,#fffdf7 100%);border-color:#f4e1b7}
.report09-badge{font-size:11px;letter-spacing:.02em;padding:6px 11px;border-radius:999px}
.report09-badge-good{background:#dbf7e4;color:#21603f}
.report09-badge-focus{background:#fff0c3;color:#8c6711}
.report09-hero:before{content:'✨';position:absolute;right:14px;top:10px;font-size:18px;opacity:.35}
.report09-hero-focus:before{content:'🎯';opacity:.28}
.report09-hero-good:before{content:'🌟';opacity:.28}
.report09-mini-stats>div{border-radius:14px;padding:10px 10px 9px;background:#fcfdff}
.report09-mini-stats b{font-size:16px}
.report09-topic{background:linear-gradient(180deg,#fff9ef 0%,#fffdf8 100%);border-radius:14px}
.report09-priority{background:linear-gradient(180deg,#fff9ef 0%,#fff0cb 100%);border-radius:12px}
.report09-exam-mini>div{border-radius:12px}

/* v0.9.5: parent-facing section icons across both previews */
.report09-hero{padding:12px 12px 14px;min-height:132px;position:relative;overflow:hidden}
.report09-hero-good{background:linear-gradient(180deg,#f0fbf4,#f9fffb);border-color:#d8eee0}
.report09-hero-focus{background:linear-gradient(180deg,#fff8e7,#fffdf7);border-color:#f2e3c0}
.report09-insight-pair>div{border-radius:13px}
.report09-labelrow{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:9px}
.report09-labelrow small{font-size:10px;color:#708097;font-weight:650;margin:0}
.report09-badge{display:inline-block;font-size:11px;letter-spacing:0;padding:6px 10px;line-height:1.2;border-radius:999px;font-weight:800}
.report09-badge-good{background:#d8f3e1;color:#276044}
.report09-badge-focus{background:#fff0c4;color:#88651b}
.report09-insight-pair strong{font-size:11px;line-height:1.7;word-break:keep-all}
.report09-insights .report09-h b,.mid-report-section-title b,.v04-parent-report .parent-detail-panel header strong{letter-spacing:-.02em}
.report09-mini-stats small{white-space:normal;line-height:1.4}
.parent-scores small{white-space:normal}
.report09-exam-mini small{word-break:keep-all}
.report09-band-item{grid-template-columns:94px minmax(0,1fr) 28px}
.report09-band-item>span{white-space:normal;line-height:1.4;overflow:visible}
.v04-parent-report .parent-detail-panel header strong{line-height:1.4}
@media(max-width:600px){.report09-labelrow{justify-content:flex-start}.report09-insight-pair{grid-template-columns:1fr}.report09-band-item{grid-template-columns:94px minmax(0,1fr) 28px}}

/* v0.9.6: keep parental report focused on the individual, teacher-only peer data on the left. */
.score-submeta.teacher-stats{background:#eef4fc;border:1px solid #d9e5f4;border-radius:9px;padding:8px 10px;margin-left:6px;min-width:156px;gap:4px}
.teacher-stats-label{font-size:10px;font-weight:800;color:#456b9c;white-space:nowrap}
.teacher-stats span{font-size:11px;color:#5c6f8a;white-space:nowrap}
.teacher-stats strong{font-size:12px}
.v04-parent-report .parent-detail-questions .parent-mini-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;margin-bottom:11px}
.v04-parent-report .parent-detail-questions .report-mini-q{min-height:22px;border-radius:5px;font-size:10px}
.report-wrong-type-list{border-top:1px dashed #dfe6ef;margin-top:9px;padding-top:9px}
.report-wrong-caption{font-size:11px;font-weight:850;color:#2f527f;margin-bottom:7px}
.report-wrong-type{display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.45;padding:3px 2px;border-bottom:1px solid #f1f3f7}
.report-wrong-type b{display:inline-flex;align-items:center;justify-content:center;min-width:34px;border-radius:4px;color:#b5384e;background:#fff0f1;padding:2px 3px}
.report-wrong-type span{flex:1;font-weight:650;color:#334966}
.report-wrong-type em{font-style:normal;font-size:9px;color:#8c98a8}
.report-wrong-more,.report-wrong-empty,.report-type-note{font-size:9px;color:#8794a6;line-height:1.55;margin-top:6px;display:block}
.report09-badge-icon{display:inline-flex;align-items:center;justify-content:center;font-size:17px;margin-right:6px;line-height:1}
.report09-metric-icon{font-size:19px;background:#edf3fa;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:9px;margin-bottom:5px}
.report09-mini-stats>div:nth-child(1) .report09-metric-icon{background:#e8f7eb}
.report09-mini-stats>div:nth-child(2) .report09-metric-icon{background:#f8f2df}
.report09-mini-stats>div:nth-child(3) .report09-metric-icon{background:#e8effc}
.report09-topic-icon{display:inline-grid;place-items:center;width:25px;height:25px;font-size:17px;background:#ffedbf;border-radius:8px;margin-right:4px;vertical-align:middle}
.mid-report-head-icon,.mid-section-icon,.mid-comment-icon,.mid-row-icon,.mid-card-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1.1}
.mid-report-head-icon{font-size:25px;background:#fff0c8;width:39px;height:39px;border-radius:12px;margin-right:5px}
.mid-card-icon{font-size:19px;width:26px;height:26px;background:#fff;border-radius:9px;margin-right:2px}
.mid-row-icon{width:25px;height:25px;font-size:18px;background:#eef4fc;border-radius:8px;margin-right:5px}
.mid-section-icon,.mid-comment-icon{font-size:21px;width:31px;height:31px;background:#eff4fb;border-radius:10px;margin-right:4px}
.preview-modal-report .report-wrong-type{font-size:12px}
@media(max-width:600px){.score-submeta.teacher-stats{min-width:auto}.v04-parent-report .parent-detail-questions .report-mini-q{min-height:24px}.report09-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v0.9.7: editorial restraint in parent reports.
   Keep one meaningful emoji per qualitative learning-summary badge; quantitative data
   and both detailed exam tables are deliberately icon-free. */
.mid-report-intro h2{letter-spacing:-.4px}
.mid-report-summary small{font-weight:700;color:#75849b}
.mid-report-row-title strong{font-weight:800}
.mid-report-row .mid-peer-badge{font-size:10px;font-weight:750}
.mid-report-section-title b{font-size:13px}
.report09-h b{letter-spacing:-.15px}
.report09-hero{box-shadow:none;border-radius:11px;padding:12px 13px}
.report09-hero-good{background:#f3f9f6;border-color:#e0ece5}
.report09-hero-focus{background:#fff9ed;border-color:#f1e6cc}
.report09-badge{font-size:11px;letter-spacing:0;padding:5px 10px}
.report09-labelrow{margin-bottom:8px}
.report09-mini-stats>div{padding:10px 11px;background:#f7f9fc;border-radius:9px}
.report09-mini-stats small{font-size:10px;margin-bottom:3px}
.report09-mini-stats b{font-size:16px}
.report09-topic{background:#f8fafc;border-color:#e7edf5;border-radius:9px}
.report09-topic b{color:#405a7b}
.report-wrong-caption{color:#304d71}
.v04-parent-report .parent-detail-panel header strong{font-weight:850}

/* REVOLISH v0.9.8 — identity and full missed-type list */
.mid-report-intro{padding-bottom:17px}
.mid-report-intro>h2{margin-bottom:15px}
.mid-report-student-identity{display:flex;gap:9px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:13px 13px 12px;border:1px solid #e0e8f4;background:linear-gradient(110deg,#f3f7fc,#fafcff);border-radius:11px}
.mid-report-intro .mid-student-name{font-size:23px;color:#162e50;line-height:1.24;font-weight:900;letter-spacing:-.7px;word-break:keep-all;white-space:normal}
.mid-report-intro .mid-student-name span{font-size:11px;color:#7a8aa1;font-weight:650;margin-left:6px;letter-spacing:0}
.mid-report-intro .mid-student-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.mid-report-intro .mid-identity-chip{display:inline-flex;gap:6px;align-items:center;background:#fff;border:1px solid #dfe7f2;padding:5px 9px;border-radius:7px;max-width:100%}
.mid-report-intro .mid-identity-chip em{font-size:9px;color:#7b8da5;font-style:normal;font-weight:800;flex-shrink:0}
.mid-report-intro .mid-identity-chip b{font-size:11px;color:#263f61;overflow-wrap:anywhere}
.report09-hero .report09-labelrow{justify-content:flex-start}
.report09-hero .report09-labelrow:empty{display:none}
.v04-parent-report .parent-detail-questions .report-wrong-type-list{border:0;margin:0;padding:0}
.v04-parent-report .parent-detail-questions .report-wrong-type{padding:5px 2px;min-height:27px}
.v04-parent-report .parent-detail-questions .report-wrong-type span{overflow-wrap:anywhere;word-break:keep-all}
.v04-parent-report .parent-detail-questions .report-type-note{margin-top:10px}
.preview-modal-report .mid-report-intro .mid-student-name{font-size:28px}
@media(max-width:560px){.mid-report-student-identity{align-items:flex-start;flex-direction:column}.mid-report-intro .mid-student-name{font-size:22px}}


/* v0.9.9 exam report blended achievement section */
.report09-exam-mixed{margin-top:18px;padding-top:2px}
.report09-band-mix{display:grid;grid-template-columns:1.02fr 1fr;gap:18px;align-items:stretch;margin-top:12px}
.report09-donut-card,.report09-bar-card{border:1px solid #e4ebf2;border-radius:18px;background:#fff;padding:18px 18px 16px}
.report09-donut-card{display:grid;grid-template-columns:250px 1fr;align-items:center;gap:16px}
.report09-donut{width:190px;height:190px;border-radius:50%;background:conic-gradient(#4d74bb calc(var(--p,0) * 1%), #e8eef5 0);display:grid;place-items:center;margin:0 auto;position:relative}
.report09-donut::after{content:'';width:132px;height:132px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #edf1f6}
.report09-donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1}
.report09-donut-center strong{font-size:42px;line-height:1;color:#1f3557;font-weight:800}
.report09-donut-center span{font-size:14px;color:#8090a5;margin-top:8px;font-weight:600}
.report09-donut-legend{display:grid;gap:10px}
.report09-donut-legend div{display:grid;grid-template-columns:14px 1fr auto;gap:10px;align-items:center}
.report09-donut-legend i{width:14px;height:14px;border-radius:50%;display:block}
.report09-donut-legend span{font-size:15px;color:#314562;font-weight:600}
.report09-donut-legend b{font-size:15px;color:#1e3353;font-weight:800}
.report09-bar-title{font-size:18px;color:#263c5a;font-weight:800;margin:4px 0 12px}
.report09-band-row{grid-template-columns:1fr 1.55fr auto;gap:12px;align-items:center;margin-bottom:12px}
.report09-band-row span{font-size:15px;color:#344b6b;font-weight:600}
.report09-band-row div{height:14px;background:#e8edf3;border-radius:9px;overflow:hidden;position:relative}
.report09-band-row div i{display:block;height:100%;border-radius:9px}
.report09-band-row b{font-size:16px;color:#263c5a;font-weight:800}
.preview-modal-report .report09-band-mix{grid-template-columns:1fr 1fr}
.preview-modal-report .report09-donut-card{grid-template-columns:240px 1fr}
@media (max-width: 920px){.report09-band-mix{grid-template-columns:1fr}.report09-donut-card{grid-template-columns:1fr}.report09-donut{width:176px;height:176px}.report09-donut::after{width:122px;height:122px}}


/* v0.10.0: one combined achievement dashboard at the TOP SCORE position */
.v04-parent-report{container-type:inline-size;container-name:parentreport}
.v04-parent-report .parent-top-achievement{display:grid;grid-template-columns:1fr 1fr;gap:9px;align-items:stretch;margin-top:12px}
.v04-parent-report .parent-top-chart,.v04-parent-report .parent-top-bars{background:#fff;border:1px solid #dfe7f1;border-radius:11px;padding:11px 10px;min-width:0}
.v04-parent-report .parent-top-achievement h3{font-size:12px;line-height:1.4;margin:0 0 13px;font-weight:850;color:#1d3355;letter-spacing:-.025em}
.v04-parent-report .parent-score-donut-wrap{display:grid;grid-template-columns:minmax(85px,45%) minmax(0,1fr);gap:11px;align-items:center}
.v04-parent-report .parent-score-donut{position:relative;width:100%;aspect-ratio:1;max-width:160px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#4a70b5 calc(var(--score) * 1%),#e7edf4 0);margin:auto}
.v04-parent-report .parent-score-donut:before{content:'';position:absolute;inset:14%;background:white;border-radius:50%}
.v04-parent-report .parent-score-donut-middle{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:2px}
.v04-parent-report .parent-score-donut-middle b{font-size:29px;font-weight:900;line-height:1;color:#1b3153}
.v04-parent-report .parent-score-donut-middle small{font-size:8px;color:#7c8da1;font-weight:650}
.v04-parent-report .parent-score-key{display:grid;gap:7px;min-width:0}
.v04-parent-report .parent-score-key>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:5px;align-items:center;min-width:0}
.v04-parent-report .parent-score-key i{width:8px;height:8px;border-radius:50%;display:block}
.v04-parent-report .parent-score-key span{font-size:9px;color:#526780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v04-parent-report .parent-score-key strong{font-size:9px;color:#223956;font-weight:780}
.v04-parent-report .parent-top-bar-row{display:grid;gap:4px;margin:0 0 8px}
.v04-parent-report .parent-top-bar-row>div:first-child{display:flex;justify-content:space-between;gap:7px;font-size:9px;line-height:1.2;color:#425975}
.v04-parent-report .parent-top-bar-row span{font-weight:650}.v04-parent-report .parent-top-bar-row strong{font-weight:780;color:#273f61}
.v04-parent-report .parent-top-track{height:7px;background:#e7edf4;border-radius:10px;overflow:hidden}
.v04-parent-report .parent-top-track i{height:100%;display:block;border-radius:10px}
.v04-parent-report .parent-top-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}
.v04-parent-report .parent-top-stats>div{padding:8px 11px;background:#f3f6fb;border:1px solid #e6ecf3;border-radius:9px;display:flex;align-items:center;gap:10px;justify-content:space-between}
.v04-parent-report .parent-top-stats small{font-size:9px;font-weight:750;color:#70829b}
.v04-parent-report .parent-top-stats strong{font-size:15px;font-weight:850;color:#203a60;white-space:nowrap}
.v04-parent-report .parent-top-stats em{font-size:9px;font-weight:600;color:#8998a9;font-style:normal}
.v04-parent-report .parent-top-method{color:#8390a0;font-size:8px;line-height:1.45;margin:6px 0 0}
.preview-modal-report .v04-parent-report .parent-top-achievement h3{font-size:16px}
.preview-modal-report .v04-parent-report .parent-score-key span,.preview-modal-report .v04-parent-report .parent-score-key strong{font-size:12px}
.preview-modal-report .v04-parent-report .parent-top-bar-row>div:first-child{font-size:12px}
.preview-modal-report .v04-parent-report .parent-score-donut-middle b{font-size:42px}
@container parentreport (max-width:470px){
 .v04-parent-report .parent-top-achievement{grid-template-columns:1fr}
 .v04-parent-report .parent-score-donut-wrap{grid-template-columns:minmax(100px,43%) minmax(0,1fr)}
 .v04-parent-report .parent-score-key{gap:5px}
 .v04-parent-report .parent-top-chart,.v04-parent-report .parent-top-bars{padding:12px}
 .v04-parent-report .parent-top-bar-row{grid-template-columns:1fr 1.3fr;align-items:center;margin-bottom:6px}
 .v04-parent-report .parent-top-bar-row>div:first-child{font-size:10px}
}

/* Four score facts below the top chart; no redundant summary elsewhere */
.v04-parent-report .parent-top-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.v04-parent-report .parent-top-stats>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:7px 8px}
.v04-parent-report .parent-top-stats strong{font-size:15px}
@container parentreport (max-width:470px){.v04-parent-report .parent-top-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.v04-parent-report .parent-top-stats>div{flex-direction:row;justify-content:space-between;align-items:center}}
