/* RANKED "Index v3": Nuclear Clean institutional design tokens for vendor guides (FG-150; ds/index/README.md).
   Bloomberg Terminal / SemiAnalysis / Linear precision. The ONLY place this look defines a colour, gradient,
   shadow, font family, or type size; guide-v3.css reads tokens exclusively. Obsidian dark by default; crisp
   architectural light canvas with obsidian terminal chrome under prefers-color-scheme: light. Every foreground/
   background pair clears WCAG AA (>= 4.5:1 text, >= 3:1 UI/graphics) in BOTH themes. Zero external URLs or fonts. */

:root {
  color-scheme: dark light;

  /* Persistent Obsidian Terminal Palette (masthead, hero, KPI strip, chart frame, newsletter, footer) */
  --obs-0: #070B14;
  --obs-1: #0B1120;
  --obs-2: #111827;
  --obs-3: #162032;
  --obs-4: #1E293B;
  --obs-header: rgba(11, 17, 32, 0.94);
  --obs-glass: rgba(17, 24, 39, 0.88);
  --obs-ghost: rgba(148, 163, 184, 0.12);
  --obs-ghost-hover: rgba(148, 163, 184, 0.22);
  --obs-border: rgba(148, 163, 184, 0.22);
  --obs-border-strong: rgba(148, 163, 184, 0.38);
  --obs-ink: #F8FAFC;
  --obs-body: #CBD5E1;
  --obs-muted: #A0B0C6;
  --obs-cyan: #38BDF8;
  --obs-cyan-bright: #7DD3FC;
  --obs-cyan-soft: rgba(56, 189, 248, 0.16);
  --obs-emerald: #34D399;
  --obs-emerald-bright: #6EE7B7;
  --obs-emerald-soft: rgba(16, 185, 129, 0.16);
  --obs-emerald-line: rgba(52, 211, 153, 0.40);
  --obs-amber: #FBBF24;
  --obs-crimson: #FCA5A5;

  /* Atmospheric Terminal Gradients */
  --hero-grad: radial-gradient(ellipse 80% 55% at 70% -10%, rgba(56, 189, 248, 0.14), transparent 65%), radial-gradient(ellipse 55% 45% at 10% 0%, rgba(16, 185, 129, 0.08), transparent 60%), linear-gradient(180deg, #070B14 0%, #0B1120 100%);
  --hero-grad-alt: radial-gradient(ellipse 75% 55% at 75% -10%, rgba(52, 211, 153, 0.14), transparent 65%), radial-gradient(ellipse 50% 45% at 15% 0%, rgba(56, 189, 248, 0.08), transparent 60%), linear-gradient(180deg, #070B14 0%, #0B1120 100%);

  /* Default Dark Theme Surfaces & Ink */
  --bg: #070B14;
  --header-bg: rgba(11, 17, 32, 0.94);
  --panel: #111827;
  --panel-2: #162032;
  --panel-3: #1E293B;
  --ink: #F8FAFC;
  --ink-2: #CBD5E1;
  --dim: #A0B0C6;
  --rule: #1E293B;
  --rule-strong: #334155;
  --field-line: #7C8EA8;
  --field-bg: #080D18;
  --accent: #38BDF8;
  --accent-hover: #7DD3FC;
  --accent-soft: rgba(56, 189, 248, 0.30);
  --on-accent: #070B14;
  --median: #60A5FA;
  --link: #7DD3FC;
  --up: #FCA5A5;
  --down: #34D399;
  --sel: rgba(56, 189, 248, 0.14);
  --focus: #38BDF8;
  --focus-ring: 0 0 0 3px rgba(56, 189, 248, 0.28);

  /* Live Freshness Pill & 4-Tier Proof Semantics (Dark) */
  --live-ink: #6EE7B7;
  --live-bg: rgba(16, 185, 129, 0.14);
  --live-line: rgba(52, 211, 153, 0.36);
  --live-ring: rgba(52, 211, 153, 0.28);

  --t1: #6EE7B7;
  --t1-bg: rgba(16, 185, 129, 0.16);
  --t1-border: rgba(52, 211, 153, 0.38);
  --t1-solid: #34D399;

  --t2: #93C5FD;
  --t2-bg: rgba(59, 130, 246, 0.18);
  --t2-border: rgba(96, 165, 250, 0.40);
  --t2-solid: #60A5FA;

  --t3: #FCD34D;
  --t3-bg: rgba(245, 158, 11, 0.16);
  --t3-border: rgba(251, 191, 36, 0.38);
  --t3-solid: #FBBF24;

  --t4: #FCA5A5;
  --t4-bg: rgba(239, 68, 68, 0.18);
  --t4-border: rgba(248, 113, 113, 0.40);
  --t4-solid: #F87171;

  /* Inline Spread Bar & Elevation Shadows */
  --spread-track: #26354F;
  --spread-fill: rgba(56, 189, 248, 0.34);
  --spread-tick: #7C8EA8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 30px -14px rgba(0, 0, 0, 0.65);
  --shadow-dark: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 36px -18px rgba(0, 0, 0, 0.72);

  /* Fast System UI + Tabular Monospace Typography (strict >= 14px floor) */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --t-figure: 44px;
  --t-h1: 28px;
  --t-h2: 20px;
  --t-body: 16px;
  --t-price: 17px;
  --t-small: 14px;
  --t-label: 14px;

  /* Geometry, Spacing (4px base) & Container */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --radius-xs: 4px;
  --radius-small: 6px;
  --radius-md: 10px;
  --radius: 14px;
  --radius-xl: 18px;
  --gutter: 16px;
  --max: 1280px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F8FAFC;
    --header-bg: rgba(11, 17, 32, 0.94);
    --panel: #FFFFFF;
    --panel-2: #F1F5F9;
    --panel-3: #E2E8F0;
    --ink: #0B1120;
    --ink-2: #334155;
    --dim: #475569;
    --rule: #E2E8F0;
    --rule-strong: #CBD5E1;
    --field-line: #64748B;
    --field-bg: #FFFFFF;
    --accent: #0369A1;
    --accent-hover: #075985;
    --accent-soft: rgba(3, 105, 161, 0.22);
    --on-accent: #FFFFFF;
    --median: #1D4ED8;
    --link: #0369A1;
    --up: #B91C1C;
    --down: #047857;
    --sel: rgba(3, 105, 161, 0.08);
    --focus: #0369A1;
    --focus-ring: 0 0 0 3px rgba(3, 105, 161, 0.16);

    --live-ink: #065F46;
    --live-bg: #ECFDF5;
    --live-line: #A7F3D0;
    --live-ring: rgba(4, 120, 87, 0.22);

    --t1: #065F46;
    --t1-bg: #ECFDF5;
    --t1-border: #A7F3D0;
    --t1-solid: #059669;

    --t2: #1E40AF;
    --t2-bg: #EFF6FF;
    --t2-border: #BFDBFE;
    --t2-solid: #1D4ED8;

    --t3: #92400E;
    --t3-bg: #FFFBEB;
    --t3-border: #FDE68A;
    --t3-solid: #B45309;

    --t4: #991B1B;
    --t4-bg: #FEF2F2;
    --t4-border: #FECACA;
    --t4-solid: #B91C1C;

    --spread-track: #CBD5E1;
    --spread-fill: rgba(3, 105, 161, 0.20);
    --spread-tick: #64748B;
    --shadow-sm: 0 1px 2px rgba(7, 11, 20, 0.05);
    --shadow-card: 0 1px 3px rgba(7, 11, 20, 0.05), 0 12px 28px -12px rgba(7, 11, 20, 0.10);
  }
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --t-figure: 58px; --t-h1: 36px; --t-h2: 24px; } }
/* RANKED "Index v3": Nuclear Clean institutional stylesheet for vendor guides (FG-150; ds/index/README.md).
   Ported cleanly from the approved blank-canvas gpu-v3 Golden Prototype (Bloomberg Terminal / SemiAnalysis / Linear).
   100% token-driven (reads tokens.css exclusively — zero colour literals, zero font sizes under 14px, zero external
   URLs, strict tabular-nums on numeric data). The only generated content is decorative empty marks (hidden from screen
   readers via alt text "") and mobile table cell labels (attr(data-label)). */

