:root{
  --paper:#EDF0EE; --surface:#F8FAF9; --ink:#15191B; --muted:#586266; --rule:#CCD4D1;
  --accent:#2C7563; --accent-strong:#276A59; --accent-ink:#F3F8F6; --accent-soft:#DCEBE5; --warn:#8A5A12; --warn-soft:#F4E9D3;
  --opp:#8A3B2E; --opp-soft:#F3E1DC;
  --focus:#1F5FBF;
  --display:"Young Serif", Georgia, "Times New Roman", serif;
  --body:"Spectral", Georgia, "Times New Roman", serif;
  --ui:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#111416; --surface:#181D1F; --ink:#E4E9E7; --muted:#9AA5A7; --rule:#2B3336;
    --accent:#62B59E; --accent-strong:#62B59E; --accent-ink:#0E1614; --accent-soft:#1B3029; --warn:#E3B566; --warn-soft:#33291A;
    --opp:#E39A8B; --opp-soft:#35211D; --focus:#7FA8FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"]{
  --paper:#111416; --surface:#181D1F; --ink:#E4E9E7; --muted:#9AA5A7; --rule:#2B3336;
  --accent:#62B59E; --accent-strong:#62B59E; --accent-ink:#0E1614; --accent-soft:#1B3029; --warn:#E3B566; --warn-soft:#33291A;
  --opp:#E39A8B; --opp-soft:#35211D; --focus:#7FA8FF;
  color-scheme: dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper); color:var(--ink); font-family:var(--ui); font-size:15px; line-height:1.5; margin:0; padding-inline:16px; padding-block:0 48px; overflow-x:hidden}
