/* Identity Search Bench: one stylesheet for every page.
   The bench's own identity: instrument paper, ink, and one signal green that means proved. */

:root {
    color-scheme: light;
    --paper: #f4f3ee;
    --sheet: #fbfaf6;
    --sunk: #eceae3;
    --ink: #121211;
    --ink-2: #44433e;
    --ink-3: #6b6963;
    --ink-4: #a3a19a;
    --rule: rgba(18, 18, 17, 0.12);
    --rule-soft: rgba(18, 18, 17, 0.065);
    --rule-strong: rgba(18, 18, 17, 0.24);
    --signal: #00a36c;
    --signal-ink: #007a51;
    --signal-wash: rgba(0, 163, 108, 0.075);
    --signal-line: rgba(0, 163, 108, 0.38);
    --wrong: #d0362c;
    --audit: #c08600;
    --col: 1180px;
    --pad: 20px;
    --radius: 10px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (min-width: 768px) { :root { --pad: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--sans); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
    overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 3px; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 14px; transition: top 150ms ease; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.page { min-height: 100dvh; display: flex; flex-direction: column; }
.page > main { flex: 1; }

/* ---------- Top ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(244, 243, 238, 0.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; gap: 28px; max-width: calc(var(--col) + 2 * var(--pad)); height: 64px; margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); }
.mark { display: block; width: 22px; height: 22px; flex: none; }
.mark__o { fill: none; stroke: currentColor; stroke-width: 1.3; }
.mark__p { fill: var(--signal); }
.brand__w { font-size: 15.5px; font-weight: 500; letter-spacing: -0.012em; white-space: nowrap; }
.top__nav { display: flex; gap: 2px; margin-left: auto; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14.5px; color: var(--ink-2); transition: color 150ms ease; }
.top__nav a[aria-current] { color: var(--ink); }
@media (hover: hover) { .top__nav a:hover { color: var(--ink); } }
.top .top__m { display: none; }
@media (max-width: 880px) {
    .top__in { height: 58px; gap: 12px; }
    .top .top__nav, .top .top__cta { display: none; }
    .top .top__m { display: inline-flex; margin-left: auto; }
}
@media (max-width: 370px) { .brand__w { font-size: 14px; } }

/* The status strip: the board's state, read like an instrument. */
.status { border-bottom: 1px solid var(--rule); background: var(--sheet); }
.status__in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; max-width: calc(var(--col) + 2 * var(--pad)); margin: 0 auto; padding: 9px var(--pad); font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.status__in b { font-weight: 500; color: var(--ink); }
.status__sep { color: var(--ink-4); }
.status__end { margin-left: auto; }
.status .show-s { display: none; }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2.4s var(--ease) infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 163, 108, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(0, 163, 108, 0); } }
@media (max-width: 640px) { .status .hide-s { display: none; } .status .show-s { display: inline; } .status__in { font-size: 11px; gap: 6px 9px; } }

/* ---------- Buttons and links ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 6px;
    font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.005em; white-space: nowrap;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .btn--ink:hover { background: #000; } }
.btn--line { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
@media (hover: hover) { .btn--line:hover { border-color: var(--ink); } }
.btn--signal { background: var(--signal-ink); color: #fff; }
@media (hover: hover) { .btn--signal:hover { background: #00663f; } }
.arr { display: inline-block; font-family: var(--mono); transition: transform 200ms var(--ease); }
@media (hover: hover) { .btn:hover .arr { transform: translateX(3px); } .btn:hover .arr--d { transform: translateY(2px); } }
.ul { text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 150ms ease, color 150ms ease; }
@media (hover: hover) { .ul:hover { text-decoration-color: var(--signal); } }

/* ---------- Load-in ---------- */
@media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise 800ms var(--ease) both; animation-delay: var(--d, 0ms); }
    html.reveal-on [data-reveal] { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
    html.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(10px); }
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

