/* Morrow question sets — colours match the portal's Direction B register (approved 2026-08-30;
   source of truth: apps/web/lib/brandConfig.ts in the morrow repo).
   Type: Switzer throughout, the "Morrow." wordmark included. The wordmark matches morrowcounsel.com
   (Switzer 600, -0.05em, round red dot); no Bodoni or any serif, at Paul's direction (2026-10-15).
   Colour discipline: red is the wordmark dot and errors only; everything else is ink/graphite on near-white. */
@font-face{font-family:"Switzer";src:url("/fonts/switzer-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Switzer";src:url("/fonts/switzer-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Switzer";src:url("/fonts/switzer-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}

:root{
  --ground:#F6F6F7; --surface:#FFFFFF; --hair:#E4E5E9; --rule:#AEB0B7;
  --ink:#111214; --graphite:#4B4E55; --muted:#63676F;
  --red:#E41613; --red-text:#C41411;
  --radius:8px; --radius-btn:7px;
  --sans:"Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --ground:#111214; --surface:#1A1B1E; --hair:#2A2C31; --rule:#4B4E55;
  --ink:#F1F1F3; --graphite:#C3C5CB; --muted:#9A9DA5; --red:#FF4A3D; --red-text:#FF6B5E; color-scheme:dark }}
:root[data-theme="dark"]{
  --ground:#111214; --surface:#1A1B1E; --hair:#2A2C31; --rule:#4B4E55;
  --ink:#F1F1F3; --graphite:#C3C5CB; --muted:#9A9DA5; --red:#FF4A3D; --red-text:#FF6B5E; color-scheme:dark }

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.55;
  font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;
  padding-left:max(16px, env(safe-area-inset-left, 0px));padding-right:max(16px, env(safe-area-inset-right, 0px));padding-block:20px 64px}
.wrap{max-width:760px;margin:0 auto;display:grid;gap:24px}

header{display:grid;gap:10px;border-bottom:1px solid var(--hair);padding-bottom:20px}
/* Same wordmark as morrowcounsel.com: the period is drawn as a round red dot (the text "." stays for copy/paste). */
.mark{font-weight:600;font-size:28px;letter-spacing:-.05em;line-height:1;color:var(--ink);margin-bottom:10px;white-space:nowrap}
.mark span{color:transparent;background:var(--red);display:inline-block;width:.135em;height:.135em;border-radius:50%;margin-left:.035em;overflow:hidden}
.eyebrow{font-size:12.5px;font-weight:600;color:var(--muted)}
h1{font-weight:600;font-size:26px;line-height:1.2;margin:0;text-wrap:balance;letter-spacing:-.015em}
.lede{margin:0;max-width:64ch;color:var(--graphite)}
.respondents{font-size:13px;color:var(--muted)}

.banner,.status{font-size:14px;padding:10px 14px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--hair)}
.status{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.status img{width:22px;height:22px;border-radius:50%}
.banner.ok{border-color:var(--rule)}
.banner.warn,.status.warn{border-color:var(--rule);box-shadow:inset 3px 0 0 var(--graphite)}

.namefield{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
input[type=text],textarea{font:inherit;font-size:14px;color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:var(--radius);padding:6px 8px}
input.blank{width:7.5em;padding:2px 6px;margin:0 2px}
textarea.blank.wide{display:block;width:100%;min-height:52px;margin:6px 0 0;resize:vertical}
input:focus-visible,textarea:focus-visible,button:focus-visible,label.opt:focus-within{outline:2px solid var(--ink);outline-offset:2px}

ol.decisions{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.dec{display:grid;grid-template-columns:2.2em 1fr;gap:6px 12px}
.num{font-weight:600;font-size:15px;color:var(--muted);padding-top:1px}
.body{min-width:0;display:grid;gap:8px}
.top{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.top h2{font-size:16px;font-weight:600;margin:0;letter-spacing:-.005em}
.ref{font-size:12.5px;color:var(--muted)}
.opts{display:grid;gap:6px}
label.opt{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;padding:10px 12px;border:1px solid var(--hair);border-radius:var(--radius);background:var(--surface);cursor:pointer}
label.opt:hover{border-color:var(--rule)}
label.opt input[type=radio],label.opt input[type=checkbox]{margin:4px 0 0;accent-color:var(--ink)}
label.opt.sel{border-color:var(--ink);box-shadow:inset 3px 0 0 var(--ink)}
label.opt.addon{border-style:dashed}
.badge{display:inline-block;font-size:11px;font-weight:600;color:var(--graphite);background:var(--hair);border-radius:4px;padding:1px 6px;margin-right:6px;vertical-align:1px}
.fillrow{display:flex;gap:10px;flex-wrap:wrap;font-size:14px}
.fillrow label{display:flex;gap:6px;align-items:center}
details.note summary{font-size:13px;color:var(--muted);cursor:pointer}
details.note textarea{width:100%;min-height:56px;margin-top:6px}

section.settled{border-top:1px solid var(--hair);padding-top:18px}
section h3{font-size:12.5px;font-weight:600;color:var(--muted);margin:0 0 10px}
section.settled ul{margin:0;padding-left:1.2em;display:grid;gap:4px;font-size:14px;color:var(--graphite)}

.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;position:sticky;bottom:0;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));background:var(--ground);border-top:1px solid var(--hair)}
button{font-family:var(--sans);font-size:14px;font-weight:600;border-radius:var(--radius-btn);padding:9px 14px;cursor:pointer;border:1px solid var(--rule);background:var(--surface);color:var(--ink)}
button:hover{border-color:var(--ink)}
button.primary{background:var(--ink);border-color:var(--ink);color:var(--ground)}
button[disabled]{opacity:.5;cursor:default}
.msg{font-size:14px;color:var(--muted)}
.msg.ok{color:var(--ink)}
.msg.err{color:var(--red-text)}
textarea#copybox{width:100%;min-height:160px;font-family:ui-monospace,Menlo,monospace;font-size:12px}

.responses{display:grid;gap:12px}
.resp{border:1px solid var(--hair);border-radius:var(--radius);background:var(--surface);padding:12px 14px;display:grid;gap:6px;font-size:14px}
.resp .who{display:flex;gap:8px;align-items:center;font-weight:600}
.resp .who img{width:22px;height:22px;border-radius:50%}
.resp .when{font-weight:400;color:var(--muted);font-size:12px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{border-radius:999px;padding:2px 9px;font-size:12px;background:var(--hair);color:var(--graphite)}
.chip.chg{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.resp ul{margin:0;padding-left:1.1em;display:grid;gap:3px}
.empty{font-size:14px;color:var(--muted)}
footer{font-size:12px;color:var(--muted);border-top:1px solid var(--hair);padding-top:14px}

@media (max-width:480px){.dec{grid-template-columns:1fr}.num{padding:0}h1{font-size:22px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
textarea.answer{width:100%;min-height:96px;font-size:15px;line-height:1.5}
