:root {
  --bg: #f8f2ea;
  --bg-2: #efe3d4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --ink: #2f2721;
  --muted: #6f6157;
  --soft: #ad9784;
  --line: rgba(95, 71, 54, 0.18);
  --brand: #6f4f37;
  --brand-2: #9b6b43;
  --brand-3: #d7b98f;
  --success: #2f6f4e;
  --warning: #9a6417;
  --danger: #a63f3f;
  --blue: #476c7a;
  --shadow: 0 22px 60px rgba(47, 39, 33, 0.12);
  --shadow-sm: 0 10px 28px rgba(47, 39, 33, 0.10);
  --radius: 22px;
  --radius-sm: 14px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at top left, rgba(215, 185, 143, 0.42), transparent 36rem),
    radial-gradient(circle at bottom right, rgba(111, 79, 55, 0.16), transparent 34rem),
    linear-gradient(135deg, #fbf6ef 0%, var(--bg) 42%, #efe1cf 100%);
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 249, 240, 0.80);
  backdrop-filter: blur(18px);
  overflow: auto;
}
.logo-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fffaf4, #f4e5d0);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 12px;
}
.brand-name { font-family: var(--serif); font-size: 1.42rem; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.brand-kicker { color: var(--muted); font-size: 0.82rem; margin: 8px 0 0; line-height: 1.4; }

.role-panel { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.68); }
.role-panel label { display: block; color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.role-panel select { width: 100%; border: 1px solid var(--line); background: #fffaf5; color: var(--ink); border-radius: 12px; padding: 11px 12px; }
.role-hint { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }

.nav { margin-top: 20px; display: grid; gap: 7px; }
.nav-section { margin: 16px 8px 6px; color: var(--soft); font-size: .72rem; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.nav a { text-decoration: none; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--muted); border: 1px solid transparent; font-weight: 700; font-size: .92rem; }
.nav a:hover { background: rgba(255,255,255,.72); color: var(--ink); border-color: var(--line); }
.nav a.active { background: #fff; color: var(--brand); border-color: rgba(111, 79, 55, .22); box-shadow: 0 8px 20px rgba(111,79,55,.09); }
.nav .icon { width: 24px; height: 24px; border-radius: 9px; display: grid; place-items: center; background: rgba(111,79,55,.09); font-size: .85rem; }
.main { min-width: 0; padding: 26px clamp(18px, 3vw, 42px) 60px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.breadcrumb { color: var(--muted); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.user-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 13px; background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, #815d42, #d4b381); color: #fff; display: grid; place-items: center; font-weight: 900; }
.user-chip b { display: block; line-height: 1; font-size: .92rem; }
.user-chip span { color: var(--muted); font-size: .76rem; }

.hero { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(24px, 4vw, 42px); background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,226,205,.9)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(215,185,143,.48), transparent 66%); pointer-events: none; }
.hero h1 { margin: 0; max-width: 850px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.4rem); line-height: .96; letter-spacing: -0.055em; }
.hero p { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: 1.03rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { border: 1px solid transparent; border-radius: 999px; padding: 11px 16px; font-weight: 900; display: inline-flex; gap: 9px; align-items: center; justify-content: center; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(145deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 12px 26px rgba(111,79,55,.22); }
.btn.secondary { background: rgba(255,255,255,.82); color: var(--brand); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--brand); border-color: rgba(111,79,55,.18); }
.btn.danger { background: rgba(166,63,63,.10); color: var(--danger); border-color: rgba(166,63,63,.22); }
.btn.success { background: rgba(47,111,78,.12); color: var(--success); border-color: rgba(47,111,78,.22); }
.btn.small { padding: 8px 11px; font-size: .82rem; }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.card ul, .card ol { margin: 12px 0 0 1.2rem; padding: 0; color: var(--muted); line-height: 1.55; }
.card li { margin: 7px 0; }
.card li b { color: var(--ink); }

.grid { display: grid; gap: 18px; }
.grid.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: minmax(0, 1fr) minmax(330px, .46fr); }
.section { margin-top: 22px; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.card.strong { background: var(--surface-strong); }
.card h2, .card h3 { margin: 0; letter-spacing: -.02em; }
.card h2 { font-family: var(--serif); font-size: 1.68rem; }
.card h3 { font-size: 1.02rem; }
.card p { color: var(--muted); line-height: 1.55; }
.metric { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.80); box-shadow: var(--shadow-sm); }
.metric .label { color: var(--muted); font-size: .78rem; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; }
.metric .num { margin-top: 8px; font-family: var(--serif); font-size: 2.3rem; line-height: 1; letter-spacing: -.05em; }
.metric .note { margin-top: 9px; color: var(--muted); font-size: .82rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid.full { grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; }
.field label { color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px; color: var(--ink); background: rgba(255,255,255,.9); outline: none; min-width: 0; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(111,79,55,.48); box-shadow: 0 0 0 4px rgba(111,79,55,.08); }
.help-text { color: var(--muted); font-size: .82rem; line-height: 1.45; margin: 6px 0 0; }
.file-drop { position: relative; min-height: 138px; display: grid; place-items: center; text-align: center; border: 1.5px dashed rgba(111,79,55,.35); border-radius: var(--radius); background: rgba(255,250,244,.75); padding: 20px; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .big { font-size: 2.2rem; margin-bottom: 8px; }
.file-drop b { display: block; }
.file-drop span { color: var(--muted); font-size: .86rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.72); }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid rgba(95,71,54,.12); vertical-align: top; }
th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; background: rgba(247,238,226,.68); }
tr:last-child td { border-bottom: 0; }
td .title { font-weight: 900; }
td .sub { color: var(--muted); font-size: .82rem; margin-top: 3px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 9px; font-size: .76rem; font-weight: 900; border: 1px solid transparent; white-space: nowrap; }
.badge.neutral { background: rgba(111,79,55,.10); color: var(--brand); border-color: rgba(111,79,55,.12); }
.badge.blue { background: rgba(71,108,122,.12); color: var(--blue); border-color: rgba(71,108,122,.18); }
.badge.warn { background: rgba(154,100,23,.12); color: var(--warning); border-color: rgba(154,100,23,.22); }
.badge.good { background: rgba(47,111,78,.12); color: var(--success); border-color: rgba(47,111,78,.20); }
.badge.bad { background: rgba(166,63,63,.10); color: var(--danger); border-color: rgba(166,63,63,.20); }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 9px; background: rgba(111,79,55,.08); color: var(--brand); font-size: .77rem; font-weight: 800; }

