:root {
  --ink: #122d50; --sub: #4c627d; --paper: #f5f7fa; --white: #fff;
  --line: #ccd7e4; --teal: #0f3b78; --surface: #e8f2fc; --dark: #0b2f5b;
  --mint: #7fd4ff; --warn: #8a3e28; --mono: "IBM Plex Mono", Menlo, monospace;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--teal); }
.frame { width: min(1176px, calc(100% - 64px)); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-inner, .brand, nav, footer, .row, .actions { display: flex; align-items: center; }
.top-inner, footer, .row { justify-content: space-between; gap: 16px; }
.brand { gap: 12px; color: var(--ink); font-weight: 750; letter-spacing: .025em; font-size: 19px; text-decoration: none; }
.mark { display: inline-flex; align-items: center; gap: 3px; background: var(--dark); padding: 7px; border-radius: 7px; }
.mark i { width: 4px; height: 10px; background: var(--mint); transform: skew(-13deg); }
.mark i:nth-child(2) { height: 19px; }
nav { gap: 28px; }
nav a { border-bottom: 3px solid transparent; padding: 22px 2px 18px; text-decoration: none; font-size: 14px; color: var(--sub); }
nav a[aria-current] { color: var(--teal); border-color: var(--teal); font-weight: bold; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--teal); color: #fff; padding: 10px 18px; border: 1px solid var(--teal); border-radius: 6px; font-weight: 650; cursor: pointer; text-decoration: none; min-height: 44px; }
button:hover, .btn:hover { filter: brightness(.93); text-decoration: none; }
.btn.alt, button.alt { color: var(--teal); background: #fff; border-color: var(--line); }
button:disabled { background: #e2e9e5; border-color: #cbd6d0; color: #55645e; cursor: default; filter: none; }
:focus-visible { outline: 3px solid #aa5300; outline-offset: 4px; }
.skip { position: absolute; top: -200px; background: white; padding: 10px; z-index: 5; }
.skip:focus { top: 4px; }
main { min-height: 73vh; padding-block: 33px 52px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 4.5vw, 53px); font-weight: 740; line-height: 1.25; letter-spacing: -.035em; }
h2 { font-size: clamp(21px, 2.8vw, 28px); line-height: 1.35; }
h3 { font-size: 18px; }
p { color: var(--sub); }
.hero { background: var(--dark); color: white; border-radius: 12px; display: grid; grid-template-columns: 1.55fr 1fr; overflow: hidden; }
.hero-copy { padding: clamp(26px, 4.6vw, 60px); align-self: center; }
.hero h1 { max-width: 18em; }
.hero p { margin: 16px 0 23px; color: #dae9f8; }
.hero .btn { background: var(--mint); border-color: var(--mint); color: var(--dark); }
.section { margin-top: 34px; }
.section-title { margin-bottom: 15px; }
.deck { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.panel { padding: 23px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.panel > p, .heading > p { margin-top: 7px; }
.panel a.text { display: inline-block; margin-top: 15px; font-weight: 650; }
.tag { display: inline-flex; line-height: 1.4; padding: 5px 10px; border-radius: 15px; color: #194c79; background: var(--surface); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; border-block: 1px solid var(--line); }
.stats > div { padding: 16px clamp(12px, 3vw, 36px); border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { color: var(--sub); font-size: 14px; }
.stats dd { margin: 4px 0 0; font: 600 33px/1.25 var(--mono); }
.heading { margin-block: 8px 25px; }
.heading h1 { font-size: clamp(30px, 4vw, 42px); }
.forms, .practice { display: grid; gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.practice { grid-template-columns: minmax(235px,1fr) minmax(0,1.9fr); align-items: start; }
form, .stack { display: grid; align-content: start; gap: 13px; }
label { display: block; font-size: 14px; font-weight: 640; }
label input, label select { margin-top: 4px; }
input, select { color: var(--ink); background: var(--white); border: 1px solid #9baaab; padding: 9px 11px; border-radius: 5px; width: 100%; min-height: 44px; }
.actions { gap: 10px; flex-wrap: wrap; }
.note { font-size: 14px; }
.error { color: var(--warn); }
.feedback:empty { display: none; }
.feedback { font-size: 14px; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 100%; font-size: 14px; text-align: left; }
caption { text-align: left; font-weight: 700; font-size: 19px; margin-bottom: 9px; }
th, td { padding: 11px 12px; border-bottom: 1px solid #e0e7ef; white-space: nowrap; }
th { background: #f1f5fa; font-size: 13px; color: var(--sub); }
td.empty { text-align: center; color: var(--sub); padding: 20px; }
.signal { display: grid; width: 100%; min-height: 235px; align-content: center; gap: 8px; background: var(--dark); color: white; border: 0; border-radius: 8px; font-size: 19px; }
.signal:hover { filter: none; }
.signal::before { content: ""; justify-self: center; width: 34px; height: 34px; border: 2px solid #8cbedc; border-radius: 50%; }
footer { border-top: 1px solid var(--line); padding-block: 22px; color: var(--sub); font-size: 13px; flex-wrap: wrap; }
@media(max-width: 740px) {
  .frame { width: calc(100% - 32px); }
  .top-inner { flex-wrap: wrap; gap: 3px; padding-top: 13px; }
  nav { gap: 22px; flex-wrap: wrap; }
  nav a { padding-block: 8px; }
  .hero { grid-template-columns: 1fr; }
  .deck, .forms, .practice { grid-template-columns: 1fr; }
  .panel { padding: 17px; }
  main { padding-block: 20px 37px; }
  .row { flex-wrap: wrap; }
}
.top { border-top: 4px solid var(--teal); }
.brand small { display:block; font-size:11px; font-weight:500; color:var(--sub); letter-spacing:.1em; }
.brand { padding-block:10px; }
.hero h1 { font-size:clamp(29px,3.9vw,49px); max-width:14em; }
.hero .kicker { display:inline-flex; align-items:center; gap:9px; color:#d8eaff; margin:0 0 15px; font-size:14px; }
.kicker::before { content:""; width:24px; height:3px; background:#e95157; }
.hero .btn { background:white; border-color:white; color:var(--teal); }
.hero .plain { color:white; font-weight:600; padding:8px; text-decoration:underline; text-underline-offset:4px; }
.view + .view { margin-top:0; }
.menu { display:flex; gap:8px; flex-wrap:wrap; margin-block:16px; }
.menu a { display:block; background:#fff; border:1px solid var(--line); color:var(--teal); text-decoration:none; padding:8px 13px; border-radius:5px; }
.menu a:hover,.menu a[aria-current] { background:var(--teal); color:white; }
.panel h2 { font-size:21px; }
.panel + .panel { margin-top:0; }
.deck a.panel { display:grid; align-content:start; text-decoration:none; border-top:3px solid var(--teal); color:var(--ink); }
.deck a.panel:hover { border-color:var(--teal); }
.subtitle { color:var(--teal); font-size:13px; font-weight:bold; letter-spacing:.07em; margin-bottom:4px; }
h2.section-title { padding-left:12px; border-left:4px solid #c91f24; }
.compact { margin:0; padding-left:21px; color:var(--sub); }
.block { margin-top:18px; }
form button { justify-self:start; }
select option { color:var(--ink); }
.accountbar { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:18px; }
.accountbar button { padding:4px 10px; min-height:34px; font-size:13px; }
button.small { padding:5px 10px; font-size:13px; min-height:36px; }
button.danger { color:#a00d17; background:#fff; border-color:#cfaeb1; }
.track-level { font:600 38px/1.3 var(--mono); color:var(--teal); }
details { border-bottom:1px solid var(--line); padding-block:9px; }
details summary { cursor:pointer; font-weight:600; }
.data-output { overflow-wrap:anywhere; }
input[type=checkbox] { width:17px; min-height:17px; margin:0 5px 0 0; vertical-align:middle; }
.exam-view .signal { cursor:default; }
@media(max-width:740px){ .brand { padding:0; } .top-inner { padding-top:9px; } }
.field-image { width:100%; height:100%; min-height:240px; object-fit:cover; display:block; }
.signal::before { display:none; }
.signal[data-shape=circle]::before,.signal[data-shape=square]::before { display:block; width:60px; height:60px; background:#fff; border:0; }
.signal[data-shape=square]::before { border-radius:0; }
@media(max-width:740px){ .field-image { height:125px; min-height:0; object-position:center 43%; } }
@media print {
  body { background:white; }
  .top,footer,nav,button,.skip,#verify .heading,#verify-form,#load-error { display:none!important; }
  #verification { margin:2cm auto; max-width:17cm; border:2px solid #0f3b78; padding:12px; }
  #verification .panel { padding:1cm; }
}

.signal { text-align:center; justify-items:center; }

.hero h1 span { display:block; }
@media(max-width:420px) { .hero-copy { padding:24px 18px; } .hero h1 { font-size:clamp(24px,7.3vw,29px); } }
