/* europeanllm.eu — editorial catalogue. Paper, ink, one gold accent.
   v3: application shell (slim bar), full-viewport map, ruled data views. */

:root {
  --paper: oklch(96.8% 0.012 95);
  --paper-2: oklch(94.4% 0.014 92);
  --paper-3: oklch(91.5% 0.016 92);
  --ink: oklch(25% 0.035 262);
  --ink-2: oklch(40% 0.030 262);   /* body-secondary — 7:1 on paper */
  --ink-3: oklch(47% 0.025 262);   /* muted, still AA at 15px       */
  --rule: oklch(85% 0.020 262);
  --rule-strong: oklch(70% 0.025 262);
  --blue: oklch(45% 0.16 262);
  --gold: oklch(75% 0.13 85);
  --gold-deep: oklch(52% 0.11 80);
  --gold-arc: #8A6A1E;   /* the one gold that survives a cream ground */
  --serifish: "Bricolage Grotesque", sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
  --bar-h: 50px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 15.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.mapmode { overflow: hidden; }
.mono, .num, time, code, kbd { font-family: var(--mono); font-feature-settings: "tnum" 1; }
a { color: var(--blue); }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 99; }
[hidden] { display: none !important; }

/* ============ the bar ============ */
.bar {
  position: sticky; top: 0; z-index: 40; height: var(--bar-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: var(--s5); padding: 0 var(--s4) 0 var(--s5);
  background: var(--paper); border-bottom: 2px solid var(--ink);
}
.mark {
  font-family: var(--serifish); font-weight: 700; font-size: 17px; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.mark b { font-weight: 800; }
.mark:hover { color: var(--blue); }
.tabs { display: flex; gap: var(--s5); justify-self: center; }
.tabs a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); line-height: calc(var(--bar-h) - 4px);
  border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 0 2px;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.bar-right { display: flex; align-items: center; gap: var(--s4); justify-self: end; min-width: 0; }
.statline { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin: 0; white-space: nowrap; }
.statline b { font-weight: 400; color: var(--ink); }
@media (max-width: 1400px) { .statline { display: none; } }

.searchbox { position: relative; display: flex; align-items: center; }
.searchbox input {
  font: inherit; font-size: 14px; color: var(--ink); width: min(320px, 28vw);
  min-height: 36px; background: var(--paper-2); border: 1px solid var(--rule-strong); border-radius: 2px;
  padding: 5px 30px 5px 9px;
}
.searchbox input::placeholder { color: var(--ink-3); }
.searchbox input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.searchbox kbd {
  position: absolute; right: 7px; font-size: 11px; color: var(--ink-3);
  border: 1px solid var(--rule); border-radius: 2px; padding: 0 4px; pointer-events: none;
}
.searchbox input:focus + kbd { display: none; }
.gq-menu {
  position: absolute; top: calc(100% + 6px); right: 0; width: 340px; max-height: 60vh;
  overflow-y: auto; background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--rule); z-index: 60;
}
.gq-menu button {
  display: flex; width: 100%; gap: var(--s2); align-items: baseline; justify-content: space-between;
  background: none; border: 0; border-bottom: 1px solid var(--rule); text-align: left;
  font: inherit; font-size: 14px; color: var(--ink); padding: 8px 10px; cursor: pointer;
}
.gq-menu button:hover, .gq-menu button:focus { background: var(--paper-2); }
.gq-menu .gm-sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.gq-menu .gm-head { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); padding: 6px 10px 4px; margin: 0; border-bottom: 1px solid var(--rule); }

/* ============ page views ============ */
.page { padding: var(--s5) var(--s5) var(--s7); }
.page-in { max-width: 1280px; margin-inline: auto; }
.view-head { border-bottom: 2px solid var(--ink); padding-bottom: var(--s3); margin-bottom: var(--s4); }
.view-head h2 { font-family: var(--serifish); font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin: 0 0 4px; }
.lede { max-width: 72ch; color: var(--ink-2); font-size: 15px; margin: 0; }
.lede b { color: var(--ink); font-weight: 500; }

/* ============ MAP ============ */
#view-map { display: grid; grid-template-columns: 1fr minmax(340px, 400px);
  height: calc(100dvh - var(--bar-h)); overflow: hidden; }
/* sea is darker than land, so the continent reads as a body and not as a fill.
   The coast and the halo are drawn UNDER the land fills: only their outer half
   survives, which is how an engraved plate gets one heavy line at the water and
   hairlines at the frontiers. */
