/* radeeo console — components layered over the marketing site's
   style.css. Reads ONLY its tokens, so both themes come for free. */

.console { padding: 42px 24px 80px; }
.console h1 { font-family: var(--font-display); font-size: 1.7rem; margin: 4px 0 20px; letter-spacing: 0.01em; }
.console h2 { font-size: 1.05rem; font-weight: 650; margin: 0 0 12px; }
.console h3 { font-size: 0.95rem; font-weight: 650; margin: 20px 0 8px; }
.console a { color: var(--accent); }
.muted { color: var(--ink-muted); }
.hint { display: block; color: var(--ink-muted); font-size: 0.78rem; margin-top: 4px; }

.nav-who { color: var(--ink-muted); font-size: 0.8rem; }
.nav-out { margin: 0; }

/* Panels: the console's card — quiet, bordered, roomy. */
.panel { background: var(--bg-raise); border: 1px solid var(--line); padding: 22px 24px 24px; margin: 22px 0; }
/* The stations grid: real gaps, no painted grid background — one
   station means one card, never a card beside a grey void. */
.station-grid { margin: 0 0 8px; background: none; border: 0; overflow: visible; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.station-grid .card { border: 1px solid var(--line); border-radius: 2px; }
.station-grid .card p { margin: 0 0 4px; }
.station-grid .chip { margin: 0 8px 8px 0; }
.station-grid .card .btn { margin-top: 14px; }

/* Forms. */
.stack { display: grid; gap: 14px; max-width: 460px; }
.stack.narrow { max-width: 380px; }
.stack label { display: grid; gap: 5px; font-size: 0.9rem; }
.stack input, .row-form input, .row-form select {
  font: 0.95rem var(--font-mono); color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); padding: 9px 11px;
}
.stack input:focus, .row-form input:focus, .row-form select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.stack .btn, .row-form .btn { justify-self: start; cursor: pointer; font-size: 0.9rem; }
.row-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 14px 0 0; }
/* Buttons share the inputs' exact height so every row-form control
   sits on one centred line — no haphazard baselines. */
.row-form .btn, .row-form button.btn { padding: 8px 16px; line-height: 1.35; }
/* The adjust strip is ONE line: labels sit inline-left of their
   inputs (not stacked above), so the whole strip is a single 34px
   band and every cell in the licence row — plan, period, chip,
   inputs, Save, ⋯ — centres on the same horizontal level. */
.adjust-row { display: flex; align-items: center; gap: 10px; }
.adjust-row .row-form { margin: 0; flex-wrap: nowrap; align-items: center; }
.adjust-row .row-form label { display: flex; flex-direction: row; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-muted); white-space: nowrap; }
.adjust-row .row-form input, .adjust-row .row-form select { padding: 7px 9px; font-size: 0.85rem; height: 34px; }
.adjust-row input[name="end"] { width: 9.5em; }
.adjust-row input[name="grace"] { width: 3.5em; }
.adjust-row .btn, .adjust-row .kebab > summary { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; }

/* The ⋯ kebab: secondary actions fold behind three dots. */
.kebab { position: relative; }
.kebab > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); color: var(--ink-muted); padding: 8px 12px; line-height: 1.35; font-weight: 700; user-select: none; }
.kebab > summary::-webkit-details-marker { display: none; }
.kebab > summary:hover, .kebab[open] > summary { border-color: var(--accent); color: var(--accent); }
.kebab-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--bg-raise); border: 1px solid var(--line-strong); padding: 12px; z-index: 6; min-width: 210px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.kebab-menu form { margin: 0; }
/* Menu entries size to the menu, not to their own label. */
.kebab-menu .btn { display: block; width: 100%; margin-bottom: 8px; white-space: nowrap; }
.kebab-menu form:last-child .btn, .kebab-menu .btn:last-child { margin-bottom: 0; }
.row-form label { display: grid; gap: 5px; font-size: 0.8rem; color: var(--ink-muted); }
.row-form.inline { margin: 0; }
button.btn { cursor: pointer; font-family: inherit; }
.btn-danger { border-color: var(--onair); color: var(--onair); }
.btn-danger:hover { background: var(--onair); border-color: var(--onair); color: #fff; }
.btn:disabled, .btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; background: transparent; color: var(--ink-muted); border-color: var(--line); }

