:root {
  --canvas: #f3f4f1;
  --surface: #ffffff;
  --surface-subtle: #f8f9f7;
  --ink: #242c29;
  --muted: #626c66;
  --faint: #79817c;
  --line: #dfe4de;
  --line-strong: #c9d1ca;
  --accent: #216d60;
  --accent-hover: #195448;
  --accent-soft: #edf5f1;
  --accent-bar: #709486;
  --rail: #202925;
  --rail-ink: #eef2ee;
  --rail-muted: #a6b5ad;
  --rail-active: #33473d;
  --rail-border: #3b4840;
  --critical: #af3e35;
  --critical-soft: #fbefed;
  --high: #915b17;
  --high-soft: #fcf3e5;
  --medium: #476785;
  --medium-soft: #eef3f8;
  --low: #616b66;
  --low-soft: #f0f2ef;
  --focus: #216d60;
  --focus-on-dark: #b5deca;
  --body-font: "Helvetica Neue", "Segoe UI", Helvetica, sans-serif;
  --numeric-font: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --rail-width: 190px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 13px/1.5 var(--body-font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
button, input, select { border-radius: 4px; }
button, input, select, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 15px; font-weight: 650; letter-spacing: -.15px; }
h3 { font-size: 12px; font-weight: 650; }
svg { display: block; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--numeric-font); font-variant-numeric: tabular-nums; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail-width); background: var(--rail); color: var(--rail-ink); display: flex; flex-direction: column; padding: 29px 16px 18px; z-index: 5; }
.rail a:focus-visible { outline-color: var(--focus-on-dark); }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 9px 43px; text-decoration: none; width: fit-content; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 3px; transform: rotate(-4deg); }
.brand-mark span { background: var(--rail-ink); border-radius: 1px; }
.brand-mark span:nth-child(2) { background: var(--rail-muted); }
.brand-mark span:nth-child(3) { background: var(--accent-bar); }
.brand-name { font-size: 26px; font-weight: 650; letter-spacing: -1.4px; line-height: 1; }
.brand-period { color: var(--accent-bar); }
.rail-label { margin: 0 12px 11px; color: var(--rail-muted); font: 9px var(--numeric-font); letter-spacing: 1.4px; }
.rail-links { display: flex; flex-direction: column; gap: 6px; }
.rail-link { min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 0 11px; color: var(--rail-muted); text-decoration: none; border: 1px solid transparent; border-radius: 4px; font-size: 12px; }
.rail-link:hover { color: var(--rail-ink); border-color: var(--rail-border); }
.rail-link[aria-current] { color: var(--rail-ink); background: var(--rail-active); border-color: var(--rail-border); }
.rail-link .icon { width: 17px; height: 17px; }
.rail-count { margin-left: auto; color: var(--rail-ink); background: var(--rail-border); min-width: 18px; padding: 0 4px; text-align: center; border-radius: 3px; font: 10px/18px var(--numeric-font); }
.rail-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 17px 5px 0; border-top: 1px solid var(--rail-border); }
.operator-avatar { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--rail-border); color: var(--rail-muted); font: 10px var(--numeric-font); border-radius: 3px; }
.rail-footer strong, .rail-footer div > span { display: block; }
.rail-footer strong { font-size: 11px; font-weight: 500; }
.rail-footer div > span { font-size: 9px; color: var(--rail-muted); margin-top: 2px; }
.rail-footer-dot { width: 5px; height: 5px; margin-left: auto; background: var(--accent-bar); border-radius: 50%; }

