:root {
  /* Exact values from https://eigenbird.com/styles.css, read 2026-09-29. */
  --bg: #f4f4f2; --panel: #fff; --recessed: #f4f4f2; --ink: #202220;
  --muted: #4f5552; --line: #d8dad9; --boundary: #6d716f;
  --accent: #176b4d; --mint: #9cf7c8; --brand-line: #b9bcba;
  --green: #176b4d; --green-bg: #9cf7c8; --red: #b42318; --red-bg: #fef3f2;
  --amber: #996000; --amber-bg: #fff7e6; --focus: #176b4d; --red-line: #c8847f;
  --shell: #202220; --shell-text: #f4f4f2; --shell-muted: #d8dad9;
  --shell-line: #6d716f; --shell-hover: #176b4d; --shell-danger: #ffa098;
  --mint-ink: #202220; --primary: #202220; --primary-text: #fff;
  --primary-hover: #176b4d; --primary-hover-text: #fff;
  --showcase: #d7fce9; --showcase-ink: #202220; --showcase-muted: #536057;
  --showcase-icon: #59675f; --menu-shadow: 0 8px 28px rgb(32 34 32 / 18%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
/* The opt-in v1 integration uses the existing dashboard shell and tokens. */
.v1-mode #v1Content { max-width: none; min-width: 0; }
.v1-mode #v1Content .box { min-width: 0; }
.v1-mode .workspace-picker select { min-height: 44px; max-width: 100%; background: var(--shell); color: var(--shell-text); border-color: var(--shell-line); }
.v1-mode .workspace-picker { width: min(420px, 100%); max-width: 100%; }
.v1-mode .topbar label, .v1-mode #workspaceStatus { color: var(--shell-muted); }
.v1-mode #v1Content td, .v1-mode #v1Content th { overflow-wrap: anywhere; min-width: 110px; }
.v1-mode #v1Content .table-scroll { max-width: 100%; }
.v1-mode .v1-section-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.v1-mode .v1-section-nav a { padding-block: 10px; }
.v1-mode .v1-chart { display: block; width: 100%; height: auto; fill: var(--accent); }
.v1-mode #v1Banner { margin-block: 0 20px; padding: 12px 16px; border: 1px solid var(--boundary); border-radius: 6px; background: var(--panel); color: var(--ink); }
.v1-mode .v1-token-dialog { width: min(520px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--boundary); border-radius: 12px; background: var(--panel); color: var(--ink); }
.v1-mode .v1-token-dialog::backdrop { background: rgb(0 0 0 / .5); }
.v1-mode #agentToken { display: block; overflow-wrap: anywhere; padding: 12px 0; user-select: all; }
.v1-mode #spendingLimit { width: 100%; }
@media (max-width: 600px) { .v1-mode .nav-items { grid-template-columns: repeat(5,minmax(0,1fr)); } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; }
body.dashboard-page { display: grid; grid-template-columns: 80px minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); height: 100dvh; overflow: hidden; }
body.dashboard-page .topbar { grid-column: 2; grid-row: 1; min-width: 0; margin-left: 0; z-index: 4; }
body.dashboard-page main { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; max-width: none; margin: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scroll-padding-block: 24px; }
#dashboard { max-width: 1880px; margin-inline: auto; }
button, input, select { font: inherit; }
input { caret-color: var(--ink); }
::selection { color: var(--mint-ink); background: var(--mint); }
* { scrollbar-width: thin; scrollbar-color: var(--boundary) var(--recessed); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--recessed); }
::-webkit-scrollbar-thumb { background: var(--boundary); border: 2px solid var(--recessed); border-radius: 8px; }
button, .button, select, summary { cursor: pointer; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid var(--boundary); background: var(--panel); color: var(--ink); border-radius: 6px; padding: 9px 14px; text-decoration: none; font-weight: 500; transition: border-color 150ms; }
button:hover, .button:hover { background: var(--bg); }
button:disabled, select:disabled { cursor: default; opacity: .65; }
.primary { background: var(--primary); color: var(--primary-text); border-color: var(--primary); }
.primary:hover { background: var(--primary-hover); color: var(--primary-hover-text); border-color: var(--primary-hover); }
input, select { appearance: none; -webkit-appearance: none; height: 44px; min-height: 44px; min-width: 0; max-width: 100%; border: 1px solid var(--boundary); border-radius: 6px; color: var(--ink); background: var(--panel); padding: 9px 12px; }
input::placeholder { color: var(--muted); opacity: 1; }
label { display: block; font-size: 13px; font-weight: 500; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus, h1:focus { outline: none; }
a { color: inherit; text-underline-offset: 3px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; padding: 12px; background: var(--panel); border-radius: 8px; }
.skip-link:focus { top: 8px; }
.rail { position: fixed; inset: 0 auto 0 0; width: 80px; background: var(--shell); border-right: 1px solid var(--shell); display: flex; align-items: center; flex-direction: column; z-index: 5; }
.brand-mark { width: 44px; height: 44px; background: var(--shell); color: var(--mint); border-radius: 8px; display: grid; place-items: center; margin: 20px 0 34px; flex-shrink: 0; }
.brand-mark img { display: block; width: 44px; height: 44px; }
.nav-items { display: grid; gap: 14px; width: 100%; justify-items: center; }
.nav-items a { position: relative; display: grid; place-items: center; width: 46px; height: 46px; color: var(--shell-muted); border-radius: 8px; text-decoration: none; }
.nav-items svg { width: 21px; height: 21px; }
.nav-items a:hover { background: var(--shell-hover); color: var(--shell-text); }
.nav-items a[aria-current="page"] { background: var(--mint); color: var(--mint-ink); }
.rail :focus-visible, .topbar :focus-visible { outline-color: var(--mint); }
.nav-items a span { position: absolute; left: 57px; background: var(--shell); color: var(--shell-text); padding: 6px 10px; border-radius: 7px; opacity: 0; pointer-events: none; white-space: nowrap; }
.nav-items a:hover span, .nav-items a:focus-visible span { opacity: 1; }
.topbar { min-height: 72px; margin-left: 80px; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--shell-line); background: var(--shell); color: var(--shell-text); }
.workspace-picker { display: flex; align-items: center; min-width: 0; gap: 12px; }
.workspace-picker > div { min-width: 0; }
.workspace-picker label { font-size: 11px; font-weight: 400; color: var(--shell-muted); }
.workspace-picker .select-trigger { min-height: 32px; height: 32px; border: 0; background: transparent; color: inherit; padding: 0; max-width: 420px; font-weight: 600; opacity: 1; }
.topbar-account { display: flex; align-items: center; gap: 12px; max-width: 100%; min-width: 0; flex-shrink: 0; }
#accountMenuToggle { border-color: var(--shell-line); background: transparent; color: var(--shell-text); font-size: 13px; }
#accountMenuToggle:hover, #accountMenuToggle[aria-expanded="true"] { background: var(--shell-hover); border-color: var(--mint); }
#accountMenuToggle svg { width: 18px; height: 18px; }
#accountMenuToggle .account-chevron { width: 14px; height: 14px; }
.account-menu { position: fixed; inset: auto; width: min(288px, calc(100vw - 24px)); margin: 0; padding: 8px; overflow-y: auto; border: 0; border-radius: 8px; background: var(--panel); color: var(--ink); box-shadow: var(--menu-shadow); }
.account-identity { padding: 10px 12px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.account-menu button, .account-menu .button { width: 100%; min-height: 44px; justify-content: flex-start; padding: 10px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 400; text-align: left; }
.account-menu button:hover, .account-menu .button:hover { background: var(--recessed); }
.account-menu .button[aria-current="page"] { background: var(--mint); color: var(--mint-ink); }
.account-menu svg { width: 20px; height: 20px; }
.account-menu :focus-visible { outline-color: var(--focus); outline-offset: -2px; }
#workspaceStatus { flex-basis: 100%; margin: 0; color: var(--shell-danger); }
main { max-width: 1880px; margin: 0 auto 0 80px; padding: 27px 32px 32px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
h1 { font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; margin: 0; }
h2 { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.3px; margin: 0; }
h3 { font-size: 14px; margin: 0; font-weight: 600; }
p { margin: 0; }
.subtitle { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.6; }
.heading-actions { display: flex; align-items: center; gap: 12px; }
.date-control { min-width: 152px; }
.date-control .select-trigger { width: 100%; }
.select-control { display: inline-grid; position: relative; min-width: 0; max-width: 100%; }
.select-source { display: none; }
.select-trigger { width: 100%; min-width: 0; min-height: 44px; height: 44px; justify-content: space-between; text-align: left; font-weight: 400; }
.select-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger svg { width: 16px; height: 16px; }
.select-trigger[aria-expanded="true"] { border-color: var(--accent); }
.select-menu { position: fixed; inset: auto; margin: 0; padding: 6px; max-height: min(320px, calc(100dvh - 24px)); overflow-y: auto; border: 0; border-radius: 8px; background: var(--panel); color: var(--ink); box-shadow: var(--menu-shadow); font-size: 14px; }
.select-menu:popover-open { animation: menu-open 150ms cubic-bezier(.16,1,.3,1); }
.select-menu [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 10px 12px; border-radius: 4px; cursor: pointer; overflow-wrap: anywhere; }
.select-menu [role="option"]:hover { background: var(--recessed); }
.select-menu [role="option"].active-option { background: var(--mint); color: var(--mint-ink); }
.select-menu svg { width: 16px; height: 16px; visibility: hidden; }
.select-menu [aria-selected="true"] svg { visibility: visible; }
@keyframes menu-open { from { transform: translateY(-4px); } to { transform: none; } }
.sync-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
#connection::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--boundary); vertical-align: middle; }
.text-button { min-height: 32px; padding: 4px 3px; background: transparent; border: 0; border-radius: 5px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); }
.metric { padding: 16px 24px; border-right: 1px solid var(--line); min-width: 0; }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.caption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.value { font-size: 30px; letter-spacing: -.03em; font-weight: 600; line-height: 1.25; margin: 6px 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.6; }
.tag { display: inline-flex; align-items: center; border-radius: 5px; padding: 3px 7px; font-size: 11px; line-height: 1.5; color: var(--muted); background: var(--bg); font-weight: 500; }
.badge { color: var(--muted); font-size: 12px; }
.badge.complete { color: var(--green); }
.badge.fail { color: var(--red); }
.badge.pending { color: var(--amber); }
.green { color: var(--green); }
.red { color: var(--red); }
.scope-line { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 12px 0 20px; }
.box { background: var(--panel); border: 1px solid var(--brand-line); border-radius: 12px; padding: 24px; min-width: 0; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.summary { display: grid; grid-template-columns: minmax(0,2.25fr) minmax(260px,1fr); gap: 20px; margin-bottom: 26px; align-items: start; }
.comparison-totals { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; margin: 26px 0 14px; }
.comparison-totals dt { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.comparison-totals dd { margin: 6px 0 0; font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.comparison-totals small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.baseline-key, .execution-key { display: inline-block; width: 18px; border-top: 2px dashed var(--boundary); }
.execution-key { border-top: 2px solid var(--accent); }
.chart { display: block; width: 100%; height: 264px; margin: 14px 0 0; stroke: none; fill: none; overflow: visible; }
.chart text { fill: var(--muted); stroke: none; font-size: 12px; font-variant-numeric: tabular-nums; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.chart-line.baseline { stroke: var(--boundary); stroke-dasharray: 5 5; }
.chart-line.routed { stroke: var(--accent); stroke-width: 3; }
.chart-guide { stroke: var(--brand-line); stroke-width: 1; stroke-dasharray: 3 4; }
.baseline-point { stroke: var(--boundary); fill: var(--panel); stroke-width: 2; }
.routed-point { stroke: var(--accent); fill: var(--mint); stroke-width: 2; }
.chart-controls { margin-top: 2px; }
#chartPosition { appearance: auto; -webkit-appearance: auto; accent-color: var(--accent); padding: 0; margin: 0; width: 100%; height: 24px; min-height: 24px; border: 0; cursor: pointer; background: transparent; }
.chart-inspector { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-inspector time { margin-right: auto; }
.chart-inspector b { color: var(--ink); font-weight: 500; margin-left: 4px; }
.summary-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 18px; }
.chart-data { font-size: 12px; margin-top: 12px; }
.chart-data summary { width: fit-content; color: var(--muted); padding: 6px 0; }
.chart-data table { min-width: 580px; }
.breakdown { display: grid; gap: 22px; margin: 28px 0; }
.mix-row { display: grid; gap: 9px; min-width: 0; font-size: 12px; }
.mix-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mix-row span { overflow-wrap: anywhere; }
.mix-row b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mix-track { height: 6px; background: var(--line); overflow: hidden; border-radius: 2px; }
.mix-track span { display: block; height: 100%; background: var(--accent); }
.quality-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.quality-row span { color: var(--muted); }
.quality-row b { text-align: right; font-weight: 500; }
.activity { padding: 0; overflow: hidden; }
.activity-head { padding: 20px 24px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 0 24px 16px; }
.tabs { display: flex; align-items: center; padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 6px; background: var(--recessed); }
.tabs button { border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; min-height: 36px; }
.tabs button[aria-pressed="true"] { background: var(--panel); color: var(--ink); outline: 1px solid var(--brand-line); }
.search-row { padding: 0 24px 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.search-row select, .search-row button { font-size: 12px; }
.search-field { display: flex; align-items: center; gap: 9px; padding-left: 12px; flex: 1; min-width: 230px; border: 1px solid var(--boundary); border-radius: 6px; }
.search-field svg { width: 17px; height: 17px; color: var(--muted); }
.search-field input { width: 100%; border: 0; padding-left: 0; font-size: 13px; background: transparent; }
.table-scroll { position: relative; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { color: var(--muted); background: var(--recessed); font-size: 11px; font-weight: 500; padding: 12px 16px; }
td { font-size: 13px; padding: 16px; border-bottom: 1px solid var(--line); }
th small { display: block; font-size: 11px; font-weight: 400; }
.activity-table { table-layout: fixed; min-width: 880px; }
.activity-table > thead > tr > th:first-child { width: 31%; padding-left: 24px; }
.activity-table > thead > tr > th:nth-child(2) { width: 20%; }
.activity-table > thead > tr > th:nth-child(3) { width: 15%; }
.activity-table > thead > tr > th:nth-child(4), .activity-table > thead > tr > th:nth-child(5) { width: 12%; }
.activity-table > thead > tr > th:last-child { width: 100px; }
.activity-table .record td:first-child { padding-left: 24px; }
.record:hover { background: var(--bg); }
.record.selected { background: var(--recessed); }
.record .record-title { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.record small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.route { overflow-wrap: anywhere; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.numeric strong { font-weight: 500; }
.disclosure { font-size: 12px; min-height: 36px; padding: 6px 9px; border-color: transparent; background: transparent; gap: 5px; white-space: nowrap; }
.disclosure svg { width: 14px; height: 14px; }
.disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.disclosure[aria-expanded="true"] { background: var(--primary); color: var(--primary-text); border-color: var(--primary); }
.list-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; font-size: 12px; color: var(--muted); }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); font-size: 14px; }
.empty p { margin: 7px 0 12px; font-size: 13px; }
.detail-row > td { padding: 0 24px 20px; background: var(--recessed); }
.detail { padding-top: 16px; }
.detail-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.detail-top p { font-size: 12px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.detail-section { padding: 0 20px; border-left: 1px solid var(--line); min-width: 0; }
.detail-section:first-child { border-left: 0; padding-left: 0; }
.detail-section:last-child { padding-right: 0; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.detail .subtitle { font-size: 12px; }
.route-flow { display: grid; gap: 10px; margin: 14px 0; }
.route-stop { overflow-wrap: anywhere; }
.route-stop small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.route-stop b { display: block; font-size: 13px; font-weight: 500; }
.facts { display: grid; grid-template-columns: minmax(100px, .9fr) minmax(0,1fr); gap: 10px 14px; margin: 14px 0 0; font-size: 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lane-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lane { padding: 8px 0; }
.lane + .lane { border-left: 1px solid var(--line); padding-left: 24px; }
.lane .money { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; margin: 8px 0; }
.lane .model, .lane small { font-size: 11px; overflow-wrap: anywhere; }
.lane small { color: var(--muted); }
.saving-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 12px; margin-top: 12px; }
.token-table td, .token-table th { font-size: 11px; padding: 9px 0; background: transparent; text-align: right; }
.token-table td:first-child, .token-table th:first-child { text-align: left; color: var(--muted); }
.detail-extra { margin-top: 24px; border-top: 1px solid var(--brand-line); }
.detail-extra > summary { min-height: 44px; font-size: 13px; font-weight: 600; padding: 12px 0; }
.detail-extra > summary:hover { color: var(--accent); }
.detail-extra[open] > summary { margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail-extra .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 32px; }
.detail-extra .detail-grid > section { min-width: 0; }
.detail-extra .detail-grid > section + section { border-left: 1px solid var(--line); padding-left: 32px; }
.detail-extra .section-title { margin-top: 24px; margin-bottom: 8px; }
.prompt-full, .response { font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; background: var(--panel); border: 1px solid var(--line); padding: 16px; border-radius: 8px; margin: 0; }
.response { font-family: ui-monospace, SFMono-Regular, monospace; }
.attachment { display: inline-block; padding: 3px 7px; background: var(--bg); border-radius: 5px; margin: 6px 5px 0 0; font-size: 11px; overflow-wrap: anywhere; }
.native { display: inline-block; font-size: 12px; margin-top: 12px; }
.notice { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.notice summary { width: fit-content; padding: 6px 0; }
.notice p { max-width: 90ch; margin-top: 8px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.error, .feedback { padding: 12px 16px; margin-bottom: 16px; border: 1px solid var(--red-line); border-radius: 6px; background: var(--red-bg); color: var(--red); font-size: 13px; }
.feedback { margin-top: 16px; background: var(--panel); border-color: var(--line); color: var(--ink); }
.secondary-page { display: grid; gap: 20px; max-width: 1100px; }
.admin-filters { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0 16px; }
.admin-filters .field:last-child { flex: 0 1 190px; }
.admin-plan-group { margin-top: 28px; }
.admin-plan-group h3 { display: flex; align-items: center; gap: 12px; }
.admin-plan-group .access-item .select-control { width: 160px; }
.admin-plan-group .access-item > span:last-child { flex-wrap: wrap; justify-content: flex-end; }
.inline-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.field { display: grid; gap: 7px; flex: 1; min-width: 160px; }
.field input, .field .select-control { width: 100%; }
#inviteMember { display: grid; grid-template-columns: minmax(180px,1fr) minmax(130px,180px) auto; align-items: end; }
.access-item .select-control { width: 132px; }
.access-item .select-trigger { font-size: 13px; }
.access-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.access-item > span { min-width: 0; overflow-wrap: anywhere; }
.access-item > span:last-child { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.access-item small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.access-item button, .access-item select { font-size: 12px; }
#workspaceMembers, #workspaceInvitations, #workspaceKeys { margin-top: 20px; }
#newUploadKey { padding: 14px; background: var(--amber-bg); border-radius: 6px; font-size: 13px; }
#newUploadKey code { display: block; overflow-wrap: anywhere; user-select: all; margin: 8px 0; }
.connection-identity { display: flex; align-items: center; gap: 12px; }
.section-copy { color: var(--muted); margin: 20px 0; max-width: 680px; }
.onboarding { margin-bottom: 24px; }
.onboarding h2 { font-size: 24px; }
.setup-steps { color: var(--muted); padding-left: 23px; line-height: 1.7; }
.setup-steps li { padding: 6px 0 6px 4px; }
.setup-command { font-size: 12px; line-height: 1.7; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--recessed); white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-step + .guide-step { border-top: 1px solid var(--line); }
.guide-step > summary { min-height: 52px; padding: 16px 0; color: var(--ink); font-weight: 600; }
.guide-step > summary::marker { color: var(--muted); }
.guide-step > summary:hover { color: var(--accent); }
.guide-content { padding: 0 0 24px; }
.guide-content > p, .guide-note, .usage-notes { max-width: 72ch; color: var(--muted); font-size: 13px; line-height: 1.7; }
.guide-content > p + p, .guide-content > .command-row + p { margin-top: 12px; }
.guide-content h3 { margin: 20px 0 8px; }
.guide-content .facts { grid-template-columns: minmax(140px,.65fr) minmax(0,1.35fr); max-width: 76ch; }
.guide-content .facts dd { text-align: left; }
.guide-section + .guide-section { margin-top: 24px; }
.guide-steps { padding: 0; margin: 12px 0 16px; color: var(--muted); line-height: 1.7; }
.guide-steps li + li, .usage-notes li + li { margin-top: 8px; }
.command-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.command-row .setup-command { flex: 1; min-width: 0; margin: 0; }
.command-row .text-button { flex-shrink: 0; min-height: 44px; }
.guide-note { margin-top: 12px; }
.usage-notes { padding-left: 22px; margin: 14px 0 0; }
.guide-steps code, .guide-note code, .usage-notes code { color: var(--ink); background: var(--recessed); padding: 2px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.setup-command code { padding: 0; background: transparent; color: inherit; }
body.auth-page, body.invite-page { background: var(--shell); }
body.auth-page main, body.invite-page main { min-height: 100svh; margin: 0; padding: 0; max-width: none; display: block; }
.auth-layout { --auth-gutter: clamp(16px,2.3vw,36px); display: none; min-height: 100svh; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: clamp(14px,2vw,32px); padding: var(--auth-gutter); background: var(--shell); }
body.auth-page .auth-layout, body.invite-page .auth-layout { display: grid; }
.auth-primary { display: grid; grid-template-rows: auto minmax(0,1fr); min-width: 0; padding: 4px clamp(8px,3vw,44px); color: #f4f4f2; }
.auth-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 8px; }
.auth-brand { display: flex; gap: 12px; align-items: center; width: fit-content; color: var(--mint); font-size: 21px; letter-spacing: -.5px; font-weight: 600; text-decoration: none; }
.auth-brand img { display: block; width: 44px; height: 44px; }
.auth-brand small { display: block; color: #a6b5aa; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.auth-stage { display: grid; place-items: center; min-width: 0; padding: 28px 0; }
.auth-card { width: min(460px,100%); padding: 0; background: transparent; border: 0; border-radius: 0; color: #f4f4f2; }
.auth-card h1 { color: var(--mint); font-size: clamp(34px,4vw,54px); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
.auth-card .subtitle { color: #a6b5aa; font-size: 15px; }
.auth-card form { display: grid; gap: 18px; margin-top: 26px; }
.auth-card label { margin-bottom: 8px; color: #e0e9e2; }
.auth-card input[type="email"], #inviteCode { width: 100%; background: #111512; border-color: #59635c; color: #f4f4f2; }
.auth-card .otp-slot { background: #111512; border-color: #59635c; color: #f4f4f2; }
.auth-card input::placeholder { color: #a6b5aa; }
.auth-card .primary { width: 100%; border-color: var(--mint); border-radius: 999px; background: var(--mint); color: var(--mint-ink); font-weight: 600; }
.auth-card .primary:hover { background: #b6ffda; border-color: #b6ffda; }
.auth-secondary { display: flex; justify-content: center; gap: 12px; }
.auth-secondary:has([hidden]):not(:has(button:not([hidden]))) { display: none; }
.auth-secondary button { min-height: 36px; border: 0; background: transparent; color: var(--mint); font-size: 12px; }
.auth-secondary button:hover { background: transparent; color: white; }
.auth-footnote { margin-top: 24px; padding-top: 18px; border-top: 1px solid #4a514c; color: #a6b5aa; font-size: 12px; }
.auth-layout :focus-visible { outline-color: var(--mint); }
.auth-page .skip-link, .invite-page .skip-link { color: var(--ink); }
.auth-showcase { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; min-height: calc(100svh - var(--auth-gutter) - var(--auth-gutter)); padding: clamp(28px,4vw,64px); border-radius: 18px; background: var(--showcase); color: var(--showcase-ink); }
.showcase-main { display: grid; align-content: center; justify-items: center; gap: clamp(22px,2.4vw,36px); min-width: 0; text-align: center; }
.showcase-emblem { display: grid; place-items: center; width: clamp(96px,9vw,132px); aspect-ratio: 1; border-radius: 22px; background: #080a09; color: var(--mint); }
.showcase-emblem svg { width: 72%; height: 72%; overflow: visible; stroke-width: 3; }
.showcase-emblem .route-base { stroke: rgb(156 247 200 / 28%); stroke-width: 5; }
.showcase-emblem .route-draw { stroke: var(--mint); stroke-width: 5; stroke-dasharray: 120; stroke-dashoffset: 120; animation: route-trace 2.8s ease-in-out infinite alternate; }
.showcase-emblem circle { fill: var(--mint); stroke: #080a09; stroke-width: 2; }
@keyframes route-trace { to { stroke-dashoffset: 0; } }
.showcase-copy { display: grid; align-content: center; min-height: 190px; animation: feature-reveal 520ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes feature-reveal { from { clip-path: inset(0 0 65%); filter: blur(7px); opacity: 0; transform: translateY(8px); } to { clip-path: inset(0); filter: blur(0); opacity: 1; transform: none; } }
.showcase-copy h2 { max-width: 13ch; margin: 0 auto; color: var(--showcase-ink); font-size: clamp(36px,4vw,60px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.showcase-copy p { max-width: 50ch; margin: 18px auto 0; color: var(--showcase-muted); font-size: 16px; line-height: 1.55; }
.showcase-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 18px; padding-top: 30px; }
.showcase-facts > div { text-align: center; }
.showcase-facts svg { display: block; width: 32px; height: 32px; margin-inline: auto; color: var(--showcase-icon); }
.showcase-facts p { margin: 12px 0 0; color: var(--showcase-muted); font-size: 14px; line-height: 1.45; }
.otp-slots { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; }
.otp-slot { width: 100%; text-align: center; padding: 12px 0; font-size: 24px; }
#turnstile:empty, #loginStatus:empty { display: none; }
#loginStatus, #inviteStatus { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.auth-card #loginStatus, .auth-card #inviteStatus { color: #a6b5aa; }
#turnstile { display: flex; justify-content: center; }
body.workspace-pending { min-height: 100svh; display: grid; place-items: center; padding: 20px; }
.workspace-pending main { display: none; }
.workspace-pending #workspaceAccess { margin: 0; padding: 32px; width: min(540px,100%); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; align-items: stretch; }
.workspace-pending #workspaceChoiceTitle { font-size: 27px; margin-bottom: 16px; }
.workspace-pending .select-trigger { max-width: 100%; white-space: normal; min-height: 44px; }
.workspace-pending .workspace-picker { max-width: 100%; }
@media (min-width: 1600px) { main { padding: 32px 48px; } .topbar { padding-inline: 48px; } }
@media (max-width: 1150px) {
  main { padding: 24px; }
  .topbar { padding-inline: 24px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric { padding: 16px 20px; }
  .metric:nth-child(odd) { padding-left: 0; }
  .metric:nth-child(even) { border-right: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .summary { grid-template-columns: 1fr; }
  .route-card .breakdown { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .box-head { flex-wrap: wrap; }
  .detail-grid, .detail-extra .detail-grid { grid-template-columns: minmax(0,1fr); }
  .detail-section, .detail-section:first-child { padding: 16px 0; border-left: 0; }
  .detail-section + .detail-section { border-top: 1px solid var(--line); }
  .detail-extra .detail-grid > section + section { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .activity-table { min-width: 800px; }
}
@media (max-width: 800px) { .summary { grid-template-columns: 1fr; } .heading { align-items: flex-start; flex-direction: column; } .heading-actions { width: 100%; } .heading-actions .primary { margin-left: auto; } }
@media (max-width: 600px) {
  body.dashboard-page { grid-template-columns: minmax(0,1fr); padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.dashboard-page .topbar, body.dashboard-page main { grid-column: 1; }
  body.dashboard-page main { padding-bottom: 24px; }
  .rail { top: auto; bottom: 0; width: 100%; border: 0; border-top: 1px solid var(--shell-line); padding: 7px 5px calc(7px + env(safe-area-inset-bottom)); background: var(--shell); }
  .brand-mark { display: none; }
  .nav-items { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
  .nav-items a { width: 100%; height: 51px; gap: 3px; align-content: center; border-radius: 9px; }
  .nav-items svg { width: 18px; height: 18px; }
  .nav-items a span { position: static; opacity: 1; font-size: 11px; padding: 0; background: transparent; color: inherit; line-height: 1.3; }
  .topbar { margin-left: 0; padding: 12px 16px; min-height: 72px; gap: 10px; }
  .workspace-picker { flex: 1; gap: 8px; }
  .workspace-picker .select-trigger { max-width: 100%; width: 100%; font-size: 12px; }
  .workspace-picker > div { flex: 1; }
  #accountMenuToggle { padding-inline: 10px; gap: 7px; }
  main { margin-left: 0; padding: 16px 16px 100px; }
  body[data-page="overview"] .heading { flex-direction: row; align-items: center; flex-wrap: wrap; }
  body[data-page="overview"] .heading-actions { width: auto; }
  h1 { font-size: 29px; }
  .heading { margin-bottom: 12px; gap: 16px; }
  .heading-actions { gap: 8px; flex-wrap: wrap; }
  .heading-actions .button { font-size: 12px; }
  .date-control { flex: 1; min-width: 134px; }
  .date-control .select-trigger { padding-inline: 10px; gap: 7px; font-size: 13px; }
  .sync-line { gap: 4px 12px; margin-bottom: 12px; }
  #refresh { margin-left: auto; }
  .metric { padding-block: 12px; }
  .scope-line { margin-block: 8px 16px; }
  .value { font-size: 26px; }
  .caption, .hint { font-size: 12px; }
  .box { padding: 20px; }
  .summary { gap: 16px; }
  .activity { padding: 0; }
  .activity-head { padding: 16px; gap: 12px; align-items: flex-start; flex-wrap: nowrap; }
  .activity-head > div { min-width: 0; }
  .activity-head .subtitle { font-size: 12px; }
  .activity-head button { min-height: 40px; font-size: 12px; flex-shrink: 0; padding-inline: 10px; }
  .toolbar { padding-inline: 16px; }
  .search-row { padding-inline: 16px; gap: 8px; }
  .search-field { min-width: 100%; }
  .search-row > .select-control { flex: 1; width: 120px; }
  .search-row button { width: 100%; }
  .comparison-totals { gap: 10px; margin-top: 22px; }
  .comparison-totals dt { display: block; font-size: 11px; }
  .comparison-totals i { display: block; margin-bottom: 8px; }
  .comparison-totals dd { font-size: 22px; }
  .comparison-totals small { font-size: 11px; }
  .chart-inspector time { width: 100%; }
  .route-card .breakdown { grid-template-columns: 1fr; gap: 20px; }
  .activity-table { min-width: 0; table-layout: auto; }
  .activity-table > thead > tr > th, .activity-table .record td { display: none; }
  .activity-table > thead > tr > th:first-child, .activity-table > thead > tr > th:last-child, .activity-table .record td:first-child, .activity-table .record td:last-child { display: table-cell; width: auto; padding: 16px; }
  .activity-table > thead > tr > th:last-child { width: 85px; }
  .activity-table .record td:last-child { padding-left: 0; }
  .record-title { font-size: 13px; }
  .detail-row > td { padding: 0 16px 16px; }
  .detail-top { flex-wrap: wrap; }
  .detail .facts { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 9px 12px; }
  .lane-grid { grid-template-columns: 1fr; gap: 0; }
  .lane + .lane { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .list-footer { padding: 16px; flex-wrap: wrap; }
  .access-item { align-items: flex-start; flex-direction: column; gap: 10px; }
  .access-item > span:last-child { max-width: 100%; flex-wrap: wrap; }
  .inline-form { align-items: stretch; flex-direction: column; }
  #inviteMember { grid-template-columns: 1fr; }
  .field { min-width: 0; }
  .command-row { flex-direction: column; gap: 4px; }
  .command-row .setup-command { width: 100%; }
  .guide-content .facts { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .guide-content .facts dd { margin-bottom: 12px; }
  .admin-filters { flex-direction: column; }
  .admin-filters .field:last-child { flex: auto; }
  .admin-plan-group .access-item > span:last-child { justify-content: flex-start; width: 100%; }
  .auth-card { padding: 28px 22px; }
  .auth-card h1 { font-size: 27px; }
  .auth-brand { margin-bottom: 28px; }
  .otp-slots { gap: 6px; }
  .otp-slot { font-size: 20px; }
  body.workspace-pending { padding: 16px; }
  .workspace-pending #workspaceAccess { padding: 24px; }
}
@media (max-width: 980px) {
  .auth-layout { grid-template-columns: minmax(0,1fr); padding: 18px; }
  .auth-primary { min-height: calc(100svh - 36px); padding-inline: 8px; }
  .auth-showcase { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.muted { color: var(--muted); }


.v1-mode .otp-slots { grid-template-columns: repeat(8, minmax(0, 1fr)); }

/* Device setup keeps the account, confirmation code and consent visible together. */
#cliConnect h1 { font-size: clamp(27px, 3vw, 36px); line-height: 1.15; }
#cliConnect p { margin: 8px 0; line-height: 1.45; }
#cliCode { font: 600 24px/1.3 ui-monospace, monospace; letter-spacing: .08em; color: var(--mint); }
#cliDevice, #cliStatus { font-size: 13px; }
#cliAuthorize { gap: 12px; margin-top: 20px; }
#cliAuthorize .cli-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; }
#cliAuthorize .cli-consent { min-height: 44px; padding-block: 5px; }
#cliAuthorize .cli-consent input { appearance: auto; -webkit-appearance: auto; width: 20px; height: 20px; min-height: 20px; min-width: 20px; flex: 0 0 20px; margin: 0; padding: 0; accent-color: var(--mint); }
#cliAuthorize .cli-access { font-size: 12px; color: #a6b5aa; }
#cliConnect > a { display: inline-block; margin-top: 12px; font-size: 13px; }

#accountSecurity { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 24px; border: 1px solid var(--boundary); border-radius: 12px; background: var(--panel); color: var(--ink); margin: auto; box-sizing: border-box; }
#accountSecurity::backdrop { background: rgb(0 0 0 / 55%); }
#accountSecurity h2 { margin: 0 0 8px; font-size: 24px; }
#accountSecurity form { display: grid; gap: 8px; margin: 20px 0 8px; }
#accountSecurity input { display: block; width: 100%; box-sizing: border-box; margin: 8px 0; }
#accountSecurity button { margin: 6px 4px 6px 0; }
#accountSecurity li { padding: 6px 0; overflow-wrap: anywhere; }

.mysql-dashboard .otp-slots { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:6px; }
.mysql-dashboard .otp-slots input { width:100%; min-width:0; padding-inline:0; box-sizing:border-box; }

/* Product updates use the existing dashboard surfaces and typography. */
.product-announcement { margin-left: var(--rail-width, 88px); padding: 10px 24px; background: #eaf3f1; color: #193d35; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; }
.product-announcement p { margin: 0; }
.product-announcement a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.product-announcement button { margin-left: auto; padding: 6px; background: transparent; border: 0; color: inherit; min-width: 32px; min-height: 32px; }
.product-announcement svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.product-announcement [role="status"]:empty { display: none; }
.zdr-status { display: block; min-height: 44px; margin-bottom: 16px; padding: 10px 14px; border: 1px solid var(--amber); border-radius: 6px; background: var(--amber-bg); color: var(--amber); overflow-wrap: anywhere; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.routing-quality { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px 24px; margin-bottom: 24px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.routing-quality h2 { margin: 0; font-size: 14px; }
.routing-quality .subtitle { margin-top: 2px; }
.routing-quality a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
.quality-status { min-width: 0; overflow-wrap: anywhere; }
.product-content { min-width: 0; }
.product-content:not([hidden]) + .secondary-page { margin-top: 20px; }
.product-content .box { padding: 24px; }
.product-content h3 { margin-top: 28px; }
.product-content p { max-width: 72ch; overflow-wrap: anywhere; }
.privacy-switch { display: flex; gap: 12px; align-items: center; font-weight: 600; margin: 24px 0 12px; }
.privacy-switch input { width: 40px; height: 24px; accent-color: #285f51; flex: 0 0 auto; }
.privacy-details, .performance-method { margin-block: 20px; }
.privacy-details summary, .performance-method summary { min-height: 44px; padding-block: 10px; font-weight: 500; }
.privacy-details p + p { margin-top: 12px; }
.performance-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin: 24px 0; }
.performance-filters .field { flex: 1 1 140px; min-width: 0; }
.performance-filters input, .performance-filters select { width: 100%; min-height: 40px; min-width: 0; }
.product-content td details { max-width: 64ch; white-space: normal; }
.product-content .facts { overflow-wrap: anywhere; }
.comparison-evidence { margin-top: 20px; padding-top: 8px; border-top: 1px solid var(--line, #dfe4e2); }
.product-tour { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--line, #dfe4e2); border-radius: 16px; background: var(--surface, #fff); color: var(--text, #152a25); }
.product-tour::backdrop { background: rgb(15 32 28 / .45); }
.product-tour h2 { margin: 12px 0; }
.product-tour p { line-height: 1.6; }
.tour-actions, .tour-actions > div { display: flex; align-items: center; gap: 10px; }
.tour-actions { justify-content: space-between; margin-top: 28px; flex-wrap: wrap; }
.auth-legal { font-size: 12px; text-align: center; margin: 20px 0; color: var(--muted, #4b5756); }
.legal-page { max-width: 76ch; margin: 0 auto; padding: 32px 24px 80px; line-height: 1.7; }
.legal-page h1 { font-size: 32px; margin-top: 32px; }
.legal-page h2 { font-size: 20px; margin: 32px 0 8px; }
.legal-page a { color: inherit; text-underline-offset: 3px; }
.legal-page .legal-state { padding: 16px; background: #f3f5f4; }
@media (max-width: 768px) {
  .product-announcement { margin-left: 0; padding: 10px 16px; flex-wrap: wrap; gap: 8px 12px; justify-content: start; }
  .product-announcement p { flex: 1 1 calc(100% - 48px); }
  .product-announcement button { order: 0; }
  .product-announcement a { order: 1; }
  .topbar-account { gap: 8px; }
  .product-content .box { padding: 16px; }
  .routing-quality { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .product-tour { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .product-tour, .product-announcement { animation: none; transition: none; } }
body.dashboard-page:has(#plansAnnouncement:not([hidden])) { grid-template-rows: auto auto minmax(0,1fr); }
body.dashboard-page #plansAnnouncement { grid-column: 2; grid-row: 1; margin-left: 0; }
body.dashboard-page:has(#plansAnnouncement:not([hidden])) .topbar { grid-row: 2; }
body.dashboard-page:has(#plansAnnouncement:not([hidden])) main { grid-row: 3; }
.product-tour { background: var(--panel); color: var(--ink); }
.privacy-switch input { appearance: auto; -webkit-appearance: auto; padding: 0; accent-color: var(--accent); }
@media (max-width: 600px) {
  body.dashboard-page #plansAnnouncement { grid-column: 1; }
  .mysql-dashboard .nav-items { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .v1-mode .nav-items { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .nav-items a span { font-size: 11px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
}
.auth-legal { color: var(--shell-muted); }
.legal-choice { display:flex; align-items:start; gap:12px; margin:16px 0 24px; }
.legal-choice input { appearance:auto; -webkit-appearance:auto; width:20px; height:20px; min-height:20px; padding:0; flex:0 0 auto; accent-color:var(--accent); }

#sessionLoader { display: none; }
.session-pending > :not(#sessionLoader):not(dialog) { display: none !important; }
body.session-pending { display: grid; min-height: 100svh; place-items: center; }
.session-pending #sessionLoader { display: block; padding: 24px; }
