@font-face{font-family:"Instrument Serif";src:url(/fonts/instrument-serif-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/fonts/instrument-sans-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/fonts/instrument-sans-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/fonts/instrument-sans-latin-600-normal.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
:root{color-scheme:light;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-behavior:auto}
body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}
/* Layout: a pinned architectural model of a business on the left, a scrolling stack of status-tinted strata cards on the right; entries open as a field-guide page with a sticky specimen card beside the guide text. Tokens follow veld.io. */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #111110;
  --body: #3A3A37;
  --slate: #6B6B67;
  --faint: #77756E;
  --line: #E6E4DF;
  --grid: #EAE8E2;
  --orange: #E4552C;
  --orange-ink: #C2441F;
  --panel: #111110;
  --panel-2: #1C1C1A;
  --on-panel: #FFFFFF;
  --on-panel-body: #C9C6BE;
  --on-panel-line: #2E2E2B;
  --st-production: #2E7D57;
  --st-pilots: #B7811A;
  --st-unproven: #B4486B;
  --st-cosmetic: #657894;
  --m-top: #FFFFFF;
  --m-left: #EEECE7;
  --m-right: #E1DED7;
  --m-edge: #CFCBC2;
  --m-floor: #F4F3EF;
  --m-slab: #E8E6E0;
  --chart-bar: #B9B6AE;
  --shadow: 0 1px 2px rgba(17,17,16,.04), 0 24px 56px -36px rgba(17,17,16,.34);
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2,0,0,1);
  --r: 16px;
  --nav-h: 60px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211; --surface: #1A1A18; --ink: #F3F2EE; --body: #CBC8C0; --slate: #A3A098; --faint: #8E8B84;
    --line: #2B2B28; --grid: #22221F; --orange: #F06A42; --orange-ink: #FF8A63;
    --panel: #1F1F1C; --panel-2: #262623; --on-panel: #FFFFFF; --on-panel-body: #C9C6BE; --on-panel-line: #2B2B28;
    --st-production: #5DBA8B; --st-pilots: #DDA645; --st-unproven: #E07A9C; --st-cosmetic: #98AAC4;
    --m-top: #2C2C29; --m-left: #232321; --m-right: #1B1B19; --m-edge: #3C3C38; --m-floor: #1F1F1D; --m-slab: #181816;
    --chart-bar: #5B5953;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 56px -32px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121211; --surface: #1A1A18; --ink: #F3F2EE; --body: #CBC8C0; --slate: #A3A098; --faint: #8E8B84;
  --line: #2B2B28; --grid: #22221F; --orange: #F06A42; --orange-ink: #FF8A63;
  --panel: #1F1F1C; --panel-2: #262623; --on-panel: #FFFFFF; --on-panel-body: #C9C6BE; --on-panel-line: #2B2B28;
  --st-production: #5DBA8B; --st-pilots: #DDA645; --st-unproven: #E07A9C; --st-cosmetic: #98AAC4;
  --m-top: #2C2C29; --m-left: #232321; --m-right: #1B1B19; --m-edge: #3C3C38; --m-floor: #1F1F1D; --m-slab: #181816;
  --chart-bar: #5B5953;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 56px -32px rgba(0,0,0,.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--body); font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; font-weight: 400; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Status language ---------- */