.workspace { margin-left: var(--rail-width); min-width: 0; }
.status-bar { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.breadcrumb .icon { width: 11px; height: 11px; color: var(--faint); }
.breadcrumb strong { font-weight: 500; color: var(--ink); }
.status-bar-end { display: flex; align-items: center; gap: 22px; font-size: 11px; }
.critical-summary { display: flex; align-items: center; gap: 7px; color: var(--critical); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--critical); }
.snapshot-label { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.snapshot-label .icon { width: 13px; height: 13px; }
.snapshot-label .mono { padding-left: 8px; border-left: 1px solid var(--line); font-size: 10px; }
main { max-width: 1650px; padding: 24px 30px 0; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.eyebrow { font: 9px/1.5 var(--numeric-font); letter-spacing: 1.2px; color: var(--muted); }
.environment { display: inline-block; margin-left: 10px; padding: 2px 5px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: 8px; letter-spacing: .7px; color: var(--ink); }
h1 { margin-top: 7px; font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: -.7px; }
.page-description { color: var(--muted); font-size: 11px; margin-top: 6px; }
.page-description > span { padding: 0 6px; color: var(--line-strong); }
.review-link { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--accent); text-decoration: none; min-height: 36px; border-bottom: 1px solid var(--line-strong); }
.review-link .icon { width: 15px; height: 15px; }
.review-link:hover { color: var(--accent-hover); border-color: var(--accent); }
.noscript-notice { padding: 16px; border: 1px solid var(--high); background: var(--high-soft); margin-bottom: 16px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; margin-bottom: 20px; }
.metric { padding: 15px 22px 14px; min-width: 0; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-label { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.metric-value { font: 28px/1.25 var(--numeric-font); letter-spacing: -1.1px; color: var(--ink); white-space: nowrap; }
.metric-unit { color: var(--muted); font-size: 17px; margin-left: 5px; letter-spacing: -.4px; }
.metric-trend { display: flex; align-items: center; gap: 7px; font-size: 10px; margin-top: 9px; }
.metric-change { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-family: var(--numeric-font); }
.metric-change.is-caution { color: var(--high); }
.trend-context { color: var(--muted); white-space: nowrap; }

.panel { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; }
.panel-heading p { margin-top: 3px; color: var(--muted); font-size: 10px; }
.throughput-panel { margin-bottom: 20px; }
.chart-summary { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.legend-mark { width: 7px; height: 7px; border-radius: 1px; background: var(--accent-bar); }
.chart-peak { margin-left: 12px; padding-left: 15px; border-left: 1px solid var(--line); color: var(--ink); font-size: 10px; }
.chart { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: 120px 24px; padding: 4px 22px 0 15px; }
.chart-y-axis { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding-right: 10px; color: var(--muted); font-size: 9px; position: relative; top: -6px; height: 132px; }
.chart-plot { position: relative; min-width: 0; }
.chart-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid span { display: block; border-top: 1px solid var(--line); width: 100%; }
.chart-grid span:last-child { border-color: var(--line-strong); }
.chart-bars { height: 100%; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 8px; position: relative; list-style: none; margin: 0 6px; padding: 0; }
.chart-bars li { min-width: 0; height: 100%; }
.chart-bar { width: 100%; height: 100%; display: flex; align-items: flex-end; border: 0; padding: 0; background: transparent; border-radius: 1px; }
.chart-bar-fill { display: block; width: 100%; background: var(--accent-bar); border-radius: 2px 2px 0 0; border: 1px solid transparent; }
.chart-bar[aria-pressed="true"] .chart-bar-fill { background: var(--accent); }
.chart-bar:hover .chart-bar-fill { border-color: var(--accent); background: var(--accent); }
.chart-bar:focus-visible { outline-offset: 2px; outline-width: 2px; }
.chart-x-axis { grid-column: 2; display: flex; align-items: flex-end; justify-content: space-between; color: var(--muted); font-size: 9px; }
.chart-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 22px 0 47px; padding-bottom: 14px; color: var(--muted); font-size: 10px; }
.chart-readout { color: var(--ink); font-family: var(--numeric-font); font-size: 10px; }
.chart-readout strong { color: var(--accent); font-weight: 500; }
.chart-hint { display: flex; align-items: center; gap: 4px; }
kbd { font: 9px var(--numeric-font); border: 1px solid var(--line); border-radius: 2px; padding: 1px 3px; color: var(--muted); background: var(--surface-subtle); }
.chart-hint kbd:last-of-type { margin-right: 4px; }
.chart-average { font-size: 10px; }
.chart-values { border-top: 1px solid var(--line); padding: 0 20px; background: var(--surface-subtle); border-radius: 0 0 5px 5px; }
.chart-values summary { width: fit-content; padding: 10px 0; font-size: 10px; color: var(--muted); cursor: pointer; }
.chart-values summary .mono { margin-left: 6px; font-size: 9px; }
.hour-values { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding-bottom: 12px; font: 10px var(--numeric-font); }
.hour-values div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); gap: 8px; }
.hour-values dt { color: var(--muted); }
.hour-values dd { margin: 0; color: var(--accent); }

.incident-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 20px; align-items: start; }
.incident-heading { display: flex; align-items: center; gap: 9px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; background: var(--low-soft); border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font: 10px var(--numeric-font); }
.queue-scope { font-size: 10px; color: var(--muted); }
.filters { display: flex; align-items: center; gap: 8px; padding: 0 16px 16px; }
.search-field { display: flex; position: relative; flex: 1; min-width: 80px; }
.search-field .icon { position: absolute; top: 11px; left: 10px; width: 14px; height: 14px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; min-width: 0; height: 36px; padding: 0 30px 0 31px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 11px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field kbd { position: absolute; right: 10px; top: 10px; pointer-events: none; }
.search-field:focus-within kbd, .search-field.has-query kbd { display: none; }
.select-field { display: block; min-width: 0; }
.select-field select { height: 36px; width: 119px; padding: 0 6px 0 8px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-size: 10px; }
.reset-button { border: 0; background: transparent; color: var(--accent); padding: 8px 1px 8px 5px; font-size: 10px; min-height: 36px; }
.reset-button:hover:not(:disabled), .undo-button:hover { text-decoration: underline; }
.reset-button:disabled { color: var(--faint); }
.table-container { min-height: 282px; }
table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
th { padding: 9px 9px; color: var(--muted); font-size: 9px; font-weight: 500; background: var(--surface-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
th:first-child { padding-left: 18px; width: 30%; }
th:nth-child(2) { width: 12%; }
th:nth-child(3) { width: 19%; }
th:nth-child(4) { width: 8%; }
th:nth-child(5) { width: 13%; }
th:last-child { width: 18%; padding-right: 18px; }
td { padding: 15px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 10px; overflow-wrap: anywhere; }
td:first-child { padding-left: 18px; position: relative; }
td:last-child { padding-right: 18px; }
.incident-row { cursor: pointer; }
.incident-row:last-child td { border-bottom: 0; }
.incident-row:hover { background: var(--surface-subtle); }
.incident-row.is-selected { background: var(--accent-soft); }
.incident-row.is-selected td:first-child::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.incident-select { display: block; text-align: left; width: 100%; border: 0; background: transparent; color: var(--ink); padding: 2px 0; border-radius: 1px; }
.incident-select:hover .incident-id { text-decoration: underline; }
.incident-id { display: block; color: var(--accent); font: 10px/1.4 var(--numeric-font); }
.incident-title { display: block; margin-top: 4px; font-size: 11px; line-height: 1.45; font-weight: 500; }
.cell-label { display: none; }
.cell-service { font-family: var(--numeric-font); font-size: 9px; }
.cell-age { text-align: right; font-family: var(--numeric-font); font-size: 10px; white-space: nowrap; }
.age-heading { text-align: right; }
.cell-owner { white-space: nowrap; }
.cell-owner.is-unassigned { color: var(--high); }
.severity-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; line-height: 1.8; font-weight: 550; border-radius: 3px; padding: 1px 5px; white-space: nowrap; }
.severity-badge::before { content: ""; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.severity-critical { background: var(--critical-soft); color: var(--critical); }
.severity-high { background: var(--high-soft); color: var(--high); }
.severity-medium { background: var(--medium-soft); color: var(--medium); }
.severity-low { background: var(--low-soft); color: var(--low); }
.status-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.status-badge::before { content: ""; height: 5px; width: 5px; border: 1px solid currentColor; border-radius: 50%; }
.status-investigating { color: var(--high); }
.status-investigating::before { background: currentColor; }
.status-monitoring, .status-acknowledged { color: var(--accent); }
.status-monitoring::before, .status-acknowledged::before { background: currentColor; }
.empty-state { text-align: center; padding: 32px 24px; }
.empty-icon { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.empty-state h3 { font-size: 14px; }
.empty-state p { margin: 7px auto 16px; color: var(--muted); font-size: 11px; max-width: 290px; overflow-wrap: anywhere; }
.secondary-button { background: var(--surface); border: 1px solid var(--line-strong); color: var(--accent); min-height: 36px; padding: 6px 12px; font-size: 11px; }
.secondary-button:hover { background: var(--accent-soft); border-color: var(--accent); }
.queue-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); }
.queue-footer > span { white-space: nowrap; }

.detail-panel { padding: 18px; border-top: 2px solid var(--accent); }
.detail-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; gap: 10px; }
.detail-selection-label { color: var(--muted); font-size: 9px; }
.detail-identity { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.detail-identity .mono { color: var(--muted); font-size: 10px; }
.detail-panel h2 { font-size: 18px; line-height: 1.35; letter-spacing: -.3px; font-weight: 600; }
.detail-description { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.detail-facts { margin: 19px 0 0; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts > div { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; gap: 14px; }
.detail-facts dt { color: var(--muted); font-size: 10px; }
.detail-facts dd { margin: 0; font-size: 10px; text-align: right; overflow-wrap: anywhere; }
.detail-facts .status-badge { font-size: 10px; }
.owner-value { display: flex; align-items: center; gap: 6px; }
.owner-avatar { width: 19px; height: 19px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 7px var(--numeric-font); color: var(--muted); background: var(--surface-subtle); }
.response-guidance { margin-top: 18px; }
.response-guidance h3, .activity h3 { margin-bottom: 7px; }
.response-guidance p { color: var(--muted); font-size: 11px; line-height: 1.65; }
.activity { margin-top: 18px; }
.activity ol { list-style: none; margin: 10px 0 0; padding: 0 0 0 12px; }
.activity li { position: relative; border-left: 1px solid var(--line-strong); padding: 0 0 13px 13px; color: var(--muted); font-size: 10px; }
.activity li:last-child { padding-bottom: 0; border-left-color: transparent; }
.activity li::before { position: absolute; content: ""; width: 5px; height: 5px; left: -3px; top: 5px; border-radius: 50%; background: var(--line-strong); }
.activity li.ack-event::before { background: var(--accent); }
.activity strong { display: block; color: var(--ink); font-size: 10px; font-weight: 500; }
.activity span { display: block; margin-top: 2px; font-size: 9px; }
.detail-action { margin-top: 14px; margin-bottom: 12px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; width: 100%; border: 1px solid var(--accent); color: var(--surface); background: var(--accent); font-size: 11px; font-weight: 500; }
.primary-button .icon { width: 15px; height: 15px; }
.primary-button:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.primary-button:disabled { color: var(--accent); border-color: var(--line-strong); background: var(--accent-soft); }
.detail-action p { color: var(--muted); text-align: center; font-size: 9px; line-height: 1.6; margin-top: 7px; }
.undo-button { display: block; margin: 5px auto -4px; color: var(--accent); background: transparent; border: 0; padding: 8px; min-height: 32px; font-size: 10px; }
.detail-empty { padding: 14px 0 25px; }
.detail-empty h2 { font-size: 16px; }
.detail-empty p { margin-top: 9px; color: var(--muted); font-size: 11px; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 0 20px; font-size: 9px; color: var(--muted); }
.footer-mark { margin-right: 6px; color: var(--accent); font-size: 13px; }

@media (min-width: 1700px) { .incident-workspace { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 1399px) {
  :root { --rail-width: 78px; }
  .rail { padding: 27px 9px 16px; }
  .brand { margin: 0 auto 36px; min-height: 26px; }
  .brand-name, .rail-label, .rail-footer div, .rail-footer-dot { display: none; }
  .rail-links { gap: 9px; }
  .rail-link { position: relative; flex-direction: column; justify-content: center; gap: 6px; padding: 9px 0; min-height: 62px; font-size: 8px; }
  .rail-link .icon { width: 19px; height: 19px; }
  .rail-count { position: absolute; top: 5px; right: 4px; min-width: 13px; padding: 0 3px; font-size: 8px; line-height: 14px; }
  .rail-footer { justify-content: center; padding: 15px 0 0; }
  .status-bar { padding: 0 26px; }
  main { padding: 25px 26px 0; }
  .metric { padding: 15px 18px 14px; }
}
@media (max-width: 1199px) {
  .incident-workspace { grid-template-columns: minmax(0, 1fr); }
  .detail-panel { padding: 20px; }
  #detail-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 35px; }
  .detail-identity, .detail-panel h2, .detail-description { grid-column: 1; }
  .detail-identity { justify-content: flex-start; gap: 15px; }
  .detail-facts { grid-column: 2; grid-row: 1 / 5; align-self: start; margin-top: 0; padding-top: 2px; border-top: 0; }
  .response-guidance { grid-column: 1; }
  .activity { grid-column: 2; grid-row: 5 / 7; margin-top: 16px; }
  .detail-action { grid-column: 1; }
  .table-container { min-height: 270px; }
  .cell-service { font-size: 10px; }
  td { padding-top: 13px; padding-bottom: 13px; }
  th { font-size: 10px; }
}
@media (max-width: 850px) {
  .metric { padding: 16px 12px; }
  .metric-value { font-size: 24px; }
  .metric-trend { align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 9px; }
  .chart-bars { gap: 5px; }
  .chart-summary > span:nth-child(2), .legend-mark { display: none; }
  .chart-peak { border: 0; padding: 0; margin: 0; }
  .chart-hint { display: none; }
  .hour-values { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .breadcrumb > span, .breadcrumb > .icon { display: none; }
  .status-bar-end { gap: 14px; }
  th:first-child { width: 28%; }
  th:nth-child(3) { width: 20%; }
  th:nth-child(4) { width: 9%; }
  td, th { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 16px; }
  .rail { position: static; width: auto; flex-direction: row; align-items: center; padding: 9px 16px; gap: 21px; min-height: 60px; }
  .brand { margin: 0; }
  .brand-mark { grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 2px; }
  .rail-links { flex: 1; flex-direction: row; justify-content: flex-end; gap: 4px; min-width: 0; }
  .rail-link { flex-direction: row; min-height: 40px; padding: 9px 10px; font-size: 10px; gap: 5px; }
  .rail-link .icon { display: none; }
  .rail-count { position: static; margin-left: 1px; }
  .rail-footer { display: none; }
  .workspace { margin-left: 0; }
  .status-bar { min-height: 43px; padding: 0 17px; gap: 10px; }
  .breadcrumb, .status-bar-end { font-size: 9px; }
  .status-bar-end { gap: 10px; }
  .critical-summary { gap: 5px; }
  .snapshot-label { gap: 4px; }
  .snapshot-label .icon { display: none; }
  .snapshot-label .mono { display: none; }
  main { padding: 22px 16px 0; }
  .page-heading { align-items: flex-start; gap: 10px; margin-bottom: 19px; }
  h1 { font-size: 22px; margin-top: 8px; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .environment { margin-left: 6px; font-size: 7px; }
  .page-description { font-size: 10px; }
  .review-link { font-size: 0; min-height: 33px; gap: 0; margin-top: 25px; width: 28px; justify-content: center; }
  .review-link .icon { width: 18px; height: 18px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
  .metric { padding: 15px 16px; }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .metric-value { font-size: 26px; }
  .metric-unit { font-size: 15px; }
  .metric-label { font-size: 10px; margin-bottom: 7px; }
  .metric-trend { font-size: 9px; gap: 3px; }
  .panel-heading { padding: 15px 16px; gap: 8px; align-items: flex-start; }
  h2 { font-size: 14px; }
  .panel-heading p { font-size: 9px; }
  .throughput-panel { margin-bottom: 16px; }
  .chart-summary { align-self: center; }
  .chart-peak { font-size: 8px; max-width: 65px; text-align: right; }
  .chart { grid-template-columns: 25px minmax(0, 1fr); grid-template-rows: 138px 23px; padding: 5px 16px 0 8px; }
  .chart-y-axis { padding-right: 7px; height: 150px; font-size: 8px; }
  .chart-bars { gap: 3px; margin: 0 2px; }
  .chart-bar-fill { border-radius: 1px 1px 0 0; }
  .chart-x-axis { font-size: 8px; }
  .chart-footer { margin: 12px 16px 0 33px; padding-bottom: 12px; flex-wrap: wrap; }
  .chart-readout, .chart-average { font-size: 9px; }
  .chart-values { padding: 0 16px; }
  .hour-values { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; font-size: 9px; }
  .incident-workspace { gap: 16px; }
  .queue-scope { font-size: 9px; padding-top: 3px; }
  .filters { flex-wrap: wrap; padding: 0 14px 14px; gap: 8px; }
  .search-field { flex: 1 1 100%; }
  .search-field input { font-size: 16px; height: 42px; }
  .search-field input::placeholder { font-size: 12px; }
  .search-field .icon { top: 14px; }
  .search-field kbd { display: none; }
  .select-field { flex: 1; }
  .select-field select { width: 100%; height: 40px; font-size: 11px; }
  .reset-button { min-height: 40px; padding: 8px 3px; font-size: 10px; }
  .table-container { min-height: 190px; border-top: 1px solid var(--line); }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .incident-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 16px; border-bottom: 1px solid var(--line); position: relative; }
  .incident-row:last-child { border-bottom: 0; }
  td, td:first-child, td:last-child { display: block; padding: 0; border: 0; font-size: 11px; text-align: left; }
  .incident-row.is-selected td:first-child::before { display: none; }
  .incident-row.is-selected::before { position: absolute; content: ""; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
  .cell-incident { grid-column: 1 / -1; order: 0; }
  .incident-select { padding: 0 0 2px; min-height: 40px; }
  .incident-id { font-size: 11px; }
  .incident-title { font-size: 12px; margin-top: 3px; }
  .cell-severity { order: 1; }
  .cell-age { order: 2; }
  .cell-service { grid-column: 1 / -1; order: 3; }
  .cell-owner { order: 4; }
  .cell-status { order: 5; }
  .cell-label { display: inline; margin-right: 7px; color: var(--muted); font: 10px var(--body-font); }
  .severity-badge, .status-badge { font-size: 10px; }
  .queue-footer { font-size: 9px; padding: 12px 16px; }
  .detail-panel { padding: 18px; }
  .detail-topline { margin-bottom: 18px; }
  #detail-content { display: block; }
  .detail-panel h2 { font-size: 19px; }
  .detail-identity { justify-content: space-between; }
  .detail-description, .response-guidance p { font-size: 12px; }
  .detail-facts { margin-top: 18px; border-top: 1px solid var(--line); padding: 10px 0; }
  .detail-facts dt, .detail-facts dd, .detail-facts .status-badge { font-size: 11px; }
  .detail-facts > div { padding: 6px 0; }
  .primary-button { min-height: 44px; font-size: 12px; }
  .undo-button { min-height: 44px; }
  .workspace-footer { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 0; font-size: 8px; }
}
@media (prefers-reduced-motion: no-preference) { .primary-button, .rail-link, .chart-bar-fill { transition: background-color 120ms ease, border-color 120ms ease; } }
@media (forced-colors: active) {
  .chart-bar-fill { background: CanvasText; border-color: CanvasText; forced-color-adjust: none; }
  .chart-bar[aria-pressed="true"] .chart-bar-fill { background: Highlight; border-color: Highlight; }
  .incident-row.is-selected { outline: 2px solid Highlight; outline-offset: -2px; }
  .severity-badge { border: 1px solid CanvasText; }
}
