/* DULA INTELLIGENCE V0.1 — quiet, spatial, warm. Not a terminal, not a dashboard, not a chat.
 * The palette is the corrected alpha's. The structure is new, because the durable object is new. */
:root{
  --paper:#faf6f0; --paper-2:#f3ece2; --paper-3:#ede4d6; --ink:#2b2420; --ink-2:#6b5f55; --ink-3:#9a8d81;
  --line:#e3d8c9; --line-2:#d2c3af;
  --clay:#b4552d; --clay-soft:#e8d2c4;
  --water:#3d7a8c; --water-soft:#cfe2e6;
  --sage:#6f7f5c; --sand:#d9c39a; --stone:#8a8178; --warn:#9a6b1f;
  --shadow:0 1px 2px rgba(43,36,32,.06), 0 8px 28px rgba(43,36,32,.07);
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;
  line-height:1.55;-webkit-font-smoothing:antialiased}
button{font-family:inherit}

/* ================================================================ HOME */
#home{display:none;height:100vh;overflow-y:auto}
body.home #home{display:block}
body.home #work{display:none}
.home-in{max-width:46rem;margin:0 auto;padding:11vh 32px 80px}
.wordmark{font-family:var(--serif);font-size:42px;letter-spacing:.16em;color:var(--clay);font-weight:600;
  margin:0 0 10px}
.tagline{font-family:var(--serif);font-size:25px;line-height:1.3;color:var(--ink);margin:0 0 34px;
  font-weight:400;max-width:26rem}
.askbox{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line-2);
  border-radius:14px;padding:4px 6px 4px 18px;box-shadow:var(--shadow)}
.askbox:focus-within{border-color:var(--clay);box-shadow:0 0 0 3px rgba(180,85,45,.10),var(--shadow)}
.askbox input{flex:1 1 auto;border:0;outline:0;background:none;font-size:16.5px;padding:14px 0;
  color:var(--ink);min-width:0}
.askbox input::placeholder{color:var(--ink-3)}
.go{border:0;background:var(--clay);color:#fff;border-radius:10px;padding:11px 17px;font-size:14px;
  cursor:pointer;flex:0 0 auto}
.go:hover{background:#9d4725}
.entry{display:flex;gap:9px;margin:16px 0 0;flex-wrap:wrap}
.chip{border:1px solid var(--line-2);background:var(--paper-2);color:var(--ink-2);border-radius:999px;
  padding:7px 14px;font-size:13px;cursor:pointer}
.chip:hover{border-color:var(--clay);color:var(--clay);background:#fff}
.recent-h{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);
  font-weight:600;margin:52px 0 4px;border-top:1px solid var(--line);padding-top:22px}
.rec{display:flex;align-items:baseline;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);
  cursor:pointer}
.rec:hover .rec-t{color:var(--clay)}
.rec-t{font-family:var(--serif);font-size:19px;margin:0;flex:1 1 auto;min-width:0}
.rec-m{font-size:12px;color:var(--ink-3);flex:0 0 auto;white-space:nowrap}
.rec-del{border:0;background:none;color:var(--line-2);cursor:pointer;font-size:15px;padding:0 4px}
.rec-del:hover{color:var(--clay)}
.rec-sub{font-size:12.5px;color:var(--ink-3);margin:3px 0 0}
.empty{color:var(--ink-3);font-size:14px;padding:16px 0 0}

/* ================================================================ THE PLACE WORKSPACE
 * V0.6 PASS 1. One canvas, edge to edge. The place is the page; text is annotation or drawer. */
#work{display:none}
body.work #work{display:block;height:100vh;overflow:hidden;position:relative}

.ws-top{display:flex;align-items:center;gap:9px;padding:14px 26px 0;flex:0 0 auto}
.ws-top .mark{font-family:var(--serif);font-size:15px;letter-spacing:.14em;color:var(--clay);
  font-weight:600;cursor:pointer;border:0;background:none;padding:0}
.ws-sep{color:var(--line-2);font-size:14px}
.ws-grow{flex:1 1 auto}
.ws-top .scope{font-size:12px;color:var(--ink-3);letter-spacing:.03em;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46%}

/* primary navigation. Seven ways of asking about one place, on one rule. */
.ws-nav{display:flex;gap:2px;padding:11px 22px 0;flex:0 0 auto;flex-wrap:wrap}
.wsn{border:1px solid transparent;background:none;color:var(--ink-2);font:inherit;font-size:13px;
  padding:6px 12px 7px;border-radius:8px;cursor:pointer;white-space:nowrap}
.wsn:hover:not([disabled]){background:var(--paper-2)}
.wsn.on{background:#fff;border-color:var(--clay);color:var(--clay);box-shadow:var(--shadow)}
.wsn[disabled]{cursor:default;color:var(--ink-3)}
.wsn.st-EMPTY_BY_EVIDENCE{text-decoration:line-through;text-decoration-thickness:1px}
.wsn.st-PENDING{border-style:dashed;border-color:var(--line-2)}
.wsn.st-NEEDS_UPSTREAM{color:var(--ink-3)}

.ws-head{padding:12px 26px 8px;flex:0 0 auto;display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.ws-place{font-family:var(--serif);font-size:38px;line-height:1;margin:0;font-weight:500;
  letter-spacing:-.012em}
.ws-q{font-size:15px;color:var(--ink-2);margin:0;flex:1 1 14rem}
.ws-crumb{font-size:12px;color:var(--ink-3);margin:0}
.ws-crumb .cr{border:0;background:none;padding:0;color:var(--ink-3);font:inherit;cursor:pointer}
.ws-crumb .cr:hover{color:var(--clay)}
.ws-crumb .cr.here{color:var(--ink-2)}

/* subject focus. Focus means quieten the rest, never delete it. */
.ws-subj{display:flex;gap:6px;flex:0 0 auto;flex-wrap:wrap}
.wsj{border:1px solid var(--line-2);background:#fff;color:var(--ink-2);border-radius:999px;
  padding:5px 13px;font-size:12.5px;cursor:pointer;white-space:nowrap}
.wsj:hover:not([disabled]){border-color:var(--clay);color:var(--clay)}
#wsSubj .wsj.on{background:var(--clay);border-color:var(--clay);color:#fff}
.wsj[disabled]{cursor:default;color:var(--ink-3);border-style:dashed;background:none}

/* the annotation that may sit on the canvas. Short, authored, and about what is drawn. */
.ws-note{position:absolute;top:14px;right:18px;max-width:19rem;font-size:12px;line-height:1.5;
  color:var(--ink-2);background:rgba(250,246,240,.9);border:1px solid var(--line);
  border-radius:10px;padding:11px 14px;pointer-events:none}
.ws-note:empty{display:none}
.ws-note b{display:block;font-size:10.5px;letter-spacing:.11em;text-transform:uppercase;
  color:var(--clay);font-weight:600;margin-bottom:4px}
.ws-note .wsn-q{pointer-events:auto}
.ws-proj{position:absolute;top:14px;left:18px}

/* ============================ THE INVESTIGATION DRAWER
 * The old narrative column, in full, now opened rather than imposed. */
.invdrawer{position:fixed;top:0;right:0;bottom:0;width:min(27rem,42vw);display:flex;
  flex-direction:column;background:var(--paper);border-left:1px solid var(--line-2);
  box-shadow:-14px 0 40px rgba(43,36,32,.10);transform:translateX(101%);
  transition:transform .22s cubic-bezier(.4,0,.2,1);z-index:6}
body.inv-open .invdrawer{transform:none}
.invd-top{display:flex;align-items:center;padding:16px 22px 6px;flex:0 0 auto}
.invd-k{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--clay);
  font-weight:600}
.invd-top .close{margin-left:auto;border:0;background:none;font-size:16px;color:var(--ink-3);
  cursor:pointer}
.icon{border:1px solid var(--line);background:#fff;color:var(--ink-2);border-radius:8px;cursor:pointer;
  font-size:12px;padding:5px 10px;flex:0 0 auto}
.icon:hover{border-color:var(--clay);color:var(--clay)}
.icon.on{background:var(--clay);color:#fff;border-color:var(--clay)}

.doc{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;padding:4px 26px 16px;
  overscroll-behavior:contain;transition:opacity .15s}
.doc.busy{opacity:.42}
.inv-head{padding:18px 0 2px}
.inv-kicker{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--clay);
  font-weight:600;margin-bottom:6px}
.inv-title{font-family:var(--serif);font-size:26px;line-height:1.18;margin:0 0 2px;font-weight:500;
  letter-spacing:-.01em}
.inv-q{font-size:13px;color:var(--ink-3);margin:0}

.sec{border-top:1px solid var(--line);margin-top:16px}
.sec > summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:15px 0 11px}
.sec > summary::-webkit-details-marker{display:none}
.sec-h{font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.sec-n{font-size:10.5px;color:var(--line-2);margin-left:auto;font-variant-numeric:tabular-nums}
.sec > summary::before{content:"+";color:var(--line-2);font-size:13px;width:10px}
.sec[open] > summary::before{content:"–"}
.sec[open] > summary .sec-h{color:var(--clay)}
.sec.unknown[open] > summary .sec-h{color:var(--warn)}

.item{margin:0 0 15px;position:relative;padding-left:0}
.item-t{margin:0 0 3px;font-size:15px;line-height:1.5;color:var(--ink)}
.sec.read .item-t{font-size:16.5px;line-height:1.52}
.item-s{margin:0;font-size:13.6px;line-height:1.5;color:var(--ink-2)}
.state{display:inline;font-size:13.6px;color:var(--ink-3);font-style:italic;margin-right:5px}
.item-foot{display:flex;gap:10px;align-items:center;margin-top:3px}
.src{border:0;background:none;padding:0;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--line-2);cursor:pointer;font-family:var(--sans);text-align:left}
.src:hover{color:var(--clay)}
.explore{border:0;background:none;padding:0;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--water);cursor:pointer}
.explore:hover{text-decoration:underline}
.srcmeta{font-size:12px;color:var(--ink-3);margin:2px 0 0;font-family:var(--mono)}
a.openlink{color:var(--water);font-size:12px;text-decoration:none;border-bottom:1px solid var(--water-soft)}

.retr{border-left:2px solid var(--water-soft);padding-left:12px}
.held{border-left:2px solid var(--line);padding-left:12px}

/* persistent interaction. The alpha put follow-ups below a 2,500-character answer; nobody saw them. */
.actionbar{flex:0 0 auto;display:flex;gap:7px;padding:10px 22px 16px;overflow-x:auto;
  border-top:1px solid var(--line);background:var(--paper-2);scrollbar-width:none}
.actionbar::-webkit-scrollbar{display:none}
.act{white-space:nowrap}
.act{border:1px solid var(--line-2);background:#fff;color:var(--ink-2);border-radius:999px;
  padding:6px 13px;font-size:12.5px;cursor:pointer}
.act:hover{border-color:var(--clay);color:var(--clay)}
.ask{flex:0 0 auto;padding:9px 26px 16px;background:none;max-width:44rem}
.ask .askbox{box-shadow:none;border-radius:11px;padding:2px 4px 2px 14px}
.ask .askbox input{font-size:15px;padding:11px 0}
.ask .go{padding:9px 14px;font-size:13px}

/* ================================================================ CANVAS */
.canvas{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--paper);
  position:relative;height:100vh}
.canvas-head{padding:20px 30px 8px;flex:0 0 auto}
.canvas-h{font-family:var(--serif);font-size:19px;margin:0;font-weight:500}
.canvas-s{font-size:12.5px;color:var(--ink-3);margin:2px 0 0}
.stagewrap{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;align-items:center;
  justify-content:center;padding:0 18px;position:relative}
svg#stage{width:100%;height:100%;max-height:100%}
.canvas-foot{flex:0 0 auto;display:flex;gap:14px;flex-wrap:wrap;align-items:center;
  padding:8px 26px 4px;font-size:11px;color:var(--ink-2);border-top:1px solid var(--line)}
.canvas-foot:empty{display:none;padding:0;border:0}
.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;
  vertical-align:middle;background:var(--line-2)}
.foot-note{color:var(--ink-3);max-width:34rem}