.map-stage { position: relative; overflow: hidden; background: #EFE9DB; touch-action: none; }
#atlas { display: block; width: 100%; height: 100%; cursor: grab; }
#atlas.dragging { cursor: grabbing; }

.coast-halo { fill: none; stroke: #2A3544; stroke-opacity: .035; stroke-width: 11; stroke-linejoin: round; }
.coastline { fill: none; stroke: #2A3544; stroke-width: 2.3; stroke-linejoin: round; }
.land { fill: #F7F1E6; stroke: none; }
.land.out { fill: #F2ECDF; }
.border { fill: none; stroke: #2A3544; stroke-opacity: .28; stroke-width: .6; stroke-linejoin: round; }
.border.out { stroke-opacity: .16; stroke-dasharray: 3 3; }
.coast-glow { fill: none; stroke: var(--rule); stroke-width: 3; stroke-linejoin: round; }
.grat { stroke: #2A3544; stroke-opacity: .06; stroke-width: .5; fill: none; }
/* connection lines are never ambient: the default plate draws none, because 27
   site→HQ ties crossing Europe at once read as clutter, not as structure. They
   appear on pin hover as a preview, and for the company you actually select. */
#lines { pointer-events: none; }
.netline { fill: none; stroke: var(--gold-arc); stroke-width: 1.45; stroke-linecap: butt;
  visibility: hidden; }
.netline.tl-build { stroke-dasharray: 3.5 2.6; }
.tie-halo { fill: none; stroke: var(--gold-arc); stroke-opacity: .18; stroke-width: 6;
  stroke-linecap: butt; visibility: hidden; }
.netline.hov { visibility: visible; stroke: var(--blue); stroke-width: 1.15; }
.netline.lit, .netline.foc { visibility: visible; stroke-width: 1.7; }
.tie-halo.on { visibility: visible; }

.pin { cursor: pointer; }
.pin .hit { fill: transparent; }
.pin-hq .disc { fill: var(--paper); stroke: var(--ink); stroke-width: 1.1; }
.pin-hq.ss .disc { stroke: var(--gold-deep); stroke-width: 1.8; }
.pin-hq .mono-l { font-family: var(--serifish); font-weight: 700; font-size: 8px; fill: var(--ink);
  text-anchor: middle; pointer-events: none; }
.pin-cluster .disc { fill: var(--ink); stroke: var(--paper); stroke-width: 1.2; }
.pin-cluster .cn { font-family: var(--mono); font-feature-settings: "tnum" 1; fill: var(--paper);
  text-anchor: middle; pointer-events: none; }
.pin-site .core { fill: var(--blue); }
.pin-site.k-factory .core { fill: var(--gold); stroke: var(--gold-deep); stroke-width: 1; }
.pin-site.k-hpc .core { fill: var(--paper); stroke: var(--blue); stroke-width: 1.4; }
.pin-site.building .core { fill: var(--paper); stroke: var(--gold-deep); stroke-width: 1.4; stroke-dasharray: 2.4 1.8; }
.pin-site .approx-halo { fill: none; stroke: var(--ink-3); stroke-width: .9; stroke-dasharray: 2 1.8; }
.pin:hover .disc, .pin:focus .disc { stroke: var(--blue); stroke-width: 2.2; }
.pin.sel .disc { stroke: var(--gold-arc); stroke-width: 2.4; }
.cc-factline dd .mono { white-space: nowrap; }
.pin.sel .core, .pin:hover .core { stroke: var(--blue); stroke-width: 1.6; }
.pin.faded { opacity: .18; }
#pins, #labels { transition: none; }

/* focus mode — one company's network at full strength, everything else a ghost.
   Ghosts stay clickable: the plate keeps its geography and you can switch
   selection without leaving focus first. */
#atlas.focused .pin { opacity: .14; }
#atlas.focused .pin image { filter: grayscale(1) contrast(.35) brightness(1.15); }
#atlas.focused .pin-cluster { display: none; }
#atlas.focused .pin-hq .mono-l { display: none; }
#atlas.focused .pin-hq:not(:has(image)) { opacity: .06; }
#atlas.focused .lbl-t { opacity: .22; font-weight: 400; }
#atlas.focused .lbl-t.country { opacity: .34; }
#atlas.focused .pin.foc { opacity: 1; }
#atlas.focused .pin.foc image { filter: none; }
#atlas.focused .pin.foc .disc { stroke: var(--gold-arc); stroke-width: 2.2; }
#atlas.focused .pin-site.foc .core { fill: var(--blue); stroke: var(--gold-arc); stroke-width: 1.4; }
#atlas.focused .pin-site.foc.building .core { fill: none; }
#atlas.focused .lbl-t.foc { opacity: 1; font-weight: 500; }
#atlas.focused .pin:hover { opacity: .62; }
#atlas.focused .pin.foc:hover { opacity: 1; }

.lbl-t { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px;
  stroke-linejoin: round; pointer-events: none; }
.lbl-t.org { fill: var(--ink); letter-spacing: .02em; text-transform: none; font-size: 12px; }
.lbl-t.country { font-size: 13px; letter-spacing: .28em; fill: var(--ink-2); stroke: #F7F1E6; stroke-width: 4px; }

/* A compact cartographic key: symbols first, no instructional prose. */
.map-legend { position: absolute; left: var(--s5); bottom: 39px; max-width: min(620px, 70%); z-index: 6;
  font-family: var(--mono); font-size: 10.5px; line-height: 1; color: var(--ink-2);
  pointer-events: none; }
.lg-body { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.lg-item { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.map-stage.sparse .lg-body { display: none; }
.lg-focus { margin: 0; font-size: 12px; color: var(--ink); }
.lg-focus b { font-weight: 500; color: var(--ink); }
.lg { display: inline-block; flex: none; width: 9px; height: 9px; margin: 0; }
.lg.hq { border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.lg.hqg { border-radius: 50%; background: var(--paper); border: 2px solid var(--gold-deep); }
.lg.cl { border-radius: 50%; background: var(--ink); }
.lg.dc { background: var(--blue); }
.lg.fac { background: var(--gold); border: 1px solid var(--gold-deep); transform: rotate(45deg); }
.lg.hpc { border: 1.5px solid var(--blue); background: transparent; }
.lg.build { border: 1.5px dashed var(--gold-deep); background: transparent; }
.lg.halo { border-radius: 50%; border: 1.5px dashed var(--ink-3); background: transparent; }

/* chrome that belongs to a printed plate, not to a slippy-map widget */
.map-hud { position: absolute; right: var(--s5); top: var(--s4); z-index: 6;
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--s3); }
.zoomers { display: flex; flex-direction: column; }
.zoomers button { width: 22px; height: 22px; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 14px; line-height: 1; color: var(--ink-2); padding: 0; }
.zoomers button + button { border-top: 1px solid var(--rule-strong); }
.zoomers button:hover, .z-fit:hover { color: var(--ink); }
.z-fit { background: none; border: 0; padding: 0; cursor: pointer; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.scalebar-ui { position: relative; padding-top: 11px; }
.sb-line { display: block; height: 5px; border-left: 1px solid var(--ink-3);
  border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); }
.sb-txt { position: absolute; top: 0; right: 0; font-size: 9px; color: var(--ink-3); }

.map-region { position: absolute; left: var(--s5); top: var(--s4); z-index: 5; margin: 0;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #2A3544;
  opacity: .38; pointer-events: none; }
/* A restrained index strip. Gold is a registration mark, not a filled tab. */
.map-role-filter { position: absolute; z-index: 8; left: var(--s5); right: 58px; top: 40px;
  display: flex; align-items: stretch; width: max-content; max-width: calc(100% - var(--s5) - 58px);
  min-height: 31px; background: color-mix(in oklch, var(--paper) 94%, transparent);
  border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.map-role-label { display: flex; align-items: center; flex: none; padding: 0 10px 0 0;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.map-role-buttons { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.map-role-buttons::-webkit-scrollbar { display: none; }
.map-role-buttons button { position: relative; flex: none; min-height: 31px; border: 0;
  border-left: 1px solid var(--rule); padding: 5px 9px 6px; background: transparent;
  color: var(--ink-2); cursor: pointer; font-family: var(--mono); font-size: 10px;
  line-height: 1.15; white-space: nowrap; }
.map-role-buttons button:hover { color: var(--ink); background: var(--paper-2); }
.map-role-buttons button[aria-pressed="true"] { color: var(--ink); font-weight: 600;
  background: color-mix(in oklch, var(--gold) 18%, var(--paper)); }
.map-role-buttons button[aria-pressed="true"]::after { content: ""; position: absolute;
  left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--gold-deep); }
.map-role-buttons sup { margin-left: 4px; font-size: 8px; font-weight: 400; color: var(--ink-3); }
/* the census is printed once, here, and nowhere else on the map */
.map-foot { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; z-index: 5;
  color: var(--ink-3); background: var(--paper); border-top: 1px solid var(--rule);
  font-size: 12px; font-feature-settings: "tnum" 1; white-space: nowrap;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px var(--s5) 7px; }
body.mapmode .statline { display: none; }

.map-pop { position: absolute; z-index: 20; width: 268px; background: var(--paper);
  border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--rule); padding: 10px 12px;
  pointer-events: none; }
.map-pop .pp-name { font-family: var(--serifish); font-weight: 700; font-size: 16px;
  margin: 0 0 2px; letter-spacing: -.01em; line-height: 1.15; }
.map-pop .pp-role { font-family: var(--mono); font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-2); margin: 0 0 7px; }
.map-pop .pp-line { font-size: 13.5px; margin: 0 0 3px; }
.map-pop .pp-k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.map-pop .pp-hint { font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  margin: 7px 0 0; border-top: 1px solid var(--rule); padding-top: 5px; }

/* right detail panel */
.map-panel { border-left: 2px solid var(--ink); background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain; padding: var(--s4) var(--s5) var(--s7); }
.mp-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); border-bottom: 1px solid var(--ink); padding-bottom: 4px; margin: var(--s5) 0 var(--s2); }
.mp-k:first-child { margin-top: 0; }
.mp-p { font-size: 14px; color: var(--ink-2); margin: 0 0 var(--s3); max-width: 60ch; }
.mp-row { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline;
  font-size: 14px; border-bottom: 1px solid var(--rule); padding: 8px 0; margin: 0; }
.mp-row a { text-decoration: none; }
.mp-row a:hover { text-decoration: underline; }
.mp-row .mono { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
/* the country census as a drawing: a ruled bar chart, not a list of pills */
.ccbar { display: grid; grid-template-columns: 30px 1fr 34px; gap: var(--s3); align-items: center;
  font-family: var(--mono); font-feature-settings: "tnum" 1; font-size: 12.5px;
  height: 18px; text-decoration: none; }
.ccbar u { text-decoration: none; color: var(--ink-2); }
.ccbar span.tr { display: block; height: 7px; background: oklch(25% .035 262 / .08); }
.ccbar i { display: block; height: 7px; background: oklch(25% .035 262 / .82); }
.ccbar b { font-weight: 400; text-align: right; color: var(--ink-2); }
.ccbar:hover i { background: var(--gold-arc); }
.ccbar.on i { background: var(--gold-arc); }
.mp-back { font-family: var(--mono); font-size: 12.5px; background: none; border: 0; color: var(--blue);
  cursor: pointer; padding: 0; margin-bottom: var(--s3); }
.presence-summary { padding-bottom: var(--s3); border-bottom: 1px solid var(--rule-strong); }
.presence-site { border-bottom: 1px solid var(--rule); padding: 10px 0 12px; }
.presence-evidence { font-size: 13.5px; margin: 5px 0 6px; }
.presence-meta { font-size: 13px; margin: 0; }
.map-model-picker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3);
  align-items: center; margin: 0 0 var(--s2); font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.map-model-picker select { min-width: 0; width: 100%; min-height: 34px; padding: 4px 24px 4px 7px;
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 12px;
  letter-spacing: 0; text-transform: none; cursor: pointer; }
.map-empty { color: var(--ink-3); font-style: italic; padding: var(--s2) 0; }

/* ============ shared data furniture ============ */
.dir-toolbar { display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s5); border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.count { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin: 0; margin-right: auto; }
.sort-lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sort-lbl select { font: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px dashed var(--rule-strong); cursor: pointer; }

.dir-grid { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.rail-draw summary { display: none; }
.rail-draw:not([open]) > .rail { display: grid; }
.rail { position: sticky; top: calc(var(--bar-h) + var(--s4)); display: grid; gap: var(--s5); }
.lbl { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s2);
  border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.cc-cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-cloud button { font-family: var(--mono); font-size: 12.5px; padding: 3px 7px; cursor: pointer;
  background: transparent; border: 1px solid var(--rule-strong); color: var(--ink-2); border-radius: 999px; }
.cc-cloud button:hover { border-color: var(--ink); color: var(--ink); }
.cc-cloud button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold-deep); color: oklch(28% .06 80); }
.cc-cloud button sup { font-size: 9.5px; margin-left: 3px; opacity: .7; }
.cat-list { display: grid; gap: 1px; }
.cat-list label { display: flex; gap: 8px; align-items: baseline; font-size: 14px;
  color: var(--ink-2); cursor: pointer; padding-block: 3px; }
.cat-list input { accent-color: var(--gold-deep); }
.cat-list label:hover { color: var(--ink); }
.reg-n { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-left: auto; }
.reg-note { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); margin: var(--s2) 0 0; }
.ghost-btn { font-family: var(--mono); font-size: 12.5px; background: transparent; cursor: pointer;
  border: 1px solid var(--rule-strong); color: var(--ink-2); padding: 7px 14px; justify-self: start; border-radius: 999px; }
.ghost-btn:hover { border-color: var(--ink); color: var(--ink); }
.linklike { background: none; border: none; color: var(--blue); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

.chipbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s4); }
.chip { font-family: var(--mono); font-size: 12.5px; padding: 4px 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--rule-strong); color: var(--ink-2); border-radius: 999px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold-deep); color: oklch(28% .06 80); }
.chip-sep { width: 1px; background: var(--rule); margin: 2px 6px; }
.chip-sel { display: inline-flex; gap: 6px; align-items: baseline; cursor: default; }
.chip-sel select { font: inherit; font-size: 12.5px; background: transparent; border: 0;
  border-bottom: 1px dashed var(--rule-strong); color: var(--ink); cursor: pointer; }

/* ruled lists */
.orglist { list-style: none; margin: 0; padding: 0; }
.org-row { border-bottom: 1px solid var(--rule); }
.org-row.open { background: var(--paper-2); }
.org-head { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto auto auto;
  gap: var(--s4); align-items: center; text-align: left; min-height: 46px;
  background: transparent; border: none; cursor: pointer; padding: var(--s2) var(--s2) var(--s2) 0;
  font: inherit; color: inherit; }
.org-head:hover .org-name { color: var(--blue); }
.org-name { font-family: var(--serifish); font-weight: 700; font-size: 18px; letter-spacing: -.01em; display: block; }
.provider-head { grid-template-columns: minmax(180px,1fr) 42px 220px 170px; column-gap: var(--s4); }
.org-idline { display: flex; align-items: flex-start; min-width: 0; }
.org-idline .org-logo, .org-idline .org-mono { flex: none; }
.provider-head .org-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.2; }
.org-sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-verified { display: grid; gap: 2px; font-family: var(--mono); font-size: 12px; line-height: 1.25;
  color: var(--ink-3); white-space: nowrap; text-align: right; }
.org-verified time { color: var(--ink-2); }
.cc-chip { font-family: var(--mono); font-size: 12px; border: 1px solid var(--rule-strong);
  padding: 1px 5px; color: var(--ink-2); border-radius: 2px; }
.org-models { display: grid; gap: 2px; font-family: var(--mono); font-size: 13px; line-height: 1.25;
  color: var(--ink-2); white-space: nowrap; text-align: right; }
.provider-head .org-models { max-width: 220px; white-space: normal; }
.provider-head .org-models > span:last-child { font-size: 11.5px; line-height: 1.25; text-wrap: balance; }
.org-models > span:first-child { color: var(--ink); }
.org-logo { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rule-strong);
  object-fit: cover; background: var(--paper); vertical-align: -6px; margin-right: 9px; }
.org-mono { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; margin-right: 9px;
  background: var(--ink); color: var(--paper); font-family: var(--serifish); font-weight: 700;
  font-size: 12px; align-items: center; justify-content: center; vertical-align: -6px; }
.conf-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.conf-high { background: var(--gold-deep); } .conf-medium { background: var(--gold); } .conf-low { background: var(--rule-strong); }
.org-detail { display: none; padding: 0 0 var(--s5); }
.org-row.open .org-detail { display: block; }
.empty { padding: var(--s6) 0; color: var(--ink-2); }
.more-note { color: var(--ink-3); font-size: 12.5px; padding: var(--s3) 0; }

/* ============ models view ============ */
.modellist .org-head, .m-axis { grid-template-columns: minmax(180px, 1fr) 200px minmax(300px, 1.5fr) 104px;
  gap: var(--s4); align-items: center; min-height: 54px; }
.m-axis { display: grid; }
.m-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-start; }
.tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3);
  border: 1px solid var(--rule); padding: 1px 5px; border-radius: 2px; white-space: nowrap; }
