/* CP234 Stitch foundation. Loaded after the legacy route styles so existing DOM,
   actions and archived views keep their contracts. The five owner screenshots,
   rather than the export's placeholder telemetry, define this visual layer. */

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/golos-text-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/golos-text-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/golos-text-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.stitch-workspace {
  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --font-body: var(--font);
  --font-display: var(--font);
  --font-heading: var(--font);
  --font-mono: var(--mono);
  --wall: #080c10;
  --bg: #080c10;
  --side-bg: #0b1016;
  --panel: #10161e;
  --panel-raised: #151d27;
  --panel-soft: #0c1118;
  --surface: var(--panel);
  --surface-2: var(--panel-raised);
  --surface-3: #1a2431;
  --panel-solid: var(--panel);
  --text: #edf1f6;
  --muted: #b9c3d0;
  --dim: #8d9aab;
  --soft: var(--dim);
  --ink: #041a0c;
  --line: #1f2a37;
  --line-strong: #334252;
  --line-control: #56677b;
  --hover: #151e29;
  --seg-on: #1d2b37;
  --green: #0de46b;
  --cyan: #35bdf3;
  --purple: #9486ff;
  --amber: #ffb326;
  --teal: #16c4b5;
  --accent: var(--green);
  --lime: var(--green);
  --lime-soft: var(--accent-soft);
  --accent-strong: var(--green);
  --good: var(--green);
  --pos: var(--green);
  --neg: #ff657c;
  --red: #ff657c;
  --blue: var(--cyan);
  --violet: var(--purple);
  --coral: #ff9b63;
  --football: var(--green);
  --tennis: var(--cyan);
  --hockey: #8cc8ff;
  --esports: var(--purple);
  --basketball: var(--amber);
  --volleyball: var(--teal);
  --viz-money: var(--cyan);
  --viz-ai: var(--purple);
  --viz-market: var(--teal);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, var(--panel));
  --accent-line: color-mix(in srgb, var(--accent) 38%, var(--line));
  --good-soft: color-mix(in srgb, var(--good) 10%, var(--panel));
  --pos-soft: color-mix(in srgb, var(--pos) 10%, var(--panel));
  --neg-soft: color-mix(in srgb, var(--neg) 10%, var(--panel));
  --red-soft: color-mix(in srgb, var(--red) 10%, var(--panel));
  --amber-soft: color-mix(in srgb, var(--amber) 10%, var(--panel));
  --blue-soft: color-mix(in srgb, var(--blue) 10%, var(--panel));
  --football-tint: color-mix(in srgb, var(--football) 12%, var(--panel));
  --tennis-tint: color-mix(in srgb, var(--tennis) 12%, var(--panel));
  --hockey-tint: color-mix(in srgb, var(--hockey) 12%, var(--panel));
  --esports-tint: color-mix(in srgb, var(--esports) 12%, var(--panel));
  --basketball-tint: color-mix(in srgb, var(--basketball) 12%, var(--panel));
  --volleyball-tint: color-mix(in srgb, var(--volleyball) 12%, var(--panel));
  --shadow: none;
  --shadow-lg: 0 20px 70px #0008;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --pill: 6px;
  --side: 240px;
  --page-max: 1560px;
  --page-gutter: 24px;
  --fs-micro: 11px;
  --fs-meta: 12px;
  --fs-label: 13px;
  --fs-body: 14px;
  --fs-lead: 14px;
  --fs-card: 16px;
  --fs-block: 18px;
  --fs-h1: 24px;
  --fs-num: 28px;
  --fs-pct: 15px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

