:root{
  color-scheme: light;
  /* Oct 2026 newspaper redesign: cool pale-grey ground, near-black ink, one brick-red accent. */
  --paper:#E3E5E1; --surface:#E3E5E1; --band:#D7DAD5; --ink:#0E0F0E; --ink-2:#2E302D; --muted:#4F524E;
  --rule:#0E0F0E; --rule-2:#C4C7C2; --land:#EDEFEB; --land-line:#8C8F8A;
  --accent:#C94A35; --accent-ink:#B8301C; --open:#0E0F0E; --soon:#B8301C; --closed:#B8301C;
  --mixue:#C94A35; --chagee:#6E716C; --luckin:#4F524E; --miniso:#2E302D;
  --popmart:#A3A6A1; --haidilao:#6E716C; --other:#A3A6A1;
  /* Choropleth ramp: one hue — grey to ink. Lightness carries the count. */
  --c0:#D7DAD5; --c1:#A3A6A1; --c2:#6E716C; --c3:#0E0F0E;
  --serif:'Schibsted Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;
  --display:'Schibsted Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;
  --sans:'Schibsted Grotesk','Helvetica Neue',Helvetica,Arial,sans-serif;
  --cond:'Archivo','Helvetica Neue',sans-serif;
  --hans:'Noto Serif SC',serif;
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font:15px/1.55 var(--sans);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
header{padding:32px 24px 10px; max-width:1240px; margin:0 auto}
h1{margin:0; font-family:var(--serif); font-weight:500; font-size:44px; line-height:1.02; letter-spacing:-.02em}
.sub{margin:12px 0 0; color:var(--ink-2); font-size:17px; line-height:1.5; max-width:64ch}
@media (max-width:620px){ h1{font-size:32px} }
.wrap{display:flex; gap:24px; padding:16px clamp(16px,3vw,44px) 48px; max-width:1440px; margin:0 auto; align-items:flex-start}
main{flex:1 1 auto; min-width:0}
aside{flex:0 0 300px}
@media (max-width:900px){ .wrap{flex-direction:column} aside{flex:1 1 auto; width:100%} }

.tally{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px}
.chip{
  display:flex; align-items:center; gap:8px; cursor:pointer; user-select:none;
  background:var(--surface); border:1px solid var(--rule); border-radius:3px;
  padding:6px 13px 6px 9px; font-size:13px; color:var(--ink);
}
.chip[aria-pressed="false"]{opacity:.38}
.chip .dot{width:10px; height:10px; border-radius:50%}
.chip .n{color:var(--muted); font-variant-numeric:tabular-nums}

figure{margin:0; background:var(--surface); border:1px solid var(--rule); border-radius:2px; padding:8px}
figcaption{color:var(--muted); font-size:12.5px; padding:6px 6px 2px}
svg#map{width:100%; height:min(60vh,540px); display:block; touch-action:none; cursor:grab}
svg#map.drag{cursor:grabbing}
.state{fill:var(--land); stroke:var(--land-line); stroke-width:.8}
/* No stroke-width here on purpose: a CSS declaration would override the per-dot
   stroke-width ATTRIBUTE that the map script scales with the view, and the announced-store rings
   would be drawn 1.6 metres wide, i.e. invisible. */
.store{cursor:pointer}

aside section{
  background:var(--surface); border:1px solid var(--rule); border-radius:2px;
  padding:12px 14px; margin-bottom:14px;
}
aside h2{margin:0 0 8px; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--accent)}
table{width:100%; border-collapse:collapse; font-size:13.5px}
td{padding:4px 0; border-bottom:1px solid var(--rule)}
tr:last-child td{border-bottom:0}
td.n{text-align:right; font-variant-numeric:tabular-nums; color:var(--ink-2)}
td .zh{color:var(--muted); font-size:12px; margin-left:5px}
.note{margin:0; color:var(--ink-2); font-size:13px}
ul{margin:0; padding-left:16px; font-size:13px; color:var(--ink-2)}
li{margin-bottom:7px}
li b{color:var(--ink); font-weight:600}
#tip{
  position:fixed; z-index:9; pointer-events:none; max-width:280px;
  background:var(--surface); color:var(--ink); border:1px solid var(--rule);
  border-radius:3px; padding:8px 10px; font-size:13px; box-shadow:0 6px 24px -10px rgba(0,0,0,.4);
}
#tip b{display:block}
#tip .loc{font-size:13px; margin-top:2px}
#tip .addr{color:var(--ink-2); font-size:12.5px; margin-top:2px}
#tip .meta{color:var(--muted); font-size:12px; margin-top:5px}

