/* LOUD page. A departures board at night: dark page, one signal colour, big type.
   System fonts only, no external assets: a condensed display face, the system sans and mono. */

:root {
  --paper: #0b0b0c;
  --paper-2: #141416;
  --panel: #18181b;
  --ink: #f4f1e8;
  --ink-2: #b5b0a3;
  --rule: #2e2d2a;
  --accent: #ffd400;
  --accent-ink: #0b0b0c;
  --fail: #ff6b4a;
  --ok: #7ddc8a;
  --board: #000000;
  --board-2: #101010;
  --board-line: #262626;
  --warm: #f4f1e8;
  --amber: #ffd400;
  --dim: #8f8a7c;
  --coral: #ff8a6b;
  --display: "Barlow Condensed", "DIN Condensed", "Avenir Next Condensed", Bahnschrift, "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --serif: var(--sans);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: var(--amber); color: var(--board); }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

h1, h2, h3, p, ol, ul, dl, dd, figure, summary { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--ink); }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--paper-2);
  padding: 0 3px;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.board :focus-visible { outline-color: var(--amber); }

.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 8px; color: var(--paper); }

.masthead, main, .foot {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Masthead */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.wordmark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.32em;
}
.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-family: var(--mono);
  font-size: 13px;
}
.masthead nav a { color: var(--ink); text-decoration: none; padding: 4px 0; }
.masthead nav a:hover { text-decoration: underline; }

/* Lede */

.lede { padding: 40px 0 28px; max-width: 960px; }
.kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
h1 {
  font-size: clamp(31px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 10px 0 16px;
  text-wrap: balance;
}
.claim { font-size: 20px; max-width: 40em; color: var(--ink-2); }

/* Board */

.board {
  background: var(--board);
  color: var(--warm);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  padding: 18px 22px 16px;
}
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  padding-bottom: 12px;
}
.board h2 {
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}
.board-clock { font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.board-clock b { color: var(--warm); font-size: 18px; letter-spacing: 0.04em; margin-left: 6px; }
.board-source { margin-left: auto; display: flex; }
.board-sub { padding-bottom: 12px; font-size: 13px; line-height: 1.45; color: var(--dim); }

.board button {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  background: transparent;
  border: 1px solid var(--dim);
  padding: 6px 10px;
  min-height: 32px;
  cursor: pointer;
}
.board button + button { margin-left: -1px; }
.board button:hover:not(:disabled) { border-color: var(--amber); color: var(--amber); position: relative; }
.board button[aria-pressed="true"] { background: var(--warm); color: var(--board); border-color: var(--warm); }
.board button:disabled { color: var(--dim); border-color: var(--board-line); cursor: default; }

.board-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 3px;
  table-layout: fixed;
}
.board-table th {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: var(--dim);
  padding: 0 12px 4px;
}
.board-table td {
  background: var(--board-2);
  padding: 9px 12px;
  font-size: 15px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.board-table .c-id { width: 68px; }
.board-table .c-amt { width: 104px; text-align: right; }
.board-table .c-shout, .board-table .c-ready { width: 108px; }
.board-table .c-status { width: 30%; }
.board-table .c-act { width: 150px; }
.board-table.with-actions .c-id { width: 44px; }
.board-table.with-actions .c-amt { width: 72px; }
.board-table.with-actions .c-shout, .board-table.with-actions .c-ready { width: 78px; }
.board-table.with-actions .c-status { width: 24%; }
.board-table.with-actions .c-act { width: 128px; }
.board-table.with-actions td { padding-left: 10px; padding-right: 10px; }
.board-table.with-actions th { padding-left: 10px; padding-right: 10px; }
.board-table td.c-status { white-space: normal; }
.board-table td.c-act { white-space: normal; padding-top: 6px; padding-bottom: 6px; }
.board-table td.c-id { color: var(--dim); }
.board-empty td { color: var(--dim); white-space: normal; font-size: 14px; }

.status { display: inline-block; font-weight: 700; letter-spacing: 0.12em; transform-origin: 50% 50%; }
.status[data-status="NOTICE"] { color: var(--amber); }
.status[data-status="BOARDING"] { background: var(--amber); color: var(--board); padding: 0 6px; }
.status[data-status="LEFT"] { color: var(--dim); }
.status[data-status="CAUGHT"] { color: var(--warm); }
.status[data-status="EXPIRED"] { color: var(--coral); }
.detail { display: inline-block; margin-left: 10px; font-size: 12px; letter-spacing: 0.02em; color: var(--dim); }
tr[data-status="LEFT"] td, tr[data-status="CAUGHT"] td { color: var(--dim); }

@media (prefers-reduced-motion: no-preference) {
  .status.flip-out { animation: flip-out 150ms ease-in forwards; }
  .status.flip-in { animation: flip-in 170ms ease-out; }
  @keyframes flip-out { to { transform: rotateX(90deg); } }
  @keyframes flip-in { from { transform: rotateX(-90deg); } to { transform: rotateX(0); } }
}

.board-scope { padding-top: 10px; font-size: 12px; line-height: 1.45; color: var(--dim); }
.board-scope button { margin-left: 8px; padding: 3px 8px; min-height: 26px; }

.board-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 10px;
  font-size: 12px;
  color: var(--dim);
}
.cap { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.cap-label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; }
.cap-bar { display: inline-block; width: 140px; height: 10px; border: 1px solid var(--dim); }
.cap-bar > span { display: block; height: 100%; width: 0; background: var(--amber); }
.cap-text { color: var(--warm); font-size: 13px; }
.board-note { flex: 1 1 320px; font-size: 12px; line-height: 1.45; letter-spacing: 0; }
.board-controls { display: flex; margin-left: auto; }
.board-legend {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--board-line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim);
}
.board-legend b { color: var(--warm); letter-spacing: 0.1em; font-weight: 700; }

