:root {
  color-scheme: light;
  --ink: #20252b;
  --muted: #626b76;
  --line: #dfe3e7;
  --surface: #fff;
  --paper: #f8f9fa;
  --accent: #245d80;
  --critical: #aa3036;
  --high: #975916;
  --success: #287052;
  --radius: 6px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 13px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button { white-space: nowrap; }
button:disabled { cursor: wait; opacity: .55; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
#page-title:focus { outline: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
p { margin: 0 0 12px; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; }
h1 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 15px; letter-spacing: -.015em; }
h3 { margin: 0 0 10px; font-size: 13px; }
small { font-size: 11px; }
.mono, .id-chip { font-family: var(--font-mono); font-size: 11px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 240px; z-index: 100; padding: 10px; background: #fff; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; z-index: 30; padding: 24px 12px 20px; display: flex; flex-direction: column; background: #1c2229; color: #c7cdd4; border-right: 1px solid #151a20; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 10px 35px; color: #f5f7fa; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 34px; background: #dce7eb; color: #223e4b; border-radius: 5px; font-size: 22px; font-weight: 700; letter-spacing: -.07em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.035em; }
.brand small { color: #a9b4bf; font-size: 10px; letter-spacing: .02em; }
.nav-label { margin: 0 12px 8px; font-size: 10px; font-weight: 600; color: #98a3af; letter-spacing: .08em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 3px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 5px; color: #b7c0c9; border: 1px solid transparent; font-size: 13px; min-height: 40px; }
.nav-item > span { flex: 1; }
.nav-item:hover { background: #252d36; color: #fff; text-decoration: none; }
.nav-item.active { color: #fff; background: #323c47; border-color: #404c58; }
.nav-item.active svg { color: #b6d0dd; }
.nav-item strong { padding: 1px 6px; font: 11px var(--font-mono); background: #414b55; color: #e2e8ed; border-radius: 3px; }
.nav-submit { margin-top: 18px; border-top-color: #343c46; border-radius: 0; padding-top: 17px; }
.sidebar-foot { margin-top: auto; display: grid; gap: 4px; padding: 18px 12px 0; border-top: 1px solid #343c46; }
.environment-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #aab8c4; margin-bottom: 5px; }
.sidebar-foot strong { color: #dbe2e9; font-size: 12px; font-weight: 500; }
.sidebar-foot small { color: #98a3af; }
main { margin-left: 224px; min-width: 0; }
.topbar { min-height: 58px; display: flex; gap: 24px; align-items: center; padding: 10px 30px; border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.global-search { position: relative; display: flex; align-items: center; gap: 7px; margin-left: auto; width: min(310px, 35%); color: #77828d; }
.global-search input { padding-left: 30px; padding-right: 48px; background: var(--paper); font-size: 12px; }
.global-search svg { position: absolute; left: 9px; width: 15px; }
kbd { position: absolute; right: 8px; font: 10px var(--font-sans); color: var(--muted); border: 1px solid #d9dfe5; border-radius: 3px; padding: 1px 4px; pointer-events: none; }
.workspace-identity { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; white-space: nowrap; }
.workspace-identity svg { width: 16px; }
.content { max-width: 1700px; margin: auto; padding: 28px 30px 18px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.eyebrow { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 5px; }
.page-heading p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.page-actions { display: flex; gap: 8px; }
.primary, .ghost, .icon-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 34px; border: 1px solid var(--line); border-radius: 5px; padding: 7px 12px; font-weight: 500; font-size: 12px; cursor: pointer; transition: background-color 120ms; }
.primary { background: #245d80; border-color: #245d80; color: #fff; }
.primary:hover { background: #1c4a68; }
.ghost, .icon-button { background: #fff; color: #38424e; }
.ghost:hover, .icon-button:hover { background: #edf0f3; }
.icon-button { padding: 5px; min-width: 34px; font-size: 20px; }
.mobile-menu { display: none; }
.text-link { color: var(--accent); background: none; border: 0; padding: 4px 0; font-size: 12px; }
.text-link:hover { text-decoration: underline; }
.notice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; margin-bottom: 22px; border: 1px solid #d5bd8d; border-left: 3px solid #ad7a26; background: #fffaf0; border-radius: 4px; font-size: 12px; }
.notice p { flex: 1 1 350px; margin: 0; }
.notice a { font-weight: 500; }
.notice.loading { background: #eef3f6; border-color: #c6d7e2; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.metric-strip article { padding: 0 22px; border-right: 1px solid var(--line); }
.metric-strip article:first-child { padding-left: 0; }
.metric-strip article:last-child { border-right: 0; }
.metric-strip span, .metric-strip strong, .metric-strip small { display: block; }
.metric-strip span { font-size: 12px; font-weight: 500; }
.metric-strip strong { margin: 7px 0 5px; font-size: 32px; line-height: 1.1; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.metric-strip small { color: var(--muted); font-size: 11px; }
.critical-number { color: var(--critical); }
.loading-value { opacity: .4; }
.skeleton-line { display: block; height: 9px; width: 60%; margin: 6px 0; background: #e9edf1; border-radius: 2px; }
.skeleton-line.short { width: 28%; height: 7px; }
.overview-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading p { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.section-heading a { font-size: 12px; white-space: nowrap; }
.count-label { margin-left: 6px; color: var(--muted); font: 11px var(--font-mono); }
.overview-aside { padding-left: 23px; border-left: 1px solid var(--line); min-width: 0; }
.summary-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.summary-block dl { margin: 12px 0 18px; }
.summary-block dl div { display: flex; justify-content: space-between; margin: 9px 0; font-size: 12px; }
dt { color: var(--muted); }
dd { margin: 0; }
.summary-block a { font-size: 12px; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { color: #5a6572; font-size: 10px; font-weight: 600; background: #f2f4f6; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid #edf0f3; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7f9fb; }
tbody tr.critical-row td:first-child { box-shadow: inset 2px 0 var(--critical); }
.incident-link { display: block; color: var(--ink); border: 0; background: transparent; text-align: left; padding: 0; font-size: 12px; font-weight: 550; white-space: normal; line-height: 1.4; min-width: 150px; max-width: 340px; cursor: pointer; }
.incident-link:hover { color: var(--accent); text-decoration: underline; }
.incident-link .id-chip { display: block; margin-bottom: 4px; color: #677380; font-size: 10px; font-weight: 400; }
.table-subtitle { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.cell-stack { display: grid; gap: 5px; justify-items: start; }
.badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dce2e8; border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 500; white-space: nowrap; background: #f3f5f7; color: #586574; }
.badge--critical { background: #fcf0f0; border-color: #ecc8cb; color: #a42c36; }
.badge--high { background: #fbf4e8; border-color: #e7d7b7; color: #895015; }
.badge--medium { background: #edf3f8; border-color: #d0dfe9; color: #315e80; }
.status-badge { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 11px; color: #596675; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #81909e; }
.status-badge--active::before { background: #537b9c; }
.status-badge--escalated::before { background: #ae6934; }
.status-badge--resolved { color: #246349; }
.status-badge--resolved::before { background: #348364; }
.table-date { color: var(--muted); white-space: nowrap; font-size: 11px; }
.confidence { font: 11px var(--font-mono); color: #4b5867; }
.empty { padding: 45px 20px; text-align: center; color: var(--muted); font-size: 12px; }
.empty h2 { color: var(--ink); margin-bottom: 8px; }
.empty p { max-width: 450px; margin: 0 auto 18px; }
.workspace-empty { padding: 70px 20px; border: 1px dashed var(--line); background: #fff; border-radius: var(--radius); }
.empty-symbol { display: inline-grid; place-items: center; width: 34px; height: 34px; background: #eef1f4; font-size: 23px; margin-bottom: 16px; border-radius: 5px; }
.table-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.table-footer p { margin: 0; }
.filter-toolbar { display: flex; gap: 9px; align-items: end; flex-wrap: wrap; margin-bottom: 15px; }
.filter-toolbar > label { flex: 1 1 125px; max-width: 220px; }
.filter-toolbar > .search-field { flex: 2 1 235px; max-width: none; }
label { display: block; color: #485360; font-size: 12px; font-weight: 500; }
label > span:not(.sr-only) { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
input, select, textarea { display: block; width: 100%; min-width: 0; border: 1px solid #ccd3da; border-radius: 4px; background: #fff; color: var(--ink); padding: 8px 10px; font-size: 12px; line-height: 1.4; }
textarea { resize: vertical; min-height: 70px; }
input::placeholder, textarea::placeholder { color: #798491; opacity: 1; }
.search-field { min-width: 210px; }
.bar-chart { display: grid; gap: 13px; }
.bar-line { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(40px, 1.1fr) 26px; gap: 10px; align-items: center; font-size: 11px; color: #586472; }
.bar-line strong { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
progress { display: block; appearance: none; width: 100%; height: 5px; border: 0; border-radius: 1px; overflow: hidden; background: #e6ebef; accent-color: #6d889b; }
progress::-webkit-progress-bar { background: #e6ebef; }
progress::-webkit-progress-value { background: #6d889b; }
progress::-moz-progress-bar { background: #6d889b; }
.bar-critical progress::-webkit-progress-value { background: #b35057; }
.bar-high progress::-webkit-progress-value { background: #ad8855; }
.chart-note, .data-note { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.analytics-heading { display: flex; gap: 15px; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chart-panel { padding: 23px 26px 26px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.chart-panel:nth-child(even) { padding-left: 26px; padding-right: 0; border-left: 1px solid var(--line); }
.chart-panel .chart-note { margin: 5px 0 22px; }
.case-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.case-heading h2 { font-size: 19px; margin-top: 5px; overflow-wrap: anywhere; }
.case-heading .mono { color: var(--muted); }
.triage-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.original-incident, .analysis-workspace { padding: 22px; min-width: 0; }
.original-incident { border-right: 1px solid var(--line); background: #fcfcfd; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: .075em; color: var(--muted); margin: 0; }
.detail-meta, .analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; margin: 20px 0; }
.detail-meta dt, .analysis-grid dt { font-size: 10px; margin-bottom: 4px; }
.detail-meta dd, .analysis-grid dd { font-size: 12px; overflow-wrap: anywhere; }
.incident-context { margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.incident-context p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: #4d5864; }
.status-control { padding: 17px 0; border-top: 1px solid var(--line); }
.status-control > div { display: flex; gap: 8px; margin-top: 7px; }
#detail-status-message { font-size: 12px; color: #415b71; margin: 9px 0 0; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { font-size: 12px; font-weight: 600; }
details > p { font-size: 12px; color: #4d5864; margin: 12px 0 0; overflow-wrap: anywhere; }
.analysis-empty { padding: 24px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.analysis-empty h3 { color: var(--ink); }
.analysis-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; background: #edf3f7; border-left: 3px solid #6389a1; padding: 10px 12px; font-size: 11px; }
.analysis-header strong { font-weight: 600; }
.analysis-header span { font-family: var(--font-mono); }
.action-checklist { padding: 0; list-style: none; display: grid; gap: 12px; margin: 16px 0 0; }
.action-checklist label { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; font-weight: 400; color: #4d5864; }
.action-checklist input { width: 14px; height: 14px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.action-checklist label > span { margin: 0; font-size: 12px; color: inherit; }
.action-checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.advisory-note { padding: 12px; background: #f5f6f8; color: var(--muted); font-size: 11px; }
.timeline { list-style: none; margin: 18px 0 0 5px; padding: 0 0 0 17px; border-left: 1px solid #d6dee5; }
.timeline li { position: relative; margin-bottom: 18px; }
.timeline li::before { position: absolute; content: ""; left: -21px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #8495a3; border: 2px solid #fcfcfd; }
.timeline time { display: block; font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.timeline strong { font-size: 11px; font-weight: 500; }
.timeline p { margin: 6px 0 0; font-size: 11px; color: #596572; white-space: pre-wrap; overflow-wrap: anywhere; }
.submission-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
.form-panel form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-panel input, .form-panel textarea { margin-top: 7px; }
.form-panel label > span { display: inline; color: var(--muted); font-size: inherit; }
.form-panel label small { color: var(--muted); font-weight: 400; }
.wide { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.form-actions span { font-size: 12px; color: #546b7c; }
.submission-guide { border-left: 1px solid var(--line); padding-left: 24px; color: var(--muted); font-size: 12px; }
.submission-guide h2 { color: var(--ink); margin-bottom: 16px; }
.submission-guide h3 { color: #485360; margin-top: 22px; }
.app-footer { display: flex; gap: 15px; justify-content: space-between; margin-top: 38px; padding-top: 13px; border-top: 1px solid var(--line); color: #6e7985; font-size: 10px; }
.assistant-bubble { position: fixed; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 9px; padding: 11px 15px; background: #233443; border: 1px solid #3c5062; border-radius: 6px; color: #fff; font: 500 12px var(--font-sans); box-shadow: 0 4px 15px #182c3e26; cursor: pointer; z-index: 35; }
.assistant-bubble:hover { background: #304759; }
.assistant-bubble[aria-expanded="true"] { visibility: hidden; }
.assistant-drawer { position: fixed; inset: 0 0 0 auto; width: min(470px, 100%); z-index: 40; display: flex; flex-direction: column; padding: 23px; background: #fff; border-left: 1px solid #cbd5df; box-shadow: -8px 0 24px #162a3d14; }
.assistant-drawer-header { display: flex; gap: 12px; align-items: start; justify-content: space-between; margin-bottom: 13px; }
.assistant-drawer-header h2 { font-size: 18px; }
#assistant-case-title { font-size: 11px; color: var(--muted); margin: 6px 0 0; overflow-wrap: anywhere; }
.privacy-badge { align-self: start; font-size: 10px; padding: 4px 7px; background: #edf5f0; color: #35634b; border: 1px solid #d0e2d7; border-radius: 3px; }
.privacy-badge.local-only { background: #fff8e9; border-color: #e8d9b7; color: #785519; }
.assistant-intro, .assistant-disclaimer { margin: 10px 0 0; font-size: 11px; color: var(--muted); }
.assistant-messages { overflow-y: auto; min-height: 80px; flex: 1; margin: 16px 0; display: flex; flex-direction: column; gap: 14px; }
.assistant-message { padding: 14px; background: #f7f9fb; border: 1px solid #dfe5eb; border-radius: 5px; }
.assistant-message.technician { background: #fff; margin-left: 22px; }
.assistant-empty { padding: 20px; background: #f7f9fb; border: 1px dashed var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.assistant-message-meta { font-size: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.assistant-message-meta strong { color: #374c5b; font-weight: 600; }
.assistant-message p, .assistant-message li { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.assistant-message p { margin: 9px 0 0; }
.assistant-message h4 { font-size: 11px; margin: 15px 0 6px; }
.assistant-message ol, .assistant-message ul { margin: 0; padding-left: 18px; }
.assistant-message .assistant-limitation { font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 9px; }
#assistant-form { border-top: 1px solid var(--line); padding-top: 14px; }
#assistant-form textarea { margin: 7px 0 10px; }
.assistant-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.assistant-actions span { font-size: 11px; flex: 1 1 160px; color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: calc(50% + 112px); transform: translateX(-50%); z-index: 60; max-width: min(480px, 85vw); border: 1px solid #365747; border-radius: 5px; background: #233b30; color: #f7fffa; padding: 11px 18px; font-size: 12px; box-shadow: 0 4px 15px #17281f26; }
@media (max-width: 1200px) {
  .overview-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 20px; }
  .content { padding: 24px; }
  .overview-aside { padding-left: 18px; }
  .compact-table th, .compact-table td { padding: 10px; }
  .workspace-identity span { display: none; }
}
@media (max-width: 1020px) {
  .sidebar { width: 198px; padding-inline: 9px; }
  main { margin-left: 198px; }
  .topbar { padding-inline: 24px; gap: 16px; }
  .overview-layout { grid-template-columns: 1fr; }
  .overview-aside { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .summary-block { margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
  .metric-strip article { padding-inline: 14px; }
  .submission-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; }
  .triage-layout { grid-template-columns: 1fr; }
  .original-incident { border-right: 0; border-bottom: 1px solid var(--line); }
  .toast { left: calc(50% + 99px); }
}
@media (max-width: 760px) {
  .sidebar { width: 224px; transform: translateX(-100%); transition: transform 140ms ease; top: 58px; box-shadow: 5px 0 20px #1b263522; }
  .sidebar.is-open { transform: translateX(0); }
  main { margin: 0; }
  .topbar { position: sticky; top: 0; z-index: 31; gap: 12px; padding: 10px 16px; }
  .mobile-menu { display: inline-flex; }
  .breadcrumb > span { display: none; }
  .global-search { width: auto; flex: 1; }
  .global-search kbd { display: none; }
  .global-search input { padding-right: 8px; }
  .workspace-identity { display: none; }
  .content { padding: 20px 16px; }
  h1 { font-size: 23px; }
  .page-heading { align-items: start; }
  .page-actions { flex-direction: column-reverse; }
  .page-actions .ghost { display: none; }
  .metric-strip { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .metric-strip article { padding-inline: 20px; }
  .metric-strip article:nth-child(odd) { padding-left: 0; }
  .metric-strip article:nth-child(even) { border-right: 0; }
  .metric-strip strong { font-size: 29px; }
  .overview-aside { grid-template-columns: 1fr; }
  .summary-block { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .filter-toolbar > label { max-width: none; flex-basis: calc(50% - 9px); }
  .filter-toolbar > .search-field { flex-basis: 100%; }
  .table-wrap { overflow: visible; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 14px; gap: 10px 16px; }
  tbody tr:last-child { border-bottom: 0; }
  td { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  td:first-child, td.empty { grid-column: 1 / -1; }
  td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
  .compact-table td { padding: 0; }
  tbody tr.critical-row td:first-child { box-shadow: none; }
  tbody tr.critical-row { border-left: 2px solid var(--critical); }
  .incident-link { max-width: none; font-size: 13px; }
  .section-heading { align-items: start; flex-wrap: wrap; }
  .section-heading .search-field { width: 100%; }
  .analytics-grid { grid-template-columns: 1fr; }
  .chart-panel, .chart-panel:nth-child(even) { padding: 20px 0; border-left: 0; }
  .case-heading { flex-direction: column; align-items: start; }
  .case-heading .mono { font-size: 10px; overflow-wrap: anywhere; }
  .original-incident, .analysis-workspace { padding: 18px; }
  .submission-layout { grid-template-columns: 1fr; }
  .submission-guide { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .form-panel form { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .app-footer { flex-wrap: wrap; gap: 5px; padding-bottom: 60px; }
  .assistant-bubble { bottom: 15px; right: 15px; }
  .toast { left: 50%; bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