/* Auth cards: centered single-purpose pages. */
.auth-card { max-width: 440px; margin: 48px auto 0; background: var(--bg-raise); border: 1px solid var(--line); padding: 34px 36px 30px; }
.auth-card h1 { margin-top: 6px; }
.auth-alt { margin-top: 18px; font-size: 0.85rem; color: var(--ink-muted); }

/* Toasts: outcomes slide in top-right and vanish by themselves —
   green edge = worked, red = error. Never mixed. */
.toast { --toast-life: 3.5s; position: fixed; top: 70px; right: 18px; transform: translateY(-8px); background: var(--bg-raise); border: 1px solid var(--line); color: var(--ink); padding: 10px 18px 10px 22px; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); opacity: 0; pointer-events: none; transition: opacity 250ms ease, transform 250ms ease; max-width: min(420px, calc(100vw - 36px)); z-index: 60; overflow: hidden; }
/* The edge is the countdown: the green/red bar drains over the
   toast's lifetime, so the fade-out never ambushes a slow reader.
   Errors linger longer, so their bar drains slower. */
.toast::before { content: ""; position: absolute; left: 0; bottom: 0; width: 4px; height: 100%; background: var(--ok); }
.toast.err { --toast-life: 6s; }
.toast.err::before { background: var(--onair); }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.visible::before { animation: toastdrain var(--toast-life) linear forwards; }
@keyframes toastdrain { to { height: 0; } }

/* Outcome lines: green = worked, red = error. Never mixed. */
.form-err { color: var(--onair); background: var(--onair-soft); border-left: 3px solid var(--onair); padding: 8px 12px; font-size: 0.9rem; }
.form-ok { color: var(--ok); border-left: 3px solid var(--ok); padding: 8px 12px; font-size: 0.9rem; }

/* Tables. */
.console-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 6px 0 4px; }
.console-table th { text-align: left; font: 500 0.72rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line-strong); }
.console-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.console-table tr.revoked td { color: var(--ink-muted); text-decoration: line-through; }
.console-table tr.revoked td .chip { text-decoration: none; }
.console-table .btn { padding: 5px 12px; font-size: 0.8rem; }

/* State chips: licence and gateway health at a glance. */
.chip { display: inline-block; font: 500 0.72rem var(--font-mono); letter-spacing: 0.05em; padding: 3px 9px; border: 1px solid var(--line); color: var(--ink-muted); }
.chip-active, .chip-ok { border-color: var(--ok); color: var(--ok); }
.chip-grace, .chip-warn { border-color: var(--accent); color: var(--accent); }
.chip-expired, .chip-down, .chip-suspended, .chip-revoked { border-color: var(--onair); color: var(--onair); }
.chip-none { border-style: dashed; }

