/* Exam Prep hub and Goethe/telc-style mock exam layout and interactive states. */
.exam-shell,.exam-hub{max-width:920px;margin:24px 0 36px;display:grid;gap:28px}
.exam-lead{font-size:15px;line-height:1.85;color:var(--ink);max-width:74ch;margin:0}
.exam-level-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.exam-level-card{display:grid;gap:12px;align-content:start;padding:22px 24px;border:0;border-radius:var(--radius-2xl);background:var(--surface);box-shadow:none}
.exam-level-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.exam-level-head h2{font-size:19px;font-weight:900;letter-spacing:-.015em;margin:0;color:var(--ink)}
.exam-level-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--page-muted,var(--ink-muted));font-variant-numeric:tabular-nums}
.exam-level-card p{font-size:15px;line-height:1.7;color:var(--ink);margin:0}
.exam-hub-score{font-size:13px;font-weight:600;color:var(--ink);margin:0}
.exam-level-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}
.exam-level-actions .primary{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:14px;text-decoration:none}

.exam-toolbar{position:sticky;top:12px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.exam-toolbar-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;font-variant-numeric:tabular-nums}
.exam-score-pill{display:inline-flex;align-items:center;min-height:36px;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:var(--light);font-weight:650;color:var(--ink)}
.exam-timer-display{font-weight:650;color:var(--ink);font-size:15px}
.exam-toolbar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.exam-toolbar-btn{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;font-size:13px;font-weight:550;cursor:pointer}
.exam-toolbar-btn:hover{background:var(--light)}

.exam-jump-nav{display:flex;flex-wrap:wrap;gap:8px}
.exam-jump-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:550;text-decoration:none}
.exam-jump-nav a:hover{background:var(--light);border-color:var(--accent);text-decoration:none}

.exam-part,.exam-task,.exam-q-card{scroll-margin-top:100px}
.exam-part{display:grid;gap:18px;padding-top:26px;border-top:1px solid var(--line)}
.exam-part>h2{font-size:22px;font-weight:900;letter-spacing:-.02em;margin:0;color:var(--ink)}
.exam-part>p{font-size:15px;line-height:1.8;color:var(--page-muted,var(--ink-muted));margin:0;max-width:74ch}
.exam-task{display:grid;gap:14px}
.exam-task>h3{font-size:17px;font-weight:900;margin:8px 0 0;color:var(--ink)}

.exam-reading-box,.exam-cloze-box{padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:var(--light);color:var(--ink)}
.exam-reading-box h4,.exam-cloze-box h4{font-family:var(--font-sans);font-size:14px;font-weight:650;margin:0 0 10px;color:var(--ink)}
.exam-reading-box p,.exam-cloze-box p{font-family:var(--font-sans);font-size:18px;line-height:1.75;margin:0 0 12px;color:var(--ink);overflow-wrap:anywhere}
.exam-reading-box p:last-child,.exam-cloze-box p:last-child{margin-bottom:0}
.exam-cloze-box mark.exam-gap{display:inline-block;padding:0 6px;border-radius:5px;background:var(--paper);border:1px solid var(--line);color:var(--ink);font-family:var(--font-sans);font-size:14px;font-weight:700}

.exam-q-grid{display:grid;gap:14px}
.exam-q-card{padding:18px 20px;border:0;border-radius:var(--radius-2xl);background:var(--surface);display:grid;gap:12px;box-shadow:none}
.exam-q-stem{font-size:15px;font-weight:600;line-height:1.6;margin:0;color:var(--ink)}
.exam-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.exam-choice{min-height:46px;padding:10px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);font:inherit;font-size:14.5px;font-weight:550;text-align:left;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}
.exam-choice:hover:not(:disabled){border-color:var(--accent);background:var(--light)}
.exam-choice.is-correct{background:var(--das-soft);border-color:var(--das);color:var(--das-ink)}
.exam-choice.is-wrong{background:var(--die-soft);border-color:var(--die);color:var(--die-ink)}
.exam-feedback{margin:0;padding:10px 13px;border-radius:14px;font-size:15px;line-height:1.6}
.exam-feedback.is-correct{background:var(--das-soft);color:var(--das-ink);border:1px solid var(--line)}
.exam-feedback.is-wrong{background:var(--die-soft);color:var(--die-ink);border:1px solid var(--line)}

.exam-explain,.exam-model-answer{margin:0!important;padding:0;border-top:1px solid var(--line);padding-top:10px}
.exam-explain summary,.exam-model-answer summary{min-height:44px;display:flex;align-items:center;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer}
.exam-explain p,.exam-model-answer p{font-size:15px;line-height:1.75;margin:8px 0 0;color:var(--ink)}

