:root { color-scheme: light dark; --paper: #f0efdf; --surface: #faf9ed; --ink: #1d2420; --muted: #465347; --line: #a8af9d; --accent: #c4ed89;
  --blocked: #2f8f5b; --allowed: #8a958a; --error: #c2410c; --bar: #2f8f5b; --bar-bg: #dfe3d3; --mono: ui-monospace, monospace; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
header, main, footer { width: min(100% - 2rem, 72rem); margin-inline: auto; }
header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
a { color: inherit; text-underline-offset: .2em; }
main { padding-block: 3rem; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.12; letter-spacing: -.04em; margin: .5rem 0 1rem; overflow-wrap: anywhere; }
h2 { margin-top: 0; font-size: 1.25rem; }
h3 { margin: 1.2rem 0 .4rem; font-size: 1rem; }
.eyebrow { font-family: var(--mono); color: var(--muted); }
.intro { max-width: 48rem; font-size: 1.12rem; }
.lede { max-width: 60rem; }
section { padding: clamp(1rem, 3vw, 2rem); margin-block: 2rem; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.small { font-size: .875rem; color: var(--muted); }
.capture-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--surface); }
.capture-bar label { font-weight: 650; }
.capture-bar p { margin: 0; color: var(--muted); font-size: .9rem; }
select, input[type=search], textarea { min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--paper); color: var(--ink); font: inherit; }
textarea { display: block; width: 100%; max-width: 40rem; font: .95rem/1.5 var(--mono); resize: vertical; margin-top: .3rem; }
label { font-weight: 650; }
button { padding: .65rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: .25rem; background: var(--accent); color: #17201c; font: 650 .9rem/1.5 system-ui, sans-serif; cursor: pointer; }
button.quiet-btn { background: transparent; color: var(--ink); font-weight: 500; }
button:disabled { opacity: .55; cursor: default; }
.actions { display: flex; gap: .7rem; margin-top: .8rem; }
.op { margin-bottom: 1rem; }
.bars { display: grid; grid-template-columns: 11rem 1fr 19rem; gap: .35rem .8rem; align-items: center; }
.bars .name { font-size: .92rem; }
.bars .track { height: 1.1rem; background: var(--bar-bg); border-radius: 2px; overflow: hidden; }
.bars .fill { height: 100%; background: var(--bar); }
.bars .fill.family { background: repeating-linear-gradient(45deg, var(--bar), var(--bar) 6px, color-mix(in srgb, var(--bar) 70%, transparent) 6px, color-mix(in srgb, var(--bar) 70%, transparent) 12px); }
.bars .num { font: .85rem var(--mono); white-space: nowrap; }
.bars .warn { color: var(--error); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .8rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font: .85rem var(--mono); }
th, td { padding: .35rem .5rem; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
table.grid th { font-weight: 500; font-size: .75rem; white-space: normal; vertical-align: bottom; min-width: 4.5rem; line-height: 1.25; }
table.grid td.dom { max-width: 26rem; overflow: hidden; text-overflow: ellipsis; }
#speed td, #speed th { text-align: right; } #speed td:first-child, #speed th:first-child { text-align: left; }
.v { font-weight: 700; }
.v.blocked { color: var(--blocked); } .v.allowed { color: var(--allowed); } .v.offline { color: var(--allowed); } .v.error { color: var(--error); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .82rem; color: var(--muted); }
.tag { font: .72rem var(--mono); text-transform: uppercase; color: var(--muted); margin-left: .4rem; }
#live-status.error { color: var(--error); }
aside { border-left: 3px solid var(--line); padding-left: 1rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem; }
:focus-visible { outline: 3px solid #ca6c1b; outline-offset: 4px; }
.skip { position: absolute; top: -10rem; left: 1rem; padding: .5rem; background: var(--surface); }
.skip:focus { top: .5rem; }
[hidden] { display: none !important; }
@media (max-width: 44rem) { .bars { grid-template-columns: 1fr auto; } .bars .num { white-space: normal; text-align: right; } .bars .track { grid-column: 1 / -1; } main { padding-block: 1.5rem; } }
@media (prefers-color-scheme: dark) { :root { --paper: #17201c; --surface: #222d26; --ink: #f0efdf; --muted: #c3cfbc; --line: #64755d; --blocked: #6be3a0; --bar: #4fb57e; --bar-bg: #34413a; --error: #ff8a65; --allowed: #9aa79a; } }