[data-st="production"] { --st: var(--st-production); }
[data-st="pilots"] { --st: var(--st-pilots); }
[data-st="unproven"] { --st: var(--st-unproven); }
[data-st="cosmetic"] { --st: var(--st-cosmetic); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st, var(--slate)); flex: none; display: inline-block; }
.st-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand svg { height: 17px; width: auto; display: block; }
.brand svg .wm { fill: var(--ink); }
.brand svg .b2, .brand svg .b3 { fill: var(--ink); }
.brand-title { font-family: var(--serif); font-size: 21px; color: var(--ink); line-height: 1; padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap; }
.zones { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; padding: 4px 2px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.zones::-webkit-scrollbar { display: none; }
.ztab {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px; padding: 6px 12px; font-size: 13.5px;
  color: var(--slate); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease);
}
.ztab .n { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-left: 3px; }
.ztab:hover { color: var(--ink); background: var(--grid); }
.ztab[aria-current="true"] { background: var(--ink); color: var(--surface); }
.ztab[aria-current="true"] .n { color: color-mix(in srgb, var(--surface) 70%, transparent); }
.search { position: relative; flex: none; width: 260px; }
.search input {
  width: 100%; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
  padding: 0 40px 0 38px; font: inherit; font-size: 14px; color: var(--ink);
}
.search input::placeholder { color: var(--faint); }
.search svg { position: absolute; left: 13px; top: 11px; width: 16px; height: 16px; stroke: var(--slate); fill: none; stroke-width: 1.6; }
.search kbd { position: absolute; right: 12px; top: 9px; font-family: var(--mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.results {
  position: absolute; top: 46px; right: 0; width: min(420px, calc(100vw - 32px)); max-height: 60vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px;
}
.results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.results a:hover, .results a[aria-selected="true"] { background: var(--grid); }
.results .r-name { color: var(--ink); font-size: 14.5px; }
.results .r-zone { grid-column: 1; color: var(--slate); font-size: 12.5px; }
.results .st-label { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 12px; color: var(--slate); }
.results .empty { padding: 14px; color: var(--slate); font-size: 14px; }
.nav-cta {
  flex: none; text-decoration: none; background: var(--ink); color: var(--surface); border-radius: 999px; padding: 9px 16px; font-size: 14px;
  transition: transform .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Library ---------- */
.lib {
  position: relative; display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.3fr) minmax(330px, 0.95fr);
  height: calc(100vh - var(--nav-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); min-height: 620px;
  padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  overflow: hidden;
}
.lib-intro { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: 32px 40px; z-index: 2; min-width: 0; }
.lib-intro h1, .lib-intro .lib-h { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.lib-intro h1 em, .lib-intro .lib-h em { font-style: italic; color: var(--orange); }
.lib-intro .lede { font-size: 16px; max-width: 34ch; color: var(--body); }
.legend { display: flex; flex-direction: column; gap: 4px; max-width: 260px; }
.dist { display: flex; gap: 2px; height: 8px; margin: 0 0 10px; }
.dist i { background: var(--st); border-radius: 2px; transition: opacity .25s var(--ease); }
.dist i:first-child { border-radius: 4px 2px 2px 4px; }
.dist i:last-child { border-radius: 2px 4px 4px 2px; }
.dist i.off { opacity: .22; }
.legend-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--faint); margin-bottom: 4px; }
.legend button.chip {
  display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 5px 8px 5px 6px; margin-left: -6px;
  border-radius: 8px; cursor: pointer; text-align: left; font-size: 13.5px; color: var(--ink); width: fit-content;
}
.legend button.chip:hover { background: var(--grid); }
.legend button.chip .c { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.legend button.chip[aria-pressed="false"] { color: var(--faint); }
.legend button.chip[aria-pressed="false"] .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--st); }
.linkish { border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; cursor: pointer; font-size: 13.5px; }
.linkish:hover { text-decoration-color: var(--orange); }

.lib-map { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; }
#map { width: 100%; height: 100%; max-height: 760px; overflow: hidden; touch-action: manipulation; }
#map .room { cursor: pointer; }
#map .m-top { fill: var(--m-top); }
#map .m-left { fill: var(--m-left); }
#map .m-right { fill: var(--m-right); }
#map polygon { stroke: var(--m-edge); stroke-width: .7; stroke-linejoin: round; transition: fill .35s var(--ease); }
#map .m-floor { fill: var(--m-floor); }
#map .m-slab { fill: var(--m-slab); }
#map .m-wall.m-top { fill: var(--m-top); }
#map .hov .m-floor { fill: color-mix(in srgb, var(--orange) 9%, var(--m-floor)); }
#map .on .m-floor { fill: color-mix(in srgb, var(--orange) 22%, var(--m-floor)); }
#map .on .m-top { fill: color-mix(in srgb, var(--orange) 34%, var(--m-top)); }
#map .on .m-left { fill: color-mix(in srgb, var(--orange) 24%, var(--m-left)); }
#map .on .m-right { fill: color-mix(in srgb, var(--orange) 20%, var(--m-right)); }
#map .on polygon { stroke: color-mix(in srgb, var(--orange) 45%, var(--m-edge)); }
#map .pin line { stroke: var(--ink); stroke-width: 1; }
#map .pin circle.core { fill: var(--orange); }
#map .pin circle.halo { fill: var(--orange); opacity: .18; }
#map .pin rect { fill: var(--surface); stroke: var(--line); }
#map .pin text { font-family: var(--sans); font-size: 15px; fill: var(--ink); }
#map .pin text .cnt { font-family: var(--mono); font-size: 12px; fill: var(--slate); }
#map .room.floor { outline: none; }
#map .room.floor:focus-visible .m-floor { stroke: var(--orange); stroke-width: 2.5; }
#map .rlabel { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; fill: var(--slate); text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .25s var(--ease); }
#map .hov .rlabel { opacity: 1; }
.map-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--faint); white-space: nowrap; }

