:root {
  --ink: #15231e;
  --muted: #587068;
  --paper: #f5f7f3;
  --white: #ffffff;
  --green: #006b54;
  --green-dark: #004b3b;
  --yellow: #f4c95d;
  --coral: #e96851;
  --line: #d7dfda;
  --danger: #a72f28;
  --success-bg: #e2f3e9;
  --error-bg: #fff0eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.site-header { height: 72px; padding: 0 clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.88); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; }
.brand strong { color: var(--green); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 6px; font-weight: 800; }
.header-button { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; color: var(--green); font-weight: 750; }
.header-actions { display: flex; gap: 8px; }
main { flex: 1; }
.year-landing { min-height: calc(100vh - 118px); display: grid; align-content: center; gap: clamp(34px, 6vw, 70px); padding: clamp(44px, 8vw, 100px) clamp(20px, 8vw, 120px); background: linear-gradient(145deg, var(--paper), #e7efe9); }
.landing-heading { max-width: 850px; }
.landing-heading > p:last-child { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.year-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); max-width: 980px; }
.year-choice { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; align-items: center; min-height: 210px; padding: clamp(24px, 4vw, 42px); text-align: left; color: var(--ink); border: 1px solid var(--line); border-top: 6px solid var(--green); border-radius: 8px; background: var(--white); box-shadow: 0 14px 35px rgba(21,35,30,.08); transition: transform .15s, box-shadow .15s; }
.year-choice:nth-child(2) { border-top-color: var(--coral); }
.year-choice:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(21,35,30,.14); }
.year-badge { grid-row: 1 / 4; width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--white); font-size: 30px; font-weight: 850; }
.year-choice:nth-child(2) .year-badge { background: var(--coral); }
.year-choice strong { font-size: clamp(21px, 3vw, 30px); }
.year-choice > span:not(.year-badge) { color: var(--muted); line-height: 1.5; }
.year-choice em { color: var(--green); font-style: normal; font-weight: 800; }
.welcome { min-height: calc(100vh - 118px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(48px, 8vw, 120px); padding: clamp(44px, 8vw, 110px) clamp(20px, 8vw, 120px); background: linear-gradient(115deg, #f5f7f3 0 64%, #e7efe9 64%); position: relative; overflow: hidden; }
.welcome::after { content: "×  ÷  +  ="; position: absolute; right: 3vw; bottom: -20px; font-size: clamp(55px, 9vw, 130px); font-weight: 800; color: rgba(0,107,84,.08); white-space: nowrap; pointer-events: none; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 5vw, 66px); line-height: 1.04; margin: 0; max-width: 850px; }
.welcome-copy > p:last-child, .view-heading > p:last-child { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 620px; }
.name-panel { background: var(--white); padding: clamp(24px, 4vw, 40px); border-top: 5px solid var(--yellow); box-shadow: 0 18px 50px rgba(21,35,30,.12); position: relative; z-index: 1; }
.auth-panel { max-width: 520px; width: 100%; }
.auth-panel h2 { margin: 8px 0 4px; font-size: 26px; }
.auth-panel label { margin: 4px 0 -4px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 20px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.auth-switch button { min-height: 42px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-weight: 800; }
.auth-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.external-sign-in { margin: 20px 0 22px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.external-provider-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.external-provider-button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; border: 1px solid #8b9993; border-radius: 5px; background: var(--white); color: var(--ink); font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; box-shadow: 0 1px 2px rgba(21,35,30,.08); }
.external-provider-button:hover { border-color: var(--green); background: #f7faf8; }
.external-provider-button:active { background: #edf3ef; box-shadow: none; }
.external-provider-button:focus-visible { outline: 3px solid #ffcc40; outline-offset: 3px; }
.external-provider-button--google { border-color: #dadce0; font-family: Arial, Helvetica, sans-serif; }
.external-provider-button--google:hover { border-color: #4285f4; background: #f8faff; }
.google-mark { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; color: #4285f4; font-family: Arial, Helvetica, sans-serif; font-size: 23px; font-weight: 700; line-height: 1; }
.external-provider-button--microsoft { border-color: #747474; font-family: "Segoe UI", system-ui, sans-serif; }
.microsoft-mark { width: 22px; height: 22px; flex: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.microsoft-mark span:nth-child(1) { background: #f35325; }
.microsoft-mark span:nth-child(2) { background: #81bc06; }
.microsoft-mark span:nth-child(3) { background: #05a6f0; }
.microsoft-mark span:nth-child(4) { background: #ffba08; }
#external-complete-form { gap: 18px; }
#external-complete-form h2 { margin-bottom: 0; }
#external-complete-summary { margin: 0; color: var(--muted); line-height: 1.6; }
#external-name-fields, #external-password-fields { display: grid; gap: 12px; width: 100%; }
#external-name-fields input, #external-password-fields input { width: 100%; }
#external-complete-form .primary { width: 100%; margin-top: 2px; }
label { display: block; font-weight: 750; margin-bottom: 9px; }
.field-row { display: grid; gap: 12px; }
input { min-width: 0; height: 52px; border: 2px solid #9aaba4; border-radius: 5px; padding: 0 14px; background: white; color: var(--ink); }
input:focus, button:focus-visible { outline: 3px solid #ffcc40; outline-offset: 3px; }
.primary { min-height: 50px; border: 0; border-radius: 5px; padding: 0 20px; background: var(--green); color: white; font-weight: 800; }
.primary:hover { background: var(--green-dark); }
.primary:disabled { cursor: wait; opacity: .78; }
.privacy-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 16px 0 0; }
.field-help { margin: -3px 0 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.field-status { min-height: 24px; margin: 8px 0 0; color: var(--green); font-weight: 750; line-height: 1.5; }
.success-status { margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid var(--green); background: var(--success-bg); color: var(--green-dark); font-weight: 750; }
.success-status:empty { display: none; }
.learner-subscription { margin-top: 22px; padding: 18px 20px; border-left: 5px solid var(--green); background: var(--white); }
.learner-subscription h2 { margin: 0 0 12px; font-size: 19px; }
.learner-subscription dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.learner-subscription dl div { min-width: 0; }
.learner-subscription dt { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.learner-subscription dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 750; }
.app-view { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(42px, 7vw, 88px) 0; }
.view-heading h1, .practice h1 { font-size: clamp(32px, 4vw, 52px); }
.progress-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.view-mode-tabs { display: inline-flex; margin: 28px 0 32px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.view-mode-tabs button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-weight: 800; }
.view-mode-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.path-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path-overview h2 { margin: 0 0 8px; font-size: 30px; }
.path-overview p:last-child { margin: 0; color: var(--muted); line-height: 1.5; }
.path-progress { display: grid; gap: 11px; }
.path-progress strong { font-size: 15px; }
.path-progress progress { width: 100%; height: 12px; accent-color: var(--green); }
.path-progress .primary { width: 100%; }
.full-year-plan { margin-top: 24px; border: 1px solid var(--line); background: var(--white); }
.full-year-plan > summary { padding: 17px 20px; color: var(--green); font-weight: 800; cursor: pointer; }
.next-activities { margin-top: 36px; }
.section-heading h2 { margin: 0 0 18px; font-size: 28px; }
.next-activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-activity { min-height: 120px; padding: 18px; text-align: left; border: 1px solid #b9c8c1; border-top: 4px solid var(--green); border-radius: 6px; background: var(--white); color: var(--ink); }
.next-activity:hover { background: #eef6f2; }
.next-activity small, .next-activity span { display: block; color: var(--muted); font-size: 12px; }
.next-activity strong { display: block; margin: 9px 0; font-size: 18px; }
.year-terms { padding: 0 20px; }
.year-term { padding: 34px 0 42px; border-top: 4px solid var(--green); }
.year-term:nth-child(2) { border-top-color: var(--coral); }
.year-term:nth-child(3) { border-top-color: var(--yellow); }
.year-term-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; cursor: pointer; }
.year-term[open] .year-term-heading { margin-bottom: 22px; }
.year-term-heading h2 { margin: 0 0 6px; font-size: 26px; }
.year-term-heading p:last-child { margin: 0; color: var(--muted); line-height: 1.5; }
.year-term-heading > strong { font-size: 28px; color: var(--green); }
.milestone-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.milestone { min-height: 106px; padding: 13px; text-align: left; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--ink); }
.milestone small, .milestone span { display: block; color: var(--muted); font-size: 11px; }
.milestone strong { display: block; margin: 8px 0; line-height: 1.25; }
.milestone-complete { border-color: #8dc6b3; background: var(--success-bg); }
.milestone-complete span { color: var(--green); font-weight: 800; }
.milestone-current { border: 3px solid var(--green); background: #fff8df; }
.milestone-current span { color: var(--green); font-weight: 800; }
.milestone-available { border-color: #b9c8c1; }
.milestone-available:hover { border-color: var(--green); background: #eef6f2; }
.milestone:disabled { cursor: default; }
.section-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 34px 0 0; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.section-tab { flex: 0 0 auto; min-height: 48px; padding: 0 16px; border: 0; border-bottom: 4px solid transparent; background: transparent; color: var(--muted); font-weight: 750; }
.section-tab[aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); }
.section-intro { display: flex; justify-content: space-between; gap: 28px; align-items: end; padding: 32px 0 22px; }
.section-intro h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 7px; }
.section-intro p:last-child { color: var(--muted); margin: 0; }
.coverage-count { min-width: 100px; text-align: right; }
.coverage-count strong { display: block; font-size: 34px; color: var(--green); }
.coverage-count span { color: var(--muted); font-size: 13px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic-card { min-height: 230px; padding: 22px; text-align: left; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; background: var(--white); transition: transform .15s, box-shadow .15s; }
.topic-card:nth-child(3n+2) { border-top-color: var(--coral); }
.topic-card:nth-child(3n) { border-top-color: var(--yellow); }
.topic-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px rgba(21,35,30,.1); }
.topic-card .organiser-label { display: block; margin-bottom: 9px; color: var(--green); font-size: 11px; line-height: 1.35; text-transform: uppercase; }
.topic-card strong { display: block; font-size: 19px; margin-bottom: 10px; }
.topic-card span { color: var(--muted); line-height: 1.5; }
.topic-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.topic-card li + li { margin-top: 4px; }
.topic-card small { display: block; margin-top: 17px; color: var(--green); font-weight: 750; }
.topic-card .topic-code { margin-top: 6px; color: var(--muted); font-weight: 650; }
.topic-card em { display: block; margin-top: 7px; color: var(--green); font-size: 12px; font-style: normal; font-weight: 750; }
.investigation-note { margin-top: 18px; padding: 20px 22px; border-left: 5px solid var(--yellow); background: #fff8df; }
.investigation-note p { margin: 5px 0 0; color: var(--muted); line-height: 1.55; }
.practice-nav { display: flex; justify-content: space-between; align-items: center; min-height: 42px; margin-bottom: 44px; color: var(--muted); }
.text-button { border: 0; background: transparent; color: var(--green); font-weight: 800; padding: 10px 0; }
.question-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: clamp(30px, 6vw, 80px); }
.question-text { font-size: clamp(22px, 3vw, 32px); line-height: 1.45; margin: 26px 0 44px; }
.question-visual { width: min(100%, 640px); margin: 28px 0 20px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.question-visual canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; }
.question-visual figcaption { margin-top: 10px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.question-visual + .question-text { margin-top: 18px; }
.answer-instruction { margin: -30px 0 30px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.answer-row { display: flex; align-items: center; gap: 10px; }
.answer-row input { width: min(220px, 100%); }
.answer-affix { font-size: 22px; font-weight: 800; }
.check-button { margin-top: 18px; }
.choice-answer { margin: 0; padding: 0; border: 0; }
.choice-answer legend { font-weight: 750; margin-bottom: 10px; }
#choice-options { display: grid; gap: 9px; }
.choice-option { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: center; min-height: 50px; margin: 0; padding: 10px 14px; border: 2px solid var(--line); border-radius: 5px; background: var(--white); cursor: pointer; }
.choice-option:has(input:checked) { border-color: var(--green); background: var(--success-bg); }
.choice-option input { width: 18px; height: 18px; min-width: 18px; padding: 0; }
.feedback { border-left: 5px solid var(--coral); background: var(--error-bg); padding: 26px; align-self: start; }
.feedback.success { border-color: var(--green); background: var(--success-bg); }
.feedback h2 { margin: 0 0 12px; font-size: 23px; }
.feedback p { line-height: 1.6; }
.feedback .primary { width: 100%; margin-top: 8px; }
.hint-example { margin: 20px 0 16px; padding: 18px; border: 1px solid #e2b9ad; border-radius: 6px; background: var(--white); }
.hint-example h3 { margin: 0 0 8px; font-size: 17px; }
.hint-example p { margin: 0; }
.hint-visual { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.hint-visual canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; }
.hint-visual figcaption { margin-top: 10px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.field-error { color: var(--danger); min-height: 24px; margin: 0; font-weight: 750; line-height: 1.5; }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 32px 0; }
.summary-item { background: var(--white); border-top: 4px solid var(--green); padding: 22px; }
.summary-item strong { display: block; font-size: 34px; }
.summary-item span { color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; color: var(--muted); }
.mark-correct { color: var(--green); font-weight: 800; }
.mark-wrong { color: var(--danger); font-weight: 800; }
.reset-panel { margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-left: 5px solid var(--yellow); background: var(--white); }
.reset-panel h2 { margin: 0 0 7px; }
.reset-panel .section-heading p, .muted-text { margin: 0; color: var(--muted); line-height: 1.5; }
.reset-topic-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin: 20px 0; padding: 0; border: 0; }
.reset-topic-list legend { width: 100%; margin-bottom: 12px; font-weight: 800; }
.reset-topic-option { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; min-height: 48px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.reset-topic-option input { width: 20px; min-width: 20px; height: 20px; margin: 1px 0 0; }
.reset-topic-option small { display: block; margin-top: 3px; color: var(--muted); }
.reset-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.danger-button { min-height: 42px; padding: 0 14px; border: 1px solid var(--danger); border-radius: 6px; background: var(--white); color: var(--danger); font-weight: 800; }
.danger-button:disabled, .header-button:disabled { cursor: not-allowed; opacity: .55; }
.reset-learner-picker { max-width: 420px; margin-top: 20px; }
.reset-learner-picker select { width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid #9aaba4; border-radius: 5px; background: white; }
footer { min-height: 46px; padding: 14px 20px; text-align: center; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
footer p { margin: 0 0 7px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
footer a { color: var(--green); }
.info-page { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: clamp(42px, 7vw, 82px) 0; line-height: 1.65; }
.info-page h1 { margin-bottom: 24px; }
.info-page h2 { margin: 32px 0 8px; }
.info-page .notice { padding: 18px 20px; border-left: 5px solid var(--yellow); background: #fff8df; }
.subscription-page { max-width: 760px; }
.subscription-page .subscription-expired { margin: 30px 0; border-left-color: var(--danger); background: var(--error-bg); }
.subscription-expired h2 { margin: 0 0 6px; }
.subscription-expired p { margin: 0; }
.purchase-panel { margin: 22px 0; padding: 22px; border: 1px solid var(--line); border-left: 5px solid var(--green); background: var(--white); }
.purchase-panel h3 { margin: 0 0 8px; }
.purchase-panel p { margin: 0 0 18px; }
.purchase-panel .field-status, .purchase-panel .field-error { margin: 12px 0 0; }
.action-link { display: inline-flex; align-items: center; margin-top: 20px; text-decoration: none; }
.hidden { display: none !important; }
@media (max-width: 900px) {
  .welcome { grid-template-columns: 1fr; background: var(--paper); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .question-layout { grid-template-columns: 1fr; }
  .next-activity-grid { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-header { height: 62px; padding: 0 16px; }
  .header-actions { gap: 4px; }
  .header-actions .header-button { min-height: 38px; padding: 0 8px; font-size: 12px; }
  .welcome { min-height: calc(100vh - 108px); padding: 42px 20px; gap: 34px; }
  .year-landing { min-height: calc(100vh - 108px); padding: 42px 20px; }
  .year-choice-grid { grid-template-columns: 1fr; }
  .year-choice { min-height: 180px; padding: 22px; }
  .year-badge { width: 62px; height: 62px; font-size: 24px; }
  .app-view { width: calc(100% - 32px); padding: 38px 0; }
  .topic-grid, .summary-grid { grid-template-columns: 1fr; }
  .section-intro { align-items: start; }
  .topic-card { min-height: 0; }
  .view-mode-tabs { width: 100%; }
  .view-mode-tabs button { flex: 1; padding: 0 8px; }
  .path-overview { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone { min-height: 98px; }
  .external-provider-buttons { grid-template-columns: 1fr; }
  .learner-subscription dl { grid-template-columns: 1fr 1fr; }
  .answer-row { grid-template-columns: minmax(100px, 1fr) auto; }
  .answer-row .primary { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .brand > span:last-child { display: none; } }
@media print {
  @page { size: A4 portrait; margin: 15mm; }
  :root, body { background: #fff; color: #000; }
  body { display: block; font-size: 10pt; }
  .site-header, #progress-back, #progress-print-button, .reset-panel, footer { display: none !important; }
  #progress-view { width: 100%; margin: 0; padding: 0; }
  .progress-heading { display: block; }
  .progress-heading h1 { font-size: 24pt; }
  .progress-heading .view-heading > p:last-child { color: #333; }
  #progress-view .summary-grid { grid-template-columns: repeat(3, 1fr); gap: 3mm; margin: 7mm 0; }
  #progress-view .summary-item { padding: 3mm; border: 1px solid #999; }
  #progress-view .summary-item strong { font-size: 17pt; }
  #progress-view .table-wrap { overflow: visible; border-color: #999; }
  #progress-view table { min-width: 0; }
  #progress-view thead { display: table-header-group; }
  #progress-view tr { break-inside: avoid; }
  #progress-view th, #progress-view td { padding: 3mm; border-color: #bbb; vertical-align: top; }
  #progress-view th { color: #222; font-size: 8pt; }
  #progress-view .mark-correct, #progress-view .mark-wrong { color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