/* 1 base & typography --------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--obs-0); color: var(--ink);
  scroll-behavior: smooth; scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.58;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
main {
  max-width: var(--max); margin: 0 auto;
  padding: var(--s5) var(--gutter) var(--s7);
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
time { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* 2 full-bleed obsidian sticky masthead (vendor_look.masthead) ---------------------------------------------------- */
header.site {
  position: sticky; top: 0; z-index: 90; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s3) max(var(--gutter), calc((100% - var(--max)) / 2));
  background: var(--obs-header); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--obs-border); color: var(--obs-ink);
}
header.site :focus-visible,
body > footer :focus-visible,
section.quote :focus-visible,
section[data-module] :focus-visible,
.price-home > h1 :focus-visible,
.rank-home > h1 :focus-visible { outline-color: var(--obs-cyan); }
.site-brand { position: relative; display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.site-mark { width: 32px; height: 32px; flex: none; }
.site-mark .mark-frame { fill: var(--obs-2); stroke: var(--obs-cyan); stroke-width: 1.5; }
.site-mark .mark-inner { fill: none; stroke: var(--obs-muted); stroke-width: 1.2; stroke-opacity: 0.45; }
.site-mark .mark-b1 { fill: var(--obs-cyan); }
.site-mark .mark-b2 { fill: var(--obs-cyan-bright); }
.site-mark .mark-b3 { fill: var(--obs-emerald); }
body:has(.rank-home, [data-proof-matrix]) .site-mark .mark-frame { stroke: var(--obs-emerald); }
.site-name {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  color: var(--obs-ink); font-weight: 800; font-size: 19px; letter-spacing: -.028em; text-decoration: none;
}
.site-name::after { content: "" / ""; position: absolute; inset: 0; }
.site-name:hover { color: var(--obs-cyan-bright); text-decoration: none; }
body:has(.rank-home, [data-proof-matrix]) .site-name:hover { color: var(--obs-emerald-bright); }
.site-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.site-act {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 9px 18px; border: 1px solid var(--obs-cyan); border-radius: var(--radius-small);
  background: var(--obs-cyan); color: var(--obs-0); font-weight: 700; font-size: var(--t-small);
  text-decoration: none; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease;
}
.site-act:hover { background: var(--obs-cyan-bright); border-color: var(--obs-cyan-bright); text-decoration: none; }
body:has(.rank-home, [data-proof-matrix]) .site-act {
  background: var(--obs-emerald); border-color: var(--obs-emerald); color: var(--obs-0);
}
body:has(.rank-home, [data-proof-matrix]) .site-act:hover {
  background: var(--obs-emerald-bright); border-color: var(--obs-emerald-bright);
}
.site-act-secondary,
body:has(.rank-home, [data-proof-matrix]) .site-act-secondary {
  border-color: var(--obs-border-strong); color: var(--obs-ink); background: var(--obs-ghost);
}
.site-act-secondary:hover,
body:has(.rank-home, [data-proof-matrix]) .site-act-secondary:hover {
  border-color: var(--obs-cyan-bright); color: var(--obs-ink); background: var(--obs-ghost-hover);
}

/* 3 headings, text rhythm & section spacing ----------------------------------------------------------------------- */
h1, h2, h3 { color: var(--ink); text-wrap: balance; letter-spacing: -.026em; }
h1 { font-size: var(--t-h1); line-height: 1.1; font-weight: 800; margin: 0 0 var(--s3); }
h2 { font-size: var(--t-h2); line-height: 1.2; font-weight: 750; margin: 0 0 var(--s3); }
h3 { font-size: 18px; line-height: 1.35; font-weight: 700; margin: var(--s5) 0 var(--s2); }
p { margin: 0 0 var(--s3); max-width: 72ch; }
p[data-answer] { color: var(--dim); font-size: 17px; line-height: 1.55; margin-bottom: var(--s4); }
main > section, main > form, main > div > section { margin: 0 0 var(--s7); }
main > section > p:last-child { margin-bottom: 0; }

/* 4 quick-action jump bars (.desk-bar, .desk-jump) & semantic hub buckets (.site-hub) ----------------------------- */
.desk-bar {
  clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
  width: fit-content; max-width: 100%; margin: var(--s4) 0; padding: var(--s2);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-md); background: var(--panel-2);
  box-shadow: var(--shadow-sm);
}
.desk-act {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 9px 18px; border: 1px solid var(--rule-strong); border-radius: var(--radius-small);
  background: var(--panel); color: var(--ink); font-size: var(--t-small); font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.desk-act:hover { border-color: var(--accent); color: var(--accent); background: var(--sel); text-decoration: none; }
.desk-act-buy { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.desk-act-buy:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.desk-jump { margin: var(--s4) 0 var(--s5); }
.desk-jump a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  padding: 10px 20px; border: 1px solid var(--accent); border-radius: var(--radius-small);
  background: var(--sel); color: var(--accent); font-weight: 700; font-size: var(--t-small);
  text-decoration: none; transition: background 0.15s ease, color 0.15s ease;
}
.desk-jump a:hover { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.quote:has(+ .desk-bar) { margin-bottom: var(--s3); }
.quote + .desk-bar { margin: 0 0 var(--s6); }
.site-buckets { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.site-bucket {
  padding: var(--s4) var(--s5); border: 1px solid var(--rule-strong); border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-card); min-width: 0;
}
.site-bucket h3 {
  margin: 0 0 var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: var(--t-label); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--dim);
}
.site-bucket ul { list-style: none; margin: 0; padding: 0; }
.site-bucket li { margin: 0; font-size: var(--t-small); border-bottom: 1px solid var(--rule); }
.site-bucket li:last-child { border-bottom: 0; }
.site-bucket li a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 8px 0;
  font-weight: 600;
}