.exam-writing-box{padding:20px 22px;border:0;border-radius:var(--radius-2xl);background:var(--surface);display:grid;gap:14px;box-shadow:none}
.exam-writing-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.exam-char-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.exam-char-btn{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--light);color:var(--ink);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.exam-char-btn:hover{border-color:var(--accent)}
.exam-word-count{font-size:13px;font-weight:600;color:var(--page-muted,var(--ink-muted));font-variant-numeric:tabular-nums}
.exam-writing-input{width:100%;min-height:168px;padding:14px 16px;border:2px solid var(--border);border-radius:14px;background:var(--paper);color:var(--ink);font:inherit;font-size:16px;line-height:1.65;resize:vertical}
.exam-writing-input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.exam-rubric-list{display:grid;gap:10px;margin:4px 0}
.exam-rubric-item{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--light);cursor:pointer;font-size:15px;line-height:1.6;color:var(--ink)}
.exam-rubric-item input{width:20px;height:20px;margin-top:2px;flex-shrink:0;accent-color:var(--accent);cursor:pointer}

.exam-speaking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.exam-phrase-box{padding:18px 20px;border:0;border-radius:var(--radius-2xl);background:var(--surface);display:grid;gap:10px;align-content:start;box-shadow:none}
.exam-phrase-box h3{font-size:16px;font-weight:900;margin:0;color:var(--ink)}
.exam-phrase-box ul{margin:0;padding-left:20px;display:grid;gap:8px;font-size:15px;line-height:1.7}

.exam-result-card{padding:22px 24px;border:1px solid var(--line);border-radius:14px;background:var(--light);display:grid;gap:16px;scroll-margin-top:100px}
.exam-result-card h2{font-size:21px;font-weight:900;margin:0;color:var(--ink)}
.exam-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.exam-result-cell{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);display:grid;gap:4px;font-variant-numeric:tabular-nums}
.exam-result-cell strong{font-size:20px;color:var(--ink)}
.exam-result-cell span{font-size:13px;color:var(--page-muted,var(--ink-muted))}
.exam-verdict{font-size:15px;font-weight:600;line-height:1.7;margin:0;color:var(--ink)}
.exam-next-links{display:flex;flex-wrap:wrap;gap:10px 16px}
.exam-next-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;color:var(--link)}

