/* DNO site kit: one stylesheet for every public page. Surfaces and width are the V7 look's (operator-selected 2026-10-23),
   the same on every page; the tone colours carry the published states and change only with them.
   The block between chrome:start and chrome:end is shared with the homepage: the homepage build inlines it,
   so the header, footer, lamps and controls are the same everywhere. Edit it here only. */
/* chrome:start */
@font-face { font-family: "Geist"; src: url("/assets/geist-206f01ed.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/geist-mono-55419aa0.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #03060b;
  --bg-2: #050a14;
  --surface: #070c17;
  --elevated: #0b1322;
  --line: #1c2740;
  --metal-0: #8A8A8A;
  --metal-1: #C8C8C8;
  --metal-2: #E8E8E8;
  --ink: #F3F3F3;
  --mute: #8A8A8A;
  --operable: #3DDC97;
  --elevated-risk: #D4A017;
  --degraded: #C44B4B;
  --unknown: #6B6B6B;
  --live: #00DAFF; /* telemetry / LIVE-dot only, never a brand fill */
  /* Decoration only (V7): never a tone, never on a value, a lamp or a bar. ΔE > 20 from every tone and from --live. */
  --navy-line: #223249;
  --violet: #8B5CF6;
  --violet-2: #C08BFF;
  --ice: #8FB8FF;
  --ice-2: #3E7BFA;

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --measure: 1240px;
  --gutter: 16px;
  --pad: 24px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: break-word; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--metal-1); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-color: var(--metal-0); }
:focus-visible { outline: 2px solid var(--metal-1); outline-offset: 2px; }
::selection { background: #3A3A3A; color: var(--ink); }
code, pre, kbd, .mono { font-family: var(--mono); }
kbd { font-size: 0.8125em; padding: 1px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: var(--radius); color: var(--metal-1); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--elevated); color: var(--ink); padding: 8px 12px; border: 1px solid var(--line); z-index: 30; }
.skip:focus { top: 8px; }

