/* Terminal palette.
   Sampled 2026-10-02 from reference terminal screenshots, not from a brand sheet.

   Screen colors: reference terminal screenshots.
   Left monitor of an in-use terminal. Glyph cores are local-maxima pixels
   so antialiased edges do not darken the ink. Solid fills are
   4-neighbor-stable pixels.

   --bg      #000000  pure black field. Empty cells in the photo are
                      near-black; JPEG noise keeps them off zero, so this
                      is the terminal field, not a sampled nonzero hex.
   --amber   #f1bd59  primary text and labels. Median of orange glyph cores
                      (hue 16-46). 12.16:1 on #000000. 9.79:1 on --blue.
   --data    #ffffff  data values. Unsaturated white-family p90 on the same
                      screen was #ffffff. Core median was #e4feff, a
                      camera/LCD cyan cast, so the chosen value is the p90.
                      21:1 on #000000. 16.89:1 on --blue.
   --yellow  #f8c800  on-screen highlight fill. Mode of solid yellow fills
                      (the CLM6 COMB highlight bar). Black text on it is 13.25:1.
   --key     #c89830  function-key yellow. Mode of the yellow key row in
                      a reference terminal screenshot, crop y=580-640.
                      Black text on it is 7.99:1.
   --blue    #001060  header, title bar, and panel-header fill. Mode of the
                      solid blue command-bar fill (n=34962 in the dense stripe).
                      Not used as text on black (1.24:1, would fail AA).
   --up      #39d441  up. Median of green glyph cores. 10.67:1 on #000000.
   --down    #dc5d5e  down. Median of red glyph cores. 5.77:1 on #000000.
                      The red Actions-bar fill #c0132a is 3.37:1 and is not used.
   --rule    #507098  hairline only, from the header-row blue mode. Not used
                      as text: amber on it is 2.96:1.

   No lightness adjustment. Every text color above clears WCAG AA 4.5:1 on
   the background it is painted on. Focus is a 2px #f8c800 outline, offset
   2px, so it sits on black (13.25:1) or on the blue bar (10.66:1).
*/
:root {
  --bg: #000000;
  --panel: #000000;
  --panel-head: #001060;
  --amber: #f1bd59;
  --amber-mid: #f1bd59;
  --amber-dim: #f1bd59;
  --amber-faint: #f1bd59;
  --text: #f1bd59;
  --text-dim: #f1bd59;
  --data: #ffffff;
  --yellow: #f8c800;
  --key: #c89830;
  --blue: #001060;
  --up: #39d441;
  --down: #dc5d5e;
  --go: #39d441;
  --stop: #c0132a;
  --field: #f1bd59;
  --rule: #507098;
  --edge: #507098;
  --edge-soft: #1a2a55;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --serif: Georgia, serif;
  --gutter: clamp(1rem, 3vw, 2rem);
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono), var(--serif);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: .9375rem;
  line-height: 1.65;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* faint CRT scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(
    0deg,
    rgba(241, 189, 89, .04) 0,
    rgba(241, 189, 89, .04) 1px,
    transparent 1px,
    transparent 3px
  );
}

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