.tag.ow { color: var(--ink-2); border-color: var(--rule-strong); }
/* a second price class, marked as such and never drawn on the token axis */
.tag.gpuh { color: var(--blue); border-color: var(--blue); background: oklch(45% .16 262 / .06); }
.spread-cell .tag.gpuh { margin-right: 8px; }
.m-nprov { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; text-align: right; }
.m-noprice { font-family: var(--mono); font-size: 13px; color: var(--ink-3); font-style: italic; }

/* the two-strip spread diagram — one shared log axis for every row */
.spread { display: block; }
.sp-body { display: block; position: relative; height: 60px; }
.sp-grids { display: block; position: absolute; inset: 0; }
.sp-grid { position: absolute; top: 28px; bottom: 0; width: 1px; background: var(--rule-strong); opacity: .5; }
.sp-strip { display: block; position: absolute; left: 0; right: 0; height: 11px; }
.sp-strip.in { top: 32px; }
.sp-strip.out { top: 46px; }
.sp-range { position: absolute; top: 4px; height: 4px; background: var(--ink); }
.sp-strip.out .sp-range { background: var(--rule-strong); }
.sp-dot { position: absolute; top: 2px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); transform: translateX(-50%); }
.sp-strip.out .sp-dot { background: var(--paper); border: 1.5px solid var(--ink-2); top: 2px; }
.sp-dot.med { background: var(--gold); border: 1.5px solid var(--gold-deep); width: 10px; height: 10px; top: 1px; }
/* every dot is a target: the mark stays small, the hit area is 16px square */
.pdot[data-tip] { cursor: pointer; }
.pdot[data-tip]::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.sp-dot.pdot:hover, .sp-dot.med.pdot:hover {
  background: var(--blue); border-color: var(--blue);
  box-shadow: 0 0 0 3.5px oklch(45% .16 262 / .2); }

