/* Race Desk: compact comparison layout with the approved ivory, navy and teal tone. */
:root {
  --page:#eef3f4; --surface:#fffefa; --surface-muted:#f5f8f7;
  --ink:#142b43; --muted:#536c78; --line:#b9cbd1; --line-soft:#dbe5e7;
  --blue:#176d79; --blue-soft:#e8f2f3; --green:#126e68; --green-soft:#e9f4f0;
  --shadow-sm:0 2px 10px rgba(19,49,67,.05); --shadow-md:0 16px 42px rgba(19,49,67,.12);
  --radius-xl:20px; --radius-lg:15px; --radius-md:10px;
}
html,body { background:var(--page); }
.site-header { border-bottom:1px solid #b7cbd0; background:rgba(255,254,250,.96); box-shadow:0 2px 14px rgba(18,46,65,.06); }
.brand-mark { background:#173950; }
.brand-copy strong { font-family:Georgia,"Times New Roman",serif; font-size:19px; }
.brand-copy small { color:#52747e; }
.section-label { color:#126e78; }
.site-footer { border-top:1px solid #d3e0e2; background:#17374f; color:#dfe9e9; }
.site-footer p { color:#dfe9e9; }
body[data-workspace="insights"] .app-shell { width:min(1570px,calc(100% - 28px)); padding-top:16px; }
body[data-workspace="insights"] #dashboard {
  display:grid; grid-template-columns:154px minmax(0,1fr);
  grid-template-rows:auto auto minmax(0,1fr); gap:0 14px; align-items:start;
}
body[data-workspace="insights"] #meeting-toolbar { grid-column:2; grid-row:1; margin:0 0 12px; padding:11px 16px; border-color:#c7d6d9; border-radius:12px; box-shadow:none; background:#fffefa; }
body[data-workspace="insights"] #meeting-toolbar .toolbar-icon { width:36px; height:36px; }
body[data-workspace="insights"] #meeting-toolbar .toolbar-heading strong { font-size:15px; }
body[data-workspace="insights"] #meeting-toolbar select { height:40px; border-color:#bbcbd0; border-radius:8px; }
body[data-workspace="insights"] #meeting-toolbar .meeting-selects { gap:8px; }
body[data-workspace="insights"] #race-nav {
  grid-column:1; grid-row:1 / span 3; position:sticky; top:82px!important;
  display:block; align-self:start; min-height:625px; max-height:calc(100dvh - 98px);
  overflow:auto; margin:0; padding:16px 10px; border:1px solid #173a51;
  border-radius:13px; background:#17374f; color:#e9f2f3; box-shadow:0 8px 24px rgba(18,51,73,.14);
}
body[data-workspace="insights"] .race-nav-label { display:block; margin:0 0 14px 7px; color:#c5d8dc; font-size:11px; letter-spacing:.09em; }
body[data-workspace="insights"] .race-tabs { display:grid; gap:3px; overflow:visible; }
body[data-workspace="insights"] .race-tab { width:100%; min-width:0; min-height:48px; padding:7px 10px; border-radius:7px; color:#c8d9dc; }
body[data-workspace="insights"] .race-tab strong { font-size:14px; }
body[data-workspace="insights"] .race-tab span { color:#adc4ca; font-size:11px; }
body[data-workspace="insights"] .race-tab:hover { background:#244f68; color:#fff; }
body[data-workspace="insights"] .race-tab[aria-selected=true] { border-left:3px solid #68bec0; background:#146f7c; color:#fff; box-shadow:none; }
body[data-workspace="insights"] .race-tab[aria-selected=true] span { color:#e5f5f4; }
body[data-workspace="insights"] #workspace-page-header {
  grid-column:2; grid-row:2; min-width:0; margin:0 0 12px; border-color:#c7d6d9;
  border-radius:12px; background:#fffefa; box-shadow:none;
}
body[data-workspace="insights"] #workspace-page-header:after { display:none; }
body[data-workspace="insights"] .workspace-page-main { display:flex; justify-content:space-between; gap:10px; padding:6px 12px; }
body[data-workspace="insights"] .workspace-page-context { max-width:none; margin:0; padding:7px 10px; border:0; background:transparent; color:#314f60; font-weight:750; }
body[data-workspace="insights"] #insights-workspace { grid-column:2; grid-row:3; min-width:0; gap:10px; padding:0 0 24px; }
body[data-workspace="insights"] .insights-hero {
  display:block; min-height:0; padding:16px 20px; border:1px solid #c6d8dc; border-radius:11px;
  background:#fffefa; color:#142b43; box-shadow:none;
}
body[data-workspace="insights"] .insights-hero:after,body[data-workspace="insights"] .insights-trust-strip { display:none; }
body[data-workspace="insights"] .insights-kicker { margin:0 0 3px; color:#0f6e76; font-size:10px; letter-spacing:.14em; }
body[data-workspace="insights"] .insights-hero h1 { max-width:none; margin:0; color:#142b43; font-family:Georgia,"Noto Serif TC",serif; font-size:clamp(25px,2.3vw,32px); line-height:1.12; letter-spacing:-.02em; }
body[data-workspace="insights"] .insights-hero p { max-width:none; margin:5px 0 0; color:#4f6973; font-size:12px; line-height:1.5; }
body[data-workspace="insights"] .audience-switcher { display:flex; gap:0; padding:0 7px; border:1px solid #c6d8dc; border-radius:11px; background:#fffefa; }
body[data-workspace="insights"] .audience-switcher button {
  display:flex; flex:1 1 0; align-items:center; justify-content:center; gap:7px; min-width:0; min-height:47px;
  padding:6px 9px; border:0; border-bottom:3px solid transparent; border-radius:0; background:transparent;
  color:#536b76; box-shadow:none; text-align:center; transform:none;
}
body[data-workspace="insights"] .audience-switcher button:hover { background:#f0f7f7; color:#134856; }
body[data-workspace="insights"] .audience-switcher button[aria-selected=true] { border-bottom-color:#147987; background:#f0f8f7; color:#124a57; }
body[data-workspace="insights"] .audience-number { align-self:auto; color:#177784; font-size:11px; }
body[data-workspace="insights"] .audience-switcher strong { align-self:auto; font-size:13px; }
body[data-workspace="insights"] .audience-switcher small { display:none; }
body[data-workspace="insights"] .insight-audience-panel { padding:16px; border-color:#c6d8dc; border-radius:11px; background:#fffefa; box-shadow:none; }
body[data-workspace="insights"] .insight-panel-heading { padding-bottom:10px; border-color:#d6e2e4; }
body[data-workspace="insights"] .insight-panel-heading h2 { color:#142b43; font-family:Georgia,"Noto Serif TC",serif; font-size:23px; }
body[data-workspace="insights"] .insight-panel-heading p { color:#54717c; }
body[data-workspace="insights"] .newbie-layout {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(255px,29%);
  grid-template-areas:"picks inspector" "shortlist inspector" "detail inspector";
  align-items:start; gap:10px 12px;
}
#insight-newbie-shortlist { grid-area:picks; min-width:0; }
#race-desk-inspector { grid-area:inspector; min-width:0; }
#race-desk-shortlist { grid-area:shortlist; min-width:0; }
#race-desk-field { grid-area:field; min-width:0; }
#insight-race-field-snapshot { grid-area:detail; min-width:0; }
body[data-workspace="insights"][data-publication-view="true"] .newbie-layout {
  grid-template-columns:minmax(0,1fr); grid-template-areas:"picks" "detail";
}
body[data-publication-view="true"] #race-desk-inspector,
body[data-publication-view="true"] #race-desk-shortlist { display:none; }
.combined-evidence-section { margin-top:22px; padding-top:16px; border-top:1px solid var(--line-soft); }
@media (min-width:761px) {
  body[data-workspace="insights"] .audience-switcher { justify-self:center; width:max-content; max-width:100%; }
  body[data-workspace="insights"] .audience-switcher button { flex:0 0 auto; }
}
body[data-workspace="insights"] .newbie-shortlist { gap:8px; }
body[data-workspace="insights"] .beginner-selection-grid { grid-template-columns:1fr; gap:7px; }
body[data-workspace="insights"] .race-desk-pick {
  display:grid; grid-template-columns:minmax(138px,1fr) auto auto; align-items:center; gap:2px 12px;
  padding:11px 13px; border:1px solid #d3e0e2; border-left:4px solid #6e9eaf; border-radius:8px;
  background:#fffefa; color:#142b43; box-shadow:none;
}
body[data-workspace="insights"] .race-desk-pick.selection-primary { border-left-color:#188795; background:#f8fcfb; }
body[data-workspace="insights"] .race-desk-pick .selection-role { grid-column:1; padding:0; background:transparent; color:#24717b; font-size:10px; letter-spacing:.07em; }
body[data-workspace="insights"] .race-desk-pick h3 { grid-column:1; margin:2px 0; color:#132e47; font-family:Georgia,"Noto Serif TC",serif; font-size:clamp(17px,1.7vw,22px); line-height:1.3; }
body[data-workspace="insights"] .race-desk-pick > .selection-section-label,
body[data-workspace="insights"] .race-desk-pick > .context-evidence-block,
body[data-workspace="insights"] .race-desk-pick > .selection-limitation,
body[data-workspace="insights"] .race-desk-pick > .selection-evidence { display:none; }
body[data-workspace="insights"] .race-desk-pick .selection-metrics {
  grid-column:2; grid-row:1 / span 2; display:grid; grid-template-columns:repeat(2,minmax(68px,1fr)); gap:0;
}
body[data-workspace="insights"] .race-desk-pick .selection-metric { padding:2px 8px; border-left:1px solid #d4e2e4; border-radius:0; background:transparent; }
body[data-workspace="insights"] .race-desk-pick .selection-metric span,
body[data-workspace="insights"] .race-desk-pick .selection-price span { color:#57737c; font-size:10px; }
body[data-workspace="insights"] .race-desk-pick .selection-metric strong { color:#0e6874; font-size:19px; line-height:1.1; }
body[data-workspace="insights"] .race-desk-pick .selection-market {
  grid-column:3; grid-row:1 / span 2; width:126px; margin:0; padding:0 0 0 9px; border:0; border-left:1px solid #d4e2e4;
}
body[data-workspace="insights"] .race-desk-pick .selection-market > .selection-section-label { margin:0; color:#5e7880; font-size:9px; }
body[data-workspace="insights"] .race-desk-pick .selection-prices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; }
body[data-workspace="insights"] .race-desk-pick .selection-price { gap:0; min-width:0; padding:0; border:0; background:transparent; }
body[data-workspace="insights"] .race-desk-pick .selection-price strong { color:#193c54; font-size:16px; }
body[data-workspace="insights"] .race-desk-pick .selection-price small { display:none; }
body[data-workspace="insights"] .race-desk-pick .desk-rationale-summary {
  grid-column:1 / -1; margin:7px 0 0; padding:9px 11px;
  border-left:3px solid #15918e; border-radius:4px; background:#eaf6f4;
  color:#164a55; font-size:12px; line-height:1.5;
}
body[data-workspace="insights"] .desk-inspect-action {
  grid-column:1 / -1; display:inline-flex; justify-self:end; align-items:center; gap:8px;
  min-height:44px; padding:6px 5px; border:0; background:transparent; color:#116c77; font-size:11px; font-weight:750;
}
body[data-workspace="insights"] .desk-inspect-action:hover { text-decoration:underline; }
body[data-workspace="insights"] .desk-inspect-action[aria-pressed=true] { color:#133b54; }
body[data-workspace="insights"] .newbie-shortlist > .selection-disclaimer,
body[data-workspace="insights"] .newbie-shortlist > .prepared-view-note { margin:0; padding:8px 10px; color:#55727c; font-size:11px; }
.race-desk-inspector { position:sticky; top:83px; display:grid; align-content:start; gap:7px; max-height:calc(100dvh - 98px); overflow:auto; padding:17px; border:1px solid #cbdbdf; border-radius:8px; background:#f3f8fa; }
.race-desk-inspector h3 { margin:3px 0 0; color:#142f47; font-family:Georgia,"Noto Serif TC",serif; font-size:21px; }
.desk-inspector-context { margin:0 0 5px; color:#56717b; font-size:11px; }
.race-desk-inspector .context-evidence-block { margin:0; padding:0; border:0; background:transparent; }
.race-desk-inspector .context-evidence-block > span { color:#155b6c; font-size:11px; font-weight:800; }
.race-desk-inspector .horse-evidence-factor { margin:8px 0; padding:9px; border:1px solid #d5e5e8; border-radius:8px; background:#fffefa; }
.race-desk-inspector .horse-evidence-factor strong { color:#193c53; font-size:12px; }
.race-desk-inspector .horse-evidence-factor small,
.race-desk-inspector .horse-evidence-factor p { margin:2px 0; color:#59737b; font-size:11px; line-height:1.5; }
.race-desk-inspector .selection-limitation { margin:5px 0; padding:9px; border-left:3px solid #b87851; border-radius:5px; background:#fff4eb; color:#704937; font-size:11px; }
.race-desk-inspector .selection-evidence { margin:2px 0; padding:6px 0; }
.race-desk-inspector .selection-evidence summary { color:#146c78; font-size:11px; }
.desk-inspector-caveat { margin:3px 0 0; color:#607983; font-size:10px; line-height:1.5; }
.desk-rationale-detail { display:grid; gap:7px; padding:11px; border:1px solid #c9e3e1; border-radius:8px; background:#fff; }
.desk-rationale-detail > strong { color:#116c77; font-size:12px; }
.desk-rationale-detail p { margin:0; color:#254b58; font-size:11px; line-height:1.55; }
.desk-rationale-detail > small { color:#667e86; font-size:10px; }
.desk-rationale-comparison { display:grid; gap:3px; padding:8px 9px; border-radius:6px; background:#edf7f5; font-size:11px; line-height:1.4; }
.desk-rationale-comparison strong { color:#145d6b; }
.desk-rationale-comparison small { color:#587681; }
.race-desk-shortlist,.race-desk-field { padding:11px 13px; border:1px solid #d4e0e3; border-radius:8px; background:#fffefa; }
.desk-section-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.desk-section-heading h3 { margin:0; color:#193c53; font-family:Georgia,"Noto Serif TC",serif; font-size:17px; }
.desk-section-heading p { margin:2px 0 7px; color:#58717a; font-size:10px; }
.desk-shortlist-items { display:flex; flex-wrap:wrap; gap:6px; }
.desk-shortlist-item { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:6px 8px; border:1px solid #d4e3e5; border-radius:7px; background:#f2f7f8; color:#193b51; font-size:11px; font-weight:750; }
.desk-shortlist-item strong { display:grid; width:22px; height:22px; place-items:center; border-radius:5px; background:#dceff0; color:#145d6b; font-size:12px; }
.desk-shortlist-item[aria-pressed=true] { border-color:#197c86; background:#e5f4f2; }
.desk-field-scroll { width:100%; overflow-x:auto; border:1px solid #dce5e8; border-radius:6px; }
.desk-field-table { width:100%; min-width:540px; border-collapse:collapse; color:#203e50; font-size:11px; }
.desk-field-table th,.desk-field-table td { padding:8px 7px; border-bottom:1px solid #e3eaeb; text-align:left; white-space:nowrap; }
.desk-field-table th { background:#edf4f5; color:#486570; font-weight:800; }
.desk-field-table th:first-child,.desk-field-table td:first-child { text-align:center; }
.desk-field-table tbody tr:hover { background:#f2f9f8; }
.desk-field-table tbody tr:last-child td { border-bottom:0; }
.desk-field-number { color:#114f64; font-weight:800; }
.desk-field-horse { max-width:180px; overflow:hidden; color:#142c43; font-weight:800; text-overflow:ellipsis; }
.desk-field-probability { color:#0d6874; font-weight:800; }
.desk-field-market-status { margin:0 0 8px; padding:8px 10px; border-left:3px solid #0d7281; border-radius:4px; background:#f0f8f9; color:#225260; font-size:11px; font-weight:700; line-height:1.4; }
.desk-field-note { margin:7px 0 0; color:#607983; font-size:10px; line-height:1.4; }
.desk-field-pending { margin:7px 0 0; padding:7px 9px; border-left:3px solid #b87851; background:#fff5ed; color:#75513c; font-size:11px; line-height:1.5; }
.race-desk-empty { margin:0; padding:10px; color:#667d84; font-size:12px; }
.declaration-comparison { display:grid; gap:11px; min-width:0; }
.revision-change-banner { display:grid; gap:4px; min-width:0; padding:11px 13px; border:1px solid #d7e2e3; border-left:4px solid #c79637; border-radius:8px; background:#fff9ed; color:#514b3e; font-size:12px; line-height:1.5; }
.revision-change-banner strong { color:#223f52; font-size:14px; }
.revision-change-banner small { overflow-wrap:anywhere; color:#605744; font-size:11px; }
.declaration-comparison .race-revision-panel { display:grid; gap:12px; min-width:0; padding:14px; border:1px solid #c8dcdd; border-left:4px solid #12808a; border-radius:9px; background:#f8fcfb; }
.declaration-comparison .published-early-tips { border-color:#dce3e5; border-left-color:#9cabb2; background:#fbfcfc; }
.revision-panel-heading { display:grid; gap:4px; min-width:0; }
.revision-panel-heading h3 { margin:0; color:#17384d; font:700 clamp(17px,1.7vw,22px)/1.25 Georgia,"Noto Serif TC",serif; }
.revision-panel-heading p { margin:0; overflow-wrap:anywhere; color:#58727c; font-size:11px; line-height:1.5; }
.revision-version { width:max-content; max-width:100%; padding:4px 8px; border-radius:999px; background:#eef1f2; color:#526b75; font-size:10px; font-weight:850; line-height:1.3; }
.revision-version.is-latest { background:#dff2ef; color:#096f71; }
.revision-original-list { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.revision-original-tip { display:grid; grid-template-columns:25px minmax(0,1fr) auto; align-items:center; gap:9px; min-width:0; padding:8px 10px; border:1px solid #e0e8e9; border-radius:7px; background:#fff; }
.revision-original-order { display:grid; width:25px; height:25px; place-items:center; border-radius:6px; background:#edf2f3; color:#43616c; font-size:11px; font-weight:850; }
.revision-original-identity,.revision-original-probability { display:grid; gap:2px; min-width:0; }
.revision-original-identity strong { overflow-wrap:anywhere; color:#193c53; font-size:12px; }
.revision-original-identity small,.revision-original-probability small { overflow-wrap:anywhere; color:#617984; font-size:10px; line-height:1.4; }
.revision-original-probability { text-align:right; }
.revision-original-probability strong { color:#476b73; font-size:14px; }
.home-tips-list .home-tip-divider { padding:8px 10px; border-left:3px solid #9baeb4; background:#f2f5f5; color:#3e5966; font-weight:750; }
.home-tips-list .home-tip-divider.is-latest { border-left-color:#12808a; background:#e9f6f3; color:#13636a; }
.decision-layers { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:1180px) { .decision-layer-card:last-child { grid-column:auto; } }
.historical-replay { display:grid; gap:13px; min-width:0; padding:17px; border:1px solid #b9d4d8; border-left:5px solid #117b82; border-radius:9px; background:#fffefa; color:#193c53; }
.historical-replay-heading { display:grid; gap:5px; }
.historical-replay-kicker { color:#176e78; font-size:11px; font-weight:800; letter-spacing:.06em; }
.historical-replay h3 { margin:0; font:700 clamp(20px,2.2vw,27px)/1.2 Georgia,"Noto Serif TC",serif; }
.historical-replay-heading p,.historical-replay-meta { margin:0; color:#526e78; font-size:12px; line-height:1.5; }
.historical-replay .historical-replay-caution { padding:8px 10px; border-left:3px solid #b87851; border-radius:4px; background:#fff4ea; color:#765039; }
.historical-replay-leaders { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.historical-replay-leader { display:grid; gap:5px; min-width:0; padding:13px; border:1px solid #d0e0e2; border-radius:8px; background:#f4f9f8; }
.historical-replay-leader span { color:#176e78; font-size:11px; font-weight:800; }
.historical-replay-leader strong { overflow-wrap:anywhere; font:700 21px/1.2 Georgia,"Noto Serif TC",serif; }
.historical-replay-leader p { margin:0; color:#0b6876; font-size:14px; font-weight:800; }
.historical-replay-field { max-width:100%; overflow-x:auto; border:1px solid #dce5e8; border-radius:7px; }
.historical-replay-field table { width:100%; min-width:430px; border-collapse:collapse; font-size:13px; }
.historical-replay-field th,.historical-replay-field td { padding:9px; border-bottom:1px solid #e3eaeb; text-align:left; }
.historical-replay-field th { background:#edf4f5; color:#365567; }
.historical-replay-field td:nth-child(n+3) { color:#0b6876; font-weight:800; }
.historical-replay-field tr:last-child td { border-bottom:0; }
@media (max-width:600px) { .historical-replay { padding:12px; } .historical-replay-leaders { grid-template-columns:1fr; } }
body[data-workspace="insights"] .insight-race-field-snapshot { display:block; padding:0; border:0; background:transparent; }
body[data-workspace="insights"] .insight-race-field-snapshot[hidden] { display:none; }
body[data-workspace="insights"] .race-desk-detailed-field { border:1px solid #d4e0e3; border-radius:8px; background:#fffefa; }
body[data-workspace="insights"] .race-desk-detailed-field > .insight-race-field-heading { padding:12px; }
body[data-workspace="insights"] .race-desk-detailed-field > .insight-race-field-table { padding:0 12px 12px; }
@media (max-width:1100px) {
  body[data-workspace="insights"] #dashboard { grid-template-columns:118px minmax(0,1fr); gap:0 9px; }
  body[data-workspace="insights"] #race-nav { padding:10px 5px; }
  body[data-workspace="insights"] .newbie-layout { grid-template-columns:minmax(0,1fr) minmax(220px,32%); }
  body[data-workspace="insights"] .race-desk-pick { grid-template-columns:minmax(130px,1fr) auto; }
  body[data-workspace="insights"] .race-desk-pick .selection-market { grid-column:2; grid-row:3; width:100%; padding:3px 0 0; border:0; }
  body[data-workspace="insights"] .race-desk-pick .selection-metrics { grid-column:2; grid-row:1 / span 2; }
}
@media (max-width:760px) {
  .decision-layers { grid-template-columns:1fr; }
  .home-tips-list li:not(.home-tip-divider) { grid-template-columns:minmax(0,1fr) auto; }
  .home-tips-list li:not(.home-tip-divider) .home-tip-role { grid-column:1 / -1; justify-self:start; white-space:normal; }
  .home-tips-list li:not(.home-tip-divider) .home-tip-identity { grid-column:1; }
  .home-tips-list li:not(.home-tip-divider) .home-tip-probability { grid-column:2; }
  .revision-change-banner { padding:10px 11px; }
  .declaration-comparison .race-revision-panel { padding:11px; }
  .revision-original-tip { grid-template-columns:24px minmax(0,1fr); }
  .revision-original-probability { grid-column:2; justify-self:start; grid-template-columns:auto auto; align-items:baseline; gap:6px; text-align:left; }
  body[data-workspace="insights"] .app-shell { width:calc(100% - 16px); padding-top:8px; padding-bottom:100px; }
  body[data-workspace="insights"] #dashboard { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto; gap:7px; }
  body[data-workspace="insights"] #meeting-toolbar { grid-column:1; grid-row:1; margin:0; padding:10px; }
  body[data-workspace="insights"] #meeting-toolbar .toolbar-heading { display:none; }
  body[data-workspace="insights"] #meeting-toolbar .meeting-toolbar-side { display:none; }
  body[data-workspace="insights"] #race-nav { grid-column:1; grid-row:2; position:relative; top:auto!important; min-height:0; max-height:none; overflow:visible; padding:5px; border-radius:9px; background:#17374f; }
  body[data-workspace="insights"] .race-nav-label { display:none; }
  body[data-workspace="insights"] .race-tabs { display:flex; gap:3px; overflow-x:auto; }
  body[data-workspace="insights"] .race-tab { display:grid; place-items:center; min-width:47px; width:auto; min-height:44px; padding:5px 6px; }
  body[data-workspace="insights"] .race-tab span { display:none; }
  body[data-workspace="insights"] #workspace-page-header { grid-column:1; grid-row:3; margin:0; }
  body[data-workspace="insights"] .workspace-page-main { display:flex; padding:4px 8px; }
  body[data-workspace="insights"] .workspace-page-context { overflow:hidden; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
  body[data-workspace="insights"] #insights-workspace { grid-column:1; grid-row:4; padding:0; }
  body[data-workspace="insights"] .insights-hero { padding:11px 13px; }
  body[data-workspace="insights"] .insights-hero h1 { font-size:24px; }
  body[data-workspace="insights"] .insights-hero p { font-size:11px; }
  body[data-workspace="insights"] .audience-switcher {
    position:fixed; z-index:45; right:0; bottom:0; left:0; gap:0;
    padding:0 4px max(4px,env(safe-area-inset-bottom)); border-radius:12px 12px 0 0;
    background:#fffefa; box-shadow:0 -6px 22px rgba(17,43,61,.15);
  }
  body[data-workspace="insights"] .audience-switcher button { display:grid; justify-items:center; gap:1px; min-height:55px; padding:5px 2px; border-bottom:0; border-top:3px solid transparent; }
  body[data-workspace="insights"] .audience-switcher button[aria-selected=true] { border-top-color:#147987; }
  body[data-workspace="insights"] .audience-number { font-size:9px; }
  body[data-workspace="insights"] .audience-switcher strong { font-size:11px; }
  body[data-workspace="insights"] .insight-audience-panel { padding:10px; }
  body[data-workspace="insights"] .insight-panel-heading h2 { font-size:20px; }
  body[data-workspace="insights"] .newbie-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:"picks" "shortlist" "inspector" "detail"; gap:7px; }
  .race-desk-inspector { position:static; max-height:none; }
  body[data-workspace="insights"] .race-desk-pick { grid-template-columns:minmax(0,1fr) auto; gap:2px 8px; padding:9px; }
  body[data-workspace="insights"] .race-desk-pick h3 { font-size:18px; }
  body[data-workspace="insights"] .race-desk-pick .selection-metrics { grid-column:1 / -1; grid-row:3; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:6px; }
  body[data-workspace="insights"] .race-desk-pick .selection-metric:first-child { border-left:0; }
  body[data-workspace="insights"] .race-desk-pick .selection-market { grid-column:1 / -1; grid-row:4; width:100%; margin-top:5px; padding:5px 7px; border:1px solid #d8e5e7; border-radius:5px; }
  body[data-workspace="insights"] .race-desk-pick .selection-prices { display:flex; justify-content:flex-start; gap:20px; }
  body[data-workspace="insights"] .race-desk-pick .desk-rationale-summary { grid-row:5; }
  body[data-workspace="insights"] .race-desk-pick .desk-inspect-action { grid-row:6; }
}
