/* Universal Data Company — clean, light, flat.
   One typeface (Onest), one accent (green), hairline borders, no shadows, 6px radius. */

:root {
  --bg:      #fbfbfa;
  --surface: #ffffff;
  --ink:     #17191a;
  --ink-2:   #45494b;
  --muted:   #767b7e;
  --line:    #e5e7e8;
  --line-2:  #f0f1f2;
  --green:   #157a4a;
  --green-2: #eaf5ee;
  --green-3: #c5e3d0;
  --amber:   #9a6410;
  --amber-2: #fbf3e3;
  --danger:  #b3261e;
  --font: "Onest", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101212; --surface: #161919; --ink: #ecedee; --ink-2: #c4c8ca; --muted: #8b9194;
    --line: #262a2c; --line-2: #1e2223; --green: #5ec48d; --green-2: #15281d; --green-3: #234a34;
    --amber: #e0a24e; --amber-2: #2a2113; --danger: #f28b82;
  }
}
:root[data-theme="dark"] {
  --bg: #101212; --surface: #161919; --ink: #ecedee; --ink-2: #c4c8ca; --muted: #8b9194;
  --line: #262a2c; --line-2: #1e2223; --green: #5ec48d; --green-2: #15281d; --green-3: #234a34;
  --amber: #e0a24e; --amber-2: #2a2113; --danger: #f28b82;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; font-feature-settings: "tnum"; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: 1.75rem; font-weight: 600; }
h2 { font-size: 1.2rem; font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--line-2); padding: 1px 5px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sub { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; font-weight: 400; }
.cat { color: var(--muted); font-size: .86rem; }
.count { color: var(--muted); font-size: .9rem; }

/* controls */
select, input[type="search"], input[type="text"], input[type="email"], textarea {
  min-height: 38px; padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink);
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-repeat: no-repeat; background-position: right 10px center; background-size: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'><path d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%23767b7e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
select:hover, input:hover, textarea:hover { border-color: var(--muted); }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-2); }
textarea { min-height: 120px; resize: vertical; width: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer; transition: background 120ms var(--ease), border-color 120ms var(--ease); }
.btn:hover { border-color: var(--muted); background: var(--line-2); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.quiet { background: transparent; color: var(--ink-2); }
.btn.quiet:hover { background: var(--line-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.small { min-height: 34px; padding: 5px 12px; font-size: .9rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; flex-wrap: wrap; padding-block: 6px; }
.wordmark { font-weight: 600; letter-spacing: -0.01em; text-decoration: none; font-size: .98rem; }
.nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 7px 11px; border-radius: var(--r); color: var(--ink-2); font-size: .93rem; min-height: 36px; display: inline-flex; align-items: center; transition: background 120ms var(--ease), color 120ms var(--ease); }
.nav a:hover { background: var(--line-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a.cta { background: var(--ink); color: var(--bg); font-weight: 500; margin-left: 6px; }
.nav a.cta:hover, .nav a.cta[aria-current="page"] { background: var(--ink-2); color: var(--bg); }

/* views & page heads */
.view { display: none; }
.view.active { display: block; }
.page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 24px; padding-block: 36px 20px; }
.page-head .lede { grid-column: 1 / -1; color: var(--ink-2); max-width: 64ch; font-size: .98rem; }
.page-head.intro { padding-block: 44px 24px; }
.page-head.intro h1 { font-size: clamp(1.5rem, 3vw, 2rem); max-width: none; white-space: nowrap; }
@media (max-width: 600px) { .page-head.intro h1 { white-space: normal; } }
.page-head.intro .lede { font-size: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 28px 12px; }

/* tabs */
.tabs { border-bottom: 1px solid var(--line); }
.tab-row { display: flex; flex-wrap: wrap; gap: 2px; overflow: visible; }
.tab-row button { flex: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--ink-2); padding: 9px 12px; cursor: pointer; font-size: .92rem; white-space: nowrap; transition: color 120ms var(--ease); }
.tab-row button:hover { color: var(--ink); }
.tab-row button.on { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }
.tab-row.sub { padding-block: 8px; gap: 6px; border-top: 1px solid var(--line-2); }
.tab-row.sub button { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: .84rem; margin: 0; min-height: 30px; }
.tab-row.sub button.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* vendor card row */
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 10px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: thin; }
.vcard { display: grid; gap: 3px; align-content: start; grid-template-rows: auto auto auto 1fr; padding: 12px 14px; min-height: 104px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color 120ms var(--ease); }
.vcard:hover { border-color: var(--ink); }
.vcard b { font-weight: 500; font-size: .95rem; }
.vcard .cat { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard .cat:last-child { margin-top: auto; }
.vcard .val { font-weight: 500; font-size: .9rem; margin-block: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard .val em { display: inline; font-size: .8rem; }
.vcard .val em, .val em { font-style: normal; color: var(--muted); font-weight: 400; font-size: .8em; }
.vcard.add { grid-template-rows: 1fr; place-items: center; border: 1px dashed var(--muted); background: transparent; color: var(--ink); font-weight: 500; text-align: center; }
.vcard.add:hover { border-color: var(--ink); background: var(--line-2); }

.table-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 18px 0 10px; }
.table-tools .spacer { flex: 1; }
.chip-filter { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .84rem; }
.chip-filter button { border: 0; background: transparent; color: var(--muted); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; }
.chip-filter button:hover { background: var(--line-2); color: var(--ink); }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-bottom: 14px; }
.filters input[type="search"] { flex: 1 1 220px; }
.filters select { flex: 0 1 auto; font-size: .92rem; }

/* ledger */
.ledger-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.ledger { width: 100%; border-collapse: collapse; font-size: .93rem; table-layout: fixed; min-width: 860px; }
.ledger th:nth-child(1) { width: 18%; } .ledger th:nth-child(2) { width: 21%; } .ledger th:nth-child(3) { width: 23%; }
.ledger th:nth-child(4) { width: 13%; } .ledger th:nth-child(5) { width: 15%; } .ledger th:nth-child(6) { width: 10%; }
.ledger thead th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; padding: 10px 12px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ledger thead th:first-child, .ledger td:first-child { padding-left: 0; }
.ledger thead th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger thead th.sortable { cursor: pointer; user-select: none; }
.ledger thead th.sortable:hover, .ledger thead th.sorted { color: var(--ink); }
.ledger thead th.sorted::after { content: " ↓"; }
.ledger thead th.sorted.asc::after { content: " ↑"; }
.ledger thead th.num, .ledger td.price { text-align: right; }
.ledger tbody tr.deal { border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background 100ms var(--ease); }
.ledger tbody tr.deal:hover { background: var(--surface); }
.ledger tbody tr.deal[aria-expanded="true"] { background: var(--surface); border-bottom-color: transparent; }
.ledger td { padding: 12px; vertical-align: top; line-height: 1.35; }
.ledger td.vendor .vname { font-weight: 500; }
.ledger td.domain, .ledger td.type, .ledger td.size { color: var(--ink-2); }
.ledger td.q { color: var(--muted); white-space: nowrap; }
.ledger td.price .val { display: block; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ledger td.vendor .mark { font-size: .72rem; color: var(--amber); margin-left: 6px; }
.ledger td.empty, .empty { padding: 36px 0; color: var(--muted); }
.empty b, .empty a, .ledger td.empty a { color: var(--ink); }
.tag { display: inline-block; font-size: .72rem; font-weight: 500; padding: 1px 7px; border-radius: 999px; line-height: 1.5; vertical-align: middle; }
.tag.pending { color: var(--amber); background: var(--amber-2); margin-left: 6px; }
.tag.stage { color: var(--ink-2); background: var(--line-2); }
.tag.stage.signed, .tag.stage.renewed { color: var(--green); background: var(--green-2); }
tr.detail td { padding: 0 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line-2); }
tr.detail td:first-child { padding-left: 0; }
.detail-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px 40px; animation: rise 160ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.detail-inner p { max-width: 62ch; color: var(--ink-2); }
.sample-note { margin-top: 10px; color: var(--amber); font-size: .84rem; }
.detail-inner .link { display: inline-block; margin-top: 10px; color: var(--ink); font-weight: 500; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: 9ch 1fr; gap: 6px 14px; font-size: .88rem; align-content: start; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.notice { display: flex; gap: 8px; align-items: baseline; padding: 12px 0 0; color: var(--muted); font-size: .84rem; }
.notice i { font-style: normal; color: var(--amber); }
@media (max-width: 760px) {
  .ledger { min-width: 0; table-layout: auto; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; }
  .ledger tbody tr.deal { padding: 12px 0; }
  .ledger td { padding: 2px 0; }
  .ledger td.price, .ledger td.price .val { text-align: left; }
  .ledger td.size, .ledger td.q { display: inline-block; margin-right: 12px; color: var(--muted); font-size: .84rem; }
  tr.detail td { padding: 0 0 14px; }
  .detail-inner { grid-template-columns: 1fr; }
}

/* vendors */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.vendor-card { display: grid; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color 120ms var(--ease); }
.vendor-card:hover { border-color: var(--ink); }
.vc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.vendor-card h3 { font-size: .98rem; font-weight: 500; }
.vendor-card .n { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.vendor-card .val { font-weight: 500; font-size: .92rem; margin-block: 2px; }

.vendor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
.vendor-side { display: grid; gap: 20px; position: sticky; top: 76px; margin-top: 88px; }
.back { display: inline-block; margin-top: 28px; color: var(--muted); text-decoration: none; font-size: .88rem; }
.back::before { content: "← "; }
.back:hover { color: var(--ink); }
.vendor-head { padding-block: 10px 18px; }
.vendor-head h1 { font-size: 1.9rem; }
.vendor-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stat-card h3 { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.stat-card .big { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.stat-card .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.chip { font-size: .8rem; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.empty-stat { grid-column: 1 / -1; }
.empty-stat a { color: var(--ink); }
.side-card h3 { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.side-links { display: grid; }
.side-links a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: .9rem; border-top: 1px solid var(--line-2); }
.side-links a:first-child { border-top: 0; }
.side-links a span { color: var(--muted); font-size: .8rem; }
.side-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .vendor-layout { grid-template-columns: 1fr; } .vendor-side { position: static; margin-top: 0; } .vendor-stats { grid-template-columns: 1fr; } }

/* taxonomy */
.axis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 48px; padding: 28px 0; border-top: 1px solid var(--line); }
.axis:first-child { border-top: 1px solid var(--ink); }
.axis h3 { font-size: 1.05rem; }
.axis .why { color: var(--muted); margin-top: 6px; max-width: 40ch; font-size: .9rem; }
.axis dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 20px; }
.axis dt { font-weight: 500; }
.axis dd { margin: 0; color: var(--ink-2); font-size: .92rem; }
.axis dd:empty { display: none; }
.axis .grp { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; margin-top: 10px; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.axis .grp:first-child { margin-top: 0; }
.axis .plain { columns: 2; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.axis .plain li { break-inside: avoid; padding: 2px 0; }
.bands-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.bands-table th, .bands-table td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.bands-table th { font-weight: 500; color: var(--muted); font-size: .78rem; }
.bands-table td:first-child { font-weight: 500; white-space: nowrap; }
.cells { display: flex; flex-wrap: wrap; gap: 5px; }
.cells span { font-size: .8rem; padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; }
@media (max-width: 820px) { .axis { grid-template-columns: 1fr; } .axis dl { grid-template-columns: 1fr; gap: 2px 0; } .axis dd { margin-bottom: 8px; } .axis .plain { columns: 1; } }

/* forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; padding-bottom: 64px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
form.deal-form { display: grid; gap: 32px; max-width: 68ch; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font-weight: 600; font-size: 1.05rem; padding: 0; margin-bottom: 6px; }
.field { display: grid; gap: 5px; }
.field label, .field > span.lbl { font-weight: 500; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .84rem; font-weight: 400; }
.field select, .field input { width: 100%; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .84rem; }
.field .err:empty { display: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.chips-input { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-input label { position: relative; display: inline-flex; align-items: center; min-height: 32px; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .86rem; transition: border-color 120ms var(--ease), background 120ms var(--ease); }
.chips-input label:hover { border-color: var(--muted); }
.chips-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-input label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips-input label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.form-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-actions .hint { color: var(--muted); font-size: .86rem; }
.form-msg { padding: 12px 14px; border-radius: var(--r); background: var(--green-2); border: 1px solid var(--green-3); }
.aside { position: sticky; top: 76px; display: grid; gap: 22px; font-size: .9rem; color: var(--ink-2); }
.aside .box { border-top: 1px solid var(--ink); padding-top: 12px; }
.aside h3 { font-size: .92rem; }
.aside ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }

/* estimator */
.est-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; align-items: start; padding-bottom: 56px; }
.est-form { display: grid; gap: 18px; }
.est-result { display: grid; gap: 20px; position: sticky; top: 76px; }
.est-card { border-top: 1px solid var(--ink); padding-top: 14px; }
.est-label { color: var(--muted); font-size: .84rem; }
.est-range { font-weight: 600; letter-spacing: -0.02em; font-size: 2rem; line-height: 1.1; margin-top: 4px; }
.est-range span { color: var(--muted); font-weight: 400; font-size: .5em; margin-inline: 4px; }
.est-sub { color: var(--ink-2); font-size: .92rem; margin-top: 10px; }
.est-factors { margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.est-factors summary { cursor: pointer; font-weight: 500; font-size: .88rem; }
.factors { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .86rem; }
.factors td { padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.factors td:last-child { text-align: right; }
.est-factors .cat { margin-top: 10px; font-size: .8rem; }
.est-comps h3 { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.comps { display: grid; }
.comp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); text-decoration: none; align-items: center; }
.comp:first-child { border-top: 0; }
.comp b { font-weight: 500; }
.comp > div:last-child { text-align: right; }
.comp .val { font-weight: 500; }
.comp:hover b { text-decoration: underline; text-underline-offset: 3px; }
.est-comps .cat a { color: var(--ink); }
@media (max-width: 900px) { .est-grid { grid-template-columns: 1fr; } .est-result { position: static; } }

/* footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 56px; padding-block: 24px 40px; color: var(--muted); font-size: .86rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--ink-2); }

/* taxonomy overview */
.tax-overview { padding-bottom: 32px; }
.tax-overview h2 { margin-bottom: 4px; }
.overview { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 14px; border-top: 1px solid var(--ink); }
.overview th { text-align: left; font-weight: 500; color: var(--muted); font-size: .78rem; padding: 9px 12px 8px 0; border-bottom: 1px solid var(--line); }
.overview td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.overview td:first-child { font-weight: 500; white-space: nowrap; width: 14%; }
.overview td:nth-child(2) { color: var(--ink-2); width: 40%; }
.overview td a { color: var(--ink); text-decoration: none; }
.overview td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.axis { scroll-margin-top: 70px; }
@media (max-width: 640px) { .overview td:nth-child(2) { display: none; } .overview th:nth-child(2) { display: none; } .overview td:first-child { width: auto; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* give-to-get gate */
.locked { filter: blur(6px); user-select: none; pointer-events: none; opacity: .8; }
.gate:empty { display: none; }
.gate-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: .93rem; color: var(--ink-2); }
.gate-box b { color: var(--ink); }
.gate-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.field input[type="file"] { border: 0; padding: 4px 0; min-height: 0; background: transparent; }

/* benchmarks */
.headline { margin-top: 18px; }
.hl { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 16px 18px; }
.hl-title { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.hl-empty { margin-top: 8px; color: var(--ink-2); }
.hl-empty a { color: var(--ink); }
.hl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 14px; }
.hl-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.hl-cell { display: grid; gap: 2px; }
.hl-cell .k { color: var(--muted); font-size: .8rem; }
.hl-cell .v { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.hl-cell .s { color: var(--muted); font-size: .8rem; }
@media (max-width: 760px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
.breakdowns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; padding-top: 28px; }
@media (max-width: 820px) { .breakdowns { grid-template-columns: 1fr; } }
.bd h3 { font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.bd-table { width: 100%; border-collapse: collapse; font-size: .9rem; border-top: 1px solid var(--ink); }
.bd-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .76rem; padding: 7px 0 6px; border-bottom: 1px solid var(--line); }
.bd-table td { padding: 7px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.bd-table th.num, .bd-table td.num { text-align: right; white-space: nowrap; }
.bd-table td:nth-child(2) { color: var(--muted); width: 3.5em; }
.bd-table tr.dim td { color: var(--muted); }
.bd-table td a { color: var(--ink); text-decoration: none; }
.bd-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.method { color: var(--muted); font-size: .84rem; max-width: 72ch; margin-top: 28px; }
.notice { padding-top: 24px; }