/* the dot tooltip — same paper card as the map popover, mono numerals */
.sp-tip {
  position: fixed; z-index: 60; max-width: 260px; pointer-events: none;
  background: var(--paper); border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--rule);
  padding: 5px 9px 6px; font-family: var(--mono); font-size: 12.5px; line-height: 1.4;
  color: var(--ink); font-feature-settings: "tnum" 1; text-wrap: balance;
  overflow-wrap: anywhere;
}
/* single-metric mode: one strip, drawn heavier because it is the whole reading */
.spread.solo .sp-body { height: 46px; }
.spread.solo .sp-strip { top: 28px; height: 14px; }
.spread.solo .sp-range { top: 4.5px; height: 5px; }
.spread.solo .sp-dot { top: 1px; width: 11px; height: 11px; }
.spread.solo .sp-strip.out .sp-dot { border-width: 2px; }
.spread.solo .sp-strip.out .sp-range { background: var(--ink-2); }
.spread.solo .sp-dot.med { width: 13px; height: 13px; top: 0; }
.spread.solo .pdot[data-tip]::after { inset: -3px; }
.modellist .org-head:has(.spread.solo) { min-height: 46px; }
.sp-vals { display: flex; position: absolute; left: 0; right: 0; top: 0; min-height: 26px;
  gap: 4px 12px; align-items: flex-start; flex-wrap: wrap; overflow: hidden; }
