@font-face{font-family:"Archivo";src:url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-stretch:62% 125%;font-display:swap}@font-face{font-family:"JetBrains Mono";src:url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"JetBrains Mono";src:url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:"JetBrains Mono";src:url("/assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root{--paper:#E8E5DD;--paper-2:#DCD8CD;--card:#F3F1EB;--wash:#E3DFD5;--ink:#0E0E0D;--ink-2:#2F2C28;--ink-3:#57524A;--rule:#B9B3A6;--rule-2:#8A8477;--blue:#0E0E0D;--blue-tint:#E3DFD5;--magenta:#A62F08;--magenta-tint:#F9CDB9;--tan:#3B1A08;--tan-tint:#E3DFD5;--lead:#14B8A6;--teal:#08625A;--red:#A62F08;--orange:#FF5A1F;--orange-2:#F04E14;--on-orange:#0E0E0D;--on-orange-2:#3B1A08;--alarm:#A62F08;--tape:#0E0E0D;--tape-ink:#EDE9E0;--tape-ink-2:#A8A296;--tape-hot:#FF6A33;--tape-teal:#2DD4BF;--brand-paper:#F8FAFC;--flock:#0E0E0D;--flock-far:#57524A;color-scheme:light}
:root[data-theme=dusk]{--paper:#13110E;--paper-2:#1C1915;--card:#221E19;--wash:#24201A;--ink:#EDE7DB;--ink-2:#D0C8B9;--ink-3:#A69D8E;--rule:#3B352D;--rule-2:#6F6658;--blue:#EDE7DB;--blue-tint:#24201A;--magenta:#FF7A45;--magenta-tint:#3A2216;--tan:#3B1A08;--tan-tint:#24201A;--lead:#14B8A6;--teal:#2DD4BF;--red:#FF7A45;--orange:#FF5A1F;--orange-2:#F04E14;--on-orange:#0E0E0D;--on-orange-2:#3B1A08;--alarm:#FF7A45;--tape:#0A0908;--tape-ink:#EDE9E0;--tape-ink-2:#A8A296;--tape-hot:#FF6A33;--tape-teal:#2DD4BF;--brand-paper:#F8FAFC;--flock:#EDE7DB;--flock-far:#A69D8E;color-scheme:dark}
@media (prefers-color-scheme: dark){:root:not([data-theme=day]){--paper:#13110E;--paper-2:#1C1915;--card:#221E19;--wash:#24201A;--ink:#EDE7DB;--ink-2:#D0C8B9;--ink-3:#A69D8E;--rule:#3B352D;--rule-2:#6F6658;--blue:#EDE7DB;--blue-tint:#24201A;--magenta:#FF7A45;--magenta-tint:#3A2216;--tan:#3B1A08;--tan-tint:#24201A;--lead:#14B8A6;--teal:#2DD4BF;--red:#FF7A45;--orange:#FF5A1F;--orange-2:#F04E14;--on-orange:#0E0E0D;--on-orange-2:#3B1A08;--alarm:#FF7A45;--tape:#0A0908;--tape-ink:#EDE9E0;--tape-ink-2:#A8A296;--tape-hot:#FF6A33;--tape-teal:#2DD4BF;--brand-paper:#F8FAFC;--flock:#EDE7DB;--flock-far:#A69D8E;color-scheme:dark}}
/* Boidly: the repository chart in the flight recorder's colours. Radar draws the flock over a chart of the code.
   Archivo carries the chart's lettering (its width axis gives the condensed labels and the expanded titles),
   JetBrains Mono carries data: files, leases, the ledger. build.py prepends @font-face rules and the palette tokens.
   Colour: international orange is the recorder's body (masthead, Radar, the flight log, page heads) with black type;
   pale concrete paper and bone cards carry black ink; black tape labels; teal only for the handoff and the logo.
   Every theme has one palette: anything drawn (the Radar chart, the 404 chart) sits in a window of the page's own
   paper inside the orange, so it reads in the page's inks, day and night. */

:root {
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 3.4vw, 48px);
  --measure: 38rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar: 7px;
  /* The page's own inks, kept so that bone panels inside an orange surface can take them back. */
  --k-ink: var(--ink); --k-ink-2: var(--ink-2); --k-ink-3: var(--ink-3); --k-blue: var(--blue);
  --k-magenta: var(--magenta); --k-red: var(--red); --k-teal: var(--teal); --k-rule: var(--rule); --k-rule-2: var(--rule-2);
  /* The focus ring's colour, set by each surface so the ring stands out from whatever it is drawn on. */
  --focus: var(--alarm);
}

/* Orange surfaces: only the on-orange inks pass contrast on international orange, in both themes. */
.mast, .radar, .panel--log, .air__band--l3, .plate-head, .lost {
  --ink: var(--on-orange); --ink-2: var(--on-orange-2); --ink-3: var(--on-orange-2);
  --blue: var(--on-orange); --magenta: var(--on-orange); --red: var(--on-orange); --teal: var(--on-orange);
  --rule: var(--on-orange-2); --rule-2: var(--on-orange-2); --focus: var(--on-orange);
  background-color: var(--orange); color: var(--ink);
}
/* Panels set on an orange surface take the page's inks back: the bone cards, and the chart windows, where the
   Radar and the 404 chart are drawn on the page's own paper. */
.radar__title, .radar__scope, .lost__fig, .key, .mode, .run__btn, .strip, .obs, .fcst, .air__band--l3 .air__craft li,
.toc-open .mast__nav, .toc-open .mast__toc {
  --ink: var(--k-ink); --ink-2: var(--k-ink-2); --ink-3: var(--k-ink-3);
  --blue: var(--k-blue); --magenta: var(--k-magenta); --red: var(--k-red); --teal: var(--k-teal);
  --rule: var(--k-rule); --rule-2: var(--k-rule-2); --focus: var(--alarm);
  color: var(--ink);
}
/* A chart window: the page's paper, framed in black on the orange. */
.radar__scope, .lost__fig { background-color: var(--paper); border: 2px solid var(--on-orange); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; font-stretch: 100%;
  font-variation-settings: normal; overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote, pre { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
code, pre, kbd { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
button { font: inherit; color: inherit; }
svg { display: block; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The skip link appears over the orange masthead and the logo's nameplate, as a black tape label. It is drawn over
   three colours at once, so its ring goes inside it, in the tape's orange. */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: .6rem 1rem;
  background: var(--tape); color: var(--tape-ink); --focus: var(--tape-hot);
}
.skip:focus-visible { outline-offset: -5px; }
.skip:focus { top: 1rem; }

/* Lettering. Chart labels are condensed caps; titles are expanded and heavy. */
.label, .chart-id, .panel__id, .tag, .bay__title, .mode__label, .wx, .leg__fix, .air__lvl, .sub-h {
  font-family: var(--sans); font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
h1, h2 { font-family: var(--sans); font-stretch: 125%; font-weight: 800; letter-spacing: -.015em; line-height: .98; }
h3 { font-family: var(--sans); font-stretch: 112%; font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.005em; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: var(--measure); }

/* The neatline: the alternating bar every chart sheet is framed with, in the page's ink and orange, so it reads the
   same on every surface of a theme: black and orange by day, bone and orange at night. */
.panel, .radar__title, .plate-head {
  --bar-ink: var(--k-ink);
}
.panel::before, .colophon::before, .radar__title::before {
  content: ""; display: block; height: var(--bar);
  border-block: 1px solid var(--bar-ink);
  background: repeating-linear-gradient(90deg, var(--bar-ink) 0 56px, var(--orange) 56px 112px);
}

.tag {
  display: inline-block; font-size: .72rem; line-height: 1; padding: .32em .5em .28em; border: 1px solid currentColor;
  color: var(--magenta); vertical-align: .18em; white-space: nowrap;
}
.tag--plain { color: var(--ink-3); }
.tag--teal { color: var(--teal); }

.go {
  display: inline-flex; align-items: center; gap: .55em; font-family: var(--sans); font-stretch: 100%; font-weight: 700;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding: .2em 0;
  max-width: 100%; overflow-wrap: anywhere;
}
.go::after {
  content: ""; width: 1.3em; height: .72em; flex: none; background: currentColor;
  clip-path: polygon(0 42%, 66% 42%, 66% 6%, 100% 50%, 66% 94%, 66% 58%, 0 58%);
}
.go:hover { color: var(--magenta); border-color: var(--magenta); }
.go--quiet { font-weight: 500; border-bottom-width: 1px; }

/* Masthead */
.mast { position: relative; z-index: 30; border-bottom: 1px solid var(--ink); }
.mast__inner { display: flex; align-items: center; gap: 1.1rem; padding: .7rem var(--gutter); }
.mast__brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo { width: 112px; height: auto; }
/* On the orange masthead the logo sits on a black tape nameplate, where its teal lead boid can be seen. */
.mast__brand .logo { box-sizing: content-box; width: 98px; padding: 6px 10px 5px; background: var(--tape); }
.mast .ink-fill { fill: var(--tape-ink); }
.mast .ink-stroke { stroke: var(--tape-ink); }
.mark { width: 40px; height: 40px; }
.ink-fill { fill: var(--ink); }
.ink-stroke { stroke: var(--ink); }
.lead-fill { fill: var(--lead); }
.mast__tag {
  font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  color: var(--ink-3); border-left: 1px solid var(--rule-2); padding-left: .8rem; white-space: nowrap;
}
.mast__nav { display: none; }
.mast__navhead, .mast__elsewhere, .toc-n { display: none; }
.mast__toc, .theme {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .85rem; cursor: pointer;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
}
.mast__toc:hover, .theme:hover { background: var(--ink); color: var(--orange); }
.theme svg { width: 1.05rem; height: 1.05rem; }
.theme__ring { fill: none; stroke: currentColor; stroke-width: 1.6; }
.theme__half { fill: currentColor; transition: transform .5s var(--ease); transform-origin: 50% 50%; }
:root[data-theme=dusk] .theme__half { transform: rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme=day]) .theme__half { transform: rotate(180deg); } }
@media (max-width: 520px) {
  .theme__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .theme { padding-inline: .6rem; }
  .mast__tag { display: none; }
  .logo, .mast__brand .logo { width: 86px; }
}
@media (min-width: 1180px) {
  .mast__nav { display: block; }
  .mast__nav ol { display: flex; gap: 1.25rem; flex-wrap: wrap; }
  .mast__nav a {
    color: var(--ink); text-decoration: none; font-stretch: 75%; font-weight: 600; text-transform: uppercase;
    letter-spacing: .09em; font-size: .82rem; padding: .3em 0; border-bottom: 1px solid transparent;
  }
  .mast__nav a:hover, .mast__nav a[aria-current] { border-color: var(--magenta); color: var(--magenta); }
  .mast__toc { display: none; }
}
.toc-open { overflow: hidden; }
.toc-open .mast__nav {
  display: block; position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--paper);
  padding: 5rem var(--gutter) 3rem;
}
.toc-open .mast__nav ol { display: block; max-width: 40rem; margin-inline: auto; border-top: 1px solid var(--ink); }
.toc-open .mast__nav li { border-bottom: 1px solid var(--rule); }
.toc-open .mast__nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0; color: var(--ink); text-decoration: none;
  font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 1rem + 2.4vw, 2.2rem); text-transform: none; letter-spacing: -.01em; border: 0;
}
.toc-open .mast__nav a:hover { color: var(--magenta); }
.toc-open .toc-n { display: inline; font-family: var(--mono); font-size: .45em; font-weight: 500; color: var(--magenta); min-width: 1.6rem; }
.toc-open .mast__navhead { display: block; max-width: 40rem; margin: 0 auto .8rem; font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.toc-open .mast__elsewhere { display: block; max-width: 40rem; margin: 2rem auto 0; }
.toc-open .mast__toc { position: fixed; top: .7rem; right: var(--gutter); z-index: 41; display: inline-flex; background: var(--paper); color: var(--ink); border-color: var(--ink); }
.toc-open .theme { visibility: hidden; }

/* ===== The hero: Radar over the repository chart ===== */
.radar { position: relative; overflow: hidden; border-bottom: 1px solid var(--ink); }
.radar__scope { position: relative; height: 540px; margin: 0 var(--gutter); }
.radar__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Colour roles the chart reads. The chart window carries the page's paper and inks, so the drawing follows the theme:
   ink linework on concrete by day, bone on warm black at night. Orange marks the leases and the sweep, the alarm
   colour marks holds, denials and conflicts, teal the handoff, and labels are black tape. */
.radar__scope {
  --r-surface: var(--paper); --r-ink: var(--ink); --r-ink-2: var(--ink-3); --r-grid: var(--rule);
  --r-terrain: var(--rule-2); --r-terrain-fill: var(--paper-2);
  --r-card: var(--card); --r-card-ink: var(--ink); --r-card-ink-2: var(--ink-2);
  --r-lease: var(--orange); --r-lease-fill: var(--magenta-tint); --r-sweep: var(--orange); --r-alarm: var(--alarm);
  --r-label: var(--tape); --r-label-ink: var(--tape-hot); --r-lead: var(--lead); --r-lead-ink: var(--tape);
}
.radar__title {
  position: relative; z-index: 3; margin: 14px var(--gutter) 16px; background: var(--card); border: 1px solid var(--ink);
  --bar-ink: var(--ink);
}
.radar__title > *:not(.chart-id), .radar__more > * { padding-inline: clamp(16px, 2.2vw, 28px); }
.chart-id { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ink); font-size: .72rem; color: var(--ink-2); }
.chart-id span { padding: .55rem .8rem .5rem; border-right: 1px solid var(--ink); }
.chart-id span:first-child { background: var(--tape); color: var(--tape-hot); }
.radar h1 { font-size: clamp(2rem, .9rem + 3.1vw, 3.75rem); font-stretch: 118%; padding-top: clamp(14px, 2vw, 24px); }
.h1__b { display: block; color: var(--blue); }
.radar__lede { margin-top: .9rem; padding-bottom: 1.2rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); line-height: 1.5; color: var(--ink-2); max-width: 34rem; }
.radar__more { position: relative; z-index: 3; margin: 12px var(--gutter) 6px; }
.radar__more > * { padding-inline: 0; }
.radar__status { font-size: .95rem; color: var(--ink-3); max-width: 34rem; }
.radar__status .tag { margin-right: .4rem; }
.radar__go { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-block: 1rem .4rem; }

.key {
  position: absolute; z-index: 2; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: .2rem .9rem;
  padding: .35rem .6rem; background: var(--card); border: 1px solid var(--ink);
  font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; color: var(--ink-2);
}
.key li { display: inline-flex; align-items: center; gap: .35rem; }
.key svg { width: 16px; height: 16px; }
/* The key draws each symbol as the chart does. */
.k-boid { fill: var(--ink); }
.k-lease { fill: var(--magenta-tint); stroke: var(--orange); stroke-width: 2.2; stroke-dasharray: 3 2; }
.k-hold { fill: none; stroke: var(--alarm); stroke-width: 1.6; stroke-dasharray: 2.5 2; }
.k-sheet { fill: var(--lead); stroke: var(--ink); stroke-width: 1.2; }
.k-sheet-fold { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.k-x { fill: none; stroke: var(--alarm); stroke-width: 2.6; }

.bay { position: relative; z-index: 3; margin: 0 var(--gutter); padding: 14px 0 6px; }
.bay__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: .7rem; }
.bay__title { font-size: .8rem; margin-right: auto; color: var(--ink); }
.bay__title span { color: var(--ink-3); margin-left: .5rem; }
.mode { display: inline-flex; align-items: stretch; border: 1px solid var(--ink); background: var(--card); }
.mode__label { display: inline-flex; align-items: center; padding: 0 .7rem; font-size: .7rem; color: var(--ink-3); border-right: 1px solid var(--ink); }
.mode__opt {
  min-height: 38px; padding: 0 .9rem; border: 0; background: transparent; cursor: pointer;
  font-stretch: 100%; font-weight: 700; font-size: .9rem; color: var(--ink-2);
}
.mode__opt + .mode__opt { border-left: 1px solid var(--ink); }
.mode__opt[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.mode__opt[data-mode=none][aria-pressed=true] { background: var(--red); color: var(--paper); }
.run { display: inline-flex; gap: .4rem; }
.run__btn {
  min-height: 38px; padding: 0 .8rem; border: 1px solid var(--ink); background: var(--card); cursor: pointer;
  font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem;
}
.run__btn:hover { background: var(--ink); color: var(--paper); }
.run__btn[hidden] { display: none; }
/* The Radar's buttons are bone tiles on the orange, and the two halves of the mode switch touch, so their ring is
   drawn inside, in the button's own text colour. */
.mode__opt:focus-visible, .run__btn:focus-visible { outline-color: currentColor; outline-offset: -5px; }

.strips { display: grid; gap: 8px; grid-template-columns: 1fr; }
.strip {
  --state: var(--ink-3);
  position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  grid-template-areas: "id call state" "id why why" "id now now";
  column-gap: .75rem; row-gap: .1rem; padding: .5rem .7rem .55rem 0;
  background: var(--wash); border: 1px solid var(--ink); font-family: var(--mono); font-size: .76rem; line-height: 1.35;
  transition: background-color .4s var(--ease);
}
.strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--state); }
.strip__task { display: contents; }
.strip__task b {
  grid-area: id; align-self: center; justify-self: center; font-family: var(--sans); font-stretch: 125%; font-weight: 800;
  font-size: 1.35rem; color: var(--ink); padding-left: 5px;
}
.strip__task span { grid-area: why; color: var(--ink-2); font-family: var(--sans); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip__call { grid-area: call; display: flex; gap: .55rem; align-items: baseline; min-width: 0; }
.strip__call b { font-weight: 700; color: var(--ink); }
.strip__call span { color: var(--ink-3); }
.strip__now { grid-area: now; display: flex; gap: .6rem; min-width: 0; color: var(--ink-2); }
.strip__file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.strip__fence { color: var(--magenta); font-weight: 700; flex: none; }
.strip__fence:empty { display: none; }
.strip__state {
  grid-area: state; align-self: start; font-family: var(--sans); font-stretch: 75%; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: .7rem; color: var(--state); border: 1px solid currentColor; padding: .18em .4em .12em; white-space: nowrap;
}
.strip.is-lease { --state: var(--blue); }
.strip.is-lease::before { background: var(--orange); }
.strip.is-hold, .strip.is-blocked { --state: var(--magenta); }
.strip.is-blocked { background: var(--magenta-tint); }
.strip.is-handoff { --state: var(--teal); }
.strip.is-merged { --state: var(--ink); }
.strip.is-conflict { --state: var(--red); background: var(--card); }

.ledger {
  display: flex; align-items: baseline; gap: .8rem; margin-top: .6rem; padding: .45rem 0; border-top: 1px solid var(--ink);
  font-family: var(--mono); font-size: .76rem; color: var(--ink-2); min-height: 2.4rem;
}
.ledger__src { flex: none; font-weight: 700; color: var(--tape-hot); background: var(--tape); padding: .1em .45em; }
.ledger__line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__line.is-new { animation: ink-in .5s var(--ease); }
@keyframes ink-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.radar__note { margin: 0 var(--gutter); padding: .2rem 0 1.1rem; font-size: .84rem; color: var(--ink-3); max-width: 62rem; }
@media (max-width: 1099px) { .ledger { align-items: flex-start; } .ledger__line { white-space: normal; overflow-wrap: anywhere; } }

@media (min-width: 640px) and (max-width: 1099px) {
  .strips { grid-template-columns: 1fr 1fr; }
  .radar__scope { height: 600px; }
}
@media (min-width: 1100px) {
  .radar {
    min-height: calc(100svh - 71px); display: grid;
    grid-template-columns: min(36rem, 41vw) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto;
  }
  .radar__scope { grid-column: 2; grid-row: 1 / 4; height: auto; min-height: 30rem; margin: 26px var(--gutter) 18px 24px; }
  .radar__title { grid-column: 1; grid-row: 1; margin: 26px 0 0 var(--gutter); border-bottom: 0; }
  .radar__more {
    grid-column: 1; grid-row: 2; margin: 0 0 18px var(--gutter); background: var(--card);
    border: 1px solid var(--ink); border-top: 1px solid var(--rule); padding: 1rem clamp(16px, 2.2vw, 28px) .9rem;
  }
  .bay, .radar__more {
    --ink: var(--k-ink); --ink-2: var(--k-ink-2); --ink-3: var(--k-ink-3); --blue: var(--k-blue);
    --magenta: var(--k-magenta); --red: var(--k-red); --teal: var(--k-teal); --rule: var(--k-rule); --rule-2: var(--k-rule-2);
    --focus: var(--alarm);
    color: var(--ink);
  }
  .bay { grid-column: 1 / -1; grid-row: 4; background: var(--paper); border: 1px solid var(--ink); padding: 10px 12px 2px; }
  .radar__note { grid-column: 1 / -1; grid-row: 5; padding-top: .5rem; margin: 0; padding-inline: var(--gutter); max-width: none; }
  .strips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .key { left: auto; right: 10px; top: 10px; bottom: auto; }
}

/* ===== Panels: each section is a chart inset ===== */
.panel {
  position: relative; margin: clamp(48px, 7vw, 104px) var(--gutter); background: var(--card); border: 1px solid var(--ink);
}
.panel::after {
  content: ""; display: block; height: var(--bar); border-block: 1px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--orange) 0 56px, var(--bar-ink) 56px 112px);
}
.panel.panel--log { background-color: var(--orange); }
.panel--log .obs { border-top: 1px solid var(--k-ink); }
.panel__head {
  display: grid; grid-template-columns: 1fr; gap: .9rem; padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px) clamp(14px, 2vw, 26px);
  border-bottom: 1px solid var(--rule);
}
.panel__id { font-size: .75rem; color: var(--tape-hot); background: var(--tape); justify-self: start; align-self: start; padding: .35em .6em .3em; }
.panel h2 { font-size: clamp(1.75rem, 1rem + 2.6vw, 3.3rem); max-width: 22ch; }
.panel__lede { color: var(--ink-2); max-width: 44rem; font-size: 1.08rem; }
.panel__foot { padding: 1rem clamp(16px, 3vw, 44px) 1.4rem; color: var(--ink-3); font-size: .95rem; max-width: 64rem; }
@media (min-width: 900px) {
  .panel__head { grid-template-columns: 9rem 1fr; column-gap: 2rem; }
  .panel__id { grid-row: 1 / span 2; padding-top: .55rem; }
}

