
  :root {
    color-scheme: light;
    font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
    --ink: #142c41;
    --muted: #4d6273;
    --accent: #076160;
    --line: #d6e0e6;
    --background: #f2f6f8;
  }
  *, *::before, *::after { box-sizing: border-box; }
  body { margin: 0; background: var(--background); color: var(--ink); }
  a { color: var(--accent); text-underline-offset: .18em; }
  a:hover { text-decoration-thickness: .15em; }
  :focus-visible { outline: 3px solid #0a7775; outline-offset: 4px; }
  .top { border-bottom: 1px solid var(--line); background: #fff; }
  .shell { width: min(100% - 2.5rem, 67rem); margin-inline: auto; }
  .top .shell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: .95rem; gap: .4rem 1rem; }
  .brand { font-weight: 750; color: #163c55; }
  .back { font-size: .9rem; font-weight: 650; }
  main { padding-block: clamp(1.8rem, 5vw, 3.6rem); }
  .narrow, .candidate .shell { max-width: 47rem; }
  h1, h2, h3, p { margin-block: 0; }
  h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.03; letter-spacing: -.045em; overflow-wrap: anywhere; }
  h2 { font-size: 1.28rem; letter-spacing: -.018em; }
  h3 { font-size: 1rem; }
  .intro > p { margin-top: .65rem; max-width: 43rem; }
  .intro, .section { margin-bottom: 1.5rem; }
  .muted, time { color: var(--muted); }
  .small { font-size: .9rem; }
  .panel { background: #fff; padding: clamp(1rem, 3vw, 1.55rem); border: 1px solid var(--line); border-radius: .95rem; }
  .panel > * + *, .stack > * + * { margin-top: .8rem; }
  .columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
  .guide { background: #e8f3f2; border-color: #ccdfdf; }
  .label { display: block; font-size: .92rem; font-weight: 700; margin-bottom: .25rem; }
  input[type="text"] { width: 100%; font: inherit; color: var(--ink); border: 1px solid #9bafba; border-radius: .45rem; padding: .58rem .7rem; }
  button, .button { font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; padding: .5rem .95rem; border: 1px solid var(--accent); border-radius: .5rem; background: var(--accent); color: #fff; text-decoration: none; }
  button:hover, .button:hover { background: #064f50; }
  button:disabled { opacity: .6; cursor: default; }
  .secondary { border-color: var(--line); background: #fff; color: var(--accent); }
  .secondary:hover { background: #e8f3f2; }
  .compact { min-height: 2.2rem; font-size: .88rem; padding: .25rem .68rem; }
  .actions { display: flex; flex-wrap: wrap; gap: .5rem .85rem; align-items: center; }
  .notice { padding: .7rem .85rem; background: #e5f3f0; color: #12433f; border-radius: .45rem; }
  .error { background: #fbecec; color: #85252b; }
  .cards { list-style: none; padding: 0; margin-block: .85rem 0; }
  .record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, auto) auto; gap: .7rem 1rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line); }
  .record > *, .stat { min-width: 0; overflow-wrap: anywhere; }
  .chip { display: inline-block; border-radius: .35rem; background: #edf1f5; color: #374f63; padding: .18rem .52rem; font-size: .82rem; font-weight: 700; }
  .chip.submitted { color: #115a4f; background: #dcf1eb; }
  .chip.invited { color: #1b4c77; background: #e2eef8; }
  .record .actions { justify-content: end; }
  .muted-link { margin-top: .75rem; }
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1.25rem; }
  .stat { border: 1px solid var(--line); border-radius: .55rem; padding: .65rem .75rem; background: #fff; line-height: 1.35; }
  .stat strong { display: block; font-size: 1.27rem; margin-top: .18rem; }
  .review { margin-top: .75rem; }
  .review .eyebrow { font-size: .8rem; font-weight: 720; color: var(--muted); }
  .review strong { font-weight: 700; }
  .question { min-width: 0; margin: 0 0 .9rem; padding-top: .6rem; }
  .question legend { max-width: 100%; padding: 0 .36rem; font-weight: 700; overflow-wrap: anywhere; }
  .choices { display: grid; gap: .32rem; }
  .choice { display: flex; align-items: baseline; gap: .65rem; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid transparent; border-radius: .48rem; cursor: pointer; }
  .choice:hover { background: #f2f6f8; }
  .choice:has(:checked) { background: #e8f3f2; border-color: #80b1ac; }
  .choice input { accent-color: var(--accent); margin-inline: 0; }
  .clear { display: inline; border: 0; background: transparent; color: var(--accent); text-align: left; padding: 0; min-height: 2rem; font-size: .86rem; text-decoration: underline; }
  .clear:hover { color: #064f50; background: transparent; }
  .progress { font-weight: 650; }
  [hidden] { display: none !important; }
  @media (max-width: 40rem) {
    .shell { width: calc(100% - 1.5rem); }
    .columns { grid-template-columns: 1fr; }
    .record { grid-template-columns: minmax(0, 1fr) auto; }
    .record .actions { grid-column: 1 / -1; justify-content: start; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
