:root {
  --bg: #f3f6fb;
  --panel: #ffffff;
  --ink: #101a33;
  --muted: #66728a;
  --navy: #08264d;
  --navy-2: #0d3775;
  --blue: #0b58d8;
  --green: #128653;
  --orange: #ff7a00;
  --red: #d92d20;
  --line: #d9e1ec;
  --soft: #eef4ff;
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.app { min-height: 100vh; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.sidebar { background: var(--navy); color: #fff; display: flex; flex-direction: column; }
.brand { height: 88px; display: flex; align-items: center; gap: 12px; padding: 0 20px; font-size: 22px; font-weight: 800; }
.shield {
  width: 34px; height: 34px; border: 3px solid currentColor; border-radius: 10px;
  color: #fff; display: inline-grid; place-items: center; font-size: 14px;
}
.nav { display: grid; gap: 8px; padding: 8px 8px; }
.nav a, .nav .disabled {
  min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 7px;
  color: rgba(255,255,255,.88); font-weight: 700;
}
.nav a.active { background: #1a5bbb; color: #fff; }
.nav .disabled { opacity: .62; }
.nav-icon { width: 22px; display: inline-grid; place-items: center; font-size: 20px; }
.sidebar-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,.16); padding: 18px; display: grid; gap: 12px; }
.current-case { font-weight: 700; margin: 8px 0 16px; }
.main { min-width: 0; }
.topbar {
  min-height: 74px; display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 22px 10px;
}
h1 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; }
h2 { margin: 0 0 16px; font-size: 18px; }
h3 { margin: 18px 0 10px; font-size: 15px; }
.content { padding: 12px 18px 20px; display: grid; gap: 14px; }
.user-card { height: 46px; display: flex; align-items: center; gap: 10px; border: 1px solid #ccd6e5; border-radius: 8px; padding: 0 14px; background: #fff; }
.avatar { color: var(--navy); }
.user-name { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.layout-three { display: grid; grid-template-columns: 360px minmax(360px, 1fr) 420px; gap: 14px; align-items: start; }
.layout-two { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.2fr); gap: 14px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill { background: #e7f0ff; color: var(--blue); padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.search { height: 40px; display: flex; align-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; padding: 0 12px; margin-bottom: 12px; }
.case-list { display: grid; gap: 8px; align-content: start; }
.case-row { display: grid; gap: 6px; padding: 14px; border: 1px solid transparent; border-bottom-color: #e8edf5; border-radius: 7px; }
.case-row:hover { background: #eef5ff; border-color: #bdd6ff; }
.case-row span, .case-row em { color: var(--muted); font-size: 13px; font-style: normal; }
.form-grid { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: #344054; font-weight: 600; }
input, select {
  min-height: 38px; border: 1px solid #cfd8e6; border-radius: 7px; padding: 0 11px; background: #fff; color: var(--ink);
}
.primary, .ghost {
  min-height: 38px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 0 14px; font-weight: 700;
}
.primary { border: 1px solid var(--navy); background: var(--navy); color: #fff; }
.ghost { border: 1px solid #cfd8e6; background: #fff; color: var(--navy); }
.full { width: 100%; }
.small-btn { min-height: 30px; font-size: 12px; }
.steps { display: grid; gap: 12px; }
.step { border-left: 3px solid var(--line); padding: 3px 0 3px 12px; }
.step.done { border-color: var(--green); }
.step.progress { border-color: var(--blue); color: var(--blue); font-weight: 700; }
.muted-step { color: var(--muted); }
.details { display: grid; grid-template-columns: 150px 1fr; gap: 10px; margin: 0 0 16px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 700; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.upload-box { display: grid; gap: 12px; border: 1px dashed #9db2cf; border-radius: 8px; padding: 18px; background: #f8fbff; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e6ebf2; vertical-align: top; }
th { color: #475467; background: #f8fafc; font-weight: 700; }
.status { padding: 4px 8px; border-radius: 999px; font-size: 12px; background: #eef2f7; }
.status.parsed { background: #eaf8f0; color: var(--green); }
.status.processing { background: #eef4ff; color: var(--blue); }
.status.uploaded { background: #fff4e5; color: var(--orange); }
.status.failed { background: #fee4e2; color: var(--red); }
.cards { display: flex; gap: 12px; flex-wrap: wrap; }
.metric { min-width: 160px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 4px; }
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { font-size: 28px; }
.metric em { font-style: normal; color: var(--muted); font-size: 12px; }
.report-hero {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.report-hero h2 { margin: 4px 0 8px; font-size: 24px; }
.report-hero p { max-width: 780px; margin: 0; color: var(--muted); line-height: 1.45; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.kpi-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.kpi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  display: grid; gap: 6px; min-width: 0;
}
.kpi-card span { color: var(--muted); font-size: 12px; }
.kpi-card strong { font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.kpi-card em { color: var(--muted); font-size: 12px; font-style: normal; }
.kpi-card.danger strong { color: var(--red); }
.kpi-card.warning strong { color: #b85b00; }
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.source-check-grid { display: grid; gap: 10px; }
.compact-panel { padding: 14px; }
.source-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.source-date-card {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff;
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: baseline;
}
.source-date-card strong { color: var(--blue); }
.source-date-card span { font-weight: 800; }
.source-date-card em { color: var(--muted); font-style: normal; font-size: 12px; overflow-wrap: anywhere; }
.source-check {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 7px;
  grid-template-columns: minmax(0, 1fr) auto; align-items: start;
}
.source-check strong { display: block; margin-bottom: 4px; overflow-wrap: anywhere; }
.source-check span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.source-check em { font-style: normal; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 8px; background: #eef2f7; }
.source-check p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.source-check.ok { border-color: #a9dfc4; background: #f8fdfb; }
.source-check.ok em { color: var(--green); background: #eaf8f0; }
.source-check.mismatch { border-color: #f7b2ab; background: #fff7f6; }
.source-check.mismatch em { color: var(--red); background: #fee4e2; }
.source-check.unknown { border-color: #ffd5a3; background: #fffaf3; }
.source-check.unknown em { color: #b85b00; background: #fff1dc; }
.risk-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 6px; }
.risk-card span { font-size: 12px; font-weight: 700; }
.risk-card strong { font-size: 15px; }
.risk-card p { margin: 0; color: var(--muted); line-height: 1.4; }
.risk-card.high { border-color: #f7b2ab; background: #fff7f6; }
.risk-card.high span, .risk-card.high strong { color: var(--red); }
.risk-card.medium { border-color: #ffd5a3; background: #fffaf3; }
.risk-card.medium span, .risk-card.medium strong { color: #b85b00; }
.risk-card.low { border-color: #a9dfc4; background: #f5fbf8; }
.risk-card.low span, .risk-card.low strong { color: var(--green); }
.filter-bar { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)) auto; gap: 10px; align-items: end; }
.table-scroll {
  max-height: min(68vh, 720px);
  overflow: auto;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
}
.table-scroll table { border-collapse: separate; border-spacing: 0; }
.table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 1px 0 #e6ebf2;
}
.dense-table { min-width: 980px; }
.dense-table th, .dense-table td { padding: 8px; }
.row-danger td { background: #fff8f7; }
.row-warning td { background: #fffaf3; }
.source-badge { display: inline-flex; align-items: center; border: 1px solid #bfd4ff; color: var(--blue); border-radius: 999px; padding: 3px 8px; font-weight: 700; font-size: 12px; }
.mono-cell { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; max-width: 260px; overflow-wrap: anywhere; }
.asset-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.asset-scroll {
  max-height: min(50vh, 460px);
  overflow: auto;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 10px;
}
.asset-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 5px; background: #fff; }
.asset-card span, .asset-card em { color: var(--muted); font-size: 12px; font-style: normal; }
.asset-card strong { font-size: 15px; overflow-wrap: anywhere; }
.source-list { display: grid; gap: 10px; }
.source-list div { display: grid; gap: 4px; border-bottom: 1px solid #e6ebf2; padding-bottom: 10px; }
.source-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.source-list span { color: var(--muted); font-size: 13px; }
.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chart-grid.report-charts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chart-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 8px; }
.chart-title { font-weight: 700; }
.bar-row { display: grid; grid-template-columns: 70px 1fr 70px; gap: 8px; align-items: center; font-size: 12px; }
.bar { height: 8px; border-radius: 999px; background: #edf1f7; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.bar-row em { font-style: normal; text-align: right; color: var(--muted); }
.empty { color: var(--muted); padding: 16px; border: 1px dashed var(--line); border-radius: 8px; }
.alert { background: #fee4e2; color: #b42318; padding: 10px; border-radius: 7px; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: #edf3fb; }
.login-card { width: min(390px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 14px; }
.login-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; }
.login-brand .shield { color: var(--navy); }

.topbar-title { display: grid; gap: 4px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.chevron { color: var(--muted); margin-left: 8px; }
.icon-button {
  width: 38px; height: 38px; border: 1px solid #cfd8e6; border-radius: 7px; background: #fff;
  color: var(--navy); display: inline-grid; place-items: center; font-weight: 800;
}
.workspace-grid { display: grid; grid-template-columns: 360px minmax(390px, 1fr) 470px; gap: 14px; align-items: start; }
.case-picker { min-height: 662px; display: grid; grid-template-rows: auto auto 1fr auto; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 12px; }
.search-row .search { margin: 0; }
.case-row {
  grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 84px; color: var(--ink);
}
.case-row.selected { background: #eaf3ff; border-color: #a9c9ff; }
.case-row strong { overflow-wrap: anywhere; }
.case-meta { display: grid; gap: 8px; justify-items: end; }
.tag {
  border-radius: 6px; padding: 5px 10px; background: #eef2f7; color: #40516d;
  font-size: 12px; font-weight: 700; font-style: normal;
}
.tag.draft { background: #eef2f7; }
.tag.files_uploaded { background: #fff2d9; color: #9b5200; }
.tag.approved, .tag.parsed { background: #dff7eb; color: var(--green); }
.link-row {
  border-top: 1px solid #e6ebf2; padding-top: 12px; display: flex; justify-content: space-between;
  color: #004dbd; font-weight: 700; font-size: 14px;
}
.form-panel { padding: 16px 16px 12px; }
.case-form { gap: 10px; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.divider { height: 1px; background: #e6ebf2; margin: 16px -16px 12px; }
.panel-head.compact h2 { margin-bottom: 0; }
.next-step-card { display: grid; gap: 14px; }
.next-step-body { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.next-step-icon {
  width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center;
  border: 2px solid #b8c5d8; color: #7d89a0; font-weight: 900;
}
.next-step-card.done .next-step-icon { border-color: #9bd8b8; color: var(--green); background: #f1fbf6; }
.next-step-card.active .next-step-icon { border-color: #9ebeff; color: var(--blue); background: #f1f6ff; }
.next-step-card.failed .next-step-icon { border-color: #f7b2ab; color: var(--red); background: #fff7f6; }
.next-step-body strong { display: block; margin-bottom: 4px; }
.next-step-body span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.next-step-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.info-dot {
  width: 18px; height: 18px; display: inline-grid; place-items: center; border: 1px solid #9aa9bf;
  border-radius: 999px; color: #55657d; font-size: 12px; font-weight: 800;
}
.dropzone {
  position: relative; display: grid; gap: 10px; border: 1px dashed #a8b7ce; border-radius: 8px;
  background: #f9fbff; color: var(--ink); align-items: center;
}
.dropzone:hover { background: #f4f8ff; border-color: #7ea5e8; }
.file-input {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; z-index: 2;
}
.compact-dropzone { min-height: 124px; justify-items: center; text-align: center; padding: 16px; }
.compact-dropzone select, .compact-dropzone button { position: relative; z-index: 1; }
.drop-icon { color: var(--navy-2); font-size: 34px; line-height: 1; }
.drop-icon.large { font-size: 58px; }
.dropzone span { color: var(--muted); font-size: 13px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.doc-chip {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 11px; border: 1px solid #cfd8e6;
  border-radius: 7px; background: #f8fafc; color: #344054; font-size: 13px; font-weight: 700;
}
.doc-chip.green { color: var(--green); background: #f1fbf6; border-color: #9bd8b8; }
.doc-chip.blue { color: var(--blue); background: #f1f6ff; border-color: #9ebeff; }
.progress-panel { min-height: 662px; }
.progress-total { color: var(--green); font-size: 18px; font-weight: 800; }
.source-progress-list { display: grid; gap: 9px; margin: 10px 0 16px; }
.source-progress {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 98px; gap: 12px;
  min-height: 60px; align-items: center; padding-bottom: 4px;
}
.source-progress i {
  width: 28px; height: 28px; border: 2px solid #b6c2d4; border-radius: 999px; display: grid; place-items: center;
}
.source-progress i::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.source-progress strong { font-size: 14px; }
.source-progress span { color: var(--muted); font-size: 13px; text-align: right; line-height: 1.35; }
.source-progress b {
  grid-column: 2 / 3; height: 5px; align-self: start; margin-top: -10px; border-radius: 999px;
  background: currentColor; display: block;
}
.source-progress::after {
  content: ""; position: absolute; left: 13px; top: 39px; bottom: -12px; width: 2px; background: #d7dee9;
}
.source-progress:last-child::after { display: none; }
.source-progress.done { color: var(--green); }
.source-progress.done i::after { content: "✓"; width: auto; height: auto; background: transparent; font-size: 15px; font-weight: 900; }
.source-progress.active { color: var(--blue); }
.source-progress.manual { color: var(--orange); }
.source-progress.manual i::after { content: "!"; width: auto; height: auto; background: transparent; font-weight: 900; }
.source-progress.queued { color: #98a2b3; }
.source-progress.planned { color: #98a2b3; }
.source-progress.planned strong { color: #7d89a0; }
.source-progress.planned b { background: #e5eaf2; width: 100% !important; }
.journal-panel { padding-top: 12px; }
.journal-table td:first-child { width: 72px; color: #344054; }
.journal-table td:last-child { width: 150px; color: var(--muted); text-align: right; }
.event-dot {
  width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 999px;
  background: #eaf8f0; color: var(--green); font-weight: 900;
}
.event-dot.blue { background: #e9f2ff; color: var(--blue); }
.event-dot.green { background: #eaf8f0; color: var(--green); }
.text-link { color: #004dbd; font-weight: 700; font-size: 13px; }

.upload-hero { margin-top: -4px; }
.hero-dropzone {
  min-height: 142px; grid-template-columns: 140px minmax(0, 1fr) 170px; padding: 24px 44px;
  background: transparent; border-width: 2px;
}
.hero-dropzone strong { display: block; font-size: 20px; margin-bottom: 8px; }
.hero-dropzone select, .hero-dropzone button { position: relative; z-index: 3; pointer-events: none; }
.hero-dropzone.is-uploading { border-style: solid; background: #eef5ff; }
.hero-dropzone.is-uploading .file-input { pointer-events: none; }
.category-panel { max-width: 935px; }
.category-progress { display: grid; grid-template-columns: 230px 1fr auto; gap: 18px; align-items: center; }
.progress-line { height: 8px; background: #e7ecf3; border-radius: 999px; overflow: hidden; }
.progress-line i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.category-progress strong { color: var(--green); font-size: 20px; }
.documents-grid { display: grid; grid-template-columns: minmax(600px, 1fr) 334px; gap: 18px; align-items: start; }
.toolbar { display: flex; align-items: center; gap: 10px; }
.files-table td, .users-table td { vertical-align: middle; }
.selected-row td { background: #eaf3ff; }
.file-name, .employee-cell, .doc-card-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.file-name strong, .employee-cell strong, .doc-card-title strong { overflow-wrap: anywhere; }
.file-icon {
  width: 30px; height: 34px; border: 1px solid var(--red); color: var(--red); border-radius: 4px;
  display: inline-grid; place-items: center; font-size: 9px; font-weight: 900; flex: 0 0 auto; background: #fff;
}
.file-icon.xls { border-color: var(--green); color: var(--green); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.row-actions .icon-button { width: 34px; height: 34px; }
.document-card { display: grid; gap: 16px; }
.doc-card-title { align-items: flex-start; }
.doc-card-title .status { margin-left: auto; white-space: nowrap; }
.doc-details { grid-template-columns: 96px 1fr; margin-bottom: 0; }
.doc-actions { display: grid; gap: 10px; }
.check-list { border-top: 1px solid #e6ebf2; padding-top: 14px; display: grid; gap: 12px; color: #40516d; }
.check-list span { display: flex; gap: 8px; align-items: center; }
.failed-list { color: #b42318; }

.admin-grid { display: grid; grid-template-columns: minmax(460px, 1fr) 360px; gap: 14px; align-items: stretch; }
.notice {
  display: grid; gap: 4px; padding: 12px; border: 1px solid #bfd4ff; border-radius: 8px; background: #f1f6ff;
  color: #344054;
}
.notice span { color: var(--muted); font-size: 13px; }
.admin-help { display: grid; align-content: start; gap: 14px; }
.admin-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.admin-step strong {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: #e9f2ff; color: var(--blue);
}
.admin-step span { color: var(--muted); line-height: 1.4; }
.employee-cell span:last-child { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.small-avatar { font-size: 14px; }
.disabled-row { opacity: .62; }
.transfer-form { justify-content: flex-end; }
.danger-action { color: #b42318; border-color: #f7b2ab; }

@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { min-height: auto; background: var(--navy); }
  .nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sidebar-footer { display: none; }
  .layout-three, .layout-two, .workspace-grid, .documents-grid, .admin-grid { grid-template-columns: 1fr; }
  .kpi-grid, .risk-grid, .asset-grid, .report-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .case-picker, .progress-panel { min-height: auto; }
  .hero-dropzone { grid-template-columns: 90px 1fr; }
}

@media (max-width: 1450px) and (min-width: 1101px) {
  .workspace-grid { grid-template-columns: 360px minmax(390px, 1fr); }
  .progress-panel { grid-column: 1 / -1; min-height: auto; }
  .source-progress-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .source-progress::after { display: none; }
  .case-picker { min-height: 640px; }
}

@media (max-width: 720px) {
  .topbar { height: auto; min-height: 68px; gap: 10px; align-items: flex-start; padding: 14px; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  h1 { font-size: 24px; }
  .nav { grid-template-columns: 1fr 1fr; }
  .brand { height: 68px; }
  .chart-grid { grid-template-columns: 1fr; }
  .report-hero { display: grid; }
  .kpi-grid, .risk-grid, .asset-grid, .report-charts, .filter-bar { grid-template-columns: 1fr; }
  .source-check { grid-template-columns: 1fr; }
  .form-split, .category-progress, .hero-dropzone { grid-template-columns: 1fr; }
  .hero-dropzone { padding: 22px; }
  .source-progress { grid-template-columns: 30px minmax(0, 1fr); }
  .source-progress span { grid-column: 2; text-align: left; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}
