:root { color-scheme: light; --blue:#2d45d8; --ink:#182441; --muted:#53617c; --line:#dce2ee; --surface:#f3f5fa; font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:16px; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--surface); line-height:1.5; }
button,input,select { font:inherit; }
button { cursor:pointer; }
a { color:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #7690ff; outline-offset:3px; }
[hidden] { display:none !important; }
.topbar { background:#fff; border-bottom:1px solid var(--line); }
.topbar-inner { max-width:1060px; margin:auto; padding:20px 28px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; font-size:1.05rem; }
.brand-mark { display:grid; place-items:center; background:var(--blue); color:#fff; width:36px; height:36px; border-radius:10px; font-weight:800; }
main { max-width:1060px; margin:auto; padding:28px 28px 48px; }
.test-banner { padding:12px 16px; background:#e9edff; border-left:3px solid var(--blue); color:#293ca5; font-size:.875rem; margin-bottom:30px; }
.page-heading { display:flex; justify-content:space-between; align-items:end; gap:28px; margin-bottom:26px; }
.eyebrow { font-size:.75rem; font-weight:700; letter-spacing:.1em; color:var(--blue); margin:0 0 8px; }
h1 { font-size:clamp(1.6rem,3vw,2rem); line-height:1.25; letter-spacing:-.035em; margin:0; font-weight:650; }
h2 { font-size:1.125rem; line-height:1.4; margin:0 0 12px; }
.time-note { color:var(--muted); font-size:.875rem; margin:0; flex-shrink:0; }
.identity { background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px; }
.identity-fields { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
label { display:flex; flex-direction:column; gap:7px; font-size:.875rem; font-weight:600; }
input { min-width:0; width:100%; border:1px solid #c3cce0; border-radius:7px; padding:12px; background:#fff; color:var(--ink); font-weight:400; }
input::placeholder { color:#6d7890; }
.progress-summary { display:flex; justify-content:space-between; color:var(--muted); font-size:.875rem; margin:24px 0 8px; }
progress { display:block; width:100%; height:6px; border:0; border-radius:9px; overflow:hidden; background:#dbe1ef; }
progress::-webkit-progress-bar { background:#dbe1ef; }
progress::-webkit-progress-value { background:var(--blue); transition:width .15s; }
progress::-moz-progress-bar { background:var(--blue); }
.tabs { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:26px; }
.tab { border:1px solid var(--line); background:#e9edf5; padding:17px 20px; border-radius:10px 10px 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--muted); text-align:left; font-weight:700; }
.tab[aria-selected="true"] { color:var(--blue); background:#fff; border-top:3px solid var(--blue); padding-top:15px; border-bottom-color:#fff; }
.tab-caption { font-size:.875rem; font-weight:400; }
.tab-count { margin-left:auto; font-size:.875rem; font-weight:500; }
.instructions { background:#fff; border:1px solid var(--line); padding:24px; border-radius:0 0 12px 12px; margin-top:-1px; }
.instructions p { max-width:740px; color:var(--muted); margin:0 0 16px; }
.rank-key { display:flex; gap:28px; flex-wrap:wrap; padding:12px 0 16px; }
.rank-key span { display:flex; align-items:center; gap:10px; font-size:.875rem; }
.rank-key strong { display:grid; place-items:center; width:30px; height:30px; border-radius:6px; border:1px solid #bac5ff; color:var(--blue); background:#eff2ff; }
.instructions .instruction-detail { font-size:.875rem; margin:0; }
.question-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:22px; }
.question-card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px; scroll-margin-top:20px; }
.question-card.complete { border-color:#aab7f4; }
.question-card.needs-attention { border-color:#d13749; box-shadow:0 0 0 1px #d13749; }
.group-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.group-heading h3 { margin:0; font-size:.875rem; font-weight:600; }
.group-heading h3 span { color:var(--blue); font-weight:750; font-variant-numeric:tabular-nums; margin-right:6px; }
.group-status { color:var(--muted); font-size:.75rem; }
.complete .group-status { color:#2943bc; }
.word-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:9px 0; border-top:1px solid #edf0f6; }
.word-help { display:flex; align-items:center; gap:8px; min-width:0; text-align:left; border:0; background:transparent; color:var(--ink); padding:3px 0; font-size:.9375rem; text-transform:lowercase; }
.word-help:first-letter { text-transform:uppercase; }
.help-icon { border:1px solid #bac4d9; border-radius:50%; width:16px; height:16px; font-size:.75rem; color:var(--muted); line-height:14px; text-align:center; flex-shrink:0; }
select { width:74px; flex-shrink:0; border:1px solid #c3cce0; background:#fff; color:var(--ink); border-radius:7px; padding:8px; min-height:40px; }
select:has(option:checked[value=""]) { color:var(--muted); }
.button { display:inline-flex; justify-content:center; align-items:center; padding:11px 18px; border:1px solid transparent; border-radius:8px; font-size:.875rem; font-weight:600; min-height:44px; }
.button-primary { background:var(--blue); color:#fff; }
.button-primary:hover { background:#2238b8; }
.button-quiet { background:#fff; border-color:var(--line); color:var(--ink); }
.button-quiet:hover { background:#edf0f9; }
.panel-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:26px 0; color:var(--muted); font-size:.875rem; }
.validation-message { border-left:3px solid #c23446; background:#ffedf0; color:#8c2031; padding:16px; border-radius:6px; }
.completion { display:flex; gap:16px; border:1px solid #aab7f4; border-radius:12px; padding:24px; background:#fff; }
.completion p { color:var(--muted); margin:8px 0 0; }
.completion-icon { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:50%; background:#e9edff; color:var(--blue); font-size:1.25rem; }
footer { text-align:center; margin-top:24px; font-size:.875rem; color:var(--muted); }
footer span { display:inline-block; font-size:.75rem; margin-top:6px; }
dialog { max-width:600px; width:calc(100% - 32px); max-height:85vh; border:0; border-radius:16px; padding:28px; color:var(--ink); box-shadow:0 25px 80px #17244140; }
dialog::backdrop { background:#101d3c80; }
.dialog-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.close-button { border:0; background:#edf0f7; border-radius:8px; font-size:1.5rem; color:var(--muted); width:40px; height:40px; }
.dictionary-results { max-height:48vh; overflow:auto; margin-top:18px; }
.dictionary-entry { padding:15px 0; border-top:1px solid var(--line); }
.dictionary-entry h3 { margin:0 0 4px; font-size:1rem; }
.dictionary-entry p { margin:6px 0 0; }
.dictionary-entry .synonym { color:var(--muted); font-size:.875rem; }
@media(max-width:680px) { .topbar-inner { padding:16px; } main { padding:20px 16px 32px; } .page-heading { display:block; } .time-note { margin-top:12px; } .identity { padding:20px; } .identity-fields,.question-grid { grid-template-columns:1fr; } .tab { padding:14px 12px; gap:4px; } .tab[aria-selected="true"] { padding-top:12px; } .tab-caption { width:100%; order:3; font-size:.875rem; } .instructions { padding:20px; } .rank-key { gap:12px; } .panel-actions { flex-wrap:wrap; } .panel-actions .button-primary { margin-left:auto; } dialog { padding:22px; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto !important; transition:none !important; } }