/* Inline spinner for in-place actions (Verify & issue certificates). */
.spin { display: inline-block; width: 0.7em; height: 0.7em; vertical-align: -1px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* The per-licence key sub-table sits inside the licences panel — the
   keys ARE the licence's, so they live with the entitlements. */
.key-subtable { margin: 8px 0 2px 14px; width: calc(100% - 14px); font-size: 0.82rem; }
.key-subtable th { font-size: 0.66rem; }

/* Entitlement rows: quiet detail under each licence line. */
.ent-row td { font-size: 0.82rem; border-bottom-style: dashed; }
.ent-form { margin: 4px 0 10px; }
.ent-form input { width: 4.5em; }
/* The free-form extras pair needs room for "key=n, key=n" — the
   numeric width squashed it into an unreadable stub. */
.ent-form input[name="extra"] { width: 12em; }

.scroll-x { overflow-x: auto; }
/* The studio log: about twenty rows tall, scrolling inside itself.
   overflow-y:scroll plus a styled scrollbar keeps the bar VISIBLE on
   macOS overlay-scrollbar setups — the reader must see there is more. */
.slog-scroll { max-height: 660px; overflow-y: scroll; }
.slog-scroll::-webkit-scrollbar { width: 10px; }
.slog-scroll::-webkit-scrollbar-track { background: rgba(127, 127, 127, 0.12); border-radius: 5px; }
.slog-scroll::-webkit-scrollbar-thumb { background: rgba(127, 127, 127, 0.45); border-radius: 5px; }
.slog-scroll::-webkit-scrollbar-thumb:hover { background: rgba(127, 127, 127, 0.65); }
/* Firefox only: Chrome 121+ would prefer these STANDARD properties
   over the ::-webkit-scrollbar styling above — and standard bars are
   the fading overlay kind on macOS, exactly what this box must not
   have. The guard keeps Chrome/Safari on the custom, always-visible
   bar. */
@supports not selector(::-webkit-scrollbar) {
  .slog-scroll { scrollbar-width: thin; scrollbar-color: rgba(127,127,127,0.45) rgba(127,127,127,0.12); }
}
.slog-scroll thead th { position: sticky; top: 0; background: var(--bg-raise); }
/* Storage bars (RAD-13): label · bar · numbers on one line. */
.storage-row { display: grid; grid-template-columns: 90px 1fr max-content; gap: 14px; align-items: center; margin: 10px 0; }
.storage-label { font-size: 0.85rem; }
.storage-bar { display: block; height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.storage-fill { display: block; height: 100%; background: var(--ok, #5dbb72); border-radius: 5px; transition: width 0.4s ease; }
.storage-fill.warn { background: #d99a2b; }
.storage-fill.over { background: #cc3a2e; }
.storage-num { color: var(--ink-muted); white-space: nowrap; }
/* One log line = one row. The box scrolls horizontally; wrapped and
   stacked fields are just mess. The studio log's expanded detail is
   the exception — prose wraps. */
.slog-scroll th, .slog-scroll td { white-space: nowrap; }
.slog-scroll td details div { white-space: normal; }
.copy-btn { background: none; border: 1px solid var(--line); color: var(--ink-muted); border-radius: 2px; padding: 0 5px; font-size: 0.75rem; cursor: pointer; vertical-align: 1px; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
/* Two-tier fleet rows: the glance line, then a muted detail line. */
.comp-main td { border-bottom: none; padding: 14px 12px 3px 0; }
.comp-detail td { padding: 0 12px 12px 0; font-size: 0.8rem; color: var(--ink-muted); }
.comp-seen { font-size: 0.82rem; }
.comp-lat { font-size: 0.75rem; margin-top: 3px; }
.comp-muxes td { padding-top: 0; }
/* Output entries read as links but open the output modal. */
.mux-link { background: none; border: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }
.mux-rows { display: grid; gap: 10px; margin-top: 14px; }
.mux-row { display: flex; align-items: baseline; gap: 8px; }
.mux-kind { min-width: 52px; color: var(--ink-muted); font-size: 0.85rem; }
.mux-row a { word-break: break-all; }
/* The licence-usage modal: wide enough for full identities, never
   wider than the screen. */
.comp-modal.usage-modal { width: min(1120px, calc(100vw - 48px)); max-width: none; }
.usage-table td { white-space: nowrap; }
.usage-modal h3 { margin: 0 0 10px; font-weight: 650; }
.usage-table { margin-bottom: 14px; }
.usage-meter { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.usage-meter .over { color: var(--accent); }
/* The filter checkbox: no focus ring after a click — the tick is
   feedback enough (keyboard focus keeps the browser default). */
.cf-check input:focus:not(:focus-visible) { outline: none; }
.cf-check input:focus-visible { outline: 1px solid var(--line-strong); }
/* Fixed columns: the long identity must never drag the Name column
   wide and shove Kind into the middle of the table. The guid
   ellipsizes (full value on hover; the ⧉ copies it whole). */
.comp-table { table-layout: fixed; width: 100%; }
.comp-table th:nth-child(1) { width: 36%; }
.comp-table th:nth-child(2) { width: 16%; }
.comp-table th:nth-child(3) { width: 38%; }
.comp-table th:nth-child(4) { width: 10%; }
.comp-guid { display: inline-block; max-width: calc(100% - 44px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* The component edit modal. */
.comp-modal { background: var(--bg-raise); color: var(--ink); border: 1px solid var(--line-strong); padding: 26px 30px; max-width: 460px; }
.comp-modal::backdrop { background: rgba(0, 0, 0, 0.55); }
.comp-modal h3 { margin: 0 0 10px; font-weight: 650; }
.comp-modal label { display: grid; gap: 5px; font-size: 0.9rem; margin-top: 14px; }
.comp-modal input[name="name"] { font: 0.95rem var(--font-mono); color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: 9px 11px; }
.comp-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
/* The console-table .btn rule shrinks text to 0.8rem — far too small
   for a lone glyph; the higher-specificity selector wins it back. */
.console-table .btn.comp-cog { font-size: 1.25rem; line-height: 1; padding: 4px 10px; }

.cf-check { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--ink-muted); align-self: center; }

/* The one-time key reveal: unmissable, and obviously ephemeral. */
.minted { border: 1px solid var(--accent); background: var(--accent-soft); padding: 18px 22px; margin: 18px 0; }
.minted h2 { margin-bottom: 6px; }
.key-plain { display: block; margin-top: 10px; padding: 12px 14px; background: var(--panel); border: 1px dashed var(--accent); font-size: 0.95rem; word-break: break-all; user-select: all; }

/* The hosted-gateway launch box + the self-hosted fold. */
.gw-hosted { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px 20px; margin: 14px 0; }
.gw-hosted h3 { margin: 0 0 8px; font-weight: 650; font-size: 1rem; }
.gw-hosted p { margin: 0 0 14px; }
.gw-hosted .deck-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row-form label.gw-url { flex: 1 1 260px; }
.row-form label.gw-url input { width: 100%; }

/* The messaging grid — same shape as the playout's card. */
.msg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: end; max-width: 760px; }
.msg-grid label { display: grid; gap: 5px; font-size: 0.85rem; color: var(--ink-muted); }
.msg-grid input { width: 100%; }
.msg-grid .msg-actions { grid-column: 1 / -1; }
@media (max-width: 680px) { .msg-grid { grid-template-columns: 1fr; } }

/* The password eye: reveal-what-I-typed, inside the field's edge. */
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 38px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 0.95rem; line-height: 1; padding: 6px; color: var(--ink-muted); }
.pw-eye:hover { filter: brightness(1.3); }

/* Component action stack: the cog and Remove never touch. */
.comp-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.comp-actions .inline { margin: 0; }

/* The archive panel: a fixed window with its own scrollbar — 91
   days of hours must never become one endless page. */
.arc-scroll { max-height: 440px; overflow-y: auto; border: 1px solid var(--line); padding: 4px 16px 10px; }
.arc-scroll h4.arc-day { position: sticky; top: 0; background: var(--bg-raise); margin: 0 -16px; padding: 10px 16px 6px; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.arc-table { margin: 2px 0 14px; }
.arc-table td { padding-top: 5px; padding-bottom: 5px; }
.arc-table .btn { padding: 3px 10px; font-size: 0.75rem; }

/* Managed gateways: the fleet table breathes INSIDE the panel — the
   app name stacks under the station, tags never wrap, and the action
   forms wrap within their own cell rather than bleeding off the
   page. An in-flight update narrates beside a small spinner. */
.gw-table { width: 100%; }
.gw-table .gw-app { white-space: nowrap; }
.gw-app-line { font-size: 0.78rem; margin-top: 2px; }
.gw-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gw-actions form, .gw-inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; flex-wrap: nowrap; }
.gw-actions input[type="datetime-local"] { padding: 4px 6px; font-size: 0.8rem; max-width: 200px; }
.gw-stage { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-muted); font-size: 0.85rem; }
.gw-stage .spin { width: 13px; height: 13px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: gw-spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes gw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gw-stage .spin { animation: none; } }

/* [hidden] must always beat our own display rules — an element told
   to hide, hides. (The gw-stage "starting…" placeholder was visible
   from birth without this.) */
.gw-actions[hidden], .gw-stage[hidden] { display: none; }

/* The connection desk: the copy lives at the FRONT of the string and
   at a size fingers can hit — the owner's ruling after one too many
   hunts for a tiny glyph at the end of a long command. */
.copy-btn-big { font-size: 0.95rem; padding: 7px 14px; border-radius: 4px; display: inline-block; text-decoration: none; margin-right: 8px; }
.connect-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.link-desk { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; display: grid; gap: 8px; }
.link-desk form.inline input[type="text"] { min-width: 260px; }
.link-minted { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.link-qr { background: #fff; padding: 8px; border-radius: 4px; }

/* The danger zone: visually quarantined. */
.danger-zone { border: 1px solid #7a2929; }
.danger-zone h2 { color: #e06c6c; }
.danger-zone .inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.danger-zone input[type="text"] { flex: 1 1 260px; min-width: 220px; padding: 9px 12px; font-size: 0.95rem; }
/* The obliterate button reads as a real, dangerous button — filled
   when armed, unmistakably dead when the slug does not match. */
.btn-danger.btn-filled { background: var(--onair); color: #fff; border-color: var(--onair); }
.btn-danger.btn-filled:hover { filter: brightness(1.08); }
.btn-danger.btn-filled:disabled { background: var(--line); color: var(--ink-muted); border-color: var(--line); cursor: not-allowed; filter: none; }
/* The obliterate modal must breathe — the funeral's receipt grows. */
#obl-modal { width: min(560px, calc(100vw - 40px)); max-width: none; }
#obl-modal #obl-report { margin: 10px 0; padding-left: 18px; max-height: 40vh; overflow-y: auto; }
#obl-modal #obl-report li { margin: 3px 0; color: var(--ink); }
#obl-modal #obl-stage { font-weight: 600; }

/* Connect Securely to the Studio — deliberately roomy: paragraphs
   breathe, the how-to sits in its own recessed card, and the mint form
   is fenced off from the profiles table above it. */
.studio-link p { margin: 0 0 14px; line-height: 1.55; max-width: 68ch; }
.studio-link h3 { margin: 22px 0 10px; }
.studio-link .sl-how { margin: 20px 0 4px; padding: 16px 20px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.studio-link .sl-how h3 { margin-top: 0; }
.studio-link .sl-how p { margin-bottom: 0; }
.sl-steps { margin: 12px 0 14px; padding-left: 22px; }
.sl-steps li { margin: 9px 0; line-height: 1.55; }
.sl-people { margin-top: 26px; }
.sl-table { margin: 12px 0 20px; }
.sl-mint { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.sl-mint label { display: grid; gap: 6px; font-size: 0.82rem; color: var(--ink-muted); }
.sl-mint input { background: var(--panel); border: 1px solid var(--line); padding: 9px 11px; min-width: 260px; color: var(--ink); }
.sl-mint input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* Delete-station fold: NOT a card — a quiet control at the very bottom
   of the page, well clear of everything else. The summary is the only
   thing shown until you deliberately expand it. */
.delete-fold { margin: 56px 0 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.delete-fold > summary { cursor: pointer; list-style: none; display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; user-select: none; }
.delete-fold > summary::-webkit-details-marker { display: none; }
.delete-fold > summary::before { content: "▸ "; }
.delete-fold[open] > summary::before { content: "▾ "; }
.delete-fold > summary:hover { color: #e06c6c; border-color: #e06c6c; }
.delete-body { margin-top: 16px; max-width: 68ch; }
.delete-body p { margin: 0 0 12px; }

/* A submit button mid-action: dimmed with a spinner, so a click never
   looks like it did nothing. */
.btn.is-busy { opacity: 0.75; cursor: progress; }
.btn.is-busy::before { content: ""; display: inline-block; width: 0.8em; height: 0.8em; margin-right: 7px; vertical-align: -1px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btn-spin 0.6s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---- Spacing pass: give cramped areas room (base .inline/.small are
   undefined, so several bare .inline blocks had no gap). All scoped. ---- */
/* Connect toggle: the ON/OFF chip no longer jams against its button. */
.sl-toggle { display: flex; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
/* Obliterate zone: the confirm input and button were touching. */
.delete-body .inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Minted API key: lift the copy button off the key box. */
.minted .copy-btn { margin-top: 10px; }
/* Connection strings: space the copy buttons and stack the help lines. */
.connect-block .copy-btn { margin: 8px 8px 0 0; }
.connect-block > span.small { display: block; margin: 10px 0 0; }
/* Auth notices no longer butt against the heading and first field. */
.form-err, .form-ok { margin: 12px 0; }
/* A status chip in a table gets breathing room from the text beside it. */
.console-table td .chip { margin-right: 6px; }
/* A panel's intro copy no longer nearly touches its table below. */
.console-table { margin: 14px 0 4px; }

/* Gateway-launch region picker (FT3). */
.gw-region { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--ink-muted); margin-right: 4px; }
.gw-region select { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 5px 8px; font-family: var(--font-mono); font-size: 0.8rem; }

/* Downloads panel: the sha256 cell truncates with the full hash on
   hover and the ⧉ for the clipboard — a 64-char hex never wraps a row. */
td.dl-sha { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