/* 5 live freshness pill, obsidian 4-tile KPI ticker strip & GPU model spread strip -------------------------------- */
#price-index > h2 + p { color: var(--dim); }
#price-index > p:has(> time), p.as-of { color: var(--dim); font-size: var(--t-small); }
#price-index > p:has(> time) time, p.as-of time { color: var(--live-ink); font-family: var(--mono); font-size: var(--t-small); font-weight: 700; }
.index-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4);
  flex-wrap: wrap; margin: 0 0 var(--s3);
}
p.as-of {
  display: inline-flex; align-items: center; gap: 8px; max-width: none; margin: 0 0 var(--s3);
  padding: 5px 14px; border: 1px solid var(--live-line); border-radius: 999px;
  background: var(--live-bg); color: var(--live-ink); font-family: var(--mono); font-size: var(--t-small); font-weight: 600;
}
.index-head p.as-of { margin: 0; }
.fresh-dot { flex: none; display: inline-block; width: 8px; height: 8px; }
.fresh-dot .fresh-ring { fill: var(--live-ring); }
.fresh-dot .fresh-core { fill: var(--down); }

/* 4-tile obsidian market ticker strip (consistent Bloomberg terminal contrast in dark & light) */
.kpi-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3);
  margin: 0 0 var(--s4); padding: 0;
}
.kpi-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 4px;
  padding: 14px 16px; border: 1px solid var(--obs-border); border-radius: var(--radius-md);
  background: var(--obs-2); box-shadow: var(--shadow-dark); min-width: 0;
}
.kpi-card dt {
  color: var(--obs-muted); font-family: var(--mono); font-size: var(--t-label); font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; line-height: 1.25;
}
.kpi-card dd {
  margin: 2px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
}
.kpi-val {
  font-family: var(--mono); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -.025em; color: var(--obs-ink);
}
.kpi-card[data-kpi="lowest"] .kpi-val { color: var(--obs-cyan); }
.kpi-card[data-kpi="spot"] .kpi-val { color: var(--obs-emerald); }
.kpi-sub { font-family: var(--mono); font-size: var(--t-small); font-weight: 600; color: var(--obs-muted); }
.kpi-sub:empty { display: none; }

/* GPU model summary strip cards */
.strip { margin: var(--s5) 0; }
.strip > p {
  color: var(--dim); font-family: var(--mono); font-size: var(--t-small); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.strip ul {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3);
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.strip li { margin: 0; padding: 0; min-width: 0; }
.strip li > a, .strip li > span {
  display: grid; gap: 4px; height: 100%; min-height: 44px; padding: var(--s3) var(--s4);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-md);
  background: var(--panel); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.strip li > a:hover { border-color: var(--accent); background: var(--panel-2); box-shadow: var(--shadow-card); }
.strip-gpu { font-weight: 700; color: var(--ink); }
.strip-price { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* 6 analytical data boards (.board), sorting & inline SVG spread / sparkline -------------------------------------- */
.board {
  overflow-x: auto; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow-card); margin: var(--s3) 0;
  -webkit-overflow-scrolling: touch;
}
.board table { width: 100%; min-width: 960px; border-collapse: collapse; }
#price-index .board table { table-layout: fixed; }
#price-index .board thead th:nth-child(1) { width: 12%; }
#price-index .board thead th:nth-child(2) { width: 13%; }
#price-index .board thead th:nth-child(3) { width: 9%; }
#price-index .board thead th:nth-child(4) { width: 7%; }
#price-index .board thead th:nth-child(n+5) { width: 19.67%; }
#vendor-ranking .board table,
.board[data-proof-matrix] table,
.spellings .board table,
#token-index .board table { table-layout: fixed; min-width: 0; }
#vendor-ranking .board thead th:nth-child(1) { width: 8%; }
#vendor-ranking .board thead th:nth-child(2) { width: 18%; }
#vendor-ranking .board thead th:nth-child(3) { width: 20%; }
#vendor-ranking .board thead th:nth-child(4) { width: 39%; }
#vendor-ranking .board thead th:nth-child(5) { width: 15%; }
.board[data-proof-matrix] thead th:nth-child(1) { width: 21%; }
.board[data-proof-matrix] thead th:nth-child(2) { width: 22%; }
.board[data-proof-matrix] thead th:nth-child(3) { width: 15%; }
.board[data-proof-matrix] thead th:nth-child(4) { width: 11%; }
.board[data-proof-matrix] thead th:nth-child(5) { width: 16%; }
.board[data-proof-matrix] thead th:nth-child(6) { width: 15%; }
.spellings .board thead th:nth-child(1) { width: 28%; }
.spellings .board thead th:nth-child(2) { width: 38%; }
.spellings .board thead th:nth-child(3) { width: 18%; }
.spellings .board thead th:nth-child(4) { width: 16%; }
#token-index .board thead th:nth-child(1) { width: 23%; }
#token-index .board thead th:nth-child(2) { width: 19%; }
#token-index .board thead th:nth-child(3) { width: 13%; }
#token-index .board thead th:nth-child(4) { width: 19%; }
#token-index .board thead th:nth-child(5) { width: 13%; }
#token-index .board thead th:nth-child(6) { width: 13%; }
#token-index .board td time { white-space: normal; }
.board th, .board td {
  padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule);
  overflow-wrap: normal; word-break: normal; hyphens: none;
}
.board tbody:last-child tr:last-child > * { border-bottom: 0; }
.board thead th {
  background: var(--panel-2); color: var(--dim); font-family: var(--sans); font-size: var(--t-label);
  font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: bottom;
  white-space: normal; border-bottom: 1px solid var(--rule-strong);
}
.board thead th:has(> .sort-btn) { padding-top: 2px; padding-bottom: 2px; }
#price-index .board thead th:nth-child(3) { padding-left: 8px; padding-right: 8px; }
#price-index .board thead th:nth-child(4) { padding-left: 6px; padding-right: 6px; }
.sort-btn {
  display: inline-flex; align-items: flex-end; justify-content: flex-start; gap: 4px;
  width: 100%; min-height: 44px; min-width: 44px; padding: 6px 0; margin: 0;
  border: 0; border-radius: 0; background: transparent; color: inherit;
  font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit;
  text-transform: inherit; text-align: left; line-height: 1.2; cursor: pointer;
}
#price-index .board thead th:nth-child(4) .sort-btn { flex-wrap: wrap; gap: 2px; }
.sort-btn:hover { background: transparent; color: var(--ink); }
.sort-ind { flex: none; font-family: var(--mono); font-size: var(--t-label); color: var(--dim); }
th[aria-sort="ascending"] .sort-btn, th[aria-sort="descending"] .sort-btn,
th[aria-sort="ascending"] .sort-ind, th[aria-sort="descending"] .sort-ind { color: var(--accent); }
.board tbody th { font-weight: 700; color: var(--ink); }
.board tbody th a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -10px 0;
  color: var(--ink); font-weight: 700;
}
.board tbody th a:hover { color: var(--accent); }
.board th small[data-spellings], details.tracked li small[data-spellings] {
  display: block; margin-top: 2px; font-size: var(--t-small); font-weight: 400; color: var(--dim);
}
.board tbody tr:hover > *, .board tbody tr:focus > *, .board tbody tr:focus-within > * {
  background-image: linear-gradient(var(--sel), var(--sel));
}
.board tbody tr:focus { outline: 2px solid var(--focus); outline-offset: -2px; }
.board tbody tr.model > th {
  padding-top: var(--s3); padding-bottom: var(--s2); background: var(--panel-2);
  color: var(--dim); font-family: var(--mono); font-size: var(--t-small); font-weight: 700;
}
.board tbody.family th[scope="row"] { padding-left: 24px; font-weight: 600; }
.board td { color: var(--ink); }
#price-index .board tbody td:nth-child(2) {
  position: relative; padding-right: calc(14px + 56px); color: var(--accent);
  font-family: var(--mono); font-weight: 700; font-size: var(--t-price); white-space: nowrap;
}
#price-index .board tbody td:nth-child(3), #price-index .board tbody td:nth-child(4) {
  font-family: var(--mono); font-weight: 600; white-space: nowrap;
}
#price-index .board tbody td:nth-child(n+5) { font-size: var(--t-small); }
#token-index .board tbody td:nth-child(2), #token-index .board tbody td:nth-child(4) {
  color: var(--accent); font-family: var(--mono); font-weight: 700; white-space: nowrap;
}
#token-index .board tbody td:nth-child(3), #token-index .board tbody td:nth-child(5) {
  font-family: var(--mono); white-space: nowrap;
}
#vendor-ranking .board tbody th[scope="row"] {
  font-family: var(--mono); white-space: nowrap; font-size: var(--t-price); color: var(--accent);
}
#vendor-ranking .board tbody td:nth-child(2) { font-weight: 700; }
#vendor-ranking .board tbody td:nth-child(5),
.board[data-proof-matrix] tbody td:nth-child(6) { font-size: var(--t-small); font-family: var(--mono); }
.board[data-proof-matrix] tbody td:nth-child(3),
.board[data-proof-matrix] tbody td:nth-child(4),
.board[data-proof-matrix] tbody td:nth-child(5) { font-family: var(--mono); font-weight: 700; }
.board .sub { display: block; font-family: var(--sans); font-size: var(--t-small); font-weight: 400; color: var(--dim); white-space: normal; }
.board .none { font-family: var(--sans); font-size: var(--t-small); font-weight: 400; color: var(--dim); white-space: nowrap; }
.spellings .board .none, #vendor-ranking .board .none, #token-index .board .none { white-space: normal; }
.board td a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -11px 0; font-weight: 600;
}
.board td time { color: var(--dim); }
.board td .spark { position: absolute; top: 16px; right: 14px; margin: 0; }
.board td .spread { display: block; width: 100%; max-width: 88px; height: 18px; margin-top: var(--s1); overflow: visible; }
.spread .spread-track { fill: var(--spread-track); }
.spread .spread-range { fill: var(--spread-fill); }
.spread .spread-mid { fill: var(--accent-soft); }
.spread .spread-tick { stroke: var(--spread-tick); stroke-width: 1.5; }
.spread .spread-hi { fill: var(--spread-tick); }
.spread .spread-low { fill: var(--down); }
.spread .spread-med { fill: var(--median); }