/* Panel A: rules */
.rules { display: grid; grid-template-columns: 1fr; gap: 0; }
.stat { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--rule); }
.stat__num {
  font-stretch: 125%; font-weight: 900; font-size: clamp(5rem, 3rem + 9vw, 11rem); line-height: .82; color: var(--magenta); letter-spacing: -.04em;
}
.stat__about { display: block; font-size: .14em; font-weight: 600; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: .6em; }
.stat figcaption { margin-top: 1rem; color: var(--ink-2); max-width: 30rem; }
.rules__intro { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--rule); display: flex; align-items: center; }
.rules__list { display: grid; grid-template-columns: 1fr; grid-column: 1 / -1; }
.rule { padding: clamp(18px, 2.4vw, 32px) clamp(16px, 3vw, 44px) clamp(22px, 3vw, 40px); border-bottom: 1px solid var(--rule); }
.rule__fig { width: 100%; max-width: 240px; height: auto; margin-bottom: 1rem; }
.rule__n { font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--blue); }
.rule h3 { font-size: clamp(1.4rem, 1rem + 1vw, 1.8rem); font-stretch: 125%; font-weight: 800; margin: .15rem 0 .6rem; }
.rule p:last-child { color: var(--ink-2); max-width: 26rem; }
@media (min-width: 900px) {
  .rules { grid-template-columns: 5fr 7fr; }
  .stat { border-right: 1px solid var(--rule); }
  .rules__list { grid-template-columns: repeat(3, 1fr); }
  .rule + .rule { border-left: 1px solid var(--rule); }
  .rule { border-bottom: 0; }
}