html[data-theme="dark"] .exam-choice.is-correct,html[data-theme="dark"] .exam-feedback.is-correct{background:#21372c;border-color:#4d8b6f;color:#c8eedb}
html[data-theme="dark"] .exam-choice.is-wrong,html[data-theme="dark"] .exam-feedback.is-wrong{background:#3e2729;border-color:#a56560;color:#f3c4bc}

@media(max-width:900px){
  .exam-toolbar{position:static}
  .exam-choices{grid-template-columns:1fr}
  .exam-level-grid,.exam-speaking-grid{grid-template-columns:1fr}
  .exam-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .exam-reading-box,.exam-cloze-box,.exam-q-card,.exam-writing-box,.exam-level-card,.exam-result-card{padding:16px}
  .exam-reading-box p,.exam-cloze-box p{font-size:17px}
}
/* Exam hub: a level workspace, with equal routes into both exam providers. */
.exam-prep-page{--exam-muted:var(--page-muted,var(--muted));padding-bottom:16px}
.exam-prep-hub-page .page-heading{margin-bottom:0;max-width:760px}
.exam-prep-hub-page .page-heading h1{font-size:clamp(32px,3.6vw,48px);line-height:1.13;letter-spacing:-.035em;text-wrap:balance;max-width:19ch;margin-bottom:18px}
.exam-prep-hub-page .page-heading p{font-size:17px;line-height:1.75;max-width:60ch;color:var(--exam-muted)}
.exam-prep-hub-page .book-breadcrumbs{font-size:13px}
.exam-hub{max-width:none;gap:52px;margin-top:24px}
.exam-hub [hidden]{display:none!important}
.exam-hub :is(h2,h3,h4){color:var(--ink);letter-spacing:-.02em;text-wrap:balance}
.exam-hub h2{font-size:25px;line-height:1.3;margin:0 0 10px}
.exam-hub p{font-size:15px;line-height:1.75;margin:0;color:var(--exam-muted)}
.exam-hub a{text-underline-offset:4px}
.exam-hub svg{flex-shrink:0}
.exam-hub :is(a,summary,[role='tabpanel']):focus-visible,.exam-shell :is(a,button,summary,input):focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.exam-hub ::selection{background:var(--accent);color:var(--paper)}
.exam-hub-nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px 28px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:-12px}
.exam-hub-nav a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13px;font-weight:600;color:var(--ink);text-decoration:none}
.exam-hub-nav a:first-child{color:var(--link)}
.exam-hub-nav a:hover{text-decoration:underline}
.exam-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
.exam-section-heading>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;line-height:1.6;font-weight:600;max-width:190px;flex-shrink:0}
.exam-level-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--line)}
.exam-level-picker a{display:grid;align-content:start;gap:5px;min-height:80px;padding:14px 18px;color:var(--exam-muted);text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px}
.exam-level-picker a:hover{background:var(--light)}
.exam-level-picker strong{font-size:22px;line-height:1.2;color:var(--ink)}
.exam-level-picker span{font-size:13px;line-height:1.4}
.exam-level-picker [aria-selected='true']{background:var(--light);border-color:var(--accent);color:var(--ink)}
.exam-level-picker [aria-selected='true'] strong{color:var(--ink)}
.exam-level-panel{padding-top:26px;scroll-margin-top:90px}
.exam-level-panel+.exam-level-panel{margin-top:32px;border-top:1px solid var(--line)}
.exam-level-panel[role='tabpanel']{margin-top:0;border-top:0}
.exam-panel-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.exam-panel-intro h3{font-size:21px;line-height:1.35;margin:0 0 8px}
.exam-panel-intro p{max-width:60ch}
.exam-session-time{font-size:13px;font-variant-numeric:tabular-nums;color:var(--exam-muted);white-space:nowrap;padding-top:5px}
.exam-session-start{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:24px 26px;background:var(--light);border-radius:14px}
.exam-session-start strong{font-size:17px;color:var(--ink);display:block;margin-bottom:7px}
.exam-session-start p{max-width:58ch}
.exam-hub .primary{display:inline-flex;align-items:center;justify-content:center;gap:16px;flex-shrink:0;min-height:48px;padding:12px 18px;font-size:14px;text-decoration:none;border-radius:14px}
.exam-hub .exam-hub-score{margin-top:8px;color:var(--ink);font-size:13px;font-weight:600}
.exam-skill-heading{font-size:14px;margin:26px 0 8px}
.exam-skill-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.exam-skill-link{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:18px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.exam-skill-link>div{display:grid;gap:5px}
.exam-skill-link strong{font-size:15px;font-weight:650}
.exam-skill-link strong span{font-size:13px;color:var(--exam-muted);font-weight:400;margin-left:6px}
.exam-skill-link span{font-size:15px;line-height:1.6}
.exam-skill-link small{font-size:15px;color:var(--exam-muted);line-height:1.5}
.exam-skill-link>svg{color:var(--link)}
.exam-skill-link:hover strong{color:var(--link);text-decoration:underline}
.exam-hub .exam-practice-note{font-size:15px;line-height:1.8;margin:20px 0 26px;max-width:85ch}
.exam-official{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:24px 0;border-block:1px solid var(--line)}
.exam-official h4{font-size:15px;margin:0 0 7px}
.exam-official a,.exam-provider-grid a{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-weight:600;font-size:13px;margin-top:7px}
.exam-provider-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:26px}
.exam-provider-grid h3{font-size:23px;margin:0 0 15px}
.exam-provider-grid p+p{margin-top:14px}
.exam-hub .exam-booking-note{font-size:13px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);max-width:90ch}
.exam-study-routine{padding:28px;background:var(--light);border-radius:14px}
.exam-study-routine ol{list-style:none;counter-reset:prep;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:0;margin:24px 0 0}
.exam-study-routine li{counter-increment:prep}
.exam-study-routine li::before{content:counter(prep);display:block;color:var(--ink);font-size:24px;font-weight:600;margin-bottom:14px;font-variant-numeric:tabular-nums}
.exam-study-routine strong{font-size:15px;color:var(--ink);display:block;margin-bottom:8px}
.exam-faq details{border-bottom:1px solid var(--line);margin:0;padding:0}
.exam-faq summary{padding:18px 0;min-height:56px;cursor:pointer;font-size:15px;font-weight:600;color:var(--ink);line-height:1.65}
.exam-faq details p{padding:0 0 20px;max-width:74ch}
.exam-practice,.exam-guide,.exam-faq{scroll-margin-top:90px}
.exam-shell .exam-lead{font-size:14px;color:var(--exam-muted)}
.exam-shell textarea{caret-color:var(--ink)}
@media(max-width:1100px){.exam-session-start{align-items:flex-start;flex-direction:column;gap:18px}.exam-section-heading{align-items:flex-start;flex-direction:column;gap:6px}.exam-section-heading>a{max-width:none}.exam-panel-intro{flex-direction:column;gap:8px}.exam-session-time{padding-top:0}}
@media(max-width:600px){.exam-hub{gap:36px}.exam-prep-hub-page .page-heading h1{font-size:34px}.exam-prep-hub-page .page-heading p{font-size:15px}.exam-hub h2{font-size:23px}.exam-hub-nav{column-gap:18px;row-gap:0;padding-bottom:16px}.exam-hub-nav a{font-size:13px}.exam-hub-nav a:first-child{width:100%}.exam-level-picker a{padding:14px 8px;min-height:78px}.exam-level-picker strong{font-size:21px}.exam-level-picker span{font-size:13px}.exam-skill-list,.exam-official,.exam-provider-grid,.exam-study-routine ol{grid-template-columns:1fr}.exam-session-start{padding:20px}.exam-session-start .primary{width:100%}.exam-official{gap:20px}.exam-provider-grid{gap:28px}.exam-study-routine{padding:22px}.exam-study-routine ol{gap:24px}.exam-study-routine li{padding-left:36px;position:relative}.exam-study-routine li::before{position:absolute;left:0;top:-3px;font-size:21px}.exam-hub .exam-practice-note{font-size:13px}.exam-prep-page .book-breadcrumbs{gap:6px}}
/* Official sources and selected provider tasks inherit the exam hub's visual system. */
.exam-bank-entry{display:grid;gap:7px;margin-bottom:20px!important;padding:18px 0;border-block:1px solid var(--line)}
.exam-bank-entry>a{font-weight:650;font-size:16px;min-height:44px;display:inline-flex;align-items:center}
.exam-bank-entry>span{font-size:13px;color:var(--exam-muted)}
.exam-source-list{list-style:none;padding:0;margin:8px 0}
.exam-source-list li{margin:0}
.exam-source-list a{margin:0;display:inline-flex;min-height:44px}
.exam-source-list a span{font-size:13px;font-weight:400}
.exam-official>section{min-width:0}
.exam-official>section>a{display:flex}
.official-bank{gap:20px;max-width:920px}
.official-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px;background:var(--light);border-radius:14px}
.official-filters label{display:grid;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
.official-filters select{min-height:48px;min-width:0;width:100%;border:2px solid var(--border);border-radius:8px;padding:10px;background:var(--paper);color:var(--ink);font:inherit}
.official-task{border-bottom:1px solid var(--line);margin:0!important;padding:0!important}
.official-task>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;cursor:pointer;color:var(--ink);min-height:80px}
.official-task>summary>span:first-child{display:grid;gap:6px}
.official-task>summary strong{font-size:13px;font-weight:650;color:var(--ink)}
.official-task>summary span>span{font-size:16px;font-weight:600;line-height:1.5}
.official-task>summary small{font-size:15px;font-weight:400;color:var(--exam-muted);line-height:1.6}
.official-task>summary>span:last-child{font-size:13px;flex-shrink:0;color:var(--exam-muted)}
.official-task>summary::after{content:'+';font-size:24px;color:var(--ink);flex-shrink:0}
.official-task[open]>summary::after{content:'−'}
.official-task-body{display:grid;gap:18px;padding:0 0 28px}
.official-bank .official-source{font-size:15px;line-height:1.8}
.official-prompt{font-size:17px;line-height:1.8;color:var(--ink)}
.official-bank .official-prompt p{font-size:17px;color:var(--ink);margin-bottom:12px}
.official-prompt ul{padding-left:22px;margin:12px 0}
.official-prompt li{margin:8px 0}
.official-task-body label{font-size:14px;font-weight:600}
.official-choices{display:flex;gap:12px}
.official-choices button{min-height:48px;padding:12px 24px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}
.official-choices button:hover,.official-choices button[aria-pressed='true']{background:var(--light);border-color:var(--accent)}
.official-bank :is(button,select):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.official-bank textarea{caret-color:var(--ink)}
@media(max-width:600px){.official-filters{grid-template-columns:1fr;padding:18px;gap:14px}.official-task>summary{gap:12px}.official-task>summary>span:last-child{display:none}.official-task>summary span>span{font-size:15px}}