a { color: var(--amber); text-decoration-color: var(--rule); text-underline-offset: .18em; }
a:hover { background: var(--yellow); color: #000; text-decoration: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.fnkey:focus-visible, .skip:focus-visible { outline-color: var(--yellow); }

.sheet { width: 100%; max-width: none; margin-inline: 0; padding-inline: var(--gutter); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  background: var(--key);
  color: #000;
  padding: .5rem .75rem;
  font-size: .8rem;
  text-decoration: none;
  z-index: 10;
}
.skip:focus { top: .5rem; }

/* Masthead: blue title bar ----------------------------------------------- */
.masthead {
  background: var(--blue);
  border-bottom: 2px solid var(--rule);
  color: var(--amber);
}
.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--amber);
  font-size: 1rem;
  /* 44px tap target; the negative margin keeps the masthead height unchanged. */
  min-height: 44px;
  margin-block: -9px;
  box-sizing: border-box;
}
.wordmark:hover { background: var(--yellow); color: #000; }
.mark { width: 22px; height: 22px; display: block; flex: none; }
.kicker {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Function keys ------------------------------------------------------------ */
.fnkeys { background: var(--bg); border-bottom: 1px solid var(--edge); }
.fnkeys-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding-block: .45rem;
}
.fnkey, .tick-cmd {
  display: inline-block;
  background: var(--key);
  color: #000;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  padding: .15rem .45rem;
  border: 1px solid #000;
}
.fnkey:hover, .tick-cmd:hover { background: var(--yellow); color: #000; }

/* Ticker bar -------------------------------------------------------------- */
.ticker { border-block: 1px solid var(--edge); background: #000; overflow-x: clip; }
.ticker-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Command chip is taller than a price. Three rows are reserved so a
     fetched price cannot add a line and push the source list. */
  grid-template-rows: 1.75rem 1.4rem 1.4rem;
  gap: .15rem .55rem;
  padding-block: .5rem;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  align-items: center;
  overflow: hidden;
}
.ticker-row .tick { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .ticker-row {
    display: flex;
    flex-wrap: nowrap;
    gap: .25rem 1.1rem;
    letter-spacing: .10em;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ticker-row::-webkit-scrollbar { display: none; }
  .ticker-row .tick { overflow: visible; text-overflow: clip; min-width: auto; }
}
.tick { color: var(--data); white-space: nowrap; }
.tick-sym { color: var(--amber); }
.tick-up { color: var(--up); }
.tick-down { color: var(--down); }
.tick-state { color: var(--amber); }
.tick-stale, .tick-na { color: var(--amber); }
.tick.tick-cmd { color: #000; background: var(--key); }
.tick.flash { animation: flash .3s ease; }
@keyframes flash {
  from { background: rgba(241, 189, 89, .28); }
  to { background: transparent; }
}

.credit { margin: .45rem auto 0; font-size: .75rem; color: var(--text-dim); }
.credit a { color: var(--amber); }
.credit-note { display: block; margin-top: .15rem; }
.chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
  padding-block: .7rem .2rem;
}
@media (min-width: 900px) {
  .chips { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
.chip {
  display: grid;
  gap: .05rem;
  min-width: 0;
  min-height: 3.6rem;
  padding: .35rem .5rem;
  border: 1px solid var(--edge);
  background: #000;
  color: var(--text);
}
.chip-id, .chip-px, .chip-asof {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-id { color: var(--amber); font-size: .68rem; letter-spacing: .08em; }
.chip-px { font-size: .84rem; }
.chip-asof { color: var(--text-dim); font-size: .68rem; }
.chip-stale .chip-asof { color: var(--amber-mid); }
.src-list {
  width: auto;
  max-width: calc(100% - 2 * max(1rem, var(--gutter)));
  margin: 0 auto .4rem;
  padding-block: 0 .4rem;
  padding-inline: 0;
  list-style: none;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.src-list li { margin: .2rem 0; overflow-wrap: anywhere; }
.noscript { color: var(--amber-mid); font-size: .78rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.seg { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; }
.seg-btn {
  font: inherit;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  background: #000;
  border: 1px solid var(--edge);
  padding: .35rem .55rem;
  cursor: pointer;
}
.seg-btn[aria-pressed="true"] { color: #000; background: var(--amber); border-color: var(--amber); }
.seg-btn:disabled, .seg-btn.is-blocked { opacity: 1; color: var(--amber); background: #000; border-style: dashed; cursor: not-allowed; }
.seg-btn:focus-visible, .chip:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.chart-note, .chart-readout, .src-foot, .breadth, .macro-line {
  color: var(--text-dim);
  font-size: .75rem;
  margin: .35rem 0;
}
.chart-empty { color: var(--text-dim); margin: 0; }
.chart-svg { width: 100%; height: auto; display: block; }
.badge { color: var(--text-dim); }
.mkt-grid { display: grid; gap: 1rem; }
.mkt { width: 100%; border-collapse: collapse; font-size: .78rem; }
.mkt th, .mkt td { text-align: right; padding: .28rem .35rem; border-bottom: 1px solid var(--edge-soft); }
.mkt th:first-child, .mkt td:first-child { text-align: left; }
.mkt th { color: var(--amber); font-weight: 700; letter-spacing: .06em; }
.mkt-title { margin: 0 0 .3rem; color: var(--amber); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.chain-list { margin: 0; padding-left: 1.1rem; color: var(--text); }
.chain-card { margin: 0 0 .9rem; }
.chain-credit { padding: 0 .9rem .8rem; }

/* Disclaimer strip -------------------------------------------------------- */
.notice {
  border-bottom: 1px solid var(--edge-soft);
  background: #000;
  font-size: .74rem;
  line-height: 1.6;
  color: var(--amber);
}
.notice .sheet { padding-block: .55rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; min-width: 0; }
.notice-mark { color: var(--down); font-weight: 700; flex: none; }

main { flex: 1; padding-block: 1.75rem 3rem; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }

/* Panels ------------------------------------------------------------------ */
.panel { border: 1px solid var(--edge); background: var(--panel); }
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1rem;
  flex-wrap: wrap;
  padding: .45rem .9rem;
  background: var(--blue);
  border-bottom: 2px solid var(--rule);
  font-size: .70rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
}
.panel-head a { color: var(--amber); text-decoration: none; }
/* 44px tap target for head links such as the Ledger breadcrumb; the negative
   margin keeps the head height, so the phone fold does not move. */
.panel-head a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -16px; vertical-align: middle; }
.panel-head a:hover { background: var(--yellow); color: #000; }
.panel-head .data, .panel-head time { color: var(--data); letter-spacing: .06em; text-transform: none; }
.panel-body { padding: 1.1rem 1.15rem 1.25rem; min-width: 0; }
.panel-error { border-color: var(--down); }
.panel-error .panel-head {
  color: var(--down);
  background: #000;
  border-bottom-color: var(--down);
}

.command-title {
  color: var(--amber);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 .6rem;
}
.command-lede { color: var(--text-dim); margin: 0; max-width: 58ch; }

/* Ledger ------------------------------------------------------------------ */
.ledger { list-style: none; margin: 0; padding: 0; }
.entry {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--edge-soft);
  min-width: 0;
  animation: rise .3s ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.entry:last-child { border-bottom: 0; }
.entry:hover,
.entry:hover .entry-tape,
.entry:hover .entry-title a,
.entry:hover .entry-summary { background: var(--yellow); color: #000; }
.entry-tape {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .4rem;
  margin: 0;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--data);
  min-width: 0;
}
.entry-tape .pipe { color: var(--amber); }
.entry-title { margin: 0; font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
.entry-title a { color: var(--amber); text-decoration: none; }
.entry-title a:hover { background: none; color: #000; text-decoration: underline; }
.entry-title a:focus-visible { outline-offset: 2px; }
.entry-summary { margin: 0; color: var(--text-dim); font-size: .84rem; line-height: 1.55; }
.empty {
  margin: 0;
  padding: 1rem .9rem;
  font-size: .8rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--amber-dim);
}

/* Article ----------------------------------------------------------------- */
.article-head { padding: .7rem 1.15rem 0; }
.page-article main { padding-top: .4rem; gap: .7rem; }
.page-article .article-head { padding-top: .3rem; }
.page-article .notice .sheet { padding-block: .3rem; }
.page-article .callstrip { padding: .3rem .55rem; margin-bottom: .3rem; }
.page-article .position-box { padding: .28rem .55rem; margin-bottom: .3rem; }
.page-article .keystrip { margin-bottom: .45rem; }
.page-article .keystrip div { padding: .2rem .4rem; }
.callstrip {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: .45rem .7rem;
  margin: 0 0 .45rem;
}
.callstrip strong { color: var(--amber); }
.position-box {
  border: 1px solid var(--edge);
  padding: .4rem .7rem;
  margin: 0 0 .45rem;
  font-size: .84rem;
  line-height: 1.35;
}
.keystrip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #000;
  border: 1px solid var(--edge);
  margin: 0 0 .7rem;
}
.keystrip div {
  background: #000;
  border: 1px solid var(--edge);
  padding: .32rem .5rem;
  min-width: 0;
  overflow: hidden;
}
.keystrip div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.keystrip dt {
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber);
  overflow-wrap: anywhere;
}
.keystrip dd {
  margin: 0;
  color: var(--data);
  font-size: .84rem;
  overflow-wrap: anywhere;
}
.keystrip .key-note {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  line-height: 1.35;
  color: #9aa3ad;
  overflow-wrap: anywhere;
}
.article-title {
  color: var(--amber);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  line-height: 1.15;
  margin: 0 0 .55rem;
  text-wrap: balance;
}
.article-lede {
  color: var(--amber-mid);
  margin: 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--edge-soft);
  font-size: .95rem;
}

.prose { padding: 1.15rem 1.15rem 1.4rem; min-width: 0; overflow-wrap: break-word; }
.table-wrap { min-width: 0; max-width: 100%; overflow-x: clip; }
figure, table, pre { max-width: 100%; }
.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .78rem;
  margin: 0 0 1.1em;
}
.prose th, .prose td {
  border: 1px solid var(--edge);
  padding: .4rem .5rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.prose th {
  background: var(--blue);
  color: var(--amber);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
}
.prose td { color: var(--data); }
.prose > * { margin-block: 0 1.1em; }
.prose p, .prose li { color: var(--text); }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: var(--amber);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.8em;
  text-wrap: balance;
}
.prose h2 {
  font-size: 1rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--amber);
  border-bottom: 2px solid var(--rule);
  padding: .35rem .6rem;
}
.prose h3 { font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-mid); }
.prose h4, .prose h5, .prose h6 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-dim);
}
.prose ul, .prose ol { padding-left: 1.4em; margin-block: 0 1.1em; }
.prose li { margin-block: .3em; }
.prose li::marker { color: var(--amber-dim); }
.prose strong { color: var(--amber); font-weight: 700; }
.prose em { font-style: italic; }
.prose code {
  font-family: var(--mono);
  font-size: .88em;
  color: var(--data);
  background: #000;
  border: 1px solid var(--edge);
  padding: .08em .3em;
}
.prose pre {
  font-size: .8rem;
  line-height: 1.6;
  background: #000;
  border: 1px solid var(--edge-soft);
  border-left: 3px solid var(--yellow);
  padding: .9rem 1rem;
  max-width: 100%;
  overflow-x: auto;
  color: var(--data);
}
.prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.prose figure { margin: 2.2em 0; width: 100%; max-width: 100%; }
.prose figure a { display: block; text-decoration: none; }
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--edge);
  background: var(--bg);
}
.prose figcaption {
  margin-top: .6rem;
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.55;
  color: var(--data);
}

/* Sources ----------------------------------------------------------------- */
.source-table { list-style: none; margin: 0; padding: 0; counter-reset: src; }
.source-table li {
  counter-increment: src;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0 .5rem;
  padding: .55rem .9rem;
  border-bottom: 1px solid var(--edge-soft);
}
.source-table li:last-child { border-bottom: 0; }
.source-table li::before {
  content: counter(src, decimal-leading-zero);
  color: var(--amber-dim);
  font-size: .74rem;
  padding-top: .2em;
}
.source-table a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.source-url {
  grid-column: 2;
  display: none;
  font-size: .7rem;
  color: var(--data);
  overflow-wrap: anywhere;
  word-break: break-all;
  margin-top: .1rem;
}

/* Colophon ---------------------------------------------------------------- */
.colophon {
  border-top: 1px solid var(--edge-soft);
  margin-top: 1rem;
  padding-block: 1rem 1.8rem;
  font-size: .7rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--amber-faint);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .8rem;
}
.colophon-sep { color: var(--amber-dim); }
.colophon { align-items: center; }
.colophon a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.search-all a { display: flex; align-items: center; min-height: 44px; }