/* Theme keys are stable for saved preferences and keyboard/palette controls. */
html[data-skin="mocha"] .stitch-workspace {
  --wall: #0d0c12;
  --bg: #0d0c12;
  --side-bg: #100f17;
  --panel: #17151f;
  --panel-raised: #211e2b;
  --panel-soft: #121118;
  --surface-3: #2a2536;
  --line: #2c283a;
  --line-strong: #443b56;
  --hover: #211e2b;
  --seg-on: #302a3f;
  --text: #f0edf7;
  --muted: #c7bfd7;
  --dim: #a59cb9;
}
html[data-skin="tablo"] .stitch-workspace { --green: #aeea47; }
html[data-skin="light"] .stitch-workspace {
  --wall: #f3f6f7;
  --bg: #f3f6f7;
  --side-bg: #fafcfc;
  --panel: #ffffff;
  --panel-raised: #edf2f5;
  --panel-soft: #f7f9fa;
  --surface-3: #e5ecf0;
  --text: #14232c;
  --muted: #425561;
  --dim: #596c79;
  --ink: #ffffff;
  --line: #d6e0e5;
  --line-strong: #b5c5ce;
  --line-control: #7e929f;
  --hover: #eaf1f3;
  --seg-on: #dfecef;
  --green: #08783e;
  --cyan: #087ba9;
  --purple: #6f4cd3;
  --amber: #986000;
  --teal: #087c73;
  --neg: #c52d48;
  --red: #c52d48;
  --coral: #b74b0e;
  --hockey: #246fb0;
  --shadow-lg: 0 20px 70px #14232c22;
}
@media (prefers-color-scheme: light) {
  html:not([data-skin]) .stitch-workspace {
    --wall: #f3f6f7; --bg: #f3f6f7; --side-bg: #fafcfc;
    --panel: #ffffff; --panel-raised: #edf2f5; --panel-soft: #f7f9fa; --surface-3: #e5ecf0;
    --text: #14232c; --muted: #425561; --dim: #596c79; --ink: #ffffff;
    --line: #d6e0e5; --line-strong: #b5c5ce; --line-control: #7e929f; --hover: #eaf1f3; --seg-on: #dfecef;
    --green: #08783e; --cyan: #087ba9; --purple: #6f4cd3; --amber: #986000; --teal: #087c73;
    --neg: #c52d48; --red: #c52d48; --coral: #b74b0e; --hockey: #246fb0;
  }
}

.stitch-workspace :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea) {
  font-family: var(--font);
}
.stitch-workspace :is(code, pre, kbd, .mono, .appbar-clock) {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.stitch-workspace :is(h1, h2, h3, h4, h5, h6) { letter-spacing: -0.025em; }
.stitch-workspace .fa-app { align-items: start; }
.stitch-workspace .fa-side {
  height: 100dvh;
  gap: 4px;
  padding: 18px 12px 14px;
  background: var(--side-bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.stitch-workspace .brand { gap: 10px; min-height: 52px; padding: 0 6px 18px; }
.stitch-workspace .brand-logo {
  box-sizing: content-box;
  flex-shrink: 0;
  padding: 5px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--green);
  background: var(--accent-soft);
}
.stitch-workspace .brand-name { gap: 3px; }
.stitch-workspace .brand-name strong { color: var(--text); font-size: 16px; font-weight: 700; letter-spacing: -0.035em; }
.stitch-workspace .brand-name small { color: var(--green); font: 500 10px/1.4 var(--mono); letter-spacing: 0; }
.stitch-workspace .fa-search {
  gap: 7px;
  min-height: 36px;
  margin: 0 0 14px;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--muted);
  background: var(--panel);
  font-size: 12px;
}
.stitch-workspace .fa-search .ic { width: 15px; height: 15px; }
.stitch-workspace kbd { height: 19px; min-width: 19px; border-width: 1px; border-radius: 4px; background: var(--panel-raised); font-size: 10px; }
.stitch-workspace .side-nav-label { margin: 0 10px 7px; color: var(--dim); font: 500 10px/1.5 var(--mono); letter-spacing: 0.075em; text-transform: uppercase; }
.stitch-workspace .side-nav { gap: 5px; }
.stitch-workspace :is(.side-nav > a, .side-more > summary, .side-more a) {
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
}
.stitch-workspace .side-nav > a .ic { width: 17px; height: 17px; color: var(--dim); }
.stitch-workspace :is(.side-nav > a[aria-current="page"], .side-more a[aria-current="page"]) {
  border-color: var(--accent-line);
  color: var(--text);
  background: var(--accent-soft);
  font-weight: 650;
}
.stitch-workspace .side-nav > a[aria-current="page"] :is(.ic, .nav-key) { color: var(--green); }
.stitch-workspace .nav-key { height: 18px; min-width: 18px; margin-left: auto; padding: 0 3px; border: 1px solid var(--line); background: var(--panel); }
.stitch-workspace .side-nav > a[aria-current="page"] .nav-key { border-color: var(--accent-line); background: var(--accent-soft); }
.stitch-workspace .side-more { margin-top: 12px; }
.stitch-workspace .side-more > summary { border-color: var(--line); background: var(--panel-soft); }
.stitch-workspace .side-more > a { min-height: 34px; margin: 3px 0; padding: 6px 9px 6px 37px; font-size: 12px; }
.stitch-workspace .side-foot { gap: 10px; padding-top: 22px; }
.stitch-workspace .status-card { padding: 12px 2px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.stitch-workspace .health-pill { gap: 7px; font-size: 11px; font-weight: 400; }
.stitch-workspace .live-dot { flex-basis: 6px; width: 6px; height: 6px; box-shadow: none; }
.stitch-workspace .theme-swatches { gap: 8px; padding: 3px 0; }
.stitch-workspace .theme-swatch { width: 17px; height: 17px; }
.stitch-workspace .theme-swatch[data-theme-pick="tokyo"] { background: #0de46b; }
.stitch-workspace .theme-swatch[data-theme-pick="mocha"] { background: #9486ff; }
.stitch-workspace .theme-swatch[data-theme-pick="light"] { background: #e7f5fa; }
.stitch-workspace .theme-swatch[data-theme-pick="tablo"] { background: #aeea47; }

.stitch-workspace .app-shell { background: var(--bg); }
.stitch-workspace .appbar {
  min-height: 56px;
  gap: 16px;
  padding: 9px var(--page-gutter);
  background: color-mix(in srgb, var(--side-bg) 96%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stitch-workspace .shell-context { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.stitch-workspace .shell-wordmark { color: var(--muted); font: 600 11px/1.4 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; }
.stitch-workspace .shell-mode { padding: 2px 6px; border: 1px solid var(--accent-line); border-radius: 4px; color: var(--green); background: var(--accent-soft); font: 600 10px/1.4 var(--mono); text-transform: uppercase; }
.stitch-workspace .appbar-status { gap: 12px; }
.stitch-workspace .appbar-status .freshness { max-width: 280px; min-height: 28px; overflow: hidden; padding: 3px 8px; border-color: var(--line); border-radius: 5px; background: var(--panel); font: 400 11px/1.5 var(--mono); text-overflow: ellipsis; }
.stitch-workspace .appbar-clock { display: inline; color: var(--text); font: 500 12px/1.5 var(--mono); }
.stitch-workspace .appbar-clock:empty { display: none; }
.stitch-workspace .appbar .icon-button { border-radius: 5px; background: var(--panel); }
.stitch-workspace .shell-refresh { display: inline-flex; gap: 7px; flex-basis: auto; width: auto; padding: 0 10px; font-size: 12px; }
.stitch-workspace .shell-refresh .ic { color: var(--green); }
.stitch-workspace .logout-button { color: var(--green); }
.stitch-workspace .workspace-main { min-height: calc(100dvh - 148px); padding-top: 22px; padding-bottom: 36px; }
.stitch-workspace .page-heading { margin-bottom: 18px; }
.stitch-workspace .page-heading .eyebrow { display: block; margin: 0 0 5px; color: var(--cyan); font: 500 10px/1.5 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.stitch-workspace .page-heading h1 { min-width: 0; max-width: 100%; overflow: visible; font-size: var(--fs-h1); font-weight: 750; line-height: 1.25; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.stitch-workspace .page-description { display: block; max-width: 900px; margin-top: 6px; overflow: visible; color: var(--muted); font-size: 13px; line-height: 1.5; text-overflow: clip; white-space: normal; }
.stitch-workspace .workspace-footer { padding-top: 16px; padding-bottom: 20px; color: var(--dim); font-size: 11px; }
.stitch-workspace .workspace-footer > span { overflow-wrap: anywhere; }
.stitch-workspace .workspace-footer a { color: var(--green); }
.stitch-workspace .product-route { margin-bottom: 16px; border-radius: 6px; }
.stitch-workspace .route-page { gap: 16px; }

/* Shared primitives retain their semantic colors in every route and old record. */
.stitch-workspace :is(.button, .icon-button, .fa-icon-btn, .fa-seg, .sport-tabs, .page-toolbar, .filter-group select, .filter-group input, .ledger-filters select) { border-radius: 6px; }
.stitch-workspace :is(.fa-panel, .fa-sheet, .fa-toast, .login-card) { border-radius: 10px; }
.stitch-workspace :is(.fa-card, .event-card, .run-block, .metric, .empty-state, .loading-card) { box-shadow: none; }
.stitch-workspace .button.primary { color: var(--ink); background: var(--green); }
.stitch-workspace .fa-panel { background: var(--panel); }
.stitch-workspace .fa-overlay { background: #0009; }
.stitch-workspace :is(.run-header, .fa-card-head) > div { min-width: 0; }
.stitch-workspace .run-header h3 { overflow-wrap: anywhere; }
.stitch-workspace .run-header .card-actions { flex-wrap: wrap; }
.stitch-workspace :is(.lab-level > summary, .lab-secondary > summary) { white-space: normal; overflow-wrap: anywhere; }
html[data-skin] .stitch-workspace.login-body,
html:not([data-skin]) .stitch-workspace.login-body { background: var(--bg); }
.stitch-workspace .login-brand { color: var(--text); }
.stitch-workspace .login-logo { color: var(--green); }
.stitch-workspace .login-card { border-color: var(--line); background: var(--panel); box-shadow: none; }
.stitch-workspace .login-form input { border-color: var(--line-control); border-radius: 6px; color: var(--text); background: var(--panel-soft); }

/* /legacy remains the diagnostic document, with the same type and palette. */
.stitch-legacy::before, .stitch-legacy .ambient { display: none; }
.stitch-legacy .shell { width: min(1480px, calc(100% - 48px)); }
.stitch-legacy .topbar { min-height: 76px; }
.stitch-legacy .brand { padding: 0; }
.stitch-legacy .desk-nav { background: var(--bg); }
.stitch-legacy .hero { min-height: 180px; padding-top: 28px; gap: 24px; }
.stitch-legacy .hero h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.035em; }
.stitch-legacy .hero-copy { font-size: 14px; }
.stitch-legacy :is(.command-card, .summary-card, .radar-card, .focus-deck, .manual-decision-log, .research-card, .ai-briefing-card, .flow-lab, .evidence-note, dialog, .chart-card) { border-color: var(--line); border-radius: 10px; background: var(--panel); box-shadow: none; }
.stitch-legacy :is(.hero-clock, .review-log-summary > div, .review-log-item, .flow-row, .flow-wallet-row, .focus-card, .candidate-card, .signal-row, .detail-stat, .review-fields input, .review-fields textarea) { border-color: var(--line); border-radius: 6px; background: var(--panel-soft); }
.stitch-legacy :is(.desk-nav a, .source-state, .health-pill, .evidence-chip) { border-radius: 5px; }
/* Legacy surfaces used fixed forest backgrounds and pale accent text. Keep the
   diagnostic layout while inheriting the active Stitch palette at every layer. */
.stitch-legacy { --text-soft: var(--muted); --legacy-link: color-mix(in srgb, var(--cyan) 85%, var(--text)); }
.stitch-legacy :is(.metric-card, .selection-lab) { background: var(--panel); border-color: var(--line); box-shadow: none; }
.stitch-legacy :is(.ai-briefing-meta > span, .selection-summary > div, .selection-column, .focus-summary > div, .focus-item, .focus-deferred-item, .esports-evidence-grid > article, .annotation-field input, .annotation-field select, .annotation-field textarea) { background: var(--panel-soft); }
.stitch-legacy .esports-annotation-panel { background: var(--panel-soft) !important; }
.stitch-legacy :is(.ai-briefing-headline, .review-submit, .annotation-submit) { color: var(--text); }
.stitch-legacy :is(.esports-outcome strong, .source-registry-row em, .annotation-version, .candidate-actions a, .candidate-actions button, .focus-summary strong, .focus-rank, .focus-choice strong, .focus-deferred summary, .review-log-item a, .review-selection) { color: var(--legacy-link); }
.stitch-legacy .esports-lab .selection-summary strong, .stitch-legacy .review-log-item.reviewed header strong { color: var(--legacy-link); }
.stitch-legacy .candidate-actions .review-button { color: var(--text); }
.stitch-legacy .candidate-actions .research-packet-button { color: var(--purple); }
.stitch-legacy .candidate-actions :is(.review-button, .research-packet-button):disabled { color: var(--muted); }
.stitch-legacy .screening-row.excluded em { color: var(--amber); }
.stitch-legacy th { color: var(--muted); }
.stitch-legacy .candidate-topline { flex-wrap: wrap; }
.stitch-legacy .candidate-topline > .decision-pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.stitch-legacy .note-icon { font-family: var(--font); }
.stitch-legacy #market-diagnostics .filters :is(input, select, option) { color: var(--text); background: var(--panel-soft); border-color: var(--line-control); }
.stitch-legacy #market-diagnostics .filters input::placeholder { color: var(--muted); opacity: 1; }
/* Public handles may be a complete 42-character wallet address. */
.stitch-legacy .tipster-row > :is(strong, span, small) { min-width: 0; overflow-wrap: anywhere; }
.stitch-extension .shell-wordmark { text-decoration: none; }
.stitch-extension .nav-icon { color: var(--green); font: 500 11px var(--mono); }

@media (min-width: 1680px) { .stitch-workspace { --side: 256px; --page-gutter: 28px; } }
@media (max-width: 1100px) and (min-width: 721px) {
  .stitch-workspace { --side: 216px; --page-gutter: 20px; }
  .stitch-workspace .appbar-status { gap: 8px; }
  .stitch-workspace .appbar-status .freshness { display: inline-flex; max-width: 200px; }
  .stitch-workspace .shell-refresh > span { display: none; }
}
@media (max-width: 720px) {
  .stitch-workspace { --page-gutter: 16px; --fs-h1: 23px; --fs-body: 14px; --fs-meta: 12px; }
  .stitch-workspace .fa-app { display: block; }
  .stitch-workspace .fa-side { display: none; }
  .stitch-workspace .appbar { min-height: 54px; gap: 9px; padding-top: 8px; padding-bottom: 8px; }
  .stitch-workspace .appbar .mobile-only { display: inline-grid !important; }
  .stitch-workspace .shell-context { gap: 7px; }
  .stitch-workspace .shell-wordmark { font: 650 11px/1.3 var(--font); letter-spacing: -0.01em; text-transform: none; }
  .stitch-workspace .shell-mode { padding: 2px 4px; font-size: 9px; }
  .stitch-workspace .appbar-status { gap: 6px; }
  .stitch-workspace .appbar-status .freshness { display: none; }
  .stitch-workspace .appbar-clock { display: inline; font-size: 11px; }
  .stitch-workspace .shell-refresh { width: 34px; padding: 0; justify-content: center; }
  .stitch-workspace .shell-refresh > span { display: none; }
  .stitch-workspace .workspace-main { padding-top: 20px; padding-bottom: 28px; }
  .stitch-workspace .page-heading { margin-bottom: 16px; }
  .stitch-workspace .page-heading .eyebrow { font-size: 10px; }
  .stitch-workspace .page-description { display: block; margin-top: 7px; font-size: 13px; }
  .stitch-workspace .route-page { gap: 14px; }
  .stitch-workspace .workspace-footer { margin-bottom: 72px; padding-bottom: 20px; }
  .stitch-workspace .mobile-nav { gap: 0; padding: 8px 4px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--side-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stitch-workspace .mobile-nav > a { min-height: 44px; gap: 4px; border-radius: 6px; color: var(--dim); font-size: 10px; }
  .stitch-workspace .mobile-nav > a .ic { width: 19px; height: 19px; }
  .stitch-workspace .mobile-nav > a[aria-current="page"] { color: var(--green); background: var(--accent-soft); }
  .stitch-workspace .run-header { flex-wrap: wrap; gap: 10px; }
  .stitch-workspace .run-header > div { width: 100%; }
  .stitch-workspace :is(.run-header h3, .fa-card-title) { overflow: visible; text-overflow: clip; white-space: normal; }
  .stitch-workspace .fa-overlay { padding-top: 10vh; }
  .stitch-workspace .fa-panel { max-height: 76dvh; }
  .stitch-workspace .fa-toast { bottom: 80px; }
  .stitch-legacy .shell { width: calc(100% - 32px); }
  .stitch-legacy .hero { min-height: 0; }
  .stitch-legacy .topbar { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .stitch-legacy .brand .eyebrow { white-space: normal; overflow-wrap: anywhere; }
  .stitch-legacy .selection-actions { flex-wrap: wrap; }
  .stitch-legacy .selection-actions > .evidence-chip { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .stitch-legacy .selection-column-heading { flex-wrap: wrap; }
  .stitch-legacy .selection-column-heading > div { min-width: 0; }
  .stitch-legacy .selection-column-heading > .decision-pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .stitch-legacy .source-state { max-width: 100%; }
  .stitch-legacy .source-state #source-text { max-width: none; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
  .stitch-extension .workspace-footer { margin-bottom: 0; }
}