/* ---- view switch, legend, choropleth ---- */
.modes{display:inline-flex; border:1px solid var(--ink); border-radius:4px; overflow:hidden; margin-bottom:12px}
.modebtn{
  appearance:none; border:0; background:transparent; color:var(--ink);
  font:inherit; font-size:14px; padding:8px 18px; cursor:pointer;
}
.modebtn + .modebtn{border-left:1px solid var(--ink)}
.modebtn[aria-pressed="true"]{background:var(--ink); color:var(--paper)}

.legend[hidden], .tally[hidden]{display:none}
.legend{display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-bottom:12px; font-size:12.5px; color:var(--ink-2)}
.legend .lgl{margin-right:4px; color:var(--muted)}
.legend .sw{width:22px; height:12px; border-radius:2px; border:1px solid var(--rule)}
.legend .lgt{margin-right:8px; font-variant-numeric:tabular-nums}
.legend .lgn{flex:1 1 100%; color:var(--muted); font-size:12px; margin-top:2px}
.sw[data-step="0"]{background:var(--c0)} .sw[data-step="1"]{background:var(--c1)}
.sw[data-step="2"]{background:var(--c2)} .sw[data-step="3"]{background:var(--c3)}
.sw.pend{background:var(--c0); opacity:.55; border-color:var(--soon); border-style:dashed}

.state[data-step="0"]{fill:var(--c0)} .state[data-step="1"]{fill:var(--c1)}
.state[data-step="2"]{fill:var(--c2)} .state[data-step="3"]{fill:var(--c3)}
#map.statemode .state{cursor:pointer}
#map.statemode .state.lit{stroke:var(--surface); stroke-width:900}
.slabel{fill:var(--ink); font-weight:600; pointer-events:none; paint-order:stroke;
        stroke:var(--surface); stroke-linejoin:round}   /* size + halo set inline by applyView */

/* A state with no trading stores but an announced one is not the same as an empty state. */
.state.pending{fill:var(--c0); fill-opacity:.55; stroke:var(--soon); stroke-width:800;
               stroke-dasharray:3000 2200}

/* ---- company profiles ---- */
#profiles details{border-bottom:1px solid var(--rule); padding:7px 0}
#profiles details:last-child{border-bottom:0}
#profiles summary{
  cursor:pointer; display:flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:600; list-style:none;
}
#profiles summary::-webkit-details-marker{display:none}
#profiles summary::after{content:'+'; margin-left:8px; color:var(--muted); font-weight:400}
#profiles .nm{white-space:nowrap}
#profiles summary .zh{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
#profiles details[open] summary::after{content:'\2212'}
#profiles .dot{width:9px; height:9px; border-radius:50%; flex:0 0 auto}
#profiles .tagoff{
  font-size:10px; font-weight:500; text-transform:uppercase; letter-spacing:.03em;
  white-space:nowrap; margin-left:auto; flex:0 0 auto;
  color:var(--muted); border:1px solid var(--rule); border-radius:4px; padding:1px 5px;
}
#profiles p{margin:8px 0 0; font-size:13px; color:var(--ink-2); line-height:1.55}
#profiles p.why{color:var(--ink-2)}
#profiles p.why b{color:var(--ink); font-weight:600}
#profiles dl{display:grid; grid-template-columns:auto 1fr; gap:3px 10px; margin:9px 0 2px; font-size:12.5px}
#profiles dt{color:var(--muted)}
#profiles dd{margin:0; color:var(--ink-2)}
.note.small{font-size:12px; color:var(--muted); margin-top:10px}

/* The state list grows with the archive; cap it and let the reader ask for the rest. */
#states tbody tr.more td{color:var(--muted); font-size:12.5px; border-bottom:0}
#states .morebtn{
  appearance:none; background:none; border:0; padding:0; font:inherit; color:var(--accent);
  cursor:pointer; text-decoration:underline;
}

/* Alaska and Hawaii insets: framed and captioned, because their scale is not the lower-48's. */
.insetframe{fill:none; stroke:var(--rule); stroke-dasharray:none}
.inset .state{stroke-width:0}
#offmap.warn{
  margin:8px 6px 0; padding:7px 9px; font-size:12.5px; border-radius:3px;
  color:var(--ink); background:color-mix(in srgb, var(--soon) 14%, var(--surface));
  border:1px solid color-mix(in srgb, var(--soon) 45%, var(--rule));
}
.icap{fill:var(--muted); font-weight:600; letter-spacing:.06em; pointer-events:none}

