/* Allo Router hosted dashboard: Yard direction. */
@font-face { font-family: "Archivo"; src: url(/fonts/archivo-latin-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono-latin-var.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --paper: #FAFAF7;
  --ink: #111111;
  --muted: #5E5E58;
  --rule: #DADAD3;
  --codex: #1F45E0;
  --claude: #E39B00;
  --credit: #C8227A;
  --gemini: #1F8A5B;
  --other: #0F7C8C;
  --none: #A6A69E;
  --stop: #D7261B;
  --reset-text: #D7261B;
  --sans: "Archivo", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 400 16px/1.5 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.86em; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.cond { font-stretch: 62%; font-variation-settings: "wdth" 62; }
.ext { font-stretch: 125%; font-variation-settings: "wdth" 125; }
[hidden] { display: none !important; }

/* ---- black top band ---- */
.band { background: var(--ink); color: var(--paper); }
.band .wrap { padding-top: 0; padding-bottom: 0; }
.band nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 34px; min-height: 64px; padding: 0; border: 0; font-size: 15px; color: #A9A9A2; }
.band .mark { font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; color: var(--paper); margin-right: 8px; }
.band .periods { display: flex; gap: 22px; margin-left: 0; font-size: 15px; color: #A9A9A2; }
.band .periods a { text-decoration: none; color: inherit; padding: 21px 0 19px; }
.band .periods a.on { color: var(--paper); font-weight: 700; box-shadow: inset 0 -3px 0 var(--paper); }
.band .live { font-size: 14px; color: #A9A9A2; }
.band .who { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; font-size: 15px; color: #A9A9A2; }
.band .who b { color: var(--paper); font-weight: 600; }
.band .who a, .band .who button.link { color: #A9A9A2; margin-left: 0; }
.band button.link { color: #A9A9A2; }

/* pages without the band (signin etc.) keep a light nav */
nav { display: flex; align-items: baseline; gap: 12px 34px; padding: 26px 0 18px; border-bottom: 1px solid var(--rule); }
.mark { font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; text-decoration: none; }
nav .periods { margin-left: 24px; display: flex; gap: 22px; font-size: 16px; color: var(--muted); }
nav .periods a { text-decoration: none; }
nav .periods a.on { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
nav .who { margin-left: auto; font-size: 15px; color: var(--muted); }
nav .who b { color: var(--ink); font-weight: 600; }
nav .who a, nav .who button.link { margin-left: 18px; }
nav .live { font-size: 14px; color: var(--muted); }

.note { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); }
.note b { color: var(--ink); font-weight: 700; }
.note span { color: var(--muted); }

.head { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding: 28px 0 26px; border-bottom: 1px solid var(--rule); }
.head .scope { margin: 0 0 12px; font-size: 16px; color: var(--muted); }
h1 { margin: 0; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 820; font-size: 84px; line-height: 0.9; letter-spacing: -0.015em; }
.head h1 { font-size: 80px; }
h1 .miss { color: var(--reset-text); }
.head .sub { margin: 18px 0 0; font-size: 20px; font-weight: 600; max-width: 36em; }
.head .sub b { font-weight: 800; }
.head .fine { margin: 8px 0 0; font-size: 15px; color: var(--muted); max-width: 44em; }
.stats { display: flex; flex-wrap: wrap; margin-top: 22px; border-top: 1px solid var(--rule); }
.stats > div { padding: 12px 34px 0 0; font-size: 15px; color: var(--muted); line-height: 1.25; }
.stats > div + div { padding-left: 34px; border-left: 1px solid var(--rule); }
.stats b { display: block; font-weight: 820; font-size: 46px; line-height: 0.92; color: var(--ink); letter-spacing: -0.01em; }
.stats .miss, .stats .miss b { color: var(--reset-text); }
.side { border-left: 1px solid var(--rule); padding-left: 40px; }
.side .big { font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 820; font-size: 72px; line-height: 0.9; }
.side p { margin: 10px 0 0; font-size: 16px; }
.side .m { color: var(--muted); font-size: 15px; }

/* allocation strip (Ledger/Signal top row, Yard colors) */
.alloc { padding: 28px 0 26px; border-bottom: 1px solid var(--rule); }
.alloc-head { display: flex; align-items: baseline; gap: 8px 22px; flex-wrap: wrap; }
.alloc-head h2 { font-size: 28px; }
.alloc-head .intro { margin: 0; color: var(--muted); font-size: 15px; max-width: 48em; }
.alloc .bar { display: flex; height: 22px; margin: 18px 0 16px; gap: 2px; overflow: hidden; }
.alloc .bar span { display: block; min-width: 2px; }
.alloc .bar .alloc-none {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(250,250,247,.75) 4px, rgba(250,250,247,.75) 7px);
}
.alloc-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 34px; }
.alloc-keys > div { display: grid; grid-template-columns: 14px minmax(0, 1fr); grid-template-areas: "sw name" ". meta"; column-gap: 9px; align-items: center; }
.alloc-keys .sw { grid-area: sw; width: 12px; height: 12px; }
.alloc-keys b { grid-area: name; font-weight: 700; }
.alloc-keys b.no { color: var(--reset-text); }
.alloc-keys .meta { grid-area: meta; font-size: 14px; color: var(--muted); }

.map { padding: 18px 0 6px; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map text { font-family: var(--sans); }
.t-name { font-size: 18px; font-weight: 700; fill: var(--ink); }
.t-num { font-size: 17px; font-weight: 500; fill: var(--ink); }
.t-saved { font-size: 16px; font-weight: 700; fill: var(--ink); }
.t-share { font-size: 40px; font-weight: 820; font-stretch: 62%; font-variation-settings: "wdth" 62; fill: var(--ink); }
.t-est { font-size: 14px; font-weight: 400; fill: var(--muted); }
.t-in { font-size: 14px; fill: var(--muted); }
.t-day { font-size: 13.5px; fill: var(--muted); }
.car rect { fill: var(--ink); }
.car text { fill: var(--paper); font-size: 12px; font-weight: 700; text-anchor: middle; }
.car-x rect { fill: var(--paper); stroke: var(--reset-text); stroke-width: 1.5; stroke-dasharray: 4 3; }
.car-x text { fill: var(--reset-text); font-size: 12px; font-weight: 700; text-anchor: middle; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 2px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.legend svg { vertical-align: middle; margin-right: 7px; }
.map .more { font-size: 13px; fill: var(--muted); }

section.part { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; padding: 40px 0; border-bottom: 1px solid var(--rule); }
section.part > * { min-width: 0; }
h2 { margin: 0; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; font-size: 48px; line-height: 0.92; letter-spacing: -0.01em; }
.part .intro { margin: 14px 0 0; color: var(--muted); max-width: 24em; font-size: 16px; }

.tbl { font: 400 15px/1.6 var(--sans); }
.tbl div { display: grid; grid-template-columns: 26px 190px 80px 70px 90px minmax(0, 1fr); align-items: center; padding: 9px 0; border-top: 1px solid var(--rule); }
.tbl div:first-child { border-top: 0; padding-top: 0; }
.tbl .h { font: 400 14px/1.4 var(--sans); color: var(--muted); }
.tbl .seg { height: 6px; width: 16px; }
.tbl .r { text-align: right; }
.tbl .tot { font-weight: 700; border-top: 2px solid var(--ink); }
.tbl .no { color: var(--reset-text); }
.tbl .est { display: block; color: var(--muted); font: 400 13px/1.3 var(--sans); }

h3 { margin: 30px 0 8px; font-size: 17px; font-weight: 700; }
.misses { font: 400 15px/1.6 var(--sans); }
.misses div { display: grid; grid-template-columns: 50px 110px 26px 130px minmax(0, 1fr); align-items: center; padding: 7px 0; border-top: 1px solid var(--rule); }
.misses div:first-child { border-top: 0; }
.misses .seg { height: 6px; width: 16px; }
.misses .why { font-size: 15px; }
.misses .id { color: var(--reset-text); font-weight: 700; }

.rows { margin: 0; }
.rows div { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 24px; padding: 13px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.rows div:first-child { border-top: 0; padding-top: 2px; }
.rows dt { font-weight: 700; }
.rows dd { margin: 0; }
.rows .act { font-size: 15px; }
.rows .two { grid-template-columns: 190px minmax(0, 1fr); }

footer { display: flex; align-items: baseline; gap: 10px 28px; padding: 20px 0 36px; font-size: 15px; color: var(--muted); }
footer .mark { font-size: 17px; color: var(--ink); }
footer span:nth-child(2) { margin-right: auto; }
footer .spots { color: var(--ink); }
.spots b { font-weight: 700; }

button.link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.empty { padding: 34px 0 40px; border-bottom: 1px solid var(--rule); }
.empty h2 { margin-bottom: 14px; }
.empty ol { margin: 0; padding-left: 22px; font-size: 18px; max-width: 46em; }
.empty li { margin: 6px 0; }

/* sign-in, connect, waitlist, privacy */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; padding: 56px 0 60px; border-bottom: 1px solid var(--rule); }
.page > * { min-width: 0; }
.page h1 { font-size: 84px; }
.page .lede { margin: 22px 0 0; font-size: 21px; max-width: 30em; }
.page .fine { margin: 14px 0 0; color: var(--muted); font-size: 15px; max-width: 40em; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.btn { display: inline-block; font: 700 17px/1 var(--sans); padding: 15px 22px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.field { display: block; margin-top: 22px; }
.field span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.field input { font: 500 20px/1.2 var(--sans); width: 100%; max-width: 22em; padding: 11px 12px; border: 2px solid var(--ink); background: #F4F4F0; color: var(--ink); }
.code { font: 700 64px/1 var(--mono); letter-spacing: 0.04em; margin: 26px 0 0; }
.status { margin-top: 22px; font-size: 18px; font-weight: 600; }
.status.bad { color: var(--reset-text); }
.dev { margin-top: 34px; padding-top: 18px; border-top: 1px dashed var(--rule); }
.dev p { margin: 0; font-size: 15px; color: var(--reset-text); font-weight: 600; }
.side .spots.count { font-size: 15px; }
.side .spots.count b { display: block; font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 820; font-size: 72px; line-height: 0.9; margin-bottom: 6px; }
.prose { max-width: 46em; font-size: 17px; }
.prose h2 { margin: 36px 0 10px; font-size: 36px; }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .head, .page, section.part { grid-template-columns: 1fr; }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 8px; }
  h1, .page h1, .head h1 { font-size: 52px; }
  .stats b { font-size: 38px; }
  .band nav { gap: 10px 18px; min-height: 56px; padding: 10px 0; }
  nav { flex-wrap: wrap; }
  .code { font-size: 40px; }
}