.sp-key { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.sp-key b { font-weight: 400; color: var(--ink-3); }
.spread-cell { display: block; min-width: 0; }
.modellist .org-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.25; }
.sp-val { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.m-axis { display: grid; align-items: end; padding: 0 0 6px; }
.m-axis .sp-axisline { position: relative; height: 18px; border-bottom: 1px solid var(--rule-strong); }
.m-axis .sp-grid { top: auto; bottom: 0; height: 5px; }
.m-axis .sp-grid b { position: absolute; bottom: 7px; left: 0; transform: translateX(-50%);
  font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--ink-3); }
.m-axis .axis-key { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-align: right; }

/* ============ cards ============ */
.company-card { max-width: 780px; }
.map-panel .company-card { max-width: none; }
.cc-head-row { display: flex; justify-content: space-between; gap: var(--s4); align-items: flex-start; }
.cc-id { display: flex; gap: var(--s3); align-items: flex-start; min-width: 0; }
.cc-id .org-logo, .cc-id .org-mono { width: 34px; height: 34px; font-size: 17px; margin: 2px 0 0; vertical-align: 0; flex: none; }
.pp-name { font-family: var(--serifish); font-weight: 700; font-size: 20px; margin: 0 0 2px; letter-spacing: -.015em; line-height: 1.15; }
.pp-role { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.cc-conf { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; margin: 2px 0 0; }
.cc-factline { display: grid; gap: 5px; margin: var(--s4) 0; }
.cc-factline .fact { display: grid; grid-template-columns: 92px 1fr; gap: var(--s3); font-size: 14px; }
.cc-factline dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.cc-factline dd { margin: 0; }
.cc-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin: var(--s5) 0 var(--s2); border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.badge { font-family: var(--mono); font-size: 12px; padding: 2px 8px; border: 1px solid var(--rule-strong);
  border-radius: 999px; white-space: nowrap; color: var(--ink-2); }
.badge.b-warn { border-color: var(--gold-deep); color: var(--gold-deep); }
.badge.b-dim { color: var(--ink-3); border-style: dashed; }
.dim { color: var(--ink-3); }
.unknown { color: var(--ink-3); font-style: italic; }
.cheap-tbl, .prov-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.cheap-tbl td, .prov-tbl td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.cheap-tbl th, .prov-tbl th { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); text-align: left; border-bottom: 1.5px solid var(--ink); padding: 4px 10px 4px 0; }
.cheap-tbl th.num, .prov-tbl th.num, .cheap-tbl th:not(:first-child) { text-align: right; }
.cheap-tbl .num, .prov-tbl .num, td.num, th.num { font-family: var(--mono); font-size: 13px;
  text-align: right; white-space: nowrap; }