/* ---- register page ---- */
.xlink{margin-left:10px; color:var(--accent); font-size:13px}
.lede{margin:0 0 16px; max-width:70ch; line-height:1.6}
.lede strong{color:var(--ink)}
/* The market grid has grown past twenty columns; let it scroll sideways inside its own box
   instead of overflowing the page (which hid the right-hand markets entirely). */
#matrix{overflow-x:auto; -webkit-overflow-scrolling:touch; margin-bottom:26px}
table.reg{width:100%; border-collapse:collapse; font-size:13px}
#matrix table.reg{margin-bottom:0}
/* Retail-type band spanning the grid, matching the landing page's group labels. */
table.reg tr.catrow th.catcell{
  border:0; text-align:left; padding:14px 6px 4px; background:var(--paper);
  font:600 11px/1.2 var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--accent)}
table.reg tr.catrow:first-child th.catcell{padding-top:4px}
.matlegend{margin:-14px 0 26px}   /* sits just under the grid it explains */
.matlegend .conf{margin:0 1px}
table.reg th, table.reg td{border:1px solid var(--rule); padding:5px 6px; text-align:center}
table.reg th.corner{border:0}
table.reg th.region{
  font-size:10.5px; text-transform:uppercase; letter-spacing:.05em;
  color:var(--muted); font-weight:600; background:var(--paper);
}
table.reg th.chain{text-align:left; white-space:nowrap; font-weight:600; background:var(--surface)}
/* Region headings are buttons: a folded region is one narrow column ("+" opens it). */
table.reg th.region button.fold{all:unset; cursor:pointer; display:block; width:100%; text-align:center;
  font:inherit; letter-spacing:inherit; text-transform:inherit; color:inherit; white-space:nowrap}
table.reg th.region button.fold:hover, table.reg th.region button.fold:focus-visible{color:var(--accent)}
table.reg th.region button.fold:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
table.reg th.region .fold-mark{margin-left:3px; font-weight:700}
table.reg th.region.folded{background:color-mix(in srgb, var(--accent) 6%, var(--paper))}
table.reg th.foldcol{color:var(--muted); font-weight:600; white-space:nowrap; font-size:11px}
/* A folded cell counts markets ("2/6"), not stores: small, italic. A cell with a count sits on a
   plain light tint so the number stays readable; an empty one keeps a faint hatch, so a folded
   region still looks folded. */
table.reg td.foldcell{color:var(--muted); background:repeating-linear-gradient(135deg, var(--surface) 0 9px, color-mix(in srgb, var(--rule) 12%, var(--surface)) 9px 10px)}
table.reg td.foldcell.has{background:color-mix(in srgb, var(--accent) 6%, var(--surface))}
table.reg td.foldcell .mk{font-size:11px; font-style:italic; font-weight:600; color:var(--accent)}
table.reg th.chain .zh{margin-left:6px}
table.reg td{background:var(--surface); font-variant-numeric:tabular-nums; cursor:default}
td.c-yes{background:color-mix(in srgb, var(--accent) 12%, var(--surface)); font-weight:600}
td.c-yes.c-medium{background:color-mix(in srgb, var(--accent) 8%, var(--surface))}
td.c-yes.c-low{background:color-mix(in srgb, var(--accent) 4%, var(--surface))}
td.c-noev{color:var(--muted)}
td.c-none{color:var(--rule)}
td.c-soon{background:var(--surface)}          /* announced, not yet open — a plain cell, not a "yes" */
td.c-exit{color:color-mix(in srgb, var(--closed) 55%, var(--muted)); font-weight:700}  /* entered, then exited — a muted brick-red × */
.soon{color:var(--soon); font-weight:600}     /* the hollow ring marking an announced market */
.dotmark{color:var(--muted); opacity:.5}
.conf{font-size:10px; vertical-align:super; margin-left:1px; font-weight:400}
.conf.c-medium{color:var(--soon)}
.conf.c-low{color:var(--closed)}
.legendlist{list-style:none; padding:0; font-size:13px}
.legendlist li{margin-bottom:5px}
.legendlist b{display:inline-block; min-width:26px; color:var(--ink)}
.chainblock{
  background:var(--surface); border:1px solid var(--rule); border-radius:2px;
  padding:12px 15px; margin-bottom:14px;
}
.chainblock h3{margin:0 0 3px; font-size:15px}
dl.rows{display:grid; grid-template-columns:auto 1fr; gap:6px 14px; margin:10px 0 0; font-size:13px}
dl.rows dt{color:var(--muted); white-space:nowrap}
dl.rows dd{margin:0; color:var(--ink-2)}
.status{
  display:inline-block; font-size:10.5px; text-transform:uppercase; letter-spacing:.04em;
  border-radius:4px; padding:1px 5px; margin-right:6px; border:1px solid var(--rule);
}
.s-present{color:var(--open); border-color:color-mix(in srgb, var(--open) 40%, var(--rule))}
.s-no_evidence{color:var(--muted)}
.s-exited{color:var(--closed); border-color:color-mix(in srgb, var(--closed) 40%, var(--rule))}
.rnote{margin:3px 0 4px; color:var(--ink-2); line-height:1.5}
a.src{font-size:11.5px; color:var(--accent); margin-right:8px}
.conf.c-collected{color:var(--accent); font-size:11px}
td.c-collected{background:color-mix(in srgb, var(--accent) 22%, var(--surface)); font-weight:700}
.s-collected{color:var(--accent); border-color:color-mix(in srgb, var(--accent) 45%, var(--rule))}