.wrap{max-width:720px; margin:0 auto}
.banner{max-width:720px; margin:12px auto 0; font-size:12.5px; color:var(--muted); display:flex; gap:12px; flex-wrap:wrap; justify-content:space-between; align-items:center; border-bottom:1px solid var(--rule); padding-block:8px}
.banner .actions{display:flex; gap:14px}
.banner button{font:inherit; color:var(--accent); background:none; border:0; padding:4px 2px; min-height:32px; cursor:pointer; text-decoration:underline}
header.site{display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-block:18px 10px}
.wordmark{font-family:var(--display); font-size:28px; letter-spacing:.01em; color:var(--ink); text-decoration:none}
.wordmark small{font-family:var(--ui); font-size:12px; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; margin-left:10px}
h1,h2,h3{font-family:var(--display); font-weight:400; text-wrap:balance; margin:0}
h1{font-size:clamp(28px,5vw,40px); line-height:1.12}
h2{font-size:24px; line-height:1.2}
h3{font-size:19px; line-height:1.25}
h1:focus,h2:focus,h3:focus{outline:none}
p{margin:0}
a{color:var(--accent)}
.stack{display:flex; flex-direction:column; gap:16px}
.stack-sm{display:flex; flex-direction:column; gap:8px}
.stack-lg{display:flex; flex-direction:column; gap:28px}
.lede{font-family:var(--body); font-size:19px; line-height:1.55; max-width:62ch}
.prose{font-family:var(--body); font-size:18px; line-height:1.65; max-width:66ch}
.muted{color:var(--muted)}
.small{font-size:13px}
.label{font-size:11.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); font-weight:600}
.card{background:var(--surface); border:1px solid var(--rule); border-radius:10px; padding:20px}
.btnrow{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
button.primary,button.secondary{font:600 15px/1 var(--ui); border-radius:8px; padding:13px 18px; cursor:pointer; border:1px solid var(--accent)}
button.primary{background:var(--accent); color:var(--accent-ink)}
button.secondary{background:transparent; color:var(--accent)}
button.primary:disabled,button.secondary:disabled{opacity:.45; cursor:not-allowed}
button.link{font:inherit; color:var(--accent); background:none; border:0; padding:4px 2px; min-height:32px; cursor:pointer; text-decoration:underline}
button.small{font-size:13px; padding:8px 12px}
:focus-visible{outline:3px solid var(--focus); outline-offset:2px}
input[type=email],input[type=text],input[type=password]{font:16px var(--ui); color:var(--ink); background:var(--surface); border:1px solid var(--rule); border-radius:8px; padding:12px 14px; width:100%; max-width:420px}
.field{display:flex; flex-direction:column; gap:6px}
fieldset{border:0; padding:0; margin:0; min-width:0}
.icon{vertical-align:-3px; margin-right:4px}
.check{display:flex; gap:10px; align-items:flex-start}
.check input{margin-top:4px; width:18px; height:18px; accent-color:var(--accent); flex:none}
.alert{border-left:3px solid var(--warn); background:var(--warn-soft); color:var(--ink); padding:10px 12px; border-radius:6px; font-size:14px}
.note{border-left:3px solid var(--accent); background:var(--accent-soft); padding:10px 12px; border-radius:6px; font-size:14px}
.stepbar{display:flex; gap:6px; flex-wrap:wrap; margin-block:6px 22px; font-size:12.5px; padding:0; list-style:none}
.stepbar li{padding:5px 10px; border-radius:999px; border:1px solid var(--rule); color:var(--muted); background:var(--surface)}
.stepbar li.on{border-color:var(--accent); color:var(--ink); background:var(--accent-soft)}
.stepbar li.done{color:var(--accent)}
.facts{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px}
.fact{border-top:2px solid var(--accent); padding-top:8px}
.fact b{display:block; font-size:20px; font-family:var(--display); font-weight:400}
.roles{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px}
.role{padding:14px; border:1px solid var(--rule); border-radius:10px; background:var(--surface)}
.role b{font-family:var(--display); font-weight:400; font-size:18px; display:block}
progress{appearance:none; -webkit-appearance:none; width:100%; height:6px; border:0; border-radius:3px; background:var(--rule); overflow:hidden}
progress::-webkit-progress-bar{background:var(--rule); border-radius:3px}
progress::-webkit-progress-value{background:var(--accent); border-radius:3px}
progress::-moz-progress-bar{background:var(--accent); border-radius:3px}
.statement{font-family:var(--body); font-size:clamp(19px,3vw,23px); line-height:1.45}
.options{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.option{display:flex; gap:10px; align-items:flex-start; padding:14px 16px; border:1px solid var(--rule); border-radius:10px; background:var(--surface)}
.option p{margin:0; line-height:1.45}
.optkey{flex:none; font:600 13px/1 var(--ui); width:26px; height:26px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--ink); color:var(--ink)}
.scale{display:grid; grid-template-columns:repeat(7,1fr); gap:6px}
.scale button{font:500 13px/1.25 var(--ui); padding:12px 4px; border-radius:8px; border:1px solid var(--rule); background:var(--surface); color:var(--ink); cursor:pointer; min-height:62px}
.scale button[aria-pressed=true]{background:var(--accent); color:var(--accent-ink); border-color:var(--accent)}
.scale button .n{display:block; font-size:12px; color:inherit; opacity:.7; font-variant-numeric:tabular-nums}
.scalelabels{display:flex; justify-content:space-between; font-size:12px; color:var(--muted)}
@media (max-width:520px){ .options{grid-template-columns:1fr} .scale{grid-template-columns:1fr} .scale button{min-height:44px; text-align:left; padding-inline:14px; display:flex; justify-content:space-between} .scalelabels{display:none} }
.opt{display:flex; gap:10px; align-items:flex-start; padding:12px 14px; border:1px solid var(--rule); border-radius:10px; background:var(--surface); cursor:pointer}
.tag{display:inline-block; font-size:11px; letter-spacing:.06em; text-transform:uppercase; padding:2px 7px; border-radius:999px; background:var(--warn-soft); color:var(--warn); margin-left:6px; vertical-align:1px; font-weight:600}
.opt input{margin-top:4px; width:18px; height:18px; accent-color:var(--accent); flex:none}
.tag.aligned{background:var(--accent-soft); color:var(--accent-strong); margin-left:0}
.tag.opposed{background:var(--opp-soft); color:var(--opp); margin-left:0}
.tag.plain{background:var(--paper); color:var(--muted); border:1px solid var(--rule)}
.topics{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:8px}
.axes{display:flex; flex-direction:column; gap:10px}
.axis{display:grid; grid-template-columns:minmax(120px,1.2fr) minmax(80px,1fr) minmax(100px,2fr) minmax(80px,1fr); gap:4px 10px; align-items:center; font-size:13px}
.axis .name{font-weight:600}
.axis .p0{color:var(--muted); text-align:right}
.axis .p1{color:var(--muted)}
.axis svg{width:100%; height:14px; display:block; overflow:visible}
.axis .track{fill:var(--rule)}
.axis .fill{fill:var(--accent)}
.axis .mid{fill:var(--muted); opacity:.5}
@media (max-width:560px){ .axis{grid-template-columns:1fr 1fr} .axis .name{grid-column:1 / -1} .axis svg{grid-column:1 / -1; order:3} .axis .p0{text-align:left; order:4} .axis .p1{text-align:right; order:5} }
.pitch{display:flex; flex-direction:column; gap:12px}
.pitch .when{display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-variant-numeric:tabular-nums}
.pitch .when b{font-size:14px}
.pitch .opening{font-family:var(--body); font-size:17px; line-height:1.6}
.pitch .item{font-size:13.5px; border-left:3px solid var(--accent); padding-left:10px; display:flex; flex-direction:column; gap:4px}
.pitch .why{font-size:13.5px}
.pitch .others{border-top:1px solid var(--rule); padding-top:10px; display:flex; flex-direction:column; gap:10px}
.pitch .alt{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.pitch .alt button{white-space:nowrap; flex:none}
.pitch:focus{outline:none}
@media (max-width:420px){ .pitch .alt{flex-direction:column; align-items:stretch} .pitch .alt button{align-self:flex-start} }
.thumbs{display:flex; gap:6px}
.thumbs button{font:500 13px/1 var(--ui); padding:8px 10px; border-radius:8px; border:1px solid var(--rule); background:var(--surface); color:var(--ink); cursor:pointer}
.thumbs button[aria-pressed=true]{background:var(--accent); border-color:var(--accent); color:var(--accent-ink)}
.skeleton{color:var(--muted); font-style:italic}
.disclose{font-size:13px; color:var(--muted); font-style:italic}
.article .dl{font-size:13.5px; color:var(--muted); font-style:italic; border-bottom:1px solid var(--rule); padding-bottom:10px}
.article .body p + p{margin-top:1em}
.article .sources{font-size:14px; display:flex; flex-direction:column; gap:6px}
.article .sources ul{margin:0; padding-left:18px}
.status{font-size:13.5px; color:var(--muted)}
.hint{font-size:13px; color:var(--muted)}
[hidden]{display:none !important}
#toNext{align-self:flex-start; justify-self:start}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
.hide-sm{display:inline}
@media (max-width:520px){ .hide-sm{display:none} }
footer.site{margin-top:40px; border-top:1px solid var(--rule); padding-top:12px}
@media (max-width:560px){ .banner button,button.link{min-height:44px; padding-inline:6px} .banner .actions{gap:8px} }
@media (prefers-reduced-motion: no-preference){ #app > *{animation:rise .25s ease-out} @keyframes rise{from{opacity:.001; transform:translateY(4px)} to{opacity:1; transform:none}} }
/* v3.1: the suggested thinkers, the reader's own list, "Add someone else", and the pitch's question at stake */
.addbox{gap:12px}
.addbox #rlist:empty{display:none}
.addbox #tshown:empty{display:none}
.trow .who button.link{min-height:0; padding:0 2px}
select{font:16px var(--ui); color:var(--ink); background:var(--surface); border:1px solid var(--rule); border-radius:8px; padding:11px 12px; width:100%}
.tlist{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule)}
.trow{display:flex; gap:12px; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--rule)}
.trow .who{min-width:0}
.marks{display:flex; gap:6px; flex:none}
.marks button{font:500 14px/1 var(--ui); min-height:44px; min-width:72px; padding:8px 12px; border-radius:8px; border:1px solid var(--rule); background:var(--surface); color:var(--ink); cursor:pointer}
.marks button[data-mark=like][aria-pressed=true]{background:var(--accent); color:var(--accent-ink); border-color:var(--accent)}
.marks button[data-mark=dislike][aria-pressed=true]{background:var(--opp); color:var(--paper); border-color:var(--opp)}
.sticky{position:sticky; bottom:0; background:var(--paper); padding:12px 0; border-top:1px solid var(--rule); align-items:center}
/* Keep a focused control clear of the sticky bar (about 70px tall, 120px when it wraps on a phone). */
html:has(.sticky){scroll-padding-bottom:92px}
@media (max-width:560px){ html:has(.sticky){scroll-padding-bottom:144px} }
.pitch .stake p{margin:4px 0 0; font-family:var(--body); font-size:17px}
.pitch .stake .small{font-family:var(--ui); font-size:13.5px}
.near{margin:0; padding-left:20px}
@media (max-width:520px){ .trow{flex-direction:column; align-items:stretch} .marks button{flex:1} }
/* "Your essays, by email" on the results page */
.subcard{display:flex; flex-direction:column; gap:12px; padding:24px; border-radius:16px; background:var(--surface); border:1px solid var(--accent); box-shadow:0 1px 0 var(--rule)}
.subcard .kicker{font:600 12px/1.2 var(--ui); letter-spacing:.09em; text-transform:uppercase; color:var(--accent)}
.subcard h2{font-size:clamp(22px,3.4vw,28px)}
.subcard.sent{border-color:var(--accent); background:var(--accent-soft)}
.subcard:focus{outline:none}
.subrow{display:flex; gap:10px; flex-wrap:wrap}
.subrow input{flex:1 1 240px; font:400 16px/1.2 var(--ui); padding:13px 14px; border-radius:8px; border:1px solid var(--rule); background:var(--paper); color:var(--ink); min-width:0}
.subrow input:focus{outline:2px solid var(--focus); outline-offset:1px}
.subcard .link{font-size:inherit}