.other-price-tbl th:last-child, .other-price-tbl td:last-child { text-align: left; padding-left: var(--s3); }
.other-price-tbl td:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.prov-tbl .num { color: var(--ink); }
.ghost-link { background: none; border: none; padding: 0; font: inherit; font-size: 13.5px;
  color: var(--blue); cursor: pointer; text-decoration: underline; }
.disc { margin-top: var(--s2); max-height: 300px; overflow-y: auto; }
.sov-grid { display: grid; gap: 7px; }
.sov-row { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); font-size: 14px; }
.sov-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.raw summary { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); cursor: pointer; margin-top: var(--s2); }
.raw p { font-size: 13.5px; color: var(--ink-2); max-width: 66ch; }
.cc-notable { font-size: 14px; max-width: 66ch; color: var(--ink-2); }
.cc-provenance { font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  border-top: 1px solid var(--rule); padding-top: var(--s2); margin-top: var(--s4); word-break: break-word; }
.cc-actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); }
.mini-bar { display: inline-block; width: 74px; height: 7px; background: var(--paper-3); border-radius: 999px; overflow: hidden; vertical-align: middle; }
.mini-bar span { display: block; height: 100%; background: var(--blue); opacity: .5; }
.prov-logo { width: 18px; height: 18px; vertical-align: -4px; margin-right: 7px; border-radius: 50%;
  border: 1px solid var(--rule); object-fit: cover; background: var(--paper); }

/* company/model card single-value range bar */
.rangebar-wrap { display: flex; align-items: center; gap: 10px; max-width: 620px; }
.rb-lbl { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.rangebar { position: relative; flex: 1; height: 20px; min-width: 110px; }
.rb-track { position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: var(--paper-3); border-top: 1px solid var(--rule-strong); }
.rangebar i, .rangebar b { position: absolute; top: 6px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-2); transform: translateX(-50%); }
.rangebar b.d-med { width: 10px; height: 10px; top: 4.5px; background: var(--gold); border: 1.5px solid var(--gold-deep); }
.rb-sub { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin: 3px 0 0; }
.rangebar i.pdot:hover, .rangebar b.pdot:hover, .rangebar b.d-med.pdot:hover {
  background: var(--blue); border-color: var(--blue);
  box-shadow: 0 0 0 3.5px oklch(45% .16 262 / .2); }

.gpu-tbl th:last-child, .gpu-tbl td:last-child { color: var(--ink-3); }
.gpu-board { margin-top: var(--s7); border-top: 2px solid var(--ink); padding-top: var(--s5); }
.gpu-board h3 { font-family: var(--serifish); font-weight: 700; font-size: 22px;
  letter-spacing: -.015em; margin: 0 0 var(--s2); }
.gpu-board .lede { max-width: 72ch; }

/* ============ prices ============ */
.hist-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-bottom: var(--s5); }
.hist { }
.hist h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 var(--s2); border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  display: flex; justify-content: space-between; }
.hist h4 span { color: var(--ink-3); letter-spacing: .04em; text-transform: none; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 78px;
  border-bottom: 1px solid var(--ink); }
.bars button { flex: 1; background: var(--paper-3); border: 0; cursor: pointer; padding: 0;
  min-height: 1px; position: relative; display: flex; align-items: flex-end; }
