@font-face {
  font-family: "XK Display";
  src: url("./fonts/xk-display.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "XK Song";
  src: url("./fonts/xk-song.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --paper: #fbfcfe;
  --paper-2: #eff3fa;
  --ink: #0d1b36;
  --ink-2: #33415e;
  --ink-3: #56647f;
  --rule: #ccd5e5;
  --rule-2: #9aabc8;
  --blue: #1f4fc4;
  --tint: #dbe6fb;
  --tint-2: #c3d4f7;
  --magenta: #cf1578;
  --yellow: #ffd23d;
  --on-yellow: #111827;
  --red: #bf241c;
  --focus: #cf1578;
  --here: #0d1b36;
  --here-text: #ffd23d;

  --dock: #0d1b36;
  --dock-text: #eef2fb;
  --dock-2: #aebbd6;
  --dock-rule: #2b3b60;
  --dock-magenta: #ff5cab;

  --notice: #ffd23d;
  --notice-text: #111827;
  --notice-2: #3a3317;
  --notice-rule: #111827;

  --navaid: #1f4fc4;
  --navaid-text: #ffffff;
  --navaid-2: #d6e1ff;
  --navaid-rule: #7f9be6;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --font-display: "XK Display", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-song: "XK Song", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(18px, 4.4vw, 64px);
  --bar: 54px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #0a1326;
    --paper-2: #111d39;
    --ink: #e9effb;
    --ink-2: #b9c5dd;
    --ink-3: #8f9db9;
    --rule: #25365a;
    --rule-2: #3d5282;
    --blue: #94b4ff;
    --tint: #14264d;
    --tint-2: #1c3566;
    --magenta: #ff5cab;
    --red: #b3261e;
    --focus: #ffd23d;
    --here: #ffd23d;
    --here-text: #111827;
    --dock: #050b18;
    --dock-rule: #223257;
    --notice: #111d39;
    --notice-text: #ffd23d;
    --notice-2: #c9d3e8;
    --notice-rule: #ffd23d;
    --navaid: #12306f;
    --navaid-rule: #4766b3;
  }
}

:root[data-theme="night"] {
  color-scheme: dark;
  --paper: #0a1326;
  --paper-2: #111d39;
  --ink: #e9effb;
  --ink-2: #b9c5dd;
  --ink-3: #8f9db9;
  --rule: #25365a;
  --rule-2: #3d5282;
  --blue: #94b4ff;
  --tint: #14264d;
  --tint-2: #1c3566;
  --magenta: #ff5cab;
  --red: #b3261e;
  --focus: #ffd23d;
  --here: #ffd23d;
  --here-text: #111827;
  --dock: #050b18;
  --dock-rule: #223257;
  --notice: #111d39;
  --notice-text: #ffd23d;
  --notice-2: #c9d3e8;
  --notice-rule: #ffd23d;
  --navaid: #12306f;
  --navaid-rule: #4766b3;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-color: var(--rule-2) var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--magenta);
  accent-color: var(--blue);
}

::selection { background: var(--yellow); color: #111827; }

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.sprite { position: absolute; }
.sprite .solid { fill: currentColor; stroke: none; }

.i {
  flex: none; width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  text-wrap: balance;
}
.nb { display: inline-block; }

.code {
  font-family: var(--font-display);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.num { font-family: var(--font-display); font-weight: 900; font-variant-numeric: tabular-nums; }

code {
  font-family: var(--font-mono);
  font-size: .875em;
  padding: .12em .38em;
  background: var(--tint);
  border-radius: 2px;
  overflow-wrap: anywhere;
}

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--yellow); color: #111827; font-weight: 800; text-decoration: none;
  border: 2px solid #111827;
}
.skip:focus { top: 12px; }

.wrap { width: min(1312px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Signs: direction, plain and the red plaque */

.sign {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 6px 18px;
  font-family: var(--font-display); font-weight: 900; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--ink); border-radius: 3px;
  transition: background-color .16s, color .16s, transform .16s var(--ease);
}
.sign .i { transition: transform .22s var(--ease); }
.sign--go { background: var(--yellow); color: #111827; border-color: #111827; }
.sign--go:hover { background: #ffe07a; }
.sign--go:hover .i { transform: translateY(2px); }
.sign--plain { background: var(--paper); color: var(--ink); }
.sign--plain:hover { background: var(--ink); color: var(--paper); }
.sign--plain:hover .i { transform: translateX(3px); }
.sign:active { transform: translateY(1px); }
.sign--small { min-height: 36px; padding: 4px 12px; font-size: .875rem; gap: 6px; }

.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em;
}
.textlink .i { transition: transform .22s var(--ease); }
.textlink:hover .i { transform: translate(2px, 0); }

.icon-button {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  background: none; border: 0; border-radius: 3px; color: var(--ink);
}
.icon-button:hover { background: var(--tint); }
.icon-button .i { width: 20px; height: 20px; }
.i-sun { display: none; }
:root[data-theme="night"] .i-sun { display: block; }
:root[data-theme="night"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .i-sun { display: block; }
  :root:not([data-theme]) .i-moon { display: none; }
}

.plain {
  padding: 6px 2px; background: none; border: 0;
  color: var(--blue); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em;
}
.plain:disabled { color: var(--ink-3); cursor: default; text-decoration: none; }

.status { min-height: 1.6em; color: var(--ink-3); font-size: .875rem; }
.status.is-error { color: var(--red); }
:root[data-theme="night"] .status.is-error { color: #ff8f85; }

.aside { max-width: 44em; color: var(--ink-2); font-size: .9375rem; }

/* Top bar */

.topbar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  min-height: var(--bar); padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
}
.brand .i { width: 22px; height: 22px; color: var(--blue); stroke-width: 2.1; }
.topnav { display: flex; gap: 2px; margin-right: auto; }
.topnav a {
  padding: 5px 11px; font-size: .875rem; font-weight: 700; text-decoration: none; color: var(--ink-2); border-radius: 3px;
  transition: background-color .16s, color .16s;
}
.topnav a:hover { color: var(--ink); background: var(--tint); }
.topnav a[aria-current="true"] { background: var(--here); color: var(--here-text); }
.topbar-tools { display: flex; align-items: center; gap: 10px; }
.topbar-link { padding: 5px 8px; font-size: .875rem; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.topbar-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .28em; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--here); color: var(--here-text); }
.menu-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter);
  padding: 6px var(--gutter) 12px;
  background: var(--paper); border-bottom: 1.5px solid var(--ink);
}
.menu-panel a {
  display: flex; align-items: center; min-height: 46px; padding: 0 4px;
  font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--rule);
}
.menu-panel a:hover { color: var(--blue); }