/* Drawn chart symbols, shared by the rules and the legend */
.f-wpt { fill: var(--blue); }
.f-boid { fill: var(--ink); }
.f-boid--far { fill: var(--ink-3); }
.f-boid--lead { fill: var(--lead); }
.f-boid--out { fill: var(--ink-3); }
.f-lease { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 4; }
.f-lease-band { fill: var(--magenta-tint); }
.f-track { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 3 4; }
.f-stop { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.f-airway { fill: none; stroke: var(--blue); stroke-width: 2.2; }
.f-airway--b { stroke-dasharray: 5 4; stroke-width: 1.6; }
.f-ripple { fill: none; stroke: var(--blue); stroke-width: 1.6; opacity: .7; }
.f-route { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 8 5; }
.f-fix { fill: var(--blue); }

/* Panel B: the legend */
.legend { display: grid; grid-template-columns: minmax(0, 1fr); }
.sym { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1.1rem; padding: clamp(18px, 2.4vw, 30px) clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--rule); }
.sym__mark {
  width: 76px; height: 76px; border: 1px solid var(--ink); background: var(--paper); position: relative;
}
.sym__mark::before {
  content: ""; position: absolute; inset: -1px auto -1px -1px; width: 4px; background: var(--ink);
}
.sym__mark svg { width: 100%; height: 100%; }
.sym h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; margin-bottom: .45rem; }
.sym h3 .tag { font-size: .66rem; }
.sym p { color: var(--ink-2); max-width: 36rem; }
.sym__text { min-width: 0; }
.sym .tty { margin-top: .9rem; }
.tty {
  background: var(--tape); color: var(--tape-ink); padding: .9rem 1rem; overflow-x: auto; font-size: .78rem; line-height: 1.55;
  border-left: 5px solid var(--orange); max-width: 100%;
}
.tty code { font-size: inherit; white-space: pre; }
.tty b { color: var(--on-orange); background: var(--orange); padding: 0 .3em; font-weight: 700; }
@media (max-width: 899px) { .tty code { white-space: pre-wrap; overflow-wrap: anywhere; } }
@media (min-width: 900px) {
  .legend { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sym { grid-template-columns: 96px minmax(0, 1fr); gap: 1.4rem; }
  .sym__mark { width: 96px; height: 96px; }
  .sym:nth-child(odd):not(.sym--wide) { border-right: 1px solid var(--rule); }
  .sym--wide { grid-column: 1 / -1; }
  .sym--wide p { max-width: 52rem; }
  .sym--wide ~ .sym:nth-child(odd) { border-right: 0; }
  .sym--wide ~ .sym:nth-child(even) { border-right: 1px solid var(--rule); }
}
.fold__lit { fill: var(--card); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.fold__shade { fill: var(--blue-tint); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.fold__lines { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.fold__corner { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.fold__boid { fill: var(--lead); }
.lease__band { fill: var(--magenta-tint); }
.lease__ring { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 7 5; }
.sym__fence { font-family: var(--mono); font-weight: 700; font-size: 11px; fill: var(--magenta); text-anchor: middle; }
.guard__wall { stroke: var(--ink); stroke-width: 3; }
.guard__hatch { stroke: var(--ink); stroke-width: 1.5; }
.hold__track { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 5 4; }
.hold__fix { fill: var(--blue); }
.hand__path { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-dasharray: 3 3; }
.hand__sheet path { fill: var(--lead); stroke: var(--teal); stroke-width: 1.4; stroke-linejoin: round; }
.hand__sheet .hand__fold { fill: none; }
.led__branch { stroke: var(--ink); stroke-width: 2; }
.led__ev { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.led__ev--deny { stroke: var(--orange); fill: var(--orange); }
.led__strip { fill: var(--wash); stroke: var(--ink); stroke-width: 1.5; }
.led__rule { fill: none; stroke: var(--ink); stroke-width: 1; }
.plan__wpt { fill: var(--blue); }
.plan__start { fill: var(--card); stroke: var(--orange); stroke-width: 2; }
.scope__ring { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.scope__ring--in { stroke-dasharray: 3 3; }
.scope__arm { stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; transform-origin: 48px 48px; }
@media (prefers-reduced-motion: no-preference) {
  .scope__arm { animation: sweep 6s linear infinite; }
  .hand__sheet { animation: hand 3.2s var(--ease) infinite; }
}
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes hand { 0% { transform: translate(14px, -10px); opacity: 0; } 25% { opacity: 1; } 75% { transform: translate(-10px, 12px); opacity: 1; } 100% { transform: translate(-10px, 12px); opacity: 0; } }

/* Panel C: the flight log */
.log { display: grid; grid-template-columns: 1fr; }
.obs { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); background: var(--card); border-bottom: 1px solid var(--k-ink); }
.wx { display: flex; flex-wrap: wrap; gap: 0; font-size: .72rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.wx span { padding: .45rem .7rem .4rem; border: 1px solid var(--ink); margin: 0 -1px -1px 0; }
.wx__kind { background: var(--ink); color: var(--paper); }
.wx__kind--fcst { background: var(--card); color: var(--magenta); border-color: var(--magenta) !important; border-style: dashed !important; }
.board { width: 100%; border-collapse: collapse; }
.board th, .board td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.board thead th { font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.board tbody th { font-stretch: 100%; font-weight: 700; font-size: .98rem; white-space: nowrap; }
.board__pairs { white-space: nowrap; }
.board__n, .board__c { font-stretch: 125%; font-weight: 800; font-size: 1.6rem; white-space: nowrap; letter-spacing: -.01em; }
.board__n i, .board__c i { font-style: normal; font-stretch: 75%; font-weight: 600; font-size: .5em; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.board__c { color: var(--ink-3); }
.board tr.is-early .board__n { color: var(--red); }
.board tr.is-lead .board__n { color: var(--teal); }
.board tr.is-lead th::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .5rem; background: var(--lead); }
.p { display: inline-block; position: relative; width: 26px; height: 26px; margin-right: 2px; vertical-align: middle; }
.p svg { width: 100%; height: 100%; }
.p .craft { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.p--s .craft { fill: var(--ink); }
.is-lead .p--s .craft { fill: var(--teal); stroke: var(--teal); }
.p .xmark { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; }
.p.is-hot { outline: 2px solid var(--magenta); outline-offset: 1px; }
.board__read { margin-top: .9rem; font-family: var(--mono); font-size: .8rem; color: var(--ink-2); min-height: 2.6em; }
@media (prefers-reduced-motion: no-preference) {
  .js .obs:not(.is-in) .p { opacity: 0; transform: translateX(-10px); }
  /* journal.js staggers the landing with --land; it is set here only, so nothing else waits on it. */
  .js .obs .p { transition: opacity .35s var(--ease) var(--land, 0ms), transform .35s var(--ease) var(--land, 0ms); }
}
@media (max-width: 899px) {
  .board, .board tbody, .board tr, .board th, .board td { display: block; }
  .board thead { display: none; }
  .board tr { padding: .8rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; }
  .board th, .board td { border: 0; padding: 0; }
  .board tbody th { grid-column: 1 / -1; }
  .board__pairs { grid-column: 1 / -1; white-space: normal; }
  .p { width: 24px; height: 24px; }
  .board__n::after { content: " pass"; font-size: .45em; font-stretch: 75%; font-weight: 600; text-transform: uppercase; color: var(--ink-3); letter-spacing: .06em; }
  .board__c::after { content: " conflict"; font-size: .45em; font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
}
.log__story { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); display: grid; gap: 1.1rem; align-content: start; }
.log__story p { max-width: 40rem; }
.finding { border-left: 5px solid var(--red); padding: .3rem 0 .3rem 1.1rem; }
.finding p { font-stretch: 112%; font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.4; }
.finding footer { margin-top: .5rem; font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--red); }
.caveats { display: grid; gap: .5rem; padding-top: .6rem; border-top: 1px solid var(--rule); font-size: .92rem; color: var(--ink-3); }
.caveats li { padding-left: 1.4rem; position: relative; max-width: 40rem; }
.caveats li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; border: 1.5px solid var(--magenta); transform: rotate(45deg) scale(.75); }
.fcst { margin: 0 clamp(16px, 3vw, 44px) clamp(18px, 3vw, 40px); padding: 1.1rem 1.2rem 1.2rem; border: 1.5px dashed var(--magenta); background: var(--card); align-self: start; }
.fcst .wx { margin-bottom: .9rem; }
.fcst__q { font-weight: 600; margin-bottom: .6rem; }
.fcst__rows div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid var(--rule); }
.fcst__rows dt { color: var(--ink-2); font-size: .95rem; }
.fcst__rows dd { font-stretch: 125%; font-weight: 800; font-size: 1.35rem; color: var(--magenta); white-space: nowrap; }
.fcst__note { margin-top: .8rem; font-size: .88rem; color: var(--ink-3); }
@media (min-width: 1000px) {
  .log { grid-template-columns: minmax(0, 1fr) 22rem; }
  .obs { grid-column: 1 / -1; }
  .fcst { margin: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px) clamp(18px, 3vw, 40px) 0; }
}

/* Panel D: airspace, as a vertical cross-section */
.air { position: relative; margin: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px) 0; border-left: 2px solid var(--ink); }
.air__band { position: relative; display: grid; grid-template-columns: 1fr; gap: .5rem; padding: 1.1rem 1rem 1.2rem 1.4rem; border-top: 1.5px dashed var(--blue); }
.air__band::before { content: ""; position: absolute; left: -9px; top: -1px; width: 16px; height: 2px; background: var(--ink); }
.air__band--l3 { min-height: 10rem; }
.air__band--l2 { background: var(--magenta-tint); min-height: 8rem; }
.air__band--l1 { background: var(--tan-tint); min-height: 6.5rem; }
.air__band--l0 { background: var(--paper-2); border-bottom: 3px solid var(--ink); }
.air__lvl { font-size: .85rem; color: var(--ink-2); }
.air__lvl b { font-stretch: 125%; font-weight: 900; font-size: 2.2rem; letter-spacing: -.02em; color: var(--ink); margin-right: .4rem; vertical-align: -.12em; }
.air__adds { color: var(--ink-2); max-width: 26rem; }
.air__craft { display: flex; flex-wrap: wrap; gap: .4rem; align-content: start; }
.air__craft li {
  font-family: var(--mono); font-size: .78rem; padding: .25rem .5rem; background: var(--card); border: 1px solid var(--ink); color: var(--ink);
}
.air__craft li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: .4rem; background: var(--ink); clip-path: polygon(100% 50%, 0 0, 25% 50%, 0 100%); }
@media (min-width: 900px) {
  .air__band { grid-template-columns: 11rem 18rem 1fr; gap: 1.5rem; align-items: start; }
}

/* Panel E: the route */
.route { position: relative; margin: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px) 0; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 2px dashed var(--orange); }
.leg { position: relative; display: grid; grid-template-columns: 1fr; gap: .35rem; padding: 0 0 1.6rem 2.6rem; }
.leg::before {
  content: ""; position: absolute; left: 3px; top: .25rem; width: 18px; height: 18px; background: var(--card);
  border: 2px solid var(--blue); transform: rotate(45deg) scale(.85);
}
.leg--done::before { background: var(--blue); }
.leg--next::before { background: var(--orange); border-color: var(--orange); transform: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.leg--launch::before { border-color: var(--ink); background: var(--lead); }
.leg__fix { font-size: .95rem; color: var(--ink); }
.leg__fix b { font-stretch: 125%; font-weight: 900; font-size: 1.55rem; letter-spacing: -.01em; margin-right: .45rem; }
.leg__when { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.leg__what { color: var(--ink-2); max-width: 34rem; }
.leg__gate { font-size: .93rem; color: var(--ink-2); max-width: 34rem; }
.leg__gate span { font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--blue); margin-right: .4rem; }
.stamp {
  display: inline-block; margin-left: .4rem; font-family: var(--mono); font-size: .72rem; font-weight: 700; text-transform: uppercase;
  color: var(--blue); border: 2px solid currentColor; padding: .1em .45em; transform: rotate(-3deg); white-space: nowrap;
}
.stamp--next { color: var(--magenta); }
@media (min-width: 900px) {
  .leg { grid-template-columns: 15rem 1fr 1fr; column-gap: 2rem; padding-bottom: 2rem; }
  .leg__fix { grid-column: 1; }
  .leg__when { grid-column: 1; grid-row: 2; }
  .leg__what { grid-column: 2; grid-row: 1 / span 2; }
  .leg__gate { grid-column: 3; grid-row: 1 / span 2; }
}

/* Panel F: status */
.ends { display: grid; grid-template-columns: 1fr; }
.end { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); border-bottom: 1px solid var(--rule); display: grid; gap: .8rem; align-content: start; }
.end h3 { font-stretch: 125%; font-weight: 800; font-size: 1.35rem; }
.end p { color: var(--ink-2); }
.end--go ul { display: grid; gap: .55rem; justify-items: start; }
.end__mail { font-size: .93rem; }
@media (min-width: 900px) {
  .ends { grid-template-columns: 1fr 1fr 1.15fr; }
  .end + .end { border-left: 1px solid var(--rule); }
  .end { border-bottom: 0; }
}

/* Colophon */
.colophon { margin: clamp(48px, 7vw, 96px) 0 0; background: var(--tape); color: var(--tape-ink); --bar-ink: var(--tape); --focus: var(--tape-hot); }
.colophon__grid { display: grid; gap: 2rem; padding: 2.4rem var(--gutter) 3rem; grid-template-columns: 1fr; }
.colophon a { color: var(--tape-ink); }
.colophon a:hover { color: var(--tape-teal); }
.colophon h2 { color: var(--tape-hot); font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: .7rem; }
.colophon ul { display: grid; gap: .35rem; }
.colophon p { font-size: .93rem; max-width: 26rem; }
.colophon__tag { font-stretch: 125%; font-weight: 800; font-size: 1.25rem; margin: .8rem 0 .4rem; }
.colophon .mark { width: 52px; height: 52px; }
.colophon .ink-fill { fill: var(--tape-ink); }
.colophon .ink-stroke { stroke: var(--tape-ink); }
.colophon__set p + p { margin-top: .6rem; }
@media (min-width: 900px) { .colophon__grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }

/* Secondary pages: approach plates, the flight log, support, off the chart */
.sheet { margin: clamp(24px, 4vw, 56px) var(--gutter); }
.plate-head { border: 1px solid var(--ink); }
.plate-head::before { content: ""; display: block; height: var(--bar); border-bottom: 1px solid var(--ink); background: repeating-linear-gradient(90deg, var(--bar-ink) 0 56px, transparent 56px 112px); }
.plate-head__ids { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ink); font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--ink-2); }
.plate-head__ids span { padding: .55rem .8rem .5rem; border-right: 1px solid var(--ink); }
.plate-head__ids span:first-child { background: var(--tape); color: var(--tape-hot); }
.plate-head__body { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); display: grid; gap: 1rem; }
.plate-head h1 { font-size: clamp(2.1rem, 1rem + 4vw, 4.4rem); max-width: 18ch; }
.plate-head h1 span { color: var(--blue); display: block; }