/* Guided preparation: one entry point, then a focused mobile answer sheet. */
.exam-is-active>.page-heading{display:none}
.exam-hub-new{max-width:960px;gap:56px}
.exam-hub-new :is(button,a,summary){-webkit-tap-highlight-color:transparent}
.exam-hub-new :is(button,a,summary):focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.exam-hub-new :is(h2,h3)[tabindex='-1']{scroll-margin-top:110px}
.exam-hub-new p{font-size:15px;line-height:1.7;max-width:72ch}
.exam-hub-new button{font-family:inherit}
.exam-hub-new button:disabled{cursor:default;opacity:.48}
.hub-intro{display:grid;grid-template-columns:1fr 1fr;column-gap:52px;row-gap:10px;align-items:start;padding-bottom:8px}
.hub-intro .hub-prepare{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:56px;max-width:360px;text-decoration:none;font-size:16px;padding:15px 22px;border-radius:14px;color:var(--on-color)}
.hub-intro>p{font-size:15px}
.hub-intro>a:last-child{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--link)}
.hub-intro-note{grid-column:2;grid-row:1/4;align-self:center;max-width:45ch}
.hub-intro-note strong{display:block;font-size:18px;margin-bottom:8px;letter-spacing:-.02em}
.hub-browse{display:grid;gap:52px}
.hub-library{margin:24px 0 18px;border-top:1px solid var(--line)}
.hub-library>details{border-bottom:1px solid var(--line);padding:0;margin:0}
.hub-library>details>summary{min-height:68px;display:flex;gap:20px;align-items:center;cursor:pointer;padding:12px 4px;color:var(--ink)}
.hub-library>details>summary strong{font-size:23px;letter-spacing:-.02em;min-width:46px}
.hub-library>details>summary span{font-size:14px;color:var(--exam-muted)}
.hub-library>details>summary::after{content:'+';margin-left:auto;font-size:24px;color:var(--ink)}
.hub-library>details[open]>summary::after{content:'−'}
.hub-source-list{list-style:none;padding:0;margin:0}
.hub-source-list li{display:grid;grid-template-columns:1fr auto;gap:4px 20px;padding:20px 4px;border-top:1px solid var(--line);font-size:15px;line-height:1.6;min-width:0}
.hub-source-list li>span{grid-column:1/-1}
.hub-source-list a{display:inline-flex;align-items:center;gap:8px;color:var(--link);min-height:44px}
.exam-hub-new .hub-provenance{font-size:13px;margin:14px 0;color:var(--exam-muted)}
.hub-browse>section>a{display:inline-flex;align-items:center;gap:10px;min-height:48px;color:var(--link);font-size:14px}
.hub-text-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;background:none;border:0;color:var(--link);font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;text-align:start}
.hub-setup{max-width:640px;display:grid;grid-template-columns:auto 1fr;gap:12px;padding-bottom:32px}
.hub-setup>*{grid-column:1/-1}
.hub-setup>[data-hub-overview-button]{grid-column:1}
.hub-setup>[data-hub-step]{grid-column:2;font-size:13px;align-self:center;justify-self:end;color:var(--ink);font-weight:600}
.exam-hub-new #hub-setup-title{scroll-margin-top:176px}
.hub-setup h2{font-size:32px;max-width:22ch;margin:0}
.hub-options{display:grid;gap:12px;margin-top:16px}
.hub-options button{min-height:64px;text-align:start;padding:17px 20px;border:2px solid var(--border);border-radius:14px;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.6;font-weight:550;cursor:pointer}
.hub-options button:is(:hover,.is-selected){border-color:var(--accent);background:var(--light)}
.hub-options button:last-child[data-hub-option='unknown']{font-size:14px;color:var(--exam-muted)}
.hub-step-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;font-size:13px}
.hub-step-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--link)}
.hub-workspace{display:grid;gap:28px;min-width:0}
.hub-workspace-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;padding-bottom:22px;border-bottom:1px solid var(--line)}
.hub-workspace-heading h2{font-size:32px;margin:0}
.hub-workspace-heading p{font-size:15px;margin-top:5px}
.hub-workspace h3{font-size:20px;margin:0 0 10px}
.hub-section-list{margin-top:24px;border-top:1px solid var(--line)}
.hub-section-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.hub-section-row strong{display:flex;align-items:baseline;gap:14px;font-size:19px;font-weight:600}
.hub-section-count{font-size:13px;font-weight:400;color:var(--exam-muted)}
.hub-section-row p{font-size:15px;margin-top:6px}
.hub-section-row button{min-height:48px;flex-shrink:0;min-width:135px;border-color:var(--accent);color:var(--ink)}
.hub-more{display:flex;flex-wrap:wrap;gap:4px 24px;margin:20px 0!important}
.hub-more a{display:inline-flex;align-items:center;min-height:44px;color:var(--link);font-size:14px}
.hub-answer-sheet{max-width:760px;min-width:0}
.hub-answer-sheet>[data-hub-section-name]{margin:8px 0 18px;font-size:25px}
.hub-source-details{margin:0 0 28px;padding:16px 20px;background:var(--light);border-radius:14px}
.hub-source-details>summary{cursor:pointer;min-height:44px;font-size:14px;color:var(--ink);font-weight:600;align-content:center}
.hub-source-details p{font-size:15px;margin:10px 0}
.hub-source-actions{display:flex;flex-wrap:wrap;gap:4px 24px}
.hub-source-actions a{display:inline-flex;align-items:center;min-height:48px;color:var(--link);font-size:14px;font-weight:600}
.hub-source-details small{display:block;overflow-wrap:anywhere;color:var(--exam-muted);font-size:13px}
.hub-answer-sheet progress{appearance:none;display:block;width:100%;height:5px;margin:12px 0 28px;border:0;border-radius:4px;overflow:hidden;background:var(--line);color:var(--ink)}
.hub-answer-sheet progress::-webkit-progress-bar{background:var(--line)}
.hub-answer-sheet progress::-webkit-progress-value{background:var(--accent)}
.hub-answer-sheet progress::-moz-progress-bar{background:var(--accent)}
.hub-answer-count,.hub-question-heading>span{font-size:13px!important;font-variant-numeric:tabular-nums;color:var(--exam-muted)}
.hub-question-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.hub-question-heading h3{font-size:23px;margin-bottom:8px}
.hub-page-reference{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--ink)}
.hub-answer-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(60px,1fr));gap:10px;margin:22px 0 6px}
.hub-answer-options button{min-height:56px;padding:12px 8px;border:2px solid var(--border);border-radius:14px;background:var(--paper);color:var(--ink);font-size:18px;cursor:pointer}
.hub-answer-options button:hover{border-color:var(--accent);background:var(--light)}
.hub-answer-options button[aria-pressed='true']{background:var(--accent);border-color:var(--accent);color:var(--on-color);font-weight:650}
.hub-question-nav{display:flex;justify-content:space-between;gap:20px;margin:14px 0 24px}
.hub-question-nav button{min-width:110px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:18px}
.hub-question-jump{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px 0;margin:0 0 24px}
.hub-question-jump summary,.hub-matched-sources summary{min-height:48px;align-content:center;cursor:pointer;font-size:14px;font-weight:600}
.hub-question-jump [data-hub-jump]{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;margin:10px 0 18px}
.hub-question-jump button{min-height:44px;min-width:44px;background:var(--paper);border:1px solid var(--line);border-radius:8px;color:var(--ink);cursor:pointer;font-variant-numeric:tabular-nums}
.hub-question-jump button.is-answered{background:var(--light);border-color:var(--accent)}
.hub-question-jump button[aria-current]{outline:2px solid var(--focus);outline-offset:1px}
.hub-check{display:flex;align-items:center;justify-content:space-between;gap:20px}
.hub-check p{font-size:15px;max-width:35ch}
.hub-check button{min-height:50px;padding:12px 22px;flex-shrink:0;border-radius:14px;font-size:14px;cursor:pointer}
.hub-review{display:grid;gap:16px}
.hub-review h3{font-size:26px;margin-bottom:0}
.hub-review .hub-result{font-size:24px;color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums}
.hub-review a{display:inline-flex;align-items:center;min-height:48px;color:var(--link);font-size:14px}
.hub-review .book-table-scroll{margin:0}
.hub-review table{min-width:0;width:100%;border-collapse:collapse;font-size:15px;line-height:1.65}
.hub-review :is(th,td){padding:12px 8px;text-align:start;border-bottom:1px solid var(--line)}
.hub-review thead th{font-size:13px;color:var(--exam-muted);font-weight:500}
.hub-review caption{text-align:start;padding:12px 0;font-size:13px}
.hub-review .hub-missed{background:var(--light)}
.hub-review button{justify-self:start;min-height:48px}
.exam-hub-new .hub-storage{font-size:13px;padding-top:12px;border-top:1px solid var(--line)}
.hub-matched-sources{margin:0}
@media(max-width:640px){
  .exam-prep-hub-page .page-heading h1{font-size:38px;max-width:17ch}
  .exam-hub-new{gap:40px;margin-top:24px}
  .hub-intro{grid-template-columns:1fr;gap:10px;padding-bottom:0}
  .hub-intro .hub-prepare{max-width:none;width:100%;font-size:15px;box-sizing:border-box}
  .hub-intro-note{grid-column:1;grid-row:auto;margin-top:20px}
  .hub-intro-note p{font-size:15px}
  .hub-intro>a:last-child{margin-top:4px}
  .hub-browse{gap:40px}
  .hub-source-list li{grid-template-columns:1fr;gap:0;padding:18px 0}
  .hub-source-list li>span{grid-column:auto}
  .hub-source-list a{font-size:13px}
  .hub-workspace-heading{flex-direction:column;gap:0;padding-bottom:16px}
  .hub-workspace-heading>.hub-text-button{font-size:13px}
  .hub-workspace-heading h2,.hub-setup h2{font-size:28px}
  .hub-options button{font-size:15px;min-height:64px;padding:16px}
  .hub-section-row{align-items:stretch;flex-direction:column;gap:14px;padding:20px 0}
  .hub-section-row button{align-self:stretch;text-align:center}
  .hub-section-row strong{justify-content:space-between;font-size:20px}
  .hub-workspace{gap:24px}
  .hub-source-details{padding:12px 16px;margin-bottom:24px}
  .hub-source-actions{gap:0;flex-direction:column;align-items:start}
  .hub-question-heading h3{font-size:21px}
  .hub-answer-options{grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:8px}
  .hub-check{align-items:stretch;flex-direction:column;gap:14px}
  .hub-check p{max-width:none}
  .hub-check button{width:100%}
  .hub-step-nav{flex-wrap:wrap;gap:4px 16px}
}
@media(prefers-reduced-motion:no-preference){.hub-options button{transition:background-color .16s ease-out,border-color .16s ease-out}.hub-answer-options button{transition:border-color .16s ease-out}}