/* The plate: briefing strip, plan view, dock */

.plate { padding: 18px var(--gutter) 0; }
.plate > * { max-width: 1312px; margin-inline: auto; }

.strip {
  display: grid; grid-template-columns: 1fr 2.1fr 1fr 1fr 1fr .7fr; gap: 1px;
  background: var(--ink); border: 1.5px solid var(--ink);
}
.strip > div { padding: 9px 16px 10px; min-width: 0; background: var(--paper); }
.strip dt { font-size: .75rem; line-height: 1.4; letter-spacing: .08em; color: var(--ink-3); }
.strip dd { font-size: .9375rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.strip-by { margin-left: .5em; font-weight: 500; color: var(--ink-2); white-space: nowrap; }

.plan {
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: clamp(490px, calc(100svh - 338px), 760px) auto auto;
  border: 1.5px solid var(--ink); border-top: 0;
}
.plan-chart { --plan-mode: overlay; grid-area: 1 / 1; position: relative; min-width: 0; overflow: hidden; background: var(--paper); }
.plan-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plan-title {
  grid-area: 1 / 1; z-index: 2; align-self: start; justify-self: start;
  width: min(47%, 640px); padding: clamp(22px, 2.8vw, 44px) 0 0 clamp(22px, 3vw, 48px);
}
.plan-title h1 { font-size: clamp(2.75rem, min(6.5vw, 11.4vh), 6rem); line-height: 1.07; letter-spacing: -.01em; }
.lede { margin-top: clamp(14px, 2vh, 24px); max-width: 31em; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px, 2.6vh, 28px); }