/* 7 4-tier visual proof-tier attestation ladder & badges (privateairanked.com) ------------------------------------ */
.proof-ladder {
  list-style: none; margin: var(--s4) 0 var(--s4); padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3);
}
.proof-step {
  display: grid; gap: 6px; margin: 0; padding: 14px 16px;
  border: 1px solid var(--rule-strong); border-top-width: 3px; border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-card); min-width: 0;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.proof-step:has(> .proof-step-btn) { padding: 0; }
.proof-step-btn {
  display: grid; gap: 6px; width: 100%; height: 100%; min-height: 44px; min-width: 44px;
  padding: 14px 16px; margin: 0; border: 0; border-radius: inherit; background: transparent;
  color: inherit; text-align: left; font: inherit; cursor: pointer;
}
.proof-step-btn:hover { background: transparent; }
.proof-step:has(> .proof-step-btn):hover { transform: translateY(-2px); }
.proof-step[data-tier="attested"] { border-top-color: var(--t1-solid); border-color: var(--t1-border); border-top-color: var(--t1-solid); background: var(--t1-bg); }
.proof-step[data-tier="audited"] { border-top-color: var(--t2-solid); border-color: var(--t2-border); border-top-color: var(--t2-solid); background: var(--t2-bg); }
.proof-step[data-tier="contract"] { border-top-color: var(--t3-solid); border-color: var(--t3-border); border-top-color: var(--t3-solid); background: var(--t3-bg); }
.proof-step[data-tier="promise"] { border-top-color: var(--t4-solid); border-color: var(--t4-border); border-top-color: var(--t4-solid); background: var(--t4-bg); }
.proof-step.is-selected[data-tier="attested"] { box-shadow: 0 0 0 2px var(--t1-solid); }
.proof-step.is-selected[data-tier="audited"] { box-shadow: 0 0 0 2px var(--t2-solid); }
.proof-step.is-selected[data-tier="contract"] { box-shadow: 0 0 0 2px var(--t3-solid); }
.proof-step.is-selected[data-tier="promise"] { box-shadow: 0 0 0 2px var(--t4-solid); }
.proof-step-head { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.proof-rank { font-family: var(--mono); font-size: var(--t-label); font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.proof-step[data-tier="attested"] .proof-rank { color: var(--t1); }
.proof-step[data-tier="audited"] .proof-rank { color: var(--t2); }
.proof-step[data-tier="contract"] .proof-rank { color: var(--t3); }
.proof-step[data-tier="promise"] .proof-rank { color: var(--t4); }
.proof-count {
  margin-left: auto; padding: 2px 9px; border: 1px solid var(--rule-strong); border-radius: 999px;
  background: var(--panel); color: var(--ink); font-family: var(--mono); font-size: var(--t-small); font-weight: 700;
}
.proof-step-name { font-size: var(--t-body); font-weight: 800; color: var(--ink); line-height: 1.25; }
.proof-step-note { font-size: var(--t-small); color: var(--ink-2); line-height: 1.35; }
.tier-cell { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; }
.tier-badge {
  display: inline-block; max-width: 100%; padding: 4px 10px; border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs); background: var(--panel-2); color: var(--ink);
  font-family: var(--mono); font-size: var(--t-small); font-weight: 700;
  letter-spacing: .01em; white-space: normal; line-height: 1.3;
}
.tier-badge[data-tier="attested"] { border-color: var(--t1-border); background: var(--t1-bg); color: var(--t1); }
.tier-badge[data-tier="audited"] { border-color: var(--t2-border); background: var(--t2-bg); color: var(--t2); }
.tier-badge[data-tier="contract"] { border-color: var(--t3-border); background: var(--t3-bg); color: var(--t3); }
.tier-badge[data-tier="promise"] { border-color: var(--t4-border); background: var(--t4-bg); color: var(--t4); }
.tier-meter { display: block; width: 45px; height: 6px; flex: none; }
.tier-meter .seg.off { fill: var(--spread-track); }
.tier-meter[data-tier="attested"] .seg.on { fill: var(--t1-solid); }
.tier-meter[data-tier="audited"] .seg.on { fill: var(--t2-solid); }
.tier-meter[data-tier="contract"] .seg.on { fill: var(--t3-solid); }
.tier-meter[data-tier="promise"] .seg.on { fill: var(--t4-solid); }

/* 8 tracked disclosure, filter bar, chips & sparkline (gpu-v3.js) ------------------------------------------------- */
details.tracked {
  margin: var(--s3) 0 var(--s4); padding: var(--s2) var(--s4); border: 1px dashed var(--rule-strong);
  border-radius: var(--radius-md); background: var(--panel); font-size: var(--t-small); color: var(--dim);
}
details.tracked > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--ink); font-weight: 600; }
details.tracked > p { margin: var(--s3) 0 var(--s1); }
details.tracked ul { list-style: none; margin: 0 0 var(--s2); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
details.tracked li { margin: 0; padding: 0; color: var(--ink); white-space: nowrap; }
#price-index > p:has(> a):not(:has(time)) { display: inline-block; margin: 0 var(--s4) 0 0; font-size: var(--t-small); }

.board-find {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s4);
  width: 100%; max-width: none;
  margin: var(--s3) 0 0; padding: var(--s3) var(--s4);
  border: 1px solid var(--rule-strong); border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0; background: var(--panel-2);
}
.board-find + .board { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.board-find label { display: flex; align-items: center; gap: 1ch; color: var(--ink); font-size: var(--t-small); font-weight: 700; }
#price-index .board-find input, #token-index .board-find input {
  width: 19em; max-width: 60vw; min-height: 44px; padding: 8px 12px;
}
.board-chips {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2);
  margin: 0; padding: 0 var(--s4) var(--s3);
  border-left: 1px solid var(--rule-strong); border-right: 1px solid var(--rule-strong);
  background: var(--panel-2);
}
.board-chips + .board { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.chip-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 8px 14px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-small);
  background: var(--panel); color: var(--ink); font-size: var(--t-small); font-weight: 600;
  white-space: nowrap; cursor: pointer; transition: all 0.14s ease;
}
.chip-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--sel); }
.chip-btn[aria-pressed="true"] {
  border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 700;
}
.board-count {
  margin-left: auto; font-family: var(--mono); font-size: var(--t-small); font-weight: 600;
  color: var(--dim); white-space: nowrap;
}
.keys { display: inline-flex; align-items: center; gap: 8px; }
kbd {
  font-family: var(--mono); font-size: var(--t-label); line-height: 1; padding: 4px 7px;
  color: var(--ink); background: var(--panel); border: 1px solid var(--rule-strong);
  border-bottom-width: 2px; border-radius: var(--radius-xs);
}
.spark { display: inline-block; width: 48px; height: 14px; margin-left: 1ch; vertical-align: middle; overflow: visible; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark circle { fill: var(--accent); }

/* 9 GPU detail page (vendor_gpu): obsidian quote hero, obsidian chart panel, offers board, specs ------------------ */
.quote {
  display: grid; gap: var(--s3); padding: var(--s5) var(--s6);
  border: 1px solid var(--obs-border); border-radius: var(--radius);
  background: var(--hero-grad); color: var(--obs-body); box-shadow: var(--shadow-dark);
}
.quote > p { margin: 0; max-width: none; }
.quote a { color: var(--obs-cyan-bright); }
.quote-label {
  color: var(--obs-cyan); font-family: var(--mono); font-size: var(--t-label);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.quote-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.2ch; }
.quote-figure {
  font-family: var(--mono); font-size: var(--t-figure); font-weight: 800; line-height: 1;
  letter-spacing: -.03em; color: var(--obs-ink);
}
.quote-unit { color: var(--obs-muted); font-size: 18px; }
.quote-at, .quote-note { color: var(--obs-body); font-size: var(--t-small); }
.quote-note { color: var(--obs-ink); font-size: var(--t-body); }
.quote-asof {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 5px 14px; border: 1px solid var(--obs-emerald-line); border-radius: 999px;
  background: var(--obs-emerald-soft); color: var(--obs-emerald-bright);
  font-family: var(--mono); font-size: var(--t-small); font-weight: 600;
}
.quote-asof .fresh-dot .fresh-core { fill: var(--obs-emerald); }
.quote-asof .fresh-dot .fresh-ring { fill: var(--obs-emerald-soft); }
.quote-moves { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.quote-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s3);
  margin: var(--s2) 0 0; padding: 0;
}
.quote-stats div {
  min-width: 0; padding: 13px 15px; border: 1px solid var(--obs-border);
  border-radius: var(--radius-md); background: var(--obs-2);
}
.quote-stats dt {
  color: var(--obs-muted); font-family: var(--mono); font-size: var(--t-label);
  text-transform: uppercase; letter-spacing: .04em;
}
.quote-stats dd {
  margin: 5px 0 0; font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--obs-ink);
}
.quote-stats dd .move { display: block; margin-top: 4px; }
.quote .sub { display: block; font-family: var(--sans); font-weight: 400; font-size: var(--t-small); color: var(--obs-muted); }
.quote .none { color: var(--obs-muted); font-family: var(--sans); font-size: var(--t-small); font-weight: 400; }
.move { font-family: var(--mono); font-size: var(--t-small); font-weight: 700; white-space: nowrap; }
.move[data-move="up"] { color: var(--up); }
.move[data-move="down"] { color: var(--down); }
.move[data-move="flat"] { color: var(--dim); }
.quote .move[data-move="up"] { color: var(--obs-crimson); }
.quote .move[data-move="down"] { color: var(--obs-emerald-bright); }
.quote .move[data-move="flat"] { color: var(--obs-muted); }
.move-label { font-family: var(--sans); font-weight: 400; color: var(--dim); }
.quote .move-label { color: var(--obs-muted); }