/* Original content stays with the question; recordings are ours, never provider audio. */
.hub-task-content{margin:22px 0 28px}
.hub-task-content h4{font-size:19px;line-height:1.5;margin:0 0 12px}
.hub-passage{padding:20px 24px;background:var(--light);border-radius:14px;max-width:72ch}
.exam-hub-new .hub-passage p,.practice-bank .hub-passage p{font-size:17px;line-height:1.85;color:var(--ink);margin:0 0 16px}
.hub-passage p:last-child{margin-bottom:0!important}
.hub-question-stem{font-size:18px;line-height:1.65;color:var(--ink);font-weight:600;scroll-margin-top:160px}
.hub-answer-options.has-text-options{grid-template-columns:1fr;gap:12px;margin-top:18px}
.hub-answer-options.has-text-options button{text-align:start;padding:15px 18px;font-size:16px;line-height:1.65;min-height:56px}
.hub-task-content audio,.practice-bank audio{display:block;width:100%;max-width:600px;margin:12px 0 18px}
.exam-hub-new .hub-audio-label{font-size:13px}
.hub-transcript{padding:6px 0;border-block:1px solid var(--line)}
.hub-transcript summary{cursor:pointer;min-height:44px;align-content:center;font-size:14px;color:var(--ink)}
.hub-transcript p{font-size:16px;color:var(--ink);margin:12px 0}
.hub-answer-explanations{margin-top:16px}
.hub-answer-explanations>details{border-bottom:1px solid var(--line);padding:12px 0}
.hub-answer-explanations summary{min-height:48px;align-content:center;cursor:pointer;font-size:15px;line-height:1.7}
.hub-answer-explanations p{margin:12px 0;font-size:15px}
.hub-answer-explanations blockquote{margin:12px 0;padding:12px 16px;background:var(--light);border-radius:8px;font-size:15px;line-height:1.75}
.hub-review table{table-layout:fixed}
.hub-review th:first-child{width:16%}
.hub-review td{overflow-wrap:anywhere;font-size:13px}
.practice-bank .primary{display:inline-flex;align-items:center;min-height:48px;padding:10px 18px;color:var(--on-color);text-decoration:none}
.practice-library-set{border-bottom:1px solid var(--line);margin:0!important;padding:0!important}
.practice-library-set>summary{display:grid;gap:6px;min-height:88px;padding:18px 0;cursor:pointer}
.practice-library-set>summary>span,.practice-library-set>summary>small{font-size:13px;color:var(--exam-muted)}
.practice-library-set>summary>strong{font-size:19px;line-height:1.5}
.practice-library-block{padding:18px 0}
.practice-library-block h3{font-size:21px;margin:12px 0}
.practice-library-question{padding:18px 0;border-bottom:1px solid var(--line)}
.practice-library-question h4{font-size:17px;line-height:1.7;margin:0 0 12px}
.practice-library-question li,.practice-library-question p{font-size:16px;line-height:1.8}
.practice-library-question summary{min-height:44px;align-content:center;cursor:pointer;font-size:14px;color:var(--ink)}
@media(max-width:640px){.hub-passage{padding:18px 16px}.exam-hub-new .hub-passage p,.practice-bank .hub-passage p{font-size:16px;line-height:1.85}.hub-question-stem{font-size:17px}.hub-answer-options.has-text-options button{font-size:15px}.hub-review :is(th,td){padding:12px 5px}.hub-review thead th{font-size:13px}}
/* Exam Prep in the Heute look: heavy headings, tinted panels, card rows and full-height controls. */
.exam-hub-new :is(h2,h3){font-weight:900;letter-spacing:-.025em}
.hub-intro{column-gap:var(--space-8);align-items:center}
.hub-intro .hub-prepare{justify-content:space-between;min-height:var(--control-height);max-width:420px;padding:0 22px;border-radius:var(--radius-lg);font-size:18px}
.hub-intro-note{max-width:none;padding:22px 26px;border-radius:var(--radius-2xl);background:var(--surface)}
.hub-intro-note strong{font-size:20px;font-weight:900;letter-spacing:-.02em}
.hub-intro>a:last-child,.hub-browse>section>a,.hub-more a,.hub-source-list a,.hub-step-nav a{font-size:15px;font-weight:700}
.hub-browse{gap:var(--space-12)}
#official-library{padding:26px;border-radius:var(--radius-2xl);background:var(--surface)}
.hub-library{display:grid;gap:var(--space-2);margin:var(--space-5) 0 var(--space-3);border-top:0}
.hub-library>details{padding:0 var(--space-5);border:0;border-radius:var(--radius-md);background:var(--bg)}
.hub-library>details>summary{padding:12px 0}
.hub-library>details>summary strong{font-size:24px;font-weight:900}
.hub-library>details>summary span{font-size:15px}
.hub-source-list li{padding:var(--space-4) 0}
.exam-provider-grid{gap:var(--space-3);margin-top:var(--space-5)}
.exam-provider-grid>section{padding:22px 26px;border-radius:var(--radius-xl);background:var(--surface)}
.exam-provider-grid h3{font-size:22px;margin:0 0 var(--space-3)}
.exam-provider-grid a{font-size:15px;font-weight:700}
.exam-guide>p{margin-top:var(--space-4)}
.exam-hub .partner-resources{margin:0;padding:26px;border:0;border-radius:var(--radius-2xl);background:var(--surface)}
.exam-hub .partner-resources-head h2{font-size:25px}
.exam-hub .partner-card{padding:var(--space-5);border:0}
.exam-hub .partner-category{font-size:13px;letter-spacing:0;text-transform:none;color:var(--ink-muted)}
.exam-hub .partner-card h3{font-size:19px}
.exam-hub .partner-card p{font-size:15px}
.exam-hub .partner-cta{min-height:var(--tap-min);font-size:15px}
.exam-faq h2{margin-bottom:var(--space-4)}
.exam-faq details{margin:0 0 var(--space-2);padding:0 var(--space-5);border:0;border-radius:var(--radius-md);background:var(--surface)}
.exam-faq summary{padding:14px 0;font-size:17px;font-weight:700;line-height:1.4}
.hub-setup h2{font-size:clamp(28px,3.6vw,38px);line-height:1.1;letter-spacing:-.03em}
.hub-options button{min-height:var(--control-height);border-radius:var(--radius-md);font-size:17px;font-weight:700;line-height:1.35}
.hub-options button:hover{border-color:var(--ink);background:var(--surface)}
.hub-options button.is-selected{border-color:var(--accent);background:var(--accent);color:var(--on-color)}
.hub-workspace-heading{padding-bottom:0;border-bottom:0}
.hub-workspace-heading h2{font-size:clamp(32px,4vw,44px);line-height:1.06;letter-spacing:-.035em}
.hub-workspace h3{font-size:22px}
.hub-section-list{display:grid;gap:var(--space-2);margin-top:var(--space-5);border-top:0}
.hub-section-row{padding:var(--space-5) 22px;border:0;border-radius:var(--radius-xl);background:var(--surface)}
.hub-section-row strong{font-size:20px;font-weight:900;letter-spacing:-.02em}
.hub-section-row button{min-height:52px;padding:0 var(--space-5);border:2px solid var(--accent);border-radius:var(--radius-md);background:var(--accent);color:var(--on-color);font-size:16px;font-weight:700}
.hub-section-row button:hover{background:var(--ink-muted);border-color:var(--ink-muted)}
.hub-answer-options button{min-height:var(--control-height);border-radius:var(--radius-md);font-weight:700}
.hub-answer-options button:hover{border-color:var(--ink);background:var(--surface)}
.hub-check button,.hub-question-nav button{border-radius:var(--radius-md);font-size:16px;font-weight:700}
.exam-hub-new .hub-storage{border-top:0;padding-top:0}
@media(max-width:760px){.hub-intro-note,#official-library,.exam-provider-grid>section,.exam-hub .partner-resources{padding:var(--space-5)}.hub-intro .hub-prepare{max-width:none}.hub-section-row{flex-direction:column;align-items:stretch;gap:var(--space-3)}.hub-section-row button{width:100%}}
/* Level practice pages share the hub's look: a large title, the German passage in the reading panel, and tinted cards without hairlines. */
.exam-prep-page .page-heading h1{font-size:clamp(30px,4vw,44px);line-height:1.08;letter-spacing:-.035em;overflow-wrap:anywhere}
.exam-prep-page:not(.exam-prep-hub-page) .page-heading p{font-size:17px;line-height:1.6}
.exam-part>h2{font-size:26px;letter-spacing:-.025em}
.exam-reading-box,.exam-cloze-box,.hub-passage{border:0;border-radius:var(--radius-xl);background:var(--das-soft)}
.exam-toolbar{border-radius:var(--radius-xl)}
.exam-toolbar-btn,.exam-jump-nav a{border:0;border-radius:var(--radius-md);background:var(--surface);font-size:15px;font-weight:700}
.exam-toolbar-btn:hover,.exam-jump-nav a:hover{background:var(--line)}
.exam-rubric-item{border:0;border-radius:var(--radius-md);background:var(--bg)}
.exam-result-card{border:0;border-radius:var(--radius-2xl);background:var(--surface)}
.exam-result-card h2{font-size:26px;letter-spacing:-.025em}