/* Motion ------------------------------------------------------------------ */
@keyframes rise {
  from { opacity: 0; transform: translateY(.35rem); }
  to { opacity: 1; transform: none; }
}
.panel { animation: rise .3s ease both; }

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

/* Wide -------------------------------------------------------------------- */
@media (min-width: 48rem) {
  .entry { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .entry-summary { grid-column: 2; }
}
/* Single column, full page width (Danny 2026-10-05). Do not re-add column splits. */
@media (min-width: 72rem) {
  .entry { grid-template-columns: 7.5rem 17rem minmax(0, 1fr); }
  .entry-summary { grid-column: 3; }
}

/* Narrow ------------------------------------------------------------------ */
@media (max-width: 40rem) {
  .keystrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td {
    display: block;
    width: 100%;
  }
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .prose tr {
    border: 1px solid var(--edge);
    margin: 0 0 .75rem;
    padding: .35rem .55rem;
  }
  .prose td { border: 0; padding: .28rem 0; }
  .prose td::before {
    content: attr(data-label);
    display: block;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--amber);
  }
}
@media (max-width: 48rem) {
  .masthead-row { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .prose, .article-head { padding-inline: .9rem; }
  .panel-head { padding: .4rem .7rem; }
  .entry { padding: .65rem .7rem; }
  .source-table li { padding-inline: .7rem; grid-template-columns: 2.2rem minmax(0, 1fr); }
}

/* Phone fold: key numbers sit under the call and above the position box.
   Desktop source order (call, position, keys) is unchanged above 700px. */
@media (max-width: 700px) {
  .article-head { display: flex; flex-direction: column; min-width: 0; }
  .article-head .callstrip { order: 1; margin-bottom: .3rem; }
  .article-head .keystrip { order: 2; margin-bottom: .3rem; }
  .article-head .position-box { order: 3; }
  .article-head .article-title { order: 4; }
  .article-head .article-lede { order: 5; }
  .keystrip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .keystrip div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: .28rem;
    padding: .12rem .28rem;
  }
  .keystrip dd { order: 1; font-size: .7rem; line-height: 1.1; }
  .keystrip dt { order: 2; font-size: .52rem; line-height: 1.1; letter-spacing: .02em; overflow-wrap: anywhere; min-width: 0; }
  .keystrip .key-note { display: none; }
}

