:root {
  --ink: #172026;
  --muted: #5d6970;
  --subtle: #667279;
  --line: #d8dee2;
  --line-strong: #bcc6cb;
  --surface: #ffffff;
  --surface-soft: #f4f6f7;
  --surface-deep: #e9edef;
  --nav: #10272a;
  --nav-soft: #17383b;
  --teal: #087f73;
  --teal-dark: #08635b;
  --teal-soft: #dff3ee;
  --blue: #2563a6;
  --blue-soft: #e4effa;
  --amber: #a45d06;
  --amber-soft: #fff1d9;
  --red: #a33a34;
  --red-soft: #fbe7e5;
  --green: #24714d;
  --green-soft: #e0f2e8;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--surface-soft); }
body { margin: 0; min-width: 320px; min-height: 100vh; font-size: 15px; letter-spacing: 0; }
button, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #68a7d4; outline-offset: 2px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; color: #fff; background: var(--blue); border-radius: var(--radius); }
.skip-link:focus-visible { width: auto; height: auto; padding: 10px 14px; overflow: visible; clip-path: none; }

.app-header { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: #fff; background: var(--nav); border-bottom: 1px solid #26474a; }
.brand-block { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-block strong, .brand-block span { display: block; }
.brand-block strong { font-size: 16px; }
.brand-block span { margin-top: 1px; color: #a9c0c2; font-size: 12px; }
.brand-mark { display: grid !important; width: 34px; height: 34px; place-items: center; border: 1px solid #5d8f91; border-radius: var(--radius); color: #a7f3df !important; font-weight: 800; }
.environment-status { display: flex; align-items: center; gap: 8px; color: #c9d8d9; font-size: 13px; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; background: #55d39b; border-radius: 50%; }
.environment-status.failed .status-dot { background: #ef7b72; }

.view-tabs { min-height: 54px; display: flex; align-items: stretch; justify-content: space-between; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.view-tabs [role="tablist"] { display: flex; gap: 24px; }
.view-tabs button { position: relative; padding: 0 2px; border: 0; color: var(--muted); background: transparent; font-weight: 650; cursor: pointer; }
.view-tabs button[aria-selected="true"] { color: var(--teal-dark); }
.view-tabs button[aria-selected="true"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--teal); }
.view-tabs button.completed::before { content: "✓"; display: inline-grid; width: 16px; height: 16px; margin-right: 5px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 10px; }
.view-tabs p { align-self: center; margin: 0; color: var(--subtle); font-size: 12px; }

.view { min-height: calc(100vh - 114px); }
.view-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 64px; }
.workspace-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 114px); }
.queue-rail { padding: 24px 20px; background: #edf1f2; border-right: 1px solid var(--line); }
.intake-workspace { min-width: 0; padding: 28px 32px 64px; background: var(--surface); }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 24px; line-height: 1.25; }
h2 { margin-bottom: 6px; font-size: 19px; line-height: 1.3; }
h3 { margin-bottom: 4px; font-size: 17px; line-height: 1.35; }
p { color: var(--muted); line-height: 1.55; }
.eyebrow { margin-bottom: 4px; color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading > div { min-width: 0; }
.compact-heading { align-items: center; margin-bottom: 14px; }
.compact-heading h1, .compact-heading h2 { margin-bottom: 0; font-size: 16px; }
.source-chip, .recorded-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 700; white-space: nowrap; }
.recorded-tag { background: #f7faf9; }

.queue-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.queue-list li { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: #38464d; }
.queue-list strong { min-width: 28px; padding: 3px 7px; text-align: center; color: var(--nav); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
.rail-note { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--line-strong); }
.rail-note strong { font-size: 13px; }
.rail-note p { margin: 6px 0 0; font-size: 12px; }

.intake-form { display: grid; gap: 8px; padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.developer-mode { margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.developer-mode > summary { width: fit-content; cursor: pointer; font-weight: 750; }
.developer-mode[open] > summary { margin-bottom: 10px; }
.quality-scoreband { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid var(--line); border-top: 3px solid var(--teal); background: #fff; }
.quality-scoreband div { min-width: 0; padding: 13px 15px; }
.quality-scoreband div + div { border-left: 1px solid var(--line); }
.quality-scoreband span, .quality-scoreband strong, .quality-scoreband small { display: block; }
.quality-scoreband span { color: var(--subtle); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.quality-scoreband strong { margin-top: 3px; color: var(--teal-dark); font-size: 22px; }
.quality-scoreband small { margin-top: 2px; color: var(--muted); line-height: 1.35; }
.intake-form label { margin-top: 4px; color: #39474e; font-size: 12px; font-weight: 750; }
.mode-control { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line); }
.mode-control legend { float: left; margin-right: 6px; color: var(--subtle); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.mode-control label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.mode-control label:has(input:disabled) { color: var(--subtle); }
.mode-control label.available { color: var(--teal-dark); }
.mode-control input { accent-color: var(--teal); }
.mode-control span { margin-left: auto; color: var(--subtle); font-size: 11px; }
.scenario-picker { display: grid; gap: 8px; margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.scenario-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.scenario-heading span { color: var(--subtle); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.scenario-heading small { color: var(--subtle); font-size: 11px; }
.scenario-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scenario-options button { min-width: 0; padding: 10px 11px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer; }
.scenario-options button:hover { border-color: var(--teal); background: #f7fbfa; }
.scenario-options button[aria-pressed="true"] { color: var(--teal-dark); background: var(--teal-soft); border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.scenario-options strong, .scenario-options small { display: block; overflow-wrap: anywhere; }
.scenario-options strong { font-size: 12px; }
.scenario-options small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.intake-form select, .intake-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); background: #fff; }
.intake-form select { height: 44px; padding: 0 10px; }
.intake-form textarea { min-height: 92px; resize: vertical; padding: 10px; line-height: 1.45; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.form-actions p { margin: 0; font-size: 12px; }

.primary-button, .secondary-button, .primary-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 4px; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary-button, .primary-link { border: 1px solid var(--teal-dark); color: #fff; background: var(--teal-dark); }
.primary-button:hover, .primary-link:hover { background: #064e48; }
.primary-button:disabled { cursor: wait; opacity: 0.68; }
.secondary-button { border: 1px solid var(--line-strong); color: #314047; background: #fff; }
.secondary-button:hover { background: var(--surface-soft); }

.inline-alert { margin-top: 12px; padding: 11px 12px; border-radius: 4px; font-size: 13px; }
.error-alert { color: #752923; background: var(--red-soft); border: 1px solid #e0a39e; }
.review-panel { margin-top: 18px; border: 1px solid var(--line-strong); border-left: 4px solid var(--blue); border-radius: var(--radius); background: #fff; }
.review-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.review-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 14px 18px; }
.review-details.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-details div { min-width: 0; padding-right: 14px; }
.review-details div + div { padding-left: 14px; border-left: 1px solid var(--line); }
dt { color: var(--subtle); font-size: 11px; font-weight: 750; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.live-request-receipt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 0; border: 1px solid #9cc9be; background: #edf8f5; }
.live-request-receipt div { min-width: 0; padding: 10px 12px; }
.live-request-receipt div + div { border-left: 1px solid #b8dcd3; }
.live-request-receipt dt { color: var(--teal-dark); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.live-request-receipt dd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.ticket-receipt { display: block; margin-top: 4px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.priority-badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.priority-badge.urgent { color: #7b2c26; background: var(--red-soft); }
.priority-badge.standard { color: #6d4a13; background: var(--amber-soft); }
.quality-warning { margin: 0 18px; padding: 10px 12px; color: #63440e; background: var(--amber-soft); border-left: 3px solid #d78a1d; font-size: 12px; line-height: 1.45; }
.review-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 18px 16px; }
.final-queue-control { display: grid; gap: 4px; margin-right: auto; color: var(--muted); font-size: 12px; font-weight: 750; }
.final-queue-control select { min-width: 210px; }
.workflow-handoff { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 11px 12px; color: #174f39; background: var(--green-soft); border: 1px solid #acd5bd; border-radius: var(--radius); }
.workflow-handoff strong, .workflow-handoff span { display: block; }
.workflow-handoff strong { font-size: 13px; }
.workflow-handoff span { margin-top: 2px; color: #406a57; font-size: 11px; }
.recent-section { margin-top: 30px; }
.routing-quality-details { margin-top: 18px; border-top: 1px solid var(--line); }
.routing-quality-details summary { padding: 13px 0; color: var(--teal-dark); cursor: pointer; font-size: 12px; font-weight: 800; }
.routing-quality-details .quality-scoreband { margin-bottom: 0; }
.shadow-comparison { margin: 16px 0; border: 1px solid var(--line-strong); border-top: 4px solid var(--teal-dark); background: #fff; }
.shadow-comparison > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.shadow-comparison h2 { margin: 2px 0 4px; font-size: 19px; }
.shadow-comparison header p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.shadow-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shadow-lane { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding: 16px; }
.shadow-lane + .shadow-lane { border-left: 1px solid var(--line); }
.shadow-lane span, .shadow-lane div strong, .shadow-lane small { display: block; }
.shadow-lane span { color: var(--subtle); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.shadow-lane div strong { margin-top: 3px; }
.shadow-lane small { grid-column: 1 / -1; color: var(--muted); }
.shadow-lane .shadow-receipt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; overflow-wrap: anywhere; }
.shadow-latency { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.candidate-lane { color: #fff; background: var(--teal-dark); }
.candidate-lane span, .candidate-lane small { color: #c9dedf; }
.candidate-lane .shadow-latency { color: #8be0b8; }
.shadow-observation { padding: 11px 16px; color: #e7efef; background: var(--nav-soft); border-left: 4px solid #59d29d; font-size: 12px; font-weight: 700; }
.live-deployment-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 16px; border: 1px solid var(--line); background: #fff; }
.live-deployment-strip div { min-width: 0; padding: 11px 14px; }
.live-deployment-strip div + div { border-left: 1px solid var(--line); }
.live-deployment-strip span, .live-deployment-strip strong { display: block; }
.live-deployment-strip span { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.live-deployment-strip strong { margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }
.trial-p95 { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.rate-selection { display: grid; grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr); gap: 22px; margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--blue); background: #f7f9fa; }
.rate-selection > * { min-width: 0; }
.rate-selection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.rate-selection-grid div { min-width: 0; padding: 10px 12px; }
.rate-selection-grid div:nth-child(even) { border-left: 1px solid var(--line); }
.rate-selection-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
.rate-selection-grid span, .rate-selection-grid strong { display: block; }
.rate-selection-grid span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.rate-selection-grid strong { margin-top: 3px; font-size: 12px; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #56636a; background: var(--surface-soft); font-size: 11px; text-transform: uppercase; }
td { font-size: 13px; line-height: 1.4; }
tbody tr:last-child td { border-bottom: 0; }
.empty-row td { padding: 26px 12px; color: var(--subtle); text-align: center; }
.review-state { font-weight: 750; }
.review-state.corrected { color: var(--amber); }
.review-state.confirmed { color: var(--green); }
.runbook-cell { max-width: 330px; color: var(--muted); }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.page-heading h1 { font-size: 28px; }
.page-heading p:last-child { max-width: 680px; margin: 0; }
.audit-button { min-width: 180px; }
.evidence-loader { display: grid; grid-template-columns: auto minmax(260px, 1fr) minmax(300px, auto) auto; align-items: center; gap: 16px; margin-bottom: 16px; padding: 16px 18px; border: 1px solid #9fc8c1; border-left: 4px solid var(--teal); background: #f4fbf9; border-radius: var(--radius); }
.evidence-loader.loaded { background: #edf8f3; }
.evidence-seal { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: 22px; font-weight: 800; }
.evidence-identity h2 { margin: 2px 0 4px; font-size: 18px; }
.evidence-identity > p:last-child { max-width: 580px; margin: 0; color: var(--subtle); font-size: 12px; }
.evidence-facts { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); margin: 0; border: 1px solid #c8ddd9; background: #fff; }
.evidence-facts div { min-width: 0; padding: 9px 11px; }
.evidence-facts div + div { border-left: 1px solid #c8ddd9; }
.evidence-facts dt { color: var(--subtle); font-size: 9px; text-transform: uppercase; }
.evidence-facts dd { margin: 3px 0 0; font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.experiment-results[hidden] { display: none; }
#corrected-claim-status { color: var(--green); }
.experiment-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; border: 1px solid var(--line); background: #fff; }
.experiment-strip div { min-width: 0; padding: 12px 14px; }
.experiment-strip div + div { border-left: 1px solid var(--line); }
.experiment-strip span, .experiment-strip strong { display: block; }
.experiment-strip span { color: var(--subtle); font-size: 10px; text-transform: uppercase; }
.experiment-strip strong { margin-top: 3px; font-size: 13px; overflow-wrap: anywhere; }

.product-context { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin: 0 0 14px; padding: 10px 13px; border-left: 4px solid var(--blue); background: #edf4f8; }
.product-context strong, .product-context span, .product-context small { display: block; }
.product-context strong { font-size: 13px; }
.product-context span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.opening-result { min-width: 190px; padding-left: 16px; border-left: 1px solid #b9cdd8; }
.opening-result strong { color: var(--teal-dark); font-size: 25px; }
.opening-result span { color: var(--ink); font-weight: 750; }
.opening-result small { margin-top: 1px; color: var(--red); font-size: 10px; }
.opening-result small.approved { color: var(--green); }
.live-cutover-summary { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(540px, 1.6fr); gap: 22px; align-items: center; margin: 18px 0; padding: 18px 20px; color: #fff; background: var(--nav-soft); border-left: 5px solid #59d29d; }
.live-cutover-summary h2 { margin: 2px 0 7px; font-size: 19px; }
.live-cutover-summary #cutover-description { margin: 0 0 10px; color: #c8d8d9; font-size: 12px; }
.live-cutover-summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid #49686b; }
.live-cutover-summary dl div { min-width: 0; padding: 12px; }
.live-cutover-summary dl div + div { border-left: 1px solid #49686b; }
.live-cutover-summary dt { color: #b6c9cb; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.live-cutover-summary dd { margin: 4px 0 2px; font-weight: 850; }
.live-cutover-summary small { display: block; color: #c8d8d9; font-size: 10px; overflow-wrap: anywhere; }
.live-cutover-summary > .secondary-button { grid-column: 1 / -1; justify-self: start; color: #fff; border-color: #789395; background: transparent; }
.promotion-confirmation { width: min(620px, calc(100% - 32px)); padding: 0; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 4px; box-shadow: 0 18px 60px rgb(20 38 42 / 25%); }
.promotion-confirmation::backdrop { background: rgb(15 31 35 / 55%); }
.promotion-confirmation form { padding: 22px; }
.promotion-confirmation h2 { margin: 3px 0 8px; font-size: 22px; }
.promotion-confirmation form > p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); }
.promotion-confirmation dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.promotion-confirmation dl div { min-width: 0; padding: 11px; }
.promotion-confirmation dl div:nth-child(even) { border-left: 1px solid var(--line); }
.promotion-confirmation dl div:nth-child(n+3) { border-top: 1px solid var(--line); }
.promotion-confirmation dt { color: var(--subtle); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.promotion-confirmation dd { margin: 4px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.cutover-receipt-details { grid-column: 1 / -1; padding-top: 2px; }
.cutover-receipt-details summary { color: #d9e8e8; cursor: pointer; font-size: 11px; font-weight: 750; }
.cutover-receipt-grid { margin-top: 10px !important; }
.cutover-receipt-grid code, .cutover-evidence-digests code { color: #d8f4e8; font-size: 10px; overflow-wrap: anywhere; }
.cutover-evidence-digests { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.cutover-evidence-digests li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; align-items: start; }
.cutover-evidence-digests strong { color: #b6c9cb; font-size: 10px; }
.evidence-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; border-top: 3px solid var(--blue); border-bottom: 1px solid var(--line); background: #fff; }
.evidence-scope div { min-width: 0; padding: 12px 14px; }
.evidence-scope div + div { border-left: 1px solid var(--line); }
.evidence-scope span, .evidence-scope strong { display: block; }
.evidence-scope span { color: var(--subtle); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.evidence-scope strong { margin-top: 4px; font-size: 12px; line-height: 1.4; }
.release-result { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(520px, 1.6fr); gap: 24px; align-items: center; margin-bottom: 18px; padding: 20px 22px; color: #fff; background: var(--nav-soft); border-left: 5px solid #59d29d; }
.release-result h2 { margin: 2px 0 7px; font-size: 21px; }
.release-result h2 span { color: #8be0b8; }
.release-result p:last-child { margin: 0; color: #c8d8d9; font-size: 12px; line-height: 1.5; }
.release-result dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid #49686b; }
.release-result dl div { min-width: 0; padding: 13px; }
.release-result dl div + div { border-left: 1px solid #49686b; }
.release-result dt { color: #b6c9cb; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.release-result dd { margin: 4px 0 2px; color: #fff; font-size: 17px; font-weight: 850; }
.release-result small { color: #c8d8d9; line-height: 1.35; }
.experiment-method { margin-bottom: 22px; border: 1px solid var(--line); background: #fff; }
.experiment-method > summary { padding: 14px 16px; color: var(--blue); cursor: pointer; font-weight: 800; }
.experiment-method-body { display: grid; gap: 18px; padding: 0 16px 16px; }
.experiment-method-body .trial-matrix-section, .experiment-method-body .latency-consequence { margin-bottom: 0; }

.event-line { min-height: 42px; margin: 14px 0 0; padding: 9px 10px; color: #4e5a60; background: var(--surface-soft); border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.conclusion-band { display: grid; grid-template-columns: 150px 150px minmax(250px, 1fr) auto; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 18px; color: #fff; background: var(--nav-soft); border-radius: var(--radius); }
.conclusion-band span, .conclusion-band strong { display: block; }
.conclusion-band span { color: #a9c0c2; font-size: 10px; text-transform: uppercase; }
.conclusion-band strong { margin-top: 3px; font-size: 20px; }
.conclusion-band p { margin: 0; color: #e7efef; }

.proof-view { display: grid; gap: 22px; }
.proof-view > *, .proof-columns > *, .release-gate > * { min-width: 0; }
.proof-decision { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px; color: #fff; background: var(--nav-soft); border-left: 5px solid #55d39b; border-radius: var(--radius); }
.proof-decision h1 { margin-bottom: 4px; }
.proof-decision p { margin: 0; color: #c8d8d9; }
.proof-decision > span { padding: 6px 10px; color: #c6ffe4; border: 1px solid #59947b; border-radius: 4px; font-weight: 850; }
.proof-decision.failed { border-left-color: var(--red); }
.proof-decision.failed > span { color: #ffd9d3; border-color: #a66762; }
.decision-mark { display: grid; width: 38px; height: 38px; place-items: center; color: var(--nav); background: #8be0b8; border-radius: 50%; font-size: 22px; font-weight: 900; }
.deployment-promotion { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.2fr); gap: 18px 28px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); }
.deployment-promotion h2 { margin: 2px 0 6px; }
.deployment-promotion p { margin-bottom: 0; }
.deployment-promotion dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.deployment-promotion dl div { min-width: 0; padding: 12px; }
.deployment-promotion dl div + div { border-left: 1px solid var(--line); }
.deployment-promotion dd { font-size: 12px; }
.promotion-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.promotion-result { align-self: center; margin: 0; color: var(--green); font-weight: 750; }
.promotion-identity { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.promotion-identity code { overflow-wrap: anywhere; }
.optimization-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.optimization-summary > div { min-width: 0; padding: 16px; }
.optimization-summary > div + div { border-left: 1px solid var(--line); }
.optimization-summary span, .optimization-summary strong, .optimization-summary small { display: block; }
.optimization-summary span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.optimization-summary strong { margin-top: 4px; font-size: 24px; }
.optimization-summary small { margin-top: 3px; color: var(--muted); line-height: 1.4; }
.proof-details { min-width: 0; border: 1px solid var(--line); background: #fff; }
.proof-details > summary { padding: 15px 18px; color: var(--blue); cursor: pointer; font-weight: 800; }
.proof-details-body { min-width: 0; display: grid; gap: 18px; padding: 0 18px 18px; }
.proof-details-body > * { min-width: 0; }
.product-footer-link { margin: 0; padding: 4px 0 12px; text-align: right; }
.proof-section { min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.text-link { color: var(--blue); font-weight: 700; }
.pass-label { color: var(--green); font-weight: 850; }
.fail-label { color: var(--red); font-weight: 850; }
.recorded-label, .unknown-label { display: inline-block; padding: 3px 7px; border-radius: 4px; font-size: 12px; font-weight: 800; }
.recorded-label { color: #315f68; background: #e6f0f1; }
.unknown-label { color: #775a20; background: #fff2d6; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.evidence-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.evidence-chain li { min-width: 0; display: flex; gap: 10px; padding: 14px; background: var(--surface-soft); }
.evidence-chain li + li { border-left: 1px solid var(--line); }
.evidence-chain li > span { display: grid; flex: 0 0 24px; height: 24px; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 50%; font-size: 11px; font-weight: 850; }
.evidence-chain strong, .evidence-chain small { display: block; }
.evidence-chain small { margin-top: 4px; color: var(--muted); line-height: 1.4; }
.stack-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stack-path li { position: relative; min-width: 0; display: flex; align-items: flex-start; gap: 9px; padding: 12px; border-top: 2px solid var(--teal); background: var(--surface-soft); }
.stack-path li + li { border-left: 1px solid var(--line); }
.stack-path li > span { display: grid; flex: 0 0 24px; height: 24px; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 50%; font-size: 11px; font-weight: 850; }
.stack-path strong, .stack-path small { display: block; overflow-wrap: anywhere; }
.stack-path small { margin-top: 4px; color: var(--muted); line-height: 1.35; }
.performix-proof { border-top: 4px solid var(--teal-dark); }
.performix-measures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.performix-measures > div { min-width: 0; padding: 16px; background: var(--surface-soft); }
.performix-measures > div + div { border-left: 1px solid var(--line); }
.performix-measures dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.performix-measures dd { margin: 3px 0 0; font-size: 26px; font-weight: 900; }
.performix-measures small { display: block; color: var(--muted); line-height: 1.35; }
.performix-measures .performix-treatment { color: #fff; background: var(--teal-dark); }
.performix-measures .performix-treatment dt, .performix-measures .performix-treatment small { color: #c9dedf; }
.kernel-proof { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-top: 0; }
.kernel-proof span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.kernel-proof code { overflow-wrap: anywhere; color: var(--teal-dark); font-size: 11px; }
.capability-note { margin: 12px 0 0; padding-left: 12px; border-left: 3px solid var(--amber); color: var(--muted); font-size: 12px; }
.proof-columns { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.quality-boundary { border-left: 4px solid var(--amber); }
.quality-boundary p:last-child { margin: 8px 0 0; }
.deployment-output dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 8px 0 0; }
.deployment-output dl div { padding: 10px; border: 1px solid var(--line); }
.release-gate { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr) auto; align-items: center; gap: 22px; padding: 20px; color: #fff; background: var(--nav); border-radius: var(--radius); }
.release-gate > * { min-width: 0; }
.release-gate h2 { font-size: 18px; }
.release-gate p { margin: 0; color: #b9cbcc; }
.release-gate pre { margin: 0; padding: 12px; overflow: auto; color: #c9ffe8; background: #091b1d; border: 1px solid #315356; border-radius: 4px; font-size: 11px; line-height: 1.5; }
.release-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reuse-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.reuse-steps li { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 8px 10px; padding: 14px; }
.reuse-steps li + li { border-left: 1px solid var(--line); }
.reuse-steps li > span { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--teal-dark); border-radius: 50%; font-size: 11px; font-weight: 850; }
.reuse-steps strong, .reuse-steps code { display: block; }
.reuse-steps code { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.audit-progress { display: grid; gap: 5px; margin: 12px 0 0; padding: 0; list-style: none; }
.audit-progress li { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 12px; }
.audit-progress li::before { content: "✓"; flex: 0 0 auto; color: var(--teal); font-weight: 900; }
.audit-progress strong { color: var(--ink); font-weight: 750; }
.audit-progress time { margin-left: auto; color: var(--subtle); font-variant-numeric: tabular-nums; }
.copy-button { grid-column: 2; justify-self: start; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--blue); background: #fff; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.copy-status { min-height: 20px; margin: 8px 0 0; font-size: 12px; }
.fatal-error { width: min(720px, calc(100% - 32px)); margin: 48px auto; padding: 24px; background: var(--red-soft); border: 1px solid #e0a39e; border-radius: var(--radius); }

.live-surge { margin-bottom: 24px; padding: 20px 0 24px; border-top: 3px solid var(--teal-dark); border-bottom: 1px solid var(--line); }
.identity-proof { margin: -6px 0 18px; padding-left: 12px; color: var(--muted); border-left: 3px solid var(--line-strong); font-size: 13px; }
.surge-form { margin: 14px 0 6px; }
.surge-form label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.surge-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.surge-form input { min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink); background: #fff; font: inherit; }
.experiment-note { margin: 6px 0 16px; color: var(--muted); font-size: 12px; }
.live-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.live-lane { min-width: 0; border: 1px solid var(--line); background: #fff; }
.live-lane > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.live-lane > header h3 { margin: 1px 0 0; font-size: 16px; }
.live-lane > header > span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.baseline-live { border-top: 3px solid #a8433a; }
.optimized-live { border-top: 3px solid var(--green); }
.live-request-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 118px; }
.live-request { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px; }
.live-request + .live-request { border-left: 1px solid var(--line); }
.live-request span { color: var(--subtle); font-size: 10px; text-transform: uppercase; }
.live-request strong { font-size: 18px; }
.live-request small { min-height: 32px; color: var(--muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.live-request.complete { background: var(--green-soft); }
.live-request.failed { background: var(--red-soft); }
.live-request.failed strong { color: var(--red); }
.lane-summary { min-height: 38px; margin: 0; padding: 10px 14px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.live-surge-result { margin-top: 12px; padding: 12px 14px; color: #e9f3f3; background: var(--nav-soft); border-left: 4px solid #64dca4; font-size: 13px; }

.audit-receipt { margin: 0 0 24px; border: 1px solid #8bc8b2; border-left: 5px solid var(--green); background: var(--green-soft); }
.audit-receipt-heading { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #b8ddcf; }
.audit-receipt-heading .decision-mark { display: grid; flex: 0 0 30px; height: 30px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-weight: 850; }
.audit-receipt-heading strong, .audit-receipt-heading small { display: block; }
.audit-receipt-heading small { margin-top: 3px; color: var(--muted); }
.audit-receipt dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.audit-receipt dl div { min-width: 0; padding: 13px 16px; }
.audit-receipt dl div + div { border-left: 1px solid #b8ddcf; }
.audit-receipt dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.audit-receipt dd { margin: 5px 0 0; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
.audit-receipt-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 16px 14px; }
.rate-selection-provenance { display: flex; gap: 8px; flex-wrap: wrap; }
.rate-selection-provenance .source-chip { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.evidence-loader.failed { border-color: #dfaaa5; background: var(--red-soft); }
.trial-matrix-section { margin-bottom: 22px; }
.latency-consequence { margin-bottom: 22px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.latency-consequence-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.latency-consequence-groups article { min-width: 0; padding: 14px; border: 1px solid var(--line); background: var(--surface-soft); }
.latency-consequence-groups article > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.latency-consequence-groups article > div:first-child span { color: var(--muted); font-size: 11px; text-align: right; }
.latency-consequence-groups small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.latency-trial-bars { display: grid; gap: 6px; }
.latency-trial-bars > div { display: grid; grid-template-columns: 42px minmax(0, 1fr) 48px; align-items: center; gap: 7px; font-size: 10px; }
.latency-track { position: relative; height: 12px; overflow: hidden; background: #e2e7e9; }
.latency-track::after { position: absolute; top: 0; bottom: 0; left: var(--slo-position); width: 2px; content: ""; background: var(--ink); }
.latency-track i { display: block; height: 100%; }
.latency-track i.missed { background: #b75d56; }
.latency-track i.within { background: var(--teal); }
.latency-trial-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.original-gate-disclosure { margin-bottom: 22px; border: 1px solid #dfaaa5; border-left: 5px solid var(--red); background: var(--red-soft); }
.original-gate-disclosure > summary { padding: 13px 16px; color: #65322f; cursor: pointer; font-weight: 800; }
.original-gate-body { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 16px 24px; align-items: center; padding: 4px 20px 20px; }
.original-gate-disclosure h2, .original-gate-disclosure p { margin: 0; }
.original-gate-disclosure h2 { font-size: 18px; }
.original-gate-disclosure h2 strong { color: var(--red); }
.original-gate-body > p { grid-column: 1 / -1; color: #65322f; }
.rejected-receipt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid #d9aaa5; background: #fff8f7; }
.rejected-receipt div { min-width: 0; padding: 9px 11px; }
.rejected-receipt div:nth-child(even) { border-left: 1px solid #d9aaa5; }
.rejected-receipt div:nth-child(n+3) { border-top: 1px solid #d9aaa5; }
.rejected-receipt dt { color: #86514d; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.rejected-receipt dd { margin: 3px 0 0; font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.rejected-receipt .failed-decision { color: var(--red); }
.trial-matrix td:nth-child(n + 3):nth-child(-n + 7), .trial-matrix th:nth-child(n + 3):nth-child(-n + 7) { text-align: center; }
.trial-outcome { display: inline-flex; min-width: 42px; justify-content: center; padding: 4px 6px; border-radius: 3px; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.trial-outcome.pass { color: var(--green); background: var(--green-soft); }
.trial-outcome.fail { color: var(--red); background: var(--red-soft); }
.capacity-equation { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-bottom: 22px; padding: 20px; color: #fff; background: var(--nav-soft); border-left: 5px solid #59d29d; }
.capacity-equation h2 { margin: 2px 0 7px; font-size: 20px; }
.capacity-equation p:last-child { max-width: 760px; margin: 0; color: #c8d8d9; }
.equation { display: grid; grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr) auto auto; align-items: center; gap: 10px; }
.equation span { padding: 9px 10px; color: var(--ink); background: #fff; border-radius: 3px; font-size: 11px; text-align: center; }
.equation i { color: #a8bfc0; font-style: normal; font-size: 20px; }
.equation strong { color: #8be0b8; font-size: 30px; white-space: nowrap; }
.conclusion-band { grid-template-columns: 150px minmax(250px, 1fr) auto; }
.arm-stack-path { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.optimization-journey { margin-bottom: 22px; border-top: 4px solid var(--teal-dark); border-bottom: 1px solid var(--line); background: #fff; }
.optimization-journey > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding: 20px; }
.optimization-journey h2 { margin: 2px 0 7px; }
.optimization-journey header p:last-child { max-width: 760px; margin: 0; color: var(--muted); }
.journey-final { min-width: 210px; padding-left: 20px; border-left: 1px solid var(--line); }
.journey-final span, .journey-final strong, .journey-final small { display: block; }
.journey-final span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.journey-final strong { margin: 4px 0 2px; color: var(--teal-dark); font-size: 25px; }
.journey-final small { color: var(--muted); }
.optimization-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.optimization-stages > li { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 18px; border-top: 4px solid var(--blue); }
.optimization-stages > li[data-stage="compute"] { border-top-color: var(--teal-dark); }
.optimization-stages > li[data-stage="memory"] { border-top-color: var(--green); }
.optimization-stages > li + li { border-left: 1px solid var(--line); }
.stage-sequence { display: grid; width: 28px; height: 28px; place-items: center; color: #fff; background: var(--nav-soft); border-radius: 50%; font-size: 12px; font-weight: 850; }
.optimization-stages small { color: var(--subtle); font-weight: 800; text-transform: uppercase; }
.optimization-stages h3 { margin: 3px 0 7px; font-size: 16px; }
.optimization-stages p { min-height: 58px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.optimization-stages ul { display: grid; gap: 5px; margin: 12px 0; padding: 0; color: var(--ink); font-size: 12px; font-weight: 750; list-style: none; }
.optimization-stages ul li::before { margin-right: 6px; color: var(--green); content: "✓"; }
.optimization-stages footer { padding-top: 10px; color: var(--subtle); border-top: 1px solid var(--line); font-size: 10px; line-height: 1.4; }
.memory-proof { border-top: 4px solid var(--green); }
.memory-proof-copy { max-width: 920px; margin: -6px 0 16px; color: var(--muted); }
.memory-proof-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 20px; }
.memory-proof-layout h3 { margin: 0 0 10px; font-size: 13px; }
.memory-ablation { display: grid; gap: 8px; }
.memory-ablation > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) 72px; align-items: center; gap: 10px; font-size: 11px; }
.memory-ablation-track { height: 16px; background: #e1e7e8; }
.memory-ablation-track i { display: block; height: 100%; background: #789198; }
.memory-ablation-track i.short-screen-best { background: var(--amber); }
.memory-ablation strong { text-align: right; font-variant-numeric: tabular-nums; }
.memory-outcome { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.memory-outcome > div { min-width: 0; padding: 12px; }
.memory-outcome > div + div { border-left: 1px solid var(--line); }
.memory-outcome > div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
.memory-outcome > div:nth-child(4) { border-top: 1px solid var(--line); }
.memory-outcome dt { color: var(--subtle); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.memory-outcome dd { margin: 4px 0 2px; color: var(--teal-dark); font-size: 17px; font-weight: 850; }
.memory-outcome small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.memory-release-conditions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 18px 0 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.memory-release-conditions li { min-width: 0; display: flex; gap: 9px; padding: 12px; background: var(--green-soft); }
.memory-release-conditions li + li { border-left: 1px solid #b8ddcf; }
.memory-release-conditions li > span { color: var(--green); font-weight: 900; }
.memory-release-conditions strong, .memory-release-conditions small { display: block; }
.memory-release-conditions small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.migration-proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); align-items: center; gap: 24px; border-left: 4px solid var(--blue); }
.migration-proof h2 { margin: 2px 0 6px; }
.migration-proof p:last-child { margin: 0; color: var(--muted); }
.migration-proof dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.migration-proof dl div { min-width: 0; padding: 12px; }
.migration-proof dl div + div { border-left: 1px solid var(--line); }
.migration-proof dt { color: var(--subtle); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.migration-proof dd { margin: 4px 0 0; font-weight: 850; overflow-wrap: anywhere; }
.supporting-speed-proof { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); align-items: center; gap: 24px; border-left: 4px solid var(--line-strong); }
.supporting-speed-proof h2 { margin: 2px 0 6px; }
.supporting-speed-proof p:last-child { margin: 0; color: var(--muted); }
.supporting-speed-proof dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.supporting-speed-proof dl div { min-width: 0; padding: 12px; }
.supporting-speed-proof dl div + div { border-left: 1px solid var(--line); }
.supporting-speed-proof dt { color: var(--subtle); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.supporting-speed-proof dd { margin: 4px 0 0; font-weight: 850; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .optimization-journey > header { grid-template-columns: 1fr; }
  .journey-final { padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .optimization-stages { grid-template-columns: 1fr; }
  .optimization-stages > li + li { border-left: 0; }
  .optimization-stages p { min-height: 0; }
  .memory-proof-layout { grid-template-columns: 1fr; }
  .memory-release-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memory-release-conditions li:nth-child(n+3) { border-top: 1px solid #b8ddcf; }
  .memory-release-conditions li:nth-child(odd) { border-left: 0; }
  .live-cutover-summary, .product-context { grid-template-columns: 1fr; }
  .opening-result { padding-top: 10px; padding-left: 0; border-top: 1px solid #b9cdd8; border-left: 0; }
  .release-result { grid-template-columns: 1fr; }
  .evidence-scope { grid-template-columns: 1fr; }
  .evidence-scope div + div { border-top: 1px solid var(--line); border-left: 0; }
  .live-lanes { grid-template-columns: 1fr; }
  .audit-receipt dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-receipt dl div:nth-child(3) { border-top: 1px solid #b8ddcf; border-left: 0; }
  .audit-receipt dl div:nth-child(4) { border-top: 1px solid #b8ddcf; }
  .capacity-equation, .original-gate-body { grid-template-columns: 1fr; }
  .migration-proof, .supporting-speed-proof { grid-template-columns: 1fr; }
  .evidence-loader { grid-template-columns: auto 1fr; }
  .evidence-facts, .evidence-loader .audit-button { grid-column: 2; }
  .workspace-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .intake-workspace { padding: 24px; }
  .review-details { grid-template-columns: 1fr; gap: 10px; }
  .review-details.four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-request-receipt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-request-receipt div:nth-child(3) { border-top: 1px solid #b8dcd3; border-left: 0; }
  .live-request-receipt div:nth-child(4) { border-top: 1px solid #b8dcd3; }
  .review-details div { padding: 0; }
  .review-details div + div { padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .experiment-strip { grid-template-columns: repeat(2, 1fr); }
  .experiment-strip div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .experiment-strip div:nth-child(4) { border-top: 1px solid var(--line); }
  .conclusion-band { grid-template-columns: repeat(2, 1fr); }
  .conclusion-band p { grid-column: 1 / -1; }
  .stack-path { grid-template-columns: 1fr; }
  .stack-path li + li { border-top: 1px solid var(--line); border-left: 2px solid var(--teal); }
  .evidence-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-chain li:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .evidence-chain li:nth-child(4) { border-top: 1px solid var(--line); }
  .proof-columns { grid-template-columns: 1fr; }
  .optimization-summary { grid-template-columns: 1fr; }
  .optimization-summary > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .deployment-promotion { grid-template-columns: 1fr; }
  .promotion-identity { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .performix-measures { grid-template-columns: 1fr; }
  .performix-measures > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .kernel-proof { grid-template-columns: 1fr; }
  .release-gate { grid-template-columns: 1fr; }
  .reuse-steps { grid-template-columns: 1fr; }
  .live-deployment-strip { grid-template-columns: 1fr; }
  .rate-selection { grid-template-columns: 1fr; }
  .latency-consequence-groups { grid-template-columns: 1fr; }
  .live-deployment-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .reuse-steps li + li { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 680px) {
  .optimization-journey > header { padding: 16px; }
  .optimization-stages > li { padding: 14px; }
  .memory-ablation > div { grid-template-columns: 110px minmax(0, 1fr) 62px; }
  .memory-outcome, .memory-release-conditions { grid-template-columns: 1fr; }
  .memory-outcome > div + div, .memory-outcome > div:nth-child(3), .memory-outcome > div:nth-child(4), .memory-release-conditions li + li, .memory-release-conditions li:nth-child(n+3) { border-top: 1px solid var(--line); border-left: 0; }
  .live-cutover-summary { padding: 16px; }
  .live-cutover-summary dl { grid-template-columns: 1fr; }
  .live-cutover-summary dl div + div { border-top: 1px solid #49686b; border-left: 0; }
  .promotion-confirmation dl { grid-template-columns: 1fr; }
  .promotion-confirmation dl div + div, .promotion-confirmation dl div:nth-child(n+3) { border-top: 1px solid var(--line); border-left: 0; }
  .dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .release-result { padding: 16px; }
  .release-result dl { grid-template-columns: 1fr; }
  .release-result dl div + div { border-top: 1px solid #49686b; border-left: 0; }
  .deployment-promotion dl { grid-template-columns: 1fr; }
  .deployment-promotion dl div + div { border-top: 1px solid var(--line); border-left: 0; }
  .surge-form > div { grid-template-columns: 1fr; }
  .live-request-slots { grid-template-columns: 1fr; }
  .live-request { min-height: 82px; }
  .live-request + .live-request { border-top: 1px solid var(--line); border-left: 0; }
  .audit-receipt dl { grid-template-columns: 1fr; }
  .audit-receipt dl div + div, .audit-receipt dl div:nth-child(3), .audit-receipt dl div:nth-child(4) { border-top: 1px solid #b8ddcf; border-left: 0; }
  .capacity-equation { padding: 16px; }
  .equation { grid-template-columns: 1fr; }
  .equation i { text-align: center; }
  .migration-proof dl { grid-template-columns: 1fr; }
  .migration-proof dl div + div { border-top: 1px solid var(--line); border-left: 0; }
  .supporting-speed-proof dl { grid-template-columns: 1fr; }
  .supporting-speed-proof dl div + div { border-top: 1px solid var(--line); border-left: 0; }
  .rate-selection-grid { grid-template-columns: 1fr; }
  .rate-selection-grid div:nth-child(even) { border-left: 0; }
  .rate-selection-grid div + div { border-top: 1px solid var(--line); }
  .promotion-identity { grid-template-columns: 1fr !important; }
  .evidence-loader { grid-template-columns: 1fr; }
  .evidence-seal { display: none; }
  .evidence-facts, .evidence-loader .audit-button { grid-column: auto; }
  .evidence-facts { grid-template-columns: 1fr; }
  .evidence-facts div + div { border-top: 1px solid #c8ddd9; border-left: 0; }
  .app-header { height: auto; min-height: 60px; padding: 10px 14px; }
  .environment-status { max-width: 58%; justify-content: flex-end; font-size: 11px; text-align: right; white-space: normal; }
  .view-tabs { min-height: 50px; padding: 0 12px; }
  .view-tabs [role="tablist"] { width: 100%; gap: 8px; }
  .view-tabs p { display: none; }
  .view-tabs button { flex: 1; min-width: 0; min-height: 50px; font-size: 11px; }
  .workspace-shell { display: block; }
  .queue-rail { padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .queue-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .queue-list li { min-width: 0; padding-right: 8px; font-size: 12px; }
  .queue-list li:nth-child(odd) { margin-right: 10px; }
  .rail-note { display: none; }
  .intake-workspace { padding: 20px 16px 48px; }
  .quality-scoreband { grid-template-columns: 1fr; }
  .quality-scoreband div + div { border-top: 1px solid var(--line); border-left: 0; }
  .mode-control { align-items: flex-start; flex-direction: column; gap: 8px; }
  .mode-control legend { float: none; }
  .mode-control span { margin-left: 0; }
  .scenario-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .scenario-options { grid-template-columns: 1fr; }
  .workflow-handoff { align-items: stretch; flex-direction: column; }
  .shadow-comparison > header { flex-direction: column; }
  .shadow-lanes { grid-template-columns: 1fr; }
  .shadow-lane + .shadow-lane { border-top: 1px solid var(--line); border-left: 0; }
  .review-details.four-up { grid-template-columns: 1fr; }
  .live-request-receipt { grid-template-columns: 1fr; }
  .live-request-receipt div + div, .live-request-receipt div:nth-child(3), .live-request-receipt div:nth-child(4) { border-top: 1px solid #b8dcd3; border-left: 0; }
  .section-heading { align-items: flex-start; }
  .section-heading .source-chip { white-space: normal; text-align: right; }
  .form-actions, .review-actions, .page-heading { align-items: stretch; flex-direction: column; }
  .primary-button, .secondary-button, .primary-link { width: 100%; }
  .review-actions { flex-direction: column-reverse; }
  .view-inner { width: calc(100% - 28px); padding-top: 20px; }
  .page-heading h1 { font-size: 24px; }
  .experiment-strip { grid-template-columns: 1fr; }
  .experiment-strip div + div, .experiment-strip div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .conclusion-band { grid-template-columns: 1fr; }
  .conclusion-band p { grid-column: auto; }
  .proof-decision { grid-template-columns: auto minmax(0, 1fr); }
  .proof-decision > span { grid-column: 1 / -1; justify-self: start; }
  .deployment-output dl { grid-template-columns: 1fr; }
  .proof-section { padding: 14px; }
  .proof-section .section-heading { flex-direction: column; gap: 8px; }
  .proof-decision { padding: 16px; }
  .evidence-chain { grid-template-columns: 1fr; }
  .evidence-chain li + li, .evidence-chain li:nth-child(3), .evidence-chain li:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .release-gate { padding: 16px; }
  .release-gate pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
  table[data-mobile-cards] { display: block; background: transparent; }
  table[data-mobile-cards] thead { display: none; }
  table[data-mobile-cards] tbody { display: grid; gap: 10px; padding: 10px; }
  table[data-mobile-cards] tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 4px; }
  table[data-mobile-cards] tbody td { min-width: 0; padding: 10px; border-bottom: 0; overflow-wrap: anywhere; }
  table[data-mobile-cards] tbody td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--subtle); font-size: 9px; font-weight: 800; text-transform: uppercase; }
  table[data-mobile-cards] tbody td:nth-child(n + 3) { border-top: 1px solid var(--line); }
  table[data-mobile-cards] tbody td:nth-child(even) { border-left: 1px solid var(--line); }
  table[data-mobile-cards] .empty-row { display: block; }
  table[data-mobile-cards] .empty-row td { display: block; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