.plan-view { position: relative; border: 1px solid var(--ink); border-top: 0; background: var(--paper); }
.plan-view svg { width: 100%; height: auto; }
/* A wide figure that would letter too small on a phone carries a narrow twin, drawn for that width. */
.fig-narrow { display: none; }
@media (max-width: 640px) { .fig-wide { display: none; } .fig-narrow { display: block; } }
.pv__grid { stroke: var(--rule); stroke-width: 1; }
.pv__ring { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.pv__ring--d { stroke-dasharray: 5 5; }
.pv__lease { fill: var(--magenta-tint); stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 8 5; }
.pv__course { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.pv__miss { fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-dasharray: 6 5; }
.pv__hold { fill: none; stroke: var(--orange); stroke-width: 2.5; }
.pv__fix { fill: var(--blue); }
.pv__file { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.pv__lbl { font-family: var(--sans); font-stretch: 75%; font-weight: 600; font-size: 13px; letter-spacing: .06em; fill: var(--ink); text-transform: uppercase; }
.pv__lbl--m { fill: var(--magenta); }
.pv__lbl--b { fill: var(--blue); }
.pv__mono { font-family: var(--mono); font-size: 12px; fill: var(--ink-2); }
.profile { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ink); border-top: 0; background: var(--card); }
.profile__step { padding: 1.1rem 1.2rem 1.3rem; border-bottom: 1px solid var(--rule); display: grid; gap: .4rem; align-content: start; }
.profile__step b { font-family: var(--mono); font-size: .75rem; color: var(--magenta); }
.profile__step h3 { font-size: 1.1rem; }
.profile__step p { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 900px) {
  .profile { grid-template-columns: repeat(5, 1fr); }
  .profile__step { border-bottom: 0; border-right: 1px solid var(--rule); }
  .profile__step:last-child { border-right: 0; }
}
.minima { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--ink); border-top: 0; }
.minima caption { caption-side: top; text-align: left; padding: .7rem 1rem; background: var(--tape); color: var(--tape-hot); font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.minima th, .minima td { padding: .6rem 1rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.minima td:last-child { font-stretch: 125%; font-weight: 800; color: var(--magenta); white-space: nowrap; }
.minima th { font-weight: 600; }
.notes { background: var(--card); border: 1px solid var(--ink); border-top: 0; padding: 1.2rem clamp(16px, 3vw, 44px) 1.6rem; display: grid; gap: .7rem; }
.notes li { padding-left: 1.5rem; position: relative; color: var(--ink-2); max-width: 52rem; }
.notes li::before { content: counter(note); counter-increment: note; position: absolute; left: 0; font-family: var(--mono); font-size: .8rem; color: var(--magenta); font-weight: 700; }
.notes { counter-reset: note; }
.sheet h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); margin: 2.6rem 0 0; padding: 1rem 0; border-bottom: 1px solid var(--ink); display: flex; gap: 1rem; align-items: baseline; }
.sheet h2 .label { font-size: .75rem; color: var(--magenta); letter-spacing: .1em; }
.sheet .sub { color: var(--ink-2); max-width: 46rem; padding: .9rem 0 1.1rem; }
.scen { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--ink); background: var(--card); }
.scen li { padding: 1.1rem 1.2rem 1.3rem; border-bottom: 1px solid var(--rule); }
.scen li:last-child { border-bottom: 0; }
.scen b { font-family: var(--mono); color: var(--magenta); font-size: .78rem; }
.scen h3 { margin: .2rem 0 .4rem; }
.scen p { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 900px) {
  .scen { grid-template-columns: repeat(4, 1fr); }
  .scen li { border-bottom: 0; border-right: 1px solid var(--rule); }
  .scen li:last-child { border-right: 0; }
}
.board--all { background: var(--card); border: 1px solid var(--ink); }
.board--all th:first-child, .board--all td:first-child { padding-left: 1rem; }
.seven .board__n { font-size: 1.3rem; }