.desk { margin: .6rem 0; }
.desk-table { width: 100%; border-collapse: collapse; font-size: .72rem; }
.desk-table th, .desk-table td { border-bottom: 1px solid var(--edge); text-align: left; padding: .28rem .35rem; vertical-align: top; }
.desk-table th { color: var(--amber); font-weight: 500; }
.draft-banner { color: var(--yellow); }
.draft-pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .68rem; }
.spark { display: inline-block; vertical-align: middle; }

@media print {
  body { background: #fff; color: #000; }
  body::before, .ticker, .fnkeys { display: none; }
  .panel { border-color: #000; background: #fff; }
  .panel-head, .notice, .colophon { color: #000; border-color: #000; background: none; }
  a { color: #000; background: none; }
  .source-url { display: block; color: #000; }
}

/* Single-column scaffolds at every viewport width. Panels span the full
   page width; they stack top to bottom. */
.desk-grid, .asset-layout, .article-layout { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.desk-chart-slot, .desk-markets, .desk-chain, .desk-intro, .desk-ledger, .asset-main, .asset-rail, .article-rail, .article, .article-desk { min-width: 0; }
.chart-plot { height: 28rem; width: 100%; max-width: 100%; touch-action: pan-y; }
.chart-plot canvas, .chart-plot table, .chart-plot * { touch-action: pan-y !important; }
.chart-toolbar, .seg, .fnkeys-row, .desk-search { max-width: 100%; }
.chart-toolbar .seg-btn, .asset-link, .desk-search input, .desk-search button, .fnkey, .search-toggle, .asset-jump { min-height: 44px; min-width: 44px; }
.desk-search { display: flex; flex-wrap: wrap; gap: .4rem; padding-block: .45rem; align-items: center; }
.desk-search input { flex: 1 1 12rem; font: inherit; background: #000; color: var(--data); border: 1px solid var(--field); padding: .35rem .55rem; }
.desk-search input:focus { background: var(--field); color: #000; }
.desk-search button { font: inherit; background: var(--go); color: #000; border: 1px solid #000; padding: .35rem .7rem; cursor: pointer; }
.search-list, #search-list { list-style: none; margin: 0; padding: 0; width: 100%; background: #000; border: 1px solid var(--edge); }
.search-list [role="option"], #search-list [role="option"] { padding: .45rem .55rem; cursor: pointer; }
.search-group { color: var(--amber); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .55rem; }
.chart-legend, .chart-last, .tick, .chip, .mkt { font-variant-numeric: tabular-nums; }
.chart-legend { color: var(--data); min-height: 2.4rem; }
.chart-volume-label, .range-block, .crumbs { color: var(--amber); font-size: .75rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-inline: .35rem; }
.chart-head { color: var(--data); margin: 0 0 .4rem; }
.chart-name, .chart-ticker { color: var(--amber); }
.compare-row { border: 1px solid var(--edge-soft); padding: .45rem; margin: 0 0 .45rem; }
.tick-on { outline: 1px solid var(--amber); }
@media (max-width: 40rem) { .chart-plot { height: 18rem; } }
/* Wide-viewport layout stays one column. See Danny 2026-10-05: single
   column, full page width. Panels stack; no side rails, no column splits. */
@media (max-width: 700px) {
  .article-layout { gap: 0; }
  .article-rail { display: contents; }
  .article { display: contents; }
  .article > .panel-head { order: 0; margin-inline: 1px; }
  .article-layout .callstrip { order: 1; }
  .article-layout .keystrip { order: 2; }
  .article-layout .position-box { order: 3; }
  .article-head { order: 4; }
  .prose { order: 5; }
  .article-desk { order: 6; }
  .article-layout .desk-chart, .article-layout #chain-panel { order: 7; }
  .page-article .callstrip,
  .page-article .keystrip,
  .page-article .position-box { margin-inline: calc(.9rem + 1px); }
  .page-article .callstrip { margin-top: .3rem; }
}
.search-open {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.search-toggle, .asset-jump { display: none; }
.fnkey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.search-list [role="option"], #search-list [role="option"] { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 700px) {
  .masthead { min-height: 77px; box-sizing: border-box; }
  .masthead-row {
    flex-direction: row;
    align-items: center;
    gap: .4rem;
    padding-block: .4rem;
  }
  .kicker { display: none; }
  .wordmark { min-width: 0; flex: 1 1 auto; }
  .wordmark-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .search-toggle, .asset-jump { display: inline-flex; }
  .search-toggle {
    background: var(--key);
    color: #000;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid #000;
    padding: 0 .55rem;
    cursor: pointer;
  }
  .asset-jump {
    font: inherit;
    background: #000;
    color: var(--data);
    border: 1px solid var(--field);
    max-width: 7.5rem;
  }
  .fnkeys { display: block; height: 47px; overflow: hidden; }
  .fnkeys-row { flex-wrap: nowrap; padding-block: 1px; align-items: center; }
  .fnkeys .asset-select { display: none; }
  .fnkey { height: 44px; }
  .desk-search { display: none; }
  .search-open:checked ~ .desk-search { display: flex; }
  .search-open:focus-visible + .masthead-row .search-toggle {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
  }
}