/* ---- site identity ---- */
a{color:var(--accent)} a:hover{color:var(--accent-ink)}
.masthead{
  display:flex; align-items:baseline; gap:16px; flex-wrap:wrap;
  padding-bottom:14px; margin-bottom:20px; border-bottom:1px solid var(--ink);
}
.brand{
  font-family:var(--serif); font-size:26px; font-weight:600; letter-spacing:-.01em;
  color:var(--ink); text-decoration:none; white-space:nowrap;
}
.masthead nav{display:flex; gap:4px; margin-left:auto}
.navlink{
  font-size:15px; color:var(--ink-2); text-decoration:none;
  padding:6px 12px; border-bottom:2px solid transparent;
}
.navlink:hover{color:var(--ink)}
.navlink.current{color:var(--ink); border-bottom-color:var(--accent); font-weight:600}
header h1{font-size:44px}
.sitefoot{
  margin:48px 0 0; padding:40px 24px 48px;
  background:var(--ink); color:var(--rule-2); font-size:13.5px; line-height:1.6;
}
.sitefoot > *{max-width:1240px; margin-left:auto; margin-right:auto}
.sitefoot p{margin:0 0 10px; max-width:82ch}
.sitefoot strong{color:var(--paper)}
.sitefoot a{color:#8FCFC3}
.sitefoot .pub{font-size:.92em; opacity:.85; margin-top:4px}
@media (prefers-color-scheme: dark){ .sitefoot{background:#0F0F10} }
@media (max-width:620px){ .masthead nav{margin-left:0; width:100%; flex-wrap:wrap} }

/* Serif headlines / mono numerals set the editorial tone throughout */
aside h2, section h2, .usbox h2{font-family:var(--sans)}
.lede{font-size:16px}
/* Figures are set in the text serif with old-style numerals — the way an almanac or a
   newspaper stats table reads. Tabular where columns must line up, so alignment holds while
   the "dashboard / monospace" feel goes away. */
td.n, .chip .n, .cpct, #coverage td.num, .abroad, .legend .lgt, table.reg td{
  font-family:var(--serif); font-variant-numeric:oldstyle-nums tabular-nums;
}
.zh, td .zh, .ccard .zh, table.reg th.chain .zh{font-family:var(--hans)}

/* ---- US-first view on the register ---- */
.usbox{background:var(--surface); border:1px solid var(--rule); border-radius:2px;
       padding:14px 16px; margin-bottom:14px}
.usbox h2{margin:0 0 6px; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.usbox.watch{border-color:color-mix(in srgb, var(--soon) 45%, var(--rule))}
ul.uslist{list-style:none; padding:0; margin:10px 0 0; font-size:13.5px}
ul.uslist li{padding:7px 0; border-bottom:1px solid var(--rule)}
ul.uslist li:last-child{border-bottom:0}
ul.uslist b{color:var(--ink)}
.abroad{float:right; color:var(--muted); font-size:12.5px; font-variant-numeric:tabular-nums}
table.ustable{width:100%; border-collapse:collapse; margin-top:10px; font-size:13.5px}
table.ustable th, table.ustable td{padding:7px 0 7px 12px; border-bottom:1px solid var(--rule); vertical-align:baseline; text-align:left}
table.ustable th:first-child, table.ustable td:first-child{padding-left:0}
table.ustable thead th{font:600 11px/1.3 var(--sans); text-transform:uppercase; letter-spacing:.05em;
  color:var(--muted); border-bottom:1.5px solid var(--rule); white-space:nowrap}
table.ustable tbody tr:last-child td{border-bottom:0}
table.ustable td.name{color:var(--ink)}
table.ustable th.num, table.ustable td.num{text-align:right; white-space:nowrap;
  font-family:var(--serif); font-variant-numeric:oldstyle-nums tabular-nums}
table.ustable td.dash{color:var(--muted)}
table.ustable .asof{display:block; margin-top:1px; color:var(--muted);
  font-size:11px; font-variant-numeric:normal; letter-spacing:0}
/* "~" before a worldwide total = a reported figure not validated against a primary filing. */
.est{border-bottom:1px dotted var(--muted); cursor:help; text-decoration:none}

/* The coverage ratio is a correction to what the map alone implies, so it reads as a caveat. */
.coverline{
  margin:10px 0 0; padding:9px 12px; max-width:78ch;
  font-size:13px; line-height:1.55; color:var(--ink-2);
  background:color-mix(in srgb, var(--soon) 10%, var(--surface));
  border:1px solid color-mix(in srgb, var(--soon) 38%, var(--rule));
  border-radius:3px;
}
.coverline b{color:var(--ink)}
.coverline a{color:var(--accent)}
#notcounted{scroll-margin-top:16px}

/* A chain that is here but undrawable still belongs in the chain row, set apart by a dashed
   border (hand-confirmed, not part of the daily census). "Known" chains are coloured in and
   darkened; a chain with only unconfirmed leads stays faded and pending a manual check. */
.chip.off{
  cursor:pointer; border-style:dashed; color:var(--ink);
  background:color-mix(in srgb, var(--muted) 4%, var(--surface));
}
/* Filter controls: switch chains on the map on and off, or isolate a few. */
.tallyctl{display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 10px; font-size:13px}
.tallyctl .lbl{color:var(--muted)}
.tallyctl button{
  font:inherit; font-size:13px; padding:3px 12px; border:1px solid var(--rule-2);
  border-radius:4px; background:transparent; color:var(--ink); cursor:pointer}
.tallyctl button:hover{border-color:var(--ink-2)}
.tallyctl .hint{color:var(--muted); font-style:italic}
/* Per-chip "only" — isolate this chain; subtle until hovered/focused, always tappable. */
.chip .only{
  font:inherit; font-size:11px; line-height:1; margin-left:2px; padding:2px 6px;
  border:1px solid var(--rule-2); border-radius:3px; background:transparent;
  color:var(--muted); cursor:pointer; opacity:.5}
.chip:hover .only, .chip:focus-within .only{opacity:1}
.chip .only:hover{border-color:var(--ink-2); color:var(--ink)}
/* The chain name is plain text — the whole chip is the map show/hide toggle. */
.chipnm{color:inherit}
/* "ⓘ" opens the chain's "Who they are" profile; subtle until hover/focus, always tappable. */
.chip .prof{margin-left:4px; font-size:13px; line-height:1; text-decoration:none;
  color:var(--muted); cursor:pointer; opacity:.55}
.chip:hover .prof, .chip:focus-within .prof{opacity:1}
.chip .prof:hover{color:var(--accent)}
.ccard{scroll-margin-top:18px}                /* so #id links from the map land clear of the top */
.ccard.cardjump{outline:2px solid var(--accent); outline-offset:2px}  /* the card a chip linked to */
.patterns{background:var(--surface); border:1px solid var(--rule); border-radius:2px; padding:14px 18px; margin:0 0 20px}
.patterns h2{margin:0 0 6px; font-size:16px}
.patterns .note{margin:0}
.chip.off .dot{opacity:1}                     /* coloured in (colour set inline) */
.chip.off .n{color:var(--muted)}
.chip.off.pending{color:var(--muted)}
.chip.off.pending .dot{opacity:.4}
.chip .n .pend{color:var(--soon)}             /* the unconfirmed review flag */

/* Supplied data must never be mistaken for collected data at a glance. */
.chip.supplied{border-style:dashed}
.chip.supplied .n{color:var(--soon)}
.warnzh{color:var(--soon) !important}

/* A derived position is drawn hollow-hearted: same colour, visibly less certain. */
.store.geo{fill-opacity:.55}

/* Sightings are squares, not dots: a different claim, a different shape. A confirmed one is
   coloured in (fill + stroke set inline); an unconfirmed one is hollow, dashed and dimmed —
   a review queue, not a counted store. */
.sight{cursor:help}
.sight.unsure{stroke-dasharray:2 2; opacity:.65}

/* Coverage scorecard: what we hold vs what is thought to exist */
#coverage{width:100%; border-collapse:collapse; font-size:13px}
#coverage td{padding:3px 5px; vertical-align:middle; border-bottom:1px solid var(--rule)}
#coverage tr:last-child td{border-bottom:0}
#coverage td.num{text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap}
.cov{cursor:default}
.covcell{width:96px; white-space:nowrap}
.cbar{display:inline-block; height:7px; width:56px; border-radius:4px;
  background:var(--rule); position:relative; vertical-align:middle}
.cbar::after{content:""; position:absolute; left:0; top:0; height:100%;
  width:var(--w,0); border-radius:4px; background:var(--accent)}
.cbar.full::after{width:100%; background:var(--accent)}
.cbar[data-status="strong"]::after{background:var(--open)}
.cbar[data-status="partial"]::after{background:var(--soon)}
.cbar[data-status="sparse"]::after{background:var(--closed)}
.cpct{font-size:11px; margin-left:6px; color:var(--muted)}
#coverage .dim{color:var(--muted)}

/* Introduction & Contribute pages */
.introwrap{max-width:1000px; margin:0 auto; padding:0 16px 40px}
.cardgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; margin-top:16px}
.ccard{background:var(--surface); border:1px solid var(--rule); border-radius:2px; overflow:hidden;
  display:flex; flex-direction:column}
.cphoto{width:100%; height:150px; object-fit:cover; display:block; background:var(--paper)}
.cphoto.placeholder{display:flex; align-items:center; justify-content:center; color:var(--muted);
  font-size:12px; letter-spacing:.04em; text-transform:uppercase;
  background:repeating-linear-gradient(45deg,var(--paper),var(--paper) 10px,var(--surface) 10px,var(--surface) 20px)}
.cbody{padding:12px 14px 14px}
.ccard h2{font-size:16px; margin:0 0 2px}
.ccard .zh{color:var(--muted); font-weight:400; font-size:13px}
.ccat{margin:0 0 8px; font-size:12px; color:var(--accent); text-transform:uppercase; letter-spacing:.04em}
.cblurb{margin:0 0 10px; font-size:13px; line-height:1.5; color:var(--ink-2)}
.ccredit{margin:0 0 8px; font-size:11px; color:var(--muted)}
.clinks{margin:0; font-size:13px}
.clinks a{color:var(--accent); text-decoration:none}
.clinks a:hover{text-decoration:underline}
.cnwarn{color:var(--soon); font-size:11px; white-space:nowrap}
.dim{color:var(--muted)}
.note.warn{background:color-mix(in srgb, var(--soon) 12%, var(--surface)); border:1px solid var(--soon);
  border-radius:3px; padding:10px 12px}

/* Contribute forms */
.contribgrid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.cform{padding:16px}
.cform label{display:block; font-size:13px; color:var(--ink-2); margin:10px 0 0}
.cform input, .cform select, .cform textarea{width:100%; box-sizing:border-box; margin-top:4px;
  padding:8px 9px; font:inherit; font-size:14px; color:var(--ink); background:var(--paper);
  border:1px solid var(--rule); border-radius:3px}
.cform .req{color:var(--closed)}
.cform button{margin-top:14px; padding:9px 16px; font:inherit; font-size:14px; font-weight:600;
  color:#fff; background:var(--accent); border:0; border-radius:3px; cursor:pointer}
.cform button:hover{filter:brightness(1.06)}
.cform .hp{position:absolute; left:-9999px; height:0; overflow:hidden}
#okmsg{background:color-mix(in srgb, var(--open) 14%, var(--surface)); border:1px solid var(--open);
  border-radius:3px; padding:10px 12px; margin-top:16px}

/* Beta badge in the masthead */
.beta{display:inline-block; margin-left:10px; padding:3px 8px; font-size:10.5px;
  font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
  border:1px solid var(--muted); border-radius:2px; vertical-align:middle; cursor:default}

/* Landing total-outlets headline: the newsprint hero figure */
.ustotal{margin:22px 0 4px; font-size:18px; color:var(--ink-2); line-height:1.45}
.ustotal b{display:block; margin-bottom:6px; font-family:var(--serif); font-weight:500;
  font-size:84px; line-height:.9; letter-spacing:-.035em; color:var(--ink); font-variant-numeric:lining-nums}
.ustotal .dim{color:var(--muted); font-size:13.5px}
@media (max-width:620px){ .ustotal b{font-size:60px} }

/* ============================================================================
   Editorial pass (2026-09-28). Deliberately away from the generic-template look:
   a FLAT warm-ink nameplate (no gradient), a newspaper gothic (Libre Franklin) for
   the running text, tabular figures instead of a typewriter mono, hairline rules
   instead of floating drop-shadow cards, and near-square corners. hoverstat.com's
   confidence, but the grammar of a printed page rather than a dashboard.
   ============================================================================ */
header{
  background:var(--ground);
  color:var(--ink);
  max-width:1440px; margin:0 auto; padding:26px clamp(16px,3vw,44px) 10px;
  border-bottom:0;
}
header > *{max-width:none; margin-left:0; margin-right:0}

/* Masthead sits inside the flat nameplate. */
.masthead{border-bottom:1px solid var(--h-line); padding-bottom:16px; margin-bottom:30px}
.brand{color:var(--h-ink)}
.beta{color:var(--h-dim); border-color:var(--h-line)}
.masthead .navlink{color:var(--h-dim)}
.masthead .navlink:hover{color:var(--h-ink)}
.masthead .navlink.current{color:var(--h-ink); border-bottom-color:var(--h-accent);
  border-bottom-width:2px}

/* The brand and the headline take the display face (Fraunces) for character —
   a high-contrast display serif like Bodoni but with sturdier, more legible strokes. */
.brand{font-family:var(--display); font-weight:600; letter-spacing:-.01em}

/* Headline: large high-contrast serif, light on warm ink. */
header h1{
  font-family:var(--display); color:var(--h-ink); font-weight:600;
  font-size:clamp(37px, 5.4vw, 64px); line-height:1.08; letter-spacing:-.012em;
}
header .sub, header .lede{color:var(--h-dim); max-width:64ch}
header .sub strong, header .lede strong{color:var(--h-ink)}

/* The count leads the page: a giant serif figure over a thin accent rule. */
.ustotal{position:relative; color:var(--h-dim); margin:30px 0 0; font-family:var(--serif); font-size:19px}
.ustotal::before{content:""; display:block; width:60px; height:3px; margin:0 0 20px;
  background:var(--h-accent)}
/* Grand total: the text serif with old-style figures, so it belongs with the data below
   rather than shouting in the display face — and a notch smaller/lighter than before. */
.ustotal b{display:block; color:var(--h-ink); font-family:var(--serif); font-weight:600;
  font-size:clamp(60px, 9.5vw, 116px); line-height:.9; letter-spacing:-.015em; margin-bottom:12px;
  font-variant-numeric:oldstyle-nums}
.ustotal .dim{color:var(--h-dim); font-family:var(--sans); font-size:12.5px;
  font-variant-numeric:tabular-nums}

/* Links and the caveat note on the dark ground — squared, hairline, no fill glow. */
header a, header .sub a, header .coverline a{color:var(--h-accent)}
header .coverline{
  background:rgba(244,240,230,.05); border:1px solid var(--h-line); border-radius:0;
  color:var(--h-dim); max-width:82ch;
}
header .coverline b{color:var(--h-ink)}

/* ---- body, on paper: flat and rule-based, a printed page not a dashboard ---- */
figure, aside section, .usbox, .chainblock, .ccard{border-radius:2px; box-shadow:none}
.chip{border-radius:4px}
.modes{border-radius:2px}

/* Section headers: a bold ink label on a full hairline — no coloured tick. */
aside h2, .usbox h2{
  color:var(--accent); font-weight:700; font-size:12px; letter-spacing:.11em;
  padding-bottom:8px; margin-bottom:12px; border-bottom:1px solid var(--rule);
}

/* Controls answer the pointer. */
.chip{transition:border-color .15s ease, opacity .15s ease}
.chip:hover{border-color:var(--ink-2)}
.chip.off:hover, .chip.supplied:hover{border-color:var(--muted)}
.modebtn{transition:background .15s ease, color .15s ease}
.navlink{transition:color .15s ease, border-color .15s ease}

@media (max-width:620px){
  header{padding:24px 16px 32px}
  .ustotal b{line-height:.9}
}

/* ============================================================================
   Softer data elements (2026-09-28). Takes the "dashboard / IBM Carbon" edge off:
   chips read as light keys rather than filled buttons, the coverage meter is a thin
   squared print bar not a rounded progress widget, the view toggle uses warm quiet
   edges, and the micro-labels are a touch calmer. Figures already moved to the serif.
   ============================================================================ */
.chip{background:transparent; border-color:var(--rule-2); padding:5px 12px 5px 9px}
.chip .n{font-size:12.5px; color:var(--muted)}
.chip[aria-pressed="false"]{opacity:.42}

.cbar{height:5px; width:52px; border-radius:0; background:var(--band)}
.cbar::after{border-radius:0}
.cpct{font-size:12px}

.modes{border-color:var(--rule)}
.modebtn{color:var(--ink-2)}
.modebtn + .modebtn{border-left-color:var(--rule)}
.modebtn[aria-pressed="true"]{background:var(--ink-2); color:var(--paper)}

/* Calmer uppercase micro-labels — less "spec sheet". */
aside h2, .usbox h2{font-weight:600; letter-spacing:.08em}

/* By-state breakdown in the same text serif as the totals (was the Chinese serif), so the whole
   panel's figures are unified. */
.statewho{font-family:var(--serif); font-variant-numeric:oldstyle-nums tabular-nums;
  color:var(--muted); font-size:12.5px}

/* Category labels that group the chain chips on the landing page. Full-width so the chips below
   wrap under each heading. */
.tallygroup{flex:0 0 100%; margin:14px 0 0; font-size:11px; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted)}
.tally .tallygroup:first-child{margin-top:0}

/* "To confirm" queue on the Submit Info page: the review list of reported-but-unconfirmed
   locations, each with a one-tap confirm that pre-fills the location form. */
.tocfm{background:var(--surface); border:1px solid var(--rule); border-radius:2px;
  padding:16px 18px; margin-bottom:18px}
.tocfm h2{margin:0 0 4px; font-size:12px; font-weight:700; letter-spacing:.11em;
  text-transform:uppercase; color:var(--ink)}
.tocfm .note{margin:0 0 12px; max-width:74ch}
.tocfmlist{list-style:none; padding:0; margin:0}
.tocfmlist li{display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 10px;
  padding:9px 0; border-bottom:1px solid var(--rule); font-size:13.5px}
.tocfmlist li:last-child{border-bottom:0}
.tocfmlist .who{font-weight:600; color:var(--ink)}
.tocfmlist .addr{color:var(--ink-2)}
.tocfmlist .src{flex:1 1 100%; color:var(--muted); font-size:12px}
.tocfmlist .empty{color:var(--muted); border-bottom:0}
.tocfmlist .cfmbtn{margin-left:auto; appearance:none; border:1px solid var(--accent);
  background:transparent; color:var(--accent); font:inherit; font-size:12px; font-weight:600;
  padding:3px 11px; border-radius:4px; cursor:pointer; white-space:nowrap;
  transition:background .15s ease, color .15s ease}
.tocfmlist .cfmbtn:hover{background:var(--accent); color:#fff}

/* "US since" line on the company cards: when a chain entered the US and where its first store was. */
.cus{margin:0 0 10px; font-size:12.5px; color:var(--ink-2); line-height:1.45}
.cus b{color:var(--ink); font-weight:600}

/* "US since" note in the Chains collected table rows. */
.csince{font-size:11.5px; color:var(--muted); letter-spacing:.02em}

/* ---- Oct 2026 redesign flatten: square corners, no shadows, brick accent -------------------
   (Dots and rings keep their explicit border-radius:50% in the rules above.) */
.chip, figure, .tt, .modes, .modebtn, .legend .sw, .badge, .pill,
table.reg th, table.reg td, button, input, select, textarea, aside, .card, .panel { border-radius:0; }
.tt, .chip, figure, .card, .panel, aside, .modes { box-shadow:none; }
h1 { font-weight:700; letter-spacing:-0.02em; }
a { color:var(--ink); } a:hover { color:var(--accent-ink); }