.ways { display: grid; gap: 0; border: 1px solid var(--ink); border-top: 0; background: var(--card); grid-template-columns: minmax(0, 1fr); }
.way { padding: 1.4rem clamp(16px, 3vw, 44px) 1.6rem; border-bottom: 1px solid var(--rule); display: grid; gap: .6rem; align-content: start; }
.way h2 { font-size: 1.6rem; }
.way__for { font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--magenta); }
.upi { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.upi__qr { width: 200px; max-width: 100%; background: var(--brand-paper); padding: 12px; border: 1px solid var(--ink); }
.upi__qr svg { width: 100%; height: auto; }
.upi__text { display: grid; gap: .7rem; }
.upi__id { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.upi__id code { font-size: .95rem; background: var(--wash); padding: .3rem .5rem; border: 1px solid var(--ink); overflow-wrap: anywhere; }
.copy { min-height: 38px; padding: 0 .8rem; border: 1px solid var(--ink); background: var(--card); cursor: pointer; font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.copy:hover, .copy[data-done] { background: var(--ink); color: var(--paper); }
@media (min-width: 760px) { .upi { grid-template-columns: 200px minmax(0, 1fr); } }
@media (min-width: 900px) {
  .ways { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .way--upi { grid-row: span 3; border-right: 1px solid var(--rule); border-bottom: 0; }
}
.lost { position: relative; margin: clamp(24px, 4vw, 56px) var(--gutter); border: 1px solid var(--ink); }
.lost__fig { width: calc(100% - 28px); height: auto; max-height: 340px; margin: 14px 14px 0; }
.lost__body { padding: clamp(18px, 3vw, 40px) clamp(16px, 3vw, 44px); display: grid; gap: 1rem; }
.lost h1 { font-size: clamp(2.4rem, 1rem + 5vw, 5rem); }
.lost__fig .c-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.lost__fig .c-track { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 3 6; }
.lost__fig .c-edge { fill: none; stroke: var(--ink); stroke-width: 3; }
.lost__fig .c-edge-ticks { stroke: var(--ink); stroke-width: 1.5; }
.lost__fig .c-boid { fill: var(--ink); }
.lost__fig .c-lead { fill: var(--lead); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print { .radar__canvas, .bay, .key, .mast__toc, .theme { display: none; } }
