/* Round 61 exam tools (exam-tools.js). Uses the site's own colour and type tokens. */
.exam-tool { margin: 18px 0 24px; }
.et-box { max-width: var(--measure, 68ch); padding: 16px 18px; border: 1px solid var(--accent); border-radius: var(--r, 10px); background: var(--paper); }
.et-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 16px; }
.et-field label, .et-essay > label { display: block; margin-bottom: 4px; font-family: var(--f-ui); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.et-field input, .et-field select, .et-essay textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; font: inherit; border: 1px solid var(--field-rule, var(--rule)); border-radius: 8px; background: var(--bg, transparent); color: inherit; }
.et-essay textarea { min-height: 220px; line-height: 1.5; }
.et-out { margin-top: 14px; }
.et-row { margin: 6px 0; font-family: var(--f-ui); }
.et-good strong { color: var(--good); }
.et-bad strong { color: var(--bad); }
.et-verdict { margin: 10px 0 0; font-weight: 600; }
.et-note { margin: 10px 0 0; font-size: .88rem; color: var(--ink-2); }
.et-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 0; }
.et-btn { font: inherit; font-family: var(--f-ui); font-weight: 600; padding: 9px 14px; border: 1px solid var(--accent); border-radius: 99px; background: transparent; color: var(--accent); cursor: pointer; }
.et-actions button.cta { border: 0; cursor: pointer; font: inherit; font-family: var(--f-ui); font-weight: 600; }
.et-btn:focus-visible, .et-actions .cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.et-qn { margin: 12px 0 0; font-family: var(--f-ui); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.et-status { margin: 6px 0 0; font-family: var(--f-ui); font-size: 1.15rem; font-weight: 700; }
.et-live { color: var(--accent); }
.et-qtext { margin: 8px 0 0; }
.et-qtext summary { cursor: pointer; font-family: var(--f-ui); font-size: .85rem; color: var(--ink-2); }
.et-stage audio { display: block; width: 100%; max-width: 420px; margin: 12px 0 0; }
.et-check { margin: 14px 0 0; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 8px; }
.et-check legend { padding: 0 6px; font-family: var(--f-ui); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.et-check label { display: block; margin: 6px 0; font-size: .95rem; }
.et-count { margin: 8px 0 0; font-family: var(--f-ui); font-size: .9rem; font-weight: 600; }
.et-clock { font-family: var(--f-ui); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .et-box { padding: 14px; } }
/* Tables on the round-61 pages stack into cards on phones (header text comes from data-label). */
@media (max-width: 600px) {
  main table:not(.packs), main table:not(.packs) tbody, main table:not(.packs) tr, main table:not(.packs) td, main table:not(.packs) th[scope=row] { display: block; width: 100%; box-sizing: border-box; }
  main table:not(.packs) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  main table:not(.packs) tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  main table:not(.packs) td, main table:not(.packs) th[scope=row] { border: 0; padding: 2px 0; text-align: left; }
  main table:not(.packs) tr > :first-child { font-weight: 700; }
  main table:not(.packs) td[data-label]::before { content: attr(data-label) ": "; font-family: var(--f-ui); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
}