.sysnode circle{fill:#fff;stroke:var(--line-2);stroke-width:1.5}
.sysnode .sys-k{font-size:13px;fill:var(--ink);font-family:var(--sans)}
.sysnode .sys-d{font-size:11px;fill:var(--ink-3);font-family:var(--sans)}
.sysline{stroke:var(--line-2);stroke-width:1.5}
.sysnode.observed circle{fill:var(--water);stroke:var(--water)}
.sysnode.computed circle{fill:var(--clay);stroke:var(--clay)}
.sysnode.unobserved circle{fill:#fff;stroke:var(--line-2);stroke-dasharray:2.5 2.5}
.sysnode.absent circle{fill:var(--paper-3);stroke:var(--line);stroke-dasharray:2 3}
.sysnode.classified circle{fill:var(--sand);stroke:var(--sand)}
.legend-dot.s-observed{background:var(--water)}
.legend-dot.s-computed{background:var(--clay)}
.legend-dot.s-unobserved{background:#fff;box-shadow:inset 0 0 0 1.5px var(--line-2)}
.legend-dot.s-absent{background:var(--paper-3);box-shadow:inset 0 0 0 1.5px var(--line)}
.legend-dot.s-classified{background:var(--sand)}
.county{fill:#f7f2ea;stroke:var(--line-2);stroke-width:1}
.county.active{fill:var(--water-soft);stroke:var(--water)}
.reach{stroke:var(--water);stroke-width:3;fill:none}
.gauge circle{fill:var(--water);stroke:#fff;stroke-width:2}
.gauge text{font-size:12px;fill:var(--ink-2);font-family:var(--sans)}
.stocknode rect{fill:#fff;stroke:var(--line-2);stroke-width:1.5}
.stocknode.retrieved rect{fill:var(--water-soft);stroke:var(--water)}
.stocknode .sn-k{font-size:13.5px;fill:var(--ink);text-anchor:middle;font-family:var(--sans)}
.stocknode .sn-v{font-size:11.5px;fill:var(--ink-3);text-anchor:middle;font-family:var(--sans)}
.delta{font-size:15px;fill:var(--clay);font-family:var(--sans)}
.warrant-edge{stroke:var(--line-2);stroke-width:1.5;stroke-dasharray:4 4;fill:none}
.warrant-edge.dashed{stroke-dasharray:3 5}

/* ================================================================ DRAWER + TRACE */
/* The inspector is a sheet over the LOWER half, so the map it refers to stays on screen. */
.drawer{position:absolute;left:0;right:0;bottom:0;top:42%;background:rgba(250,246,240,.985);
  padding:22px 30px 26px;overflow-y:auto;display:none;border-top:1px solid var(--line-2);
  box-shadow:0 -10px 30px rgba(43,36,32,.08)}
.drawer.open{display:block}
.drawer h4{font-family:var(--serif);font-size:18px;margin:0 0 4px;font-weight:500}
.drawer .close{position:absolute;top:18px;right:22px;border:0;background:none;font-size:18px;
  color:var(--ink-3);cursor:pointer}
.ev-row{display:grid;grid-template-columns:9rem 1fr;gap:12px;padding:8px 0;border-top:1px solid var(--line);
  font-size:13.5px}
.ev-k{color:var(--ink-3);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding-top:2px}
.trace{font-family:var(--mono);font-size:11.5px;color:var(--ink-2);white-space:pre-wrap;line-height:1.5}
.saved{font-size:11px;color:var(--sage);white-space:nowrap;flex:0 0 auto;max-width:7rem;overflow:hidden;text-overflow:ellipsis}
.err{font-size:12.5px;color:var(--clay)}
.narrow-only{display:none}
@media (max-width:900px){
  /* §U. Narrow does not mean small type. The drawer takes the whole width when it is open, the
     place title steps down one size, and nothing is scaled. */
  .invdrawer{width:100vw}
  .ws-place{font-size:28px}
  .ws-nav{padding-left:16px;padding-right:16px}
  .ws-head{padding:12px 18px 8px}
  .ws-top{padding-left:16px;padding-right:16px}
}

/* the turn's answer, above the durable structure */
.sec.lead{border-top:1px solid var(--clay-soft);margin-top:18px}
.lead-h{padding:15px 0 11px}
.lead-h .sec-h{color:var(--clay)}
.sec.lead .item-t{font-size:16.5px;line-height:1.52}

.hitarea{fill:transparent}
.sysnode.hit{cursor:pointer}
.sysnode.hit:hover .hitarea{fill:rgba(180,85,45,.055)}
.sysnode.hit:hover .sys-k{fill:var(--clay)}

.canvas .back{display:none;border:1px solid var(--line);background:#fff;color:var(--ink-2);
  border-radius:8px;cursor:pointer;font-size:12px;padding:5px 10px}
body.canvas-open .canvas .back{display:block}

.drawer-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px;padding-top:16px;
  border-top:1px solid var(--line)}

/* research panel + source reader */
.drawer h5{font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--clay);
  font-weight:600;margin:22px 0 8px}
.tag{display:inline-block;margin-left:8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);border:1px solid var(--line);border-radius:4px;padding:1px 5px}
.passage{border-left:2px solid var(--water-soft);padding:2px 0 2px 12px;margin:0 0 12px}
.linklike{border:0;background:none;padding:0;color:var(--water);cursor:pointer;font-size:13.5px;
  text-align:left;font-family:inherit}
.linklike:hover{text-decoration:underline}
.act.working{pointer-events:none;color:var(--ink-3);border-style:dashed}

/* ================================================================ THE PLACE MAP */
.county{fill:#f7f2ea;stroke:var(--line-2);stroke-width:1}
.county.here{fill:#fbf7f1;stroke:var(--ink-3);stroke-width:1.6}
/* V0.6 PASS 2. The density wash is the atlas base, so it is one warm ramp, far back, and the teal
 * is given up to the water layer where it belongs. It is a measurement of where people were counted
 * and nothing else; the legend and the layer contract both say so. */
.tract{stroke:var(--paper);stroke-width:.6}
.tract.b0{fill:#f7f3ec}
.tract.b1{fill:#f0e9dd}
.tract.b2{fill:#e7dcc9}
.tract.b3{fill:#dccdb3}
.acequia{stroke:var(--water);stroke-width:1.4;fill:none;opacity:.75}
.placeline{fill:none;stroke:var(--clay);stroke-width:2.2;stroke-linejoin:round}
.mk{cursor:pointer}
.mk polygon,.mk rect,.mk circle{fill:#fff;stroke:var(--ink-2);stroke-width:1.8}
.mk .xmark{stroke:var(--ink-2);stroke-width:1.8;fill:none}
.mk.circle circle{fill:var(--sand);stroke:var(--stone)}
.mk.triangle polygon{fill:var(--sage);stroke:var(--sage)}
.mk.square rect{fill:var(--clay-soft);stroke:var(--clay)}
.mk.diamond polygon{fill:var(--water-soft);stroke:var(--water)}
.mk.dot circle{fill:var(--line-2);stroke:none}
.mk:hover polygon,.mk:hover rect,.mk:hover circle{stroke:var(--clay);stroke-width:2}
.mk.sel polygon,.mk.sel rect,.mk.sel circle{stroke:var(--clay);stroke-width:2.6}
.mk .cnt{font-size:14px;font-weight:600;fill:var(--ink);text-anchor:middle;font-family:var(--sans);pointer-events:none}
.selring{fill:none;stroke:var(--clay);stroke-width:1.5;stroke-dasharray:3 3}
.legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.lg{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--ink-2)}
.lgm{width:13px;height:13px;overflow:visible}
.lgm polygon,.lgm rect,.lgm circle{fill:#fff;stroke:var(--ink-2);stroke-width:1.4}
.lgm .xmark{stroke:var(--ink-2);stroke-width:1.8;fill:none}
.lgt{width:11px;height:11px;background:linear-gradient(90deg,#f6f1e8,#9cc2c4);display:inline-block;border-radius:2px}
.lga{width:14px;height:0;border-top:1.6px solid var(--water);display:inline-block}
.layerbar{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}
.lyr{border:1px solid var(--line);background:#fff;color:var(--ink-3);border-radius:999px;
  padding:3px 10px;font-size:11.5px;cursor:pointer;font-family:var(--sans)}
.lyr:hover{border-color:var(--clay);color:var(--clay)}
.lyr.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.lyrn{opacity:.6;font-variant-numeric:tabular-nums}
.canvas-foot{align-items:flex-start;gap:10px;flex-wrap:wrap}
svg#stage{touch-action:none;cursor:grab}
svg#stage:active{cursor:grabbing}
/* §9. When there is genuinely nothing to draw, the document takes the width rather than holding it. */
body.work.no-canvas #work{grid-template-columns:1fr}
body.work.no-canvas .canvas{display:none}
.sysline-btn{border:0;background:none;padding:0;color:var(--water);cursor:pointer;font-size:11px;
  letter-spacing:.07em;text-transform:uppercase}
.sysline-btn:hover{text-decoration:underline}

/* the place read: one block per system */
.sysblock{border-top:1px solid var(--line);padding:14px 0 2px}
.sysblock-h{display:flex;align-items:baseline;gap:12px;margin-bottom:10px}
.sysblock-h .sec-h{color:var(--clay)}
.item-t.nk{color:var(--ink-2)}
.nklab{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--warn);
  margin-right:4px}

.spoke{stroke:var(--line-2);stroke-width:1}
.hub{fill:var(--ink-3);stroke:#fff;stroke-width:1}
.canvas-foot .foot-note{flex-basis:100%;margin:2px 0 0}

/* On a narrow screen the utilities compress so the canvas switch stays reachable. */
@media (max-width:900px){
  .bar{padding:12px 14px 8px;gap:7px}
  .bar .icon{padding:5px 8px;font-size:11.5px}
  .bar .scope,.bar .saved{display:none}
  .doc{padding:4px 16px 14px}
  .actionbar,.ask{padding-left:16px;padding-right:16px}
}

.stage-n{font-size:19px;fill:var(--ink);text-anchor:middle;font-family:var(--sans);font-weight:600}
.sysnode.classified circle{fill:var(--sand);stroke:var(--stone);stroke-width:1.5}
.sysnode.unobserved circle{fill:#fff}
body.drawer-open .canvas-foot{opacity:.25}

.drawer code{font-family:var(--mono);font-size:11.5px;color:var(--ink-2);background:var(--paper-2);
  padding:2px 5px;border-radius:4px;word-break:break-all}

/* ================================================================ RESET 0.2
 * The map earned its space in the last pass. What was left was the left pane: finding, method, source
 * and unknown were all set at nearly the same weight, so a place overview read like an audit. The
 * hierarchy below is the whole fix -- FINDING loud, method quiet, knowledge boundary marked, provenance
 * one click away -- and it is typography and spacing, not cards. Dula is an atlas, not a dashboard.
 */
.holdline{margin:2px 0 0;font-size:11.5px;color:var(--ink-3);letter-spacing:.02em}
.sysblock{border-top:1px solid var(--line);padding:17px 0 6px}
.sysblock-h{display:flex;align-items:baseline;gap:12px;margin-bottom:7px}
.sys-read{margin:0;font-family:var(--serif);font-size:17.5px;line-height:1.38;color:var(--ink)}
.sys-how{margin:5px 0 0;font-size:12.8px;line-height:1.52;color:var(--ink-3)}
.sys-nk{margin:11px 0 0;font-size:14.6px;line-height:1.45;color:var(--ink-2)}
.sys-nk .nklab{margin-right:7px}
.sys-nk-p{margin:0 0 9px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.scopetag{display:inline-block;font-size:10.5px;letter-spacing:.06em;color:var(--ink-3);
  border:1px solid var(--line);border-radius:4px;padding:1px 6px;margin-left:5px;white-space:nowrap;
  background:var(--paper-2)}
.sys-foot{display:flex;align-items:baseline;gap:14px;margin:10px 0 0}
.howknow{border:0;background:none;padding:0;color:var(--ink-3);font-size:11.5px;cursor:pointer;
  border-bottom:1px solid var(--line-2)}
.howknow:hover{color:var(--clay);border-color:var(--clay)}
.also{font-size:11px;color:var(--ink-3)}
.sysline-btn{font-size:11.5px;letter-spacing:.02em}

/* THE PATH. Never a mystery which place you are in, and one click back to it. */
.bar .scope{display:flex;align-items:center;gap:2px;overflow:hidden;white-space:nowrap}
.cr{border:0;background:none;padding:0 2px;font-size:12px;color:var(--water);cursor:pointer;
  font-family:inherit;max-width:12rem;overflow:hidden;text-overflow:ellipsis}
.cr:hover{text-decoration:underline}
.cr.here{color:var(--ink-2);cursor:default;text-decoration:none}
.crsep{color:var(--line-2);font-size:11px;padding:0 1px}
.canv-sys{font-family:var(--sans);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--clay);border-left:1px solid var(--line-2);margin-left:11px;padding-left:11px;
  vertical-align:2px}

/* A SELECTED OBJECT. The pane is about the thing, and the geography of each figure is on its face. */
.obj-head{margin-bottom:12px}
.obj-what{margin:0 0 4px;font-size:14px;line-height:1.55;color:var(--ink-2)}
.obj-m{margin:0 0 7px;font-size:14.4px;line-height:1.46;color:var(--ink)}
.obj-m.county-only{color:var(--ink-2)}
.warn-block .sec-h{color:var(--warn)}
.warn-block{background:linear-gradient(90deg,rgba(154,107,31,.05),transparent 70%);
  padding-left:12px;margin-left:-12px}
.nk-block .sec-h{color:var(--warn)}
.precision{margin:12px 0 0;font-size:12.5px;line-height:1.52;color:var(--ink-3);
  border-left:2px solid var(--line-2);padding-left:11px}
.src.tiny{font-size:10px;padding:0 4px;opacity:.75}
.memlist{display:flex;flex-direction:column;gap:0}
.mem{display:flex;align-items:baseline;gap:10px;padding:5px 0;border-top:1px solid var(--line)}
.mem-n{font-size:13.6px;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
.mem-t{font-size:11px;color:var(--ink-3);flex:0 0 auto}
.fieldlist{display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
.fld{font-size:11px;color:var(--ink-3);border:1px dashed var(--line-2);border-radius:4px;
  padding:2px 7px;background:var(--paper)}
.drawer-lead{font-size:13px;color:var(--ink-2);margin:2px 0 14px;line-height:1.5}

/* INSIDE A SYSTEM. The system's own geography is emphasised; everything else recedes but stays, because
   losing the city outline would also lose the reader's sense of where they are. */
.lyr-counties.quiet,.lyr-tracts.quiet,.lyr-acequias.quiet,.lyr-food.quiet,.lyr-orgs.quiet{opacity:.22}
.lyr-tracts.em .tract{stroke-width:.7}
.lyr-acequias.em .acequia{stroke-width:2.6;opacity:1}
.placeline.em{stroke-width:2.4}
.aceq{cursor:pointer}
.acequia-hit{stroke:transparent;stroke-width:12;fill:none}
.aceq:hover .acequia{stroke-width:3;opacity:1}
.aceq.sel .acequia{stroke:var(--clay);stroke-width:3.4;opacity:1}
.tract.mk{cursor:pointer}
.tract.mk:hover{stroke:var(--clay);stroke-width:1.4}
.tract.mk.sel{stroke:var(--clay);stroke-width:2.2}
.mk .cnt.big{font-size:20px}
.armlab{font-size:11px;fill:var(--ink-2);text-anchor:middle;font-family:var(--sans);
  letter-spacing:.04em;pointer-events:none}

/* COMPOSITION, AND THE EDGE OF IT. Counts of observed roles, deliberately NOT joined by arrows: Dula
   holds no verified transaction, so an arrow would claim the one thing that is missing. The boundary is
   drawn as a boundary. */
.compband{border-bottom:1px solid var(--line);padding:0 0 13px;margin:0 0 12px}
.comp-h{font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--clay);
  font-weight:600;margin-bottom:9px}
.comp-sub{text-transform:none;letter-spacing:.01em;color:var(--ink-3);font-weight:400;font-size:11px;
  margin-left:9px}
.comprow{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:11px}
.comp{display:flex;align-items:center;gap:7px;border:1px solid var(--line-2);background:#fff;
  border-radius:9px;padding:6px 11px 6px 8px;cursor:pointer;font-family:inherit}
.comp:hover{border-color:var(--clay)}
.comp.on{border-color:var(--clay);background:var(--clay-soft)}
.compm{width:16px;height:16px;flex:0 0 auto}
.compm polygon,.compm rect,.compm circle{fill:#fff;stroke:var(--ink-2);stroke-width:1.6}
.compm .xmark{stroke:var(--ink-2);stroke-width:1.6;fill:none}
.compn{font-size:16px;font-weight:600;color:var(--ink)}
.compl{font-size:11.5px;color:var(--ink-2)}
.boundary{border-top:1px dashed var(--line-2);padding-top:10px}
.bnd-line{display:flex;gap:11px;align-items:baseline;margin-bottom:5px}
.bnd-lab{flex:0 0 7.2rem;font-size:10px;letter-spacing:.11em;text-transform:uppercase;
  color:var(--ink-3);font-weight:600}
.bnd-line.nope .bnd-lab{color:var(--warn)}
.bnd-v{font-size:12.6px;color:var(--ink-2);line-height:1.45}
.bnd-line.nope .bnd-v b{color:var(--ink)}
.bnd-why{margin:8px 0 0 8.2rem;font-size:11.5px;line-height:1.5;color:var(--ink-3)}
@media (max-width:900px){.bnd-lab{flex-basis:5.4rem}.bnd-why{margin-left:0}}
.sec.regional > summary .sec-h{color:var(--ink-3)}
.sec.regional[open] > summary .sec-h{color:var(--clay)}
.lead.read .sys-read:not(:first-of-type){margin-top:16px}
.sel-outline{fill:rgba(180,85,45,.14);stroke:var(--clay);stroke-width:2.4;pointer-events:none}
.sel-line{fill:none;stroke:var(--clay);stroke-width:3.4;pointer-events:none}
.cr{flex:0 0 auto;max-width:none}
.cr.here{flex:0 1 auto;min-width:0}
.sec.regional > summary .sec-h{text-transform:none;letter-spacing:.015em;font-size:12.5px;
  font-weight:500;color:var(--ink-2)}

/* ================================================================ V0.3A — DISCOVERY
 * A candidate is a thing to investigate. Nothing in this block is allowed to look like a rating: no
 * colour runs from bad to good, no badge says strong or weak, and the only emphasis is on what cuts
 * AGAINST an operator, because that is the part a reader is most likely to skip.
 */
.statusline{margin:10px 0 0;font-size:12.5px;color:var(--ink-3);line-height:1.5}
.statustag{display:inline-block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--clay);border:1px solid var(--clay-soft);background:#fff;border-radius:4px;
  padding:2px 7px;margin-right:8px;font-weight:600}
.candrow{border-top:1px solid var(--line);padding:11px 0 9px;cursor:pointer}
.candrow:first-of-type{border-top:0}
.candrow:hover .cand-n{color:var(--clay)}
.cand-n{margin:0;font-family:var(--serif);font-size:16.5px;line-height:1.3}
.cand-m{margin:3px 0 0;font-size:11.5px;color:var(--ink-3);letter-spacing:.02em}
.cand-w{margin:5px 0 0;font-size:13px;color:var(--ink-2);line-height:1.45}
.cand-x{margin:5px 0 0;font-size:13px;color:var(--warn);line-height:1.45}
.candrow.retr{border-left:2px dashed var(--line-2);padding-left:11px}
.pathrow{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 8px}
.pathchip{font-size:11.5px;border:1px solid var(--line-2);border-radius:999px;padding:4px 11px;
  color:var(--ink-2);background:var(--paper)}
.pathchip b{font-weight:600;color:var(--ink-3);margin-left:6px;text-transform:lowercase}
.pathchip.contradicted b,.pathchip.evidence_against b{color:var(--warn)}
.pathchip.no_candidate_found b{color:var(--ink-3);font-style:italic}
.searcharea path{fill:none;stroke:var(--clay);stroke-width:1.1;stroke-dasharray:5 4;opacity:.45}
.mk.cand .candring{fill:rgba(180,85,45,.10);stroke:var(--clay);stroke-width:1.8}
.mk.cand .canddot{fill:var(--clay);stroke:none}
.mk.cand.retr .candring{fill:none;stroke-dasharray:3 3}
.mk.cand.sel .candring{stroke-width:3}
.mk.cand:hover .candring{stroke-width:2.6}
.fieldq{padding:15px 0 10px}
.fq-lab{font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
  font-weight:600;margin:12px 0 3px}
.answered{border-left:2px solid var(--clay-soft);padding-left:13px;margin-top:10px}
.fq-form{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.fq-form input{flex:1 1 13rem;min-width:0;border:1px solid var(--line-2);border-radius:8px;
  padding:8px 11px;font-size:13px;font-family:inherit;background:#fff;color:var(--ink)}
.fq-form input:focus{outline:0;border-color:var(--clay)}
.fq-save{flex:0 0 auto}
.linkbtn{border:0;background:none;padding:0;color:var(--ink-3);font-size:11.5px;cursor:pointer;
  border-bottom:1px solid var(--line-2);font-family:inherit}
.linkbtn:hover{color:var(--clay);border-color:var(--clay)}

/* ================================================================ V0.3B — DISCOVERY
 * Provenance is a SHAPE (a broken ring was retrieved, a solid one was held) and the capability state is
 * a WEIGHT. Neither is a colour running from bad to good, because neither is a judgement about a firm.
 */
.candrow.disc{border-left:2px dashed var(--clay);padding-left:11px}
.strip{display:flex;flex-direction:column}
.striprow{display:grid;grid-template-columns:9.5rem 1fr;gap:12px;padding:7px 0;
  border-top:1px solid var(--line)}
.strip-k{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-3);
  font-weight:600;padding-top:2px}
.striprow.on .strip-k{color:var(--clay)}
.strip-v{font-size:13px;line-height:1.45;color:var(--ink-3)}
.striprow.on .strip-v{color:var(--ink)}
.comp.lyrtoggle{padding:6px 13px}
.mk.cand.cap-indicated .candring{stroke-width:2.4;fill:rgba(180,85,45,.16)}
.mk.cand.cap-unknown .candring{fill:none;stroke-dasharray:2 3}
.mk.cand.retr .canddot{fill:#fff;stroke:var(--clay);stroke-width:1.6}

/* ================================================================ V0.3B.1 — PRECISION IS VISIBLE
 * A dashed region means "somewhere in this town". A solid mark means "here". The difference is the
 * whole point: a reader must be able to see which records have a real location without reading a word.
 */
/* V0.6 PASS 3. A town aggregate: a settlement mark exactly on the held centroid, and the count in
 * type beside it. There is no disc, because an area would be a claim about extent. */
.mk.coll{cursor:pointer}
.coll-hit{fill:transparent;stroke:none}
.settle{fill:#fff;stroke:var(--ink-2);stroke-width:1.6}
.settle-c{fill:var(--ink-2);stroke:none}
.mk.coll:hover .settle,.mk.coll.sel .settle{stroke:var(--clay);stroke-width:2.2}
.mk.coll:hover .settle-c,.mk.coll.sel .settle-c{fill:var(--clay)}
.coll-town{font-family:var(--sans);font-size:9.5px;letter-spacing:.14em;fill:var(--ink-2);
  pointer-events:none}
.coll-town.sm{font-size:11px;letter-spacing:.01em;fill:var(--ink)}
.coll-n{font-family:var(--serif);font-size:25px;fill:var(--ink);pointer-events:none;
  font-variant-numeric:tabular-nums}
.coll-l{font-family:var(--mono);font-size:8.5px;fill:var(--ink-3);letter-spacing:.07em;
  pointer-events:none}
.coll-l.sm{font-family:var(--sans);font-size:11px;fill:var(--ink-3)}
.coll-p{font-family:var(--mono);font-size:8.5px;fill:var(--ink-3);letter-spacing:.07em;
  pointer-events:none}
.mk.exact polygon,.mk.exact rect,.mk.exact circle{stroke-width:2}
/* the bands of a place page never blend */
.band-h{display:flex;align-items:baseline;gap:10px;margin:22px 0 2px}
.band-h .sec-h{color:var(--clay)}
.band-why{font-size:11.5px;color:var(--ink-3);margin:0 0 8px;line-height:1.5}
.statechip{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);
  border:1px solid var(--line-2);border-radius:999px;padding:2px 9px;background:var(--paper)}
.ctx-block{border-left:2px solid var(--line-2);padding-left:13px;margin-top:6px}
.ctx-geo{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--warn);
  font-weight:600;margin:0 0 3px}
.universe{font-size:11px;color:var(--ink-3);margin:2px 0 0}
/* .coll-area / .coll-area2 are gone with the uncertainty discs they drew (V0.6 PASS 3). */

/* ================================================================ V0.3C · PORTFOLIO + SYSTEM VIEW
 * §55. A living development map, not network-analysis software. The same warm atlas language as the
 * rest: paper, one ink, clay for the thing you selected. §30/§68: nothing here is coloured for
 * quality, and the only thing a weight or a dash says is how strong the record is. */
.viewtog{display:inline-flex;gap:2px;background:var(--paper-3);border:1px solid var(--line-2);
  border-radius:999px;padding:2px;margin-left:12px;vertical-align:middle}
.vtg{border:0;background:none;color:var(--ink-2);font-size:11.5px;letter-spacing:.06em;
  text-transform:uppercase;padding:5px 13px;border-radius:999px;cursor:pointer}
.vtg.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(43,36,32,.08)}
.vtg[disabled]{opacity:.4;cursor:default}

.sysview{font-family:var(--sans)}
.sv-col{fill:var(--ink-3);font-size:9.5px;letter-spacing:.14em;text-anchor:middle}
.sv-n rect,.sv-n path{fill:#fff;stroke:var(--line-2);stroke-width:1}
.sv-opportunity rect{fill:var(--paper-2);stroke:var(--ink-3)}
.sv-condition path{fill:#fff;stroke:var(--stone);stroke-width:1.2}
.sv-actor rect{fill:var(--paper);stroke:var(--line-2)}
.sv-n.sv-sel rect,.sv-n.sv-sel path{stroke:var(--clay);stroke-width:2}
.sv-n{cursor:pointer}
.sv-n:hover rect,.sv-n:hover path{stroke:var(--clay)}
.sv-lab{fill:var(--ink);font-size:10.5px;text-anchor:middle}
.sv-st{fill:var(--ink-3);font-size:8.5px;letter-spacing:.07em;text-anchor:middle}
.sv-line{fill:none;stroke:var(--ink-3)}
.sv-head{fill:var(--ink-3);stroke:none}
.sv-head.open{fill:none;stroke:var(--ink-3);stroke-width:1.2}
.sv-q{fill:var(--ink-3);font-size:11px}
.sv-ek{fill:var(--ink-3);font-size:8.5px;letter-spacing:.05em;text-anchor:middle}
.sv-empty{fill:var(--ink-3);font-size:13px;text-anchor:middle;font-family:var(--serif)}
.svleg{display:flex;gap:16px;flex-wrap:wrap;color:var(--ink-3);font-size:11px;margin-top:6px}
.svl{display:inline-flex;align-items:center;gap:6px}

/* ---- the portfolio page. §56: no KPI cards. */
.pane{display:block}
.v3c-kicker{color:var(--ink-3);font-size:10.5px;letter-spacing:.14em;margin:0 0 6px;
  text-transform:uppercase}
.pane.pf h2,.pane.cond h2,.pane.rel h2,.pane.v3c-mem h2{font-family:var(--serif);font-size:23px;
  line-height:1.25;margin:2px 0 10px;font-weight:500}
.pf-place{color:var(--ink-2);font-size:13.5px;margin:0 0 4px}
.pf-geo{display:block;color:var(--ink-3);font-size:11.5px;letter-spacing:.04em;margin-top:3px}
.pf-not{color:var(--ink-3);font-size:12.5px;margin:0 0 20px;font-style:italic}
.pf-thesis{border-left:2px solid var(--clay);padding:2px 0 2px 14px;margin:0 0 6px}
.pf-thesis.none{border-left-color:var(--line-2)}
.pf-thesis p{margin:0 0 6px;font-size:15px}
.pf-sub,.cp-sub{color:var(--ink-2);font-size:12.5px;margin:0 0 6px}
.pf-list{display:flex;flex-direction:column;gap:7px;margin:0 0 6px}
.pfm,.pfc{display:block;width:100%;text-align:left;background:#fff;border:1px solid var(--line);
  border-radius:9px;padding:11px 13px;cursor:pointer;font-family:inherit}
.pfm:hover,.pfc:hover{border-color:var(--clay)}
.pfm-t,.pfc-t{display:block;font-size:14.5px;color:var(--ink);line-height:1.35}
.pfm-m,.pfc-m{display:block;margin-top:5px;color:var(--ink-3);font-size:11.5px}
.pfm-r{display:block;margin-top:5px;color:var(--ink-2);font-size:12.5px}
.pfm-o,.pfm-c{margin-left:8px;letter-spacing:.04em}
.pfm-a{margin-left:8px;color:var(--warn)}
.pf-flag{border:1px dashed var(--line-2);border-radius:9px;padding:10px 13px;margin:0 0 7px;
  background:var(--paper-2)}
.pf-flag p{margin:0 0 4px;font-size:14px}
.pf-unk{margin:0 0 14px;padding-left:18px;color:var(--ink-2);font-size:13px}
.pf-unk li{margin:0 0 5px}
.pf-unk b{font-family:var(--mono);font-size:11px;color:var(--ink-3);margin-right:4px}
.band-h.quiet{color:var(--ink-3)}

/* ---- a condition, and a relationship. The chain is drawn as a chain. */
.cp-what{color:var(--ink-2);font-size:13px;margin:0 0 8px}
.cp-desc{font-size:14.5px;margin:0 0 10px}
.cp-state{font-size:13px;color:var(--ink-2);margin:0 0 16px}
.cp-geoblock{font-size:14px;margin:0 0 6px}
.cp-list{margin:0 0 14px;padding-left:18px;font-size:13.5px}
.cp-list li{margin:0 0 7px}
.cp-note{display:block;color:var(--ink-3);font-size:11.5px}
.cp-geo{margin-left:8px;color:var(--ink-3);font-size:11px;letter-spacing:.04em}
.cp-geo.none{font-style:italic}
.cp-isnot{color:var(--ink-3);font-size:12px;font-style:italic;margin:16px 0 0;
  border-top:1px solid var(--line);padding-top:10px}
.rel-chain{margin:4px 0 14px}
.rel-step{display:flex;align-items:baseline;gap:9px;background:#fff;border:1px solid var(--line);
  border-radius:9px;padding:10px 12px}
.rel-step.rel-HYPOTHESIZED{border-style:dashed}
.rel-step.rel-UNKNOWN{border-style:dotted}
.rel-n{font-family:var(--mono);font-size:10px;color:var(--ink-3);flex:0 0 auto;min-width:30px}
.rel-t{flex:1 1 auto;font-size:13.5px}
.rel-arrow{text-align:center;color:var(--ink-3);font-size:14px;line-height:1.1;margin:2px 0}
.relbtn{border:0;background:none;color:var(--clay);font:inherit;font-size:13.5px;cursor:pointer;
  padding:0;text-align:left}
.relbtn:hover{text-decoration:underline}
.st-OBSERVED{background:var(--water-soft);color:#245a68}
.st-SUPPORTED{background:var(--paper-3);color:var(--ink-2)}
.st-HYPOTHESIZED{background:#fff;color:var(--ink-3);border:1px dashed var(--line-2)}
.st-UNKNOWN{background:#fff;color:var(--ink-3);border:1px dotted var(--line-2)}
/* V0.6. CONTRADICTED used to be a rust badge, which made rust read as "bad" -- the one thing the
 * canonical colour rule forbids, since rust is reserved for selection, attention and Dula's own
 * action. Contradiction is not a warning light, it is a direction of evidence, so it says so in
 * structure and words: struck through, in the ordinary ink, with a visible mark. */
.st-CONTRADICTED{background:#fff;color:var(--ink-2);border:1px solid var(--ink-3);
  text-decoration:line-through;text-decoration-thickness:1px}
.st-CONTRADICTED::after{content:" \2715";text-decoration:none;display:inline-block;
  font-size:9px;margin-left:3px;vertical-align:1px}

/* The same idea inside the two diagrams: the line keeps its style and gains a strike. */
.sv-strike,.cv-strike{stroke:var(--ink-2);stroke-width:1.2;fill:none}
.sv-e.sv-contradicted .sv-line,.cv-b.cv-contradicted rect{stroke:var(--ink-3)}

/* §53. The direct lane is fenced, so a reader can see at a glance that it is a different kind
 * of claim from the condition chain above it. */
.direct-lane{border:1px solid var(--line-2);border-radius:9px;padding:11px 13px;
  background:var(--paper-2);margin:0 0 14px}
.direct-lane p{margin:0 0 6px;font-size:13.5px}
.pf-wrong{border-left:2px solid var(--line-2);padding:2px 0 2px 13px;margin:0 0 10px}
.pf-wrong p{margin:0 0 5px;font-size:13.5px}
.wrong-id{font-family:var(--mono);font-size:10.5px;color:var(--ink-3);letter-spacing:.04em}

/* ================================================================ V0.4 · THE WORLD SURFACE
 * §B. The causal story is the object. A stop is drawn stopping, and an unknown is drawn as something
 * to go and learn rather than as a hole. */
.chainview{font-family:var(--sans)}
.cv-b rect{fill:#fff;stroke:var(--line-2)}
.cv-b{cursor:default}
.cv-b[data-kind="unknown"],.cv-b[data-kind="condition"],.cv-b[data-kind="force"]{cursor:pointer}
.cv-b[data-kind="unknown"] rect{stroke:var(--clay);fill:none}
.cv-b[data-kind="force"] rect{fill:var(--paper-2);stroke:var(--ink-3)}
.cv-b[data-kind="stop"] rect{stroke:var(--ink-3);fill:var(--paper-3)}
.cv-b[data-kind="branch"] rect{stroke:var(--line-2);fill:none}
.cv-b[data-kind="condition"] rect{stroke:var(--stone);stroke-width:1.4}
.cv-b:hover rect{stroke:var(--clay)}
.cv-t{fill:var(--ink);font-size:13px;text-anchor:middle}
.cv-s{fill:var(--ink-3);font-size:10.5px;text-anchor:middle;letter-spacing:.03em}
.cv-g{fill:var(--ink-3);font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.cv-n{fill:var(--ink-3);font-size:9px;text-anchor:middle;font-style:italic}
.cv-l{stroke:var(--ink-3);fill:none}
.cv-a{fill:var(--ink-3)}
.cv-br{stroke:var(--line-2);fill:none;stroke-dasharray:3 4}
.cv-empty{fill:var(--ink-3);font-size:13px;text-anchor:middle;font-family:var(--serif)}
.hzbar{display:flex;align-items:center;gap:4px;margin:0 0 10px}
.hz{border:1px solid var(--line-2);background:var(--paper-2);color:var(--ink-2);border-radius:999px;
  padding:5px 13px;font-size:11.5px;letter-spacing:.06em;cursor:pointer}
.hz.on{background:var(--clay);color:#fff;border-color:var(--clay)}
.hz-q{color:var(--ink-3);font-size:11.5px;margin-left:8px;flex:1 1 auto}
.wf{display:block;width:100%;text-align:left;background:#fff;border:1px solid var(--line);
  border-radius:9px;padding:11px 13px;cursor:pointer;font-family:inherit;margin:0 0 7px}
.wf:hover{border-color:var(--clay)}
.wf-t{display:block;font-size:14.5px;color:var(--ink);line-height:1.35}
.wf-m{display:block;margin-top:5px;color:var(--ink-3);font-size:11.5px}
.wf-v,.wf-o{margin-left:8px}
.wf-s{display:block;margin-top:4px;color:var(--ink-2);font-size:12.5px}
.cv-step{margin:0 0 8px}
.cv-stop{border:1px dashed var(--line-2);border-radius:9px;padding:10px 13px;
  background:var(--paper-2);margin:0 0 14px}
.cv-stop p{margin:0 0 5px;font-size:14px}
.pane.unknown h2{color:var(--clay)}
.cv-b[data-kind="branches"] rect{stroke:var(--ink-3);fill:var(--paper-2);stroke-dasharray:5 4}
.cv-b[data-kind="branches"]{cursor:pointer}

/* ================================================================ V0.6 · THE SHELL */
/* ================================================================ V0.6 · STAGE 1 · WORLD */
/* §1. The fence is the most important mark on this screen. It is what stops the left half being read
 * as a map, and it is drawn and labelled rather than implied. */
.wv-fence{fill:none;stroke:var(--line-2);stroke-width:1;stroke-dasharray:3 4;rx:10}
.wv-fence-l{fill:var(--ink-3);font-family:var(--mono);font-size:9.5px;letter-spacing:.1em}
.wv-fence-s{fill:var(--ink-3);font-size:10px}
.wv-band{fill:var(--ink);font-family:var(--mono);font-size:10px;letter-spacing:.09em}
.wv-band.quiet{fill:var(--ink-3)}
.wv-f{cursor:pointer}
.wv-hit{fill:transparent;rx:6}
.wv-f:hover .wv-hit,.wv-f:focus .wv-hit{fill:#fff;stroke:var(--line-2)}
.wv-n{fill:var(--ink);font-size:11px}
.wv-n.big{font-family:var(--serif);font-size:14px;fill:var(--ink)}
.wv-s{fill:var(--ink-3);font-size:9.5px}
.wv-c{fill:none;stroke:var(--ink-3)}
.wv-term{stroke:var(--ink-3);stroke-width:1.6}
.wv-rail{stroke:var(--line-2);stroke-width:1}
.wv-tick{fill:var(--clay);stroke:none}
.wv-land{cursor:pointer}
.wv-land-l{fill:var(--ink-2);font-size:11px}
.wv-geo-f{fill:#fff;stroke:var(--line-2);stroke-width:1;rx:10}
.wv-geo-l{fill:var(--ink);font-family:var(--serif);font-size:16px}
.wv-geo-s{fill:var(--ink-3);font-size:10px}
.wv-empty{fill:var(--ink-3);font-size:14px;text-anchor:middle}
.worldview text{text-anchor:start}
.worldview .wv-empty{text-anchor:middle}
/* The place outline is scaled into its frame, and a hairline scaled with it would vanish. The stroke
 * is held at its drawn weight instead, so the boundary reads the same here as on the map stage. */
.wv-geo *{vector-effect:non-scaling-stroke}

/* ================================================================ V0.6 PASS 7 · THE PLACE PROJECTED */
/* The place, kept as a watermark behind the projection: the reader has changed the question, not
 * the subject. Faint enough that it never competes with the composition in front of it. */
.ps-ghost{opacity:.09}
.ps-ghost .placeline{stroke-width:1.4}
.placesystem text{text-anchor:middle;font-family:var(--sans)}
.ps-head{font-family:var(--serif);font-size:23px;fill:var(--ink)}
.ps-band{font-family:var(--mono);font-size:9.5px;letter-spacing:.11em;fill:var(--ink-3)}
/* The disc is the frame around a role glyph, never the glyph itself, so the shape palette must not
 * reach it -- a filled disc would read as a mark whose size meant something. */
.placesystem .mk circle.ps-disc,.ps-disc{fill:#fff;stroke:var(--line-2);stroke-width:1}
.ps-role{cursor:pointer}
.ps-role:hover .ps-disc,.ps-role.sel .ps-disc{stroke:var(--clay);stroke-width:1.8}
.ps-n{font-family:var(--serif);font-size:27px;fill:var(--ink);font-variant-numeric:tabular-nums}
.ps-l{font-size:12.5px;fill:var(--ink)}
.ps-m{font-size:10.5px;fill:var(--ink-3)}
.ps-gline{stroke:var(--line-2);fill:none}
.ps-q{font-size:13px;fill:var(--ink-3);font-family:var(--sans)}
.ps-gaph{font-family:var(--mono);font-size:9px;letter-spacing:.13em;fill:var(--ink-3)}
.ps-foot{font-size:14px;fill:var(--ink)}
.ps-why{font-size:11.5px;fill:var(--ink-3)}
.placesystem .ps-why.left,.placesystem .ps-nk,.placesystem .ps-nt,
.placesystem .ps-nn{text-anchor:start}
.ps-nk{font-family:var(--mono);font-size:9px;letter-spacing:.13em;fill:var(--ink-3)}
.ps-need.have .ps-nk{fill:var(--sage)}
.ps-nt{font-family:var(--serif);font-size:18px;fill:var(--ink)}
.ps-nn{font-size:12.5px;fill:var(--ink-2)}
.ps-empty{fill:var(--ink-3);font-size:15px;text-anchor:middle}

.ws-headl{flex:1 1 20rem;min-width:0}
.ws-stage{margin:5px 0 0;font-size:12.5px;color:var(--ink-3);display:flex;gap:9px;align-items:baseline;
  flex-wrap:wrap}
.ws-stage:empty{display:none}
.ws-sl{color:var(--ink-2)}
.ws-sl:empty{display:none}
.ws-ss{color:var(--ink-3)}
.foot-more{border:1px solid var(--line-2);background:#fff;color:var(--ink-2);border-radius:999px;
  padding:4px 11px;font-size:11px;cursor:pointer;flex:0 0 auto}
.foot-more:hover{border-color:var(--clay);color:var(--clay)}
/* PASS 2. The atlas base: everything behind the economics is quiet enough to carry it. */
.lyr-counties .county{fill:#f6f1e9;stroke:var(--line);stroke-width:.8}
.lyr-counties .county.here{fill:#f1ebe0}
.lyr-acequias .acequia{stroke:var(--water);stroke-width:1.1;opacity:.5}
.lyr-tracts{opacity:.5}
.lyr-tracts.em{opacity:1}
/* the composition band inside the workspace foot stays one row high */
.canvas-foot .compband{margin:0}
.canvas-foot .boundary{display:flex;gap:14px;align-items:baseline;flex-wrap:wrap;margin-top:4px}
.canvas-foot .bnd-line{margin:0}
/* the workspace foot is a single compact strip, whatever it is carrying */
.canvas-foot .comp-h{font-size:10.5px}
.canvas-foot .comp-sub{font-size:10.5px}
.canvas-foot .comp{padding:3px 9px;font-size:11px}
.canvas-foot .layerbar{margin:0}
.canvas-foot .lyr{font-size:10.5px;padding:3px 9px}
.canvas-foot .legend{font-size:10.5px}
.canvas-foot .bnd-line{font-size:11px}

/* ================================================================ THE SPECIMEN FIELD
 * Production implementation of the approved S1r board. Type and marks share one coordinate system,
 * which is why the editorial text is drawn in the field rather than stacked above it. */
.specimen text{font-family:var(--sans);fill:var(--ink)}
.sp-kick{font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;fill:var(--ink-3)}
.sp-kick.clay{fill:var(--clay)}
.sp-lead{font-family:var(--serif);font-weight:500;fill:var(--ink)}
.sp-disp{font-family:var(--serif);font-weight:300;fill:var(--ink);font-variant-numeric:tabular-nums}
.sp-disp.quiet{fill:var(--ink-3)}
.sp-count{font-family:var(--serif);fill:var(--ink);font-variant-numeric:tabular-nums}
.sp-body{font-size:13.5px;fill:var(--ink-2)}
.sp-body.sm{font-size:11.5px;fill:var(--ink-3)}
.sp-meta{font-size:11px;fill:var(--ink-3)}
.sp-colophon{font-family:var(--mono);font-size:8.5px;letter-spacing:.09em;fill:var(--ink-3)}
.sp-num{font-family:var(--mono);font-size:9px;fill:var(--ink-3)}
.sp-num.mid{text-anchor:middle;fill:var(--ink)}
.sp-rule{stroke:var(--line-2);stroke-width:1;fill:none}
.sp-rule.ink{stroke:var(--ink);stroke-width:1.1}
.sp-ring{fill:var(--paper);stroke:var(--ink);stroke-width:1}
.sp-hit{fill:transparent}
.sp-empty{fill:var(--ink-3);font-size:15px;text-anchor:middle}
/* mark character: the five role shapes, at one size, from the map's own vocabulary */
.sp-marks polygon,.sp-marks rect,.sp-marks circle{stroke-width:1}
.sp-c .sp-marks circle{fill:var(--sand);stroke:var(--stone)}
.sp-c .sp-marks polygon{fill:var(--sage);stroke:var(--sage)}
.sp-c .sp-marks rect{fill:var(--clay);stroke:var(--clay);opacity:.72}
.sp-c .sp-marks path{stroke:var(--ink-2);stroke-width:1.2}
.sp-c[data-id="moved"] .sp-marks polygon{fill:var(--water);stroke:var(--water);opacity:.7}
.sp-c[data-id="produced"] .sp-marks polygon{fill:var(--sage);stroke:var(--sage);opacity:1}
.sp-c,.sp-reg,.sp-unknown{cursor:pointer;transition:opacity .16s}
.sp-c:focus,.sp-reg:focus,.sp-unknown:focus{outline:none}
.sp-c:focus .sp-ring,.sp-reg:focus .sp-hit{stroke:var(--clay);stroke-width:2}
.sp-reg:focus .sp-hit,.sp-reg:hover .sp-hit,.sp-unknown:focus .sp-hit,.sp-unknown:hover .sp-hit{
  fill:#fff;stroke:var(--line-2)}
.sp-c:hover .sp-ring{stroke:var(--clay);stroke-width:2}
.sp-unknown:focus text,.sp-unknown:hover text{fill:var(--clay)}
/* the warrant breakdown, behind the one sentence */
.warrants{margin:14px 0 6px}
.wr{position:relative;display:flex;align-items:baseline;gap:10px;padding:5px 0;
  border-top:1px solid var(--line)}
.wr-n{font-family:var(--serif);font-size:17px;min-width:3rem;font-variant-numeric:tabular-nums}
.wr-k{font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--ink-3)}
.wr-bar{position:absolute;left:0;bottom:0;height:2px;background:var(--line-2)}
.sp-c .sp-hit{fill:transparent;stroke:none}
.sp-c:hover .sp-hit,.sp-c:focus .sp-hit{fill:rgba(255,255,255,.5);stroke:var(--line-2);
  stroke-dasharray:3 4}
/* §4A. The register row lights with its cluster, from pointer or keyboard, through one class. */
.sp-reg.linked .sp-hit{fill:#fff;stroke:var(--clay)}
.sp-reg.linked .sp-kick,.sp-c.linked .sp-kick{fill:var(--clay)}
.sp-c.linked .sp-ring{stroke:var(--clay);stroke-width:2}
.sp-c:focus .sp-hit{fill:rgba(255,255,255,.55);stroke:var(--clay);stroke-width:1.6;
  stroke-dasharray:none}
.sp-reg{cursor:pointer}

/* ================================================================ THE SURVEY SHEET
 * Production implementation of the approved O1r board. Cartography subordinate to the question:
 * every layer is held, every role is declared, and nothing is drawn that Dula does not have. */
.survey text{font-family:var(--sans);fill:var(--ink)}
.ov-kick{font-family:var(--mono);font-size:9.5px;letter-spacing:.13em;fill:var(--ink-3)}
.ov-kick.clay{fill:var(--clay)}
.ov-lead{font-family:var(--serif);font-weight:500;fill:var(--ink)}
.ov-disp{font-family:var(--serif);font-weight:300;fill:var(--ink);font-variant-numeric:tabular-nums}
.ov-count{font-family:var(--serif);font-size:27px;fill:var(--ink);font-variant-numeric:tabular-nums}
.ov-count.sm{font-size:21px}
.ov-body{font-size:11px;fill:var(--ink-2)}
.ov-body.sm{font-size:10.5px}
.ov-body.quiet{fill:var(--ink-3)}
.ov-colophon{font-family:var(--mono);font-size:8.5px;letter-spacing:.09em;fill:var(--ink-3)}
.ov-rule{stroke:var(--line-2);stroke-width:1;fill:none}
.ov-rule.ink{stroke:var(--ink);stroke-width:1.1}
.ov-rule.hair{stroke:var(--line);stroke-width:.7}
.ov-boundary{fill:none;stroke:var(--clay);stroke-width:2.2;stroke-linejoin:round}
.ov-ghost{fill:none;stroke:var(--ink-3);stroke-width:.9;vector-effect:non-scaling-stroke}
.ov-aceq{fill:none;stroke:var(--water);stroke-width:1.4;opacity:.85;vector-effect:non-scaling-stroke}
.ov-pt{fill:var(--ink);stroke:none}
.ov-mark{fill:#fff;stroke:var(--ink);stroke-width:2}
.ov-dot{fill:var(--ink)}
.ov-lead-line{stroke:var(--ink-3);stroke-width:.8;fill:none}
.ov-hit{fill:transparent;stroke:none}
.ov-empty{fill:var(--ink-3);font-size:15px;text-anchor:middle}
.ov-agg,.ov-row,.ov-off{cursor:pointer}
.ov-agg:focus,.ov-row:focus,.ov-off:focus{outline:none}
.ov-agg:focus .ov-mark,.ov-agg:hover .ov-mark{stroke:var(--clay);stroke-width:2.6}
.ov-agg:focus .ov-hit{fill:rgba(180,85,45,.08)}
.ov-row:focus .ov-hit,.ov-row:hover .ov-hit,.ov-row.linked .ov-hit,
.ov-off:focus .ov-hit,.ov-off:hover .ov-hit{fill:#fff;stroke:var(--clay)}
.ov-row:focus .ov-kick,.ov-row.linked .ov-kick{fill:var(--clay)}
.ov-thumb{transition:opacity .16s;cursor:pointer}
.ov-thumb.linked .ov-ghost{stroke:var(--clay);stroke-width:1.5}
.ov-thumb.linked .ov-kick{fill:var(--clay)}

/* ---------------------------------------------------------------- C1r · THE INVESTIGATION BOARD */
.iv-kick{font-family:var(--mono);font-size:9.5px;letter-spacing:.13em;fill:var(--ink-2)}
.iv-kick.clay{fill:var(--clay)}
.iv-kick.rust{fill:var(--clay)}
.iv-kick.quiet{fill:var(--ink-3)}
.iv-lead{font-family:var(--serif);fill:var(--ink);font-weight:500}
.iv-body{font-family:var(--sans);font-size:12.5px;fill:var(--ink)}
.iv-body.quiet{fill:var(--ink-3);font-size:11.5px}
.iv-rule{stroke:var(--ink);stroke-width:1;fill:none}
.iv-rule.clay{stroke:var(--clay)}
.iv-rule.hair{stroke:var(--rule);stroke-width:.6}
.iv-hit{fill:transparent;stroke:none}
.iv-colophon{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;fill:var(--ink-3)}

.iv-cond,.iv-actor,.iv-resp,.iv-socket,.iv-axis,.iv-extent{cursor:pointer}
.iv-cond:focus,.iv-actor:focus,.iv-resp:focus,.iv-socket:focus,.iv-axis:focus,
.iv-extent:focus{outline:none}
.iv-cond:focus .iv-hit,.iv-cond:hover .iv-hit,.iv-cond.linked .iv-hit,
.iv-actor:focus .iv-hit,.iv-actor:hover .iv-hit,.iv-actor.linked .iv-hit,
.iv-socket:focus .iv-hit,.iv-socket:hover .iv-hit,.iv-socket.linked .iv-hit,
.iv-axis:focus .iv-hit,.iv-axis:hover .iv-hit,.iv-axis.linked .iv-hit,
.iv-extent:focus .iv-hit,.iv-extent:hover .iv-hit,
.iv-resp:focus .iv-hit,.iv-resp:hover .iv-hit{fill:rgba(180,85,45,.07)}
.iv-cond:focus .iv-cond-edge,.iv-cond.linked .iv-cond-edge{stroke-width:4}
.iv-socket:focus .iv-corner,.iv-socket.linked .iv-corner{stroke:var(--clay);stroke-width:1.8}
.iv-axis:focus .iv-kick,.iv-axis.linked .iv-kick{fill:var(--clay)}

/* the condition: a rust edge, never a filled box — a box would read as a container of findings */
.iv-cond-edge{stroke:var(--clay);stroke-width:2.5;fill:none}
.iv-cond-name{font-family:var(--serif);font-size:19px;fill:var(--ink);font-weight:500}

/* the broken extent: it reaches, then dissolves */
.iv-extent-line{fill:none;stroke-linecap:round;color:var(--ink-3)}
.iv-repeat{pointer-events:none}
.iv-rel{stroke:var(--ink-2);fill:none;color:var(--ink-2)}
.iv-dep{stroke:var(--ink-2)}
.iv-hollow{fill:none;stroke:var(--ink);stroke-width:1.2}

.iv-resp-box{fill:none;stroke:var(--clay);stroke-width:1;stroke-dasharray:4 4;opacity:.75}

/* the socket: dashed corner brackets, never a closed container */
.iv-corner{stroke:var(--ink-2);stroke-width:1;fill:none}
.iv-val{font-family:var(--serif);font-size:21px;fill:var(--ink)}
.iv-unit{font-family:var(--mono);font-size:8.5px;letter-spacing:.11em;fill:var(--ink-3)}
.iv-empty{font-family:var(--mono);font-size:9.5px;letter-spacing:.12em;fill:var(--ink-3)}
.iv-op{font-family:var(--serif);font-size:20px;fill:var(--ink-2);text-anchor:middle}
.iv-break{stroke:var(--clay);stroke-width:1.6;fill:none}

.iv-spine{stroke:var(--clay);stroke-width:.8;stroke-dasharray:1.5 4;fill:none}
.iv-axis-arm{stroke:var(--ink-2);fill:none}
.iv-axis-dot{fill:var(--clay)}
.iv-band-n{font-family:var(--serif);font-size:26px;fill:var(--ink)}
.iv-need-n{font-family:var(--mono);font-size:9.5px;fill:var(--clay)}
.iv-fixture-band{fill:var(--clay);opacity:.9}
.iv-fixture-t{font-family:var(--mono);font-size:9.5px;letter-spacing:.16em;fill:#fff}

/* ---------------------------------------------------------------- X2 · THE SOUNDING */
.sd-kick{font-family:var(--mono);font-size:9.5px;letter-spacing:.13em;fill:var(--ink-2)}
.sd-kick.clay{fill:var(--clay)}
.sd-kick.quiet{fill:var(--ink-3)}
.sd-lead{font-family:var(--serif);fill:var(--ink);font-weight:500}
.sd-body{font-family:var(--sans);font-size:12.5px;fill:var(--ink)}
.sd-body.quiet{fill:var(--ink-3);font-size:11.5px}
.sd-claim{font-family:var(--sans);font-size:13px;fill:var(--ink)}
.sd-rule{stroke:var(--ink);stroke-width:1;fill:none}
.sd-rule.hair{stroke:var(--rule);stroke-width:.6}
.sd-hit{fill:transparent;stroke:none}
.sd-colophon{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;fill:var(--ink-3)}

.sd-strat-l{font-family:var(--mono);font-size:10px;letter-spacing:.16em;fill:var(--ink)}
.sd-strat-s{font-family:var(--sans);font-size:11px;fill:var(--ink-3)}

/* the sounding itself: one width, style carries the state */
.sd-seg{stroke:var(--ink);fill:none;stroke-linecap:butt}
.sd-origin{fill:var(--ink)}
.sd-terminus{stroke:var(--clay);stroke-width:3;fill:none;stroke-linecap:round}
.sd-cross{stroke:var(--clay);fill:none}
.sd-resp-box{fill:none;stroke:var(--ink-3);stroke-width:.8;stroke-dasharray:3 3}

/* the membrane: its treatment is the claim about whether anything crosses */
.sd-membrane{stroke:none}
.sd-membrane.solid{fill:var(--ink);opacity:.82}
.sd-membrane.broken{fill:var(--ink);opacity:.82;
  mask:repeating-linear-gradient(to right,#000 0 54px,transparent 54px 72px)}
.sd-membrane.unknown{color:var(--ink-2);stroke:var(--ink-3);stroke-width:.5}

.sd-stratum,.sd-step,.sd-gate,.sd-cond,.sd-resp{cursor:pointer}
.sd-stratum:focus,.sd-step:focus,.sd-gate:focus,.sd-cond:focus,.sd-resp:focus{outline:none}
.sd-stratum:focus .sd-hit,.sd-stratum:hover .sd-hit,.sd-stratum.linked .sd-hit,
.sd-step:focus .sd-hit,.sd-step:hover .sd-hit,.sd-step.linked .sd-hit,
.sd-gate:focus .sd-hit,.sd-gate:hover .sd-hit,
.sd-cond:focus .sd-hit,.sd-cond:hover .sd-hit,
.sd-resp:focus .sd-hit,.sd-resp:hover .sd-hit{fill:rgba(180,85,45,.07)}
.sd-stratum:focus .sd-strat-l,.sd-stratum.linked .sd-strat-l,
.sd-step:focus .sd-kick,.sd-step.linked .sd-kick{fill:var(--clay)}

.sd-fixture-band{fill:var(--clay);opacity:.9}
.sd-fixture-t{font-family:var(--mono);font-size:9.5px;letter-spacing:.16em;fill:#fff}
.sd-research{cursor:pointer}
.sd-research:focus{outline:none}
.sd-research:focus .sd-hit,.sd-research:hover .sd-hit{fill:rgba(180,85,45,.07)}

/* ---------------------------------------------------------------- L1r2 · THE DEVELOPMENTAL LOOP
 * The only family whose subject is Dula rather than a place. FOUR CHANNELS carry the six
 * COMPOSITIONAL statuses, and not one of them is a channel the epistemic grammar uses:
 *
 *   FILL         a frame is filled only where a specimen plate is mounted
 *   INNER MARK   a sheet (approved, not built), a numeral (machinery), gates (specified + empty)
 *   BRACKET      solid where the slot is reachable, broken where Dula has not traversed it
 *   RETURN ARC   drawn only where a return has actually closed
 *
 * Line STYLE and WIDTH are set inline from grammar.js and must never be set here. The one exception
 * is `.lp-state.solid`, which is RETURN A's observed state and carries no dash attribute to override.
 */
.lp-kick{font-family:var(--mono);font-size:9.5px;letter-spacing:.13em;fill:var(--ink-2)}
.lp-kick.rust{fill:var(--clay)}
.lp-lead{font-family:var(--serif);fill:var(--ink);font-weight:500}
.lp-body{font-family:var(--sans);font-size:12.5px;fill:var(--ink)}
.lp-note{font-family:var(--sans);font-size:10.5px;fill:var(--ink-3)}
.lp-micro{font-family:var(--mono);font-size:9px;letter-spacing:.1em;fill:var(--ink-3)}
.lp-micro.rust{fill:var(--clay)}
.lp-strat{font-family:var(--mono);font-size:10.5px;letter-spacing:.17em;fill:var(--ink)}
.lp-strat.rust{fill:var(--clay)}
.lp-strat.small{font-size:9.5px;letter-spacing:.14em;fill:var(--ink-2)}
.lp-strat-s{font-family:var(--sans);font-size:11px;fill:var(--ink-3)}
.lp-colophon{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;fill:var(--ink-3)}
.lp-hit{fill:transparent;stroke:none}

/* rules. `ink` divides the section's own parts; `hair` divides one stratum from the next. */
.lp-rule{stroke:var(--line-2);stroke-width:.6;fill:none}
.lp-rule.ink{stroke:var(--ink);stroke-width:1}
.lp-rule.hair{stroke:var(--line);stroke-width:.6}

/* the two poles. PLACE0 is populated by its quantities and PLACE1 is empty because nothing is held
 * in it, so neither pole is filled: a filled pole would make PLACE1 look merely unfinished. */
.lp-pole-outline{fill:none;stroke-width:1}
.lp-pole-outline.held{stroke:var(--ink)}
/* PLACE1 is drawn BROKEN because Dula holds nothing in it -- the grammar's UNKNOWN, set inline
 * from grammar.js. No dash is written here, so there is no second source of line style. */
.lp-pole-outline.unreached{stroke:var(--ink-3)}
.lp-fact-n{font-family:var(--serif);font-size:22px;fill:var(--ink);font-variant-numeric:tabular-nums}
.lp-fact-t{font-family:var(--sans);font-size:11.5px;fill:var(--ink-2)}

/* the descent: ONE width, style from the grammar, set inline. */
.lp-descent{stroke:var(--ink);fill:none;stroke-linecap:butt}
.lp-origin{fill:var(--ink)}
.lp-terminus{stroke:var(--clay);stroke-width:3;fill:none;stroke-linecap:round}
.lp-state{stroke:var(--ink-2);stroke-width:1.2;fill:none}

/* CHANNEL 1 · FILL — and nothing else in this family may use it on a frame. */
.lp-plate{fill:var(--paper-2);stroke:none}
.lp-plate-edge{fill:none;stroke:var(--ink);stroke-width:1}
.lp-inst{font-family:var(--mono);font-size:8.5px;letter-spacing:.12em;fill:var(--ink-3)}

/* CHANNEL 2 · INNER MARK */
/* the sheet is a MARK, not a state: a hairline rectangle, never a dashed one, because a dash here
 * would be read as uncertainty rather than as "a board exists and was not built" */
.lp-sheet{fill:none;stroke:var(--ink-3);stroke-width:.8}
.lp-sheet-t{font-family:var(--mono);font-size:10px;letter-spacing:.14em;fill:var(--ink-2)}
.lp-numeral{font-family:var(--serif);font-size:26px;fill:var(--ink);font-variant-numeric:tabular-nums}
.lp-gate{font-family:var(--mono);font-size:8.5px;letter-spacing:.05em;fill:var(--ink-2)}

/* CHANNEL 3 · BRACKET — the dash is set inline, from grammar.js, so a broken bracket and a BROKEN
 * epistemic line are the same stroke and cannot drift apart. */
.lp-bracket{fill:none;stroke:var(--ink-2);stroke-width:1.1}

/* CHANNEL 4 · RETURN ARC — drawn only where a return has closed at least once. */
.lp-arc{fill:none;stroke:var(--clay);stroke-width:1.4}
.lp-arc-return{fill:none;stroke:var(--clay);stroke-width:1.4}
.lp-arc-tick{fill:none;stroke:var(--clay);stroke-width:1.4;stroke-linejoin:round}

.lp-mount-t{font-family:var(--serif);font-size:13.5px;fill:var(--ink);font-weight:500}
.lp-cap{font-family:var(--mono);font-size:8.5px;letter-spacing:.12em;fill:var(--ink-3)}
.lp-cap.rust{fill:var(--clay)}
.lp-objid{font-family:var(--mono);font-size:9px;letter-spacing:.1em;fill:var(--ink-3)}

/* ---- the reduced compositions. Each keeps the ink of the family it depicts. */
.lp-mini{pointer-events:none}
.lp-ground{fill:none;stroke:var(--ink-2);stroke-width:.7}
.lp-centroid{fill:var(--ink)}
.lp-figure{font-family:var(--serif);font-size:15px;fill:var(--ink);font-variant-numeric:tabular-nums}
.lp-fp{fill:none;stroke:var(--line-2);stroke-width:.5}
.lp-fp.area{stroke:var(--stone);stroke-width:.7}
.lp-aceq{fill:none;stroke:var(--water);stroke-width:.7}
/* S1r: one mark is one held record, at a constant radius. No connector exists in this miniature. */
.lp-ring{fill:none;stroke:var(--line-2);stroke-width:.6}
.lp-mark{fill:var(--stone);stroke:none}
.lp-mark[data-role="produced"]{fill:var(--sage)}
.lp-mark[data-role="moved"]{fill:var(--water)}
.lp-mark[data-role="processed"]{fill:var(--sand)}
.lp-mark[data-role="institution"]{fill:var(--ink-2)}
/* X2: one width, style per step, an honest terminus, and a membrane whose treatment is the claim. */
.lp-seg{stroke:var(--ink);fill:none;stroke-linecap:butt}
.lp-hair{stroke:var(--line);stroke-width:.4;fill:none}
.lp-membrane{fill:var(--ink-2);stroke:none;opacity:.8}
.lp-cross{stroke:var(--clay);fill:none}
/* C1r: dashed corners, never a closed container; the break sits on the operation that fails. */
.lp-corner{stroke:var(--ink-2);stroke-width:.8;fill:none}
.lp-socket-v{font-family:var(--serif);font-size:12px;fill:var(--ink);font-variant-numeric:tabular-nums}
.lp-socket-e{font-family:var(--mono);font-size:7.5px;letter-spacing:.08em;fill:var(--ink-3)}
.lp-op{font-family:var(--serif);font-size:12px;fill:var(--ink-2)}
.lp-break{stroke:var(--clay);stroke-width:1.4;fill:none}
/* the one dash in this block, and it is C1r's own: it mirrors `.iv-spine` exactly, so the miniature
 * cannot drift from the family it depicts. test_loop asserts the two stay identical. */
.lp-spine{stroke:var(--clay);stroke-width:.7;stroke-dasharray:1.5 4;fill:none}
.lp-arm{stroke:var(--ink-2);stroke-width:.7;fill:none}
/* C1r marks an uncoupled axis in RUST, not with a dash, and the miniature does the same */
.lp-arm.uncoupled{stroke:var(--clay)}

/* interaction. RUST is attention, never a verdict: a station is not worse for being selected. */
.lp-mount,.lp-pole,.lp-return{cursor:pointer}
.lp-mount:focus,.lp-pole:focus,.lp-return:focus{outline:none}
.lp-mount:focus .lp-hit,.lp-mount:hover .lp-hit,.lp-mount.linked .lp-hit,
.lp-pole:focus .lp-hit,.lp-pole:hover .lp-hit,.lp-pole.linked .lp-hit,
.lp-return:focus .lp-hit,.lp-return:hover .lp-hit{fill:rgba(180,85,45,.07)}
.lp-mount:focus .lp-mount-t,.lp-mount.linked .lp-mount-t{fill:var(--clay)}
.lp-mount:focus .lp-bracket,.lp-mount.linked .lp-bracket{stroke:var(--clay);stroke-width:1.8}
.lp-mount:focus .lp-plate-edge,.lp-mount.linked .lp-plate-edge{stroke:var(--clay);stroke-width:1.8}
.lp-pole:focus .lp-pole-outline,.lp-pole.linked .lp-pole-outline{stroke:var(--clay)}

/* THE LOOP IS A SECTION, AND A SECTION IS READ BY SCROLLING IT.
 * Every other family composes to roughly the stage's own proportion, so `.stagewrap` fitting the
 * whole drawing into view is right for them. The loop is deliberately taller than it is wide -- the
 * strata ARE the argument -- and fitting it into the stage shrank it to an unreadable thumbnail.
 * The SVG keeps its viewBox aspect with height:auto, so nothing here rescales the composition. */
body.loop-canvas .stagewrap{overflow-y:auto;align-items:flex-start;justify-content:center;
  padding:10px 18px 24px}
body.loop-canvas svg#stage{height:auto;max-height:none;cursor:default}
body.loop-canvas svg#stage:active{cursor:default}

/* ================================================================ R3.24 · THE ECONOMIC ATLAS
   The atlas is a place-centred instrument, so it sets its own measure and its own header rather
   than inheriting the research shell's. Every colour here is an existing token. */
.atl{max-width:72rem;margin:0 auto;padding:0 28px 120px}
.atl-head{padding:26px 0 0;border-bottom:1px solid var(--line);margin:0 0 10px}
.atl-crumb{font-size:13px;color:var(--ink-2);display:flex;gap:9px;align-items:baseline}
.atl-crumb b{font-family:var(--serif);font-size:17px;color:var(--ink);font-weight:600}
.atl-sep{color:var(--line-2)}
/* ONE NAVIGATION THAT SAYS WHAT IS BEHIND IT.
   A tab is now a label over a count read from the same artefact the view reads, which is
   what lets the second navigation below the page be deleted rather than restyled. The count
   is optional: a view with nothing to report shows the label alone rather than a zero. */
.atl-tabs{display:flex;gap:4px;margin:16px 0 0;flex-wrap:wrap;align-items:stretch}
.atl-tab b{display:block;font-weight:600;font-size:13px;line-height:1.2}
.atl-tab i{display:block;font-style:normal;font-size:10.5px;line-height:1.3;margin-top:3px;
  color:var(--ink-3);font-variant-numeric:tabular-nums}
.atl-tab.on i{color:var(--clay)}
.atl-tab{font-size:13px;padding:8px 14px;border-radius:7px 7px 0 0;color:var(--ink-2);
  cursor:pointer;border:1px solid transparent;border-bottom:none;position:relative;top:1px}
.atl-tab:hover{color:var(--ink);background:var(--paper-2)}
.atl-tab.on{color:var(--clay);background:var(--paper);border-color:var(--line);font-weight:600}
/* THE COUNTY CHOOSER IS A DRAWER, NOT A BAND.
   Thirty-three pills in three rows stood above every county view, unchanged, costing about
   190px before the county itself began. A native <details> keeps every county one click
   away, collapses by default, and is keyboard- and screen-reader-operable without script. */
.atl-pick{margin:10px 0 12px;border-bottom:1px solid var(--line)}
.atl-pick summary{list-style:none;cursor:pointer;display:flex;align-items:baseline;gap:10px;
  padding:9px 0;flex-wrap:wrap;text-transform:none;letter-spacing:0}
.atl-pick summary::-webkit-details-marker{display:none}
.atl-pick summary span{font-size:12.5px;font-weight:600;color:var(--ink-2);
  border-bottom:1px solid var(--line-2);padding-bottom:1px}
.atl-pick summary:hover span{color:var(--clay);border-bottom-color:var(--clay)}
.atl-pick summary:focus-visible{outline:2px solid var(--clay);outline-offset:3px;
  border-radius:3px}
.atl-pick summary i{font-style:normal;font-size:11px;color:var(--ink-3)}
.atl-pick summary::before{content:"▸";color:var(--line-2);font-size:11px}
.atl-pick[open] summary::before{content:"▾"}
.atl-places{display:flex;gap:6px;flex-wrap:wrap;padding:2px 0 14px}

/* ON A PHONE THE STRIP SCROLLS RATHER THAN STACKS.
   Nine tabs over two lines each wrapped to five rows and pushed the county name 536px down
   -- the header became the page. A single scrolling row keeps every tab reachable AND keeps
   the counts, which are the reason the second navigation could be deleted at all. */
@media(max-width:760px){
  .atl-tabs{flex-wrap:nowrap;overflow-x:auto;gap:2px;margin-top:12px;
    scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .atl-tabs::-webkit-scrollbar{display:none}
  .atl-tab{flex:0 0 auto;padding:7px 11px}
  .atl-tab b{font-size:12.5px;white-space:nowrap}
  .atl-tab i{font-size:10px;white-space:nowrap}
  .atl-pick{margin:6px 0 10px}
  .atl-pick summary{gap:6px;padding:8px 0}
  .atl-pick summary i{flex-basis:100%}
}
.atl-pill{font-size:11px;letter-spacing:.04em;padding:4px 11px;border-radius:999px;
  border:1px solid var(--line);color:var(--ink-3);cursor:pointer;background:var(--paper-2)}
.atl-pill:hover{color:var(--ink);border-color:var(--line-2)}
.atl-pill.on{background:var(--clay);color:#fff;border-color:var(--clay)}

/* ---- the entrance */
.atl-entrance{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center;
  min-height:76vh;padding:3vh 0 0}
.atl-title{font-family:var(--serif);font-size:62px;line-height:1.02;margin:14px 0 0;
  font-weight:600;letter-spacing:-.015em}
.atl-lead{font-size:16.5px;color:var(--ink-2);margin:18px 0 0;max-width:30rem;line-height:1.6}
.atl-pick{margin:34px 0 0}
.atl-pick-l{font-size:10.5px;letter-spacing:.17em;text-transform:uppercase;color:var(--clay);
  margin:0 0 10px;font-weight:600}
.atl-pick-grid{display:flex;gap:9px;flex-wrap:wrap}
.atl-pick-c{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 15px;
  cursor:pointer;min-width:9.5rem;transition:border-color .14s,transform .14s}
.atl-pick-c:hover{border-color:var(--clay);transform:translateY(-1px)}
.atl-pick-c b{display:block;font-family:var(--serif);font-size:15.5px}
.atl-pick-sub{display:block;font-size:11px;color:var(--ink-3);margin:1px 0 0}
.atl-pick-n{display:block;font-size:11.5px;color:var(--clay);margin:6px 0 0}
.atl-disc{font-size:12.5px;color:var(--ink-2);margin:30px 0 0;max-width:32rem;line-height:1.6;
  border-left:2px solid var(--clay-soft);padding-left:14px}
.atl-disc-l{color:var(--clay);text-decoration:none;margin-left:6px}

/* ---- drawing surfaces */
.atl-fig{margin:0}
.atl-map,.atl-tree{width:100%;height:auto;display:block}
.atl-county{transition:fill .15s}
.atl-county:hover{fill:var(--clay-soft)}
.atl-cell:hover rect{stroke:var(--clay);stroke-width:1.6}
.atl-cap{font-size:11.5px;color:var(--ink-3);margin:10px 0 0;line-height:1.55;max-width:46rem}
.atl-share{width:100%;height:26px;display:block;margin:14px 0 0}

/* ---- hero */
.atl-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:start;
  padding:22px 0 0;border-top:none;margin-top:0}
.atl-h1{font-family:var(--serif);font-size:46px;line-height:1.06;margin:0;font-weight:600}
.atl-figs{display:flex;gap:30px;flex-wrap:wrap;margin:24px 0 0}
.atl-fig-n{min-width:6rem}

/* ---- findings */
.atl-finds{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:18px}
.atl-find{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px;
  box-shadow:var(--shadow);position:relative}
.atl-find-n{font-family:var(--serif);font-size:13px;color:var(--clay);border:1px solid var(--clay-soft);
  width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin:0 0 10px}
.atl-find h3{font-family:var(--serif);font-size:18px;line-height:1.28;margin:0 0 8px}
.atl-q{font-family:var(--serif);font-style:italic;color:var(--clay);margin-top:10px}
.atl-link{display:inline-block;margin:12px 0 0;font-size:12.5px;color:var(--clay);cursor:pointer}
.atl-link:hover{text-decoration:underline}
.atl-next{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:12px}
.atl-next-card{border:1px solid var(--line);border-radius:10px;padding:16px 18px;cursor:pointer;
  background:var(--paper-2);transition:border-color .14s}
.atl-next-card:hover{border-color:var(--clay);background:#fff}

/* ---- instruments */
.atl-bar{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:0 0 16px}
.atl-chip{font-size:12px;padding:6px 13px;border-radius:999px;border:1px solid var(--line-2);
  cursor:pointer;color:var(--ink-2);background:var(--paper-2)}
.atl-chip:hover{border-color:var(--clay);color:var(--ink)}
.atl-chip.on{background:var(--clay);color:#fff;border-color:var(--clay)}
.atl-chip b{margin-left:5px;opacity:.75}
.atl-hint{font-size:11.5px;color:var(--ink-3);margin-left:4px}
.atl-tally{display:flex;gap:40px;flex-wrap:wrap;margin:20px 0 0}
.atl-flow-row{display:flex;gap:14px;align-items:baseline;padding:7px 0;
  border-bottom:1px solid var(--line)}
.atl-flow-pair{flex:1;font-size:13.5px}
.atl-arrow{color:var(--clay);margin:0 4px}
.atl-flow-n{font-family:var(--serif);font-size:16px;color:var(--clay);min-width:4.5rem;
  text-align:right}
.atl-rel{display:flex;gap:14px;align-items:flex-start;padding:12px 0;
  border-bottom:1px solid var(--line)}
.atl-rel-line{width:30px;height:2px;margin-top:9px;flex:none;background:var(--ink-3)}
.atl-rel-line.dash{background:none;border-top:2px dashed var(--ink-3)}
.atl-cond,.atl-group{background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:18px 20px;margin:0 0 12px;box-shadow:var(--shadow)}
.atl-cond-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin:0 0 8px}
.atl-cond-head b{font-size:14px}
.atl-cond-res{font-size:11px;color:var(--ink-3);margin-left:auto}
.atl-seven{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:12px}
.atl-seven-c{border:1px solid var(--line);border-radius:10px;padding:14px 16px;
  background:var(--paper-2)}
.atl-seven-c b{display:block;margin:6px 0 0;font-size:13.5px}
.atl-ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:10px}
.atl-rung{border:1px solid var(--line);border-radius:10px;padding:14px 16px;opacity:.55}
.atl-rung.on{opacity:1;border-color:var(--clay);background:var(--paper-2)}
.atl-rung-n{font-family:var(--serif);color:var(--clay);font-size:13px}
.atl-meas{display:flex;gap:16px;align-items:baseline;padding:12px 0;
  border-bottom:1px solid var(--line)}
.atl-meas .num{min-width:6rem}
.atl-cov{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:12px}
.atl-cov-c{border:1px solid var(--line);border-radius:10px;padding:14px 16px}
.atl-cov-c b{display:block;margin:6px 0 0;font-size:13.5px}

@media(max-width:900px){
  .atl-entrance,.atl-hero{grid-template-columns:1fr;gap:26px;min-height:0}
  .atl-title{font-size:44px}
  .atl-h1{font-size:34px}
  .atl-entrance-r{order:-1}
}
@media(max-width:560px){
  .atl{padding:0 16px 90px}
  .atl-title{font-size:36px}
  .atl-figs{gap:20px}
  .atl-tally{gap:22px}
  .atl-cond-res{margin-left:0;width:100%}
}

/* The map should read as cartography, not as a wireframe. */
.atl-map{background:linear-gradient(170deg,#fbf8f3 0%,#f6efe4 100%);border:1px solid var(--line);
  border-radius:10px}
.atl-map path{vector-effect:non-scaling-stroke}
.atl-entrance-r .atl-cap{text-align:left}

/* ---- R3.25 INVESTIGATION. The hierarchy is the argument: a finding reads first and largest,
   its evidence basis is a quiet chip rather than a warning, and the evidence that would change
   a conclusion sits beside that conclusion instead of opening the page. */
.iv h3.iv-q{font-family:var(--serif);font-size:21px;font-weight:600;margin:26px 0 2px;
  color:var(--ink);letter-spacing:-.01em}
.iv-sec:first-of-type h3.iv-q{margin-top:6px}
.iv-lede{margin:0 0 12px;color:var(--ink-2);font-size:13.5px;max-width:62ch}
.iv-claim{border-left:2px solid var(--line-2);padding:2px 0 2px 14px;margin:0 0 14px}
.iv-head{margin-bottom:3px}
.iv-stmt{margin:0;font-family:var(--serif);font-size:16.5px;line-height:1.5;max-width:68ch}
.iv-lim{margin:5px 0 0;color:var(--ink-3);font-size:12.5px;max-width:66ch}
.iv-open{margin:6px 0 0;font-size:12.5px;color:var(--ink-2);max-width:66ch}
.iv-open b{color:var(--ink);font-weight:600}
.iv-basis{display:inline-block;font-family:var(--mono);font-size:10px;letter-spacing:.07em;
  text-transform:uppercase;padding:1px 7px;border-radius:9px;color:var(--ink-2);
  background:var(--paper-2);border:1px solid var(--line)}
.iv-OBSERVED_LOCAL{background:var(--water-soft);border-color:var(--water);color:var(--water)}
.iv-STRUCTURAL{background:var(--paper-3);border-color:var(--sand);color:var(--ink-2)}
.iv-DERIVED{background:var(--paper-2);border-color:var(--line-2)}
.iv-ABSENT{background:transparent;border-style:dashed;border-color:var(--line-2);color:var(--ink-3)}
.iv-foot{margin:22px 0 0;padding-top:12px;border-top:1px solid var(--line);
  color:var(--ink-3);font-size:12.5px;max-width:70ch}
.cd-dir{display:inline-block;font-family:var(--mono);font-size:10px;letter-spacing:.07em;
  text-transform:uppercase;padding:1px 7px;border-radius:9px;margin-right:4px;border:1px solid}
.cd-INCREASE{color:var(--sage);border-color:var(--sage);background:#eef1e9}
.cd-DECREASE{color:var(--clay);border-color:var(--clay);background:var(--clay-soft)}
.cd-AMBIGUOUS{color:var(--warn);border-color:var(--warn);background:#f6eedd}
.cd-mag{margin:4px 0 0;font-family:var(--mono);font-size:11px;color:var(--ink-3)}
.cd-det{margin:7px 0 0;font-size:12.5px;color:var(--ink-2)}
.cd-det summary{cursor:pointer;color:var(--water);font-size:12.5px}
.cd-det ul{margin:5px 0 8px;padding-left:18px}
.cd-det li{margin:2px 0;max-width:64ch}
.cd-sub{margin:6px 0 0;font-weight:600;color:var(--ink);font-size:12px}
.cd-h{font-family:var(--serif);font-size:16px;margin:20px 0 8px;color:var(--ink)}
.cd-arch{margin:5px 0 0;font-size:12px;color:var(--ink-2)}
.cd-arch code{font-family:var(--mono);font-size:10.5px;background:var(--paper-2);
  border:1px solid var(--line);border-radius:4px;padding:1px 5px}
.cd-cond{margin:5px 0 0;font-size:12.5px;color:var(--ink-2);max-width:66ch}

/* ---- R3.27 STATEWIDE INSTRUMENT */
.sw-head{display:flex;align-items:flex-start;gap:16px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px}
.sw-sys{margin-left:auto;display:flex;flex-wrap:wrap;gap:4px;max-width:420px;justify-content:flex-end}
.sw-chip{font-family:var(--mono);font-size:9px;letter-spacing:.06em;text-transform:uppercase;
  padding:2px 7px;border-radius:9px;border:1px solid var(--line-2);color:var(--ink-2);background:var(--paper-2)}
.sw-grid{display:grid;grid-template-columns:260px 1fr;gap:20px}
.sw-qb{display:block;width:100%;text-align:left;border:1px solid transparent;background:none;
  padding:7px 9px;border-radius:6px;cursor:pointer;margin-bottom:2px;font-family:var(--sans)}
.sw-qb b{display:block;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.sw-qb i{display:block;font-family:var(--mono);font-size:8.5px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--ink-3);font-style:normal;margin-top:2px}
.sw-qb:hover{background:var(--paper-2)}
.sw-qb.on{background:var(--clay-soft);border-color:var(--clay)}
.sw-qb.on b{color:var(--ink)}
.sw-un{margin-top:12px;padding-top:9px;border-top:1px dotted var(--line)}
.sw-un>b{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.sw-un div{margin-top:6px}
.sw-un span{display:block;font-size:12px;color:var(--ink-3)}
.sw-un em{display:block;font-size:10.5px;color:var(--ink-3);font-style:normal;opacity:.85}
.sw-a h3{font-family:var(--serif);font-size:19px;margin:0 0 5px;font-weight:600}
.sw-lede{font-family:var(--serif);font-size:16.5px;line-height:1.5;margin:0 0 14px;max-width:68ch}
.sw-bars{margin:10px 0}
.sw-bar{display:flex;align-items:center;gap:8px;font-size:11.5px;margin:3px 0}
.sw-bar i{flex:none;width:150px;color:var(--ink-2);font-style:normal}
.sw-bar .t{flex:1;height:10px;background:var(--paper-2);border-radius:2px;overflow:hidden}
.sw-bar .t b{display:block;height:100%;background:var(--clay);opacity:.82}
.sw-bar em{flex:none;width:64px;text-align:right;font-family:var(--mono);font-size:11px;font-style:normal}
.sw-bar s{flex:none;width:62px;text-align:right;font-family:var(--mono);font-size:10px;
  color:var(--ink-3);text-decoration:none}
.sw-spark{display:flex;align-items:flex-end;gap:2px;height:52px;margin-top:12px}
.sw-spark i{flex:1;background:var(--clay-soft);border-radius:1px 1px 0 0;min-height:2px}
.sw-spark i:last-child{background:var(--clay)}
.sw-ax{display:flex;justify-content:space-between;font-family:var(--mono);font-size:9px;color:var(--ink-3);margin-top:2px}
.sw-part{margin-top:12px}
.sw-part div{display:flex;gap:9px;align-items:baseline;padding:4px 0;border-bottom:1px dotted var(--line)}
.sw-part b{font-size:12.5px;min-width:150px}
.sw-part span{font-family:var(--mono);font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:var(--clay)}
.sw-part i{font-size:11.5px;color:var(--ink-2);font-style:normal}
.sw-note{margin:10px 0 0;font-size:11.5px;color:var(--ink-3);max-width:70ch;line-height:1.45}
.sw-src{margin:10px 0 0;font-family:var(--mono);font-size:9px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--ink-3)}
@media(max-width:820px){.sw-grid{grid-template-columns:1fr}.sw-sys{max-width:none}}

/* ---- R3.27 THE INVESTIGATION · four connected activities */
.iv-top{display:flex;align-items:flex-start;gap:16px;margin-bottom:10px}
.iv-sysrow{margin-left:auto;display:flex;flex-wrap:wrap;gap:4px;max-width:430px;justify-content:flex-end}
.iv-nav{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:14px}
.iv-tab{font-family:var(--sans);font-size:12.5px;padding:7px 14px;border:1px solid transparent;
  border-bottom:0;border-radius:6px 6px 0 0;background:none;color:var(--ink-2);cursor:pointer}
.iv-tab:hover{background:var(--paper-2)}
.iv-tab.on{background:var(--clay);color:#fff}
.iv-tab.off{color:var(--ink-3);opacity:.5;cursor:default}
.iv-body{display:grid;grid-template-columns:1fr 272px;gap:22px}
.iv2 h3{font-family:var(--serif);font-size:17px;margin:0 0 7px;font-weight:600}
.iv-side{border-left:1px solid var(--line);padding-left:16px}
.iv-carry{font-size:11.5px;color:var(--ink-2);line-height:1.5;margin:0 0 10px}
.iv-next{display:block;width:100%;text-align:left;font-family:var(--sans);font-size:12px;
  padding:8px 11px;border:1px solid var(--clay);background:var(--clay-soft);color:var(--ink);
  border-radius:6px;cursor:pointer;margin-top:10px}
.iv-next:hover{background:var(--clay);color:#fff}
.iv-ans{border-left:2px solid var(--line-2);padding-left:11px;margin:9px 0}
.iv-ans b{font-size:12.5px}
.iv-ans p{margin:2px 0;font-size:13px;color:var(--ink-2);line-height:1.5;max-width:70ch}
.iv-ans em{display:block;font-size:11px;color:var(--ink-3);font-style:normal;margin-top:3px;max-width:70ch}
.iv-un{margin-top:14px;padding-top:9px;border-top:1px dotted var(--line)}
.iv-un>b{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.iv-un div{font-size:11.5px;color:var(--ink-3);margin-top:4px}
.iv-cond{border-left:2px solid var(--line-2);padding-left:9px;margin-bottom:10px}
.iv-cond b{font-family:var(--mono);font-size:9px;letter-spacing:.07em;color:var(--clay)}
.iv-cond p{margin:2px 0;font-size:11.5px;color:var(--ink-2);line-height:1.45}
.iv-cond em{font-size:10.5px;color:var(--ink-3);font-style:normal}
.iv-strat{display:flex;gap:12px;border:1px solid var(--line);border-radius:8px;padding:11px 13px;
  margin-bottom:9px;cursor:pointer;background:var(--paper)}
.iv-strat:hover{border-color:var(--line-2);background:var(--paper-2)}
.iv-strat.on{border-color:var(--clay);background:rgba(232,210,196,.26)}
.iv-sk{flex:none;width:26px;height:26px;border-radius:50%;background:var(--paper-3);
  display:grid;place-items:center;font-family:var(--serif);font-size:13px;color:var(--ink)}
.iv-strat.on .iv-sk{background:var(--clay);color:#fff}
.iv-sb b{font-size:14px;font-family:var(--serif)}
.iv-sb p{margin:3px 0;font-size:11.5px;color:var(--ink-2);line-height:1.45;max-width:72ch}
.iv-sb i{font-family:var(--mono);font-size:8.5px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);font-style:normal;margin-right:5px}
.iv-cap{color:var(--ink-3)!important}
.iv-here{color:var(--water)!important}
.iv-nothere{color:var(--ink-3)!important}
.iv-par{display:flex;align-items:center;gap:9px;padding:7px 0;border-bottom:1px dotted var(--line)}
.iv-pl{flex:1}.iv-pl b{display:block;font-size:12.5px}
.iv-pl i{font-family:var(--mono);font-size:9.5px;color:var(--ink-3);font-style:normal}
.iv-pb{width:26px;height:26px;border:1px solid var(--line-2);background:var(--paper);
  border-radius:5px;cursor:pointer;font-size:14px;color:var(--ink-2);line-height:1}
.iv-pb:hover{background:var(--clay);border-color:var(--clay);color:#fff}
.iv-pv{min-width:92px;text-align:right;font-family:var(--mono);font-size:13px}
.iv-out{margin-top:8px}
.iv-out div{display:flex;align-items:baseline;gap:10px;padding:7px 0;border-bottom:1px dotted var(--line)}
.iv-out em{flex:none;width:160px;font-style:normal;font-size:12px;color:var(--ink-2)}
.iv-out b{font-family:var(--serif);font-size:21px;min-width:112px}
.iv-out s{flex:1;text-decoration:none;font-size:11px;color:var(--ink-3)}
@media(max-width:900px){.iv-body{grid-template-columns:1fr}.iv-side{border-left:0;padding-left:0;
  border-top:1px solid var(--line);padding-top:12px}.iv-sysrow{max-width:none}}
.iv-step{font-family:var(--mono);font-size:9px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-3);margin:0 0 13px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.iv-step span{color:var(--ink-3)}
.iv-step span.on{color:var(--clay);font-weight:600}
.iv-step i{font-style:normal;margin:0 5px;color:var(--line-2)}
.iv-prov{border-left:2px solid var(--sand);padding-left:10px;background:var(--paper-2);
  padding-top:7px;padding-bottom:7px;border-radius:0 4px 4px 0}
.iv-link{color:var(--clay);text-decoration:underline;cursor:pointer}


/* ---- ITERATION 2I. Every published quantity now names what it measures, where it came from,
   the period it refers to and its unit. 2H measured 0 of 207 published cells carrying a
   reference period and 0 carrying a unit, and the sector table rendered three bare values with
   no header row. These rules put all of that on the page. */
.sw-st{display:inline-block;font-family:var(--mono);font-size:9.5px;letter-spacing:.06em;
  padding:1px 5px;border-radius:2px;text-transform:uppercase;vertical-align:middle}
.sw-st-measured{background:var(--clay);color:var(--paper);opacity:.92}
.sw-st-proxy{background:var(--paper-2);color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--rule)}
.sw-st-not_established{background:transparent;color:var(--ink-3);
  box-shadow:inset 0 0 0 1px var(--rule)}
.sw-prov{font-size:11px;color:var(--ink-2);margin:6px 0 10px;line-height:1.55}
.sw-prov b{font-weight:600;color:var(--ink-3);text-transform:uppercase;font-size:9.5px;
  letter-spacing:.05em;margin-right:2px}
.sw-barhead{display:flex;align-items:center;gap:8px;font-size:9.5px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--ink-3);margin:10px 0 2px;
  padding-bottom:3px;border-bottom:1px solid var(--line)}
.sw-barhead i{flex:none;width:150px;font-style:normal}
.sw-barhead em{flex:1;text-align:right;font-style:normal}
.sw-barhead s{flex:none;width:92px;text-align:right;text-decoration:none}
.sw-bar s{flex:none;width:92px;text-align:right;font-family:var(--mono);font-size:10px;
  color:var(--ink-3);text-decoration:none}


/* ---- ITERATION 2J · economic fundamentals. Each figure carries its unit, source, period,
   vintage, universe and limitations on the page rather than in a footnote, because the 2I
   acceptance review found a reader could not tell which BEA series a number came from. */
.fn{margin:14px 0 18px;padding:14px 0 2px;border-top:1px solid var(--line)}
.fn-h{margin:0 0 10px;font-size:13px;letter-spacing:.02em}
.fn-lead{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 14px}
.fn-lead > div{padding:9px 11px;background:var(--paper-2);border-radius:3px}
.fn-lab{display:block;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);margin-bottom:3px}
.fn-lead b{display:block;font-size:14px;line-height:1.25}
.fn-lead em{display:block;font-style:normal;font-size:10.5px;color:var(--ink-2);margin-top:3px}
.fn-note{font-size:10.5px;color:var(--ink-2);margin:8px 0 0;grid-column:1/-1;line-height:1.5}
.fn-grp{margin:0 0 12px}
.fn-grp h4{margin:0 0 6px;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);font-weight:600}
.fn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:9px}
.fn-cell{padding:8px 10px;border:1px solid var(--line);border-radius:3px;background:var(--paper)}
.fn-cell.fn-calc{border-style:dashed}
.fn-cell b{display:block;font-size:11px;font-weight:600;color:var(--ink-2)}
.fn-v{display:block;font-size:19px;line-height:1.2;margin:2px 0 3px;font-family:var(--mono)}
.fn-v s{font-size:11px;color:var(--ink-3);text-decoration:none}
.fn-cell em{display:block;font-style:normal;font-size:9.5px;color:var(--ink-3);line-height:1.45}
.fn-cell u{display:block;text-decoration:none;font-size:9px;color:var(--ink-3);opacity:.85;
  margin-top:3px;line-height:1.45}
.fn-cell i{display:block;font-style:normal;font-size:9.5px;color:var(--ink-2);margin-top:4px;
  padding-left:7px;border-left:2px solid var(--rule);line-height:1.45}
.fn-na{opacity:.75;border-style:dotted}
@media (max-width:760px){.fn-lead{grid-template-columns:1fr}}

.fn-more{margin-top:5px}
.fn-more > summary{cursor:pointer;font-size:9.5px;letter-spacing:.04em;color:var(--ink-3);
  text-transform:uppercase;list-style:none;padding:2px 0}
.fn-more > summary::-webkit-details-marker{display:none}
.fn-more > summary::before{content:"+ ";font-family:var(--mono)}
.fn-more[open] > summary::before{content:"\2212 "}
.fn-more > summary:hover{color:var(--ink-2)}

/* ================================================================ 2L · DEVELOPMENT
 * One view, nine sector lenses, 33 counties. The evidence STATE is the loudest thing on a
 * cell, because a reader who mistakes a proxy for a measurement has been misled by the design
 * and not by the data. Observed is sage, a proxy is amber and an absence is stone -- and an
 * absence is drawn as a research task rather than as an empty box. */
.dv{padding:0 4px}
.dv-intro{padding:0 0 4px}
.dv h2{font-family:var(--serif);font-size:26px;margin:0 0 6px;font-weight:400}
.dv-lede{margin:0 0 16px;font-size:13.5px;color:var(--ink-2);max-width:66ch;line-height:1.5}
.dv-sectors{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px}
.dv-sector{display:inline-flex;flex-direction:column;gap:1px;cursor:pointer;
  border:1px solid var(--line-2);border-radius:8px;padding:6px 10px;background:#fff;
  font-size:12.5px;line-height:1.2}
.dv-sector i{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--sage);font-style:normal}
.dv-sector.none{background:var(--paper-2);border-color:var(--line)}
.dv-sector.none i{color:var(--ink-3)}
.dv-sector.on{border-color:var(--clay);box-shadow:0 0 0 2px rgba(180,85,45,.12)}
.dv-sector:hover{border-color:var(--clay)}
.dv-sec{border-top:1px solid var(--line);padding:18px 0 6px;margin:14px 0 0}
.dv-h1{font-family:var(--serif);font-size:21px;line-height:1.25}
.dv-h2{font-family:var(--mono);font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3);margin:0 0 8px}
.dv-ct{display:inline-block;margin-left:6px;color:var(--clay)}
.dv-asks{margin:4px 0 10px;font-size:13.5px;color:var(--ink-2);font-style:italic}
.dv-cov{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 8px}
.dv-st{display:inline-block;font-family:var(--mono);font-size:8.5px;letter-spacing:.07em;
  text-transform:uppercase;border-radius:4px;padding:2px 6px;border:1px solid}
.dv-st.s{color:var(--sage);border-color:var(--sage);background:rgba(111,127,92,.07)}
.dv-st.w{color:var(--warn);border-color:var(--warn);background:rgba(154,107,31,.07)}
.dv-st.u{color:var(--stone);border-color:var(--line-2);background:var(--paper-2)}
.dv-both{font-size:11.5px;color:var(--ink-2)}
.dv-both.no{color:var(--warn)}
.dv-gov{margin:8px 0 0;padding:10px 12px;border-left:2px solid var(--water);
  background:var(--water-soft);font-size:12.5px;line-height:1.5;max-width:70ch}
.dv-empty{margin:8px 0 0;padding:10px 12px;border-left:2px solid var(--line-2);
  background:var(--paper-2);font-size:12.5px;line-height:1.5;max-width:70ch}
.dv-note{margin:6px 0 0;font-size:11.5px;color:var(--ink-3);max-width:74ch;line-height:1.5}
.dv-why{margin:6px 0 0;font-size:12.5px;color:var(--ink-2);max-width:72ch;line-height:1.5}
.dv-prov{margin:8px 0 0;font-size:11px;color:var(--ink-3);max-width:74ch;line-height:1.5}
.dv-prov i{color:var(--stone);font-style:normal;font-family:var(--mono);font-size:9px;
  letter-spacing:.06em;text-transform:uppercase;margin-right:4px}

.dv-sides{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0 0}
.dv-side-h{font-family:var(--mono);font-size:9px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);padding:0 0 6px;border-bottom:1px solid var(--line);margin:0 0 8px}
.dv-cell{border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin:0 0 8px;
  background:#fff}
.dv-cell.u{background:var(--paper-2);border-style:dashed}
.dv-cell-h{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.dv-cell-h b{font-size:13px;font-weight:600}
.dv-val{font-family:var(--mono);font-size:17px;margin:6px 0 2px;color:var(--ink)}
.dv-meta{font-family:var(--mono);font-size:9px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--ink-3)}
.dv-proxy{margin:8px 0 0;font-size:11.5px;line-height:1.5;color:var(--warn)}
.dv-series{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;font-family:var(--mono);
  font-size:9.5px;color:var(--ink-3)}

.dv-held{margin:8px 0 0;padding:8px 10px;background:#fff;border:1px dashed var(--line-2);
  border-radius:6px;font-size:11.5px;line-height:1.5}
.dv-held > span{color:var(--ink-3)}
.dv-held ul{margin:6px 0 0;padding-left:16px;color:var(--ink-2)}
.dv-held li{margin:0 0 2px}
.dv-held i{display:block;font-style:normal;font-family:var(--mono);font-size:8.5px;
  letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3)}
.dv-inv{border:1px solid var(--line-2);border-radius:10px;padding:14px 16px;margin:0 0 12px;
  background:#fff}
.dv-inv-h{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dv-inv-h .tag{margin-left:0;font-family:var(--mono)}
.dv-kind{font-size:10.5px;color:var(--ink-3)}
.dv-inv h4{font-family:var(--serif);font-size:18px;line-height:1.3;margin:8px 0 0;
  font-weight:400;max-width:60ch}

.dv-comp-wrap{overflow-x:auto;margin:12px 0 0;-webkit-overflow-scrolling:touch}
table.dv-comp{border-collapse:collapse;font-size:12px;min-width:34rem}
table.dv-comp th{font-family:var(--mono);font-size:8.5px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--ink-3);text-align:left;padding:0 10px 5px 0;
  border-bottom:1px solid var(--line-2);font-weight:400;white-space:nowrap}
table.dv-comp td{padding:5px 10px 5px 0;border-bottom:1px solid var(--line)}
table.dv-comp td.r,table.dv-comp th.r{text-align:right;font-family:var(--mono);
  white-space:nowrap}
table.dv-comp tr.dv-tot td{font-weight:600}
table.dv-comp tr.dv-sub td{color:var(--ink-3);font-size:11px}
table.dv-comp tr.dv-rate td{color:var(--ink-2);border-bottom:1px solid var(--line-2)}
table.dv-comp tr.dv-rate b{color:var(--clay)}
.dv-u{font-family:var(--mono);font-size:8.5px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--ink-3)}

.dv-ladder{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0 0}
.dv-rung{border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:var(--paper-2)}
.dv-rung.on{background:#fff;border-color:var(--line-2)}
.dv-rung b{display:block;font-family:var(--serif);font-size:23px;line-height:1;color:var(--ink-3)}
.dv-rung.on b{color:var(--clay)}
.dv-rung span{display:block;font-family:var(--mono);font-size:8.5px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--ink-3);margin:4px 0 4px}
.dv-rung i{display:block;font-style:normal;font-size:10.5px;line-height:1.45;color:var(--ink-2)}
@media(max-width:760px){.dv-ladder{grid-template-columns:1fr 1fr}}
.dv-tasks{margin:8px 0 0}
.dv-task{border-left:2px solid var(--line-2);padding:4px 0 4px 12px;margin:0 0 10px}
.dv-task b{font-size:12.5px}

.dv-dec{margin:14px 0 0;border:1px solid var(--line-2);border-radius:8px;padding:12px 14px;
  background:var(--paper-2)}
.dv-dec.inv{border-left:3px solid var(--warn)}
.dv-dec.base{border-left:3px solid var(--stone)}
.dv-dec.sel{border-left:3px solid var(--sage)}
.dv-dec-h{font-family:var(--mono);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3)}
.dv-dec-l{font-family:var(--serif);font-size:17px;line-height:1.3;margin:3px 0 0}
.dv-dec-m{margin:4px 0 0;font-size:12px;color:var(--ink-2);max-width:70ch;line-height:1.5}
.dv-cats{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0}
.dv-cat{display:inline-flex;flex-direction:column;gap:0;border:1px solid var(--line-2);
  border-radius:6px;padding:4px 8px;background:#fff;font-size:12px;line-height:1.2}
.dv-cat i{font-family:var(--mono);font-size:8px;letter-spacing:.06em;text-transform:uppercase;
  font-style:normal;color:var(--ink-3)}
.dv-cat.w{border-color:var(--warn)}
.dv-cat.s{border-color:var(--sage)}
.dv-counts{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 0;font-family:var(--mono);
  font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3)}
.dv-counts b{color:var(--ink);font-size:12px}
.dv-gate{border-left:2px solid var(--line-2);padding:2px 0 2px 10px;margin:0 0 8px;
  font-size:11.5px;line-height:1.5}
.dv-gate p{margin:2px 0 0;color:var(--ink-2)}
.dv-gate i{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--stone);font-style:normal;margin-right:4px}
.dv-ref{margin:6px 0 0;padding-left:18px;font-size:12px;color:var(--ink-2);max-width:72ch;
  line-height:1.55}
.dv-ref li{margin:0 0 5px}

.dv dl.kv{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:6px 0 0;
  font-size:11.5px;line-height:1.5}
.dv dl.kv dt{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);padding-top:3px}
.dv dl.kv dd{margin:0;color:var(--ink-2)}
.dv details{margin:8px 0 0;font-size:12px}
.dv details > summary{cursor:pointer;font-family:var(--mono);font-size:9px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--clay)}
.dv details > .in{padding:6px 0 0 2px}

/* 375px. Two columns of cells and a five-column table do not fit a phone, and a page that
 * scrolls sideways is a page a field worker cannot read with one hand. */
@media(max-width:760px){
  .dv-sides{grid-template-columns:1fr}
  .dv h2{font-size:22px}
  .dv-h1{font-size:18px}
  .dv-inv h4{font-size:16px}
  .dv-inv{padding:12px 12px}
  .dv-dec{padding:10px 11px}
  .dv-val{font-size:15px}
  .dv dl.kv{grid-template-columns:1fr;gap:1px}
  .dv dl.kv dt{padding-top:6px}
}

/* ================================================================ 2L · 375px OVERFLOW
 * Measured, not guessed: at 375px the page scrolled 22px sideways on Anatomy and Statewide and
 * 170px on Scenario. The cause is the same in all three and is not the content -- a grid item's
 * default `min-width:auto` lets a long unbreakable string push its own `1fr` track wider than
 * the grid. `.iv-body` measured 241px while its single column resolved to 478px.
 *
 * `minmax(0,1fr)` lets the track shrink; `min-width:0` lets the item shrink inside it; and
 * `overflow-wrap:anywhere` lets the string that started it break rather than overhang. A page a
 * field worker reads with one hand must not scroll sideways. */
@media(max-width:900px){
  .iv-body{grid-template-columns:minmax(0,1fr)}
  .iv-body > *{min-width:0}
  .iv-par,.iv-out,.iv-strat,.sw-qb,.sw-q,.sw-note{overflow-wrap:anywhere}
}
@media(max-width:820px){
  .sw-grid{grid-template-columns:minmax(0,1fr)}
  .sw-grid > *{min-width:0}
}

/* The two rows that still overhung after the grid fix are FLEX rows with fixed-width children:
 * `.sw-bar` reserves 150px for a label, 64px for a value and 62px for a note before the bar
 * itself, which is 276px of furniture in a 241px column. On a phone the label takes its own
 * line and the rest shares what is left. */
@media(max-width:900px){
  .sw-bar{flex-wrap:wrap}
  .sw-bar i{flex:1 0 100%;width:auto}
  .sw-bar .t{flex:1 1 60px;min-width:48px}
  .sw-bar em{flex:0 1 auto;width:auto;min-width:54px}
  .sw-bar s{flex:0 1 auto;width:auto;min-width:46px}
  .iv-out div,.iv-par div{flex-wrap:wrap}
  .iv-out em{flex:1 0 100%;width:auto}
  .iv-out b{min-width:0}
  .iv-out s{flex:1 1 auto;min-width:0}
}
@media(max-width:900px){
  /* A tag is a label, and a long label on a phone wraps rather than hanging off the page. */
  .tag{max-width:100%;overflow-wrap:anywhere;white-space:normal}
}

/* ---- THE COUNTY RAIL. Thirty-three chips wrapped into a flat list, and at narrow widths the
   navigation ate the page: measured at 390px it was 14 rows, 511px tall, 91% of the first
   screen before a single finding was visible. At 1024px it was 5 rows and 52%.

   Every county stays. The row scrolls sideways instead of wrapping, which costs one row at any
   width and removes nothing. The desktop layout is untouched -- above 900px this rule does not
   apply and the rail wraps exactly as it always has. */
@media(max-width:1100px){
  /* 1100, not 900. At 1024 -- a common laptop -- the rail still wrapped to four rows and the
     header took 63% of the first screen before any finding was visible. 1440 is the approved
     desktop reference and keeps the wrapped layout unchanged. */
  /* `.row.nav-counties`, not `.nav-counties`: atlas-ext.css loads AFTER this sheet and sets
     `.row{flex-wrap:wrap}` at the same specificity, so the single-class selector lost the
     cascade and the rail kept wrapping. Two classes outrank one. */
  .row.nav-counties{
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    padding-bottom:4px;
  }
  .row.nav-counties .nav-chip{flex:0 0 auto;scroll-snap-align:start;}

  /* THERE MUST BE A VISIBLE SIGN THAT MORE COUNTIES EXIST OFFSCREEN. A row that simply ends
     at the edge reads as the end of the list, and a reader who cannot see Valencia has no
     reason to look for it. These are scroll shadows: the two `local` gradients paint the
     paper colour over each end and scroll away with the content, so the darker `scroll`
     gradients underneath show ONLY on the side that still has counties. No JS, and the cue
     disappears by itself when the rail is fully scrolled. */
  .row.nav-counties{
    background:
      linear-gradient(to right, var(--paper) 40%, transparent) left center / 36px 100% no-repeat local,
      linear-gradient(to left,  var(--paper) 40%, transparent) right center / 36px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(43,36,32,.16), transparent) left center / 12px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgba(43,36,32,.16), transparent) right center / 12px 100% no-repeat scroll;
  }
  /* The rail itself is focusable so it can be scrolled with the arrow keys. */
  .row.nav-counties:focus-visible{outline:2px solid var(--water,#4a6fa5);outline-offset:2px;}
}

/* Focus must be visible wherever a chip is, not only inside the scrolling rail: these were
   <span>s with click handlers and no focus style at all. */
.nav-chip:focus-visible{outline:2px solid var(--water,#4a6fa5);outline-offset:2px;border-radius:4px;}
/* ==========================================================================
   SECTOR COMPOSITION — the shape of an economy, drawn.

   Two measures per sector, side by side, because the gap between them is the finding.
   Colour carries one distinction only: jobs are sage, payroll is forest. Selection is
   carried by the route (r.sel), so a chosen sector survives a reload and a shared link.
   ========================================================================== */
.an{margin:4px 0 26px}
.an h3{margin:0 0 12px}
.an-strip{display:flex;width:100%;height:34px;border-radius:5px;overflow:hidden;
  border:1px solid var(--line);background:var(--paper-2)}
.an-seg{position:relative;background:var(--sage-soft,#dde8da);border-right:1px solid #fff;
  cursor:pointer;display:flex;align-items:center;overflow:hidden;transition:background .12s}
.an-seg:last-child{border-right:0}
.an-seg i{font-style:normal;font-size:9.5px;color:var(--ink-2);padding-left:5px;
  white-space:nowrap;letter-spacing:.01em}
.an-seg:hover{background:#b6cdb2}
.an-seg.on{background:var(--clay)}
.an-seg.on i{color:#fff;font-weight:600}
.an-seg:focus-visible{outline:2px solid var(--clay);outline-offset:-2px}
.an-cap{font-size:11.5px;line-height:1.55;color:var(--ink-3);margin:9px 0 0;max-width:86ch}

.an-head-row,.an-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.3fr)
  minmax(0,1.3fr) 7.5rem;gap:14px;align-items:center}
.an-head-row{margin:20px 0 4px;padding-bottom:6px;border-bottom:1px solid var(--ink);
  font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.an-head-row span:not(:first-child){text-align:right}
.an-rows{margin:0}
.an-row{padding:7px 6px 7px 0;border-bottom:1px solid var(--line);cursor:pointer;
  border-radius:4px;transition:background .1s}
.an-row:hover{background:var(--paper-2)}
.an-row.on{background:var(--paper-2);box-shadow:inset 3px 0 0 var(--clay)}
.an-row:focus-visible{outline:2px solid var(--clay);outline-offset:-1px}
.an-nm{font-size:13px;line-height:1.3;padding-left:6px}
.an-nm u{text-decoration:none;display:block;font-size:9.5px;color:var(--ink-3);margin-top:2px}
.an-pair{display:grid;grid-template-columns:1fr 6.4rem;gap:9px;align-items:center}
.an-b{height:11px;background:var(--paper-2);border-radius:2px;overflow:hidden}
.an-b i{display:block;height:100%;background:var(--sage,#8ea985);border-radius:2px}
.an-b.pay i{background:var(--clay)}
.an-v{font-size:12px;text-align:right;font-variant-numeric:tabular-nums;
  font-family:ui-monospace,Menlo,monospace}
.an-v s{display:block;text-decoration:none;font-size:10px;color:var(--ink-3);margin-top:1px}
.an-head{color:var(--ink-2)}

.an-det{margin:14px 0 0;border:1px solid var(--line);border-radius:9px;background:var(--paper-2);
  padding:14px 16px}
.an-det-h{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.an-det-h b{font-size:15px}
.an-naics{font-family:ui-monospace,Menlo,monospace;font-size:10px;color:var(--ink-3)}
.an-sp{flex:1}
.an-clear{font-size:11px;color:var(--ink-3);cursor:pointer;border-bottom:1px solid var(--line-2)}
.an-clear:hover{color:var(--clay);border-bottom-color:var(--clay)}
.an-det-figs{display:flex;gap:26px;flex-wrap:wrap;margin-bottom:10px}
.an-det-figs b{display:block;font-family:ui-monospace,Menlo,monospace;font-size:18px;
  color:var(--clay);font-variant-numeric:tabular-nums}
.an-det-figs span{display:block;font-size:10.5px;color:var(--ink-3);margin-top:3px;
  max-width:17rem;line-height:1.4}
.an-rel-h{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);
  margin:12px 0 6px;padding-top:10px;border-top:1px solid var(--line)}
.an-rel{padding:7px 0;border-bottom:1px solid var(--line)}
.an-rel:last-child{border-bottom:0}
.an-rel b{font-size:12.5px;font-weight:600}
.an-rel p{margin:4px 0 0;font-size:11.5px;line-height:1.55;color:var(--ink-2);max-width:78ch}
/* A FOURTH VOCABULARY LIVED HERE. The anatomy drew its own evidence pills, with their own
   colours and no line style, beside three other screens that each drew the same distinction
   differently. It now calls AT.state like everything else, so an evidence class is written
   once and read the same way wherever it appears. */

@media(max-width:760px){
  .an-head-row{display:none}
  .an-row{grid-template-columns:1fr;gap:5px;padding:9px 6px}
  .an-pair{grid-template-columns:1fr 6rem}
  .an-nm{font-weight:600}
  .an-det-figs{gap:16px}
  .an-strip{height:28px}
  .an-seg i{display:none}
}

/* ==========================================================================
   THE EPISTEMIC CHANNEL.

   atlas.js has computed a class for every evidence state since R3.24 -- `s`
   counted, `w` computed, `u` open -- and this stylesheet defined none of them.
   Every state therefore rendered in the same grey box, so an observed
   transaction and a hypothesis were indistinguishable on screen. That is the
   one distinction the model exists to carry.

   STYLE carries the state and nothing else carries it. A solid edge is
   counted, a dashed edge is computed from something counted elsewhere, a
   dotted edge is open. The rule is the drawing layer's own: line style is the
   epistemic channel, and width or area is magnitude. The two never mix, so a
   large inference never reads as a stronger fact than a small observation.
   ========================================================================== */
/* The .tag.s/.w/.u rules themselves live in the alpha entry page's own inline block, which
   loads after this file and would otherwise win on border-color alone. They are set there, in
   one place, rather than split across two stylesheets that disagree. */

/* the same three states, drawn as a connector rather than a label */
.atl-rel-line.s{background:none;border-top:2px solid var(--sage)}
.atl-rel-line.w{background:none;border-top:2px dashed var(--water)}
.atl-rel-line.u{background:none;border-top:2px dotted var(--ink-3)}

/* THE LEGEND is part of the drawing, not a footnote. It is built from the
   states actually present on the screen, so it can never name one that is not
   there, and the screen can never show one it cannot explain. */
.ev-key{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:baseline;margin:0 0 16px;
  padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--paper-2)}
.ev-key>b{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);
  font-weight:600;flex:none}
.ev-key>span{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--ink-2);
  line-height:1.4}
.ev-key i{display:block;width:26px;flex:none}
.ev-key .s{border-top:2px solid var(--sage)}
.ev-key .w{border-top:2px dashed var(--water)}
.ev-key .u{border-top:2px dotted var(--ink-3)}
.ev-key em{font-style:normal;font-weight:600;color:var(--ink)}
@media(max-width:760px){.ev-key{gap:6px 12px}.ev-key>span{flex:1 1 100%}}

/* A RELATION, DRAWN. The required input and the local capability are two
   different observations, and the line between them is a third thing: a
   claim. It is drawn in the style of its own state, and labelled in words. */
.rel-pair{display:grid;grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);
  align-items:center;gap:0;padding:11px 0;border-bottom:1px solid var(--line)}
.rel-pair:last-of-type{border-bottom:0}
.rel-side b{display:block;font-size:13px;line-height:1.3;font-weight:600}
.rel-side span{font-size:11px;color:var(--ink-3)}
.rel-side.r{text-align:right}
.rel-mid{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0 8px}
.rel-mid i{display:block;width:100%;height:0}
.rel-mid i.s{border-top:2px solid var(--sage)}
.rel-mid i.w{border-top:2px dashed var(--water)}
.rel-mid i.u{border-top:2px dotted var(--ink-3)}
.rel-mid u{text-decoration:none;font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink-3);text-align:center;line-height:1.25}
.rel-none{color:var(--ink-3);font-style:italic}
@media(max-width:760px){
  .rel-pair{grid-template-columns:minmax(0,1fr);gap:7px}
  .rel-side.r{text-align:left}
  .rel-mid{flex-direction:row;align-items:center;gap:8px;padding:0}
  .rel-mid i{width:40px;flex:none}
}

/* DIRECTION IS NOT AN EVIDENCE STATE. The commuting list reused .tag.s and .tag.w -- the
   epistemic classes -- to mean inbound and outbound. Both flows are equally observed and only
   their direction differs, so direction gets its own channel, borrowed from the tally's own
   colours rather than from the one that carries what is known. */
.tag.dir{border-style:solid;font-weight:600}
.tag.dir.in{background:var(--clay-soft);border-color:var(--clay);color:#7a3a1e}
.tag.dir.out{background:var(--water-soft);border-color:var(--water);color:#2a5a69}

/* A SYSTEM-MEMBERSHIP ROW is a flex line of four things -- the system, the role, the reason and
   now the evidence state -- with a 150px minimum on the first. At 390px that cannot fit, and an
   unwrapped flex row does not scroll: it widens the page. It wraps instead, and the reason gets
   the full line, which is also the right reading order. */
@media(max-width:760px){
  .sw-part div{flex-wrap:wrap;gap:4px 9px;padding:7px 0}
  .sw-part b{min-width:0;flex:1 1 auto}
  .sw-part i{flex:1 1 100%}
}

/* ==========================================================================
   M4 · THE CHAIN. A finding, a question, the evidence that would settle it and
   an opportunity live on three screens, and the links between them are the
   artefacts' own. Nothing here draws a link the data does not hold.
   ========================================================================== */
/* A SOURCE IS NOT A STATE. The evidence page labelled every programme with .tag.w --
   MODELLED -- so a counted figure announced itself as modelled. Provenance gets a neutral
   mark of its own, deliberately outside the epistemic channel. */
.tag.src{border:1px solid var(--line-2);border-style:solid;background:var(--paper-2);
  color:var(--ink-2);font-family:var(--mono);letter-spacing:.06em}

.m4-next{margin:10px 0 0;padding:9px 0 0;border-top:1px dotted var(--line-2)}
.m4-next>b{display:block;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-3);margin:0 0 6px}
.m4-next em{display:block;margin:6px 0 0;font-style:normal;font-size:11.5px;line-height:1.5;
  color:var(--ink-3);max-width:76ch}
.m4-none em{color:var(--ink-3);font-style:italic}
.m4-step{display:inline-block;margin:0 7px 5px 0;padding:4px 10px;font-size:12px;
  border:1px solid var(--line-2);border-radius:999px;background:#fff;cursor:pointer;
  color:var(--water);line-height:1.35;max-width:100%;overflow-wrap:anywhere}
.m4-step:hover{border-color:var(--water);background:var(--water-soft)}
.m4-chain{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:10px 0 4px}
.m4-at{font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--clay);
  font-weight:600;border:1px dashed var(--clay);border-radius:999px;padding:3px 10px}

/* THE PIPELINE, READ. Eight states, the count at each, and the furthest anything reached. */
.m4-lad{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;
  margin:14px 0 10px}
.m4-lad .atl-rung{opacity:.45;border:1px solid var(--line);border-radius:7px;padding:9px 11px;
  background:var(--paper-2)}
.m4-lad .atl-rung.on{opacity:1;background:#fff;border-color:var(--line-2)}
.m4-lad .atl-rung.far{border-color:var(--clay);box-shadow:inset 0 2px 0 var(--clay)}
.m4-lad .atl-rung-n{font-family:var(--mono);font-size:10px;color:var(--ink-3)}
.m4-lad .atl-rung b{font-size:12px;line-height:1.25;display:block;margin:2px 0 0}
.m4-lad u{display:block;margin:6px 0 0;text-decoration:none;font-family:var(--mono);
  font-size:9.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--clay)}
.m4-lad .atl-rung:not(.on) u{color:var(--ink-3)}

/* ==========================================================================
   EVIDENCE CATEGORIES, READ IN ORDER. The figure, then one plain sentence,
   then the categories that are NOT the figure, then the method behind a
   disclosure. A reader who wants only the number stops after the first line.
   ========================================================================== */
.iv-fig{font-size:16.5px;line-height:1.45;margin:4px 0 0;font-weight:600}
.iv-plain{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--ink-2);max-width:74ch}
.ev-cats{margin:10px 0 0;border-left:2px solid var(--line);padding-left:12px}
.ev-cat{font-size:12px;line-height:1.55;color:var(--ink-2);margin:0 0 6px;max-width:74ch}
.ev-cat b{color:var(--ink)}
.ev-cat i{font-style:normal;color:var(--ink-3)}
.ev-cat .tag{margin:0 7px 0 0;vertical-align:1px}
.ev-method{margin:6px 0 0}
.ev-method>summary{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--water);
  cursor:pointer;list-style:none}
.ev-method>summary::-webkit-details-marker{display:none}
.ev-method>summary::before{content:"▸ ";font-size:9px}
.ev-method[open]>summary::before{content:"▾ "}
.ev-method .in{padding:8px 0 0}
.ev-method p{font-size:12px;line-height:1.55;color:var(--ink-2);margin:0 0 8px;max-width:74ch}
.ev-years{border-collapse:collapse;font-size:11.5px;font-family:var(--mono)}
.ev-years th{text-align:left;font-weight:600;color:var(--ink-3);text-transform:uppercase;
  letter-spacing:.07em;font-size:9.5px;padding:0 16px 4px 0}
.ev-years td{padding:2px 16px 2px 0;color:var(--ink-2);border-top:1px solid var(--line)}
.dv-where{margin:6px 0 0;font-size:12px;line-height:1.55;color:var(--ink-2);max-width:72ch}
.dv-where b{color:var(--ink)}
.dv-cell .ev-cats{margin-top:8px}

/* ==========================================================================
   SYSTEMS INTELLIGENCE. One industry drawn as a system. The chain reads
   downward: what it is, what it requires, what is here, and the link nobody
   has observed — which is drawn as a dotted arrow, because an absence that
   is not drawn reads as a connection.
   ========================================================================== */
.sys{margin:0 0 10px}
.sys h3{font-size:16px;margin:26px 0 6px}
.sys-lede{font-size:12.5px;line-height:1.6;color:var(--ink-2);margin:0 0 12px;max-width:80ch}
.sys-chain{margin:14px 0 0}
.sys-node{border:1px solid var(--line);border-radius:9px;padding:13px 15px;background:#fff}
.sys-node.on{border-color:var(--sage);box-shadow:inset 3px 0 0 var(--sage)}
.sys-node.absent{border-style:dotted;border-color:var(--ink-3);background:var(--paper-2)}
.sys-node-h{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-3);
  margin:0 0 6px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sys-node>b{font-family:var(--serif);font-size:20px;display:block;margin:0 0 4px}
.sys-node p{font-size:12.5px;line-height:1.6;color:var(--ink-2);margin:4px 0 0;max-width:82ch}
.sys-node .sys-sub{color:var(--ink-3)}
.sys-arrow{display:flex;align-items:center;gap:10px;padding:9px 0 9px 15px;position:relative}
.sys-arrow::before{content:"";position:absolute;left:28px;top:0;bottom:0;width:0}
.sys-arrow.w::before{border-left:2px dashed var(--water)}
.sys-arrow.u::before{border-left:2px dotted var(--ink-3)}
.sys-arrow u{text-decoration:none;font-size:11.5px;color:var(--ink-2);padding-left:26px}
.sys-arrow.u u{color:var(--ink-3);font-style:italic}
.sys-inputs{border:1px solid var(--line);border-radius:9px;padding:12px 15px;background:#fff}
.sys-in-h,.sys-in{display:grid;grid-template-columns:minmax(0,2fr) 110px minmax(0,1fr);
  gap:12px;align-items:baseline}
.sys-in-h{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);
  padding:0 0 6px;border-bottom:1px solid var(--ink)}
.sys-in-h i{font-style:normal;color:var(--ink-3);letter-spacing:.04em;text-transform:none}
.sys-in-h span:not(:first-child),.sys-in-c,.sys-in-l{text-align:right}
.sys-in{padding:8px 0;border-bottom:1px solid var(--line)}
.sys-in:last-of-type{border-bottom:0}
.sys-in-n b{font-size:13px;font-weight:600}
.sys-in-n u{display:block;text-decoration:none;font-family:var(--mono);font-size:9.5px;
  letter-spacing:.07em;color:var(--ink-3)}
.sys-in-c{font-family:var(--mono);font-size:12.5px;color:var(--water)}
.sys-in-l b{font-size:12.5px;display:block}
.sys-in-l span{font-size:10px;color:var(--ink-3)}
.sys-in-l.yes b{color:var(--sage)}
.sys-in-l.no b{color:var(--ink-3);font-style:italic;font-weight:400}
.sys-cap{font-size:11.5px;line-height:1.55;color:var(--ink-3);margin:10px 0 0;max-width:84ch}
.sys-not{margin:8px 0 0;padding:8px 0 0;border-top:1px dotted var(--line-2)}
.sys-not b{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-3);margin:0 0 5px}
.sys-not span{display:block;font-size:12px;line-height:1.55;color:var(--ink-2);padding-left:14px;
  position:relative}
.sys-not span::before{content:"·";position:absolute;left:4px}
.sys-op,.sys-con,.sys-dev,.sys-w{border-left:2px solid var(--line);padding:0 0 0 13px;
  margin:0 0 14px}
.sys-op-h,.sys-con-h,.sys-dev-h{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.sys-op-h b,.sys-con-h b{font-size:13.5px}
.sys-op-h span{font-size:11px;color:var(--ink-3)}
.sys-id{font-family:var(--mono);font-size:9.5px;letter-spacing:.08em;color:var(--ink-3)}
.sys-mech{font-size:12.5px;line-height:1.6;color:var(--ink-2);margin:4px 0 0;max-width:82ch}
.sys-if{margin:7px 0 0;padding-left:20px}
.sys-if li{font-size:12px;line-height:1.6;color:var(--ink-2);margin:0 0 3px;max-width:78ch}
.sys-mag{font-size:11.5px;line-height:1.55;color:var(--ink-3);margin:7px 0 0;max-width:84ch}
.sys-fams{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 0}
.sys-fams span{font-size:10.5px;border:1px solid var(--line-2);border-radius:999px;
  padding:2px 9px;color:var(--ink-2);background:var(--paper-2)}
.sys-con p,.sys-dev p,.sys-w p{font-size:12.5px;line-height:1.6;color:var(--ink-2);
  margin:4px 0 0;max-width:82ch}
.sys-rests{font-size:11px;color:var(--ink-3);margin:6px 0 0}
.sys-rests b{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;margin-right:6px}
.sys-ref{font-family:var(--mono);font-size:10px;border:1px solid var(--line-2);border-radius:3px;
  padding:1px 5px;margin-right:4px;cursor:help;color:var(--ink-2)}
.sys-lim{font-size:11.5px;line-height:1.55;color:var(--ink-3);margin:5px 0 0;max-width:84ch}
.sys-foot{font-size:11.5px;color:var(--ink-3);margin:18px 0 0;max-width:84ch}
.sys-claims{margin:22px 0 0;border-top:1px solid var(--line);padding-top:10px}
.sys-claims>summary{font-size:11px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--water);cursor:pointer}
@media(max-width:760px){
  .sys-in-h,.sys-in{grid-template-columns:minmax(0,1fr) 72px;gap:8px}
  .sys-in-h span:nth-child(3),.sys-in-l{grid-column:1/-1;text-align:left}
  .sys-in-l{padding-top:4px}
  .sys-node>b{font-size:17px}
}
.sys-in-l.na b{color:var(--water);font-weight:400;font-style:italic}
.sys-asserts{font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;
  color:var(--clay);border:1px solid var(--clay);border-radius:999px;padding:2px 9px}
.sys-on{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}

/* ONE COUNTY IDENTITY BLOCK, above whatever the mode draws. */
.atl-id{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;
  flex-wrap:wrap;padding:16px 0 0;margin:14px 0 0;border-top:1px solid var(--line)}
.atl-id-n{font-family:var(--serif);font-size:23px;margin:0;font-weight:600;
  text-transform:none;letter-spacing:0}
.atl-id-s{margin:3px 0 0;font-size:12.5px;line-height:1.55;color:var(--ink-2);max-width:72ch}
.atl-id-sys{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end;max-width:30rem}
@media(max-width:760px){
  .atl-id{gap:10px}
  .atl-id-sys{justify-content:flex-start;max-width:none}
  .atl-id-n{font-size:20px}
}

/* A MODE THAT CANNOT DRAW FOR THIS COUNTY. Not an error card: the question, what the
   measure means, what this county does hold, and the research question that follows. */
.gap{margin:0 0 10px}
.gap h2{margin:0 0 8px}
.gap h3{font-size:15px;margin:22px 0 8px}
.gap-explains{font-size:13.5px;line-height:1.65;color:var(--ink);margin:0 0 14px;max-width:80ch}
.gap-mark{font-size:12.5px;line-height:1.65;color:var(--ink-2);margin:0;max-width:80ch;
  border-left:2px dotted var(--ink-3);padding:2px 0 2px 13px}
.gap-mark b{color:var(--ink)}
.gap-held{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:10px}
.gap-h{border:1px solid var(--line);border-radius:8px;padding:11px 13px;background:#fff}
.gap-h p{font-size:12.5px;line-height:1.55;margin:6px 0 0;color:var(--ink)}
.gap-h .gap-prov{font-size:10.5px;color:var(--ink-3);margin:5px 0 0}
.gap-held-none{font-size:12.5px;color:var(--ink-3);font-style:italic}
.gap-next{font-size:13.5px;line-height:1.6;color:var(--ink);margin:0;max-width:78ch}
.gap-foot{font-size:11.5px;line-height:1.6;color:var(--ink-3);margin:16px 0 0;max-width:82ch}

/* COVERED EMPLOYMENT — the composition every county has. A different universe from the
   private-sector strip and never in the same slot as it. */
.cv{margin:4px 0 24px}
.cv h3{margin:0 0 6px}
.cv-lede{font-size:12.5px;line-height:1.6;color:var(--ink-2);margin:0 0 12px;max-width:82ch}
.cv-figs{display:flex;flex-wrap:wrap;gap:26px;margin:0 0 14px}
.cv-figs b{font-family:var(--serif);font-size:24px;display:block;line-height:1.1}
.cv-figs span{font-size:11px;color:var(--ink-3)}
.cv-head,.cv-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.4fr) 90px
  minmax(0,1fr);gap:12px;align-items:center}
.cv-head{font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);
  padding:0 0 5px;border-bottom:1px solid var(--ink)}
.cv-head span:nth-child(3){text-align:right}
.cv-row{padding:7px 0;border-bottom:1px solid var(--line)}
.cv-n b{font-size:13px}
.cv-n u{display:block;text-decoration:none;font-family:var(--mono);font-size:9.5px;
  letter-spacing:.07em;color:var(--ink-3)}
.cv-b{display:flex;align-items:center;gap:8px}
.cv-b i{display:block;height:9px;border-radius:2px;background:var(--sage);min-width:2px}
.cv-b em{font-style:normal;font-family:var(--mono);font-size:11.5px;color:var(--ink-2)}
.cv-w{text-align:right;font-family:var(--mono);font-size:11.5px;color:var(--ink-2)}
.cv-o{display:flex;flex-wrap:wrap;gap:4px}
.cv-o span{font-size:9.5px;border:1px solid var(--line-2);border-radius:3px;padding:1px 5px;
  color:var(--ink-3)}
.cv-o span.supp{border-style:dotted;border-color:var(--clay);color:var(--clay)}
.cv-cap,.cv-lim{font-size:11.5px;line-height:1.55;color:var(--ink-3);margin:10px 0 0;
  max-width:84ch}
.cv-cap b{color:var(--ink)}
.cv-prov{font-size:10px;letter-spacing:.04em;color:var(--ink-3);margin:10px 0 0}
.cv-prov b{letter-spacing:.09em;text-transform:uppercase;font-size:9px}
@media(max-width:760px){
  .cv-head{display:none}
  .cv-row{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 0}
  .cv-w{text-align:left}
}

/* The county identity block left the card, so the card's first section was drawing a top rule
   and 36px of air above nothing — two empty rules before the first heading. The first section
   in a card no longer separates itself from a header that is no longer there. */
.card.iv2 .iv-body > section:first-child,
.card.iv2 .iv-body > section:first-child > section:first-child,
.card.iv .iv-sec:first-of-type{border-top:0;padding-top:0;margin-top:0}
.card.iv2 > .iv-body{margin-top:0}
.gap-mark + h3{margin-top:26px}
.gap h3{font-family:var(--serif);text-transform:none;letter-spacing:0}
.atl-h1-lede{font-family:var(--serif);font-size:23px;line-height:1.35;color:var(--ink)}
@media(max-width:760px){.atl-h1-lede{font-size:19px}}

/* ---- QCEW composition reconciliation (P0.1). The three parts are a LIST, not a sentence,
   because the reader has to be able to see which part is exact and which is not. */
.cv-rec { margin-top: 14px; }
.cv-parts { margin: 8px 0 10px; padding-left: 0; list-style: none; }
.cv-parts li {
  position: relative; padding: 6px 0 6px 18px; font-size: 13px; line-height: 1.55;
  color: var(--ink-2); border-top: 1px solid var(--line);
}
.cv-parts li:first-child { border-top: 0; }
.cv-parts li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3);
}
.cv-parts li b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-parts li i { font-style: normal; color: var(--ink); }
.cv-flag {
  border-left: 2px solid var(--warn); padding-left: 10px; margin-top: 8px;
}
@media (max-width: 760px) { .cv-parts li { font-size: 12.5px; } }

/* the aggregation-discrepancy method note: available, not asserted in the main line */
.cv-meth { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.cv-meth summary { cursor: pointer; color: var(--ink-2); }
.cv-meth p { margin: 6px 0 0; line-height: 1.55; }

/* THE SCOPE RAIL IS NAVIGATION, NOT METADATA.
   These chips carried `.tag`, which is the 10px muted pill used for a label beside a value.
   Reusing it made the six scopes -- the world, the machine, regional systems, the connected
   economy, economy & capital -- read as annotations over the map rather than as the way into
   each one. A user who opened the page saw five county cards and concluded that counties were
   the product. Same markup, same palette, same shape: only the weight changes, so the rail is
   legible as a set of destinations. `:not(.nav-counties)` keeps the 33-county rail untouched,
   because that one is already a horizontal scroller tuned at 1100px and must not grow. */
.row:not(.nav-counties) > .nav-chip{font-size:12px;letter-spacing:.06em;padding:5px 11px;
  border-radius:999px;color:var(--ink-2);background:var(--paper);border-color:var(--line);
  font-weight:600;transition:border-color .14s,color .14s,background .14s}
.row:not(.nav-counties) > .nav-chip:hover{border-color:var(--clay);color:var(--clay)}
.row:not(.nav-counties) > .nav-chip.on{background:var(--clay);border-color:var(--clay);color:#fff}

/* THE SCALE CHOOSER. The same card grammar as the county picker, so the entrance offers a
   scale and a place side by side instead of a place alone. */
.atl-scale-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(13.5rem,1fr));gap:9px}
.atl-scale-c{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 14px;
  cursor:pointer;transition:border-color .14s,transform .14s}
.atl-scale-c:hover{border-color:var(--clay);transform:translateY(-1px)}
.atl-scale-c:focus-visible{outline:2px solid var(--clay);outline-offset:2px}
.atl-scale-c b{display:block;font-size:14px;line-height:1.25}
.atl-scale-c span{display:block;font-size:11.5px;line-height:1.45;color:var(--ink-3);margin-top:3px}

/* BELOW 900px THE MAP WAS HOISTED ABOVE THE TEXT (`.atl-entrance-r{order:-1}`), WHICH IS WHY
   A NARROW WINDOW SHOWED A MAP AND NOTHING ELSE. Measured at 804px: the map began at y=219 and
   ran 872px, so the headline landed at y=1198 and the scale chooser at y=1400 -- two screens
   below a 633px fold. That ordering was right when the entrance said "Understand a place" and
   the map WAS the subject. It is wrong now that the entrance offers six scales, because the
   first thing a reader meets decides what they think the product is. The text comes first and
   the map keeps its place underneath, still full width, just no longer the whole first screen. */
@media(max-width:900px){
  .atl-entrance-r{order:0}
  .atl-entrance-r svg{max-height:48vh;width:auto;display:block;margin:0 auto}
}

/* ONE GEOGRAPHIC LINE INSTEAD OF A WALL OF CHIPS.
   The crumb says where the reader is and lets them step up; the place selector and the
   analytical lenses are disclosures, closed until asked for. Both reuse `.atl-pick`, which
   the county drawer already established, so nothing new is introduced visually. */
.dcrumb{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;margin:14px 0 0;
  font-size:12.5px;letter-spacing:.01em}
.dcrumb-link{color:var(--ink-3);cursor:pointer;border-bottom:1px solid transparent}
.dcrumb-link:hover{color:var(--clay);border-bottom-color:var(--clay)}
.dcrumb-link:focus-visible{outline:2px solid var(--clay);outline-offset:2px;border-radius:3px}
.dcrumb-sep{color:var(--line-2)}
.dcrumb-here{color:var(--ink-1,#17271d);font-weight:600}

.dpick-s{width:100%;max-width:22rem;margin:0 0 10px;padding:7px 10px;border-radius:7px;
  border:1px solid var(--line-2);background:#fff;font-family:inherit;font-size:13px}
.dpick-g{display:flex;gap:6px;flex-wrap:wrap;padding:0 0 12px}
.dpick-i{font-size:12.5px;padding:4px 10px;border:1px solid var(--line);border-radius:999px;
  background:var(--paper);color:var(--ink-2);cursor:pointer}
.dpick-i:hover{border-color:var(--clay);color:var(--clay)}
.dpick-i.on{background:var(--clay);border-color:var(--clay);color:#fff}
.dpick-i:focus-visible{outline:2px solid var(--clay);outline-offset:2px}

.dlens-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:8px;
  padding:0 0 12px}
.dlens-i{display:block;border:1px solid var(--line);border-radius:9px;padding:9px 12px;
  background:#fff;cursor:pointer}
.dlens-i:hover{border-color:var(--clay)}
.dlens-i.on{border-color:var(--clay);background:var(--paper)}
.dlens-i:focus-visible{outline:2px solid var(--clay);outline-offset:2px}
.dlens-i b{display:block;font-size:13.5px}
.dlens-i i{display:block;font-style:normal;font-size:11.5px;color:var(--ink-3);margin-top:2px}

/* THE SECTOR LEAD. Two observed years, the change between them, and the model's own warning
   that two observations are not a trend. Nothing here is computed except the percentage. */
.dvl{border-left:3px solid var(--clay);padding-left:16px}
.dvl-rows{margin:14px 0 0}
.dvl-row{display:grid;grid-template-columns:minmax(0,1.6fr) auto auto auto auto auto;
  gap:10px;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line)}
.dvl-q{font-size:13.5px;font-weight:600}
.dvl-n{text-align:right}
.dvl-n b{display:block;font-variant-numeric:tabular-nums;font-size:14px}
.dvl-n span{display:block;font-size:10.5px;color:var(--ink-3);letter-spacing:.06em}
.dvl-a{color:var(--ink-3)}
.dvl-d{font-variant-numeric:tabular-nums;font-weight:600;font-size:13px}
.dvl-d.up{color:#2f6b43}
.dvl-d.dn{color:#8a3b22}
.dvl-next{margin:16px 0 0}
.dvl-inv{border:1px solid var(--line);border-radius:9px;padding:10px 13px;margin:8px 0 0;
  background:#fff}
.dvl-inv b{display:block;font-size:13.5px;line-height:1.35}
.dvl-inv p{margin:5px 0 0;font-size:12px;color:var(--ink-3);line-height:1.5}
.dvl-dev{display:inline-block;margin:12px 0 0;padding:8px 14px;border-radius:8px;
  background:var(--clay);color:#fff;font-size:13px;font-weight:600;text-decoration:none}
.dvl-dev:hover{filter:brightness(1.07)}
@media(max-width:700px){
  .dvl-row{grid-template-columns:1fr auto auto auto;row-gap:4px}
  .dvl-q{grid-column:1 / -1}
}

/* THE WORLD ORIENTATION. What is held, what can be explored, what needs settling — above the
   reading rather than instead of it. */
.wo{margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.wo-head{display:flex;gap:26px;flex-wrap:wrap;margin:4px 0 0}
.wo-k b{display:block;font-size:22px;font-variant-numeric:tabular-nums;line-height:1.1}
.wo-k span{display:block;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-3);margin-top:2px}
.wo-n{font-size:12.5px;color:var(--ink-3);line-height:1.55;margin:12px 0 0;max-width:62ch}
.wo-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:9px;
  margin:14px 0 0}
.wo-c{border:1px solid var(--line);border-radius:9px;padding:10px 13px;background:#fff;
  cursor:pointer}
.wo-c:hover{border-color:var(--clay)}
.wo-c:focus-visible{outline:2px solid var(--clay);outline-offset:2px}
.wo-c b{display:block;font-size:13.5px}
.wo-c i{display:block;font-style:normal;font-size:11.5px;color:var(--ink-3);margin-top:3px}
.wo-u{margin:16px 0 0;border-left:3px solid var(--clay);padding-left:13px}
.wo-u p{font-size:13px;line-height:1.55;margin:6px 0 0}

/* BOTH BLOCKS BELOW ARE KEPT. The conflict was positional, not semantic: two branches
   appended to the end of this file and git could not know they were independent. They are:
   72 selectors beginning .eg- (the worked example) and 11 beginning .sysl- (the Systems lens
   picker), with no selector in common. Each carries its own @media(max-width:560px) block and
   those do not collide either -- .eg-* inside one, .sysl-* inside the other -- so two media
   blocks with the same condition both apply, which is valid and is what was intended. */

/* ---- Systems: one tab, three lenses ----------------------------------------
   The picker is a second rank below the tab rail, deliberately quieter than it:
   a lens is a facet of the tab you are already on, not another destination. */
.sysl{margin:0 0 14px}
.sysl-pick{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 9px}
.sysl-i{display:flex;flex-direction:column;gap:1px;padding:6px 11px;border:1px solid var(--rule);
  border-radius:4px;cursor:pointer;background:transparent;min-width:0;flex:1 1 170px}
.sysl-i b{font-size:13px;letter-spacing:.01em}
.sysl-i i{font-style:normal;font-size:11px;opacity:.7;line-height:1.35}
.sysl-i:hover{border-color:var(--ink,currentColor)}
.sysl-i.on{border-color:var(--ink,currentColor);box-shadow:inset 0 -2px 0 0 currentColor}
.sysl-i:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.sysl-ev{margin:0;padding:8px 11px;border-left:2px solid var(--rule);font-size:12px;
  line-height:1.5;opacity:.88}
.sysl-ev b{opacity:1}
/* On a phone the three lenses stack: a 170px floor would force a side-scroll. */
@media(max-width:560px){
  .sysl-i{flex:1 1 100%}
  .sysl-i i{font-size:10.5px}
}

/* ---- worked examples -------------------------------------------------------
   A state is shown as a WORD, not only a colour: "not worked here" is the most
   important thing this surface says and it must survive a greyscale print. */
.eg-h{margin-top:28px}
.pl.eg{cursor:pointer}
.eg-stages{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.eg-s{display:inline-flex;flex-direction:column;gap:1px;padding:4px 9px;border-radius:3px;
  font-size:11px;letter-spacing:.02em;border:1px solid var(--rule)}
.eg-s i{font-style:normal;opacity:.72;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.eg-s.eg-w{border-color:var(--ok,#2f6b4f)}
.eg-s.eg-p{border-color:var(--warn,#8a6d2f)}
.eg-s.eg-n{border-style:dashed;opacity:.78}
.eg-doc{margin-top:14px}
.eg-ro{margin:10px 0;padding:8px 11px;border:1px dashed var(--rule);border-radius:3px;
  font-size:12px;letter-spacing:.04em;text-transform:uppercase;opacity:.85}
.eg-st{margin:10px 0;padding:11px 13px;border:1px solid var(--rule);border-radius:4px}
.eg-st.eg-n{border-style:dashed}
.eg-st-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:5px}
.eg-st-h span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;opacity:.7}
.eg-st p{margin:5px 0}
.eg-n-row{display:flex;flex-wrap:wrap;gap:14px;margin:8px 0}
.eg-num{display:flex;flex-direction:column}
.eg-num b{font-variant-numeric:tabular-nums}
.eg-num i{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.05em;opacity:.7}
.eg-attr{margin:14px 0;font-size:12px;opacity:.8;border-left:2px solid var(--rule);padding-left:10px}
.eg-acts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
@media(max-width:600px){.eg-st-h{flex-direction:column;gap:2px}}
.ov-prov{margin-top:10px;border-style:dashed}
.ov-prov-h{font-size:12px;text-transform:uppercase;letter-spacing:.05em;opacity:.85;margin-bottom:5px}

/* ---- the worked example, before you copy it -------------------------------
   A reader must be able to tell a proposed intervention from a hypothesis about
   a consequence at a glance, and in greyscale: the label carries it, the border
   only reinforces it. */
.eg-src{border-left:2px solid var(--rule);padding:8px 11px;margin:8px 0}
.eg-reqs{display:grid;gap:8px;margin:8px 0}
.eg-req,.eg-iv,.eg-goal,.eg-gap,.eg-cand{border:1px solid var(--rule);border-radius:4px;
  padding:9px 11px;margin:8px 0}
.eg-req-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:4px}
.eg-req-h b{flex:1 1 auto;min-width:0}
.eg-req-h span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;opacity:.65;
  border:1px solid var(--rule);border-radius:3px;padding:1px 5px}
.eg-req-h i{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.eg-st-u{opacity:.9}
.eg-means{opacity:.62;font-size:11px}
.eg-iv.eg-co{border-left:3px solid currentColor}
.eg-iv.eg-ds{border-style:dashed;opacity:.94}
.eg-links{margin-top:8px;padding-top:7px;border-top:1px dotted var(--rule)}
.eg-link{margin:6px 0}
.eg-lk{font-size:10px;letter-spacing:.07em;border:1px solid var(--rule);border-radius:3px;
  padding:1px 5px;margin-right:6px}
.eg-seq{margin:8px 0 8px 18px;padding:0}
.eg-seq li{margin:3px 0}
.eg-cands{margin-top:10px}
.eg-cand{margin:6px 0}
.eg-cand i{font-style:normal;font-size:10px;letter-spacing:.06em;opacity:.7;margin-left:6px}
.eg-gap{border-style:dashed}
@media(max-width:560px){
  .eg-req-h{flex-direction:column;gap:2px}
  .eg-req-h span,.eg-req-h i{align-self:flex-start}
}

/* ---- the ecosystem in one screen ----------------------------------------
   The chain is the argument; the research below it is closed by default. */
.eg-counts{display:flex;flex-wrap:wrap;gap:14px;margin:10px 0}
.eg-count{display:flex;flex-direction:column}
.eg-count b{font-size:19px;font-variant-numeric:tabular-nums;line-height:1.1}
.eg-count i{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.05em;opacity:.7}
.eg-chain{margin:12px 0}
.eg-chain-k{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;
  font-size:10px;text-transform:uppercase;letter-spacing:.07em;opacity:.6}
.eg-chain-k i{font-style:normal;opacity:.5}
.eg-step{border:1px solid var(--rule);border-radius:4px;margin:6px 0;padding:0}
.eg-step>summary{cursor:pointer;padding:9px 11px;display:flex;flex-wrap:wrap;gap:8px;
  align-items:baseline;justify-content:space-between;list-style:none}
.eg-step>summary::-webkit-details-marker{display:none}
.eg-step>summary::before{content:"▸";margin-right:7px;opacity:.5;font-size:11px}
.eg-step[open]>summary::before{content:"▾"}
.eg-step>summary b{flex:1 1 auto;min-width:0}
.eg-step-n{font-size:10px;text-transform:uppercase;letter-spacing:.05em;opacity:.65}
.eg-step-b{padding:0 11px 11px;border-top:1px dotted var(--rule)}
.eg-chain-r{margin:8px 0;padding-left:10px;border-left:2px solid var(--rule)}
.eg-chain-i{margin:8px 0 0;padding:8px 10px;border:1px solid var(--rule);border-radius:3px}
.eg-chain-lab{font-size:9.5px;text-transform:uppercase;letter-spacing:.08em;opacity:.6;
  margin-bottom:3px}
.eg-chain-d{margin-top:8px;padding:7px 9px;border:1px dashed var(--rule);border-radius:3px}
.eg-sec{border-top:1px solid var(--rule);margin:0}
.eg-sec>summary{cursor:pointer;padding:11px 2px;display:flex;gap:9px;align-items:baseline;
  list-style:none}
.eg-sec>summary::-webkit-details-marker{display:none}
.eg-sec>summary::before{content:"▸";opacity:.5;font-size:11px}
.eg-sec[open]>summary::before{content:"▾"}
.eg-sec-n{font-size:10px;letter-spacing:.06em;opacity:.6;border:1px solid var(--rule);
  border-radius:3px;padding:0 5px}
.eg-more{margin:16px 0 0;opacity:.7}
@media(max-width:560px){
  .eg-counts{gap:10px 16px}
  .eg-count b{font-size:17px}
  .eg-step>summary{flex-direction:column;gap:3px}
}
.eg-chain-none{margin:8px 0 0;padding:8px 10px;border:1px dashed var(--rule);border-radius:3px;
  opacity:.92}
