/* gateway-v2/assets/exams.css — Stockertim Exams (17 Nov 2026). On top of lifeuk.css (the shared test UI). Design system tokens
   (st-tokens.css): gold --st-accent (#ffcf5e on dark, #7a5600 on light via :root[data-theme="light"]), golden-black .st-btn with
   white text. Mobile first; tap targets 44 px or more; inputs 16 px; no horizontal scroll. */
.exm-body .luk-lk { min-width: 0; }
.exm-body .luk-lk-tag { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
.exm-why { margin: 14px 0 0; max-width: 70ch; color: var(--st-ink-2); font-size: 16px; }
.exm-why b { color: var(--st-ink); }

/* the hub's exam cards (also "more free practice tests") */
.exm-cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 700px) { .exm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .exm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.exm-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--st-rule-2, rgba(255,255,255,.18)); border-radius: 14px; background: var(--st-card, #0d1322); min-width: 0; }
.exm-card h3 { margin: 0; font: 700 20px/1.25 var(--st-serif, Georgia, serif); }
.exm-card h3 a { color: var(--st-ink); text-decoration: none; }
.exm-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--st-accent); }
.exm-card p { margin: 0; color: var(--st-ink-2); }
.exm-card p:last-child { margin-top: auto; padding-top: 6px; }
.exm-card-k { font: 700 12px/1.2 var(--st-ui, Inter, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--st-accent) !important; }
.exm-card-f { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--st-ink-3); }
.exm-card-f b { color: var(--st-ink); font-variant-numeric: tabular-nums; }
.exm-card .st-btn { min-height: 44px; }

/* callouts: which US test applies; the values questions that must all be right */
.exm-callout { border: 1px solid var(--st-rule-2, rgba(255,255,255,.18)); border-left: 4px solid var(--st-accent); border-radius: 12px; padding: 16px 18px; background: var(--st-card, #0d1322); }
.exm-callout h2 { margin-top: 0; }
.exm-callout p { color: var(--st-ink-2); }
p.exm-callout { margin: 16px 0; }
.exm-w { font: 600 13px var(--st-ui, Inter, sans-serif); color: var(--st-ink-3); margin-left: 6px; white-space: nowrap; }
.exm-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--st-accent); color: var(--st-accent); font: 700 11.5px/1.5 var(--st-ui, Inter, sans-serif); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.exm-ref { font-size: 13.5px; color: var(--st-ink-3); }
.exm-ans, .exm-check { font-size: 15px; color: var(--st-ink-2); }
.exm-check { font-style: italic; }

/* your streak and readiness on an exam's home */
.exm-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; margin: 0 auto 8px; max-width: var(--st-container, 1280px); padding: 12px var(--st-gutter, 16px); border-top: 1px solid var(--st-rule); border-bottom: 1px solid var(--st-rule); }
.exm-mine p { margin: 0; color: var(--st-ink-2); }
.exm-mine b { color: var(--st-ink); }
.exm-mine .st-link { min-height: 44px; display: inline-flex; align-items: center; }
.exm-ready { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.exm-ready h2 { margin: 0 0 4px; }
.exm-ready p { margin: 0; color: var(--st-ink-2); max-width: 60ch; }
#exmProg h2 { margin: 18px 0 8px; font: 700 22px/1.2 var(--st-serif); }
.exm-must { font-weight: 600; }
.exm-must.ok { color: var(--st-up, #2fd17e); }
.exm-must.no { color: var(--st-dn, #ff5c77); }
.exm-only { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: 6px; cursor: pointer; color: var(--st-ink); }
.exm-only input { width: 20px; height: 20px; accent-color: var(--st-accent); }
.luk-rq.exm-u { opacity: .7; border-style: dashed; }

/* the US state picker and the state answers table */
.exm-statebar { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; max-width: 520px; }
.exm-statebar label { font: 600 14px var(--st-ui, Inter, sans-serif); color: var(--st-ink-2); }
.exm-select { font: 400 16px var(--st-ui, Inter, sans-serif); min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--st-control-line, rgba(255,255,255,.3)); background: var(--st-card, #0d1322); color: var(--st-ink); width: 100%; max-width: 100%; }
.exm-select:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 2px; }
.exm-mystate { margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--st-accent); background: var(--st-card, #0d1322); max-width: 520px; }
.exm-mystate h2 { margin: 0 0 8px; font: 700 20px/1.2 var(--st-serif); }
.exm-mystate dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 8px; }
.exm-mystate dt { color: var(--st-ink-3); }
.exm-mystate dd { margin: 0; color: var(--st-ink); font-weight: 600; }
.exm-mystate p { margin: 0; color: var(--st-ink-2); font-size: 14px; }
.exm-tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.exm-sttbl { min-width: 560px; }
.exm-sttbl tr.is-mine th, .exm-sttbl tr.is-mine td { background: color-mix(in srgb, var(--st-accent) 14%, transparent); }
.exm-srcl { font-size: 13px; margin-left: 6px; }
.exm-upcoming { margin-top: 14px; }
.exm-upcoming summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--st-ink); font-weight: 600; }

/* related Learn lessons and Dictionary entries (SIE) */
.exm-links { display: grid; gap: 12px 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .exm-links { grid-template-columns: 1fr 1fr; } }
.exm-links h3 { margin: 0 0 6px; font: 700 16px var(--st-ui, Inter, sans-serif); }
.exm-links ul { margin: 0; padding-left: 18px; }
.exm-links li { margin: 4px 0; }
.exm-links a { display: inline-block; padding: 6px 0; }

:root[data-theme="light"] .exm-card, :root[data-theme="light"] .exm-callout, :root[data-theme="light"] .exm-mystate, :root[data-theme="light"] .exm-select { background: #fff; }
:root[data-theme="light"] .exm-card { border-color: rgba(17,21,29,.18); }
:root[data-theme="light"] .exm-card-k, :root[data-theme="light"] .exm-badge { color: #7a5600 !important; border-color: #7a5600; }
:root[data-theme="light"] .exm-must.ok { color: #137333; }
:root[data-theme="light"] .exm-must.no { color: #a50e0e; }
.exm-srcl, .exm-links a, .exm-mine .st-link { color: var(--st-accent); }

/* 20 Nov 2026: a short passage above a question (IELTS reading texts and listening transcripts), the practice-questions line
   under the player, and an exam body's trade mark notice inside the independence notice. */
.exm-pass { margin: 0 0 14px; padding: 14px 16px; border-left: 3px solid var(--st-accent, #ffcf5e); border-radius: 0 10px 10px 0; background: var(--st-surface-2, rgba(255,255,255,.04)); font: 400 15.5px/1.6 var(--st-ui); color: var(--st-ink); white-space: pre-line; }
.luk-q .exm-pass { margin: 0 0 10px; font-size: 15px; }
.exm-pnote { margin: 4px auto 18px; max-width: 760px; padding: 0 16px; font-size: 12.5px; color: var(--st-ink-3); text-align: center; }
.exm-tm { display: block; margin-top: 6px; font-size: 12.5px; color: var(--st-ink-3); }