/* Obsidian chart container */
.chart figure {
  margin: 0; padding: var(--s4) var(--s5); border: 1px solid var(--obs-border);
  border-radius: var(--radius); background: var(--obs-1); box-shadow: var(--shadow-dark);
}
.chart svg { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--obs-border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .tick { fill: var(--obs-muted); font-family: var(--mono); font-size: 14px; }
.chart path { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart path.lowest { stroke: var(--obs-emerald); }
.chart path.median { stroke: var(--obs-cyan); stroke-dasharray: 6 4; }
.chart circle.lowest { fill: var(--obs-emerald); }
.chart circle.median { fill: var(--obs-cyan); }
.chart circle.end { stroke: var(--obs-1); stroke-width: 2; }
.chart figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5);
  margin-top: var(--s3); color: var(--obs-muted); font-size: var(--t-small);
}
.chart-key { margin: 0; display: flex; gap: var(--s4); color: var(--obs-body); font-family: var(--mono); font-weight: 600; }
.key::before { content: "" / ""; display: inline-block; width: 18px; height: 3px; margin-right: 7px; vertical-align: middle; border-radius: 2px; }
.key.lowest::before { background: var(--obs-emerald); }
.key.median::before { background: var(--obs-cyan); }

.offers .board table { min-width: 880px; }
.offers .board tbody td:nth-child(2) { color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: var(--t-price); white-space: nowrap; }
.offers .board tbody td:nth-child(3), .offers .board tbody td:nth-child(6), .offers .board tbody td:nth-child(7) { font-family: var(--mono); white-space: nowrap; }
.offers .board tbody td:nth-child(5) { min-width: 14ch; }
.offers .board tbody.older td, .offers .board tbody.older th[scope="row"] { color: var(--dim); }
.offers .board tbody.older td:nth-child(2) { color: var(--ink); }
.gpu-spec ul { list-style: none; padding: 0; display: grid; gap: var(--s2); }
.gpu-spec li.fact {
  padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--radius-small);
  background: var(--panel);
}
p.method { color: var(--dim); font-size: var(--t-small); }