/* Controls */
.btn { font: 500 0.8125rem/1 var(--sans); color: var(--metal-1); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover:not([disabled]) { color: var(--ink); border-color: var(--metal-0); }
.btn[disabled] { color: var(--unknown); cursor: default; }
.btn[aria-pressed="true"], .btn[aria-selected="true"] { color: var(--ink); border-color: var(--metal-1); background: var(--elevated); }
.btn-strong { color: var(--ink); border-color: var(--metal-0); background: var(--elevated); }
.seg { display: inline-flex; flex-wrap: wrap; }
.seg .btn { border-radius: 0; margin-left: -1px; }
.seg .btn:first-child { margin-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.seg .btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.seg .btn[aria-pressed="true"], .seg .btn[aria-selected="true"] { position: relative; z-index: 1; }
.linkbtn { font: inherit; font-size: 0.8125rem; color: var(--metal-1); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); text-decoration-color: var(--metal-0); }
.linkbtn[aria-expanded="true"] { color: var(--ink); }
.tag { display: inline-block; font: 400 0.75rem/1.4 var(--mono); padding: 1px 6px; border: 1px solid var(--line); color: var(--mute); border-radius: var(--radius); vertical-align: 2px; margin-left: 8px; }

/* The mark: the locked raster, placed as-is (never redrawn or recoloured) */
.mark { display: block; aspect-ratio: 1; height: auto; }
.mark--nav { width: 92px; }                        /* the mark itself is about 64 px inside its clear space */
.mark--hero { width: clamp(226px, 30vw, 396px); }  /* the mark itself is about 160–280 px */

/* Status lamps: data, not decoration. An unlit (hollow) lamp is no signal. */
.ind { display: inline-block; flex: none; width: 8px; height: 8px; border: 1px solid var(--tone); background: var(--tone); }
[data-tone="ok"]      { --tone: var(--operable); }
[data-tone="warn"]    { --tone: var(--elevated-risk); }
[data-tone="bad"]     { --tone: var(--degraded); }
[data-tone="neutral"] { --tone: var(--metal-0); }
[data-tone="unknown"], [data-tone="pending"] { --tone: var(--unknown); }
.ind[data-tone="unknown"], .ind[data-tone="pending"] { background: transparent; }

/* Header (V7): mark, wordmark, independence line, five links, the freshness pill, Menu with every page */
.site-head { position: relative; z-index: 20; border-bottom: 1px solid var(--navy-line); background: rgba(2, 5, 10, .96); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .mark--nav { width: 52px; }
.brand-name b { display: block; font: 600 1.375rem/1 var(--sans); letter-spacing: 0.04em; }
.brand-name small { display: block; margin-top: 4px; font: 400 0.75rem/1.2 var(--sans); color: var(--metal-1); }
.indep { flex: none; padding-left: 16px; border-left: 1px solid var(--navy-line); font-size: 0.75rem; line-height: 1.45; color: var(--metal-1); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 0.9375rem; }
.nav a { color: var(--metal-2); text-decoration: none; white-space: nowrap; padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--violet-2); }
/* The pill is DNO's own freshness, never a statement about the network. LIVE only under the freshness rule; cyan, never the ok tone. */
.live { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 14px; border: 1px solid #657084; border-radius: 999px; background: #0d111a; font: 500 0.75rem/1 var(--sans); letter-spacing: 0.08em; color: #ced6de; white-space: nowrap; text-decoration: none; }
a.live:hover { color: var(--ink); border-color: var(--metal-1); }
.live .dot { position: relative; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--metal-0); }
.live .dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--live); opacity: 0; }
.live[data-state="live"] { border-color: rgba(0, 218, 255, .45); color: var(--ink); }
.live[data-state="live"] .dot { background: var(--live); border-color: var(--live); }
.menu { position: relative; flex: none; }
.menu > summary { list-style: none; cursor: pointer; font-size: 0.875rem; color: var(--metal-1); padding: 9px 12px; border: 1px solid var(--navy-line); border-radius: 4px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: " \25BE"; color: var(--violet-2); }
.menu[open] > summary { color: var(--ink); border-color: var(--violet-2); }
.menu ul { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; max-height: 70vh; overflow-y: auto; background: #08101d; border: 1px solid #32435c; border-radius: 8px; padding: 8px; z-index: 25; box-shadow: 0 15px 40px rgba(0, 0, 0, .7); }
.menu li a { display: block; padding: 8px 10px; color: var(--metal-2); text-decoration: none; border-radius: 3px; font-size: 0.875rem; }
.menu li a:hover, .menu li a[aria-current="page"] { color: var(--ink); background: #18233a; }
/* Below the full header width the independence line becomes its own row under the bar: it is never hidden, so every
   first screen says it (share-fix B2). */
@media (max-width: 1279px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; }
  .indep { order: 9; flex: 1 0 100%; padding: 0 0 10px; border-left: 0; }
  .indep br { display: none; }
}
@media (max-width: 1099px) { .nav { display: none; } .live { margin-left: auto; } }
@media (max-width: 719px) {
  :root { --pad: 16px; }
  .site-head .wrap { gap: 10px; min-height: 64px; }
  .brand .mark--nav { width: 40px; }
  .brand-name small { display: none; }
  .live { padding: 7px 10px; font-size: 0.6875rem; }
}
@media (max-width: 359px) { .brand-name { display: none; } }

/* Footer */
.site-foot { border-top: 1px solid var(--navy-line); background: #02050a; padding-block: 40px 56px; }
.site-foot .wrap { display: grid; gap: 16px; }
.foot-groups { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9375rem; max-width: 40rem; }
.foot-k { flex-basis: 100%; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.foot-nav a[aria-current="page"] { color: var(--ink); }
.foot-line { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--metal-1); font-size: 0.9375rem; }
.foot-line > * + *::before { content: "·"; display: inline-block; color: var(--mute); padding-inline: 10px; text-decoration: none; }
.site-foot .fine { font-size: 0.875rem; color: var(--mute); max-width: 46rem; }

@media (prefers-reduced-motion: no-preference) {
  .live .dot.blip::after { animation: blip 900ms var(--ease) 1; }
  @keyframes blip { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
  .btn, .linkbtn, a { transition: color 120ms linear, border-color 120ms linear, background-color 120ms linear; }
}
/* chrome:end */

/* ---------- Document pages ---------- */
/* Title band: the homepage's artwork cropped to its horizon and faded from the left. Decoration only: it depicts no network,
   no location and no connection, and nothing on the page refers to it. The files are the homepage's, named by content hash. */
.doc-head { position: relative; isolation: isolate; overflow: hidden; padding-block: 64px 52px; border-bottom: 1px solid var(--navy-line); background: #01040a; }
.doc-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 360px; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: cover; background-position: 70% 78%;
  background-image: linear-gradient(180deg, transparent 55%, #01040a 100%), linear-gradient(90deg, #010307 0%, rgba(1, 3, 7, .97) 30%, rgba(1, 3, 7, .82) 50%, rgba(1, 3, 7, .35) 78%, rgba(1, 3, 7, .2) 100%),
    image-set(url("/assets/dno-planet-608a8e2e.avif") type("image/avif"), url("/assets/dno-planet-fd1608ca.webp") type("image/webp"), url("/assets/dno-planet-3ea6a6b6.jpg") type("image/jpeg")); }
.doc-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.doc-kicker { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--metal-1); }
.doc-kicker::before { content: ""; flex: none; width: 44px; height: 1px; background: var(--metal-1); }
.doc-kicker a { color: var(--metal-1); }
.doc-head h1 { font-size: clamp(2.375rem, 5vw, 3.75rem); line-height: 1.04; font-weight: 300; letter-spacing: -0.03em; padding-bottom: 0.04em;
  background-image: linear-gradient(180deg, #f8f9fa 0%, #d1d4d8 59%, #a0a6ae 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc-lede { margin-top: 20px; font-size: 1.125rem; line-height: 1.55; color: #bac9d9; max-width: 46rem; }
.doc-facts { display: grid; gap: 6px; padding: 14px 18px; border: 1px solid var(--navy-line); border-radius: 10px; background: rgba(5, 10, 20, .72); font: 400 0.8125rem/1.5 var(--mono); color: var(--mute); }
.doc-facts b { font-weight: 500; color: var(--metal-1); }

.doc-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 56px; padding-block: 40px 72px; align-items: start; }
.doc-grid > * { min-width: 0; }
.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; font-size: 0.875rem; }
.toc summary { list-style: none; cursor: default; font: 500 0.6875rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--metal-0); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { display: grid; margin-top: 8px; counter-reset: none; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 1px solid var(--navy-line); color: var(--mute); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--metal-0); }
.toc a[aria-current="true"] { color: var(--ink); border-left: 2px solid var(--violet-2); padding-left: 11px; }   /* navigation, not a tone */
.toc .toc-sub a { padding-left: 24px; font-size: 0.8125rem; }
.toc .toc-sub a[aria-current="true"] { padding-left: 23px; }

.prose { max-width: 46rem; }
.prose > section { padding-block: 8px 40px; }
.prose > section + section { border-top: 1px solid var(--line); padding-top: 40px; }
.prose h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 500; color: var(--metal-2); letter-spacing: -0.005em; margin-bottom: 16px; }
.prose h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 500; color: var(--metal-2); margin: 28px 0 10px; }
.prose h4 { font-size: 1rem; font-weight: 500; color: var(--metal-1); margin: 20px 0 8px; }
.prose p { color: var(--metal-1); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose em { font-style: normal; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 20px; color: var(--metal-1); }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: 0.78em; width: 8px; height: 1px; background: var(--metal-0); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; padding-left: 28px; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: 0.12em; font: 500 0.75rem/1.6 var(--mono); color: var(--mute); }
.prose code { font-size: 0.875em; color: var(--metal-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1px 5px; overflow-wrap: anywhere; }
.prose pre { margin: 0 0 16px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; font: 0.8125rem/1.6 var(--mono); color: var(--metal-2); }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.prose .h-anchor { margin-left: 10px; font: 400 0.875rem/1 var(--mono); color: var(--unknown); text-decoration: none; opacity: 0; }
.prose h2:hover .h-anchor, .prose h3:hover .h-anchor, .prose .h-anchor:focus { opacity: 1; }
.prose .h-anchor:hover { color: var(--metal-1); }
.val { font-family: var(--mono); font-size: 0.875em; color: var(--metal-2); }
.dim { color: var(--mute); font-size: 0.875rem; }
.fine { font-size: 0.875rem; color: var(--mute); max-width: 46rem; }
.meta { font: 400 0.8125rem/1.5 var(--mono); color: var(--mute); }

/* Tables */
.tbl-wrap { width: 100%; overflow-x: auto; margin: 4px 0 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.tbl caption { text-align: left; font-size: 0.8125rem; color: var(--mute); padding-bottom: 8px; caption-side: top; }
.tbl th { text-align: left; font-weight: 400; font-size: 0.8125rem; color: var(--mute); padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.tbl td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--metal-1); }
.tbl td:first-child { color: var(--ink); }
.tbl tr:last-child td { border-bottom: 1px solid var(--line); }
.tbl .num { text-align: right; font-family: var(--mono); font-size: 0.875rem; white-space: nowrap; }
.tbl code { white-space: nowrap; }

/* Quotes from the Demos docs: the source is always named and linked */
.src-quote { margin: 4px 0 18px; padding: 12px 0 12px 18px; border-left: 2px solid var(--metal-0); }
.src-quote p { color: var(--ink); font-size: 1.0625rem; line-height: 1.5; margin: 0; }
.src-quote footer, .src-quote .by { display: block; margin-top: 8px; font: 400 0.8125rem/1.4 var(--mono); color: var(--mute); }

/* Asides and definition lists */
.aside { margin: 8px 0 20px; padding: 14px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--metal-1); }
.aside p { margin: 0; }
.aside p + p { margin-top: 8px; }
.aside-k { display: block; font: 500 0.8125rem/1.4 var(--sans); color: var(--mute); margin-bottom: 6px; }
.kv { display: grid; grid-template-columns: 12rem minmax(0, 1fr); margin: 4px 0 18px; border-top: 1px solid var(--line); }
.kv > div { display: contents; }
.kv dt, .kv dd { padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.kv dt { color: var(--mute); font-size: 0.875rem; padding-right: 16px; }
.kv dd { color: var(--ink); }

/* Figures: diagrams say whose description they draw */
.fig { margin: 12px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.fig-body { padding: 18px; overflow-x: auto; }
.fig-body svg { display: block; width: 100%; height: auto; overflow: visible; }
.fig figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--mute); }
.fig figcaption .whose { font-family: var(--mono); }
.fig-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.fig svg text { font-family: var(--sans); }
.d-box { fill: var(--bg); stroke: var(--line); }
.d-box-hi { fill: var(--elevated); stroke: var(--metal-0); }
.d-t { fill: var(--metal-2); font-size: 14px; font-weight: 500; }
.d-s { fill: var(--mute); font-size: 12px; }
.d-m { fill: var(--metal-1); font: 400 12px var(--mono); }
.d-ln { stroke: var(--metal-0); stroke-width: 1; fill: none; }
.d-ln-dim { stroke: var(--line); stroke-width: 1; fill: none; }
.d-dash { stroke: var(--unknown); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.d-dot { fill: var(--metal-2); }
.d-dot-off { fill: none; stroke: var(--unknown); }

/* Side-by-side comparison */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 8px 0 20px; }
.compare > div { padding: 16px 20px 18px 0; min-width: 0; }
.compare > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.compare h3 { margin: 0 0 4px; }
.compare .who { font: 400 0.8125rem/1.4 var(--mono); color: var(--mute); margin-bottom: 12px; }
.compare dl { display: grid; gap: 2px; }
.compare dt { font-size: 0.8125rem; color: var(--mute); margin-top: 10px; }
.compare dt:first-child { margin-top: 0; }
.compare dd { color: var(--metal-1); }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 12px; }
.chips .k { font-size: 0.8125rem; color: var(--mute); }

