:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #65716c;
  --line: #d8dedb;
  --line-strong: #b8c2bd;
  --surface: #ffffff;
  --surface-2: #f5f7f6;
  --sidebar: #17201d;
  --sidebar-muted: #aeb9b4;
  --green: #087f5b;
  --green-dark: #046046;
  --teal-soft: #dff5ed;
  --blue: #1769aa;
  --red: #c13a3a;
  --red-soft: #fbe9e9;
  --amber: #a66200;
  --amber-soft: #fff2d8;
  --shadow: 0 12px 36px rgba(22, 32, 29, 0.16);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; margin: 0; background: var(--surface-2); color: var(--ink); }
body { overflow-x: hidden; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
svg { width: 18px; height: 18px; stroke-width: 1.8; flex: 0 0 auto; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--sidebar); color: white; display: flex; flex-direction: column; padding: 20px 14px 14px; z-index: 20; }
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 0 8px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: #e7ff55; color: #17201d; font-weight: 800; border-radius: 4px; }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-size: 16px; line-height: 1.1; }
.brand small { color: var(--sidebar-muted); margin-top: 3px; font-size: 11px; }
.primary-nav { display: grid; gap: 5px; margin-top: 38px; }
.nav-item { width: 100%; min-height: 42px; border: 0; border-radius: 5px; padding: 0 10px; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; color: var(--sidebar-muted); background: transparent; text-align: left; }
.nav-item:hover { color: white; background: rgba(255,255,255,.07); }
.nav-item.is-active { color: white; background: #29342f; box-shadow: inset 3px 0 #e7ff55; }
.nav-item b { min-width: 22px; padding: 2px 5px; text-align: center; font-size: 11px; border-radius: 10px; background: rgba(255,255,255,.1); }
.sidebar-foot { margin-top: auto; padding: 14px 8px 2px; border-top: 1px solid rgba(255,255,255,.13); display: grid; grid-template-columns: 9px 1fr 34px; align-items: center; gap: 9px; }
.sidebar-foot small, .sidebar-foot strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot small { color: var(--sidebar-muted); font-size: 10px; text-transform: uppercase; }
.sidebar-foot strong { font-size: 12px; margin-top: 2px; }
.health-dot { width: 8px; height: 8px; border-radius: 50%; background: #5d6762; }
.health-dot.ok { background: #42d59b; box-shadow: 0 0 0 3px rgba(66,213,155,.12); }

.main-area { min-width: 0; }
.topbar { min-height: 86px; padding: 18px 28px; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 15; }
.eyebrow { margin: 0 0 4px; color: var(--green); font-size: 10px; line-height: 1.2; font-weight: 800; text-transform: uppercase; }
.topbar h1 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.topbar-actions, .case-commandbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.project-back-link { min-height: 38px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; color: var(--green-dark); border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.project-back-link:hover, .project-back-link:focus-visible { border-color: var(--green); background: var(--teal-soft); }
.project-back-link svg { width: 15px; height: 15px; }
.showcase-strip { min-height: 66px; padding: 9px 28px; display: flex; align-items: stretch; justify-content: space-between; gap: 22px; background: #f8fbfa; border-bottom: 1px solid var(--line); }
.showcase-context { min-width: 190px; display: flex; align-items: center; gap: 10px; }
.showcase-context > span:last-child, .showcase-context strong, .showcase-context small { display: block; }
.showcase-context strong { font-size: 12px; }
.showcase-context small { margin-top: 3px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.showcase-live-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(8,127,91,.11); }
.scenario-switcher { min-width: 0; display: flex; align-items: stretch; justify-content: flex-end; border: 1px solid var(--line); border-radius: 5px; background: white; overflow: hidden; }
.scenario-switcher button { min-width: 128px; min-height: 44px; padding: 6px 10px; display: grid; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 7px; align-items: center; border: 0; border-right: 1px solid var(--line); background: white; color: var(--ink); text-align: left; }
.scenario-switcher button:last-child { border-right: 0; }
.scenario-switcher button:hover { background: var(--surface-2); }
.scenario-switcher button.is-active { background: #eff8f4; box-shadow: inset 0 -3px var(--green); }
.scenario-switcher button:disabled { opacity: .45; }
.scenario-switcher svg { grid-row: 1 / -1; width: 17px; color: var(--green); }
.scenario-switcher button:nth-child(2) svg { color: var(--blue); }
.scenario-switcher button:nth-child(3) svg, .scenario-switcher button:nth-child(4) svg { color: var(--amber); }
.scenario-switcher button:nth-child(5) svg { color: var(--red); }
.scenario-switcher span { align-self: end; font-size: 11px; font-weight: 750; white-space: nowrap; }
.scenario-switcher b { align-self: start; color: var(--muted); font-size: 9px; font-weight: 600; white-space: nowrap; }
.search-field { width: min(340px, 32vw); min-width: 210px; height: 38px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface-2); padding: 0 10px; border-radius: 5px; }
.search-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,127,91,.09); }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; }
.search-field svg { width: 16px; color: var(--muted); }
.icon-button, .primary-button, .secondary-button, .danger-button { min-height: 38px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.icon-button { width: 38px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0; }
.icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.icon-button.inverse { min-height: 32px; width: 32px; border-color: rgba(255,255,255,.14); background: transparent; color: white; }
.primary-button, .secondary-button, .danger-button { padding: 0 13px; font-weight: 650; white-space: nowrap; }
.primary-button { border: 1px solid var(--green); background: var(--green); color: white; }
.primary-button:hover { border-color: var(--green-dark); background: var(--green-dark); }
.secondary-button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.secondary-button:hover { border-color: var(--green); color: var(--green-dark); }
.danger-button { border: 1px solid var(--red); background: var(--red); color: white; }
.danger-button:hover { border-color: #9f2d2d; background: #9f2d2d; }
.primary-button.full { width: 100%; }

.view { display: none; min-height: calc(100vh - 86px); }
.view.is-active { display: block; }
.filterbar { min-height: 62px; padding: 12px 28px; display: flex; align-items: center; gap: 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.segmented { display: inline-flex; flex: 0 0 auto; height: 34px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.segmented button { min-width: 70px; border: 0; border-right: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.segmented button:last-child { border-right: 0; }
.segmented button.is-active { background: var(--ink); color: white; }
select, input, textarea { color: var(--ink); border: 1px solid var(--line-strong); background: white; border-radius: 4px; outline: 0; }
select:focus, input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,127,91,.09); }
.filterbar select { height: 34px; padding: 0 30px 0 10px; }
.result-count { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.table-wrap { margin: 20px 28px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; }
.data-table { width: calc(100% - 2px); min-width: 980px; border-collapse: collapse; table-layout: fixed; }
.data-table th { height: 41px; padding: 0 12px; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 11px; text-align: left; text-transform: uppercase; }
.data-table td { height: 64px; padding: 9px 12px; border-bottom: 1px solid #e8ecea; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #f8fbfa; }
.data-table th:nth-child(1) { width: 88px; }.data-table th:nth-child(2) { width: 25%; }.data-table th:nth-child(3) { width: 19%; }.data-table th:nth-child(4) { width: 145px; }.data-table th:nth-child(5) { width: 110px; }.data-table th:nth-child(6) { width: 120px; }.data-table th:nth-child(7) { width: 118px; }.data-table th:last-child { width: 48px; }
.case-link { display: block; color: var(--ink); font-weight: 700; border: 0; background: transparent; padding: 0; text-align: left; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-link:hover { color: var(--green); }
.subtext { margin-top: 4px; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scope-text { font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.danger-text { color: var(--red); }
.chip { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: #3d4944; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.chip.closed, .chip.monitoring, .chip.mitigated, .chip.healthy { color: var(--green-dark); border-color: #a7d9c7; background: var(--teal-soft); }
.chip.failed, .chip.rolled_back, .chip.critical, .chip.degraded, .chip.stalled { color: var(--red); border-color: #e8b2b2; background: var(--red-soft); }
.chip.awaiting_approval, .chip.high, .chip.verifying, .chip.processing { color: var(--amber); border-color: #e7c782; background: var(--amber-soft); }
.chip.verified, .chip.active { color: var(--green-dark); border-color: #a7d9c7; background: var(--teal-soft); }
.chip.blocked, .chip.revoked, .chip.invalid_or_expired { color: var(--red); border-color: #e8b2b2; background: var(--red-soft); }
.severity-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.severity-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a9690; }
.severity-dot.critical::before { background: #c13a3a; box-shadow: 0 0 0 3px #fbe9e9; }.severity-dot.high::before { background: #dc7d00; }.severity-dot.medium::before { background: #1769aa; }.severity-dot.low::before { background: #087f5b; }
.empty-state { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--muted); }.empty-state[hidden] { display: none; }.empty-state svg { width: 28px; height: 28px; }

.case-heading { min-height: 112px; padding: 18px 28px; background: var(--surface); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px minmax(260px, 1fr) auto; align-items: center; gap: 14px; }
.case-heading-main { min-width: 0; }.case-heading-line { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }.case-heading h2 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }.case-heading p { margin: 5px 0 0; color: var(--muted); font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.case-workspace { min-height: calc(100vh - 198px); display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.15fr) minmax(300px, .95fr); background: var(--surface); }
.workspace-column { min-width: 0; padding: 22px; border-right: 1px solid var(--line); overflow: hidden; }.workspace-column:last-child { border-right: 0; }
.section-heading { min-height: 38px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.section-heading.wide { align-items: center; }.section-heading h2, .section-heading h3 { margin: 0; letter-spacing: 0; }.section-heading h2 { font-size: 20px; }.section-heading h3 { font-size: 15px; }.section-heading > span { color: var(--muted); font-size: 11px; font-family: Consolas, monospace; overflow-wrap: anywhere; }
.section-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }.section-heading-actions > span { color: var(--muted); font-size: 11px; font-family: Consolas, monospace; overflow-wrap: anywhere; }
.section-divider { height: 1px; background: var(--line); margin: 24px 0; }
.timeline { margin-top: 14px; }.timeline-item { position: relative; padding: 0 0 20px 24px; }.timeline-item::before { content: ""; position: absolute; left: 5px; top: 7px; bottom: -7px; width: 1px; background: var(--line); }.timeline-item:last-child::before { display: none; }.timeline-dot { position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border: 2px solid white; border-radius: 50%; background: #7a8781; box-shadow: 0 0 0 1px var(--line-strong); }.timeline-item.authoritative .timeline-dot { background: var(--green); box-shadow: 0 0 0 1px var(--green); }.timeline-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; }.timeline-item p { margin: 7px 0 0; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }.timeline-source { color: var(--green-dark); font-weight: 800; }
.blank-panel { min-height: 180px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); gap: 9px; border: 1px dashed var(--line-strong); border-radius: 5px; margin-top: 14px; padding: 20px; }.blank-panel svg { width: 26px; height: 26px; }
.pack-summary { margin-top: 14px; }.pack-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 5px; }.pack-stats div { min-width: 0; padding: 10px; border-right: 1px solid var(--line); }.pack-stats div:last-child { border: 0; }.pack-stats strong, .pack-stats small { display: block; }.pack-stats strong { font-size: 17px; }.pack-stats small { color: var(--muted); margin-top: 3px; font-size: 10px; text-transform: uppercase; }.hypothesis-list { display: grid; gap: 8px; margin-top: 15px; }.hypothesis { border-left: 3px solid var(--blue); background: #f3f8fc; padding: 9px 10px; line-height: 1.45; font-size: 12px; }.open-question { border-left-color: var(--amber); background: #fffaf1; }
.check-list { display: grid; gap: 8px; margin-top: 12px; }.check-row { min-height: 36px; padding: 7px 9px; display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 4px; }.check-row svg { width: 16px; height: 16px; color: var(--red); }.check-row.pass svg { color: var(--green); }.assessment-result { margin-top: 12px; padding: 11px; border: 1px solid var(--line); border-left: 4px solid var(--amber); }.assessment-result.closed { border-left-color: var(--green); }.assessment-result strong, .assessment-result small { display: block; }.assessment-result small { margin-top: 4px; color: var(--muted); }
.proposal-stack { display: grid; gap: 10px; margin-top: 14px; }.proposal-item { border: 1px solid var(--line); border-radius: 5px; padding: 11px; }.proposal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.proposal-item h4 { margin: 9px 0 5px; font-size: 13px; }.proposal-item p { margin: 0; color: var(--muted); font-size: 11px; }.proposal-actions { display: flex; gap: 6px; margin-top: 11px; flex-wrap: wrap; }.proposal-actions button { min-height: 31px; padding: 0 9px; font-size: 11px; }
.audit-list { margin-top: 11px; max-height: 320px; overflow: auto; }.audit-row { padding: 9px 0; border-bottom: 1px solid #e8ecea; display: grid; grid-template-columns: 28px 1fr; gap: 8px; }.audit-sequence { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 10px; font-family: Consolas, monospace; }.audit-row strong, .audit-row small { display: block; overflow-wrap: anywhere; }.audit-row strong { font-size: 11px; }.audit-row small { color: var(--muted); margin-top: 3px; font-size: 10px; }

.section-band { padding: 28px; }.approval-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }.approval-card { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }.approval-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.approval-card h3 { margin: 13px 0 6px; font-size: 15px; }.approval-card p { color: var(--muted); line-height: 1.5; }.approval-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.approval-meta small, .approval-meta strong { display: block; overflow-wrap: anywhere; }.approval-meta small { color: var(--muted); font-size: 9px; text-transform: uppercase; }.approval-meta strong { margin-top: 3px; font-size: 11px; }.approval-card footer { display: flex; justify-content: flex-end; gap: 7px; margin-top: 12px; }
.pilot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }.pilot-card { min-width: 0; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 6px; }.pilot-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.pilot-card h3 { margin: 4px 0 0; font-size: 16px; overflow-wrap: anywhere; }.pilot-card .eyebrow { margin: 0; }.pilot-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.pilot-hashes { display: grid; gap: 4px; margin-top: 14px; padding: 10px; background: var(--surface-2); border: 1px solid var(--line); }.pilot-hashes code { min-width: 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }.pilot-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--line); }.pilot-metrics > div { min-width: 0; padding: 11px; border-right: 1px solid var(--line); }.pilot-metrics > div:last-child { border-right: 0; }.pilot-metrics strong, .pilot-metrics small { display: block; overflow-wrap: anywhere; }.pilot-metrics strong { font-size: 14px; }.pilot-metrics small { margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; }.pilot-rung { margin-top: 10px; padding: 8px 10px; border-left: 3px solid var(--amber); background: var(--surface-2); color: var(--muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }.pilot-rung.is-ready { border-left-color: var(--green); color: var(--ink); }.pilot-boundary { min-height: 48px; margin: 13px 0 0; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }.pilot-card footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; margin-top: 13px; }.closure-costs { margin-top: 12px; }
.pilot-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metric-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: white; border-bottom: 1px solid var(--line); }.metric-cell { min-height: 116px; padding: 22px; border-right: 1px solid var(--line); }.metric-cell:last-child { border-right: 0; }.metric-cell small, .metric-cell strong, .metric-cell span { display: block; }.metric-cell small { color: var(--muted); font-size: 10px; text-transform: uppercase; }.metric-cell strong { margin-top: 8px; font-size: 26px; font-variant-numeric: tabular-nums; }.metric-cell span { margin-top: 6px; color: var(--muted); font-size: 10px; }
.outcome-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 1px; background: var(--line); }.outcome-panel { min-height: 320px; padding: 24px 28px; background: white; }.outcome-panel.full { grid-column: 1 / -1; min-height: 140px; }.bar-chart { display: grid; gap: 10px; margin-top: 20px; }.bar-row { display: grid; grid-template-columns: 130px minmax(80px,1fr) 35px; gap: 10px; align-items: center; font-size: 11px; }.bar-track { height: 12px; background: var(--surface-2); border: 1px solid var(--line); }.bar-fill { height: 100%; min-width: 0; background: var(--green); }.bar-row:nth-child(3n+2) .bar-fill { background: var(--blue); }.bar-row:nth-child(3n) .bar-fill { background: var(--amber); }.portfolio-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 20px; }.portfolio-cell { min-height: 150px; padding: 18px; background: white; display: flex; flex-direction: column; justify-content: flex-end; }.portfolio-cell svg { width: 28px; height: 28px; color: var(--green); margin-bottom: auto; }.portfolio-cell strong { font-size: 28px; }.portfolio-cell span { color: var(--muted); margin-top: 4px; }.boundary-copy { max-width: 900px; margin: 14px 0 0; line-height: 1.7; color: #3d4944; }
.experiment-banner { padding: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; background: white; border-bottom: 1px solid var(--line); }.experiment-banner-copy { max-width: 760px; }.experiment-banner h2 { margin: 0; font-size: 24px; }.experiment-banner-copy > p:last-child { margin: 9px 0 0; color: var(--muted); line-height: 1.65; }.experiment-badge-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.experiment-metric-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: white; border-bottom: 1px solid var(--line); }.experiment-metric { min-width: 0; min-height: 112px; padding: 20px; border-right: 1px solid var(--line); }.experiment-metric:last-child { border-right: 0; }.experiment-metric small, .experiment-metric strong, .experiment-metric span { display: block; overflow-wrap: anywhere; }.experiment-metric small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }.experiment-metric strong { margin-top: 8px; font-size: 25px; font-variant-numeric: tabular-nums; }.experiment-metric span { margin-top: 5px; color: var(--muted); font-size: 10px; }.experiment-metric.is-failed strong { color: var(--red); }
.experiment-band { padding: 32px 28px 38px; background: white; border-bottom: 1px solid var(--line); }.experiment-band.alternate { background: #f6f8fa; }.experiment-band-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }.experiment-band-head h2 { margin: 0; font-size: 21px; }.experiment-identity { margin: 8px 0 0; color: var(--muted); font: 10px/1.5 Consolas, monospace; overflow-wrap: anywhere; }.evidence-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.evidence-actions a { min-height: 36px; text-decoration: none; font-size: 11px; }
.experiment-verdict { margin-top: 20px; padding: 15px 17px; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--line); border-left: 4px solid var(--green); background: #f2faf7; }.experiment-verdict.is-failed { border-left-color: var(--red); background: #fff6f6; }.experiment-verdict svg { width: 22px; height: 22px; color: var(--green); }.experiment-verdict.is-failed svg { color: var(--red); }.experiment-verdict strong { font-size: 14px; }.experiment-verdict p { margin: 5px 0 0; color: #3d4944; line-height: 1.55; overflow-wrap: anywhere; }
.evidence-figure-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }.evidence-figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); background: white; }.evidence-figure a { display: block; background: white; }.evidence-figure img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }.evidence-figure figcaption { min-height: 66px; padding: 12px 14px; display: grid; align-content: center; gap: 4px; border-top: 1px solid var(--line); }.evidence-figure figcaption strong, .evidence-figure figcaption span { display: block; overflow-wrap: anywhere; }.evidence-figure figcaption strong { font-size: 12px; }.evidence-figure figcaption span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.evidence-interaction-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.interactive-evidence-panel { min-width: 0; border: 1px solid var(--line); background: white; }
.interactive-evidence-panel > header { min-height: 78px; padding: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.interactive-evidence-panel h3 { margin: 0; font-size: 16px; }
.chart-mode-controls { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.chart-mode-controls button { min-height: 30px; padding: 0 9px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: white; font-size: 9px; font-weight: 700; white-space: nowrap; }
.chart-mode-controls button:last-child { border-right: 0; }
.chart-mode-controls button:hover, .chart-mode-controls button:focus-visible { color: var(--green-dark); background: var(--teal-soft); }
.chart-mode-controls button.is-active { color: white; background: var(--ink); }
.scale-explorer { min-height: 260px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scale-node { min-width: 0; padding: 14px 11px; display: grid; align-content: start; gap: 14px; border: 0; border-right: 1px solid var(--line); color: var(--ink); background: white; text-align: left; }
.scale-node:last-child { border-right: 0; }
.scale-node:hover, .scale-node:focus-visible, .scale-node.is-active { background: #f0f8f5; box-shadow: inset 0 -3px var(--green); }
.scale-node-head, .scale-node-head strong, .scale-node-head small { display: block; }
.scale-node-head strong { font-size: 20px; }
.scale-node-head small { margin-top: 3px; color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.explorer-track-row { min-width: 0; display: grid; gap: 5px; }
.explorer-track-heading { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.explorer-track-heading small { color: var(--muted); font-size: 8px; font-weight: 800; }
.explorer-track-heading code { min-width: 0; font-size: 8px; text-align: right; overflow-wrap: anywhere; }
.explorer-track { height: 7px; display: block; overflow: hidden; background: #e8edeb; }
.explorer-track-fill { height: 100%; display: block; background: var(--green); }
.explorer-track-fill.c2 { background: var(--blue); }
.explorer-track-fill.c4, .explorer-track-fill.latency { background: var(--amber); }
.explorer-track-fill.risk { background: var(--red); }
.evidence-detail { min-height: 98px; padding: 12px 14px; display: grid; align-content: center; gap: 9px; color: white; background: var(--ink); }
.evidence-detail > strong { font-size: 11px; }
.evidence-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.evidence-detail-grid span, .evidence-detail-grid small, .evidence-detail-grid b { min-width: 0; display: block; }
.evidence-detail-grid small { color: var(--sidebar-muted); font-size: 8px; }
.evidence-detail-grid b { margin-top: 2px; font: 9px/1.35 Consolas, monospace; overflow-wrap: anywhere; }
.interactive-evidence-panel > footer { min-height: 52px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; }
.interactive-evidence-panel > footer a { flex: 0 0 auto; color: var(--green-dark); font-weight: 750; text-decoration: none; white-space: nowrap; }
.interactive-evidence-panel > footer a:hover, .interactive-evidence-panel > footer a:focus-visible { text-decoration: underline; }
.ablation-explorer { min-height: 260px; padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: center; }
.ablation-node { min-width: 0; min-height: 68px; padding: 10px; display: grid; align-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: white; text-align: left; }
.ablation-node:hover, .ablation-node:focus-visible, .ablation-node.is-active { border-color: var(--green); background: #f0f8f5; }
.ablation-node.is-reference { border-left: 3px solid var(--green); }
.ablation-node-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ablation-node-head strong { min-width: 0; font-size: 10px; overflow-wrap: anywhere; }
.ablation-node-head code { flex: 0 0 auto; font-size: 9px; }
.experiment-data-grid { display: grid; grid-template-columns: minmax(560px, 1.2fr) minmax(360px, .8fr); gap: 14px; margin-top: 14px; }.evidence-table-panel { min-width: 0; margin-top: 14px; border: 1px solid var(--line); background: white; }.experiment-data-grid .evidence-table-panel { margin-top: 0; }.evidence-table-panel > .section-heading { min-height: 67px; padding: 14px; align-items: center; border-bottom: 1px solid var(--line); }.evidence-table-panel > .section-heading a { color: var(--green-dark); font-size: 10px; font-weight: 750; text-decoration: none; white-space: nowrap; }.evidence-table-panel > .section-heading a:hover { text-decoration: underline; }.evidence-table-wrap { width: 100%; overflow-x: auto; }.evidence-table { width: 100%; min-width: 680px; border-collapse: collapse; font-variant-numeric: tabular-nums; }.evidence-table th { height: 38px; padding: 0 10px; background: var(--surface-2); color: var(--muted); font-size: 9px; text-align: right; text-transform: uppercase; white-space: nowrap; }.evidence-table th:first-child, .evidence-table td:first-child { text-align: left; }.evidence-table td { height: 44px; padding: 8px 10px; border-top: 1px solid #e8ecea; font-size: 11px; text-align: right; white-space: nowrap; }.evidence-table tbody tr:hover { background: #f8fbfa; }.evidence-table tr.is-reference td:first-child { color: var(--green-dark); font-weight: 800; }.ablation-table { min-width: 610px; }.r5-table { min-width: 760px; }.provider-cell { font-weight: 800; }.failed-value { color: var(--red); font-weight: 800; }.verified-value { color: var(--green-dark); font-weight: 800; }
.gate-list { display: grid; }.gate-row { min-height: 72px; padding: 11px 13px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 11px; border-bottom: 1px solid #e8ecea; }.gate-row:last-child { border-bottom: 0; }.gate-status { display: flex; align-items: center; gap: 5px; color: var(--green-dark); font-size: 9px; }.gate-row.is-fail .gate-status { color: var(--red); }.gate-status svg { width: 15px; height: 15px; }.gate-copy { min-width: 0; display: grid; grid-template-columns: minmax(120px, 1fr) auto; gap: 4px 9px; align-content: center; }.gate-copy > strong { font-size: 11px; overflow-wrap: anywhere; }.gate-copy code { color: var(--muted); font-size: 9px; text-align: right; white-space: nowrap; }.gate-copy p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }.gate-row.is-fail { background: var(--red-soft); }
.r5-summary-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--line); background: white; }.r5-summary-cell { min-width: 0; min-height: 91px; padding: 13px; border-right: 1px solid var(--line); }.r5-summary-cell:last-child { border-right: 0; }.r5-summary-cell small, .r5-summary-cell strong, .r5-summary-cell span { display: block; overflow-wrap: anywhere; }.r5-summary-cell small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }.r5-summary-cell strong { margin-top: 7px; font-size: 17px; font-variant-numeric: tabular-nums; }.r5-summary-cell span { margin-top: 5px; color: var(--muted); font-size: 9px; }.r5-summary-cell.is-failed strong { color: var(--red); }
.provider-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }.provider-comparison { min-width: 0; padding: 16px; border: 1px solid var(--line); background: white; }.provider-comparison > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.provider-comparison h3 { margin: 0; font-size: 17px; }.provider-model { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }.comparison-measures { display: grid; gap: 13px; margin-top: 17px; }.comparison-measure { min-width: 0; }.comparison-measure-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 7px; }.comparison-measure-head > strong { font-size: 10px; }.comparison-measure-head .chip { min-height: 20px; font-size: 9px; }.comparison-bar-row { display: grid; grid-template-columns: 52px minmax(80px, 1fr) 76px; align-items: center; gap: 8px; min-height: 23px; }.comparison-bar-row small { color: var(--muted); font-size: 9px; }.comparison-bar-row code { font-size: 9px; text-align: right; white-space: nowrap; }.comparison-track { height: 8px; display: block; background: #edf0ef; }.comparison-fill { height: 100%; display: block; }.comparison-fill.baseline { background: #8b9691; }.comparison-fill.treatment { background: var(--green); }.provider-cost-note { min-height: 38px; margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.artifact-ledger { margin-top: 14px; padding: 14px; display: grid; grid-template-columns: minmax(190px, .45fr) minmax(260px, .55fr); gap: 12px 20px; align-items: center; border: 1px solid var(--line); background: white; }.artifact-ledger h3 { margin: 0; font-size: 14px; }.artifact-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 14px; }.artifact-links a { color: var(--green-dark); font-size: 10px; font-weight: 750; text-decoration: none; }.artifact-links a:hover { text-decoration: underline; }.artifact-ledger > code { grid-column: 1 / -1; padding: 9px; background: var(--surface-2); color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.connector-table { margin-top: 20px; border: 1px solid var(--line); background: white; overflow-x: auto; }.connector-row { min-height: 62px; min-width: 960px; display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(90px, .8fr) 90px 100px 78px 68px 68px minmax(130px, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }.connector-row:last-child { border-bottom: 0; }.connector-row.header { min-height: 38px; background: var(--surface-2); color: var(--muted); font-size: 10px; text-transform: uppercase; }.connector-field { min-width: 0; overflow-wrap: anywhere; }.connector-field::before { display: none; }.connector-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }.connector-name span:first-child { width: 32px; height: 32px; display: grid; place-items: center; background: var(--teal-soft); color: var(--green-dark); border-radius: 4px; }
.policy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); min-height: calc(100vh - 86px); }.policy-layout > section { padding: 28px; background: white; }.policy-layout h2 { margin: 0; font-size: 20px; }.policy-list, .mode-matrix { margin-top: 22px; border-top: 1px solid var(--line); }.policy-item { min-height: 58px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }.policy-index { color: var(--green); font-family: Consolas, monospace; font-weight: 800; }.policy-item strong, .policy-item small { display: block; }.policy-item small { color: var(--muted); margin-top: 3px; }.mode-row { min-height: 70px; display: grid; grid-template-columns: 150px 1fr 90px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }.mode-row strong, .mode-row small { display: block; }.mode-row small { color: var(--muted); margin-top: 4px; }.mode-access { text-align: right; color: var(--green-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.lifecycle-console { padding: 28px; background: white; border-bottom: 1px solid var(--line); }.lifecycle-heading { min-height: 46px; }.lifecycle-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--line); }.lifecycle-metric { min-width: 0; min-height: 96px; padding: 15px; border-right: 1px solid var(--line); }.lifecycle-metric:last-child { border-right: 0; }.lifecycle-metric strong, .lifecycle-metric small, .lifecycle-metric span { display: block; overflow-wrap: anywhere; }.lifecycle-metric strong { font-size: 20px; }.lifecycle-metric small { margin-top: 7px; color: var(--ink); font-size: 10px; font-weight: 800; text-transform: uppercase; }.lifecycle-metric span { margin-top: 4px; color: var(--muted); font-size: 10px; font-family: Consolas, monospace; }.lifecycle-workspace { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(360px, 1.4fr) minmax(250px, .9fr); gap: 1px; margin-top: 22px; background: var(--line); border: 1px solid var(--line); }.lifecycle-panel { min-width: 0; padding: 18px; background: white; }.lifecycle-list { display: grid; gap: 9px; margin-top: 12px; }.lifecycle-row { min-width: 0; padding: 12px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 4px; }.lifecycle-row.is-expired { border-left-color: var(--muted); }.lifecycle-row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }.lifecycle-row-head > div { min-width: 0; }.lifecycle-row-head strong, .lifecycle-row-head small { display: block; overflow-wrap: anywhere; }.lifecycle-row-head strong { font-size: 12px; }.lifecycle-row-head small { margin-top: 4px; color: var(--muted); font-size: 9px; }.lifecycle-row > p { margin: 10px 0; color: #3d4944; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }.lifecycle-row footer { display: flex; justify-content: flex-end; margin-top: 10px; }.lifecycle-row footer button { min-height: 31px; padding: 0 9px; font-size: 11px; }.lifecycle-hash { display: block; padding: 7px; background: var(--surface-2); color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }.candidate-details { margin-top: 8px; color: var(--muted); font-size: 10px; }.candidate-details summary { cursor: pointer; font-weight: 700; }.candidate-list { display: grid; gap: 5px; margin-top: 7px; padding: 8px; background: var(--surface-2); max-height: 150px; overflow: auto; }.candidate-list code { overflow-wrap: anywhere; }.lifecycle-audit-list { max-height: 460px; margin-top: 12px; overflow: auto; }.lifecycle-audit-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); }.lifecycle-audit-row strong, .lifecycle-audit-row small { display: block; overflow-wrap: anywhere; }.lifecycle-audit-row strong { font-size: 11px; }.lifecycle-audit-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }.lifecycle-blank { min-height: 94px; display: grid; place-items: center; align-content: center; gap: 7px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 4px; font-size: 11px; }.lifecycle-blank svg { width: 22px; height: 22px; }.integrity-ok { color: var(--green) !important; }.integrity-failed { color: var(--red) !important; }.execution-contract { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 22px; border: 1px solid var(--line); background: var(--line); }.execution-contract > div { padding: 12px; background: white; }.execution-contract small, .execution-contract strong { display: block; }.execution-contract small { color: var(--muted); font-size: 9px; text-transform: uppercase; }.execution-contract strong { margin-top: 5px; overflow-wrap: anywhere; }.execution-contract code { grid-column: 1 / -1; padding: 10px; background: var(--surface-2); color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }.danger-dialog header { border-top: 4px solid var(--red); }

dialog { border: 0; padding: 0; color: var(--ink); border-radius: 6px; box-shadow: var(--shadow); }.auth-dialog { width: min(400px, calc(100vw - 30px)); }.form-dialog { width: min(760px, calc(100vw - 30px)); }.form-dialog.compact { width: min(520px, calc(100vw - 30px)); }dialog::backdrop { background: rgba(15, 23, 20, .58); backdrop-filter: blur(2px); }.auth-dialog form { padding: 30px; }.dialog-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 20px; background: var(--teal-soft); color: var(--green-dark); border-radius: 5px; }.dialog-icon svg { width: 23px; height: 23px; }.auth-dialog h2 { margin: 0 0 22px; }.auth-dialog label, .form-dialog label { display: grid; gap: 6px; color: #3d4944; font-size: 11px; font-weight: 700; }.auth-dialog label { margin-bottom: 14px; }.auth-dialog input, .form-dialog input, .form-dialog select, .form-dialog textarea { width: 100%; min-height: 39px; padding: 8px 10px; }.form-dialog textarea { resize: vertical; line-height: 1.5; }.form-dialog form > header { min-height: 76px; padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.form-dialog h2 { margin: 0; font-size: 18px; }.form-dialog .form-grid, .form-dialog form > label { margin: 20px 22px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.span-2 { grid-column: 1 / -1; }.check-label { display: flex !important; align-items: center; align-self: end; min-height: 39px; grid-template-columns: 18px 1fr !important; }.check-label input { width: 17px; min-height: 17px; accent-color: var(--green); }.form-dialog footer { min-height: 66px; padding: 13px 22px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; border-top: 1px solid var(--line); background: var(--surface-2); }.form-error { min-height: 18px; color: var(--red); font-size: 11px; }.form-dialog .form-error { margin: 0 22px 4px; }
.connection-copy { margin: -10px 0 18px; color: var(--muted); line-height: 1.6; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 100; display: grid; gap: 8px; width: min(360px, calc(100vw - 36px)); }.toast { padding: 12px 14px; display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; border: 1px solid var(--line-strong); border-left: 4px solid var(--green); border-radius: 5px; background: white; box-shadow: var(--shadow); }.toast.error { border-left-color: var(--red); }.toast p { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .showcase-strip { display: block; }
  .showcase-context { min-height: 35px; }
  .scenario-switcher { margin-top: 7px; justify-content: flex-start; overflow-x: auto; }
  .scenario-switcher button { flex: 1 0 128px; }
  .case-workspace { grid-template-columns: 1fr 1fr; }.action-column { grid-column: 1 / -1; border-top: 1px solid var(--line); }.metric-strip { grid-template-columns: repeat(3, 1fr); }.metric-cell { border-bottom: 1px solid var(--line); }.approval-grid { grid-template-columns: 1fr; }.pilot-grid { grid-template-columns: 1fr; }.lifecycle-summary { grid-template-columns: repeat(3, 1fr); }.lifecycle-metric { border-bottom: 1px solid var(--line); }.lifecycle-workspace { grid-template-columns: 1fr 1fr; }.lifecycle-plans { grid-row: span 2; }
  .experiment-metric-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }.experiment-metric { border-bottom: 1px solid var(--line); }.evidence-figure-stack, .evidence-interaction-stack, .experiment-data-grid, .provider-comparison-grid { grid-template-columns: 1fr; }.r5-summary-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }.r5-summary-cell { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .project-back-link { width: 38px; padding: 0; justify-content: center; }
  .project-back-link span { display: none; }
  .showcase-strip { padding: 9px 16px 11px; }
  .showcase-context { min-height: 31px; }
  .scenario-switcher { width: calc(100vw - 32px); }
  .scenario-switcher button { min-width: 122px; flex-basis: 122px; }
  .table-wrap { background: transparent; border: 0; overflow: visible; }
  .data-table { display: block; width: 100%; min-width: 0; }
  .data-table thead { display: none; }
  .data-table tbody { display: grid; gap: 10px; }
  .data-table tr { min-width: 0; padding: 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto auto auto; gap: 8px 10px; background: white; border: 1px solid var(--line); border-radius: 6px; }
  .data-table td { width: auto; height: auto; min-width: 0; padding: 0; border: 0; white-space: normal; }
  .data-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .data-table td:nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
  .data-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .data-table td:nth-child(8) { grid-column: 2; grid-row: 2; align-self: center; }
  .data-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; padding-top: 3px; border-top: 1px solid #e8ecea; }
  .data-table td:nth-child(5) { grid-column: 1; grid-row: 4; }
  .data-table td:nth-child(6) { grid-column: 2; grid-row: 4; max-width: 150px; text-align: right; overflow-wrap: anywhere; }
  .data-table td:nth-child(7) { grid-column: 1 / -1; grid-row: 5; color: var(--muted); font-size: 10px; }
  .data-table td:nth-child(6)::before { content: "Owner · "; color: var(--muted); font-size: 9px; text-transform: uppercase; }
  .data-table td:nth-child(7)::before { content: "Updated · "; text-transform: uppercase; }
  .case-link, .subtext { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
  .case-link { line-height: 1.4; }
  .app-shell { display: block; padding-bottom: 62px; }.sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 62px; padding: 6px 8px; flex-direction: row; }.brand, .sidebar-foot { display: none; }.primary-nav { width: 100%; margin: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }.nav-item { min-height: 50px; min-width: 0; padding: 3px; display: flex; flex-direction: column; justify-content: center; gap: 2px; text-align: center; font-size: 9px; overflow-wrap: anywhere; }.nav-item b { display: none; }.nav-item.is-active { box-shadow: inset 0 3px #e7ff55; }.nav-item svg { width: 16px; height: 16px; }.topbar { position: static; min-height: 76px; padding: 14px 16px; }.topbar-actions { flex-wrap: nowrap; }.search-field { display: none; }.topbar-actions .primary-button span, .section-heading-actions .primary-button span, .case-commandbar button span { display: none; }.topbar-actions .primary-button, .section-heading-actions .primary-button { width: 38px; padding: 0; }.filterbar { padding: 10px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: visible; }.filterbar .segmented { width: 100%; grid-column: 1 / -1; }.filterbar .segmented button { min-width: 0; flex: 1 1 0; }.filterbar select { width: 100%; min-width: 0; }.result-count { display: none; }.table-wrap { margin: 14px 16px 24px; }.case-heading { padding: 14px 16px; grid-template-columns: 38px 1fr; }.case-commandbar { grid-column: 1 / -1; justify-content: flex-start; }.case-workspace { display: block; }.workspace-column { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px; }.section-band { padding: 20px 16px; }.section-heading.wide { align-items: flex-start; }.section-heading-actions { align-items: flex-end; flex-direction: column-reverse; }.metric-strip { grid-template-columns: 1fr 1fr; }.metric-cell { min-height: 100px; padding: 16px; }.outcome-layout, .policy-layout { display: block; }.outcome-panel, .policy-layout > section { padding: 20px 16px; }.pilot-card header { display: grid; }.pilot-chips { justify-content: flex-start; }.pilot-metrics { grid-template-columns: 1fr; }.pilot-metrics > div { border-right: 0; border-bottom: 1px solid var(--line); }.pilot-metrics > div:last-child { border-bottom: 0; }.connector-table { display: grid; gap: 10px; border: 0; background: transparent; overflow: visible; }.connector-row.header { display: none; }.connector-row:not(.header) { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 12px; padding: 14px; border: 1px solid var(--line); background: white; }.connector-field { display: grid; gap: 5px; align-content: start; }.connector-field::before { content: attr(data-label); display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }.connector-primary { grid-column: 1 / -1; }.connector-row > *:last-child { text-align: left; }.form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: auto; }.lifecycle-console { padding: 20px 16px; }.lifecycle-heading { display: grid; }.lifecycle-actions { width: 100%; margin-top: 12px; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }.lifecycle-actions .primary-button { width: auto; padding: 0 13px; }.lifecycle-actions .primary-button span { display: inline; }.lifecycle-summary, .lifecycle-workspace { grid-template-columns: 1fr; }.lifecycle-metric { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--line); }.lifecycle-metric:last-child { border-bottom: 0; }.lifecycle-plans { grid-row: auto; }.mode-row { grid-template-columns: minmax(0, 1fr) 80px; }.mode-row > span:nth-child(2) { display: none; }
  .experiment-banner { padding: 20px 16px; display: block; }.experiment-badge-row { justify-content: flex-start; margin-top: 14px; }.experiment-metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }.experiment-metric { min-height: 92px; padding: 14px; }.experiment-band { padding: 24px 16px 30px; }.experiment-band-head { display: block; }.experiment-band-head h2 { font-size: 18px; }.evidence-actions { justify-content: flex-start; margin-top: 14px; }.evidence-actions a { flex: 1 1 120px; }.experiment-verdict { padding: 13px; grid-template-columns: 21px minmax(0, 1fr); }.evidence-interaction-stack { gap: 10px; }.interactive-evidence-panel > header { display: grid; }.chart-mode-controls { width: 100%; }.chart-mode-controls button { flex: 1 1 0; padding: 0 5px; }.scale-explorer { grid-template-columns: repeat(2, minmax(0, 1fr)); }.scale-node:nth-child(2) { border-right: 0; }.scale-node:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.interactive-evidence-panel > footer { align-items: flex-start; flex-direction: column; }.ablation-explorer { grid-template-columns: 1fr; }.evidence-table-panel > .section-heading { min-height: 74px; align-items: flex-start; }.gate-copy { grid-template-columns: 1fr; }.gate-copy code { text-align: left; }.gate-copy p { grid-column: auto; }.r5-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }.r5-summary-cell { min-height: 84px; }.provider-comparison { padding: 14px; }.provider-comparison > header { display: grid; }.comparison-bar-row { grid-template-columns: 46px minmax(60px, 1fr) 68px; }.artifact-ledger { grid-template-columns: 1fr; }.artifact-links { justify-content: flex-start; }.artifact-ledger > code { grid-column: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in .18s ease-out; } @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
}
