/* Layout: one narrow column like a case file; redaction bar is the single bold motif. */
:root{
  --paper:#f3f5f6; --sheet:#ffffff; --ink:#18232b; --muted:#56646e; --rule:#d5dce0;
  --accent:#0f6b6e; --accent-ink:#ffffff; --bar:#111a20;
  --ok:#2f7a3d; --warn:#9a5b00; --bad:#a3302a;
  --ok-bg:#e5f2e7; --warn-bg:#fbf0dc; --bad-bg:#f8e3e1;
  --display: "Charter","Bitstream Charter","Iowan Old Style","Georgia",serif;
  --body: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono: ui-monospace,"SF Mono","Cascadia Mono","Consolas","Menlo",monospace;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --paper:#0f1519; --sheet:#172026; --ink:#e4eaee; --muted:#9aa8b1; --rule:#2b3840;
  --accent:#4fb3b3; --accent-ink:#071415; --bar:#e4eaee;
  --ok:#7fca8b; --warn:#e0a94a; --bad:#ec8a82;
  --ok-bg:#16301c; --warn-bg:#33270f; --bad-bg:#3a1a18; color-scheme:dark}}
:root[data-theme="dark"]{
  --paper:#0f1519; --sheet:#172026; --ink:#e4eaee; --muted:#9aa8b1; --rule:#2b3840;
  --accent:#4fb3b3; --accent-ink:#071415; --bar:#e4eaee;
  --ok:#7fca8b; --warn:#e0a94a; --bad:#ec8a82;
  --ok-bg:#16301c; --warn-bg:#33270f; --bad-bg:#3a1a18; color-scheme:dark}

body{background:var(--paper);color:var(--ink);font:16px/1.55 var(--body);
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:28px 48px}
.wrap{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:28px}
h1,h2{font-family:var(--display);font-weight:700;text-wrap:balance;margin:0;line-height:1.15}
h1{font-size:clamp(2rem,6vw,2.8rem)}
h2{font-size:1.5rem}
h3{margin:0;font-size:1.05rem}
p{margin:0}
a{color:var(--accent)}
.muted{color:var(--muted)}
.small{font-size:.875rem}
.label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.redact{background:var(--bar);color:transparent;border-radius:2px;padding:0 .15em;user-select:none}
header{display:flex;flex-direction:column;gap:12px}
.lede{font-size:1.1rem;max-width:60ch}
.promise{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--rule);background:var(--sheet);border-radius:999px;padding:4px 12px;font-size:.85rem}
section{background:var(--sheet);border:1px solid var(--rule);border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:16px;min-width:0}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
input[type=password],input[type=text],input[type=date],select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:6px;padding:9px 11px;min-width:0}
#pw{flex:1 1 240px;font-family:var(--mono)}
button,.btn{font:inherit;font-weight:600;border-radius:6px;padding:9px 16px;cursor:pointer;border:1px solid var(--accent);text-decoration:none;display:inline-block}
.primary{background:var(--accent);color:var(--accent-ink)}
.ghost{background:transparent;color:var(--accent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.hash{font-family:var(--mono);font-size:.95rem;overflow-wrap:anywhere;background:var(--paper);border:1px dashed var(--rule);border-radius:6px;padding:10px 12px}
.hash .sent{background:var(--accent);color:var(--accent-ink);padding:0 2px;border-radius:2px}
.hash .kept{color:var(--muted)}
.result{border-radius:6px;padding:12px 14px;font-weight:600}
.result.ok{background:var(--ok-bg);color:var(--ok)}
.result.bad{background:var(--bad-bg);color:var(--bad)}
.result.warn{background:var(--warn-bg);color:var(--warn)}
.result p{font-weight:400;color:var(--ink);margin-top:4px}
.progress{display:flex;flex-direction:column;gap:6px}
.track{height:14px;background:var(--paper);border:1px solid var(--rule);border-radius:999px;overflow:hidden;display:flex}
.seg{height:100%;width:0;transition:width .3s}
.seg-removed,.dot-removed{background:var(--ok)}
.seg-sent,.dot-sent{background:var(--accent)}
.seg-not,.dot-not{background:var(--ok);opacity:.45}
.seg-listed,.dot-listed{background:var(--bad)}
.pct-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pct{font-family:var(--display);font-size:2.4rem;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.dot{display:inline-block;width:.7em;height:.7em;border-radius:50%;margin-right:6px;vertical-align:baseline}
.when{font-size:.8rem;color:var(--muted)}
.toplinks{display:flex;gap:16px;font-weight:600}
.faq{display:flex;flex-direction:column;gap:0}
.faq details{border-top:1px solid var(--rule);padding:14px 0}
.faq details:first-child{border-top:0}
.faq summary{cursor:pointer;font-weight:600;font-size:1.05rem}
.faq details p{margin-top:8px}
.faq details p+p{margin-top:8px}
.counts{display:flex;flex-wrap:wrap;gap:14px;font-variant-numeric:tabular-nums}
.brokers{display:flex;flex-direction:column;gap:0;list-style:none;margin:0;padding:0}
.broker{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:14px 0;border-top:1px solid var(--rule)}
.broker:first-child{border-top:0}
.broker .info{min-width:0;display:flex;flex-direction:column;gap:4px}
.broker .links{display:flex;gap:14px;font-size:.92rem}
.broker .ctl{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:170px}
.tag{font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--bad);margin-left:6px}
.flag{font-size:.8rem;font-weight:600;color:var(--warn)}
.st-listed .name{color:var(--bad)}
.st-removed .name,.st-not-listed .name{color:var(--ok)}
@media (max-width:560px){.broker{grid-template-columns:1fr}.broker .ctl{min-width:0;flex-direction:row;flex-wrap:wrap}.broker .ctl>*{flex:1 1 140px}}
.also{margin:0;padding-left:1.2em;display:flex;flex-direction:column;gap:8px}
.confirm{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.note{background:var(--warn-bg);border-radius:6px;padding:10px 14px}
.group-head{display:flex;flex-direction:column;gap:4px;margin-bottom:-14px}
.group{font-size:1.75rem}
footer{font-size:.85rem;color:var(--muted);display:flex;flex-direction:column;gap:6px}
@media (prefers-reduced-motion:reduce){.seg{transition:none}}
.drform{display:grid;gap:12px}
.fld{display:flex;flex-direction:column;gap:6px;min-width:0}
.pair{display:flex;flex-wrap:wrap;gap:8px}.pair input{flex:1 1 180px}
textarea{font:inherit;font-size:.92rem;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:6px;padding:10px 12px;width:100%;box-sizing:border-box;resize:vertical}
textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.btn[aria-disabled]{opacity:.55}
.keep{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--rule);padding-top:16px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.stcard{display:flex;flex-direction:column;gap:10px;border:1px solid var(--rule);border-left:4px solid var(--accent);border-radius:6px;padding:14px 16px;background:var(--paper)}
.toplinks{flex-wrap:wrap}
.map svg{width:100%;height:auto;display:block}
.map .tile{cursor:pointer}
.map .tile rect{stroke:var(--sheet);stroke-width:2}
.map .tile:focus{outline:none}
.map .tile:focus-visible rect,.map .tile.on rect{stroke:var(--ink);stroke-width:3}
.map text{font:600 13px var(--body);pointer-events:none}
.map .cap{font:600 11px var(--body);fill:var(--muted)}
.legend{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--muted)}
.legend .ramp{flex:0 1 160px;height:10px;border-radius:999px;background:linear-gradient(90deg,#F4F1E8,#E9C46A,#2E9E5B);border:1px solid var(--rule)}
.bars{display:grid;grid-template-columns:minmax(0,1fr) 88px 22px;gap:4px 8px;align-items:center;font-size:.85rem}
.bar{height:8px;border-radius:999px;background:var(--rule);overflow:hidden}
.bar span{display:block;height:100%}
.bars .grp{grid-column:1/-1;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-top:6px}
.scoreline{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}
.scoreline .big{font-family:var(--display);font-size:1.6rem;font-weight:700}
.tablewrap{overflow-x:auto}
table.rank{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:.92rem}
table.rank th{text-align:left;border-bottom:2px solid var(--rule);padding:0}
table.rank th button{all:unset;cursor:pointer;display:block;padding:8px 6px;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
table.rank th button:focus-visible{outline:3px solid var(--accent)}
table.rank th[aria-sort] button{color:var(--ink)}
table.rank td{padding:7px 6px;border-bottom:1px solid var(--rule)}
table.rank td.n{white-space:nowrap}
table.rank tr{cursor:pointer}
.chip-s{display:inline-block;min-width:2.6em;text-align:center;border-radius:4px;padding:1px 6px;font-weight:700;color:#1d2a1f}
.method summary{cursor:pointer;font-weight:600;padding:8px 0}
.method p,.method ul{margin-top:10px}
.support-slot{color:var(--muted)}
.fund-bar{height:8px;max-width:320px;margin-top:6px;border-radius:999px;background:var(--rule);overflow:hidden}
.fund-bar span{display:block;height:100%;background:#2E9E5B}
table.costs{border-collapse:collapse;margin-top:8px;font-variant-numeric:tabular-nums}
table.costs td{padding:4px 12px 4px 0;border-bottom:1px solid var(--rule)}
table.costs td.num{text-align:right}
table.costs tr.tot td{font-weight:700;border-bottom:0}
.companies{display:flex;flex-direction:column;gap:28px}
.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.step{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--rule)}
.step:first-child{border-top:0}
.chk input{width:22px;height:22px;margin:2px 0 0;accent-color:#2E9E5B;cursor:pointer}
.sbody{display:flex;flex-direction:column;gap:4px;min-width:0}
.step.done h3{color:var(--ok)}
nav.toplinks{gap:6px 14px;font-size:.92rem}
.arearows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.arearows li{display:grid;grid-template-columns:minmax(0,10em) 1fr auto;gap:10px;align-items:center}
.arearows a{font-weight:600}
.mini{display:block;height:8px;border-radius:999px;background:var(--rule);overflow:hidden}
.mini span{display:block;height:100%;width:0;background:#2E9E5B;transition:width .3s}
@media (max-width:560px){.arearows li{grid-template-columns:1fr auto}.arearows .mini{grid-column:1/-1;order:3}}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.card{display:flex;flex-direction:column;gap:8px;background:var(--sheet);border:1px solid var(--rule);border-radius:8px;padding:18px;color:var(--ink);text-decoration:none}
.card:hover{border-color:var(--accent)}
.card h3{font-family:var(--display);font-size:1.25rem}
.card .go{margin-top:auto;color:var(--accent);font-weight:600}
@media (prefers-reduced-motion:reduce){.mini span{transition:none}}