.ask { grid-row: 2; padding: 14px 18px 0; background: var(--dock); color: var(--dock-text); }
.ask-label { font-size: .8125rem; line-height: 1.5; color: var(--dock-2); }
.ask-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.ask-list button {
  display: grid; gap: 1px; width: 100%; height: 100%; padding: 8px 12px 9px; text-align: left;
  background: transparent; color: var(--dock-text);
  border: 1.5px solid var(--dock-rule); border-radius: 3px;
  transition: background-color .16s, border-color .16s, color .16s;
}
.ask-list .code { font-size: .75rem; line-height: 1.4; color: var(--yellow); }
.ask-q { font-size: .9375rem; font-weight: 700; line-height: 1.45; text-wrap: balance; }
.ask-q .nb { display: block; }
.ask-list button:hover { border-color: var(--yellow); }
.ask-list button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #111827; }
.ask-list button[aria-pressed="true"] .code { color: #111827; }
.ask-list button:focus-visible { outline-color: var(--dock-magenta); }

.legs {
  grid-row: 3;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 28px;
  padding: 14px 18px 16px; background: var(--dock); color: var(--dock-text);
}
.legs-route { display: flex; align-items: baseline; gap: 10px; font-size: 1.0625rem; white-space: nowrap; }
.legs-route .code { color: var(--yellow); }
.legs-list { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.legs-list li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; line-height: 1.4; color: var(--dock-2); white-space: nowrap;
  transition: color .2s;
}
.legs-list li:not(:last-child)::after { content: ""; width: 18px; height: 1.5px; margin-inline: 2px 8px; background: var(--dock-rule); transition: background-color .2s; }
.legs-list .code {
  display: inline-grid; place-items: center; min-width: 2.3em; padding: 1px 5px; font-size: .8125rem;
  color: var(--dock-text); border: 1.5px solid var(--dock-2); border-radius: 2px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.legs-list li.is-flown { color: var(--dock-text); }
.legs-list li.is-flown .code { background: var(--dock-magenta); border-color: var(--dock-magenta); color: #111827; }
.legs-list li.is-flown:has(+ li.is-flown)::after { background: var(--dock-magenta); }
.legs-list li.is-optional .code { border-style: dashed; }
.legs-list li.is-from { color: var(--dock-2); }
.legs-deliver { grid-column: 3; grid-row: 2; display: flex; align-items: baseline; gap: 10px; font-size: .9375rem; white-space: nowrap; }
.legs-deliver span { font-size: .8125rem; color: var(--dock-2); }
.legs-deliver strong { color: var(--yellow); font-weight: 800; }
.legs-note { grid-column: 2; grid-row: 2; font-size: .8125rem; line-height: 1.6; color: var(--dock-2); }
.switch {
  grid-column: 1; grid-row: 2; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: .8125rem; line-height: 1.4; color: var(--dock-text);
}
.switch[hidden] { display: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track {
  position: relative; flex: none; width: 38px; height: 20px;
  border: 1.5px solid var(--dock-2); border-radius: 3px; transition: background-color .18s, border-color .18s;
}
.switch-track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px;
  background: var(--dock-2); border-radius: 1px; transition: transform .22s var(--ease), background-color .18s;
}
.switch input:checked + .switch-track { background: var(--yellow); border-color: var(--yellow); }
.switch input:checked + .switch-track::after { transform: translateX(18px); background: #111827; }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--dock-magenta); outline-offset: 3px; }

.plan-foot { padding: 12px 2px 0; font-size: .8125rem; color: var(--ink-3); }

.plan-key {
  grid-area: 1 / 1; z-index: 2; align-self: start; justify-self: end;
  margin: 14px 14px 0 0; padding: 7px 12px 8px;
  background: var(--paper); border: 1.25px solid var(--ink);
  font-size: .75rem; line-height: 1.5; color: var(--ink-2);
}
.key { display: grid; grid-template-columns: repeat(2, auto); gap: 2px 18px; }
.key li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.key-line { flex: none; width: 34px; height: 10px; overflow: visible; }
.key-scope { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--rule); white-space: nowrap; }
.key-scope strong { margin-right: .6em; color: var(--ink); }

/* Chart drawing */

.ch-disc { fill: var(--tint); }
.ch-ring { fill: none; stroke: var(--tint-2); stroke-width: 1.5; }
.ch-arc { fill: none; stroke: var(--blue); stroke-width: 2; }
.ch-tick { stroke: var(--ink); stroke-width: 1.25; }
.ch-track { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.ch-track--dash { stroke-dasharray: 2 7; stroke-width: 2; }
.ch-track--feeder { stroke-width: 1.5; }
.ch-missed { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 9 7; stroke-linecap: round; }
.ch-arrow { fill: var(--ink); }
.ch-arrow--soft { fill: var(--ink-2); }
.ch-active { fill: none; stroke: var(--magenta); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ch-active--dash { stroke-dasharray: 3 11; stroke-width: 5; }
.ch-fix { fill: var(--paper); stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.ch-fix--dim { stroke: var(--rule-2); }
.ch-fix--on { fill: var(--magenta); stroke: var(--magenta); }
.ch-fix--maybe { fill: var(--paper); stroke: var(--magenta); stroke-dasharray: 3 3; }
.ch-code { font-family: var(--font-display); font-weight: 900; font-size: 15px; fill: var(--ink); letter-spacing: .02em; }
.ch-code--dim { fill: var(--ink-3); }
.ch-name { font-family: var(--font-sans); font-weight: 600; font-size: 12.5px; fill: var(--ink-2); }
.ch-name--dim { fill: var(--ink-3); }
.ch-note { font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; fill: var(--ink-3); }
.ch-note--blue { fill: var(--blue); font-weight: 700; }
.ch-note--ink { fill: var(--ink); font-weight: 700; font-size: 12.5px; }
.ch-rose { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.ch-rose--bold { stroke-width: 2.5; }
.ch-rose-core { fill: var(--blue); }
.ch-runway { fill: var(--ink); }
.ch-light { fill: var(--yellow); }
.ch-obstacle { fill: none; stroke: var(--ink-3); stroke-width: 1.75; stroke-linejoin: round; }
.ch-box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.ch-plane { fill: var(--magenta); stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: round; }
.ch-stamp { fill: var(--magenta); }
.ch-stamp-text { font-family: var(--font-sans); font-weight: 700; font-size: 11.5px; fill: var(--magenta); }

.ch-fix { transform-box: fill-box; }
svg.is-intro .ch-g-field { animation: ch-rise .95s var(--ease) both; }
svg.is-intro .ch-g-navaid { animation: ch-fade .7s .12s both; }
svg.is-intro .ch-g-tracks { animation: ch-fade .7s .3s both; }
svg.is-intro .ch-fix { transform-origin: center; animation: ch-pop .52s var(--ease) both; }
svg.is-intro .ch-g-labels { animation: ch-fade .6s .68s both; }
svg.is-intro .ch-g-missed { animation: ch-fade .6s .82s both; }
@keyframes ch-rise { from { opacity: 0; transform: scale(.72); } }
@keyframes ch-fade { from { opacity: 0; } }
@keyframes ch-pop { from { opacity: 0; transform: scale(.2); } }

.ch-light { display: none; }
:root[data-theme="night"] .ch-light { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .ch-light { display: block; } }

/* Bands */

.band { padding-block: clamp(72px, 9vw, 136px); }
.band--paper { background: var(--paper); }
.head { max-width: 47rem; margin-bottom: clamp(36px, 4.6vw, 64px); }
.head h2 { font-size: clamp(1.875rem, 3.7vw, 3.125rem); }
.head > p { margin-top: clamp(14px, 1.6vw, 22px); max-width: 37em; color: var(--ink-2); font-size: 1.0625rem; }

/* Profile view and the ten fixes */

.profile { position: relative; height: 330px; margin-bottom: 8px; border: 1.5px solid var(--ink); background: var(--paper); overflow: hidden; }
.profile svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pf-ground { stroke: var(--ink); stroke-width: 2.25; }
.pf-field { fill: var(--tint); }
.pf-hatch { stroke: var(--ink); stroke-width: 1; }
.pf-drop { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 4; }
.pf-file { font-family: var(--font-mono); font-size: 11.5px; fill: var(--ink-2); }
.pf-must { stroke: var(--ink); stroke-width: 1.5; }
.pf-optional { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }

.fixes { border-bottom: 1px solid var(--rule); }
.fixes li {
  display: grid; grid-template-columns: 4.4rem 13rem minmax(0, 1.25fr) minmax(0, 1fr); align-items: baseline; gap: 4px 28px;
  padding: 15px 0 16px; border-top: 1px solid var(--rule);
}
.fixes .code { position: relative; padding-left: 20px; font-size: 1rem; color: var(--ink); text-decoration: none; }
.fixes .code::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 11px; height: 10px; translate: 0 -50%;
  background: var(--rule-2); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transition: background-color .2s;
}
.fixes li.is-on .code::before { background: var(--magenta); }
.fixes .code:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .28em; }
.fixes h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.5; }
.fixes p { font-size: .9375rem; line-height: 1.7; color: var(--ink-2); }
.handoff { color: var(--ink); }
.fixes .handoff--must { font-weight: 700; text-decoration: underline double; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.fixes + .aside { margin-top: 24px; }

/* Minima: the yellow band */

.band--yellow { background: var(--notice); color: var(--notice-text); --focus: var(--notice-text); --rule: color-mix(in oklab, var(--notice-text) 30%, transparent); }
.band--yellow .head > p, .band--yellow .aside { color: var(--notice-2); }
.band--yellow code { background: color-mix(in oklab, var(--notice-text) 12%, transparent); }
.band--yellow .textlink { color: var(--notice-text); }

.notice {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 76px); align-items: start;
  padding-block: clamp(28px, 3.4vw, 46px); border-block: 2.5px solid var(--notice-rule);
}
.notice h3 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.16; }
.notice p { color: var(--notice-2); font-size: .9375rem; }
.notice p + p { margin-top: 12px; }
.notice .textlink { margin-top: 16px; }

.table-wrap { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
caption { padding-bottom: 10px; text-align: left; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; }
th, td { padding: 11px 16px 12px 0; text-align: left; vertical-align: top; font-size: .9375rem; line-height: 1.65; border-top: 1px solid var(--rule); }
thead th { padding-block: 8px; font-size: .8125rem; font-weight: 700; border-top: 2px solid currentColor; }
tbody th { font-weight: 800; white-space: nowrap; }
tbody th .code { display: inline-block; min-width: 2.3em; margin-right: 8px; }
tbody tr:last-child > * { border-bottom: 1px solid var(--rule); }
.analysis-checks { table-layout: fixed; margin-top: 22px; }
.analysis-checks th { white-space: normal; }
.analysis-checks th:first-child { width: 34%; }

.minima { margin-top: clamp(36px, 4.4vw, 60px); min-width: 760px; }
.minima tbody tr { transition: background-color .2s; }
.minima tbody tr.is-on { background: color-mix(in oklab, var(--notice-text) 9%, transparent); }
.minima tbody th { padding-left: 12px; }
.minima td:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--notice-2); }
.minima td:nth-child(3) { font-weight: 800; }

.plates-title { margin-top: clamp(44px, 5.4vw, 76px); font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.plates { columns: 2; column-gap: clamp(28px, 5vw, 72px); margin-top: 22px; margin-bottom: 30px; }
.plates li { display: grid; grid-template-columns: 10.6rem minmax(0, 1fr); gap: 18px; align-items: start; padding: 13px 0; break-inside: avoid; border-top: 1px solid var(--rule); }
.plaque {
  display: inline-grid; place-items: center; min-height: 40px; padding: 5px 10px;
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: .9375rem; line-height: 1.25; text-align: center;
  border: 2px solid #fff; outline: 2px solid var(--red); border-radius: 2px;
}
.plates li span { font-size: .9375rem; line-height: 1.7; color: var(--notice-2); }

/* Missed approach */

.goaround { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 0 clamp(36px, 6vw, 96px); align-items: start; }
.goaround .head { margin-bottom: 0; position: sticky; top: calc(var(--bar) + 36px); }
.goaround .head h2 { font-size: clamp(1.875rem, 3.1vw, 2.75rem); }
.hold { width: min(100%, 420px); aspect-ratio: 21 / 10; margin-top: 34px; }
.hold svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hold .ch-note { font-size: 13px; }
.hold .ch-note--ink { font-size: 14px; }
.reentry > div { padding: 18px 0 19px; border-top: 2px dashed var(--rule-2); }
.reentry > div:last-child { border-bottom: 2px dashed var(--rule-2); }
.reentry dt { font-size: 1.125rem; font-weight: 800; line-height: 1.5; }
.reentry dd { margin-top: 5px; max-width: 37em; color: var(--ink-2); font-size: .9375rem; }
.goaround > .aside { grid-column: 2; margin-top: 24px; }

/* Installation: the dark band */

.band--ink {
  background: var(--dock); color: var(--dock-text);
  --ink: #eef2fb; --ink-2: #b9c5dd; --ink-3: #93a2c0; --paper: var(--dock); --rule: var(--dock-rule); --rule-2: #46598a;
  --blue: #a9c2ff; --tint: #18294f; --focus: var(--yellow);
}
.steps { counter-reset: step; }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: 4.6rem minmax(0, 23rem) minmax(0, 1fr); gap: 10px clamp(24px, 4vw, 56px); align-items: start;
  padding: 30px 0 34px; border-top: 1px solid var(--rule);
}
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.steps > li::before {
  content: counter(step); grid-row: 1 / span 4;
  font-family: var(--font-display); font-weight: 900; font-size: 4rem; line-height: .9; color: var(--yellow);
}
.steps h3 { grid-column: 2; font-size: 1.5rem; }
.steps > li > p { grid-column: 2; color: var(--ink-2); font-size: .9375rem; }
.steps-warn { padding-left: 14px; border-left: 1px solid var(--yellow); }
.steps > li > .sign, .steps > li > .table-wrap, .steps > li > .command { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
.steps > li > .sign { justify-self: start; }
.steps > li > .status { grid-column: 3; }
.hosts { min-width: 440px; }
.hosts th, .hosts td { font-size: .875rem; }

.command { border: 1.5px solid var(--ink-3); border-radius: 3px; }
.command-hosts { display: flex; border-bottom: 1.5px solid var(--ink-3); }
.command-hosts button {
  padding: 8px 16px; background: none; border: 0; border-right: 1.5px solid var(--ink-3);
  font-size: .875rem; font-weight: 700; color: var(--ink-2);
}
.command-hosts button:hover { color: var(--ink); }
.command-hosts button[aria-pressed="true"] { background: var(--yellow); color: #111827; }
.command > code {
  display: block; padding: 18px 20px 6px; background: none;
  font-size: .875rem; line-height: 1.85; color: var(--ink);
}
.command > code span { color: var(--yellow); font-weight: 700; }
.command-copy {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 14px 14px 20px; padding: 6px 12px;
  background: none; border: 1.5px solid var(--ink-3); border-radius: 3px; font-size: .875rem; font-weight: 700;
}
.command-copy:hover { border-color: var(--yellow); color: var(--yellow); }
.usage-links { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 30px; }

/* What lands */

.shots { border: 1.5px solid var(--ink); }
.shot--night { display: none; }
:root[data-theme="night"] .shot--day { display: none; }
:root[data-theme="night"] .shot--night { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .shot--day { display: none; }
  :root:not([data-theme]) .shot--night { display: block; }
}
.shots figcaption { padding: 10px 16px 12px; border-top: 1.5px solid var(--ink); font-size: .8125rem; line-height: 1.7; color: var(--ink-3); }
.cargo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin-top: clamp(32px, 4vw, 52px); }
.cargo > div { padding: 18px 0 20px; border-top: 1px solid var(--rule); }
.cargo dt { font-size: 1.125rem; font-weight: 800; line-height: 1.5; }
.cargo dd { margin-top: 5px; color: var(--ink-2); font-size: .9375rem; }

.tools { margin-top: clamp(28px, 3.4vw, 44px); border-block: 1.5px solid var(--ink); }
.tools summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 2px; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 800;
}
.tools summary::-webkit-details-marker { display: none; }
.tools summary .i { transition: transform .26s var(--ease); }
.tools[open] summary .i { transform: rotate(180deg); }
.tools summary:hover { color: var(--blue); }
.tools > p { max-width: 44em; padding: 2px 0 20px; color: var(--ink-2); font-size: .9375rem; }
.toolbox { min-width: 720px; margin-bottom: 22px; }
.toolbox code { background: none; padding: 0; font-size: .875rem; font-weight: 600; }
.toolbox td:last-child { color: var(--ink-2); }

/* The navaid: the book */

.band--blue {
  background: var(--navaid); color: var(--navaid-text);
  --ink: #ffffff; --ink-2: var(--navaid-2); --ink-3: var(--navaid-2); --rule: var(--navaid-rule); --blue: #ffffff; --tint: rgb(255 255 255 / .14); --focus: var(--yellow);
}
.navaid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 0 clamp(36px, 6vw, 96px); align-items: start; }
.navaid .head { margin-bottom: 0; }
.quote { margin-top: clamp(24px, 3vw, 40px); padding-top: 22px; border-top: 2.5px solid #fff; }
.song { font-family: var(--font-song); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.75; }
.quote footer { margin-top: 12px; font-size: .8125rem; color: var(--navaid-2); }
.navaid .head > p { margin-top: 26px; }
.reading { margin-top: 28px; border-bottom: 1px solid var(--rule); }
.reading li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 18px; padding: 12px 0 13px; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.7; }
.reading li > a { font-weight: 800; color: var(--yellow); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; }
.reading li > a:hover { color: #fff; }
.reading span { color: var(--navaid-2); }
.reading span a { color: #fff; text-underline-offset: .28em; }

.book { display: grid; gap: 26px; }
.rose { aspect-ratio: 1; width: min(100%, 430px); margin-inline: auto; }
.rose svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rs-ring { fill: none; stroke: var(--navaid-rule); stroke-width: 1.25; }
.rs-tick { stroke: #fff; stroke-width: 1.5; }
.rs-tick--minor { stroke: var(--navaid-rule); stroke-width: 1.25; }
.rs-sector { fill: transparent; stroke: none; cursor: pointer; transition: fill .16s; }
.rs-sector:hover, .rs-sector.is-on { fill: var(--yellow); }
.rs-num { font-family: var(--font-display); font-weight: 900; font-size: 15px; fill: #fff; pointer-events: none; transition: fill .16s; }
.rs-num.is-on { fill: #111827; }
.rs-core { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.rs-dot { fill: #fff; }
.rs-title { font-family: var(--font-sans); font-weight: 700; font-size: 13px; fill: #fff; }
.rs-sub { font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; fill: var(--navaid-2); }
.parts { columns: 2; column-gap: 28px; font-size: .875rem; line-height: 1.5; }
.parts li { break-inside: avoid; }
.parts a { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: 4px; padding: 5px 6px 6px; text-decoration: none; border-radius: 2px; transition: background-color .16s, color .16s; }
.parts .num { color: var(--yellow); }
.parts a:hover, .parts a.is-on { background: var(--yellow); color: #111827; }
.parts a:hover .num, .parts a.is-on .num { color: #111827; }

/* Research: survey status and directory */

.survey { padding-block: 28px 34px; border-block: 1.5px solid var(--ink); }
.survey-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.survey-head h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.survey-dates { font-size: .8125rem; color: var(--ink-3); }
.survey-dates .num { color: var(--ink-2); }
.survey-total { margin-top: 14px; font-size: .9375rem; color: var(--ink-2); }
.survey-total strong { margin-right: 4px; font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.survey-track { height: 12px; margin-top: 10px; background: var(--tint); border: 1.5px solid var(--ink); }
.survey-track span { display: block; height: 100%; background: var(--blue); }
.survey-table { margin-top: 26px; min-width: 620px; }
.survey-table td:nth-child(2), .survey-table td:nth-child(3) { font-variant-numeric: tabular-nums; }
.survey-table td:last-child { width: 30%; vertical-align: middle; }
progress { display: block; width: 100%; height: 8px; appearance: none; -webkit-appearance: none; border: 0; background: var(--tint); color: var(--blue); }
progress::-webkit-progress-bar { background: var(--tint); }
progress::-webkit-progress-value { background: var(--blue); }
progress::-moz-progress-bar { background: var(--blue); }
.pending { margin-top: 28px; }
.pending[hidden] { display: none; }
.pending h3 { font-size: 1.25rem; }
.pending ul { columns: 2; column-gap: 48px; margin-top: 10px; }
.pending li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); break-inside: avoid; font-size: .9375rem; }
.pending-id { font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-3); overflow-wrap: anywhere; }
.pending li p { color: var(--ink-2); }
.survey > .aside { margin-top: 22px; }
.survey-links { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 14px; }

.directory-head { margin-top: clamp(48px, 6vw, 84px); max-width: 47rem; }
.directory-head h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.directory-head > p:not(.survey-links) { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }
.directory-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 30px; }
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; max-width: 520px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper); }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.search .i { color: var(--ink-3); }
.search input { flex: 1; min-width: 0; height: 44px; padding: 0; background: none; border: 0; outline: 0; font-size: .9375rem; }
.search input::placeholder { color: var(--ink-3); opacity: 1; }
.search input:disabled { cursor: progress; }
.directory-actions { display: flex; gap: 18px; }
.domain-select { display: none; width: 100%; height: 46px; margin-top: 4px; padding: 0 12px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px; }

.directory { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 clamp(32px, 4.6vw, 64px); align-items: start; margin-top: 18px; }
.directory-side { position: sticky; top: calc(var(--bar) + 20px); display: grid; gap: 14px; max-height: calc(100svh - var(--bar) - 40px); grid-template-rows: auto minmax(0, 1fr); }
.windrose { aspect-ratio: 1; width: 100%; }
.windrose:empty { display: none; }
.windrose svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wr-ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.wr-bar { fill: var(--tint-2); stroke: var(--paper); stroke-width: 1; cursor: pointer; transition: fill .16s; }
.wr-bar:hover { fill: var(--blue); }
.wr-bar.is-on { fill: var(--magenta); }
.wr-bar.is-out { fill: var(--paper-2); }
.wr-center { font-family: var(--font-display); font-weight: 900; font-size: 30px; fill: var(--ink); }
.wr-sub { font-family: var(--font-sans); font-weight: 600; font-size: 11.5px; fill: var(--ink-3); }
.wr-scale { font-family: var(--font-sans); font-size: 11.5px; fill: var(--ink-3); }
.domain-nav { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; border-top: 1px solid var(--rule); }
.domain-nav a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 7px 8px 8px 2px;
  font-size: .8125rem; line-height: 1.5; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid var(--rule);
}
.domain-nav a[hidden] { display: none; }
.domain-nav a:hover { color: var(--ink); background: var(--paper-2); }
.domain-nav a[aria-current="location"] { color: var(--magenta); font-weight: 800; }
.nav-domain-count { font-variant-numeric: tabular-nums; color: var(--ink-3); }

.research-domain { border-top: 1px solid var(--rule-2); }
.research-domain:last-of-type { border-bottom: 1px solid var(--rule-2); }
.research-domain[hidden] { display: none; }
.research-domain summary {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto 22px; align-items: baseline; gap: 12px; padding: 15px 4px 16px 0; cursor: pointer; list-style: none;
}
.research-domain summary::-webkit-details-marker { display: none; }
.research-domain summary:hover h3 { color: var(--blue); }
.domain-number { font-family: var(--font-display); font-weight: 900; font-variant-numeric: tabular-nums; color: var(--blue); }
.research-domain h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.5; transition: color .16s; }
.domain-count { font-size: .8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.domain-toggle { width: 20px; height: 20px; align-self: center; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .26s var(--ease); }
.research-domain[open] .domain-toggle { transform: rotate(180deg); }
.topic-list { padding: 0 0 18px 3.35rem; }
.topic-row { padding: 11px 0 12px; border-top: 1px solid var(--rule); }
.topic-row[hidden] { display: none; }
.topic-label { margin: 0; font-size: .9375rem; font-weight: 700; line-height: 1.6; }
.topic-id { margin-right: 10px; font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.topic-question { margin-top: 2px; max-width: 40em; font-size: .875rem; line-height: 1.75; color: var(--ink-2); }
.empty { padding: 22px 0; color: var(--ink-3); font-size: .9375rem; }
.empty[hidden] { display: none; }

/* Colophon */

.colophon { padding-block: 34px 44px; background: var(--dock); color: var(--dock-2); font-size: .875rem; --focus: var(--yellow); }
.colophon .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 40px; align-items: center; }
.colophon-id { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--dock-text); font-family: var(--font-display); font-weight: 900; }
.colophon-id .i { width: 20px; height: 20px; color: var(--yellow); }
.colophon-id span:last-child { font-family: var(--font-sans); font-weight: 500; color: var(--dock-2); }
.colophon nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.colophon nav a { text-decoration: none; }
.colophon nav a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: .28em; }
.colophon-by { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--dock-rule); }

/* Not found */

.lost {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: clamp(28px, 6vw, 96px);
  width: min(1312px, 100% - 2 * var(--gutter)); min-height: calc(100svh - var(--bar)); margin-inline: auto; padding-block: clamp(40px, 8vw, 96px);
}
.lost-code { font-size: clamp(4rem, 9vw, 6rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.lost h1 { margin-top: 14px; font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.lost-text > p:not(.lost-code, .actions) { margin-top: 14px; max-width: 30em; color: var(--ink-2); font-size: 1.0625rem; }
.lost .actions { margin-top: 28px; }
.lost-hold { width: 100%; height: auto; overflow: visible; }
.lost-hold .ch-note { font-size: 13px; }
.lost-hold .ch-note--ink { font-size: 14px; }

/* Narrower screens */

@media (max-width: 1399px) {
  .ask-list button { padding-inline: 10px; }
  .ask-q { font-size: .875rem; }
}

@media (max-width: 1279px) {
  .strip { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
  .strip > div { padding-inline: 14px; }
  .strip-license { display: none; }
  .plan { --chart-h: 440px; grid-template-rows: auto var(--chart-h) auto auto; }
  .plan-title {
    grid-area: 1 / 1; width: auto; align-self: stretch; justify-self: stretch;
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0 clamp(28px, 5vw, 64px);
    padding: 26px 28px 28px;
  }
  .plan-title h1 { grid-row: 1 / span 2; font-size: clamp(2.75rem, 7.2vw, 4.5rem); }
  .plan-title .lede { margin-top: 0; max-width: 34em; }
  .plan-chart { --plan-mode: flat; grid-area: 2 / 1; border-top: 1.5px solid var(--ink); }
  .plan-key { grid-area: 2 / 1; justify-self: start; margin: 14px 0 0 14px; }
  .ask { grid-row: 3; }
  .ask-list button { padding-inline: 10px; }
  .ask-q { font-size: .875rem; }
  .legs { grid-row: 4; grid-template-columns: auto minmax(0, 1fr); }
  .legs-list { grid-column: 2; }
  .legs-deliver, .switch, .legs-note { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 1180px) {
  .fixes li { grid-template-columns: 4.4rem 11rem minmax(0, 1fr); }
  .fixes .handoff { grid-column: 3; }
  .steps > li { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .steps > li::before { font-size: 3.5rem; }
  .steps > li > .sign, .steps > li > .table-wrap, .steps > li > .command, .steps > li > .status { grid-column: 2; grid-row: auto; margin-top: 10px; }
  .steps > li > p { max-width: 36em; }
}

@media (max-width: 920px) {
  .plan { --chart-h: 560px; grid-template-rows: auto var(--chart-h) auto auto auto; }
  .plan-chart { --plan-mode: portrait; }
  .plan-key {
    grid-area: 3 / 1; justify-self: stretch; margin: 0; padding: 9px 14px 10px;
    border: 0; border-top: 1.5px solid var(--ink);
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px;
  }
  .key { display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .key-scope { margin: 0; padding: 0; border: 0; white-space: normal; }
  .ask { grid-row: 4; }
  .ask-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .legs { grid-row: 5; }
}

@media (max-width: 900px) {
  .topnav, .topbar-link { display: none; }
  .topbar-tools { margin-left: auto; }
  .menu { display: block; }
  .notice, .goaround, .navaid { grid-template-columns: minmax(0, 1fr); }
  .notice { gap: 18px; }
  .goaround .head { position: static; margin-bottom: 30px; }
  .goaround > .aside { grid-column: 1; }
  .navaid .book { margin-top: 48px; }
  .plates, .pending ul { columns: 1; }
  .directory { grid-template-columns: minmax(0, 1fr); }
  .directory-side { position: static; max-height: none; grid-template-rows: auto; }
  .windrose { width: min(100%, 330px); margin-inline: auto; }
  .domain-nav { display: none; }
  .domain-select { display: block; }
  .topic-list { padding-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar { gap: 10px; }
  .topbar-tools { gap: 6px; }
  .menu-panel { grid-template-columns: minmax(0, 1fr); }
  .plate { padding-top: 12px; }
  .strip { grid-template-columns: auto auto minmax(0, 1fr); }
  .strip > div { padding: 6px 12px 7px; }
  .strip-wide, .strip-mode { display: none; }

  .plan { --chart-h: clamp(430px, calc(100svh - 400px), 560px); grid-template-rows: auto auto var(--chart-h) auto auto auto auto; }
  .plan-title { display: contents; }
  .plan-title h1 { grid-row: 1; padding: 20px 18px 0; font-size: clamp(2.75rem, 13.2vw, 3.5rem); }
  .plan-title .lede { grid-row: 2; max-width: none; margin: 0; padding: 12px 18px 18px; font-size: 1rem; line-height: 1.75; }
  .plan-chart { grid-area: 3 / 1; }
  .plan-key { grid-area: 4 / 1; display: block; }
  .key { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 28px; }
  .key-scope { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--rule); }
  .ask { grid-row: 5; padding: 14px; }
  .legs { grid-row: 6; }
  .plan-title .actions { grid-row: 7; margin: 0; padding: 14px; border-top: 1.5px solid var(--ink); }
  .plan-title .actions .sign--go { display: none; }
  .plan-title .actions .sign { flex: 1; justify-content: center; }
  .ask-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ask-list button { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 9px 10px; }
  .ask-q .nb { display: inline-block; }
  .legs { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .legs-list li { white-space: normal; }
  .legs-deliver { white-space: normal; flex-wrap: wrap; }
  .legs-list, .legs-note, .legs-deliver, .switch { grid-column: 1; grid-row: auto; }
  .plan-foot { padding-top: 10px; }

  .profile { height: 250px; }
  .fixes li { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 2px 14px; }
  .fixes li > p { grid-column: 2; }
  .fixes .handoff { grid-column: 2; }
  .plates li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .plaque { justify-self: start; min-width: 9.6rem; }
  .cargo { grid-template-columns: minmax(0, 1fr); }
  .steps > li { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 8px 14px; }
  .steps > li::before { font-size: 2.75rem; }
  .steps h3 { font-size: 1.25rem; }
  .hosts { min-width: 0; }
  .hosts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hosts tr { display: grid; padding: 10px 0 12px; border-top: 1px solid var(--rule); }
  .hosts tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .hosts th, .hosts td { padding: 0; border: 0; }
  .hosts tbody tr:last-child > * { border-bottom: 0; }
  .hosts td { display: block; margin-top: 8px; }
  .hosts td::before { content: attr(data-label); display: block; font-size: .75rem; line-height: 1.6; letter-spacing: .08em; color: var(--ink-3); }
  .minima, .survey-table { min-width: 0; }
  .minima thead, .survey-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .minima tr, .survey-table tr { display: grid; padding: 12px 0 14px; border-top: 1px solid var(--rule); }
  .minima tbody tr:last-child, .survey-table tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .minima th, .minima td, .survey-table th, .survey-table td { padding: 0; border: 0; }
  .minima tbody tr:last-child > *, .survey-table tbody tr:last-child > * { border-bottom: 0; }
  .minima tbody tr { padding-inline: 10px; margin-inline: -10px; }
  .minima tbody th { padding-left: 0; font-size: 1.0625rem; white-space: normal; }
  .minima td { display: block; margin-top: 8px; }
  .minima td::before { display: block; font-size: .75rem; font-weight: 500; line-height: 1.6; letter-spacing: .08em; color: var(--notice-2); }
  .minima td:nth-child(2)::before { content: "经过"; }
  .minima td:nth-child(3)::before { content: "交付的判断"; }
  .minima td:nth-child(4)::before { content: "证据边界"; }
  .toolbox { min-width: 0; }
  .toolbox thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .toolbox tr { display: grid; padding: 12px 0 14px; border-top: 1px solid var(--rule); }
  .toolbox th, .toolbox td { padding: 0; border: 0; }
  .toolbox tbody tr:last-child > * { border-bottom: 0; }
  .toolbox td { display: block; margin-top: 6px; }
  .toolbox td::before { display: block; font-size: .75rem; line-height: 1.6; letter-spacing: .08em; color: var(--ink-3); }
  .toolbox td:nth-child(2)::before { content: "用途"; }
  .toolbox td:nth-child(3)::before { content: "刻意不做的事"; }
  .survey-table tr { grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 16px; }
  .survey-table tbody th { white-space: normal; }
  .survey-table td:nth-child(3)::before { content: "剩余 "; color: var(--ink-3); }
  .survey-table td:last-child { grid-column: 1 / -1; width: auto; }
  .parts { columns: 1; }
  .reading li { grid-template-columns: 5.6rem minmax(0, 1fr); gap: 12px; }
  .research-domain summary { grid-template-columns: 2.1rem minmax(0, 1fr) auto 20px; gap: 8px; }
  .colophon .wrap { grid-template-columns: minmax(0, 1fr); }
  .colophon nav { justify-content: flex-start; }
  .lost { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .lost-hold { max-width: 340px; }
}

@media (pointer: coarse) {
  .brand, .textlink, .plain, .reading li > a { min-height: 44px; }
  .brand, .reading li > a { display: inline-flex; align-items: center; }
  .reading li { align-items: center; }
  .sign--small { min-height: 40px; }
  .switch { min-height: 44px; }
  .fixes .code { display: inline-flex; align-items: center; min-height: 44px; }
  .fixes li { align-items: center; }
  .command-copy, .command-hosts button { min-height: 44px; }
  .parts a { padding-block: 11px; }
  .colophon nav a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .topbar, .ask, .switch, .command-hosts, .command-copy, .directory-tools, .domain-select, .directory-side { display: none; }
  .plan-key { position: static; }
  .band { padding-block: 28px; }
  .band--ink, .band--blue, .band--yellow, .legs, .colophon { background: none; color: #000; }
}