.lib-cards { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding-top: 26px; }
.zone-head { padding: 0 6px 14px 4px; }
.zone-head h2 { font-family: var(--serif); font-size: 30px; line-height: 1.1; display: flex; align-items: baseline; gap: 10px; }
.zone-head h2 .n { font-family: var(--mono); font-size: 13px; color: var(--faint); letter-spacing: 0; }
.zone-head .filter-note { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: var(--slate); margin-top: 8px; }
.zone-head p { color: var(--slate); font-size: 14.5px; margin-top: 6px; max-width: 44ch; }
.stack { flex: 1; overflow-y: auto; padding: 6px 10px 40px 4px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior: contain; }
.card {
  position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: 96px; text-decoration: none; color: inherit;
  background: var(--surface); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 6px 0 -1px color-mix(in srgb, var(--st) 22%, var(--m-right)), 0 6px 0 0 var(--line), 0 18px 30px -24px rgba(17,17,16,.35);
  transform: translateY(0); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-3px); }
.card .art { position: relative; overflow: hidden; background: color-mix(in srgb, var(--st) 7%, var(--surface)); }
.card .art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card .label { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 16px 12px 14px; border-left: 2px solid var(--st); min-width: 0; }
.card .label b { font-weight: 500; color: var(--ink); font-size: 15px; line-height: 1.25; }
.card .meta { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--slate); }
.card .meta .ev { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.card.dim { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.stack-empty { color: var(--slate); font-size: 14px; padding: 20px 4px; }
.leader { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: visible; }
.leader path { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }

/* ---------- Below the fold on the library ---------- */
.band, .sources li { scroll-margin-top: calc(var(--nav-h) + 16px); }
.band { padding-block: clamp(56px, 7vw, 96px); padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); border-top: 1px solid var(--line); }
.band-inner { max-width: 1180px; margin: 0 auto; }
.eyebrow { color: var(--slate); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 14px; height: 4px; border-radius: 2px; background: var(--orange); }
.band h2 { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.015em; }
.band .sub { margin-top: 12px; max-width: 60ch; font-size: 17px; }
.method-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.method-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--st); }
.method-card h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.method-card p { font-size: 14.5px; }
.method-card .ex { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--slate); }
.method-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.method-notes h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.method-notes p { font-size: 14.5px; }
.ev-scale { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.ev-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; font-size: 14px; align-items: baseline; }
.ev-row .mono { color: var(--ink); }