/* ---------- Labels ---------- */
.kicker { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.kicker__n { color: var(--signal-ink); }
.kicker__n::after { content: ""; display: inline-block; width: 18px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--rule-strong); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 0; isolation: isolate; }
.hero__dots {
    position: absolute; z-index: -1; inset: 0 0 -60px 0; pointer-events: none;
    background-image: radial-gradient(rgba(18, 18, 17, 0.16) 1px, transparent 1.4px);
    background-size: 18px 18px; background-position: -9px -9px;
    -webkit-mask-image: radial-gradient(62% 78% at 88% 18%, #000 0%, transparent 72%);
    mask-image: radial-gradient(62% 78% at 88% 18%, #000 0%, transparent 72%);
}
.hero__title { margin: 22px 0 0; max-width: 10.5em; font-size: clamp(50px, 8.2vw, 124px); font-weight: 400; line-height: 0.95; letter-spacing: -0.045em; text-wrap: balance; }
.hero__sub { margin: 30px 0 0; max-width: 33em; font-size: clamp(18px, 1rem + 0.45vw, 22px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.hero__sub b { font-weight: 500; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__by { margin: 22px 0 0; font-family: var(--mono); font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.hero__by b { font-weight: 500; color: var(--ink-2); }
@media (max-width: 640px) {
    .hero { padding-top: 28px; }
    .hero__title { margin-top: 12px; font-size: clamp(44px, 12.4vw, 54px); }
    .hero__sub { margin-top: 16px; font-size: 17px; }
    .hero__cta { margin-top: 20px; }
    .hero__by { margin-top: 14px; font-size: 12px; }
    .hero__cta .btn { flex: 1 1 0; padding: 0 12px; }
    .hero__dots { -webkit-mask-image: radial-gradient(80% 55% at 100% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(80% 55% at 100% 0%, #000 0%, transparent 75%); }
}

/* ---------- Figures and tables: the sheet ---------- */
.sheet { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); box-shadow: 0 1px 0 rgba(18, 18, 17, 0.03), 0 18px 50px -32px rgba(18, 18, 17, 0.28); overflow: hidden; }
.cap { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.cap b { color: var(--ink); font-weight: 500; }

/* ---------- Figure 1: one mark per address ---------- */
.fig { margin-top: 64px; }
.fig__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; padding: 18px 22px 16px; border-bottom: 1px solid var(--rule); }
.fig__title { margin: 7px 0 0; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.fig__meta { margin: 3px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--sunk); }
.seg__b { min-height: 34px; padding: 0 13px; border: 0; border-radius: 6px; background: transparent; font-size: 13.5px; font-weight: 500; color: var(--ink-3); cursor: pointer; transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.seg__b[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.14), 0 0 0 1px rgba(18, 18, 17, 0.04); }
@media (hover: hover) { .seg__b:hover { color: var(--ink); } }
.mx__row {
    position: relative; display: grid; grid-template-columns: 34px minmax(140px, 186px) minmax(0, 1fr) 112px;
    align-items: center; gap: 0 18px; padding: 12px 22px; border-top: 1px solid var(--rule-soft);
    transition: background-color 150ms ease;
}
.mx__row:first-child { border-top: 0; }
.mx__row.is-hot { background: rgba(18, 18, 17, 0.025); }
.mx__row.is-river { background: linear-gradient(to right, var(--signal-wash), rgba(0, 163, 108, 0) 62%); box-shadow: inset 3px 0 0 var(--signal); }
.mx__rank { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.is-river .mx__rank { color: var(--signal-ink); }
.mx__name { min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.mx__name small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx__cells { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 3px; }
.mx__num { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-family: var(--mono); line-height: 1; }
.mx__num b { display: flex; align-items: baseline; gap: 7px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mx__num b small { font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-4); }
.mx__num em { margin-top: 6px; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.is-river .mx__num b, .is-river .mx__num b small { color: var(--signal-ink); }

/* The marks. Filled green: proved. Hollow: a name returned with nothing that proves it. */
.c { display: block; aspect-ratio: 1; border-radius: 2px; }
.c-p { background: var(--signal); }
.c-r { box-shadow: inset 0 0 0 1.25px rgba(18, 18, 17, 0.5); }
.c-w { background: var(--wrong); }
.c-o { box-shadow: inset 0 0 0 1.25px var(--audit); }
.c-n { background: radial-gradient(circle, rgba(18, 18, 17, 0.24) 0 15%, transparent 21%); }
.mx .c { transition: opacity 420ms var(--ease), transform 520ms var(--ease); }
.mx.is-proved .c:not(.c-p) { opacity: 0.12; }
.mx.is-proved .mx__row:not(.has-proof) .mx__name, .mx.is-proved .mx__row:not(.has-proof) .mx__num { opacity: 0.38; }
.mx .mx__name, .mx .mx__num { transition: opacity 300ms ease; }
@media (prefers-reduced-motion: no-preference) {
    .mx.is-armed .c { opacity: 0; transform: scale(0.4); }
    .mx.is-armed.is-in .c { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 8ms + var(--r, 0) * 60ms); }
    .mx.is-armed.is-in.is-proved .c:not(.c-p) { opacity: 0.12; transition-delay: 0ms; }
    .mx.is-armed.is-done .c { transition-delay: 0ms; }
}
.fig__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 28px; padding: 15px 22px 17px; border-top: 1px solid var(--rule); background: var(--paper); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .c { width: 11px; }
.fig__cap { margin: 0; max-width: 40em; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.fig__cap b { font-weight: 500; color: var(--signal-ink); }
@media (max-width: 760px) {
    .fig { margin-top: 28px; }
    .fig .sheet { margin: 0 calc(-1 * var(--pad)); border-radius: 0; border-left: 0; border-right: 0; }
    .fig__head { padding: 14px var(--pad) 12px; gap: 10px; }
    .fig__title { font-size: 17px; margin-top: 4px; }
    .mx__row { grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "rank name num" "cells cells cells"; gap: 10px 10px; padding: 13px var(--pad) 15px; }
    .mx__rank { grid-area: rank; }
    .mx__name { grid-area: name; }
    .mx__num { grid-area: num; }
    .mx__cells { grid-area: cells; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px 4px; }
    .mx__num b { font-size: 21px; }
    .fig__foot { padding: 14px var(--pad) 16px; }
}

/* ---------- Findings ---------- */
.finds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 28px; }
.find { padding: 22px 0 0; border-top: 1px solid var(--ink); }
.find__n { margin: 0; font-size: clamp(48px, 5vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -0.045em; color: var(--signal-ink); font-variant-numeric: tabular-nums; }
.find__l { margin: 14px 0 0; max-width: 24em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.find__l b { font-weight: 500; color: var(--ink); }
@media (max-width: 860px) { .finds { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Sections ---------- */
.sec { padding-top: 116px; }
.sec__title { margin: 18px 0 0; max-width: 17em; font-size: clamp(32px, 4.2vw, 52px); font-weight: 400; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.sec__title .g { color: var(--signal-ink); }
.sec__lede { margin: 18px 0 0; max-width: 640px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.sec__lede a, .prose a, .faq a, .note a, .pair a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
@media (hover: hover) { .sec__lede a:hover, .prose a:hover, .faq a:hover, .note a:hover, .pair a:hover { text-decoration-color: var(--signal); } }
@media (max-width: 640px) { .sec { padding-top: 84px; } .sec__lede { font-size: 17px; } }

/* ---------- Table 1: the board ---------- */
.tools { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 40px; }
.tools .cap { line-height: 1.5; }
.sorter { display: none; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.sorter select {
    min-height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--rule-strong); border-radius: 6px;
    background: var(--sheet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23121211' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none; appearance: none; font-family: var(--sans); font-size: 14px; color: var(--ink);
}
.data { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 0 auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.data a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; padding: 6px 0; }
@media (hover: hover) { .data a:hover { text-decoration-color: var(--signal); } }
.hash { color: var(--ink-4); }
.lb-wrap { margin-top: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lb { width: 100%; min-width: 960px; border-collapse: collapse; font-size: 15px; }
.lb caption { caption-side: bottom; padding: 14px 18px 16px; border-top: 1px solid var(--rule); background: var(--paper); text-align: left; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.lb th, .lb td { padding: 0 12px; text-align: right; vertical-align: middle; }
.lb .c-rank, .lb .c-entry { text-align: left; }
.lb th.c-rank, .lb td.c-rank { padding-left: 22px; }
.lb th:last-child, .lb td:last-child { padding-right: 22px; }
.lb thead th { height: 52px; border-bottom: 1px solid var(--rule); background: var(--paper); font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.35; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.sort { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: right; color: inherit; cursor: pointer; }
.sort i { width: 8px; font-style: normal; text-align: center; color: var(--ink-4); }
th[aria-sort] .sort { color: var(--ink); }
th[aria-sort] .sort i { color: var(--signal-ink); }
@media (hover: hover) { .sort:hover { color: var(--ink); } }
.lb tbody.ent { border-top: 1px solid var(--rule-soft); transition: background-color 150ms ease; }
.lb tbody.ent:first-of-type { border-top: 0; }
.lb .ent__row > td { height: 76px; padding-top: 13px; padding-bottom: 13px; }
@media (hover: hover) { .lb tbody.ent:hover { background: rgba(18, 18, 17, 0.022); } }
.lb tbody.ent.is-hot { background: rgba(18, 18, 17, 0.03); }
.lb tbody.is-river { background: linear-gradient(to right, var(--signal-wash), rgba(0, 163, 108, 0.01) 70%); }
.lb tbody.is-river .ent__row > td:first-child { box-shadow: inset 3px 0 0 var(--signal); }
.c-rank { width: 76px; white-space: nowrap; }
.rk { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.is-river .rk { color: var(--signal-ink); }
.cl { margin-left: 8px; font-family: var(--mono); font-size: 14px; color: var(--ink-3); cursor: help; }
.lb:not(.is-rank) .cl { visibility: hidden; }
.c-entry { min-width: 220px; max-width: 272px; }
.en__name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.25; }
.en__sub { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.is-river .en__name { color: var(--signal-ink); }
.en__route { display: block; margin-top: 5px; font-size: 13px; line-height: 1.4; color: var(--ink-3); white-space: normal; }
.en__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; min-height: 28px; padding: 0; border: 0; background: none; font-family: var(--mono); font-size: 12px; color: var(--ink-3); cursor: pointer; transition: color 150ms ease; }
.en__more::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); transition: transform 200ms var(--ease); }
.en__more[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }
.en__more[aria-expanded="true"], .en__more:focus-visible { color: var(--ink); }
@media (hover: hover) { .en__more:hover { color: var(--ink); } }
.v { display: block; font-family: var(--mono); font-size: 14.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v.is-lead { color: var(--signal-ink); }
.v.is-neg { color: var(--wrong); }
.v.is-zero { color: var(--ink-4); }
.v-big { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.v-big.is-zero { color: var(--ink-4); }
.pct { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.t-k { display: block; margin: 4px 0 0 auto; max-width: 11em; font-family: var(--mono); font-size: 11px; line-height: 1.35; color: var(--ink-3); }
.rr { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--signal-ink); white-space: nowrap; }
.rr::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.nil { font-family: var(--mono); color: var(--ink-4); }
.meter { display: block; position: relative; width: 84px; height: 4px; margin: 10px 0 0 auto; border-radius: 2px; background: rgba(18, 18, 17, 0.07); }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 2px; background: var(--ink-4); transform-origin: left; }
.is-river .meter i { background: var(--signal); }
.meter b { position: absolute; top: -3px; height: 10px; left: var(--lo); width: calc(var(--hi) - var(--lo)); border-left: 1px solid var(--ink-2); border-right: 1px solid var(--ink-2); }
.meter b::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; height: 1px; background: var(--ink-2); opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
    html.reveal-on .sheet.tbl:not(.is-in) .meter i { transform: scaleX(0); }
    .meter i { transition: transform 1000ms var(--ease); transition-delay: calc(var(--row, 0) * 70ms + 200ms); }
}
.ent__detail > td { padding: 0 22px 20px 88px; text-align: left; }
.dt { display: grid; grid-template-columns: 1.05fr 1.35fr 1.2fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--rule); border-radius: 8px; background: var(--rule); }
.dt__col { padding: 15px 16px 17px; background: var(--paper); white-space: normal; }
.dt__col .cap { margin-bottom: 11px; }
.dt__col p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dt__ranges { display: grid; gap: 6px; margin: 0; }
.dt__ranges div { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 12px; }
.dt__ranges dt { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.dt__ranges dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.dt__ranges dd.rg { min-width: 9.5em; color: var(--ink-3); }
@media (max-width: 1120px) { .dt { grid-template-columns: 1fr 1fr; } }
.note { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 0; max-width: 62em; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.note .rr { margin: 0; flex: none; }

/* Phones: each entry becomes a card. */
@media (max-width: 760px) {
    .sorter { display: inline-flex; }
    .data { margin-left: 0; }
    .sheet.tbl { margin: 0 calc(-1 * var(--pad)); border-radius: 0; border-left: 0; border-right: 0; }
    .lb { min-width: 0; display: flex; flex-direction: column; }
    .lb thead { display: none; }
    .lb caption { order: 2; display: block; padding: 14px var(--pad) 16px; }
    .lb tbody.ent { display: block; order: 1; }
    .lb tbody.is-river { box-shadow: inset 3px 0 0 var(--signal); }
    .lb tbody.is-river .ent__row > td:first-child { box-shadow: none; }
    .lb tr { display: block; }
    .lb .ent__row { display: grid; grid-template-columns: 26px repeat(3, minmax(0, 1fr)) auto; gap: 0 12px; padding: 16px var(--pad) 15px; }
    .lb .ent__row > td { display: block; height: auto; padding: 0; text-align: left; }
    .lb .ent__row > td.c-rank { grid-column: 1; grid-row: 1; width: auto; padding: 3px 0 0; }
    .lb .ent__row > td.c-entry { grid-column: 2 / 5; grid-row: 1; min-width: 0; max-width: none; }
    .lb .ent__row > td.c-proved { grid-column: 5; grid-row: 1; text-align: right; }
    .lb .ent__row > td.c-proved .meter, .lb .ent__row > td.c-right .meter { display: none; }
    .lb .ent__row > td.c-stat, .lb .ent__row > td.c-t, .lb .ent__row > td.c-c { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule-soft); }
    .lb .ent__row > td.c-stat::before, .lb .ent__row > td.c-t::before, .lb .ent__row > td.c-c::before {
        content: attr(data-label); display: block; margin-bottom: 5px;
        font-family: var(--mono); font-size: 10.5px; font-weight: 500; line-height: 1.25; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3);
    }
    .lb .ent__row > td.c-right { grid-column: 2; grid-row: 2; }
    .lb .ent__row > td.c-wrong { grid-column: 3; grid-row: 2; }
    .lb .ent__row > td.c-open { grid-column: 4 / 6; grid-row: 2; }
    .lb .ent__row > td.c-none { grid-column: 2; grid-row: 3; }
    .lb .ent__row > td.c-t { grid-column: 3; grid-row: 3; }
    .lb .ent__row > td.c-c { grid-column: 4 / 6; grid-row: 3; }
    .lb .ent__row > td .pct { display: none; }
    .lb .ent__row > td.c-c .v, .lb .ent__row > td.c-t .v { white-space: normal; }
    .lb .ent__row > td.c-proved .pct { display: block; }
    .t-k { margin-left: 0; }
    .v-big { font-size: 26px; }
    .cl { display: block; margin: 4px 0 0; }
    .ent__detail > td { display: block; padding: 0 var(--pad) 18px; }
    .dt { grid-template-columns: 1fr; }
    .note { flex-direction: column; gap: 6px; }
}

/* ---------- At your volume ---------- */
.vol { display: grid; grid-template-columns: 320px minmax(0, 1fr); margin-top: 40px; }
.vol__ctl { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; border-right: 1px solid var(--rule); background: var(--paper); }
.vol__n { display: block; font-size: 58px; font-weight: 300; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.vol__range { --p: 50%; width: 100%; height: 28px; margin: 4px 0 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.vol__range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--signal) var(--p), rgba(18, 18, 17, 0.12) var(--p)); }
.vol__range::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(18, 18, 17, 0.12); }
.vol__range::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--signal); }
.vol__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: var(--sheet); border: 1.5px solid var(--ink); box-shadow: 0 2px 6px rgba(18, 18, 17, 0.18); }
.vol__range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--sheet); border: 1.5px solid var(--ink); box-shadow: 0 2px 6px rgba(18, 18, 17, 0.18); }
.vol__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.vol__sum { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.vol__sum b { font-weight: 500; color: var(--signal-ink); }
.vol__board { min-width: 0; padding: 8px 0 12px; }
.vol__head, .vrow { display: grid; grid-template-columns: minmax(150px, 200px) minmax(60px, 1fr) 96px 80px; align-items: center; gap: 16px; padding: 0 24px; }
.vol__head { height: 40px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.vol__head span:nth-child(n+3) { text-align: right; }
.vrow { height: 50px; border-top: 1px solid var(--rule-soft); }
.vrow__name { min-width: 0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vrow__name small { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.vrow.is-river .vrow__name { color: var(--signal-ink); }
.vrow__bar { position: relative; height: 14px; }
.vrow__bits { position: absolute; left: 0; top: 5px; height: 4px; width: var(--w, 0%); border-radius: 2px; background: var(--ink-4); transition: width 700ms var(--ease); }
.vrow.is-river .vrow__bits { background: var(--signal); }
.vrow__v { font-family: var(--mono); font-size: 14.5px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.vrow.is-river .vrow__v { color: var(--signal-ink); font-weight: 500; }
.vrow__w { font-family: var(--mono); font-size: 14.5px; text-align: right; color: var(--wrong); font-variant-numeric: tabular-nums; }
.vrow__w.is-zero { color: var(--ink-4); }
@media (prefers-reduced-motion: no-preference) { html.reveal-on .vol:not(.is-in) .vrow__bits { width: 0; } }
@media (max-width: 899px) { .vol { grid-template-columns: 1fr; } .vol__ctl { border-right: 0; border-bottom: 1px solid var(--rule); } }
@media (max-width: 640px) {
    .vol { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); border-radius: 0; border-left: 0; border-right: 0; }
    .vol__ctl { padding: 22px var(--pad) 24px; }
    .vol__head, .vrow { grid-template-columns: minmax(0, 1fr) 36px 62px 46px; gap: 10px; padding: 0 var(--pad); }
    .vrow__name { font-size: 14px; }
    .vrow__name small { margin-left: 6px; font-size: 10.5px; }
    .vrow__v, .vrow__w { font-size: 13.5px; }
    .vol__n { font-size: 50px; }
}

/* ---------- Outcomes ---------- */
.outs { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.out { padding: 20px 20px 6px 0; }
.out + .out { padding-left: 20px; border-left: 1px solid var(--rule); }
.out__k { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; }
.out__k .c { width: 12px; flex: none; }
.out.is-key .out__k { color: var(--signal-ink); }
.out p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1023px) {
    .outs { grid-template-columns: 1fr; }
    .out, .out + .out { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
    .out p { margin: 0; }
}
@media (max-width: 640px) { .out, .out + .out { grid-template-columns: 1fr; gap: 8px; } }
.more { margin-top: 30px; }

/* ---------- Tracks ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.track { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 26px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); transition: border-color 150ms ease; }
.track.is-live { border-color: var(--signal-line); background: linear-gradient(160deg, var(--signal-wash), var(--sheet) 62%); }
.track__k { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.track h3 { margin: 0; font-size: 27px; font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; }
.track p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.track__go { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--signal-ink); }
@media (hover: hover) { a.track:hover { border-color: var(--signal); } }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.close { padding: 124px 0 112px; }
.close__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.close__box { position: relative; display: flex; flex-direction: column; padding: 34px 32px 30px; border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); overflow: hidden; isolation: isolate; }
.close__box.is-signal { border-color: var(--signal-line); background: linear-gradient(150deg, rgba(0, 163, 108, 0.1), var(--sheet) 70%); }
.close__box.is-signal::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(0, 122, 81, 0.2) 1px, transparent 1.4px); background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(60% 90% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(60% 90% at 100% 0%, #000, transparent 70%);
}
.close__title { margin: 12px 0 0; max-width: 13em; font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; }
.close__title span { color: var(--signal-ink); }
.close__box p { margin: 14px 0 0; max-width: 30em; color: var(--ink-2); }
.close__box .btn { align-self: flex-start; margin-top: 28px; }
@media (max-width: 860px) { .close__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .close { padding: 92px 0 84px; } .close__box { padding: 26px 20px 22px; } .close__box .btn { align-self: stretch; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); background: var(--paper); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 32px; max-width: calc(var(--col) + 2 * var(--pad)); margin: 0 auto; padding: 22px var(--pad) 26px; font-size: 13.5px; color: var(--ink-3); }
.foot__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.foot__brand .mark { width: 18px; height: 18px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__links a { color: var(--ink-3); transition: color 150ms ease; }
@media (hover: hover) { .foot__links a:hover { color: var(--ink); } }
.foot__meta { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.7; text-align: right; color: var(--ink-3); }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr; } .foot__meta { text-align: left; } }

/* ---------- Method page ---------- */
.page-hero { position: relative; padding: 84px 0 0; isolation: isolate; }
.page-hero__title { margin: 20px 0 0; font-size: clamp(48px, 7.2vw, 104px); font-weight: 400; line-height: 0.96; letter-spacing: -0.045em; }
.page-hero__sub { margin: 24px 0 0; max-width: 34em; font-size: clamp(18px, 1rem + 0.4vw, 21px); line-height: 1.5; color: var(--ink-2); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); transition: border-color 150ms ease, color 150ms ease; }
@media (hover: hover) { .toc a:hover { border-color: var(--ink); color: var(--ink); } }
@media (max-width: 640px) { .page-hero { padding-top: 44px; } }

.rules { margin: 40px 0 0; padding: 0; list-style: none; counter-reset: r; border-top: 1px solid var(--ink); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 52px 236px 1fr; gap: 16px; padding: 18px 0 19px; border-bottom: 1px solid var(--rule); }
.rules li::before { content: counter(r, decimal-leading-zero); padding-top: 2px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink-4); }
.rules li.is-key::before { color: var(--signal-ink); }
.rules b { padding-top: 1px; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.45; }
.rules span { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 760px) { .rules li { grid-template-columns: 34px 1fr; gap: 4px 12px; } .rules li span { grid-column: 2; } }

.prose { max-width: 680px; }
.prose p { margin: 18px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.prose p b { font-weight: 500; color: var(--ink); }
.formula { margin-top: 28px; padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 2; color: var(--ink); white-space: nowrap; }
.formula .k { color: var(--signal-ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.pair:first-of-type { margin-top: 40px; }
.pair > div { padding: 24px 24px 26px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); }
.pair > div.is-signal { border-color: var(--signal-line); background: linear-gradient(160deg, var(--signal-wash), var(--sheet) 62%); }
.pair h3 { margin: 0 0 10px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.pair .is-signal h3 { color: var(--signal-ink); }
.pair p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

.changes { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.changes li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0 19px; border-bottom: 1px solid var(--rule); }
.changes time { padding-top: 2px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.changes p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.changes p b { font-weight: 500; color: var(--ink); }
@media (max-width: 640px) { .changes li { grid-template-columns: 1fr; gap: 6px; } }

.faq { margin-top: 30px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 14px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.012em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); border-color: var(--signal-ink); }
.faq details p { margin: 0 0 22px; max-width: 46em; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

.cite { margin-top: 30px; }
.cite__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.cite pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.cite pre .ck { color: var(--signal-ink); }
.copy { min-height: 34px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--sheet); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color 150ms ease, color 150ms ease; }
@media (hover: hover) { .copy:hover { border-color: var(--ink); color: var(--ink); } }
.copy.is-done { color: var(--signal-ink); border-color: var(--signal-line); }
.dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- Contact form ---------- */
.sec--form { padding-top: 48px; padding-bottom: 104px; }
@media (max-width: 640px) { .sec--form { padding-top: 28px; padding-bottom: 0; } }
.form { padding: 26px 26px 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__k { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--rule-strong); border-radius: 6px;
    background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field select {
    -webkit-appearance: none; appearance: none; padding-right: 36px;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23121211' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 13px center;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal-ink); box-shadow: 0 0 0 3px rgba(0, 163, 108, 0.16); }
.field ::placeholder { color: var(--ink-4); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
@media (max-width: 640px) {
    .form { padding: 20px var(--pad) 20px; margin: 0 calc(-1 * var(--pad)); border-radius: 0; border-left: 0; border-right: 0; }
    .form__grid { grid-template-columns: 1fr; }
    .form__foot .btn { width: 100%; }
}

/* ---------- Not found ---------- */
.nf { display: flex; flex-direction: column; justify-content: center; min-height: 60vh; padding-top: 80px; padding-bottom: 80px; }
.nf__title { margin: 22px 0 0; font-size: clamp(44px, 7vw, 96px); font-weight: 400; line-height: 0.96; letter-spacing: -0.045em; }
.nf__sub { margin: 20px 0 0; max-width: 30em; font-size: 18px; color: var(--ink-2); }
.nf .btn { align-self: flex-start; margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@media print {
    .top, .status, .seg, .tools .sorter, .en__more, .close, .skip, .hero__dots { display: none !important; }
    .sheet { box-shadow: none; }
}