.review-card { display: grid; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.82); }
.review-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.review-head h3 { margin: 0; }
.review-meta { color: var(--muted); font-size: .83rem; line-height: 1.5; }
.extraction-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.extraction-box { border: 1px solid rgba(95,71,54,.13); border-radius: 16px; padding: 13px; background: rgba(248,242,234,.66); }
.extraction-box b { display: block; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.empty { text-align: center; padding: 38px 18px; color: var(--muted); }
.empty .emoji { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.notice { border: 1px solid rgba(154,100,23,.22); background: rgba(255,245,229,.86); color: #6c4310; border-radius: var(--radius); padding: 14px 16px; line-height: 1.55; }
.notice.good { border-color: rgba(47,111,78,.2); background: rgba(235,249,240,.82); color: #214f38; }
.notice.blue { border-color: rgba(71,108,122,.2); background: rgba(232,244,248,.82); color: #274c58; }
.timeline { display: grid; gap: 12px; }
.timeline-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(111,79,55,.12); color: var(--brand); font-weight: 900; }
.timeline-title { font-weight: 900; }
.timeline-note { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 3px; }

.profile-card { display: grid; gap: 16px; }
.profile-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(95,71,54,.12); }
.profile-row:last-child { border-bottom: 0; }
.profile-row span { color: var(--muted); }
.profile-row b { text-align: right; }

.mobile-toggle { display: none; }
@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-section { grid-column: 1 / -1; }
  .grid.cards-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main { padding: 18px 14px 44px; }
  .topbar { align-items: flex-start; flex-direction: column-reverse; }
  .nav { grid-template-columns: 1fr; }
  .grid.cards-4, .grid.cards-3, .form-grid, .extraction-grid { grid-template-columns: 1fr; }
  .hero { border-radius: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
@media print {
  .sidebar, .topbar, .hero-actions, .btn { display: none !important; }
  body { background: #fff; }
  .app-shell { display: block; }
  .card, .hero, .metric { box-shadow: none; border-color: #ddd; }
}

/* Admin Review Upgrade */
.review-layout { align-items: start; }
.review-workbench-card { background: rgba(255,255,255,.94); }
.review-badges { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.review-workbench { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.15fr); gap: 14px; align-items: start; }
.source-panel { border: 1px solid rgba(95,71,54,.13); border-radius: 18px; padding: 14px; background: rgba(255,250,244,.78); display: grid; gap: 10px; }
.source-panel h4 { margin: 0 0 4px; font-size: .96rem; letter-spacing: -.01em; }
.source-fact { display: grid; grid-template-columns: 112px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(95,71,54,.10); }
.source-fact:last-of-type { border-bottom: 0; }
.source-fact span { color: var(--muted); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.source-fact b { font-size: .86rem; line-height: 1.35; overflow-wrap: anywhere; }
.source-preview { border-radius: 15px; background: rgba(255,255,255,.74); border: 1px solid rgba(95,71,54,.10); padding: 12px; }
.source-preview b { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.source-preview p { margin: 0; color: var(--ink); font-size: .86rem; line-height: 1.55; max-height: 190px; overflow: auto; }
.extraction-panel { background: rgba(248,242,234,.76); }
.review-fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
.decision-panel { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 2px; }
.audit-box { border: 1px solid rgba(95,71,54,.13); background: rgba(255,255,255,.70); border-radius: 16px; padding: 12px 14px; }
.audit-box summary { cursor: pointer; font-weight: 900; color: var(--brand); }
.audit-box .timeline { margin-top: 12px; }
.status-guide { display: grid; gap: 10px; margin-top: 14px; }
.status-guide > div { display: grid; grid-template-columns: max-content 1fr; gap: 10px; align-items: center; }
.status-guide span { color: var(--muted); line-height: 1.35; font-size: .9rem; }
@media (max-width: 920px) {
  .review-workbench { grid-template-columns: 1fr; }
  .review-fields { grid-template-columns: 1fr; }
  .source-fact { grid-template-columns: 1fr; gap: 3px; }
}

/* Reports Center Foundation */
.report-builder-grid { align-items: start; }
.report-output-card { overflow: hidden; }
.report-preview { background: #fdfaf5; border: 1px solid rgba(95,71,54,.16); border-radius: 22px; padding: 18px; }
.report-sheet { max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid rgba(95,71,54,.14); border-radius: 20px; padding: clamp(18px, 3vw, 34px); box-shadow: 0 14px 40px rgba(47,39,33,.08); }
.report-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 18px; border-bottom: 2px solid rgba(111,79,55,.20); }
.report-header .eyebrow { margin: 0 0 6px; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: .75rem; }
.report-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.05em; line-height: 1; }
.report-header p { margin: 10px 0 0; color: var(--muted); line-height: 1.4; }
.report-stamp { border: 1px solid rgba(111,79,55,.22); color: var(--brand); border-radius: 999px; padding: 9px 12px; font-weight: 900; font-size: .78rem; white-space: nowrap; background: rgba(248,242,234,.74); }
.report-summary-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.report-summary-strip > div { border: 1px solid rgba(95,71,54,.12); border-radius: 16px; padding: 12px; background: rgba(248,242,234,.62); }
.report-summary-strip b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.report-summary-strip span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 900; }
.report-section { margin-top: 22px; }
.report-section h2 { font-family: var(--serif); font-size: 1.45rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(95,71,54,.14); }
.report-section p, .report-section li { color: var(--muted); line-height: 1.55; }
.report-item { break-inside: avoid; border: 1px solid rgba(95,71,54,.12); border-radius: 16px; padding: 13px; background: rgba(255,250,244,.72); margin: 10px 0; }
.report-item b { color: var(--ink); }
.report-item p { margin: 7px 0 0; }
.report-footer { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(95,71,54,.14); color: var(--muted); font-size: .82rem; line-height: 1.45; }
@media (max-width: 720px) {
  .report-header { flex-direction: column; }
  .report-summary-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .report-stamp { white-space: normal; }
}
@media print {
  .report-output-card { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .report-output-card > .review-head, .report-builder-grid, .section.card:has(.table-wrap) { display: none !important; }
  .report-preview { border: 0 !important; padding: 0 !important; background: #fff !important; }
  .report-sheet { max-width: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
  .report-item, .report-summary-strip > div { background: #fff; }
}

/* Family Access + Permissions Upgrade */
.access-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; border-radius: 999px; padding: 5px 9px; font-size: .76rem; font-weight: 900; border: 1px solid rgba(95,71,54,.14); }
.access-mark.yes { color: #315b3d; background: rgba(69, 139, 82, .12); }
.access-mark.no { color: #8a332d; background: rgba(188, 74, 60, .12); }
.access-mark.limited { color: #72523a; background: rgba(177, 130, 82, .14); }
.table-wrap code { background: rgba(95,71,54,.08); border: 1px solid rgba(95,71,54,.12); padding: 4px 7px; border-radius: 8px; font-weight: 900; color: var(--brand); }

/* Secure Data + File Storage Foundation */
.metric .num.small-num { font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.04em; }
.profile-row b { overflow-wrap: anywhere; }

/* AI/OCR Backend Processing Readiness */
.ai-processing-layout { align-items: start; }
.job-grid { display: grid; gap: 14px; }
.job-card { background: rgba(255,255,255,.92); }
.job-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 14px; }
.compact-categories { grid-template-columns: repeat(3, minmax(0,1fr)); }
.category-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.category-mini b { margin: 0; }
@media (max-width: 920px) {
  .job-facts, .compact-categories { grid-template-columns: 1fr; }
}

/* Evidence + Person Linking */
.field.full, .form-grid .full { grid-column: 1 / -1; }
.check-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; line-height: 1.45; border: 1px solid rgba(95,71,54,.12); background: rgba(255,255,255,.72); border-radius: 14px; padding: 12px 13px; }
.check-row input { margin-top: 3px; }
.mini-timeline { display: grid; gap: 8px; margin-top: 10px; }
.evidence-timeline-item { display: grid; grid-template-columns: 78px 1fr; gap: 12px; border: 1px solid rgba(95,71,54,.12); background: rgba(255,250,244,.72); border-radius: 15px; padding: 12px; }
.evidence-timeline-item .year { color: var(--brand); font-family: var(--serif); font-size: 1.08rem; font-weight: 900; line-height: 1.1; }
.evidence-timeline-item p { margin: 4px 0 8px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.actions.compact { gap: 6px; }
.actions.compact .btn { padding: 7px 9px; }
@media (max-width: 720px) {
  .evidence-timeline-item { grid-template-columns: 1fr; }
}

/* People + Relationship Management Upgrade */
.people-layout { align-items: start; }
.people-card-grid { display: grid; gap: 14px; margin-top: 16px; }
.person-card { border: 1px solid rgba(95,71,54,.14); border-radius: 20px; padding: 16px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(47,39,33,.06); }
.person-card h4 { margin: 14px 0 8px; color: var(--brand); font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; }
.person-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 12px 0; }
.person-facts > div { border: 1px solid rgba(95,71,54,.10); background: rgba(255,250,244,.72); border-radius: 13px; padding: 10px; }
.person-facts span { display: block; color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.person-facts b { display: block; color: var(--ink); font-size: .88rem; line-height: 1.35; overflow-wrap: anywhere; }
.person-private-note { border: 1px solid rgba(111,79,55,.18); background: rgba(248,242,234,.72); border-radius: 14px; padding: 11px 12px; color: var(--muted); font-size: .88rem; line-height: 1.45; margin: 10px 0; }
.relationship-tags { max-height: 260px; overflow: auto; padding-right: 4px; }
@media (max-width: 720px) {
  .person-facts { grid-template-columns: 1fr; }
}

/* Private Vault + Sensitive Records Control */
.vault-layout { align-items: start; }
.vault-card-grid { display: grid; gap: 14px; }
.vault-item-card { background: rgba(255,255,255,.92); }