.board-inline { margin-top: 18px; padding: 14px 16px 12px; }

/* Summary */

.summary { padding-top: 26px; }
.summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-bottom: 1px solid var(--rule);
}
.summary dl > div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
}
.summary dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.summary dd { font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; }

/* Section rows */

.row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0 48px;
  padding: 44px 0 8px;
  margin-top: 44px;
  border-top: 1px solid var(--ink);
}
.row-head h2 { font-size: 26px; line-height: 1.15; font-weight: 700; }
.say { font-size: 23px; line-height: 1.3; max-width: 31em; text-wrap: pretty; }
.say code { font-size: 0.8em; }
.row-body > * + * { margin-top: 18px; }
.row-body h3 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 30px;
}
.row-body > h3:first-child { margin-top: 0; }
.row-body > p:not(.say) { max-width: 44em; }
.fine { font-size: 14.5px; color: var(--ink-2); }

.plain li { position: relative; padding-left: 20px; max-width: 44em; }
.plain li + li { margin-top: 6px; }
.plain li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }

/* the door: one ruled timeline; the wait and leave columns follow 30 min and 60 min */
.door {
  counter-reset: door;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 2fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.door li { counter-increment: door; padding: 14px 20px 18px 0; }
.door li + li { border-left: 1px solid var(--ink); padding-left: 18px; }
.door li::before {
  content: counter(door);
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.door b { display: block; font-size: 25px; line-height: 1.12; margin-bottom: 6px; }
.door span { font-size: 16px; line-height: 1.4; display: block; color: var(--ink-2); }
.door-notice { background: var(--paper-2); }
.row-body > .law { margin-top: 0; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 18px; max-width: none; }
.row-body > .door + .law { margin-top: 6px; }

/* collapsed detail under the claim it qualifies */
.fine-print { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.row-body > .law + .fine-print { border-top: 0; margin-top: 0; }
.row-body > .fine-print + .fine-print { border-top: 0; margin-top: 0; }
.fine-print > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 11px 0;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fine-print > summary::-webkit-details-marker { display: none; }
.fine-print > summary::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
}
.fine-print[open] > summary::before { background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat; }
.fine-print > summary:hover { color: var(--accent); }
.fine-print > :not(summary) { margin: 0 0 14px 21px; max-width: 44em; font-size: 15.5px; color: var(--ink-2); }
.fine-print > :not(summary) + :not(summary) { margin-top: 12px; }
.fine-print .plain li::before { background: var(--ink-2); }

/* Controls */

button, input { font: inherit; color: inherit; }

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 28px;
}
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; }
legend {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0 0 6px;
  float: left;
  width: 100%;
}
fieldset label { position: relative; margin-right: -1px; }
fieldset input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
fieldset label span {
  display: block;
  min-width: 58px;
  text-align: center;
  font-family: var(--mono);
  font-size: 15px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
fieldset input:checked + span { background: var(--ink); color: var(--paper); }
fieldset input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.row-body button, .view button {
  font-family: var(--mono);
  font-size: 14px;
  padding: 8px 14px;
  min-height: 38px;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.row-body button:hover:not(:disabled) { background: var(--paper-2); }
.row-body button.primary { background: var(--ink); color: var(--paper); padding-left: 26px; padding-right: 26px; letter-spacing: 0.08em; text-transform: uppercase; }
.row-body button.primary:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.row-body button:disabled { color: var(--ink-2); border-color: var(--rule); cursor: default; }
.row-body button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.row-body button.link {
  border: 0;
  background: none;
  padding: 0 2px;
  min-height: 0;
  font-size: 12px;
  color: var(--accent);
  text-decoration: underline;
  text-transform: none;
  letter-spacing: 0;
}
.row-body .board button { font-size: 12px; padding: 5px 9px; min-height: 30px; border-color: var(--dim); background: transparent; color: var(--warm); }
.row-body .board button:hover:not(:disabled) { background: transparent; }

.run-status { font-family: var(--mono); font-size: 13px; color: var(--ink-2); min-height: 1.5em; flex-basis: 100%; }

/* Split results */

.verdicts { border-top: 2px solid var(--ink); }
.verdicts li {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 3px 20px;
  align-items: baseline;
  padding: 14px 0 13px;
  border-bottom: 1px solid var(--rule);
}
.v-rule {
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.v-line { font-size: clamp(22px, 2.7vw, 31px); line-height: 1.14; color: var(--fail); }
.v-sub { grid-column: 2; font-size: 15px; color: var(--ink-2); }
/* the LOUD line is set like a row of the board */
.verdicts li[data-rule="loud"] { background: var(--board); padding: 16px 18px 15px; border-bottom: 0; }
.verdicts li[data-rule="loud"] .v-rule { color: var(--warm); }
.verdicts li[data-rule="loud"] .v-line { color: var(--amber); font-family: var(--mono); font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 0.02em; }
.verdicts li[data-rule="loud"] .v-sub { color: var(--dim); }
/* one real launch, set in the same lines */
.row-body h3.real-head { font-family: var(--serif); font-size: 23px; line-height: 1.3; letter-spacing: 0; text-transform: none; margin-top: 34px; }
.row-body > .real-head + .real-case { margin-top: 12px; }
.real-src code { font-size: 12.5px; overflow-wrap: anywhere; }

.result li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.result li:first-child { border-top: 1px solid var(--rule); }

figure { margin-top: 26px !important; }
figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-size: 15px;
  margin-bottom: 8px;
}
.legend { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.legend svg { vertical-align: middle; }
.view { margin-left: auto; display: flex; }
.view button { font-size: 12px; padding: 5px 10px; min-height: 32px; }
.view button + button { margin-left: -1px; }

.plots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }
.plot h3 { margin: 0 0 2px; font-size: 12px; }
.chart { width: 100%; min-height: 60px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }

.l-split { stroke: var(--accent); stroke-width: 3.5; fill: none; stroke-linejoin: round; }
.l-single { stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 4 3; fill: none; }
.l-naive { stroke: var(--ink-2); stroke-width: 1.3; stroke-dasharray: 2 3; fill: none; }
.l-pw { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 7 4; fill: none; }
.l-loud { stroke: var(--accent); stroke-width: 3; fill: none; stroke-linejoin: round; }
.axis { stroke: var(--ink); stroke-width: 1; }
.grid { stroke: var(--rule); stroke-width: 1; }
.mark { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 1 3; }
.chart text { font-family: var(--mono); font-size: 11px; fill: var(--ink-2); }
.chart text.series { fill: var(--ink); font-size: 12px; }
.chart text.series-loud { fill: var(--accent); font-weight: 700; font-size: 12px; }

/* Tables */

.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td {
  text-align: left;
  vertical-align: top;
  padding: 8px 14px 8px 0;
  border-bottom: 1px solid var(--rule);
}
table.data thead th {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 2px solid var(--ink);
  vertical-align: bottom;
}
table.data tbody th { font-weight: 700; white-space: nowrap; }
#split-table td:not(:first-child), table.params td:nth-child(2) { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#split-table tr[data-rule="loud"] td { font-weight: 700; }
#split-table .sub { display: block; font-weight: 400; font-size: 12px; color: var(--ink-2); white-space: normal; }


/* Sandbox */

/* the guided path; app.js marks the steps the call log already shows */
.path { counter-reset: p; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; font-size: 15px; line-height: 1.4; }
.path li { counter-increment: p; display: grid; grid-template-columns: 24px minmax(0, 1fr); padding: 8px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.path li::before { content: counter(p); font-family: var(--mono); font-size: 12px; padding-top: 2px; }
.path li[aria-current] { color: var(--ink); border-top-color: var(--ink); }
.path li[aria-current]::before { font-weight: 700; color: var(--accent); }
.path li[data-done="true"]::before { content: ""; width: 9px; height: 9px; margin-top: 6px; padding: 0; background: var(--ink-2); }

.label, .sb-account dt, .facts dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sb-clock { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; border-top: 2px solid var(--ink); padding-top: 12px; }
.sb-clock b { font-family: var(--mono); font-size: 22px; margin: 0 10px 0 6px; font-variant-numeric: tabular-nums; }
#sb-window { font-size: 15px; }
.skip-buttons { display: flex; flex-wrap: wrap; }
.skip-buttons button { margin-right: -1px; }
#sb-reset { margin-left: 12px; }

.sb-account { display: grid; grid-template-columns: repeat(5, auto); gap: 6px 28px; justify-content: start; }
.sb-account dd { font-family: var(--mono); font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.sb-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; }
.sb-actions form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 0; align-content: start; }
.sb-actions label { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.sb-actions input {
  min-width: 0;
  width: 100%;
  font-family: var(--mono);
  font-size: 15px;
  padding: 8px 10px;
  min-height: 38px;
  border: 1px solid var(--ink);
  border-right: 0;
  background: var(--panel);
  border-radius: 0;
}
.sb-extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--ink-2); }

.sb-result { border: 1px solid var(--ink); padding: 12px 14px; min-height: 76px; background: var(--panel); }
.sb-result .call { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); }
.sb-result .msg { font-family: var(--mono); font-size: 14.5px; margin-top: 4px; overflow-wrap: anywhere; }
.sb-result[data-ok="false"] .msg { color: var(--fail); font-weight: 700; }
.sb-result .hint { font-size: 14.5px; margin-top: 6px; color: var(--ink-2); }

