/* Injective website brand palette and typography. See assets/README.md for sources. */
@font-face {
  font-family: 'ABC Marist';
  src: url('assets/fonts/ABCMaristVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Commons';
  src: url('assets/fonts/TTCommons-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'TT Commons';
  src: url('assets/fonts/TTCommons-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Whyte Mono';
  src: url('assets/fonts/ABCWhyteMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ocean: #4d3dff;
  --ocean-hover: #5359f9;
  --snow: #eeefff;
  --snow-tint: #d7dbff;
  --space-gray: #121212;
  --bg: #000;
  --panel: var(--space-gray);
  --surface-active: #202020;
  --line: #282828;
  --line-active: #404040;
  --muted: #a5abb6;
  --text: var(--snow);
  --lime: #ceffc8;
  --coral: #ffa36e;
  /* Tinted surfaces are UI adaptations of the brand palette. */
  --ocean-surface: #17132b;
  --coral-surface: #2a1c15;
  --mono: 'ABC Whyte Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --body: 'ABC Marist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --label: 'TT Commons', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-card: 16px;
  --radius-control: 4px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); }
a { color: var(--snow-tint); text-underline-offset: 4px; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:where(button, a, input, select, summary):focus-visible { outline: 2px solid var(--snow-tint); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 24px; border-radius: 32px; color: #fff; background: var(--ocean); }
.skip-link:focus { top: 12px; }
header { min-height: 88px; padding: 16px 40px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--snow); display: flex; gap: 24px; align-items: center; font: 20px/28px var(--label); }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: 160px; height: 32px; flex-shrink: 0; }
.divider { width: 1px; height: 24px; background: var(--line-active); font-size: 0; }
.pill, .tag { display: inline-block; font: 14px/20px var(--label); letter-spacing: .6px; color: var(--muted); border: 1px solid var(--line-active); padding: 6px 10px; border-radius: var(--radius-control); }
.pill { border-radius: 32px; padding: 8px 16px; white-space: nowrap; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin: 0 6px; }
.shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); max-width: 1728px; margin: auto; }
aside { padding: 40px 24px; border-right: 1px solid var(--line); }
.eyebrow { font: 14px/20px var(--label); letter-spacing: 1px; color: var(--muted); }
h2 { font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: -.5px; }
aside h2 { font-size: 24px; margin: 12px 0; }
p { margin: 8px 0 16px; }
.muted { color: var(--muted); }
nav h3 { font: 14px/20px var(--label); letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin: 24px 0 8px; }
nav button { display: flex; align-items: center; gap: 8px; text-align: left; width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: var(--radius-control); background: none; color: var(--muted); font: 18px/24px var(--label); }
nav button span { font: 13px/20px var(--mono); min-width: 36px; }
nav button:hover { background: var(--panel); color: var(--snow); }
nav button.active { color: #fff; background: var(--ocean); border-color: var(--ocean); }
.aside-note { font: 14px/24px var(--label); color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; }
main { padding: 40px; min-width: 0; }
.intro { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.intro h1 { font-size: clamp(36px, 3.5vw, 56px); line-height: 1.1; letter-spacing: -.5px; margin: 24px 0; font-weight: 300; }
.intro h1 span { color: var(--snow-tint); }
.intro p { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 24px; }
.fixture-label { text-align: right; font: 14px/24px var(--label); letter-spacing: .6px; white-space: nowrap; padding-top: 4px; }
.fixture-label small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.watch { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); }
.avatar { background: var(--ocean); border-radius: 50%; width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font: 20px var(--body); }
.mono { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.same-account { margin-left: auto; color: var(--muted); font: 16px/24px var(--label); }
.scenario-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.scenario-head h2 { margin: 12px 0; }
.scenario-head p { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; background: var(--ocean); color: #fff; border: 1px solid var(--ocean); border-radius: 32px; padding: 8px 24px; font: 18px/28px var(--label); white-space: nowrap; transition: background-color .15s, border-color .15s; }
.button:hover { background: var(--ocean-hover); border-color: var(--ocean-hover); text-decoration: none; }
#fixture-link { background: transparent; color: var(--snow); border-color: var(--line-active); }
#fixture-link:hover { background: var(--surface-active); border-color: var(--muted); }
.route { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--radius-card); font: 14px/24px var(--mono); }
.route > span:first-child { color: var(--lime); }
.section-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 16px; }
.section-line h3 { font: 14px/28px var(--mono); color: var(--muted); margin: 0; white-space: nowrap; }
.section-line h3 span { color: var(--text); font: 20px/28px var(--label); margin-left: 8px; }
.section-line > span { font: 14px/20px var(--label); color: var(--muted); }
.views { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.view { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); text-align: left; padding: 20px 16px; color: var(--text); min-width: 0; transition: border-color .15s, background-color .15s; }
.view:hover { border-color: var(--muted); }
.view.selected { border-color: var(--ocean); background: var(--ocean-surface); box-shadow: inset 0 0 0 1px var(--ocean); }
.view .view-title { font: 500 20px/28px var(--label); margin: 12px 0 4px; }
.view .view-sub { font: 16px/24px var(--label); color: var(--muted); }
.view .view-stats { border-top: 1px solid var(--line-active); margin-top: 16px; padding-top: 12px; font: 16px/24px var(--label); color: var(--lime); }
.view .tag { border: 0; padding: 0; font-size: 12px; letter-spacing: .5px; }
.view.selected .tag { color: var(--snow-tint); }
.view-node-warning { border-color: #5d4031; background: linear-gradient(135deg, var(--panel), #201811); }
.view-node-warning .view-content { opacity: .78; transition: opacity .15s; }
.view-node-warning:hover .view-content, .view-node-warning.selected .view-content { opacity: 1; }
.view-node-warning:hover { border-color: var(--coral); }
.view-node-warning.selected { border-color: var(--coral); background: var(--coral-surface); box-shadow: inset 0 0 0 1px var(--coral); }
.view-node-warning .view-stats { color: var(--muted); }
.view-warning { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #5d4031; color: var(--coral); font: 500 12px/18px var(--label); text-align: left; }
.warning-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; font: 500 12px/16px var(--label); }
.callout { background: var(--ocean-surface); border-left: 2px solid var(--ocean); padding: 16px 24px; margin: 24px 0; color: var(--snow-tint); font-size: 16px; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 24px; }
.output, .state, .recipe { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-card); padding: 24px; min-width: 0; }
.output .section-line, .state .section-line, .recipe .section-line { margin: 0 0 16px; }
.tabs { display: flex; border-bottom: 1px solid var(--line-active); gap: 16px; overflow: auto; }
.tabs button { border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); padding: 12px 0; font: 18px/28px var(--label); white-space: nowrap; }
.tabs button:hover { color: var(--snow); }
.tabs button.active { color: var(--snow); border-bottom-color: var(--ocean); }
.toggle { font: 16px/24px var(--label); color: var(--muted); display: flex; gap: 8px; align-items: center; cursor: pointer; }
input[type=checkbox] { accent-color: var(--ocean); width: 16px; height: 16px; }
.scope { font: 16px/24px var(--label); color: var(--muted); padding: 16px 0; }
.event { padding: 16px 0; border-bottom: 1px solid var(--line); font: 14px/24px var(--mono); }
.event-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--snow-tint); }
.event .amount { color: var(--lime); }
.event .detail { color: var(--muted); overflow-wrap: anywhere; font-size: 13px; margin-top: 8px; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 16px; border: 1px dashed var(--line-active); border-radius: var(--radius-control); }
.output #output { max-height: 480px; overflow: auto; min-height: 240px; scrollbar-color: var(--line-active) transparent; }
pre { font: 14px/1.7 var(--mono); overflow: auto; tab-size: 2; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; color: var(--snow-tint); }
.state p, .state details { font-size: 15px; }
.balance { margin: 24px 0; border-top: 1px solid var(--line); padding-top: 16px; }
.balance-label { font: 14px/20px var(--label); letter-spacing: .5px; color: var(--muted); margin-bottom: 8px; overflow-wrap: anywhere; }
.balance-delta { font: 28px/1.4 var(--mono); color: var(--lime); overflow-wrap: anywhere; }
.balance-delta.negative { color: var(--coral); }
.mini { font: 13px/1.8 var(--mono); color: var(--muted); margin: 16px 0; overflow-wrap: anywhere; }
.status-note { font-size: 15px; margin: 16px 0; padding: 12px 16px; border-radius: var(--radius-control); background: var(--ocean-surface); color: var(--snow-tint); }
.status-note.warn { color: var(--coral); background: var(--coral-surface); }
details { margin-top: 16px; color: var(--muted); font-size: 15px; }
summary { cursor: pointer; color: var(--snow-tint); }
details[open] > summary { margin-bottom: 12px; }
.recipe { margin-top: 24px; }
.recipe-controls { display: flex; gap: 24px; flex-wrap: wrap; }
.recipe-controls label { display: flex; flex-direction: column; gap: 8px; font: 16px/24px var(--label); color: var(--muted); flex: 1; min-width: 200px; }
select { background: var(--bg); color: var(--text); border: 1px solid var(--line-active); min-height: 44px; padding: 12px; border-radius: var(--radius-control); font: 18px/24px var(--label); max-width: 100%; }
.code-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; margin-top: 8px; color: var(--muted); font: 14px/24px var(--label); }
.recipe pre { background: var(--bg); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-control); }
footer { padding: 32px 0 0; font: 16px/28px var(--label); color: var(--muted); }
#state table { font: 14px/24px var(--label); width: 100%; border-collapse: collapse; }
td { padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
td:last-child { text-align: right; color: var(--text); }
@media (min-width: 1500px) {
  main { padding: 48px 64px; }
}
@media (max-width: 1280px) {
  .shell { grid-template-columns: 248px minmax(0, 1fr); }
  main { padding: 32px 24px; }
  .views { grid-template-columns: repeat(2, 1fr); }
  .workbench { grid-template-columns: 1fr; }
  .same-account, .fixture-label { display: none; }
}
@media (max-width: 768px) {
  header { padding: 16px 24px; min-height: 80px; }
  .brand { gap: 16px; font-size: 18px; }
  .brand-logo { width: 140px; height: 28px; }
  .pill { display: none; }
  .shell { display: block; }
  aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  aside h2, aside .muted, .aside-note { display: none; }
  nav { max-height: 200px; overflow: auto; }
  nav h3 { margin: 12px 0 8px; }
  main { padding: 32px 24px; }
  .intro h1 { font-size: 36px; line-height: 40px; margin: 16px 0; }
  .watch { padding: 16px; gap: 12px; }
  .watch > div:not(.avatar) { min-width: 0; }
  .watch .mono { font-size: 12px; }
  .scenario-head { flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .scenario-head h2 { font-size: 28px; }
  .route { flex-direction: column; gap: 8px; padding: 16px; }
  .section-line > span:not(.tag) { display: none; }
  .output, .state, .recipe { padding: 16px; }
  .section-line h3 span { font-size: 18px; }
  .tabs { gap: 16px; }
  .recipe-controls { gap: 16px; }
  .code-bar { align-items: flex-start; }
}
@media (max-width: 420px) {
  header { padding: 16px; }
  .brand { gap: 12px; }
  .brand-logo { width: 120px; height: 24px; }
  main, aside { padding-left: 16px; padding-right: 16px; }
  .views { gap: 8px; }
  .view { padding: 16px 12px; }
  .view .view-title { font-size: 18px; }
  .view .view-sub { font-size: 14px; }
  .view .tag { font-size: 12px; }
  .view .view-stats { font-size: 14px; }
  .state .section-line { flex-wrap: wrap; }
  .button { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
/* Transaction-detail layout: balances, movements and network cost are separate. */
.header-guide { font: 18px/28px var(--label); }
.network-bar { display: flex; align-items: center; gap: 24px; padding: 0 0 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.network-bar label { display: flex; align-items: center; gap: 12px; font: 18px/28px var(--label); white-space: nowrap; }
.network-bar p { font: 16px/24px var(--label); color: var(--muted); margin: 0; max-width: 540px; }
.transaction-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 16px; font: 16px/24px var(--label); }
.transaction-links > span { color: var(--muted); }
.execution-outcome { display: inline-flex; align-items: center; gap: 6px; font: 16px/24px var(--label); color: var(--lime); margin: 8px 0; }
.execution-outcome.failed { color: var(--coral); }
.execution-outcome.failed .dot { background: var(--coral); }
.transition { border-top: 1px solid var(--line-active); margin: 16px 0; padding-top: 16px; }
.transition-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 20px/28px var(--label); }
.transition-heading strong { font: 18px/28px var(--mono); overflow-wrap: anywhere; }
.positive { color: var(--lime); }
.negative { color: var(--coral); }
.balance-path { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); gap: 8px; margin: 20px 0; padding: 16px 12px; background: var(--bg); border-radius: 8px; }
.balance-path > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.balance-path small { font: 16px/24px var(--label); color: var(--muted); }
.balance-path span:not(.path-arrow) { font: 14px/24px var(--mono); overflow-wrap: anywhere; }
.path-arrow { color: var(--muted); align-self: center; }
.movement-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font: 16px/24px var(--label); }
.movement-row > :last-child { text-align: right; overflow-wrap: anywhere; }
.feed-coverage { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); }
.network-fee { border-top: 1px solid var(--line-active); margin-top: 24px; padding-top: 12px; }
.network-fee > p { color: var(--muted); }
.network-fee strong { font-weight: 500; }
.endpoint-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.endpoint-controls label { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 8px; font: 16px/24px var(--label); color: var(--muted); }
.endpoint-controls input { min-height: 44px; background: var(--bg); color: var(--text); border: 1px solid var(--line-active); padding: 12px; border-radius: 4px; font: 16px/24px var(--mono); min-width: 0; }
.button:disabled { background: var(--surface-active); border-color: var(--line-active); color: var(--muted); cursor: not-allowed; }
#endpoint-note { font-size: 15px; margin: 12px 0 24px; }
#live-result { margin-top: 16px; }
@media(max-width:1100px) { .network-bar { align-items: flex-start; flex-direction: column; gap: 12px; } }
@media(max-width:600px) { .network-bar label { flex-wrap: wrap; } .header-guide { display: none; } .network-bar select { max-width: 100%; } }
/* Evaluator workspace: saved API outputs, linked transfer diagram, request builder. */
.account-network-note { color: var(--muted); font: 16px/26px var(--label); margin: 10px 0 20px; }
header { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.96); }
.header-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font: 17px/28px var(--label); }
.header-links a { white-space: nowrap; text-decoration: none; }
.header-links a:hover, .header-links a:focus-visible { text-decoration: underline; }
aside { align-self: start; position: sticky; top: 88px; max-height: calc(100vh - 88px); overflow-y: auto; scrollbar-color: var(--line-active) transparent; }
aside h2 { font: 400 26px/32px var(--body); margin: 12px 0 24px; }
.aside-note a { display: block; margin-top: 8px; }
#scenarios button { padding: 12px; line-height: 26px; }
.intro h1 { font-size: clamp(36px,3.6vw,56px); line-height: 1.12; letter-spacing: -1.8px; margin: 16px 0 20px; }
.intro h1 span { color: var(--snow-tint); }
.intro p { max-width: 840px; font: 20px/32px var(--label); color: var(--snow-tint); }
.intro .intro-secondary { font-size: 20px; line-height: 30px; color: var(--snow-tint); max-width: 840px; }
.intro-secondary a { text-decoration: underline; text-underline-offset: 4px; }
.network-bar { gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.network-bar label { font-size: 16px; }
.network-bar p { font-size: 15px; flex: 1; min-width: 220px; max-width: none; }
.network-bar select { font-size: 16px; }
.capture-badge { color: var(--lime); border: 1px solid #344536; border-radius: 24px; padding: 5px 12px; font: 14px/24px var(--label); white-space: nowrap; }
.watch { gap: 20px; align-items: center; }
.account-addresses { min-width: 0; flex: 1; }
.address-row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; margin-top: 8px; align-items: center; }
.address-row > span { color: var(--muted); font: 15px/24px var(--label); }
.address-row a { font: 14px/24px var(--mono); overflow-wrap: anywhere; }
.address-row a[href] { text-decoration: underline; text-underline-offset: 4px; }
.workbench { grid-template-columns: minmax(0,1fr) minmax(350px,1fr); align-items: start; }
.output #output { max-height: 850px; }
.state-caption { color: var(--muted); margin: 0 0 16px; font: 16px/26px var(--label); }
.flow-map { display: grid; gap: 12px; margin: 16px 0 24px; }
.flow-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(100px,1.1fr) minmax(0,1fr); align-items: center; padding: 14px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; gap: 6px; }
.flow-row.fee-flow { border-color: #4c382e; }
.flow-row.flow-selected { border-color: var(--ocean-hover); box-shadow: 0 0 0 1px var(--ocean-hover); }
.flow-node { min-width: 0; display: grid; gap: 6px; text-align: center; }
.flow-node strong { font: 500 16px/22px var(--label); }
.flow-node code { font: 12px/20px var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.flow-node small { color: var(--muted); font: 14px/20px var(--label); }
.monitored-node strong { color: var(--snow-tint); }
.flow-edge { border: 0; padding: 0 2px; background: none; min-width: 0; text-align: center; display: grid; gap: 4px; color: var(--snow); }
.flow-kind { text-transform: uppercase; font: 12px/20px var(--label); letter-spacing: .7px; color: var(--muted); }
.flow-edge strong { color: var(--lime); font: 14px/22px var(--mono); overflow-wrap: anywhere; }
.flow-edge strong small { font-size: 13px; }
.fee-flow .flow-edge strong { color: var(--coral); }
.flow-arrow { display: block; color: var(--ocean-hover); font: 38px/20px var(--label); }
.fee-flow .flow-arrow { color: var(--coral); }
.flow-evidence { color: var(--snow-tint); font: 13px/22px var(--label); text-decoration: underline; text-underline-offset: 3px; }
.flow-edge:hover .flow-evidence { color: white; }
.ledger-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin: 24px 0 0; border-top: 1px solid var(--line-active); padding-top: 20px; }
.ledger-heading > :last-child { font: 14px/22px var(--label); color: var(--muted); }
.transition { margin: 16px 0; }
.balance-path { margin: 12px 0; }
.state-legend, .fee-destination-note { color: var(--muted); font: 14px/24px var(--label); margin: 16px 0 0; }
.event.event-linked { border: 1px solid var(--ocean-hover); background: var(--ocean-surface); border-radius: 8px; padding: 16px 12px; margin: 8px 0; }
.movement-selection { font: 15px/24px var(--label); padding: 12px; background: var(--ocean-surface); margin-bottom: 8px; border-radius: 8px; }
.text-button { border: 0; display: block; background: none; color: var(--snow-tint); padding: 8px 0 0; text-align: left; text-decoration: underline; font: inherit; }
.recipe-intro { color: var(--muted); font: 17px/28px var(--label); max-width: 780px; }
.scenario-purpose { max-width: 760px; margin-top: 20px; border-left: 2px solid var(--ocean); padding: 12px 18px; background: var(--ocean-surface); font: 17px/28px var(--label); }
.scenario-purpose[hidden] { display: none; }
.scenario-purpose > strong { font-weight: 500; color: var(--snow-tint); }
.scenario-purpose p { margin: 6px 0 0; color: var(--muted); }
.scenario-purpose a { text-decoration: underline; text-underline-offset: 4px; }
.query-summary { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px 20px; margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: 16px/26px var(--label); }
.query-summary dt { color: var(--muted); }
.query-summary dd { margin: 0; overflow-wrap: anywhere; color: var(--snow-tint); }
@media(max-width:600px) { .query-summary { grid-template-columns: minmax(0,1fr); gap: 4px; } .query-summary dd + dt { margin-top: 12px; } }
.endpoint-controls { margin-top: 24px; }
.endpoint-controls > label:first-child { flex: .7; }
.endpoint-controls select { font-size: 16px; }
.recipe .code-bar { margin-top: 16px; }
@media(max-width:1280px) { .workbench { grid-template-columns: minmax(0,1fr); } .flow-row { grid-template-columns: minmax(0,1fr) minmax(120px,1fr) minmax(0,1fr); } .flow-node code { font-size: 13px; } .flow-node strong { font-size: 18px; } .flow-edge strong { font-size: 16px; } .network-bar { align-items: flex-start; } }
@media(max-width:768px) { header { position: relative; flex-wrap: wrap; gap: 16px; } .header-links { gap: 24px; font-size: 16px; } aside { position: static; max-height: none; } aside h2 { display: block; margin-bottom: 12px; } .aside-note { display: block; padding-top: 16px; margin-top: 16px; } #scenarios { max-height: 180px; } .address-row { grid-template-columns: minmax(0,1fr); gap: 2px; } .watch { padding: 20px 16px; } .intro h1 { letter-spacing: -1px; } .network-bar p { min-width: 0; } .network-bar label { white-space: normal; } .network-bar { align-items: stretch; } .network-bar select { width: 100%; } .flow-node strong { font-size: 15px; } .flow-node code { font-size: 12px; } .flow-row { padding: 14px 8px; gap: 4px; grid-template-columns: minmax(0,1fr) minmax(100px,1fr) minmax(0,1fr); } .flow-edge strong { font-size: 13px; } .ledger-heading { flex-wrap: wrap; gap: 4px; } }
/* Static operator guide, served beside the explorer. */
.guide-shell { max-width: 1480px; margin: auto; display: grid; grid-template-columns: 250px minmax(0,1fr); }
.guide-toc { padding: 36px 24px; position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 88px); overflow: auto; display: grid; gap: 16px; font: 16px/26px var(--label); }
.guide-content { max-width: 1120px; padding: 40px; font: 18px/1.8 var(--label); }
.guide-content h1 { font: 400 42px/1.2 var(--body); letter-spacing: -1px; margin-top: 0; }
.guide-content h2 { font: 400 28px/1.3 var(--body); margin: 48px 0 20px; scroll-margin-top: 112px; }
.guide-content h3 { font: 500 22px/1.4 var(--label); margin: 32px 0 16px; scroll-margin-top: 112px; }
.guide-content a { text-decoration: underline; }
.guide-content p { margin: 12px 0 20px; }
.guide-content pre { background: var(--panel); border: 1px solid var(--line); padding: 20px; margin: 20px 0; border-radius: 12px; }
.guide-content code { font: 14px/1.7 var(--mono); color: var(--snow-tint); overflow-wrap: anywhere; }
.guide-content li { margin-bottom: 10px; }
.guide-diagram { margin: 24px 0; overflow-x: auto; }
.guide-diagram img { display: block; width: 100%; min-width: 760px; height: auto; }
.guide-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 24px 0; }
.guide-table table { border-collapse: collapse; min-width: 650px; width: 100%; font: 16px/26px var(--label); }
.guide-table th { background: var(--panel); text-align: left; padding: 16px; font-weight: 500; }
.guide-table td, .guide-table td:last-child { text-align: left; padding: 16px; vertical-align: top; color: var(--snow-tint); }
.guide-table tr + tr td { border-top: 1px solid var(--line); }
@media(max-width:900px) { .guide-shell { grid-template-columns: minmax(0,1fr); } .guide-toc { position: static; display: flex; flex-wrap: wrap; max-height: none; padding: 24px; gap: 12px 24px; border-bottom: 1px solid var(--line); } .guide-toc .eyebrow { width: 100%; } .guide-content { padding: 32px 24px; } .guide-content h1 { font-size: 34px; } }

.endpoint-controls [hidden] { display: none; }