/* 10 lists, facts & sister cross-links ---------------------------------------------------------------------------- */
ul, ol { margin: 0 0 var(--s3); padding-left: 2.6ch; }
li { margin: 0 0 var(--s1); }
li::marker { color: var(--dim); }
ol > li { padding: var(--s1) 0; border-bottom: 1px solid var(--rule); margin: 0; }
ol.proof-ladder > li { padding: 14px 16px; border-width: 1px; border-top-width: 3px; }
ol.proof-ladder > li:has(> .proof-step-btn) { padding: 0; }
li.fact { margin: 0; padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
li.fact time, li.fact a.source { font-size: var(--t-small); }
li.fact time { color: var(--dim); font-family: var(--mono); }
li.fact a.source { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -10px 0; }
main > section > ul li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -8px 0; }
p.sister {
  margin-top: var(--s4); padding: var(--s4) var(--s5);
  border: 1px solid var(--obs-border-strong); border-left: 3px solid var(--obs-emerald);
  border-radius: var(--radius-md); background: var(--obs-2); color: var(--obs-body); max-width: none;
}
p.sister a { color: var(--obs-emerald-bright); font-weight: 700; }

/* 11 direct-to-broker desk forms (#request, #list, #price-alert) & obsidian newsletter (section[data-module]) ----- */
section.desk {
  padding: var(--s5) var(--s6); border: 1px solid var(--rule-strong); border-top: 3px solid var(--accent);
  border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow-card);
}
section.desk > p { color: var(--dim); }
section.desk > p.desk-note {
  margin: var(--s4) 0 0; padding: var(--s3) var(--s4);
  border-left: 3px solid var(--accent); border-radius: var(--radius-small);
  background: var(--panel-2); color: var(--ink-2); font-size: var(--t-small); max-width: none;
}
section.desk > p.desk-have {
  margin: var(--s4) 0 0; padding-top: var(--s4); border-top: 1px solid var(--rule);
  font-size: var(--t-small); max-width: none;
}
section.desk > p.desk-have a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  padding: 9px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius-small);
  background: var(--panel-2); color: var(--ink); font-weight: 700; text-decoration: none;
}
section.desk > p.desk-have a:hover { border-color: var(--accent); color: var(--accent); background: var(--sel); }

/* Obsidian State of Compute newsletter card (section[data-module]) */
section[data-module] {
  padding: var(--s5); border: 1px solid var(--obs-border-strong); border-top: 3px solid var(--obs-emerald);
  border-radius: var(--radius); background: var(--obs-1); color: var(--obs-body); box-shadow: var(--shadow-dark);
}
section[data-module] h2, section[data-module] h3 { color: var(--obs-ink); }
section[data-module] p { color: var(--obs-body); }
section[data-module] a { color: var(--obs-cyan-bright); }
section[data-module] label, section[data-module] p.consent, section[data-module] p.consent label { color: var(--obs-body); }
section[data-module] input:not([type="checkbox"]):not([type="hidden"]) {
  background: var(--obs-0); border-color: var(--obs-border-strong); color: var(--obs-ink);
}
section[data-module] input::placeholder { color: var(--obs-muted); }
section[data-module] p.consent {
  background: var(--obs-2); border: 1px solid var(--obs-border); border-radius: var(--radius-small);
  padding: 12px 14px;
}
section[data-module] label:has(> input[type="checkbox"]) {
  background: transparent; border: 0; padding: 0; color: var(--obs-body);
}
section[data-module] button {
  background: var(--obs-cyan); border-color: var(--obs-cyan); color: var(--obs-0); font-weight: 700;
}
section[data-module] button:hover { background: var(--obs-cyan-bright); border-color: var(--obs-cyan-bright); }