.sb-log summary { font-family: var(--mono); font-size: 13px; cursor: pointer; padding: 6px 0; }
.sb-log ol { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; max-height: 260px; overflow: auto; border-top: 1px solid var(--rule); }
.sb-log li { padding: 5px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.sb-log li[data-ok="false"] { color: var(--fail); }

/* Proof */

.proof-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.proof-facts li { display: flex; flex-direction: column; gap: 7px; padding: 16px 22px 16px 0; }
.proof-facts li + li { border-left: 1px solid var(--rule); padding-left: 22px; }
.proof-facts li:only-child { grid-column: 1 / -1; }
.proof-facts b { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.14; text-wrap: balance; }
.proof-facts span { font-size: 15px; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
.proof-facts a { margin-top: auto; font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.proof-facts li[data-state="failed"] b { color: var(--fail); }
.proof-facts li[data-state="pending"] b { color: var(--ink-2); font-weight: 400; font-style: italic; }

.state { font-size: 18px; font-weight: 700; padding-left: 0; }
.state[data-state="pending"] { color: var(--ink-2); font-weight: 400; font-style: italic; }
.state[data-state="failed"] { color: var(--fail); }
.facts { border-top: 1px solid var(--rule); }
.facts:empty { display: none; }
.facts > div { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2px 18px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.fine-print .facts dd { color: var(--ink); }
.fine-print .state { font-size: 16px; }
.facts dd { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
td.res { font-family: var(--mono); font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
td.res[data-result="FAIL"] { color: var(--fail); }
table.steps td { overflow-wrap: anywhere; }
.fine-print > .table-scroll { max-width: none; }
table.steps td.res { width: 76px; padding-right: 0; text-align: right; }
table.steps .expect { display: block; font-size: 14px; color: var(--ink-2); }
table.steps details { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
table.steps summary { cursor: pointer; padding: 7px 0; font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
table.steps details p { margin: 4px 0 0; max-width: 46em; }
table.steps details b { color: var(--ink); }
.txs { max-height: 240px; overflow: auto; margin-top: 6px; font-family: var(--mono); font-size: 12.5px; }
.txs li { padding: 2px 0; }
.txs .bad { color: var(--fail); }

/* Limits */

.limits { border-top: 2px solid var(--ink); }
.limits > div { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 3px 26px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.limits dt { font-weight: 700; line-height: 1.3; }
.limits dd { max-width: 40em; }
.fine-print .limits { border-top: 1px solid var(--rule); }
.fine-print .limits > div:last-child { border-bottom: 0; }
.fine-print .limits dt { color: var(--ink); }
.fine-print > dl { max-width: none; }

/* Footer */

.foot { margin-top: 64px; padding-top: 18px; padding-bottom: 40px; border-top: 2px solid var(--ink); font-size: 14.5px; color: var(--ink-2); }
.foot p + p { margin-top: 4px; }
.foot b { color: var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.noscript { max-width: 1180px; margin: 0 auto; padding: 0 32px 32px; font-size: 15px; }

/* Narrow */

@media (max-width: 1180px) {
  .board-table.with-actions .c-shout { display: none; }
}

@media (max-width: 960px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 30px; margin-top: 34px; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary dl { grid-template-columns: minmax(0, 1fr); }
  .proof-facts { grid-template-columns: minmax(0, 1fr); }
  .proof-facts li { padding-right: 0; }
  .proof-facts li + li { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .plots { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sb-account { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .masthead, main, .foot, .noscript { padding-left: 16px; padding-right: 16px; }
  .masthead { flex-direction: column; gap: 6px; }
  .lede { padding: 24px 0 20px; }
  .claim { font-size: 17px; }
  .board { margin-left: -16px; margin-right: -16px; padding: 14px 12px 12px; }
  .board-inline { margin-left: 0; margin-right: 0; padding: 12px 8px 10px; }
  .board h2 { font-size: 18px; }
  .board-source { margin-left: 0; }
  .board-table .c-id, .board-table .c-shout { display: none; }
  .board-table th { padding: 0 6px 4px; font-size: 11px; letter-spacing: 0.08em; }
  .board-table td { padding: 8px 6px; font-size: 12.5px; letter-spacing: 0; }
  .board-table .c-amt { width: 58px; }
  .board-table .c-ready { width: 76px; }
  .board-table .c-status { width: 34%; }
  .board-table .c-act { width: 64px; }
  .board-table.with-actions .c-acct { display: none; }
  .board-table.with-actions .c-amt { width: 60px; }
  .board-table.with-actions .c-ready { width: 62px; }
  .board-table.with-actions .c-status { width: auto; }
  .board-table.with-actions .c-act { width: 72px; }
  .board-table.with-actions td, .board-table.with-actions th { padding-left: 6px; padding-right: 6px; }
  .cap { flex: 1 1 100%; flex-wrap: wrap; min-width: 0; }
  .cap-text { flex: 1 1 100%; }
  .board-table td.c-act button { display: block; width: 100%; margin: 0 0 3px; padding: 4px 2px; letter-spacing: 0; }
  .status { letter-spacing: 0.06em; }
  .status[data-status="BOARDING"] { padding: 0 3px; }
  .detail { display: block; margin-left: 0; font-size: 11px; }
  .board-controls { margin-left: 0; }
  .door { grid-template-columns: minmax(0, 1fr); }
  .door li { padding: 12px 0 14px; }
  .door li + li { border-left: 0; border-top: 1px solid var(--ink); padding-left: 0; }
  .door-notice { padding-left: 10px !important; padding-right: 10px !important; }
  .door b { font-size: 22px; }
  .say { font-size: 20px; }
  .row-body > .law { font-size: 17px; }
  .path { grid-template-columns: minmax(0, 1fr); }
  .summary dl > div { grid-template-columns: minmax(0, 1fr); }
  .verdicts li { grid-template-columns: minmax(0, 1fr); }
  .v-rule { grid-row: auto; }
  .v-sub { grid-column: 1; }
  .verdicts li[data-rule="loud"] { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .limits > div { grid-template-columns: minmax(0, 1fr); }
  .fine-print > :not(summary) { margin-left: 0; }
  .sb-actions { grid-template-columns: minmax(0, 1fr); }
  .view { margin-left: 0; }
  table.data { font-size: 14px; }
  table.steps td.res { width: 52px; }
  table.params, table.params tbody, table.params tr, table.params th, table.params td { display: block; }
  table.params thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.params tbody th { border-bottom: 0; padding: 10px 0 0; }
  table.params td { border-bottom: 0; padding: 2px 0; white-space: normal !important; }
  table.params tr { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
}

@media (max-width: 720px) {
  #split-table td:not(:first-child) { white-space: normal; font-size: 13px; }
  #split-table th, #split-table td { padding-right: 8px; }
}

/* Use it on testnet */
.try-wallets { border-top: 2px solid var(--ink); padding-top: 14px; }
.try-wallet-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.try-wallet-buttons button:not(.link):first-of-type { background: var(--ink); color: var(--paper); }
.try-wallet-buttons button:not(.link):first-of-type:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
/* The test wallet stays the main path: the wallet-app row is secondary. */
.try-wallet-buttons.try-connect { margin-top: 10px; }
.try-wallet-buttons.try-connect button:not(.link):first-of-type { background: transparent; color: var(--ink); }
.try-wallet-buttons.try-connect button:not(.link):first-of-type:hover:not(:disabled) { background: transparent; color: var(--accent); border-color: var(--accent); }
#try-stop-wait { margin: 0 0 8px; }
.try-wallets .fine { margin-top: 10px; max-width: 44em; }
.try-account dd a { overflow-wrap: anywhere; }
.sb-actions .try-first { grid-column: 1 / -1; margin: 0; }
.sb-actions > .fine { grid-column: 1 / -1; margin: 0; max-width: 52em; }
.sb-actions > #try-claim { grid-column: 1 / -1; justify-self: start; }
.mock-banner {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--fail);
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sb-result[data-ok="unknown"] .msg { color: var(--accent); font-weight: 700; }
.sb-log li[data-ok="unknown"] { color: var(--accent); }
.try-import { margin-top: 10px; max-width: 44em; }
.try-import form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 8px; }
.try-import label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.try-import input { font-family: var(--mono); font-size: 14px; padding: 8px 10px; min-height: 38px; border: 1px solid var(--ink); border-radius: 0; background: var(--panel); min-width: 0; }
.try-import button { justify-self: start; margin-top: 8px; }
#try-pending { font-size: 16px; }
#try-result .hint a { font-family: var(--mono); font-size: 13.5px; }
#try-log a { margin-left: 4px; }
#try-facts { margin-bottom: 4px; }
@media (max-width: 960px) {
  .try-account { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .try-account > div:first-child { grid-column: 1 / -1; }
}
#try-app > * + * { margin-top: 18px; }
#try-app > .fine { margin-top: 10px; }
#try-app > #try-other { margin-top: 6px; }

.try-stale { display: block; margin: 10px 12px 0; color: #cfc8b4; font-size: 12px; text-align: left; }
.try-stale:hover:not(:disabled) { color: #ffd400; }
.try-wallets .fine { margin: 8px 0 0; max-width: 62ch; }

/* ===== Night board theme: the page is a departures board at night ===== */

html { background: var(--paper); color-scheme: dark; }
h1, h2, .wordmark, .try-steps b { font-stretch: 75%; }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
main { counter-reset: sec; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
code { background: var(--panel); color: var(--ink); border: 1px solid var(--rule); padding: 0 4px; }
.skip { background: var(--accent); color: var(--accent-ink); }
.skip:focus { color: var(--accent-ink); }

/* masthead */
.masthead { position: relative; align-items: center; border-bottom: 0; padding-top: 16px; padding-bottom: 16px; }
.masthead::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; height: 3px; background: var(--accent); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: 0.08em; color: var(--accent); }
.masthead nav { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; gap: 6px 22px; align-items: center; }
.masthead nav a { color: var(--ink-2); padding: 6px 0; }
.masthead nav a:hover { color: var(--accent); text-decoration: none; }
.masthead nav a[href="launch.html"] { color: var(--accent); border: 1px solid var(--accent); padding: 6px 12px; }
.masthead nav a[href="launch.html"]:hover { background: var(--accent); color: var(--accent-ink); }

/* hero */
.lede { padding: 56px 0 36px; max-width: none; }
.kicker { color: var(--accent); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; }
h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
  margin: 16px 0 26px;
  max-width: 13em;
}
.claim { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 46em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ink-2);
}
.btn:hover { color: var(--accent); border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--accent-ink); }

/* boards: pure black, hairline rows, split-flap status tiles */
.board { background: var(--board); border: 1px solid var(--board-line); border-top: 3px solid var(--accent); padding: 20px 24px 18px; }
.board h2 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: 0.12em; color: var(--accent); line-height: 1; }
.board-clock b { color: var(--warm); }
.board-sub { color: var(--dim); max-width: 70em; }
.board-table { border-collapse: collapse; border-spacing: 0; }
.board-table th { border-bottom: 1px solid var(--board-line); padding-bottom: 8px; color: var(--dim); }
.board-table td { background: transparent; border-bottom: 1px solid var(--board-line); padding-top: 11px; padding-bottom: 11px; }
.board-table tbody tr:hover td { background: var(--board-2); }
.board-empty td { border-bottom: 0; }
.status {
  font-weight: 600;
  font-size: 0.82em;
  letter-spacing: 0.16em;
  padding: 3px 8px 2px;
  background: #141414;
  border: 1px solid var(--board-line);
  border-bottom-color: #000;
  box-shadow: inset 0 -1px 0 #0a0a0a, inset 0 1px 0 #202020;
}
.status[data-status="NOTICE"] { color: var(--amber); }
.status[data-status="BOARDING"] { background: #141414; color: var(--ok); padding: 3px 8px 2px; }
.status[data-status="LEFT"], .status[data-status="CAUGHT"] { color: var(--dim); }
.status[data-status="EXPIRED"] { color: var(--coral); }
.board button { border-color: #5c5a52; min-height: 34px; }
.board button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cap-bar { border-color: #5c5a52; height: 12px; }
.board-legend b { color: var(--warm); }
.board-inline { border-top-width: 3px; }

/* sections */
.row { border-top: 1px solid var(--rule); counter-increment: sec; padding-top: 48px; margin-top: 56px; }
.row-head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: 0.98; letter-spacing: 0.01em; }
.row-head h2::before {
  content: counter(sec, decimal-leading-zero) " /";
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}
.say { font-size: 21px; line-height: 1.4; color: var(--ink); max-width: 34em; }
.fine { color: var(--ink-2); }
.row-body h3 { color: var(--ink); }
.state[data-state="pending"] { font-style: normal; font-family: var(--mono); font-size: 14px; color: var(--accent); }
.fine-print > summary { color: var(--ink); }
.fine-print > summary:hover { color: var(--accent); }

/* buttons and inputs */
.row-body button, .view button {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--ink-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.row-body button:hover:not(:disabled) { background: transparent; border-color: var(--accent); color: var(--accent); }
.row-body button:active:not(:disabled) { transform: translateY(1px); }
.row-body button:disabled { color: var(--dim); border-color: var(--rule); opacity: 0.6; }
.row-body button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.row-body button.primary,
.row-body .sb-actions form > button[type="submit"],
.row-body #try-new,
.row-body .try-import button[type="submit"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 600;
}
.row-body button.primary:hover:not(:disabled),
.row-body .sb-actions form > button[type="submit"]:hover:not(:disabled),
.row-body #try-new:hover:not(:disabled),
.row-body .try-import button[type="submit"]:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--accent-ink); }
.row-body button.primary:disabled,
.row-body .sb-actions form > button[type="submit"]:disabled,
.row-body #try-new:disabled { background: #57500f; border-color: #57500f; color: #0b0b0c; opacity: 1; }
.row-body button.link { min-height: 0; padding: 0 2px; border: 0; font-size: 12px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.row-body button.link:hover:not(:disabled) { color: var(--ink); }
.row-body .board button { min-height: 34px; padding: 5px 10px; font-size: 12px; border-color: #5c5a52; color: var(--warm); }
.row-body .board button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.row-body .board button.link { border: 0; color: var(--dim); min-height: 0; }
.row-body .board button.link:hover:not(:disabled) { color: var(--accent); }
fieldset label span { font-family: var(--mono); border-color: var(--ink-2); background: transparent; min-height: 44px; display: flex; align-items: center; justify-content: center; }
fieldset input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.sb-actions input, .try-import input {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-right: 0;
  color: var(--ink);
  min-height: 44px;
  font-size: 15px;
}
.try-import input { border-right: 1px solid var(--rule); }
.sb-actions input:focus, .try-import input:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.sb-actions { gap: 14px; }
.sb-actions form { background: var(--paper-2); border: 1px solid var(--rule); padding: 14px 14px 16px; gap: 8px 0; }
.sb-actions label { color: var(--ink); font-size: 12.5px; letter-spacing: 0.1em; font-weight: 500; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }

/* result box: state on the left edge */
.sb-result { background: var(--panel); border: 0; border-left: 3px solid var(--dim); padding: 14px 16px; }
.sb-result[data-ok="true"] { border-left-color: var(--ok); }
.sb-result[data-ok="false"] { border-left-color: var(--fail); }
.sb-result[data-ok="unknown"] { border-left-color: var(--accent); }
.sb-result .call { color: var(--dim); }
.sb-result .msg { color: var(--ink); }
.sb-result .hint { color: var(--ink-2); }
.sb-log summary { text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); min-height: 44px; display: flex; align-items: center; gap: 8px; }
.sb-log summary:hover { color: var(--accent); }
.sb-clock { border-top-color: var(--rule); }
.mock-banner { background: var(--fail); color: #0b0b0c; }

/* Use it on testnet: an app, not a paragraph */
.try-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); }
.try-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.try-steps li + li { border-left: 1px solid var(--rule); }
.try-steps b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--accent); }
.try-wallets { border-top: 0; padding-top: 0; }
.try-entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.try-entry-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.try-entry-col > button { width: 100%; min-height: 60px; font-size: 15px; letter-spacing: 0.08em; }
.try-wallets .try-entry-col .fine { margin: 0; max-width: none; font-size: 14px; line-height: 1.45; }
.try-wallet-buttons { margin-top: 14px; gap: 10px 12px; }
.try-wallet-buttons:not(:has(button:not([hidden]))) { display: none; }
.try-wallet-buttons button:not(.link):first-of-type,
.try-wallet-buttons.try-connect button:not(.link):first-of-type { background: transparent; color: var(--ink); }
.try-wallet-buttons button:not(.link):first-of-type:hover:not(:disabled) { background: transparent; border-color: var(--accent); color: var(--accent); }
.try-wallets .fine { max-width: 70ch; }
.try-account {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
  gap: 0;
  justify-content: stretch;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
}
.try-account > div { padding: 12px 16px 14px; min-width: 0; }
.try-account > div + div { border-left: 1px solid var(--rule); }
.try-account dt { color: var(--dim); }
.try-account dd { font-size: 24px; line-height: 1.2; font-weight: 500; color: var(--ink); margin-top: 4px; }
.try-account > div:first-child dd { font-size: 14px; line-height: 1.5; font-weight: 400; }
.try-import input { background: var(--panel); }
.try-stale { color: var(--dim); }
#try-pending { font-size: 14px; }
#try-facts { border-top-color: var(--rule); }
.facts dt { color: var(--dim); }
.facts dd { color: var(--ink-2); }

/* footer */
.foot { border-top: 3px solid var(--accent); }

@media (max-width: 960px) {
  .row-head h2 { font-size: 34px; }
  .try-account { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .try-account > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); }
  .try-account > div + div { border-left: 0; }
  .try-account > div:nth-child(2n+3) { border-left: 1px solid var(--rule); }
  .try-account > div:nth-child(n+4) { border-top: 1px solid var(--rule); }
}

@media (max-width: 720px) {
  .masthead { align-items: flex-start; }
  .masthead::after { left: 16px; right: 16px; }
  .wordmark { font-size: 32px; }
  .masthead nav { gap: 2px 16px; font-size: 12px; }
  .lede { padding: 32px 0 24px; }
  h1 { font-size: clamp(42px, 12.5vw, 72px); margin: 12px 0 18px; }
  .claim { font-size: 16.5px; }
  .btn { flex: 1 1 100%; }
  .board { border-left: 0; border-right: 0; }
  .board-inline { border: 1px solid var(--board-line); border-top: 3px solid var(--accent); }
  .board h2 { font-size: 24px; }
  .say { font-size: 18.5px; }
  .try-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .try-steps li { padding: 8px 10px; font-size: 11.5px; gap: 8px; }
  .try-steps li + li { border-left: 0; }
  .try-steps li:nth-child(2n) { border-left: 1px solid var(--rule); }
  .try-steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .try-steps b { font-size: 24px; }
  .try-entry { grid-template-columns: minmax(0, 1fr); }
  .try-account dd { font-size: 20px; }

  /* the live board becomes one block per exit: nothing runs together on a phone */
  .board-table.with-actions, .board-table.with-actions tbody { display: block; width: 100%; }
  .board-table.with-actions thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .board-table.with-actions tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 4px; border-bottom: 1px solid var(--board-line); }
  .board-table.with-actions td { display: block; width: auto !important; padding: 0 !important; border-bottom: 0; background: transparent !important; white-space: normal; font-size: 13px; }
  .board-table.with-actions td.c-id, .board-table.with-actions td.c-shout { display: none; }
  .board-table.with-actions td.c-acct { display: block; grid-column: 1 / -1; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .board-table.with-actions td.c-amt { grid-column: 1; text-align: left; font-size: 18px; color: var(--warm); }
  .board-table.with-actions td.c-amt::after { content: " LOUD left"; font-size: 11px; letter-spacing: 0.08em; color: var(--dim); }
  .board-table.with-actions td.c-ready { grid-column: 2; text-align: right; align-self: end; color: var(--dim); }
  .board-table.with-actions td.c-ready::before { content: "ready "; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
  .board-table.with-actions td.c-status { grid-column: 1 / -1; }
  .board-table.with-actions td.c-act { grid-column: 1 / -1; display: flex; gap: 8px; }
  .board-table.with-actions td.c-act:empty { display: none; }
  .board-table.with-actions td.c-act button { flex: 1 1 0; display: block; width: auto; margin: 0; min-height: 40px; padding: 6px 8px; letter-spacing: 0.06em; }
  .board-table.with-actions tr.board-empty { display: block; }
  .board-table.with-actions tr.board-empty td { display: block; }
  .board-table.with-actions .detail { display: inline-block; margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .row-body button:active:not(:disabled) { transform: none; }
}

/* figures stay on one line; board actions sit side by side */
.try-account dd { font-size: clamp(14px, 1.25vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.try-account > div:first-child dd { white-space: normal; overflow-wrap: anywhere; }
.board-table.with-actions .c-act { width: 212px; }
.board-table.with-actions td.c-act { display: table-cell; }
.board-table.with-actions td.c-act button { white-space: nowrap; margin: 0 6px 4px 0; }
.board-table.with-actions td.c-act button + button { margin-left: 0; }
@media (max-width: 720px) {
  .try-account dd { font-size: 20px; }
  .board-table.with-actions td.c-act { display: flex; }
  .board-table.with-actions td.c-act button { margin: 0; }
}