.bars button i { display: block; width: 100%; background: var(--ink-2); }
.bars button:hover { outline: 1px solid var(--ink); }
.bars button[aria-pressed="true"] i, .bars button[aria-pressed="true"] { background: var(--gold); }
.bars { position: relative; }
.hist-grid { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hist-grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule-strong); opacity: .7; }
.hist-axis { position: relative; height: 22px; font-family: var(--mono);
  font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.hist-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.board { width: 100%; border-collapse: collapse; font-size: 14px; }
#price-table { table-layout: fixed; }
#price-table th:nth-child(1) { width: 18%; } #price-table th:nth-child(2) { width: 27%; }
#price-table th:nth-child(3), #price-table th:nth-child(4) { width: 12%; }
#price-table th:nth-child(5) { width: 31%; }
.board th { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); text-align: left; background: var(--paper);
  border-bottom: 2px solid var(--ink); padding: 8px 12px 8px 0; white-space: nowrap;
  position: sticky; top: var(--bar-h); z-index: 3; }
.board th.s { cursor: pointer; }
.board th.s:hover { color: var(--ink); }
.board th[aria-sort] { color: var(--ink); }
.board th[aria-sort]::after { content: " ↓"; color: var(--gold-deep); }
.board th[aria-sort="ascending"]::after { content: " ↑"; }
.board td { border-bottom: 1px solid var(--rule); padding: 9px 12px 9px 0; vertical-align: baseline; }
.board td.p-name { font-weight: 500; }
.board td.p-model { color: var(--ink-2); }
.board td.num b { font-weight: 400; }
.board td.num small { display: block; color: var(--ink-3); font-size: 11.5px; }
.board tr:hover td { background: var(--paper-2); }
.board td.note { font-size: 12.5px; color: var(--ink-3); max-width: 34ch; }
.note-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.table-scroll { max-width: 100%; }
.price-sorters { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px;
  text-transform: uppercase; color: var(--ink-3); }
.price-sorters button { min-height: 36px; background: transparent; border: 1px solid var(--rule-strong);
  color: var(--ink-2); font: inherit; text-transform: none; cursor: pointer; padding: 6px 9px; }
.price-sorters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold-deep); color: var(--ink); }

/* ============ compare ============ */
.compare { max-width: 1100px; }
.cmp-row { display: grid; border-bottom: 1px solid var(--rule); padding: var(--s2) 0;
  grid-template-columns: 120px repeat(var(--cols,2), 1fr); }
.cmp-head { border-bottom: 2px solid var(--ink); }
.cmp-k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cmp-name { font-family: var(--serifish); font-weight: 700; font-size: 18px; }
.cmp-sub { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 2px 0 4px; }
.cmp-row:not(.cmp-head) > *:not(.cmp-k) { border-left: 1px solid var(--rule); padding-left: var(--s4); font-size: 14px; }
.cmp-row > *:not(.cmp-k) { padding-right: var(--s4); }

/* ============ method ============ */
.method-head .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2); margin: 0 0 var(--s2); }
.method-stats { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-2); margin: var(--s3) 0 0; padding-top: var(--s2); border-top: 1px solid var(--rule); }
.method-stats span { white-space: nowrap; }

