:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #17202a;
  --muted: #697586;
  --muted-2: #8b96a5;
  --border: #e1e5ea;
  --border-strong: #cfd6de;
  --accent: #2456d8;
  --accent-dark: #193f9f;
  --accent-soft: #edf2ff;
  --sidebar: #111a27;
  --sidebar-muted: #91a0b3;
  --success: #16744a;
  --success-bg: #eaf7f0;
  --warning: #9a6400;
  --warning-bg: #fff4dc;
  --danger: #ad3434;
  --danger-bg: #fdeeee;
  --shadow: 0 12px 36px rgba(21, 32, 45, 0.06);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(36, 86, 216, .18); outline-offset: 2px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 14px; background: var(--sidebar); color: white; border-right: 1px solid #1c2938; }
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 22px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; font-weight: 900; background: linear-gradient(135deg, #5f83ed, #2456d8); box-shadow: 0 7px 20px rgba(36, 86, 216, .35); }
.brand div, .workspace-name div { display: grid; gap: 1px; }
.brand strong { font-size: 16px; letter-spacing: -.01em; }
.brand small { color: var(--sidebar-muted); font-size: 11px; }
.side-nav { display: grid; gap: 4px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 9px; padding: 10px 11px; color: #cbd5e1; background: transparent; text-align: left; cursor: pointer; font-weight: 650; font-size: 13px; }
.nav-item > span { width: 18px; color: #8496ab; font-size: 16px; text-align: center; }
.nav-item small { margin-left: auto; display: grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: #223043; color: #c9d4e0; font-size: 10px; }
.nav-item em { margin-left: auto; color: #718197; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-style: normal; }
.nav-item:hover:not(:disabled) { background: #182536; color: white; }
.nav-item.active { background: #1d2d43; color: white; box-shadow: inset 3px 0 0 #668df7; }
.nav-item.active > span { color: #85a5ff; }
.nav-item.disabled { opacity: .65; cursor: default; }
.sidebar-spacer { flex: 1; }
.pilot-card { display: flex; align-items: flex-start; gap: 9px; margin: 10px 7px 8px; padding: 11px; border: 1px solid #29384b; border-radius: 10px; background: #162231; }
.pilot-card div { display: grid; gap: 2px; min-width: 0; }
.pilot-card strong { font-size: 11px; }
.pilot-card small { color: var(--sidebar-muted); font-size: 10px; line-height: 1.35; white-space: normal; }
.pilot-dot { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #f6b94b; box-shadow: 0 0 0 4px rgba(246,185,75,.1); }

.workspace-shell { min-width: 0; }
.workspace-topbar { height: 64px; position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 28px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.workspace-name { display: flex; align-items: center; gap: 9px; }
.workspace-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #eef1f5; color: #4d5b6c; font-size: 10px; font-weight: 800; }
.workspace-name strong { font-size: 12px; }
.workspace-name small { color: var(--muted); font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.health-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 700; }
.health-pill i { width: 7px; height: 7px; border-radius: 50%; background: #99a5b4; }
.health-pill.ok i { background: #24a269; box-shadow: 0 0 0 4px rgba(36,162,105,.1); }
.health-pill.error i { background: #c64646; }

.workspace-main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 32px 34px 72px; }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.page-heading-row h1, .review-header h1 { margin: 3px 0 5px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.08; }
.eyebrow { margin: 0; color: #6e7b8e; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.page-subtitle { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.primary-button, .secondary-button, .text-button, .back-link { border: 0; border-radius: 9px; text-decoration: none; cursor: pointer; font-weight: 750; font-size: 12px; transition: .15s ease; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; background: var(--accent); color: #fff; box-shadow: 0 5px 12px rgba(36,86,216,.13); }
.primary-button:hover { background: var(--accent-dark); }
.primary-button.compact { padding: 8px 12px; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--border-strong); background: #fff; color: #334155; }
.secondary-button:hover { background: #f7f9fb; border-color: #bdc6d0; }
.text-button, .back-link { background: transparent; color: var(--accent); padding: 6px 0; }
.back-link { display: inline-block; margin-bottom: 18px; color: #526070; }
button:disabled { opacity: .5; cursor: wait; }

.notice { margin-bottom: 18px; padding: 11px 13px; border: 1px solid #efd18e; border-radius: 10px; background: #fff8e7; color: #73530a; font-size: 12px; line-height: 1.45; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.metric-strip article { min-height: 116px; display: flex; flex-direction: column; padding: 17px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); box-shadow: 0 4px 20px rgba(21,32,45,.025); }
.metric-strip span { color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-strip strong { margin-top: auto; font-size: 27px; line-height: 1; letter-spacing: -.04em; }
.metric-strip strong.metric-text { font-size: 17px; letter-spacing: -.02em; }
.metric-strip small { margin-top: 7px; color: var(--muted-2); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .78fr); gap: 16px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 19px 14px; }
.panel-heading h2 { margin: 0 0 3px; font-size: 15px; letter-spacing: -.01em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.quick-panel { padding-bottom: 10px; }
.quick-action { width: calc(100% - 22px); margin: 0 11px 7px; display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.quick-action:hover { background: #f7f9fc; border-color: var(--border); }
.quick-action > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 900; }
.quick-action div { display: grid; gap: 2px; }
.quick-action strong { font-size: 12px; }
.quick-action small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.security-boundary { margin-top: 16px; padding: 13px 15px; border-radius: 10px; border: 1px solid #e5e0d4; background: #fbfaf7; }
.security-boundary strong { display: block; margin-bottom: 3px; font-size: 11px; }
.security-boundary p { margin: 0; color: #6f6757; font-size: 11px; line-height: 1.45; }

.portfolio-panel { overflow: hidden; }
.portfolio-head, .portfolio-row { display: grid; grid-template-columns: minmax(230px, 1.7fr) .72fr .9fr .72fr minmax(130px, .8fr) 86px; gap: 14px; align-items: center; }
.portfolio-head { padding: 10px 18px; border-bottom: 1px solid var(--border); background: #fafbfc; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.portfolio-row { padding: 13px 18px; border-bottom: 1px solid var(--border); }
.portfolio-row:last-child { border-bottom: 0; }
.portfolio-row:hover { background: #fbfcfe; }
.compact-list .portfolio-row { grid-template-columns: minmax(230px, 1.55fr) .85fr .78fr 80px; }
.compact-list .portfolio-head { display: none; }
.bid-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bid-logo { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: #edf1f6; color: #536174; font-size: 9px; font-weight: 850; }
.bid-cell > span { min-width: 0; display: grid; gap: 2px; }
.bid-cell strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.bid-cell small, .portfolio-row > span, .progress-cell small { color: var(--muted); font-size: 10px; }
.kind-label { text-transform: capitalize; }
.status-chip { display: inline-flex; width: fit-content; padding: 5px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; text-transform: capitalize; }
.status-chip.review, .status-chip.drafted, .status-chip.approved { background: var(--success-bg); color: var(--success); }
.status-chip.processing, .status-chip.review_required { background: var(--warning-bg); color: var(--warning); }
.status-chip.unsupported, .status-chip.rejected { background: var(--danger-bg); color: var(--danger); }
.status-chip.draft, .status-chip.created { background: #eef1f5; color: #536174; }
.progress-cell { display: grid; gap: 4px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: #e9edf2; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.row-actions { display: flex; justify-content: flex-end; gap: 5px; }
.row-actions button { border: 1px solid var(--border); border-radius: 7px; padding: 6px 8px; background: #fff; color: #445268; cursor: pointer; font-size: 9px; font-weight: 800; }
.row-actions button.primary { border-color: var(--accent); background: var(--accent); color: white; }
.empty-row, .empty-state { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty-row strong, .empty-state strong { display: block; color: var(--text); font-size: 13px; }
.empty-row p, .empty-state p { margin: 4px 0 0; font-size: 11px; }

.knowledge-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.5fr); gap: 16px; }
.upload-panel { align-self: start; padding-bottom: 18px; }
form { display: grid; gap: 12px; }
.upload-panel form, .project-form { padding: 0 19px; }
label { display: grid; gap: 6px; color: #536174; font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 9px; padding: 10px 11px; background: #fff; color: var(--text); }
textarea { min-height: 230px; resize: vertical; line-height: 1.55; }
.dropzone { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1.5px dashed #b7c1cd; border-radius: 11px; padding: 20px; background: #fafbfc; text-align: center; cursor: pointer; }
.dropzone:hover { border-color: #8ea3c8; background: #f8faff; }
.dropzone.large { min-height: 230px; }
.dropzone input { display: none; }
.dropzone strong { color: #2d3949; font-size: 12px; }
.dropzone > span:last-child { max-width: 410px; color: var(--muted); font-size: 10px; line-height: 1.45; font-weight: 500; }
.upload-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 21px; }
.document-list { border-top: 1px solid var(--border); }
.document-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.document-item:last-child { border-bottom: 0; }
.document-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #eef2f7; color: #65758a; font-size: 10px; font-weight: 850; }
.document-item div { display: grid; gap: 2px; min-width: 0; }
.document-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.document-item small { color: var(--muted); font-size: 9px; }
.chunk-pill { padding: 5px 7px; border-radius: 999px; background: #f2f4f7; color: #667386; font-size: 9px; font-weight: 800; }

.intake-heading { align-items: center; }
.stepper { display: flex; gap: 20px; color: var(--muted); font-size: 10px; font-weight: 700; }
.stepper span { display: flex; align-items: center; gap: 6px; }
.stepper i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e9edf2; color: #657286; font-style: normal; }
.stepper span.active { color: var(--accent); }
.stepper span.active i { background: var(--accent); color: white; }
.intake-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr); gap: 16px; }
.intake-panel { padding: 20px 0; }
.project-form { gap: 14px; }
.form-row { display: grid; grid-template-columns: 1.4fr .6fr; gap: 12px; }
.selected-file { padding: 10px 12px; border-radius: 9px; border: 1px solid var(--border); background: #fafbfc; color: #465568; font-size: 10px; }
.intake-aside { display: grid; gap: 12px; align-content: start; }
.checklist-card { padding: 17px; }
.checklist-card h3 { margin: 0 0 12px; font-size: 13px; }
.checklist-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist-card li { display: flex; gap: 8px; color: #536174; font-size: 10px; line-height: 1.45; }
.checklist-card li span { color: var(--success); font-weight: 900; }
.security-note { padding: 14px 15px; border: 1px solid #dbe3ef; border-radius: 11px; background: #f7f9fd; }
.security-note strong { font-size: 11px; }
.security-note p { margin: 4px 0 0; color: #607085; font-size: 10px; line-height: 1.45; }

.review-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.review-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.review-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.summary-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--muted); font-size: 9px; text-transform: capitalize; }
.summary-pill strong { color: var(--text); font-size: 11px; }
.response-workspace { min-height: 650px; display: grid; grid-template-columns: 270px minmax(390px, 1fr) 300px; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
.question-panel, .evidence-panel { min-width: 0; background: #fafbfc; }
.question-panel { border-right: 1px solid var(--border); }
.evidence-panel { border-left: 1px solid var(--border); }
.question-panel-head, .evidence-panel-head { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid var(--border); background: #fff; }
.question-panel-head strong, .evidence-panel-head strong { font-size: 11px; }
.question-panel-head span { min-width: 23px; height: 21px; display: grid; place-items: center; border-radius: 999px; background: #eef1f5; color: #687587; font-size: 9px; font-weight: 800; }
.evidence-panel-head div { display: grid; gap: 1px; }
.evidence-panel-head small { color: var(--muted); font-size: 9px; }
.question-search { display: flex; align-items: center; gap: 6px; margin: 10px; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; background: white; color: #8591a1; }
.question-search input { border: 0; padding: 8px 0; outline: 0; background: transparent; font-size: 10px; }
.question-list { max-height: 640px; overflow: auto; }
.question-row { width: 100%; display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 7px; padding: 10px 11px; border: 0; border-top: 1px solid #edf0f3; background: transparent; text-align: left; cursor: pointer; }
.question-row:hover { background: #f4f6f9; }
.question-row.active { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.question-state { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #eef1f5; color: #6c7888; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.question-state.approved { background: var(--success-bg); color: var(--success); }
.question-state.unsupported, .question-state.rejected { background: var(--danger-bg); color: var(--danger); }
.question-state.review_required, .question-state.processing { background: var(--warning-bg); color: var(--warning); }
.question-copy { min-width: 0; display: grid; gap: 2px; }
.question-copy small { color: #8a96a6; font-size: 8px; }
.question-copy strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 10px; line-height: 1.38; }
.response-editor { min-width: 0; background: #fff; }
.editor-head { padding: 21px 23px 16px; border-bottom: 1px solid var(--border); }
.editor-kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.editor-kicker span { padding: 4px 6px; border-radius: 5px; background: #f1f4f7; color: #607085; font-size: 8px; font-weight: 800; }
.editor-kicker span.status { text-transform: capitalize; }
.editor-head h2 { margin: 0; font-size: 17px; line-height: 1.42; letter-spacing: -.015em; }
.editor-head p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.editor-body { padding: 17px 23px 20px; }
.ai-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 11px; padding: 9px 10px; border: 1px solid #dce5fb; border-radius: 9px; background: #f7f9ff; }
.ai-bar strong { margin-right: auto; color: #3557a5; font-size: 9px; }
.ai-bar span { color: #73829a; font-size: 9px; }
.response-textarea { min-height: 300px; font-size: 12px; }
.editor-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; color: var(--muted); font-size: 9px; }
.editor-actions { display: flex; gap: 7px; margin-top: 12px; }
.editor-actions .spacer { flex: 1; }
.approve-button, .review-button, .reject-button { border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 9px; font-weight: 850; }
.approve-button { border: 1px solid #aad7c0; background: var(--success-bg); color: var(--success); }
.review-button { border: 1px solid #e2c780; background: var(--warning-bg); color: var(--warning); }
.reject-button { border: 1px solid #efbcbc; background: #fff; color: var(--danger); }
.approve-button:disabled { cursor: not-allowed; opacity: .42; }
.evidence-list { max-height: 640px; overflow: auto; padding: 10px; }
.evidence-card { margin-bottom: 8px; padding: 11px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.evidence-card header { display: grid; gap: 2px; margin-bottom: 7px; }
.evidence-card strong { font-size: 9px; }
.evidence-card small { color: var(--muted); font-size: 8px; }
.evidence-card blockquote { margin: 0; color: #4f5e70; font-size: 9px; line-height: 1.5; }
.evidence-score { display: inline-block; margin-top: 7px; padding: 3px 5px; border-radius: 5px; background: #edf3ff; color: #4766aa; font-size: 8px; font-weight: 800; }
.no-evidence { padding: 25px 12px; text-align: center; color: var(--muted); font-size: 10px; line-height: 1.5; }
.no-evidence strong { display: block; margin-bottom: 3px; color: var(--danger); font-size: 10px; }

.toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: min(390px, calc(100vw - 40px)); padding: 12px 14px; border-radius: 10px; background: #152030; color: #fff; box-shadow: 0 14px 36px rgba(8,16,28,.24); font-size: 11px; line-height: 1.45; }
.hidden { display: none !important; }

@media (max-width: 1180px) {
  .response-workspace { grid-template-columns: 235px minmax(360px, 1fr); }
  .evidence-panel { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); }
  .evidence-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
  .portfolio-head, .portfolio-row { grid-template-columns: minmax(220px, 1.6fr) .7fr .9fr .7fr 78px; }
  .portfolio-head span:nth-child(5), .portfolio-row > span:nth-child(5) { display: none; }
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 72px minmax(0, 1fr); }
  .sidebar { padding: 17px 9px; }
  .brand { justify-content: center; padding: 3px 0 20px; }
  .brand div, .nav-item:not(.active) em, .nav-item small, .pilot-card div, .nav-item { font-size: 0; }
  .brand-mark { width: 36px; height: 36px; font-size: 14px; }
  .nav-item { justify-content: center; padding: 11px 8px; }
  .nav-item > span { width: auto; font-size: 17px; }
  .nav-item.active { box-shadow: none; }
  .pilot-card { justify-content: center; padding: 11px 7px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-grid, .knowledge-grid, .intake-grid { grid-template-columns: 1fr; }
  .portfolio-head, .portfolio-row { grid-template-columns: minmax(220px, 1.6fr) .9fr .72fr 76px; }
  .portfolio-head span:nth-child(2), .portfolio-row > span:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 60; top: auto; bottom: 0; width: 100%; height: 62px; flex-direction: row; align-items: center; padding: 6px 8px; border-top: 1px solid #233044; border-right: 0; }
  .brand, .sidebar-spacer, .pilot-card, .sidebar > .nav-item { display: none; }
  .side-nav { width: 100%; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .nav-item { display: flex; flex-direction: column; gap: 2px; font-size: 8px !important; padding: 6px 3px; }
  .nav-item > span { font-size: 15px; }
  .nav-item.disabled { display: none; }
  .workspace-topbar { height: 58px; padding: 0 14px; }
  .workspace-name { display: none; }
  .topbar-actions { width: 100%; justify-content: space-between; }
  .workspace-main { padding: 22px 14px 92px; }
  .page-heading-row, .review-header { align-items: flex-start; flex-direction: column; }
  .page-heading-row h1, .review-header h1 { font-size: 27px; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip article { min-height: 105px; padding: 14px; }
  .metric-strip strong { font-size: 24px; }
  .portfolio-head { display: none; }
  .portfolio-row, .compact-list .portfolio-row { grid-template-columns: 1fr auto; gap: 10px; }
  .portfolio-row > span:nth-child(2), .portfolio-row > span:nth-child(3), .portfolio-row > span:nth-child(4), .portfolio-row > span:nth-child(5) { display: none; }
  .response-workspace { display: block; }
  .question-panel { border-right: 0; border-bottom: 1px solid var(--border); }
  .question-list { max-height: 260px; }
  .evidence-panel { border-top: 1px solid var(--border); }
  .evidence-list { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .stepper { display: none; }
  .review-actions { justify-content: flex-start; }
  .editor-head, .editor-body { padding-left: 15px; padding-right: 15px; }
}