form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3) var(--s4); margin: var(--s4) 0 0; max-width: 920px; }
form > p, form > div { margin: 0; max-width: none; }
form > h2, form > p:not(:has(> label)), form > p:has(input[type="checkbox"]), form > p:has(> button), form > p.consent,
form > button, form > fieldset { grid-column: 1 / -1; }
form fieldset {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s4);
  margin: var(--s2) 0 0; padding: var(--s4); border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md); background: var(--panel-2);
}
form fieldset legend { padding: 0 var(--s2); color: var(--ink); font-size: var(--t-small); font-weight: 700; }
@media (min-width: 640px) { form fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { section.desk form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
label { display: grid; gap: 6px; color: var(--ink); font-size: var(--t-small); font-weight: 600; }
label:has(> input[type="checkbox"]), p.consent {
  display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 12px 14px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius-small);
  background: var(--panel-2); color: var(--ink-2); font-weight: 400; line-height: 1.5;
}
form fieldset label:has(> input[type="checkbox"]),
p.consent label:has(> input[type="checkbox"]) {
  padding: 6px 0; border: 0; background: transparent;
}
p.consent label:has(> input[type="checkbox"]) { padding: 0; min-height: 0; }
p.consent label { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-weight: 400; }
.field { display: grid; gap: 6px; }
.field > label { display: block; }
input, select, textarea, button { font-family: var(--sans); font-size: var(--t-body); }
input:not([type="checkbox"]):not([type="hidden"]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; margin: 0;
  color: var(--ink); background: var(--field-bg);
  border: 1px solid var(--field-line); border-radius: var(--radius-small); caret-color: var(--accent);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
select { accent-color: var(--accent); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); box-shadow: var(--focus-ring);
}
button {
  min-height: 44px; min-width: 44px; padding: 10px 22px;
  border: 1px solid var(--accent); border-radius: var(--radius-small);
  background: transparent; color: var(--accent); font-weight: 700; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
button:hover { background: var(--sel); }
#request button, #list button, .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
#request button:hover, #list button:hover, .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
body:has(.rank-home, [data-proof-matrix]) .desk-act-buy,
body:has(.rank-home, [data-proof-matrix]) #request button {
  background: var(--down); border-color: var(--down); color: var(--on-accent);
}
body:has(.rank-home, [data-proof-matrix]) section.desk { border-top-color: var(--down); }
body:has(.rank-home, [data-proof-matrix]) section.desk > p.desk-note { border-left-color: var(--down); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* 12 paid relationship labels (vendor_label): always visible, never hidden or accented ---------------------------- */
span.paid-label {
  display: inline-block; margin-left: .8ch; padding: 1px 7px;
  border: 1px solid var(--ink); border-radius: var(--radius-xs); color: var(--ink);
  font-family: var(--mono); font-size: var(--t-label); font-weight: 700; line-height: 1.4;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap;
}
.quote span.paid-label { border-color: var(--obs-ink); color: var(--obs-ink); }
p.paid-label { border-left: 3px solid var(--ink); padding-left: 1.5ch; margin-bottom: var(--s5); color: var(--ink); }
p.paid-label span.paid-label { margin-left: .4ch; }

/* 13 full-bleed obsidian institutional footer --------------------------------------------------------------------- */
body > footer {
  width: 100%; background: var(--obs-0); color: var(--obs-muted);
  border-top: 1px solid var(--obs-border);
  padding: var(--s5) max(var(--gutter), calc((100% - var(--max)) / 2)) var(--s7);
  font-size: var(--t-small);
}
body > footer ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); list-style: none; margin: 0; padding: 0; }
body > footer li { margin: 0; padding: 0; }
body > footer a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 8px 2px;
  color: var(--obs-body); text-decoration: none;
}
body > footer a:hover { color: var(--obs-cyan-bright); text-decoration: underline; }

/* 14 obsidian terminal hero homes (.price-home for GPU index, .rank-home for proof-tier index) -------------------- */
.price-home,
.rank-home {
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0;
}
.price-home::before,
.rank-home::before {
  content: "" / ""; grid-column: 1 / -1; grid-row: 1 / 3; z-index: 0;
  align-self: stretch; justify-self: stretch;
  background: var(--hero-grad); border: 1px solid var(--obs-border);
  border-radius: var(--radius); box-shadow: var(--shadow-dark);
}
.rank-home::before { background: var(--hero-grad-alt); }
.price-home > *,
.rank-home > * { grid-column: 1 / -1; min-width: 0; }
.price-home > h1,
.rank-home > h1 {
  grid-row: 1; z-index: 1; margin: 0; padding: var(--s5) var(--s5) var(--s2);
  color: var(--obs-ink); font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.032em;
}
.price-home > p[data-answer],
.rank-home > p[data-answer] {
  grid-row: 2; z-index: 1; margin: 0; padding: 0 var(--s5) var(--s5);
  color: var(--obs-body); max-width: 64ch;
}
.hero-disclosure {
  z-index: 1; margin: var(--s3) 0 0; padding: 14px 16px;
  background: var(--obs-2); border: 1px solid var(--obs-border); border-left: 3px solid var(--obs-cyan);
  border-radius: var(--radius-md); color: var(--obs-body); font-size: var(--t-small); line-height: 1.5;
  order: 3;
}
.rank-home > .hero-disclosure { border-left-color: var(--obs-emerald); }
.hero-disclosure p { margin: 0; max-width: none; color: var(--obs-body); }
.price-home > #price-index { order: 1; grid-row: 3; margin-top: var(--s5); margin-bottom: var(--s5); }
.rank-home > #vendor-ranking { order: 1; grid-row: 3; margin-top: var(--s5); margin-bottom: var(--s5); }
.price-home > section[data-module], .price-home > #price-alert { order: 2; margin-bottom: var(--s5); }
.price-home > #vendor-ranking { order: 3; }
.rank-home > section[data-module] { order: 2; grid-row: 4; margin-bottom: var(--s5); }
.price-home .index-heading { margin: 0; }
.price-home .desk-bar { margin: var(--s3) 0; }
.price-home > section[data-module] h2 { font-size: var(--t-h2); margin-bottom: var(--s2); }
.price-home > section[data-module] form { margin-top: var(--s3); max-width: none; }
.price-home > #price-alert { padding: var(--s5); }

@media (min-width: 960px) {
  .price-home,
  .rank-home {
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); align-items: start;
  }
  .price-home > h1,
  .rank-home > h1 { grid-column: 1 / 8; padding: var(--s6) 0 var(--s2) var(--s6); }
  .price-home > p[data-answer],
  .rank-home > p[data-answer] { grid-column: 1 / 8; padding: 0 0 var(--s6) var(--s6); }
  .price-home > .hero-disclosure,
  .rank-home > .hero-disclosure {
    grid-column: 8 / 13; grid-row: 1 / 3; order: 0;
    margin: var(--s5) var(--s5) var(--s5) 0; align-self: center;
  }
  .price-home:has(> section[data-module]):has(> #price-alert) > section[data-module] {
    grid-column: 1 / 7; grid-row: 4;
  }
  .price-home:has(> section[data-module]):has(> #price-alert) > #price-alert {
    grid-column: 7 / 13; grid-row: 4;
  }
  .price-home:has(> section[data-module]):has(> #price-alert) > #price-alert form {
    grid-template-columns: minmax(0, 1fr);
  }
}