/* ============ prose ============ */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serifish); font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 0 0 var(--s4); }
.prose h3 { font-family: var(--serifish); font-weight: 700; font-size: 20px; margin: var(--s6) 0 var(--s2); }
.prose p { font-size: 15.5px; }
code { font-size: 13px; background: var(--paper-2); padding: 1px 5px; border: 1px solid var(--rule); border-radius: 2px; }
.foot-line { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3);
  border-top: 1px solid var(--ink); padding-top: var(--s3); margin-top: var(--s6); }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .tabs { gap: var(--s4); }
  .searchbox input { width: min(280px, 25vw); }
}
@media (max-width: 1024px) {
  body.mapmode { overflow: hidden; }
  #view-map { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(220px, 42dvh);
    height: calc(100dvh - var(--bar-h)); overflow: hidden; }
  .map-stage { height: auto; min-height: 0; }
  .map-panel { border-left: 0; border-top: 2px solid var(--ink); max-height: 42dvh;
    min-height: 220px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: var(--s5); }
  #view-map:has(#atlas.focused) .map-panel { padding-top: 12px; }
  #view-map:has(#atlas.focused) .mp-back { margin-bottom: 8px; }
  #view-map:has(#atlas.focused) .cc-factline { margin-block: 12px; }
  #view-map:has(#atlas.focused) .cc-h { margin-top: 16px; }
  .map-legend { display: none; }
  .map-role-filter { left: var(--s3); right: 48px; top: var(--s3);
    width: auto; max-width: none; min-height: 44px; }
  .map-role-label { padding-left: 2px; }
  .map-role-buttons button { min-height: 44px; padding-inline: 10px; font-size: 11px; }
  .dir-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .rail { position: static; }
  .hist-head { grid-template-columns: 1fr; gap: var(--s4); }
  .modellist .org-head { grid-template-columns: minmax(0,1fr) auto; row-gap: var(--s2); }
  .modellist .m-tags, .modellist .spread-cell { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --bar-h: 100px; }
  html, body { max-width: 100%; overflow-x: clip; }
  .bar { grid-template-columns: auto minmax(0,1fr); grid-template-rows: 44px 48px;
    height: var(--bar-h); padding: 4px 10px; gap: 0 5px; }
  .mark { font-size: 12px; }
  .tabs { grid-column: 2; grid-row: 1; justify-self: stretch; justify-content: space-between; gap: 0; min-width: 0; }
  .tabs a { min-height: 44px; line-height: 1; display: inline-flex; align-items: center;
    font-size: 10px; padding: 0 3px; margin: 0; }
  .bar-right { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; }
  .searchbox, .searchbox input { width: 100%; min-width: 0; }
  .searchbox input { min-height: 44px; }
  .gq-menu { width: min(340px, calc(100vw - 20px)); left: 0; right: auto; }
  body[data-view="method"] .bar { grid-template-rows: 44px; height: 52px; }
  body[data-view="method"] .bar-right { display: none; }
  .page { padding: var(--s4) var(--s3) var(--s7); }
  .view-head { padding-bottom: var(--s2); margin-bottom: var(--s3); }
  .view-head h2 { font-size: 27px; }
  .dir-toolbar { flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .dir-toolbar .count { flex: 1 1 100%; white-space: normal; line-height: 1.4; }
  .sort-lbl select { max-width: none; }
  .rail-draw { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .rail-draw summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between;
    cursor: pointer; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; color: var(--ink-2); }
  .rail-draw:not([open]) > .rail { display: none; }
  .rail-draw[open] > .rail { display: grid; padding: var(--s3) 0 var(--s4); }
  .cc-cloud button, .chip, .ghost-btn { min-height: 44px; padding: 9px 11px; }
  .ccbar { min-height: 44px; height: auto; }
  .cat-list label { min-height: 44px; align-items: center; padding-block: 9px; }
  .provider-head { grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; padding-block: 9px; }
  .provider-head > :first-child { grid-column: 1; }
  .provider-head .cc-chip { grid-column: 2; grid-row: 1; justify-self: end; }
  .provider-head .org-models { grid-column: 1 / -1; grid-row: 2; text-align: left; max-width: none;
    grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; white-space: normal; }
  .provider-head .org-verified { grid-column: 1 / -1; grid-row: 3; text-align: left;
    grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; white-space: normal; }
  .org-sub { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  #view-models .chipbar { gap: 4px; margin-bottom: var(--s2); }
  #view-models .chip { min-height: 36px; padding: 6px 8px; font-size: 11.5px; }
  #view-models .chip-sep { display: none; }
  .modellist .org-head { grid-template-columns: minmax(0,1fr) auto; grid-template-areas:
    "name name" "spread spread" "tags prov"; gap: 5px 10px; padding: 9px 0; }
  .modellist .m-id { grid-area: name; }
  .modellist .spread-cell { grid-area: spread; grid-column: auto; min-height: 46px; }
  .modellist .m-tags { grid-area: tags; grid-column: auto; }
  .modellist .m-nprov { grid-area: prov; }
  .m-axis { grid-template-columns: 1fr; padding-top: 3px; }
  .m-axis > span:nth-child(1), .m-axis > span:nth-child(2) { display: none; }
  .m-axis .sp-axisline { grid-column: 1; }
  .m-axis .axis-key { text-align: left; margin-top: 2px; }
  .sp-key { font-size: 13px; }
  .price-toolbar .count { flex-basis: 100%; }
  .price-sorters { order: 2; flex: 1 1 auto; }
  .price-sorters button { min-height: 44px; padding-inline: 8px; }
  .price-toolbar .chk { order: 3; }
  .hist h4 { display: block; line-height: 1.45; }
  .hist h4 span { display: block; }
  .table-scroll { overflow: visible; }
  .board, .board tbody { display: block; width: 100%; }
  .board thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .board tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px;
    padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .board td { border: 0; padding: 0; min-width: 0; }
  .board td.p-name { grid-column: 1; grid-row: 1; }
  .board td.p-model { grid-column: 1; grid-row: 2; overflow-wrap: anywhere; }
  .board td.price-in, .board td.gpu-eur { grid-column: 2; grid-row: 1; }
  .board td.price-out, .board td.gpu-native { grid-column: 2; grid-row: 2; }
  .board td.price-in::before, .board td.price-out::before, .board td.gpu-eur::before,
  .board td.gpu-native::before { font-size: 10px; color: var(--ink-3); text-transform: uppercase; margin-right: 7px; }
  .board td.price-in::before { content: "in"; } .board td.price-out::before { content: "out"; }
  .board td.gpu-eur::before { content: "€/h"; } .board td.gpu-native::before { content: "native"; }
  .board td.note { grid-column: 1 / -1; grid-row: 3; max-width: none; padding-top: 4px; }
  .note-text { -webkit-line-clamp: 3; }
  .gpu-board { margin-top: var(--s6); }
  .gpu-board .lede { font-size: 14px; }
  .lbl-t.country { letter-spacing: .08em; }
  .map-hud { top: 8px; right: 8px; gap: 5px; }
  .zoomers button { width: 44px; height: 44px; background: var(--paper); border: 1px solid var(--rule-strong);
    font-size: 22px; }
  .zoomers button + button { border-top: 0; }
  .z-fit { min-width: 44px; min-height: 44px; background: var(--paper); border: 1px solid var(--rule-strong); font-size: 12px; }
  .map-foot { min-height: 46px; padding: 6px 8px 7px; font-size: 13px; line-height: 1.25;
    letter-spacing: 0; white-space: normal; overflow: visible; text-overflow: clip;
    display: flex; align-items: center; }
  .cc-head-row { flex-direction: column; }
  .cc-factline .fact, .sov-row { grid-template-columns: 78px minmax(0,1fr); }
  .cheap-tbl { font-size: 12.5px; }
  .method-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
}