.index-table { margin-top: 36px; overflow-x: auto; }
.index-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.index-table th { text-align: left; font-weight: 400; color: var(--faint); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.index-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.index-table tr.zrow td { padding-top: 26px; color: var(--ink); font-family: var(--serif); font-size: 22px; border-bottom-color: var(--ink); }
.index-table td a { color: var(--ink); text-decoration: none; }
.index-table td a:hover { color: var(--orange-ink); }
.index-table td.ev { color: var(--slate); }

/* ---------- Ask-it ---------- */
.ask { background: var(--panel); color: var(--on-panel-body); border-radius: 20px; overflow: hidden; position: relative; border: 1px solid var(--panel); }
:root[data-theme="dark"] .ask { border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ask { border-color: var(--line); } }
.ask-head { padding: 22px 24px 0; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.ask-head h3 { color: var(--on-panel); font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.ask-head .who { font-size: 13.5px; color: var(--on-panel-body); margin-top: 6px; max-width: 52ch; }
.ask-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; background: #2A2A27; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 24px 0; }
.ask-chips button {
  border: 1px solid var(--on-panel-line); background: var(--panel-2); color: #EDEBE6; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; cursor: pointer; text-align: left;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ask-chips button:hover { border-color: #55534E; }
.ask-chips button[aria-pressed="true"] { border-color: #E4552C; background: #241712; }
.ask-form { display: flex; gap: 8px; margin: 16px 24px 0; padding: 6px 6px 6px 16px; background: #1B1B19; border: 1px solid var(--on-panel-line); border-radius: 14px; }
.ask-form:focus-within { border-color: #E4552C; box-shadow: 0 0 0 3px rgba(228,85,44,.25); }
.ask-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: #FFFFFF; font: inherit; font-size: 15px; outline: none; }
.ask-form input::placeholder { color: #8C8A84; }
.ask-form button { border: 0; background: #E4552C; color: #FFFFFF; border-radius: 10px; padding: 9px 14px; font-size: 14px; cursor: pointer; flex: none; }
.ask-out { padding: 18px 24px 24px; min-height: 120px; }
.ans { display: grid; gap: 14px; animation: rise .45s var(--ease) both; }
.ans-q { font-size: 13.5px; color: #8C8A84; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ans-as { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #C9C6BE; }
.chart-cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #8C8A84; margin-bottom: -6px; }
.ans-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.ans-num { font-family: var(--serif); font-size: 52px; line-height: .95; color: #FFFFFF; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ans-num small { font-family: var(--sans); font-size: 15px; color: var(--on-panel-body); margin-left: 6px; letter-spacing: 0; }
.ans-text { color: #E2DFD8; font-size: 15px; max-width: 62ch; }
.ans-meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #8C8A84; border-top: 1px solid var(--on-panel-line); padding-top: 12px; }
.ans-meta b { color: #C9C6BE; font-weight: 400; }
.ans-how { font-size: 13px; color: #A9A69F; }
.ans-how summary { cursor: pointer; color: #C9C6BE; width: fit-content; }
.ans-how p { margin-top: 6px; max-width: 70ch; }
.ask-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px; background: #1B1B19; border-top: 1px solid var(--on-panel-line); font-size: 14px; color: #E2DFD8; }
.ask-cta a { color: #111110; background: #FFFFFF; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
.ans-miss { color: #E2DFD8; font-size: 15px; display: grid; gap: 12px; }
.ans-miss .miss-chips { padding: 2px 0 0 !important; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .bar { fill: #5E5C56; }
.chart .bar.hi { fill: #E4552C; }
.chart .bar:hover { fill: #8A877F; }
.chart .bar.hi:hover { fill: #F27A55; }
.chart text { font-family: var(--mono); font-size: 10px; fill: #8C8A84; }
.chart text.v { fill: #FFFFFF; font-size: 11px; }
.chart .base { stroke: #3A3A37; stroke-width: 1; }
.chart .ref { stroke: #6B6B67; stroke-width: 1; stroke-dasharray: 3 3; }
.chart .line { fill: none; stroke: #E4552C; stroke-width: 2; }
.chart .area { fill: #E4552C; opacity: .12; }
.chart .zero { stroke: #B4486B; stroke-width: 1; stroke-dasharray: 2 3; }
.hbars { display: grid; gap: 8px; }
.hbar { display: grid; grid-template-columns: minmax(110px, 0.9fr) 2fr auto; gap: 12px; align-items: center; font-size: 13.5px; color: #E2DFD8; }
.hbar .trk { height: 8px; border-radius: 4px; background: #232321; overflow: hidden; }
.hbar .fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #6B6963; }
.hbar.hi .fill { background: #E4552C; }
.hbar .val { font-family: var(--mono); font-size: 12px; color: #FFFFFF; font-variant-numeric: tabular-nums; text-align: right; }
.tip { position: fixed; z-index: 80; pointer-events: none; background: #FFFFFF; color: #111110; font-size: 12.5px; padding: 6px 9px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); white-space: nowrap; font-family: var(--mono); }

/* ---------- Entry ---------- */
.entry { display: grid; grid-template-columns: 30px minmax(300px, 380px) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 clamp(28px, 4vw, 64px); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-block: 28px 80px; max-width: 1360px; margin: 0 auto; }
.entry > .rail { grid-column: 1; grid-row: 1 / 3; }
.entry > .spec-col { grid-column: 2; grid-row: 1 / 3; }
.entry > .crumbs { grid-column: 3; grid-row: 1; max-width: 720px; }
.entry > .guide { grid-column: 3; grid-row: 2; }
.rail { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 9px; padding-top: 140px; }
.rail a { display: block; height: 2px; width: 12px; background: var(--line); border-radius: 1px; position: relative; transition: width .25s var(--ease), background .25s var(--ease); }
.rail a:hover { width: 18px; background: var(--slate); }
.rail a[aria-current="true"] { width: 22px; background: var(--ink); }
.rail a::after { content: attr(data-name); position: absolute; left: 30px; top: -9px; background: var(--ink); color: var(--surface); font-size: 12px; padding: 3px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rail a:hover::after, .rail a:focus-visible::after { opacity: 1; }
.spec-col { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.spec { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.spec .art { position: relative; aspect-ratio: 4 / 3.1; background: color-mix(in srgb, var(--st) 6%, var(--surface)); border-bottom: 2px solid var(--st); }
.spec .art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.spec-body { padding: 18px 22px 22px; display: grid; gap: 14px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zchip { font-size: 12.5px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.zchip:hover { border-color: var(--ink); }
.spec h1 { font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); line-height: 1.02; letter-spacing: -0.015em; }
.spec .aka { font-size: 12.5px; color: var(--slate); }
.spec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 4px; }
.spec-fields .mono { color: var(--faint); font-size: 10.5px; display: block; margin-bottom: 3px; }
.spec-fields div { font-size: 14px; color: var(--ink); }
.spec-cta { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 13.5px; background: var(--surface); }
.spec-cta a { text-decoration: none; background: var(--ink); color: var(--surface); padding: 7px 12px; border-radius: 999px; white-space: nowrap; font-size: 13px; }

.guide { min-width: 0; max-width: 720px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--slate); flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line); }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; padding-top: 4px; scroll-margin-top: calc(var(--nav-h) + 12px); }
.tabs button { border: 0; background: none; padding: 10px 0 12px; font-size: 14.5px; color: var(--slate); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs button .n { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink); }
.review { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; font-size: 13.5px; }
.review .mono { color: var(--faint); font-size: 10.5px; display: block; margin-bottom: 2px; }
.review .pending { display: inline-flex; gap: 7px; align-items: center; color: var(--ink); }
.review .pending::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--orange); }
.takeaway { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--surface); }
.takeaway .mono { color: var(--faint); font-size: 10.5px; display: block; margin-bottom: 8px; }
.takeaway p { font-size: 16.5px; color: var(--ink); line-height: 1.6; }
.g-sec { margin-top: 48px; }
.g-sec > h2 { font-family: var(--serif); font-size: 31px; line-height: 1.12; margin-bottom: 14px; letter-spacing: -0.01em; }
.prose p { margin-top: 12px; font-size: 16.5px; line-height: 1.66; max-width: 68ch; }
.prose p:first-child { margin-top: 0; }
.prose ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16.5px; line-height: 1.6; }
.prose li::marker { color: var(--orange); }
.cites { white-space: nowrap; }
.cite { display: inline-block; position: relative; border: 0; background: none; padding: 1px 1px; margin: 0 0 0 1px; min-width: 0; cursor: pointer; font-family: var(--mono); font-size: 10.5px; line-height: 1; color: var(--orange-ink); vertical-align: super; border-radius: 4px; }
.cite:hover { background: color-mix(in srgb, var(--orange) 12%, transparent); text-decoration: none; }
.cite-sep { font-family: var(--mono); font-size: 10px; color: var(--faint); vertical-align: super; margin: 0; }
.cite::after { content: ''; position: absolute; inset: -8px -4px; }
[tabindex="-1"]:focus:not(:focus-visible), h1[tabindex]:focus { outline: none; }
.glance { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.glance-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.glance-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.glance-wrap th { text-align: left; font-weight: 400; color: var(--slate); width: 34%; padding: 13px 16px; vertical-align: top; }
.glance-wrap td { padding: 13px 16px; color: var(--ink); vertical-align: top; }
.glance-wrap tr + tr th, .glance-wrap tr + tr td { border-top: 1px solid var(--line); }
.needs { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; position: relative; overflow: hidden; }
.needs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); }
.needs p { color: var(--ink); font-size: 16.5px; }
.needs ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; counter-reset: need; }
.needs li { counter-increment: need; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.needs li::before { content: counter(need, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--orange-ink); padding-top: 3px; }
.needs .foot { margin-top: 12px; font-size: 13.5px; color: var(--slate); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; vertical-align: top; }
.cmp thead th { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; }
.cmp tbody th { font-weight: 400; color: var(--slate); width: 26%; }
.cmp tbody tr + tr > * { border-top: 1px solid var(--line); }
.cmp td { color: var(--ink); }
.verdict { border-radius: 16px; padding: 22px; background: color-mix(in srgb, var(--st) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--st) 30%, var(--line)); display: grid; gap: 14px; }
.verdict-top { display: flex; gap: 28px; flex-wrap: wrap; }
.verdict-top .mono { color: var(--slate); font-size: 10.5px; display: block; margin-bottom: 4px; }
.verdict-top .big { font-family: var(--serif); font-size: 30px; color: var(--ink); line-height: 1; display: flex; align-items: center; gap: 10px; }
.verdict-top .big .dot { width: 10px; height: 10px; }
.verdict p { font-size: 15.5px; color: var(--ink); }
.verdict .scale { display: flex; gap: 4px; margin-top: 2px; }
.verdict .scale i { width: 26px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--st) 18%, var(--line)); }
.verdict .scale i.on { background: var(--st); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 16px; }
.metric { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); display: grid; gap: 4px; }
.metric b { color: var(--ink); font-weight: 500; font-size: 15px; }
.metric span { font-size: 13.5px; color: var(--slate); }
.lives { display: flex; flex-wrap: wrap; gap: 8px; }
.lives span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; color: var(--ink); }
.lives-note { margin-top: 10px; font-size: 13.5px; color: var(--slate); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-size: 16.5px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 23px; width: 10px; height: 10px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.faq .a { padding: 0 0 18px; font-size: 15.5px; line-height: 1.65; max-width: 66ch; }
.more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 560px; }
.more .card { min-height: 84px; }
.sources ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.sources li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.sources li:target, .sources li.flash { background: color-mix(in srgb, var(--orange) 8%, transparent); }
.sources .n { font-family: var(--mono); font-size: 12px; color: var(--slate); padding-top: 2px; }
.sources a { color: var(--ink); text-decoration: none; }
.sources a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.sources .pub { display: flex; gap: 8px; align-items: center; margin-top: 4px; color: var(--slate); font-size: 13px; flex-wrap: wrap; }
.stype { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 2px 6px; border: 1px solid var(--line); color: var(--slate); }
.stype.vendor { border-color: color-mix(in srgb, var(--st-unproven) 45%, var(--line)); color: var(--st-unproven); }
.src-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--slate); margin-bottom: 18px; }
.src-summary b { color: var(--ink); font-weight: 500; }
.disclaimer { margin-top: 40px; font-size: 13px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 18px; max-width: 68ch; }
.pop { position: absolute; z-index: 70; width: min(340px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 14px; font-size: 13.5px; display: grid; gap: 8px; }
.pop .t { color: var(--ink); font-size: 14px; line-height: 1.35; }
.pop .row { display: flex; gap: 8px; align-items: center; color: var(--slate); flex-wrap: wrap; }
.pop a { color: var(--orange-ink); text-decoration: none; font-size: 13px; }
.pop a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.foot-band { border-top: 1px solid var(--line); background: var(--panel); color: var(--on-panel-body); padding-block: clamp(56px, 7vw, 88px); padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
.foot-band .band-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 820px; margin: 0; }
.foot-band h2 { color: #FFFFFF; font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.02em; }
.foot-band h2 em { color: #E4552C; }
.foot-band p { color: var(--on-panel-body); font-size: 16.5px; max-width: 46ch; margin-top: 14px; }
.foot-band .btn { display: inline-flex; margin-top: 24px; background: #FFFFFF; color: #111110; text-decoration: none; border-radius: 999px; padding: 12px 20px; font-size: 15px; }
.site-foot { padding-block: 26px; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 13px; color: var(--slate); border-top: 1px solid var(--line); background: var(--bg); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .lib { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr); grid-template-rows: auto 1fr; }
  .lib { height: auto; min-height: 0; overflow: visible; }
  .lib-map { min-height: 460px; }
  .stack { overflow: visible; }
  .lib-intro { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; padding-block: 24px 4px; gap: 18px 40px; }
  .lib-intro .lede { max-width: 46ch; }
  .leader { display: none; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { width: 210px; }
}
@media (max-width: 980px) {
  .entry { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; max-width: 784px; }
  .entry > .crumbs, .entry > .spec-col, .entry > .guide { grid-column: 1; grid-row: auto; }
  .rail { display: none; }
  .spec-col { position: static; max-width: none; }
  .spec .art { aspect-ratio: 16 / 6; }
  .guide { margin-top: 28px; }
  .method-notes { grid-template-columns: 1fr; gap: 20px; }
  .nav-cta { display: none; }
}
@media (max-width: 820px) {
  :root { --nav-h: 108px; }
  .nav { height: auto; flex-wrap: wrap; padding-block: 10px 6px; gap: 8px 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .brand { order: 1; }
  .search { order: 2; flex: 1; width: auto; min-width: 0; }
  .search kbd { display: none; }
  .zones { order: 3; flex-basis: 100%; margin-inline: -4px; }
  .lib { display: flex; flex-direction: column; height: auto; min-height: 0; overflow: visible; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .lib-intro { order: 1; flex-direction: column; align-items: stretch; padding-block: 22px 0; }
  .legend { flex-direction: row; flex-wrap: wrap; max-width: none; gap: 2px 8px; }
  .legend-head, .dist { flex-basis: 100%; }
  .lib-map { order: 2; height: 300px; margin-inline: -8px; }
  .map-hint { display: none; }
  .lib-cards { order: 3; padding-top: 6px; }
  .stack { overflow: visible; padding: 4px 0 32px; }
  .band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .foot-band, .site-foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .method-grid { grid-template-columns: 1fr; }
  .entry { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-top: 16px; }
  .ask-head, .ask-chips, .ask-out { padding-left: 18px; padding-right: 18px; }
  .ask-form { margin-left: 18px; margin-right: 18px; }
  .ask-cta { padding-left: 18px; padding-right: 18px; }
  .ans-num { font-size: 42px; }
  .ans-num small { display: block; margin: 8px 0 0; }
  .hbar { grid-template-columns: minmax(90px, 1fr) 1.2fr auto; }
  .g-sec > h2 { font-size: 27px; }
  .lede { font-size: 17.5px; }
}
@media (max-width: 820px) {
  .index-table table { min-width: 0; }
  .index-table .opt { display: none; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tbody tr { display: block; padding: 12px 16px; }
  .cmp tbody tr + tr > * { border-top: 0; }
  .cmp tbody tr + tr { border-top: 1px solid var(--line); }
  .cmp tbody th, .cmp tbody td { display: block; width: auto; padding: 3px 0; }
  .cmp tbody th { color: var(--ink); font-weight: 600; padding-bottom: 6px; }
  .cmp tbody td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin-bottom: 2px; }
  .cmp tbody td + td { margin-top: 8px; }
}
@media (max-width: 1280px) { .nav-cta { display: none; } }
@media (max-width: 460px) {
  .brand-title { font-size: 18px; }
  .card { grid-template-columns: 0.72fr 1.28fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
