/* SAB v5: parent view (7a-7c), student Progress (6b) and one section at a time (6c). */

/* Parent view header: logo and pill, tabs, Student view, Sign out. */
body[data-surface="private"] .site-header.parent-view-header { background: #fffefb; border-bottom-color: #e3ded2; }
.parent-view-header .wordmark { flex: none; }
.parent-view-pill { font: 600 10.5px 'Work Sans',sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #7a3550; background: #f5eaee; border-radius: 999px; padding: 4px 10px; margin-left: -12px; white-space: nowrap; }
.parent-view-header nav { flex: 1; gap: 18px; }
.parent-tabs { flex: 1; display: flex; gap: 6px; margin-left: 18px; }
.site-header nav .parent-tabs a { font-size: 14px; padding: 9px 16px; border-radius: 999px; color: #3d4844; border: 0; }
.site-header nav .parent-tabs a[aria-current] { background: #1b2a24; color: #faf8f3; text-decoration: none; }
.site-header nav .parent-tabs a:not([aria-current]):hover { background: #f3efe6; }
.site-header .student-view-button { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #1b2a24; border: 1px solid #c9c2b2; border-radius: 999px; padding: 8px 15px; font: 500 14px 'Work Sans',sans-serif; }
.site-header .student-view-button:hover { background: #f3efe6; }
.site-header .signout-link { color: #4a554f; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-header .signout-link:hover { color: #1b2a24; }

/* Shared page frame: a cream band (7a, 6b) or a plain heading (7b, 7c). */
body:has(.parent-page-v5) main, body:has(.progress-page) main { max-width: none; }
.parent-page-v5, .progress-page { max-width: none; padding: 0; }
.parent-band { background: #f3efe6; border-bottom: 1px solid #e3ded2; padding: 36px max(40px, calc((100% - 1200px) / 2)) 30px; display: flex; align-items: flex-end; gap: 32px; }
.parent-band > div { flex: 1; min-width: 0; }
.parent-band h1, .parent-heading h1 { font: 400 42px/1.1 Lora,Georgia,serif; letter-spacing: -.02em; margin-top: 10px; text-wrap: balance; }
.parent-heading h1 { font-size: 38px; letter-spacing: 0; }
.parent-band > div > p:not(.eyebrow) { font-size: 15px; color: #4a554f; margin-top: 10px; }
.parent-band .eyebrow, .parent-heading .eyebrow { color: var(--accent, #7a3550); }
.band-action { margin-top: 18px; }
.parent-heading { padding: 36px max(40px, calc((100% - 1200px) / 2)) 0; display: flex; align-items: flex-end; gap: 24px; }
.parent-heading > div { flex: 1; min-width: 0; }
.back-link { display: inline-block; margin-bottom: 14px; color: #3a5fa8; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.exam-switch.bundle-toggle { margin: 0; background: #e9e3d6; flex: none; }
.exam-switch.bundle-toggle button { padding: 9px 18px; font: 500 13.5px 'Work Sans',sans-serif; color: #4a554f; white-space: nowrap; }
.exam-switch.bundle-toggle button[aria-pressed="true"] { color: #1b2a24; box-shadow: 0 1px 3px #1b2a241f; }
.parent-body { max-width: 1280px; margin: auto; padding: 30px 40px 44px; }
.parent-heading + .parent-body { padding-top: 24px; }
.parent-overview, .progress-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 28px; align-items: start; }
.progress-layout { grid-template-columns: minmax(0,1fr) 360px; }
.progress-layout > .error-message { grid-column: 1 / -1; }
.parent-main { display: grid; gap: 24px; min-width: 0; }
.parent-side { display: grid; gap: 16px; min-width: 0; }
.parent-stack { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }

/* Cards and figures. */
.parent-card { background: #fffefb; border: 1px solid #e3ded2; border-radius: 14px; padding: 24px 26px 20px; min-width: 0; }
.parent-card-head { display: flex; align-items: baseline; gap: 16px; }
.parent-card-head h2 { flex: 1; font: 400 22px Lora,Georgia,serif; white-space: nowrap; }
.parent-card-head > span { font-size: 13px; color: #646e69; }
.parent-mocks { display: grid; gap: 20px; }
.parent-mocks.unfinished-mocks section > .show-all { margin-top: 12px; padding: 0; color: #3a5fa8; font: 500 13.5px 'Work Sans',sans-serif; text-decoration: none; }
.parent-mocks.unfinished-mocks h3 { margin: 0 0 10px; font: 600 10.5px 'Work Sans',sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #646e69; }
.parent-card-head.stacked { display: block; }
.parent-card-head.stacked > span { display: block; font-size: 13.5px; color: #4a554f; margin-top: 4px; }
.parent-table-card { padding: 0; overflow: hidden; }
.parent-table-card > .parent-card-head { padding: 20px 22px 14px; }
.side-card { padding: 22px; display: grid; gap: 14px; align-content: start; }
.side-card > h2.eyebrow { font: 600 10.5px 'Work Sans',sans-serif; letter-spacing: .12em; color: #646e69; }
.parent-figures { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #fffefb; border: 1px solid #e3ded2; border-radius: 14px; overflow: hidden; margin: 0; }
.parent-figures > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.parent-figures > div + div { border-left: 1px solid #f0ece2; }
.parent-figures dd { margin: 0; font: 400 32px/1 Lora,Georgia,serif; white-space: nowrap; }
.parent-figures dd small { font-size: 16px; color: #646e69; }
.parent-figures dt { order: 1; font-size: 13px; color: #4a554f; }
.parent-figures .figure-accent { color: var(--accent, #7a3550); }
.parent-empty { display: grid; gap: 8px; justify-items: start; padding: 28px 26px; }
.parent-empty h2 { font: 400 22px Lora,Georgia,serif; }
.parent-empty p { color: #4a554f; font-size: 14px; }
.text-link { background: none; border: 0; padding: 0; color: #3a5fa8; font: 500 13.5px 'Work Sans',sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.text-link.centred { justify-self: center; }
.tag-amber { font: 500 12px 'Work Sans',sans-serif; color: #7a5410; background: #fbf3e4; border-radius: 999px; padding: 4px 10px; white-space: nowrap; justify-self: start; }
.marking-label { color: #7a5410; }
.button.dark { background: #1b2a24; border-color: #1b2a24; color: #faf8f3; }
.button.compact { padding: 9px 14px; font-size: 14px; border-radius: 8px; }
.status-expired { background: #ece8e0; color: #646e69; }

/* Tables. */
.table-scroll { overflow-x: auto; position: relative; }
.parent-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.parent-table thead th { font: 600 10.5px 'Work Sans',sans-serif; letter-spacing: .1em; text-transform: uppercase; text-align: left; padding: 12px 22px; border-bottom: 1.5px solid #1b2a24; white-space: nowrap; }
.parent-table-card > .parent-card-head + .parent-table thead th { border-top: 1px solid #f0ece2; }
.parent-table tbody th, .parent-table tbody td { padding: 15px 22px; border-bottom: 1px solid #f0ece2; text-align: left; vertical-align: middle; }
.parent-table tbody tr:last-child > * { border-bottom: 0; }
.parent-table tbody th { font: 500 14.5px 'Work Sans',sans-serif; letter-spacing: 0; text-transform: none; color: #1b2a24; white-space: nowrap; }
.muted-cell { color: #4a554f; white-space: nowrap; }
.overall-cell { font: 400 20px Lora,Georgia,serif; color: #1b2a24; }
.action-cell { text-align: right !important; white-space: nowrap; }
.action-cell a:not(.button) { color: #3a5fa8; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.locked-label { color: #8b938e; font-size: 13px; }
.by-section .score-meter { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.meter-track { flex: 1; height: 8px; border-radius: 99px; background: #efebe1; overflow: hidden; }
.meter-track > span { display: block; height: 100%; background: #1b2a24; border-radius: 99px; }
.meter-track > span.is-lowest { background: #b5762a; }
.score-meter > span:last-child { width: 38px; text-align: right; }
.delta-up { color: #2f6b4f; font-weight: 500; }
.delta-down { color: #a2452f; font-weight: 500; }
.delta-flat { color: #646e69; font-weight: 500; }

/* Charts: recessive grid, thin marks, accent on the latest/best. */
.score-bars { margin: 18px 0 0; }
.score-bars-plot { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.score-bars-axis { display: grid; grid-template-rows: repeat(4,1fr); height: 180px; font-size: 11.5px; color: #7c8580; text-align: right; }
.score-bars-area { position: relative; height: 180px; border-bottom: 1px solid #1b2a24; display: flex; align-items: flex-end; gap: 18px; padding: 0 6px; background: repeating-linear-gradient(to bottom,#efebe1 0 1px,transparent 1px 45px); }
.score-bar { position: relative; flex: 1; min-width: 0; display: grid; justify-items: center; gap: 6px; align-self: flex-end; }
.score-bar-value { font-size: 12px; font-weight: 500; color: #4a554f; white-space: nowrap; }
.score-bar-value.is-latest { color: var(--accent, #7a3550); }
/* The muted bar is the exam accent lightened toward the card: #d9c3cc for Selective. */
.score-bar-mark { display: block; width: 100%; max-width: 44px; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--accent, #7a3550) 27%, #fffefb); outline-offset: 2px; }
.score-bar-mark.is-latest { background: var(--accent, #7a3550); }
.score-bar-mark:hover { background: color-mix(in srgb, var(--accent, #7a3550) 42%, #fffefb); }
.score-bar-mark.is-latest:hover { background: color-mix(in srgb, var(--accent, #7a3550) 85%, #1b2a24); }
.score-bars-labels { display: flex; gap: 18px; padding: 8px 6px 0 52px; }
.score-bars-labels span { flex: 1; min-width: 0; text-align: center; font-size: 12px; color: #646e69; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-line { position: relative; margin: 14px 0 0; min-height: 200px; }
.score-line svg { display: block; overflow: visible; }
.chart-grid { stroke: #efebe1; stroke-width: 1; }
.chart-tick { font: 400 11px 'Work Sans',sans-serif; fill: #7c8580; }
.chart-category { font: 400 11.5px 'Work Sans',sans-serif; fill: #646e69; }
.score-line-path { fill: none; stroke: #1b2a24; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.score-line-point circle:not(.chart-hit) { fill: #fffefb; stroke: #1b2a24; stroke-width: 2; }
.score-line-point circle.is-best { fill: var(--accent, #7a3550); stroke: #fffefb; }
.score-line-point .chart-hit { fill: transparent; stroke: none; }
.score-line-point:focus { outline: none; }
.score-line-point:focus-visible .chart-hit, .score-line-point:hover .chart-hit { fill: #1b2a2412; }
.score-line-best { font: 600 12.5px 'Work Sans',sans-serif; fill: var(--accent, #7a3550); }
.chart-tooltip { position: absolute; z-index: 2; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #1b2a24; color: #faf8f3; border-radius: 8px; padding: 8px 11px; font-size: 12.5px; white-space: nowrap; pointer-events: none; box-shadow: 0 8px 20px -10px #1b2a2499; }
.score-line .chart-tooltip { bottom: auto; transform: translate(-50%, -100%); }
.chart-tooltip strong { font-weight: 600; }
.chart-tooltip small { display: block; color: #c9c2b2; font-size: 11.5px; margin-top: 2px; }
.chart-empty { color: #646e69; font-size: 14px; padding: 28px 0 12px; }

/* Activity and subscription side cards. */
.activity-list { list-style: none; margin: 0; padding: 0; display: grid; }
.activity-list li { display: flex; gap: 12px; padding: 12px 0; }
.activity-list li:first-child { padding-top: 0; }
.activity-list li + li { border-top: 1px solid #f0ece2; }
.activity-dot { width: 8px; height: 8px; border-radius: 99px; background: #c9c2b2; margin-top: 6px; flex: none; }
.activity-dot.is-latest { background: #7a3550; }
.activity-list strong { display: block; font-size: 14px; font-weight: 500; }
.activity-list span:not(.activity-dot, .tag-untimed) { display: block; font-size: 12.5px; color: #646e69; margin-top: 2px; }
.subscription-line { display: grid; gap: 6px; }
.subscription-line + .subscription-line { border-top: 1px solid #f0ece2; padding-top: 12px; }
.subscription-line-head { display: flex; align-items: center; gap: 10px; }
.subscription-line-head strong { flex: 1; font-size: 15px; font-weight: 500; }
.subscription-line p { font-size: 13px; color: #4a554f; }
.subscription-line a { color: #3a5fa8; font-size: 13.5px; font-weight: 500; text-decoration: none; }

/* Results (7b) and the read-only report. */
.results-table { min-width: 860px; }
.locked-reports { display: flex; align-items: center; gap: 18px; background: #fbf3e4; border: 1px solid #ecdcbc; border-radius: 12px; padding: 14px 20px; }
.locked-reports p { flex: 1; font-size: 14px; color: #2a3833; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13.5px; color: #4a554f; }
.report-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; }
.report-summary h2 { font: 400 22px Lora,Georgia,serif; white-space: nowrap; }
.report-summary p { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13.5px; color: #4a554f; }
.report-summary b { font-weight: 500; color: #1b2a24; white-space: nowrap; }
.report-sections .timing-out { color: #7a5410; white-space: nowrap; }
.report-questions h2 { font: 400 22px Lora,Georgia,serif; margin-bottom: 8px; }
.report-questions ol { list-style: none; margin: 0; padding: 0; }
.report-questions li { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #f0ece2; }
.question-number { font-weight: 500; font-size: 14px; white-space: nowrap; }
.flag-mark { color: #b5762a; }
.question-prompt { font-size: 14px; color: #2a3833; line-height: 1.55; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.answer-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 13.5px; color: #4a554f; margin-top: 4px; }
.answer-line b { color: #1b2a24; font-weight: 600; }
.answer-mark { width: 18px; font-weight: 600; flex: none; }
.answer-line.is-correct .answer-mark { color: #2f6b4f; }
.answer-line.is-wrong .answer-mark { color: #a2452f; }
.part-prompt { color: #1b2a24; }

/* Settings (7c). */
.settings-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; padding-top: 26px; }
.settings-menu { display: grid; gap: 4px; align-content: start; }
.settings-menu a { font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 8px; color: #4a554f; border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
.settings-menu a[aria-current] { background: #fffefb; border-color: #e3ded2; color: #1b2a24; }
.settings-menu a:not([aria-current]):hover { background: #f3efe6; }
.settings-content { display: grid; gap: 22px; align-content: start; min-width: 0; }
.settings-note { font-size: 13px; line-height: 1.6; color: #646e69; }
.subscriptions-table th:first-child { width: 30%; }

/* Progress (6b). */
.timing-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #f0ece2; }
.timing-rows li { display: grid; grid-template-columns: 190px minmax(0,1fr) 170px; gap: 18px; align-items: center; padding: 15px 22px; }
.timing-rows li + li { border-top: 1px solid #f0ece2; }
.timing-name { font-size: 14.5px; font-weight: 500; }
.timing-track { position: relative; height: 12px; border-radius: 99px; background: #efebe1; overflow: hidden; }
.timing-track > span { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: #1b2a24; }
.timing-label { font-size: 13.5px; color: #4a554f; white-space: nowrap; }
.timing-rows .is-warning .timing-track > span { background: #b5762a; }
.timing-rows .is-warning .timing-label { color: #7a5410; }
.focus-card { gap: 12px; }
.focus-card h3 { font: 400 22px/1.25 Lora,Georgia,serif; }
.focus-card p { font-size: 14px; line-height: 1.6; color: #3d4844; }
.focus-card .button, .focus-card button:not(.text-link) { width: 100%; justify-content: center; border-radius: 8px; }
/* A long subject name wraps inside the card rather than widening it on a phone. */
.focus-card :is(.button, button, .text-link) { white-space: normal; text-align: center; }
.bests { margin: 0; }
.bests > div { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; font-size: 14px; }
.bests > div + div { border-top: 1px solid #f0ece2; }
.bests dt { flex: 1; }
.bests dd { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.bests dd small { color: #646e69; font-size: 13px; white-space: nowrap; }
.bests dd small:last-child { width: 70px; text-align: right; }
.bests dd strong { font: 400 18px Lora,Georgia,serif; width: 44px; text-align: right; }

/* My mocks (6d): the next mock in full or one subject, like the real test or as Practice. */
.start-card { background: #fffefb; border: 1px solid #e3ded2; border-radius: 16px; box-shadow: 0 20px 44px -28px #1b2a2459; overflow: hidden; }
.start-card > header { padding: 24px 28px 18px; display: flex; align-items: flex-end; gap: 16px; border-bottom: 1px solid #efebe1; }
.start-card > header > div { flex: 1; }
.start-card .eyebrow { color: var(--accent); }
.start-card h3 { font: 400 32px/1.15 Lora,Georgia,serif; margin-top: 6px; }
.start-card-body { padding: 20px 28px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.start-choices { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.start-choices legend { padding: 0; margin-bottom: 10px; font: 600 10.5px 'Work Sans',sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #646e69; }
.start-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.start-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.start-tile { position: relative; display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 10px; border: 1px solid #e3ded2; background: #fffefb; margin: 1px; cursor: pointer; }
.start-tile--full { grid-column: 1 / -1; }
.start-tile input { position: absolute; opacity: 0; pointer-events: none; }
.start-tile:has(input:focus-visible) { outline: 2px solid #3a5fa8; outline-offset: 2px; }
.start-tile.is-picked { border: 2px solid #1b2a24; margin: 0; }
.start-tile-name { display: flex; align-items: center; gap: 8px; font: 500 14.5px 'Work Sans',sans-serif; white-space: nowrap; }
.start-tile small { font-size: 12.5px; color: #646e69; white-space: nowrap; }
/* 13a, 13b: like the real test or Practice, two options on a tinted track. */
.mode-choice { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.mode-choice legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: #1b2a24; }
.mode-choice-options { display: flex; gap: 6px; padding: 6px; border-radius: 18px; background: #f3efe8; }
.mode-option { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 2px solid transparent; border-radius: 14px; cursor: pointer; }
.mode-option.is-picked { background: #fffefb; border-color: #7a3550; box-shadow: 0 3px 0 #e3ded2; }
.mode-option:has(input:focus-visible) { outline: 2px solid #3a5fa8; outline-offset: 2px; }
.mode-option-head { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #3d4844; white-space: nowrap; }
.mode-option.is-picked .mode-option-head { color: #1b2a24; }
.mode-radio { flex: none; box-sizing: border-box; width: 18px; height: 18px; border: 2px solid #b9b2a4; border-radius: 50%; background: #fffefb; }
.mode-option.is-picked .mode-radio { border: 6px solid #7a3550; }
.mode-option-text { padding-left: 28px; font-size: 14px; line-height: 1.45; color: #3d4844; }
.mode-choice-note { margin: 0; font-size: 14px; line-height: 1.5; color: #646e69; }
.start-action { display: flex; align-items: center; gap: 16px; }
.start-action p { flex: 1; font-size: 13px; line-height: 1.55; color: #4a554f; }
.start-action .primary, .start-action .button.primary { padding: 14px 22px; border-radius: 9px; font-size: 15px; white-space: nowrap; }
/* My mocks: a run in progress, its Resume and End, and the dialog confirming End. */
.mock-card-title .mock-resume-actions { display: grid; gap: 8px; justify-items: center; flex: none; }
.mock-resume-actions .end-link { min-height: 32px; padding: 4px 8px; color: #4a554f; font: 500 13px 'Work Sans',sans-serif; text-underline-offset: 3px; }
dialog.end-dialog { width: 470px; max-width: calc(100vw - 32px); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 18px 50px #1b2a2440; }
dialog.end-dialog::backdrop { background: #1b2a2461; }
.end-dialog-body { display: grid; gap: 14px; padding: 28px 30px 24px; }
dialog.end-dialog h2 { margin: 0; font: 400 24px/1.25 Lora,Georgia,serif; }
dialog.end-dialog p { margin: 0; font: 400 14px/1.6 'Work Sans',sans-serif; color: #4a554f; }
dialog.end-dialog p.form-error { padding: 10px 12px; border-radius: 8px; background: #f8ecea; color: #963d39; }
.end-dialog-actions { display: flex; gap: 10px; margin-top: 6px; }
.end-dialog-actions button { flex: 1; padding: 12px; border-radius: 8px; font: 500 14px 'Work Sans',sans-serif; }
.end-dialog-actions button:not(.primary) { border-color: #ddd8ca; }
/* Untimed results stay visible but are tagged, because their scores aren't comparable. */
.tag-untimed { display: inline-block; margin: -2px 0 -2px 8px; padding: 1px 8px; border: 1px solid #d5deec; border-radius: 999px; background: #eef2f8; color: #2e4a7a; font: 500 11.5px/1.5 'Work Sans',sans-serif; letter-spacing: normal; text-transform: none; vertical-align: 2px; white-space: nowrap; }
.score-tile { position: relative; }
.score-tile .tag-untimed { position: absolute; top: 16px; right: 16px; margin: 0; }
.finished-rows { background: #fffefb; border: 1px solid #e3ded2; border-radius: 14px; overflow: hidden; }
.finished-row { display: flex; align-items: center; gap: 16px; padding: 14px 22px; }
.finished-row + .finished-row { border-top: 1px solid #f0ece2; }
.finished-row > div { flex: 1; min-width: 0; }
.finished-row h3 { font: 500 15px 'Work Sans',sans-serif; }
.finished-row p { font-size: 13px; color: #646e69; margin-top: 2px; }
.finished-score { font: 400 20px Lora,Georgia,serif; white-space: nowrap; }
.finished-score .marking-label { font: 500 13px 'Work Sans',sans-serif; }
/* No score is a dash the size of a score, not a small mark on the baseline. */
.finished-score .marking-label[aria-label="No score"] { font: inherit; color: #8b938e; }
.finished-row > a { color: #3a5fa8; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }

@media(max-width:1179px) {
  .parent-overview, .progress-layout { grid-template-columns: minmax(0,1fr) 300px; }
  .parent-tabs { margin-left: 4px; }
}
@media(max-width:999px) {
  .parent-overview, .progress-layout { grid-template-columns: minmax(0,1fr); }
  .parent-side { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
  .parent-band { flex-direction: column; align-items: start; gap: 20px; }
  .parent-view-header { flex-wrap: wrap; row-gap: 12px; }
  .parent-view-header nav { flex-basis: 100%; order: 3; }
  .parent-tabs { margin-left: 0; }
  .settings-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .settings-menu { display: flex; flex-wrap: wrap; }
}
@media(max-width:600px) {
  .parent-band, .parent-heading { padding-left: 20px; padding-right: 20px; }
  .parent-heading { flex-direction: column; align-items: start; gap: 18px; }
  .parent-band { padding-top: 28px; }
  .parent-band h1, .parent-heading h1 { font-size: 32px; }
  .parent-body { padding: 24px 20px 32px; }
  .parent-figures { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .parent-figures > div:nth-child(3) { border-left: 0; }
  .parent-figures > div:nth-child(n+3) { border-top: 1px solid #f0ece2; }
  .parent-figures dd { font-size: 26px; }
  .parent-card { padding: 20px 18px 16px; }
  .parent-table-card { padding: 0; }
  .parent-table-card > .parent-card-head { padding: 18px 18px 12px; }
  .parent-table tbody th { white-space: normal; }
  .by-section .score-meter { min-width: 0; }
  .by-section td:last-child:empty { display: none; }
  .parent-card-head { flex-wrap: wrap; gap: 4px; }
  .parent-table tbody th, .parent-table tbody td, .parent-table thead th { padding-left: 14px; padding-right: 14px; }
  .by-section .score-meter { min-width: 120px; }
  .score-bars-area, .score-bars-labels { gap: 8px; }
  .score-bars-labels { padding-left: 46px; }
  .score-bars-labels span { font-size: 11px; }
  .timing-rows li { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; }
  .report-summary { grid-template-columns: 1fr; gap: 12px; }
  .locked-reports { flex-direction: column; align-items: start; }
  .parent-view-pill { display: none; }
  .parent-tabs { gap: 2px; }
  .site-header nav .parent-tabs a { padding: 8px 12px; }
  .site-header .student-view-button { padding: 7px 12px; }
  .start-card > header, .start-card-body { padding-left: 20px; padding-right: 20px; }
  .start-tiles, .start-tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-tile-name, .start-tile small { white-space: normal; }
  .start-action { flex-direction: column; align-items: stretch; }
  .mode-choice-options { flex-direction: column; }
  .end-dialog-body { padding: 24px 20px 20px; }
  .end-dialog-actions { flex-direction: column-reverse; }
  .finished-row { padding: 14px 18px; flex-wrap: wrap; }
  .finished-row > div { flex-basis: 100%; }
  .report-questions li { grid-template-columns: 1fr; gap: 4px; }
}

/* 12c (v5.11): iClass as the parent's suggested next step, in the adult look.
   The reason line names the real trigger; the rest is iClass's own copy. */
.iclass-parent { gap: 16px; padding: 26px 28px; }
.iclass-parent > .eyebrow { margin: 0; color: #7a3550; font: 600 10.5px 'Work Sans',sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.iclass-parent h2 { font: 400 24px/1.2 Lora,Georgia,serif; color: #1b2a24; }
.iclass-parent > p { margin: 0; color: #3d4844; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.iclass-parent > p.iclass-reason { padding: 12px 14px; border-radius: 10px; background: #f5eaee; color: #1b2a24; font-weight: 500; }
.iclass-features { list-style: none; margin: 0; padding: 0; border-top: 1px solid #f0ece2; }
.iclass-features li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0ece2; font-size: 14.5px; line-height: 1.5; }
.iclass-features li > span { flex: none; color: #7a3550; font-weight: 600; }
.iclass-features b { font-weight: 600; }
.iclass-features div span { display: block; color: #4a554f; }
.iclass-parent .iclass-actions { gap: 14px; }
.iclass-parent .iclass-visit { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 999px; background: #1b2a24; color: #faf8f3; font: 500 15px 'Work Sans',sans-serif; white-space: nowrap; text-decoration: none; }
.iclass-parent .iclass-visit:hover { background: #2c3d36; }
.iclass-parent .text-button { padding: 11px 4px; color: #4a554f; font: 500 14px 'Work Sans',sans-serif; text-decoration: none; white-space: nowrap; }
.iclass-parent .text-button:hover { text-decoration: underline; }
