/* Tokens follow docs/brand.md. Base / Ice White / Accent are FLOP's own palette. */
@font-face { font-family: 'Space Mono'; font-weight: 400; font-display: swap; src: url(fonts/space-mono-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Space Mono'; font-weight: 700; font-display: swap; src: url(fonts/space-mono-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); }
:root {
  --base: #0A1128; --ice: #F5F7FA; --accent: #00B4D8;
  --panel: #111A36; --line: #1F2A4A; --muted: #8D97B2;
  --good: #3DDC84; --warn: #FFC857; --bad: #FF6B81;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--ice); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
header, main, footer { max-width: 1480px; margin: 0 auto; padding: 0 20px; }
header { padding-top: 28px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 34px; display: block; }
.tag { font: 400 11px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.sub { color: var(--muted); margin-top: 10px; }
.muted { color: var(--muted); font-size: 12px; font-weight: 400; }
a { color: var(--accent); text-underline-offset: 2px; }
h2 { font: 700 16px var(--mono); letter-spacing: -0.02em; margin: 0; }
section { margin: 28px 0; }
.notice { margin-top: 16px; padding: 10px 14px; border: 1px solid rgb(255 200 87 / 40%); background: rgb(255 200 87 / 8%); border-radius: 8px; color: var(--warn); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.card .k { color: var(--muted); font-size: 12px; }
.card .v { font: 700 24px var(--mono); letter-spacing: -0.03em; margin-top: 4px; }
.card .d { color: var(--muted); font-size: 12px; margin-top: 2px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
input[type=search] { flex: 1 1 240px; max-width: 360px; background: var(--panel); border: 1px solid var(--line); color: var(--ice); border-radius: 8px; padding: 7px 10px; font: inherit; }
input[type=search]::placeholder { color: var(--muted); }
input[type=search]:focus { outline: 1px solid var(--accent); }
input[type=checkbox] { accent-color: var(--accent); }
.chk { color: var(--muted); font-size: 13px; user-select: none; }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 9px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child, td.l, th.l { text-align: left; }
thead th { position: sticky; top: 0; background: var(--panel); color: var(--muted); font: 400 11px var(--mono); }
tr.group th { border-bottom: none; padding-bottom: 0; }
tr.group th.g { text-align: center; color: var(--ice); border-left: 1px solid var(--line); }
th.sort { cursor: pointer; user-select: none; }
th.sort:hover, th.on { color: var(--ice); }
th.on { font-weight: 700; }
td.b, th.b { border-left: 1px solid var(--line); }
tbody tr:hover { background: rgb(245 247 250 / 3%); }
tbody tr:last-child td { border-bottom: none; }
.addr { font: 400 12px var(--mono); color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pill { font: 400 11px var(--mono); border-radius: 999px; padding: 1px 8px; border: 1px solid var(--line); color: var(--muted); }
.good { color: var(--good); } .warn { color: var(--warn); } .bad { color: var(--bad); } .dim { color: var(--muted); }
.more { text-align: center; margin-top: 12px; }
button { background: var(--panel); border: 1px solid var(--line); color: var(--ice); border-radius: 8px; padding: 7px 16px; font: inherit; cursor: pointer; }
button:hover { border-color: var(--accent); }
.method ul { color: var(--muted); padding-left: 18px; margin: 10px 0 0; }
.method li { margin: 4px 0; } .method b { color: var(--ice); font-weight: 600; }
code { font-family: var(--mono); font-size: 12px; }
footer { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 12px; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); margin-top: 40px; }