.price-home .board-find { clear: both; justify-content: space-between; margin-top: var(--s2); }
.price-home .keys { align-items: baseline; flex-wrap: wrap; gap: var(--s3); color: var(--dim); font-size: var(--t-small); }
.price-home .keys > span { white-space: nowrap; }
.price-home .board { clear: both; }
.price-home .board th, .price-home .board td { padding: 10px 12px; line-height: 1.3; }
.price-home .board thead th:has(> .sort-btn) { padding-top: 2px; padding-bottom: 2px; }
.price-home #price-index .board tbody td:nth-child(2) { padding-right: var(--s3); }
.price-home .board td .spark { display: block; position: static; width: 76px; height: 18px; margin: var(--s1) 0 0; }
.price-home .board .sub { margin-top: 2px; }
.price-home .board summary { width: fit-content; margin-top: var(--s1); font-size: var(--t-small); font-weight: 400; color: var(--dim); cursor: pointer; }
.price-home .board summary:hover { color: var(--ink); }
.price-home .strip li {
  display: flex; flex-direction: column; border: 1px solid var(--rule-strong);
  border-radius: var(--radius-md); background: var(--panel); box-shadow: var(--shadow-card);
}
.price-home .strip li > a, .price-home .strip li > span { height: auto; border: 0; box-shadow: none; }
.price-home .strip-source { margin-top: auto; padding: 0 var(--s4) var(--s3); line-height: 1.4; font-size: var(--t-small); }
.price-home .strip-source a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -10px 0; }
.price-home .strip-source .sub { display: block; color: var(--dim); }
.price-home .strip-source time { white-space: normal; }
.price-home details.tracked li { min-width: 0; max-width: 100%; white-space: normal; }

/* 15 tablet breakpoint (<= 900px) --------------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 16 phone layout (<= 759px): stacked labelled cards, tight first-screen board, strict >= 44px taps --------------- */
@media (max-width: 759px) {
  .board { overflow: visible; border: 0; background: none; box-shadow: none; }
  .board table, .board tbody, .board tr, .board th, .board td { display: block; width: auto; min-width: 0; }
  .offers .board table { min-width: 0; }
  .board thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .board tbody tr:not(.model) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2) var(--s3); margin: 0 0 var(--s2);
    padding: var(--s3); border: 1px solid var(--rule-strong); border-radius: var(--radius-md); background: var(--panel);
  }
  .board th, .board td { padding: 0; border: 0; }
  .board tbody th[scope="row"] { grid-column: 1 / -1; font-size: var(--t-body); white-space: normal; }
  .board tbody.family th[scope="row"] { padding-left: 0; }
  .board tbody tr.model > th { padding: var(--s3) 0 var(--s2); background: none; }
  .board td time { white-space: normal; }
  #price-index .board tbody td:nth-child(2), .offers .board tbody td:nth-child(2), .spellings .board tbody td:nth-child(2) { grid-column: 1 / -1; }
  #price-index .board tbody td:nth-child(2), .offers .board tbody td:nth-child(2) { padding-right: calc(56px + var(--s2)); }
  #price-index .board tbody td:nth-child(5), .offers .board tbody td:nth-child(5), #vendor-ranking .board tbody td:nth-child(4) { grid-column: 1 / -1; }
  .board td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--sans); font-size: var(--t-label);
    font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); white-space: normal;
  }
  .board td .spark { top: 22px; right: 0; }
  .board tbody tr:hover > *, .board tbody tr:focus-within > * { background: none; }
  .quote { padding: var(--s4); }
  .chart figure { padding: var(--s3); }
  .chart .tick { font-size: 28px; }
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-ladder { grid-template-columns: minmax(0, 1fr); }
  section.desk { padding: var(--s4); }
  .board-find { border-bottom: 1px solid var(--rule-strong); border-radius: var(--radius-md); padding: var(--s2) var(--s3); }
  .board-chips { border: 0; background: transparent; padding: var(--s2) 0 2px; }
}

@media (max-width: 759px) {
  header.site { position: static; padding-top: 2px; padding-bottom: 2px; gap: 4px; }
  .site-mark { width: 26px; height: 26px; }
  .site-name { font-size: 17px; }
  .site-act { padding: 8px 12px; }
  body:has(.price-home) main { padding-top: 4px; }
  .price-home > h1, .rank-home > h1 { font-size: 19px; line-height: 1.08; padding: 5px 10px 2px; }
  .price-home > p[data-answer], .rank-home > p[data-answer] { font-size: var(--t-small); line-height: 1.18; padding: 0 10px 5px; }
  .price-home > #price-index { margin-top: 3px; }
  .price-home .index-head { gap: 2px var(--s2); margin-bottom: 3px; }
  .price-home .index-heading { font-size: 15px; line-height: 1.15; }
  .price-home p.as-of { padding: 1px 8px; line-height: 1.2; }
  .kpi-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin: 0 0 3px; }
  .kpi-card { min-width: 0; padding: 3px 8px; gap: 0; }
  .kpi-card dt { font-size: var(--t-label); line-height: 1.08; letter-spacing: 0; }
  .kpi-val { font-size: 15px; line-height: 1.08; }
  .kpi-sub { font-size: var(--t-small); line-height: 1.1; }
  .price-home .board-find { margin-top: 2px; padding: 2px 8px; }
  .price-home .board-find label { width: 100%; }
  .price-home #price-index .board-find input { flex: 1; min-width: 0; max-width: none; min-height: 44px; }
  .price-home .board-find .keys { display: none; }
  .board-chips { flex-wrap: nowrap; overflow-x: auto; margin-top: 2px; padding: 0; }
  .board-count { display: none; }
  .price-home .board { margin-top: 2px; }
  .price-home .board thead {
    position: static; display: block; width: auto; height: auto; clip-path: none; white-space: normal;
    padding: 0 var(--s2); background: var(--panel-2); border: 1px solid var(--rule-strong);
    border-radius: var(--radius-small) var(--radius-small) 0 0;
  }
  .price-home .board thead tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); align-items: center; }
  .price-home #price-index .board thead th { width: auto; padding: 0; border-bottom: 0; }
  .price-home .board thead .sort-btn { padding: 0; line-height: 1.1; }
  .price-home .board thead th:nth-child(n+3) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .price-home .board tbody tr:not(.model) { gap: 1px var(--s2); padding: 4px var(--s2); }
  .price-home .board td[data-label]::before { margin-bottom: 0; line-height: 1.1; letter-spacing: .01em; }
  .price-home .board th, .price-home .board td { padding: 0; line-height: 1.16; }
  .price-home .board td .spark { height: 14px; margin-top: 2px; }
  .price-home .board tbody th[scope="row"] { grid-column: 1; font-size: 17px; }
  .price-home #price-index .board tbody td:nth-child(2) { grid-column: 2; padding: 0; font-size: 17px; }
  .price-home .board td:nth-child(2)::before { display: none; }
  .price-home #price-index .board tbody td:nth-child(5) { grid-column: 1 / -1; grid-row: 2; padding-bottom: 2px; border-bottom: 1px solid var(--rule); }
  .price-home .board .none { white-space: normal; }
  .desk-bar { width: 100%; padding: var(--s2); }
  .desk-bar .desk-act { flex: 1 1 auto; }
}

/* hidden filtered rows stay hidden in every layout (after mobile card display rules) */
.board tbody tr[hidden] { display: none; }
.price-home .board tbody tr[hidden] { display: none; }

/* 17 reduced motion ----------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