/* Page-end limits list, like the homepage's */
.limits li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--metal-1); }
.limits li:last-child { border-bottom: 1px solid var(--line); }
.prose .limits { gap: 0; }
.prose .limits > li { padding-left: 0; }
.prose .limits > li::before { content: none; }

.sources li a { font-family: var(--mono); font-size: 0.875rem; }
.sources li span { display: block; color: var(--mute); font-size: 0.875rem; }

@media (max-width: 999px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .toc { position: static; max-height: none; }
  .toc summary { cursor: pointer; }
  .toc summary::after { content: " +"; color: var(--unknown); }
  .toc[open] summary::after { content: " −"; }
  .prose { max-width: none; }
}
@media (max-width: 719px) {
  .doc-head { padding-block: 40px 32px; }
  .doc-head::before { height: 300px; opacity: .55; }   /* on a phone the text spans the artwork: keep it a hint */
  .doc-head .wrap { grid-template-columns: minmax(0, 1fr); }
  .doc-head h1 { font-size: 2.25rem; }
  .doc-lede { font-size: 1.0625rem; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv dt { padding-bottom: 0; border-bottom: 0; }
  .kv dd { padding-top: 2px; }
  .fig-body { padding: 12px; }
  .tbl.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
  .tbl.stack tr { border-top: 1px solid var(--line); padding: 10px 0; }
  /* A cell holds running text with inline code: one flow beside its label, never one grid item per word. */
  .tbl.stack td { position: relative; min-height: 1.6em; border: 0; padding: 3px 0 3px calc(7.5rem + 10px); }
  .tbl.stack td::before { content: attr(data-label); position: absolute; left: 0; top: 5px; width: 7.5rem; color: var(--mute); font-size: 0.8125rem; line-height: 1.4; }
  .tbl.stack tr:last-child { border-bottom: 1px solid var(--line); }
  .tbl.stack tr:last-child td { border-bottom: 0; }
  .tbl.stack code { white-space: normal; }
}
/* A page's slogan under its name (D7: the name is the h1). */
.doc-tagline { margin-top: 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; font-weight: 300; letter-spacing: -0.01em; color: var(--metal-1); }
/* Orientation sections (S2): full width under the title band; the page's full text follows unchanged.
   Every rule is scoped under .orient or .decision: the homepage has a .branch figure of its own (it does not load this
   file, but a later page might share a class name). */
.orient { padding-block: 48px; border-bottom: 1px solid var(--navy-line); }
.orient-k { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--metal-0); }
.orient h2 { margin-top: 10px; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; color: var(--metal-2); }
.orient-lede { margin-top: 12px; max-width: 46rem; color: var(--metal-1); }
.orient-key { margin-top: 16px; max-width: 46rem; padding: 14px 18px; border-left: 2px solid var(--violet-2); background: rgba(5, 10, 20, .72); color: var(--ink); }
.orient-more { margin-top: 14px; font-size: 0.9375rem; color: var(--mute); }
.orient-full { padding-top: 36px; }
.decision { margin: 24px 0 0; padding: 24px; border: 1px solid var(--navy-line); border-radius: 12px; background: linear-gradient(180deg, rgba(10, 17, 32, .96), rgba(5, 9, 18, .98)); }
.decision-k { text-align: center; font: 500 0.6875rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--metal-0); }
.decision-q { max-width: 36rem; margin: 8px auto 0; text-align: center; font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.decision .fork { display: block; width: 100%; height: 28px; margin-top: 16px; fill: none; stroke: var(--metal-0); stroke-width: 1; }   /* the question splits into the two branches below; 19 and 69 are the columns' centres */
.decision .branches { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; align-items: start; }
.decision .branch { padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.decision .branch-k { font: 600 0.75rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--metal-1); }
.decision .branch-h { margin-top: 6px; font-size: 1.125rem; color: var(--ink); }
.decision .branch > p:not([class]) { margin-top: 6px; font-size: 0.9375rem; color: var(--metal-1); }
.decision .outcomes { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.decision .outcome { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.decision .outcome--none { border-style: dashed; border-color: var(--metal-0); }   /* no reading formed: said in words and by the dashed edge, never by a tone */
.decision .outcome code { font: 500 0.9375rem/1.3 var(--mono); color: var(--ink); background: none; border: 0; padding: 0; overflow-wrap: anywhere; }   /* a mode name may break at large text sizes rather than push the figure off a phone */
.decision .outcome span { font-size: 0.875rem; color: var(--metal-1); }
.decision figcaption { margin-top: 16px; font: 400 0.8125rem/1.6 var(--mono); color: var(--mute); }
.orient .enters { display: grid; max-width: 56rem; margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.orient .enters li { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.orient .enters span { color: var(--metal-1); }
.orient .enters b { font-weight: 500; color: var(--ink); }
@media (max-width: 719px) {
  .orient { padding-block: 36px; }
  .decision { padding: 16px; }
  .decision .fork { display: none; }
  .decision .branches { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .orient .enters li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.copy-bar { display: flex; justify-content: flex-end; margin: 0 0 6px; }
.doc-intro { display: grid; gap: 10px; margin-top: 14px; max-width: 46rem; color: var(--metal-1); }
.doc-intro:empty { display: none; }
.doc-intro p { color: var(--metal-1); margin: 0; }
.doc-intro .doc-lede { margin-top: 0; }
.doc-intro code { font-size: 0.875em; color: var(--metal-2); }
.aside-warn { border-color: #5A4A1A; }
.note { margin: 0 0 14px; padding: 16px 20px; border: 1px solid var(--navy-line); border-radius: 10px; background: rgba(5, 10, 20, .72); color: var(--metal-1); }
.doc-intro .note { margin: 0; }
.prose > .note:last-of-type { margin-bottom: 44px; }
.prose .aside ul { margin: 8px 0 0; }
