:root {
  color-scheme: light;
  --canvas: #f2f5f8;
  --surface: #ffffff;
  --ink: #192d3f;
  --muted: #526579;
  --navy: #102a43;
  --line: #dce4ec;
  --blue: #2864dc;
  --blue-hover: #1e52c0;
  --blue-soft: #eaf1ff;
  --secondary: #eef3f7;
  --secondary-hover: #e0e9f1;
  --success: #15803d;
  --success-soft: #ecf8ef;
  --warning: #8b5400;
  --warning-soft: #fff6e5;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --radius: 18px;
  --control-radius: 10px;
  --shadow: 0 12px 36px rgba(24, 45, 67, .07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, select, input[type="checkbox"], input[type="radio"], summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
img, svg { max-width: 100%; }
button svg, .nav-icon svg { flex: 0 0 auto; }
svg { vertical-align: middle; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 650; }
h1 { margin: 0 0 10px; font-size: clamp(25px, 2.3vw, 34px); letter-spacing: -.035em; }
h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.025em; }
h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.015em; }
h4 { margin: 0 0 8px; font-size: 15px; }
small { font-size: 12px; }
strong { font-weight: 650; }
code { font-size: .88em; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
[hidden], .hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #2864dc33; outline-offset: 1px; border-color: var(--blue); }
.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; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: var(--control-radius); background: var(--navy); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; color: #fff; }
.muted, .text-muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-small { font-size: 13px; }
.text-right { text-align: right; }
.break-word { overflow-wrap: anywhere; }
.stack { display: grid; gap: 20px; }
.stack-sm { display: grid; gap: 12px; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* The shell leaves the working surface quiet and the meeting context visible. */
.app-shell { display: grid; grid-template-columns: 242px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; align-self: start; height: 100vh; padding: 30px 18px 20px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.sidebar .brand { padding: 0 12px; margin-bottom: 38px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 44px; color: var(--blue); }
.brand-mark svg { width: 38px; height: 38px; }
.brand-name { display: block; font-size: 24px; font-weight: 750; letter-spacing: .1em; line-height: 1.1; }
.brand-caption { display: block; margin-top: 5px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.workspace-label { padding: 0 14px; margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 6px; }
.nav-button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; border: 1px solid transparent; border-radius: var(--control-radius); padding: 11px 13px; background: transparent; color: var(--muted); text-align: left; font-size: 14px; font-weight: 550; transition: color .15s, background .15s; }
.nav-button:hover { color: var(--navy); background: #f6f8fa; }
.nav-button.is-active, .nav-button[aria-current="page"] { color: var(--blue); background: var(--blue-soft); font-weight: 650; }
.nav-icon { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 22px; color: currentColor; }
.nav-icon svg { width: 20px; height: 20px; }
.nav-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: auto; border-radius: 7px; background: var(--secondary); font-size: 11px; font-weight: 650; }
.is-active .nav-count { background: #d6e5ff; color: #204da6; }
.sidebar-footer { margin-top: auto; padding: 28px 10px 0; }
.sidebar-footer p { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.scope-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfd; }
.scope-card strong { display: block; margin: 4px 0; font-size: 13px; color: var(--navy); }
.scope-card small { display: block; color: var(--muted); }
.main-shell { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; padding: 18px 40px; border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumbs { min-width: 0; color: var(--muted); font-size: 13px; }
.breadcrumbs strong { color: var(--navy); }
.breadcrumbs span + span::before { content: "/"; padding: 0 12px; color: #9aaabb; }
.topbar-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }
.role-switch { display: flex; align-items: center; gap: 10px; }
.role-switch label { color: var(--muted); font-size: 12px; }
.role-switch select { max-width: 190px; min-height: 44px; padding: 8px 30px 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--navy); font-size: 13px; }
.avatar { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #e9eff7; color: var(--navy); font-size: 12px; font-weight: 700; }
.session-label { color: var(--muted); font-size: 12px; }
.session-label strong { display: block; color: var(--navy); font-size: 13px; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #d7e2ef; border-radius: 6px; background: #f5f8fc; color: #4e6780; font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.demo-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6c87a5; }
.content { width: 100%; max-width: 1520px; padding: 36px 40px 56px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 0 28px; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 9px; }
.page-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.heading-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 24px; }
.meeting-summary { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 0; padding: 20px 24px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.summary-item { min-width: 0; padding: 0 22px; border-left: 1px solid var(--line); }
.summary-item:first-child { padding-left: 0; border-left: 0; }
.summary-label { display: block; color: var(--muted); font-size: 11px; font-weight: 550; margin-bottom: 5px; }
.summary-item strong { display: block; font-size: 14px; color: var(--navy); }
.summary-item small { color: var(--muted); font-size: 12px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 18px; }
.section-heading h2 { margin-bottom: 5px; }
.section-heading p { margin: 0; font-size: 13px; color: var(--muted); }
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-two > *, .grid-three > * { min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat-label { color: var(--muted); font-size: 13px; font-weight: 550; }
.stat-value { margin: 10px 0 8px; color: var(--navy); font-size: 32px; line-height: 1.1; font-weight: 650; letter-spacing: -.045em; }
.stat-detail { color: var(--muted); font-size: 12px; line-height: 1.5; }
.stat-card .progress-track { margin-top: 16px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.panel + .panel { margin-top: 20px; }
.panel-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel-header h2, .panel-header h3 { margin: 0; }
.panel-header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.panel-body { padding: 24px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; border-top: 1px solid var(--line); background: #fbfcfd; }
.panel-footer p { margin: 0; font-size: 12px; color: var(--muted); }

/* A single action family shared by preparation, findings and approval. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 10px 17px; border: 1px solid transparent; border-radius: var(--control-radius); background: var(--secondary); color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { color: var(--navy); background: var(--secondary-hover); }
.btn:active { box-shadow: inset 0 1px 3px #102a431a; }
.btn-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { color: #fff; background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-secondary { color: var(--navy); background: var(--surface); border-color: var(--line); }
.btn-secondary:hover { background: var(--secondary); border-color: #bdcddf; }
.btn-ghost { color: var(--muted); background: transparent; }
.btn-ghost:hover { color: var(--navy); background: var(--secondary); }
.btn-danger { color: var(--danger); background: var(--surface); border-color: #eac7c3; }
.btn-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.btn-sm { min-height: 44px; padding: 8px 12px; font-size: 12px; }
.btn:disabled, .btn[aria-disabled="true"], button:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }
.badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 5px 8px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); background: var(--secondary); font-size: 11px; font-weight: 600; line-height: 1.3; white-space: normal; }
.badge.success { color: #176a35; background: var(--success-soft); border-color: #d8eddf; }
.badge.warning { color: var(--warning); background: var(--warning-soft); border-color: #f1e0bc; }
.badge.danger { color: var(--danger); background: var(--danger-soft); border-color: #f2d6d1; }
.badge.blue { color: #2455b0; background: var(--blue-soft); border-color: #dce7fb; }
.badge.neutral { color: var(--muted); background: var(--secondary); border-color: #e3eaf1; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #f8fafc; font-size: 13px; line-height: 1.6; }
.notice p { margin: 0; }
.notice strong { color: inherit; }
.notice svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.notice-info { color: #34597c; background: #f0f5fc; border-color: #dce7f5; }
.notice-warning { color: var(--warning); background: var(--warning-soft); border-color: #f0dfba; }
.notice-success { color: #176a35; background: var(--success-soft); border-color: #d8eddf; }
.notice-error { color: var(--danger); background: var(--danger-soft); border-color: #f0d1cb; }
.empty-state { padding: 48px 24px; text-align: center; }
.empty-state h2, .empty-state h3 { margin: 14px 0 8px; }
.empty-state p { max-width: 440px; margin: 0 auto 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 14px; color: var(--blue); background: var(--blue-soft); }
.empty-icon svg { width: 25px; height: 25px; }
.table-wrap { max-width: 100%; width: 100%; overflow: auto; overscroll-behavior-x: contain; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.data-table th { padding: 13px 18px; color: var(--muted); background: #f8fafc; font-size: 11px; font-weight: 600; white-space: nowrap; }
.data-table td { padding: 15px 18px; border-top: 1px solid #e9eef3; vertical-align: middle; overflow-wrap: anywhere; }
.data-table th:first-child, .data-table td:first-child { padding-left: 24px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 24px; }
.data-table tbody tr:hover { background: #fbfcfe; }
.data-table td strong { display: block; color: var(--navy); font-size: 13px; }
.data-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.data-table .btn { white-space: nowrap; }
.data-table caption { padding: 16px 24px; color: var(--muted); text-align: left; font-size: 12px; }
.tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; background: #eaf0f5; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1 0 auto; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; font-size: 13px; font-weight: 550; }
.tab:hover { background: #ffffff80; color: var(--navy); }
.tab.is-active, .tab[aria-selected="true"] { border-color: #d8e2ee; color: var(--navy); background: var(--surface); box-shadow: 0 2px 5px #102a4305; font-weight: 650; }
.tab .tab-number { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; background: #dce6ef; font-size: 11px; }
.tab.is-active .tab-number { color: #fff; background: var(--blue); }
.progress-track { height: 5px; border-radius: 10px; background: #e8eef5; overflow: hidden; }
.progress-track > span { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: var(--blue); }

/* Review fields keep source context separate from the panel's assessment. */
.case-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 20px; }
.case-list { display: grid; align-content: start; gap: 8px; min-width: 0; }
.case-list > h3 { padding: 0 4px; font-size: 13px; color: var(--muted); }
.case-row { display: block; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; transition: background .15s, border-color .15s; }
.case-row:hover { border-color: #afc5df; background: #fbfdff; }
.case-row[aria-current="true"], .case-row.is-active { border-color: var(--blue); background: #f3f7ff; box-shadow: 0 0 0 1px var(--blue); }
.case-reference { display: block; color: var(--navy); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.case-person { display: block; margin: 4px 0 7px; color: var(--muted); font-size: 12px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.case-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.review-panel { min-width: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; margin: 0; }
.detail-item { min-width: 0; }
.detail-item dt { margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.detail-item dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.detail-item dd small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 400; }
.form-section { padding: 24px 0; border-top: 1px solid var(--line); }
.form-section:first-child { padding-top: 0; border-top: 0; }
.form-section:last-child { padding-bottom: 0; }
.form-section > h3 { margin-bottom: 6px; }
.form-section > p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 12px; color: var(--navy); font-size: 14px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field label, .field-label { color: var(--ink); font-size: 13px; font-weight: 550; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, input.form-control, select.form-control, textarea.form-control { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd7e3; border-radius: var(--control-radius); color: var(--ink); background: var(--surface); font-size: 14px; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.field textarea, textarea.form-control { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #748598; }
.field input:disabled, .field select:disabled, .field textarea:disabled, .field input:read-only, .field textarea:read-only { color: var(--muted); background: #f6f8fa; cursor: default; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.6; }
.field-error { color: var(--danger); font-size: 12px; }
input[type="checkbox"], input[type="radio"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; }
.checkbox-label > input { margin-top: 3px; }
.gowisely-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gowisely-item { display: grid; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfd; }
.gowisely-item:has(input:checked) { border-color: #c8dcce; background: #f6fbf7; }
.gowisely-item .checkbox-label { min-height: 42px; gap: 9px; }
.gowisely-letter { display: inline-grid; place-items: center; flex: 0 0 26px; width: 26px; height: 27px; border-radius: 6px; color: var(--navy); background: #eaf0f6; font-size: 13px; font-weight: 650; }
.gowisely-copy { min-width: 0; }
.gowisely-copy strong { display: block; color: var(--navy); font-size: 12px; line-height: 1.4; }
.gowisely-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.gowisely-item select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 8px 9px; border: 1px solid #d3dfe9; border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 11px; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.choice-card { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--control-radius); color: var(--muted); background: var(--surface); font-size: 13px; cursor: pointer; }
.choice-card:hover { border-color: #a9bfd7; }
.choice-card:has(input:checked) { border-color: var(--blue); color: var(--navy); background: var(--blue-soft); }
.choice-card:has(input:disabled) { cursor: default; }
.review-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.review-actions p { margin: 0 auto 0 0; color: var(--muted); font-size: 12px; }
.person-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.person-card + .person-card { margin-top: 18px; }
.person-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.person-details { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 7px; color: var(--muted); font-size: 12px; }
.person-stat { flex: 0 0 auto; min-width: 66px; padding: 8px 12px; border-radius: 10px; text-align: center; background: #f2f6fb; color: var(--navy); }
.person-stat strong { display: block; font-size: 24px; line-height: 1.2; }
.person-stat small { color: var(--muted); font-size: 10px; }
.checklist { display: grid; gap: 8px; margin: 14px 0 20px; }
.checklist-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--control-radius); background: #fafbfd; font-size: 13px; }
.checklist-row .checkbox-label { min-height: 24px; align-items: center; }
.checklist-row .checkbox-label > input { margin-top: 0; }
.checklist-row .btn { padding-top: 7px; padding-bottom: 7px; }
.conditional-section { padding: 18px; margin: 16px 0; border-left: 3px solid #9db9ef; border-radius: 0 10px 10px 0; background: #f6f9ff; }
.conditional-section .field:last-child { margin-bottom: 0; }

/* Feedback stays a focused reading and receipt journey. */
.feedback-card { padding: 24px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feedback-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 20px; color: var(--muted); font-size: 12px; }
.feedback-content { padding: 18px 20px; margin-bottom: 20px; border: 1px solid #e2e9f1; border-radius: 12px; background: #f8fafc; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.feedback-content p:last-child { margin-bottom: 0; }
.comment { padding: 16px 18px; border-left: 3px solid #c5d8f0; border-radius: 0 10px 10px 0; margin-bottom: 12px; background: #f7faff; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.outbox-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.outbox-item:first-child { padding-top: 0; border-top: 0; }
.outbox-item:last-child { padding-bottom: 0; }
.outbox-item p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline-item { position: relative; min-width: 0; padding: 0 0 22px 25px; font-size: 13px; }
.timeline-item::before { content: ""; position: absolute; top: 10px; bottom: 0; left: 5px; width: 1px; background: var(--line); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child::before { display: none; }
.timeline-dot { position: absolute; top: 5px; left: 1px; width: 9px; height: 9px; border-radius: 50%; background: #a2b7ce; }
.timeline-item strong { display: block; color: var(--navy); font-size: 12px; }
.timeline-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

/* Report typography is deliberately closer to a finished document. */
.report-preview { padding: 38px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-wrap: anywhere; }
.report-header { padding-bottom: 26px; margin-bottom: 28px; border-bottom: 2px solid var(--navy); }
.report-header .brand-name { font-size: 22px; }
.report-header h2 { margin: 24px 0 10px; font-size: 26px; letter-spacing: -.025em; }
.report-header p { color: var(--muted); font-size: 13px; }
.report-section { margin: 28px 0; }
.report-section h3 { padding-bottom: 10px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 18px; }
.report-section p { font-size: 14px; line-height: 1.8; white-space: pre-wrap; }
.report-section .data-table th:first-child, .report-section .data-table td:first-child { padding-left: 12px; }
.report-section .data-table th:last-child, .report-section .data-table td:last-child { padding-right: 12px; }
.report-preview dl { margin: 0; }
.report-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 13px; }

/* Sign-in and genuine MFA share the workspace component language. */
.auth-layout { min-height: 100vh; display: grid; place-items: center; padding: 48px 20px; background: var(--canvas); }
.auth-card { width: min(100%, 440px); padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.auth-card h1 { margin-bottom: 10px; font-size: 27px; }
.auth-card > p, .auth-card form > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth-card form { margin-top: 24px; }
.auth-card .btn-primary { width: 100%; }
.auth-card .notice { margin-top: 20px; font-size: 12px; }
.auth-footer { margin-top: 26px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
.mfa-secret { display: block; padding: 15px; margin: 16px 0; border: 1px solid #cdddf3; border-radius: var(--control-radius); background: #f6f9ff; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: .08em; overflow-wrap: anywhere; user-select: all; }
.loading-screen { display: grid; place-items: center; min-height: 60vh; padding: 30px; text-align: center; color: var(--muted); }
.loading-screen p { margin: 14px 0 0; font-size: 13px; }
.skeleton { min-height: 16px; border-radius: 6px; background: #e6edf4; }
.toast { position: fixed; bottom: 24px; left: calc(50% + 121px); z-index: 80; display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(580px, calc(100vw - 290px)); padding: 14px 20px; border: 1px solid #bfd6c6; border-radius: 12px; background: #f5fcf7; color: #176a35; box-shadow: 0 10px 28px #102a431a; font-size: 13px; transform: translateX(-50%); overflow-wrap: anywhere; }
.toast.error { color: var(--danger); background: #fff6f4; border-color: #e8bdb6; }
.toast .btn { flex: 0 0 auto; min-height: 32px; padding: 3px 7px; }

@media (min-width: 1600px) {
  .content { padding-top: 44px; }
}

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 218px minmax(0, 1fr); }
  .sidebar { padding-right: 14px; padding-left: 14px; }
  .sidebar .brand { padding-left: 8px; }
  .brand-name { font-size: 22px; }
  .brand-caption { font-size: 9px; }
  .topbar { padding-right: 28px; padding-left: 28px; }
  .content { padding: 30px 28px 48px; }
  .case-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
  .gowisely-grid { grid-template-columns: minmax(0, 1fr); }
  .gowisely-item { grid-template-columns: minmax(0, 1fr) minmax(125px, .65fr); align-items: center; }
  .gowisely-item .checkbox-label { min-height: 34px; }
  .toast { left: calc(50% + 109px); }
}

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .sidebar { padding: 28px 10px 18px; }
  .sidebar .brand { gap: 8px; padding: 0 5px; }
  .brand-mark { flex-basis: 32px; width: 32px; }
  .brand-mark svg { width: 31px; }
  .brand-name { font-size: 20px; }
  .brand-caption { font-size: 8px; letter-spacing: .07em; }
  .nav-button { gap: 9px; padding: 10px; font-size: 13px; }
  .workspace-label { padding-left: 10px; }
  .sidebar-footer { padding-right: 4px; padding-left: 4px; }
  .topbar { padding: 16px 24px; min-height: 80px; gap: 12px; }
  .topbar-actions { gap: 10px; }
  .role-switch { gap: 6px; }
  .role-switch label { max-width: 64px; font-size: 10px; }
  .role-switch select { max-width: 160px; font-size: 12px; }
  .content { padding: 28px 24px 48px; }
  .page-heading { flex-wrap: wrap; gap: 16px; }
  .heading-actions { padding-top: 0; justify-content: flex-start; }
  .meeting-summary { grid-template-columns: 1fr 1.4fr; gap: 16px 0; padding: 18px; }
  .summary-item { padding-right: 14px; padding-left: 14px; }
  .summary-item:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .stat-grid { gap: 12px; }
  .stat-card { padding: 18px; }
  .stat-value { font-size: 29px; }
  .grid-three { grid-template-columns: minmax(0, 1fr); }
  .grid-two { gap: 16px; }
  .case-layout { grid-template-columns: minmax(0, 1fr); }
  .case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 300px; padding: 2px; overflow-y: auto; }
  .case-list > h3 { grid-column: 1 / -1; margin: 0 0 3px; }
  .case-row { padding: 13px; }
  .detail-grid { gap: 16px; }
  .gowisely-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gowisely-item { display: grid; grid-template-columns: minmax(0, 1fr); }
  .panel-header, .panel-body, .person-card, .feedback-card { padding: 20px; }
  .panel-footer { padding: 16px 20px; }
  .report-preview { padding: 28px; }
  .toast { left: calc(50% + 95px); max-width: calc(100vw - 230px); }
}

@media (max-width: 768px) {
  .app-shell { display: block; }
  .sidebar { position: static; display: block; width: 100%; height: auto; padding: 18px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .sidebar .brand { gap: 10px; width: fit-content; padding: 0; margin: 0 0 18px; }
  .brand-mark { width: 34px; flex-basis: 34px; height: 36px; }
  .brand-mark svg { width: 33px; }
  .brand-name { font-size: 21px; }
  .brand-caption { font-size: 9px; }
  .workspace-label { display: none; }
  .sidebar nav { display: flex; gap: 8px; width: calc(100% + 8px); max-width: calc(100% + 8px); margin-left: -4px; padding: 2px 4px 14px; overflow-x: auto; }
  .nav-button { flex: 0 0 auto; gap: 7px; width: auto; min-height: 44px; padding: 10px 12px; font-size: 12px; white-space: nowrap; }
  .nav-icon { width: 17px; flex-basis: 17px; }
  .nav-icon svg { width: 17px; height: 17px; }
  .nav-count { min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; }
  .sidebar-footer { display: none; }
  .topbar { min-height: 68px; padding: 14px 20px; }
  .breadcrumbs { font-size: 11px; }
  .breadcrumbs span + span::before { padding: 0 6px; }
  .topbar-actions { gap: 8px; }
  .role-switch label { max-width: none; }
  .role-switch select { max-width: 168px; min-height: 44px; }
  .topbar .avatar { display: none; }
  .session-label { font-size: 11px; }
  .session-label strong { font-size: 12px; }
  .demo-label { font-size: 9px; }
  .content { padding: 28px 20px 40px; }
  .page-heading { margin-bottom: 22px; }
  .page-heading p { font-size: 13px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 28px; }
  h2 { font-size: 19px; }
  .meeting-summary { margin-bottom: 22px; }
  .stat-grid { margin-bottom: 22px; }
  .stat-card { padding: 18px 16px; border-radius: 14px; }
  .stat-label { font-size: 12px; }
  .stat-value { font-size: 28px; }
  .stat-detail { font-size: 11px; }
  .grid-two { grid-template-columns: minmax(0, 1fr); }
  .data-table th { padding-right: 14px; padding-left: 14px; }
  .data-table td { padding-right: 14px; padding-left: 14px; }
  .data-table th:first-child, .data-table td:first-child { padding-left: 18px; }
  .data-table th:last-child, .data-table td:last-child { padding-right: 18px; }
  .tabs { margin-bottom: 20px; }
  .tab { padding: 9px 11px; font-size: 12px; }
  .report-preview { padding: 24px; }
  .report-header h2 { font-size: 23px; }
  .toast { left: 50%; bottom: 18px; max-width: calc(100vw - 32px); }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 16px; }
  .sidebar { padding: 16px 16px 0; }
  .sidebar .brand { margin-bottom: 14px; }
  .topbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; }
  .topbar-actions { justify-content: space-between; gap: 8px; }
  .role-switch { flex: 1; justify-content: space-between; }
  .role-switch label { font-size: 10px; }
  .role-switch select { flex: 1; width: 100%; max-width: 180px; }
  .topbar .demo-label { margin-left: auto; }
  .content { padding: 24px 16px 36px; }
  h1 { font-size: 26px; }
  h2 { font-size: 18px; }
  .page-heading { gap: 16px; }
  .heading-actions { width: 100%; }
  .heading-actions .btn { flex: 1 1 auto; }
  .meeting-summary { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 12px; }
  .summary-item, .summary-item:nth-child(3) { grid-column: auto; border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
  .summary-item:first-child { padding: 0; border-top: 0; }
  .summary-label { font-size: 10px; }
  .summary-item strong { font-size: 13px; }
  .summary-item small { font-size: 11px; }
  .stat-grid { gap: 8px; }
  .stat-card { padding: 15px 11px; border-radius: 12px; }
  .stat-label { font-size: 11px; line-height: 1.4; }
  .stat-value { margin: 9px 0 7px; font-size: 26px; }
  .stat-detail { font-size: 10px; }
  .panel { border-radius: 14px; }
  .panel-header, .panel-body, .person-card, .feedback-card { padding: 18px; }
  .panel-footer { align-items: stretch; padding: 16px 18px; }
  .panel-footer .btn { flex: 1; }
  .section-heading { margin-top: 24px; }
  .section-heading p { font-size: 12px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-section { padding: 20px 0; }
  .gowisely-grid { grid-template-columns: minmax(0, 1fr); }
  .gowisely-item { grid-template-columns: minmax(0, 1fr) minmax(100px, .62fr); align-items: center; padding: 12px; gap: 8px; }
  .gowisely-item .checkbox-label { align-items: flex-start; gap: 7px; }
  .gowisely-letter { width: 22px; height: 25px; flex-basis: 22px; font-size: 12px; }
  .gowisely-copy strong { font-size: 11px; }
  .gowisely-copy small { font-size: 10px; }
  .gowisely-item select { min-height: 44px; padding-left: 6px; font-size: 10px; }
  .choice-group { gap: 8px; }
  .choice-card { flex: 1 0 auto; padding: 10px 12px; font-size: 12px; }
  .case-list { gap: 8px; max-height: 280px; }
  .case-row { padding: 12px; }
  .case-reference { font-size: 11px; }
  .case-person { font-size: 11px; }
  .case-status { flex-direction: column; align-items: flex-start; margin-top: 8px; gap: 5px; }
  .case-meta { font-size: 10px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .detail-item dt { font-size: 10px; }
  .detail-item dd { font-size: 12px; }
  .review-actions { gap: 8px; }
  .review-actions p { flex-basis: 100%; margin-bottom: 4px; }
  .review-actions .btn { flex: 1 1 auto; }
  .person-header { gap: 12px; }
  .person-header h3 { font-size: 16px; }
  .person-details { gap: 5px 10px; font-size: 11px; }
  .person-stat { min-width: 58px; padding: 8px; }
  .person-stat strong { font-size: 22px; }
  .conditional-section { padding: 14px; }
  .feedback-content { padding: 15px; font-size: 13px; }
  .feedback-meta { gap: 6px 12px; font-size: 11px; }
  .notice { padding: 13px 14px; gap: 10px; font-size: 12px; }
  .empty-state { padding: 36px 18px; }
  .empty-state p { font-size: 13px; }
  .report-preview { padding: 20px 18px; border-radius: 14px; }
  .report-header h2 { font-size: 21px; }
  .report-section p { font-size: 13px; }
  .auth-layout { align-items: start; padding: 28px 16px; }
  .auth-card { padding: 28px 22px; border-radius: 16px; }
  .auth-card h1 { font-size: 25px; }
  .toast { padding: 12px 15px; font-size: 12px; }
}

@media (max-width: 359px) {
  .content { padding-right: 12px; padding-left: 12px; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 15px; }
  .stat-value { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .stat-detail { grid-column: 1; }
  .stat-card .progress-track { grid-column: 1 / -1; }
  .gowisely-item { grid-template-columns: minmax(0, 1fr); }
  .case-list { grid-template-columns: minmax(0, 1fr); max-height: 240px; }
  .case-status { flex-direction: row; align-items: center; }
  .panel-header, .panel-body, .person-card, .feedback-card { padding: 16px; }
}

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

@media (forced-colors: active) {
  .btn, .nav-button, .tab, .badge, .choice-card, .case-row, .panel, .stat-card, .gowisely-item, .auth-card { border: 1px solid ButtonText; }
  .nav-button.is-active, .tab.is-active, .case-row[aria-current="true"], .choice-card:has(input:checked) { outline: 2px solid Highlight; outline-offset: -3px; }
  :focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid Highlight; }
  .progress-track { border: 1px solid CanvasText; }
  .progress-track > span { background: Highlight; forced-color-adjust: none; }
  .btn:disabled, button:disabled { color: GrayText; opacity: 1; border-color: GrayText; }
}

@media print {
  @page { size: A4; margin: 18mm 16mm; }
  :root { font-size: 11pt; }
  body, .main-shell, .content { background: #fff; color: #000; }
  .app-shell { display: block; }
  .sidebar, .topbar, .skip-link, .heading-actions, .tabs, .toast, .review-actions, .btn, .no-print, #networkBanner { display: none !important; }
  .content { max-width: none; padding: 0; margin: 0; }
  .page-heading { margin-bottom: 20px; }
  .page-heading .eyebrow { color: #000; }
  .panel, .stat-card, .person-card, .feedback-card, .report-preview { border: 0; border-radius: 0; box-shadow: none; }
  .report-preview { padding: 0; }
  .report-header { margin-top: 0; }
  .report-section { margin-top: 24px; }
  h1, h2, h3, h4 { color: #000; break-after: avoid; page-break-after: avoid; }
  p, dd { orphans: 3; widows: 3; }
  .report-section p, .feedback-content, .comment { max-height: none; overflow: visible; }
  .data-table { font-size: 9pt; }
  .data-table th, .data-table td { padding: 8px 9px; }
  .data-table thead { display: table-header-group; }
  .data-table tr, .detail-item { break-inside: avoid; page-break-inside: avoid; }
  .table-wrap { overflow: visible; }
  .badge { color: #000 !important; border-color: #aaa !important; background: #fff !important; }
  a { color: #000; text-decoration: none; }
  .notice { border: 1px solid #aaa; background: #fff; color: #000; }
  .panel-body { padding: 0; }
}

/* Workflow-specific layouts keep the shared components aligned as content grows. */
.brand-dot { display: inline; color: var(--blue); }
.scope-card { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 30px; padding: 12px; }
.scope-card strong { margin: 0 0 4px; }
.scope-card div > span { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); }
.scope-icon { color: var(--blue); font-size: 24px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.sidebar-note strong { font-size: 11px; }
.sidebar-note p { margin-top: 7px; }
.sidebar-credit { display: block; margin-top: 28px; font-size: 10px; color: #6d8093; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.breadcrumbs span + span::before { content: none; }
.breadcrumbs > span:nth-child(2) { color: #9aaabb; }
.session-label { display: flex; gap: 10px; align-items: center; }
.session-label small { display: block; font-size: 11px; }
.main-footer { display: flex; justify-content: space-between; gap: 16px; padding: 0 40px 24px; color: #6e8193; font-size: 11px; }
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { display: flex; flex-direction: column; }
.stat-value { display: block; }
.stat-value > span { color: #74869a; font-size: 16px; font-weight: 450; letter-spacing: -.02em; }
.feedback-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-two > .panel + .panel { margin-top: 0; }
.month-selection { display: grid; }
.month-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.month-row:first-child { padding-top: 0; }
.month-row:last-child { margin-bottom: 14px; }
.month-row strong, .month-row small { display: block; }
.month-row small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.month-count { color: var(--navy); font-size: 25px; font-weight: 650; text-align: right; }
.month-count small { display: inline; font-size: 11px; font-weight: 400; }
.checklist-row { justify-content: flex-start; flex-wrap: nowrap; }
.checklist-row strong, .checklist-row small { display: block; }
.checklist-row small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.check-icon { display: grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #6c8198; background: #eaf0f6; }
.check-icon.complete { color: var(--success); background: #e3f3e7; }
.notice:has(ul) { display: block; }
.notice ul { margin: 8px 0 0; padding-left: 18px; }
.meeting-progress { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 4px 0 24px; }
.meeting-progress > div:first-child { display: grid; gap: 4px; }
.meeting-progress strong { font-size: 13px; }
.meeting-progress > div:first-child > span { color: var(--muted); font-size: 12px; }
.meeting-progress .progress-track { width: 200px; max-width: 35%; }
.tab > span:first-child { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; background: #dce6ef; color: #526579; border-radius: 6px; font-size: 10px; }
.tab.is-active > span:first-child { color: white; background: var(--blue); }
.case-row { display: flex; align-items: flex-start; gap: 10px; }
.case-index { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; margin-top: 1px; border-radius: 6px; background: var(--secondary); color: #65809c; font-size: 10px; }
.case-row[aria-current="true"] .case-index { color: white; background: var(--blue); }
.case-row-body { flex: 1; min-width: 0; }
.case-arrow { font-size: 20px; color: #7591af; }
.evidence-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.evidence-strip strong, .evidence-strip span { display: block; }
.evidence-strip strong { font-size: 13px; }
.evidence-strip div > span { font-size: 11px; color: var(--muted); margin-top: 3px; }
.section-number { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid #d7e4f8; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-size: 11px; margin-right: 7px; }
.people-layout { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr); align-items: start; }
.person-card.panel, .feedback-card.panel { padding: 0; }
.person-list { display: grid; padding: 10px; gap: 6px; }
.person-row { display: flex; align-items: center; gap: 12px; min-width: 0; width: 100%; min-height: 100px; padding: 14px 10px; border: 1px solid transparent; border-radius: 11px; background: white; text-align: left; }
.person-row:hover { background: #f8fafc; }
.person-row.is-active { background: #f3f7ff; border-color: #bed1f1; }
.person-row > span:nth-child(2) { flex: 1; min-width: 0; }
.person-row strong, .person-row small { display: block; }
.person-row strong { font-size: 13px; }
.person-row small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.person-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; color: #637991; background: #eaf0f6; font-size: 11px; font-weight: 650; }
.person-row .person-stat strong { font-size: 23px; }
.person-row .person-stat small { font-size: 10px; }
.include-person { margin-bottom: 20px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f9fbfd; font-size: 13px; }
.read-value { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #f7f9fb; }
.linked-searches { margin: 24px 0 0; }
.linked-search-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.linked-search-row .checkbox-label { flex: 1 1 170px; align-items: center; }
.linked-search-row .checkbox-label strong, .linked-search-row .checkbox-label small { display: block; }
.linked-search-row .checkbox-label strong { font-size: 12px; }
.linked-search-row .checkbox-label small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.linked-review { margin-top: 30px; }
.requested-list { margin: 22px 0; }
.requested-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.requested-row > div:first-child { flex: 1 1 220px; }
.requested-row p { margin: 4px 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.requested-row small { color: var(--muted); font-size: 11px; }
.recipient-list { margin: 24px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.recipient-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.recipient-row:first-child { border-top: 0; }
.recipient-row > span > strong, .recipient-row > span > small { display: block; }
.recipient-row strong { font-size: 13px; }
.recipient-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.feedback-content { white-space: normal; }
.feedback-content p, .comment p { white-space: pre-wrap; }
.feedback-content > div + div { margin-top: 22px; }
.feedback-content h3 { font-size: 13px; margin-bottom: 8px; }
.feedback-content p { margin: 8px 0 0; }
.supervisor-comments, .supervisorForm { padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.comment > div { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.comment p { margin: 10px 0 0; }
.outbox-item { display: block; }
.outbox-item > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; }
.outbox-item small { color: var(--muted); font-size: 11px; }
.outbox-link { display: block; color: var(--blue); font-size: 12px; margin: 10px 0; overflow-wrap: anywhere; }
.statistics-table input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px; border: 1px solid #cbd7e3; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; }
.statistics-table input:disabled { color: var(--muted); background: #f6f8fa; }
.statistics-table th { white-space: normal; }
.statistics-table th:first-child { width: 43%; }
.statistics-table td:last-child { width: 52px; }
.input-suffix { display: flex; align-items: center; gap: 8px; }
.input-suffix > span { color: var(--muted); }
.report-readiness, .report-status { margin-bottom: 24px; }
.readiness-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.report-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.report-wordmark { display: block; font-size: 28px; font-weight: 750; letter-spacing: .09em; color: var(--navy); margin-bottom: 18px; }
.report-wordmark > span { color: var(--blue); }
.report-version { display: grid; gap: 5px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.report-version strong { font-size: 13px; }
.report-version > span { font-size: 11px; color: var(--muted); }
.report-section h3 > span { display: inline-block; margin-right: 10px; font-size: 12px; color: var(--blue); }
.report-person + .report-person { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.report-person > h4 { margin-top: 20px; }
.report-narrative { white-space: pre-wrap; overflow-wrap: anywhere; }
.report-footer { padding-top: 22px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.auth-brand { display: block; }
.auth-caption { color: var(--muted); font-size: 12px; text-align: center; margin: 24px 0 0; }
.auth-card p.field-error { color: var(--danger); }
.auth-layout { align-content: center; gap: 0; }
dialog { width: min(600px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); box-shadow: 0 24px 80px #102a4330; }
dialog::backdrop { background: #102a4359; }
.dialog-body { padding: 30px; }
.dialog-body .detail-grid { margin: 24px 0; grid-template-columns: 1fr 1fr; }
.dialog-body .notice { display: block; }
.is-busy { cursor: progress; }
@media (max-width: 1200px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people-layout { grid-template-columns: minmax(0, 1fr); }
  .person-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .person-row { min-height: 105px; }
}
@media (max-width: 1050px) {
  .session-label > span:last-child { display: none; }
  .main-footer { padding: 0 24px 24px; }
}
@media (max-width: 768px) {
  .scope-card { display: none; }
  .brand-mark { height: 36px; }
  .main-footer { padding: 0 20px 24px; }
  .meeting-progress { align-items: flex-start; }
  .case-list { max-height: 280px; }
  .person-list { grid-template-columns: minmax(0, 1fr); }
  .person-row { min-height: 94px; }
  .feedback-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-value > span { font-size: 13px; }
}
@media (max-width: 480px) {
  .session-label { display: none; }
  .topbar-actions { justify-content: space-between; }
  .topbar .demo-label { margin-left: 0; }
  .role-switch { flex: 0 1 auto; }
  .role-switch select { max-width: 160px; }
  .main-footer { padding: 0 16px 20px; flex-direction: column; gap: 5px; }
  .stat-grid, .feedback-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feedback-stats > :last-child { grid-column: 1 / -1; }
  .meeting-progress { flex-direction: column; gap: 12px; }
  .meeting-progress .progress-track { max-width: none; width: 100%; }
  .evidence-strip { flex-direction: column; align-items: stretch; padding: 14px; }
  .case-row { gap: 7px; }
  .case-index { flex-basis: 20px; width: 20px; height: 22px; font-size: 9px; }
  .case-arrow { display: none; }
  .linked-search-row { gap: 10px; }
  .linked-search-row .checkbox-label { flex-basis: 100%; }
  .statistics-table td { padding-right: 8px; padding-left: 8px; }
  .statistics-table th:first-child, .statistics-table td:first-child { padding-left: 8px; }
  .statistics-table th:last-child, .statistics-table td:last-child { padding-right: 8px; }
  .statistics-table input { padding: 8px; font-size: 12px; }
  .dialog-body { padding: 22px; }
}
@media (max-width: 359px) {
  .stat-card { display: flex; align-items: flex-start; }
  .stat-value { margin: 9px 0 7px; }
  .stat-label, .stat-detail { overflow-wrap: anywhere; }
  .topbar .demo-label { font-size: 8px; padding: 5px 7px; }
  .role-switch select { max-width: 144px; }
  .person-row { gap: 9px; }
  .person-avatar { display: none; }
}
@media print {
  .main-footer, .meeting-summary, .report-readiness, .report-status, #networkNotice, .page-heading, #statisticsForm, #recommendationsForm, .auth-caption { display: none !important; }
  body[data-view="report"] #view > :not(.report-preview) { display: none !important; }
  .report-preview { overflow: visible; }
}
