/* ============================================================
   Bank of America (demo) — mobile-first fintech UI
   Unofficial, fictional study project. Visual direction:
   white-dominant surfaces, navy structure, red as a rare
   accent — inspired by the clean statement layout.
   ============================================================ */

:root {
  --navy: #012169;
  --navy-700: #0b3aa0;
  --navy-600: #1b4dad;
  --navy-050: #eef3fb;
  --red: #e31837;
  --red-050: #fdecef;
  --green: #1a7f4f;
  --green-050: #eaf6ef;

  --ink: #1a1f29;        /* primary text */
  --ink-2: #4a5366;      /* secondary text */
  --ink-3: #717a8c;      /* tertiary / labels */
  --ink-4: #aeb6c4;      /* faint */
  --line: #e6e9ef;       /* hairlines */
  --line-2: #f0f2f6;
  --surface: #ffffff;
  --bg: #f5f6f8;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .07);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .09);
  --shadow-lg: 0 18px 44px rgba(1, 33, 105, .16);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --tab-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- Splash (white) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; transition: opacity .5s var(--ease);
}
.splash.hide { opacity: 0; pointer-events: none; }
.splash-mark { animation: pop .55s var(--ease) both; }
.splash-mark img { width: 132px; height: auto; }
.splash-name {
  color: var(--navy); font-weight: 800; font-size: 22px; letter-spacing: .2px;
  animation: rise .55s .12s var(--ease) both;
}
.splash-spinner {
  width: 24px; height: 24px; margin-top: 4px;
  border: 3px solid var(--line); border-top-color: var(--navy);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- App shell ---------- */
.app { min-height: 100%; }
.view {
  max-width: 480px; margin: 0 auto;
  padding: 0 0 calc(var(--tab-h) + var(--safe-b) + 28px);
  min-height: 100vh; background: var(--bg);
}

/* ---------- Page transitions ---------- */
.page { animation: pageIn .34s var(--ease) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.stagger > * { animation: rise .4s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: .02s; }
.stagger > *:nth-child(2) { animation-delay: .06s; }
.stagger > *:nth-child(3) { animation-delay: .10s; }
.stagger > *:nth-child(4) { animation-delay: .14s; }
.stagger > *:nth-child(5) { animation-delay: .18s; }
.stagger > *:nth-child(6) { animation-delay: .22s; }
.stagger > *:nth-child(7) { animation-delay: .26s; }

/* ---------- Header (white) ---------- */
.app-header {
  background: var(--surface);
  padding: calc(var(--safe-t) + 14px) 20px 16px;
  border-bottom: 1px solid var(--line);
}
.app-header.compact { padding: calc(var(--safe-t) + 14px) 20px 14px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { height: 26px; width: auto; }
.brand-word {
  font-weight: 800; font-size: 16px; color: var(--navy); letter-spacing: .1px;
}
.brand .spacer-x { flex: 1; }

.greet-row { display: flex; align-items: center; justify-content: space-between; }
.greet { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.greet b { display: block; font-size: 20px; color: var(--ink); font-weight: 700; margin-top: 3px; }
.page-title { font-size: 20px; font-weight: 800; color: var(--ink); }

.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-050); display: grid; place-items: center;
  font-weight: 700; color: var(--navy); font-size: 14px;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
  transition: background .2s, transform .15s var(--ease);
}
.icon-btn:active { transform: scale(.9); background: var(--line); }
.icon-btn svg { width: 21px; height: 21px; fill: var(--navy); }

/* total balance — clean, mostly white */
.total-card { margin-top: 16px; }
.total-label {
  font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px;
}
.total-amount {
  font-size: 34px; font-weight: 800; letter-spacing: -.6px; margin-top: 5px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.total-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.eye {
  margin-left: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
}
.eye svg { width: 16px; height: 16px; fill: var(--ink-3); }

/* detail header bar */
.detail-bar {
  display: flex; align-items: center; gap: 12px;
  padding: calc(var(--safe-t) + 8px) 16px 0; color: var(--ink);
}
.back-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
  transition: transform .15s var(--ease), background .2s;
}
.back-btn:active { transform: scale(.88); background: var(--line); }
.back-btn svg { width: 22px; height: 22px; fill: var(--navy); }
.detail-title { font-weight: 700; font-size: 17px; }

/* ---------- Quick actions ---------- */
.quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 18px 16px 6px;
}
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.quick-ico {
  width: 52px; height: 52px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center;
  box-shadow: var(--shadow-xs);
  transition: transform .15s var(--ease), border-color .2s, background .2s;
}
.quick-item:active .quick-ico { transform: scale(.9); background: var(--navy-050); }
.quick-ico svg { width: 23px; height: 23px; fill: var(--navy); }
.quick-lbl { font-size: 11.5px; color: var(--ink-2); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 20px 16px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.section-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.section-link { font-size: 13px; color: var(--navy-700); font-weight: 600; }

/* ---------- Account cards ---------- */
.acct-card {
  background: var(--surface); border-radius: var(--r-md); padding: 15px 16px;
  box-shadow: var(--shadow-xs); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; margin-bottom: 11px;
  transition: transform .16s var(--ease), box-shadow .2s, border-color .2s;
}
.acct-card:active { transform: scale(.99); box-shadow: var(--shadow-sm); border-color: #d7dde7; }
.acct-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--navy-050);
}
.acct-ico.green { background: var(--green-050); }
.acct-ico.red { background: var(--red-050); }
.acct-ico svg { width: 23px; height: 23px; fill: var(--navy); }
.acct-ico.green svg { fill: var(--green); }
.acct-ico.red svg { fill: var(--red); }
.acct-main { flex: 1; min-width: 0; }
.acct-name { font-weight: 600; font-size: 14.5px; }
.acct-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.acct-right { text-align: right; flex: none; }
.acct-bal { font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.acct-bal.neg { color: var(--ink); }
.acct-tag { font-size: 11px; color: var(--ink-4); margin-top: 2px; }
.chev { width: 18px; height: 18px; color: var(--ink-4); flex: none; }

/* ---------- Balance hero (detail, white) ---------- */
.balance-hero { text-align: center; color: var(--ink); padding: 18px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.balance-hero .lbl { font-size: 12.5px; color: var(--ink-3); }
.balance-hero .amt { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.balance-hero .sub { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.hero-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.hero-btn {
  background: var(--surface); color: var(--navy); font-weight: 600; font-size: 13px;
  padding: 9px 16px; border-radius: 999px; display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .15s var(--ease), background .2s;
}
.hero-btn:active { transform: scale(.94); background: var(--navy-050); }
.hero-btn svg { width: 15px; height: 15px; fill: var(--navy); }

/* ---------- Transactions ---------- */
.tx-group-date {
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .5px; padding: 18px 4px 8px;
}
.tx {
  display: flex; align-items: center; gap: 13px; padding: 11px 4px;
  border-bottom: 1px solid var(--line); transition: background .15s;
}
.tx:active { background: var(--navy-050); }
.tx-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff;
}
.tx-main { flex: 1; min-width: 0; }
.tx-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-cat { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.tx-amt { font-weight: 700; font-size: 14px; flex: none; font-variant-numeric: tabular-nums; }
.tx-amt.pos { color: var(--green); }
.tx-amt.neg { color: var(--ink); }

/* ---------- Credit card visuals ---------- */
.cc-stack { padding: 8px 16px 0; }
.cc {
  position: relative; border-radius: var(--r-lg); padding: 20px; color: #fff;
  box-shadow: var(--shadow-md); margin-bottom: 16px; overflow: hidden;
  min-height: 184px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .18s var(--ease);
}
.cc:active { transform: scale(.98); }
.cc.indigo { background: linear-gradient(135deg, #1b4dad 0%, #012169 92%); }
.cc.crimson { background: linear-gradient(135deg, #b81230 0%, #7a0c20 92%); }
.cc.slate { background: linear-gradient(135deg, #2b3340 0%, #10141c 92%); }
.cc::before {
  content: ""; position: absolute; right: -30px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}
.cc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cc-brand { font-weight: 700; font-size: 14.5px; letter-spacing: .2px; max-width: 62%; }
.cc-chip {
  width: 38px; height: 28px; border-radius: 6px; margin-top: 14px;
  background: linear-gradient(135deg, #f4d27a, #d6a93f); position: relative;
}
.cc-chip::after { content: ""; position: absolute; inset: 6px 8px; border: 1px solid rgba(0,0,0,.2); border-radius: 3px; }
.cc-num { font-size: 17px; letter-spacing: 2.5px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cc-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.cc-bottom .k { font-size: 10px; opacity: .72; text-transform: uppercase; letter-spacing: .5px; }
.cc-bottom .v { font-size: 13px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.cc-net { font-style: italic; font-weight: 800; font-size: 17px; opacity: .92; }

.cc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 16px 0; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-xs); }
.stat-card .k { font-size: 12px; color: var(--ink-3); }
.stat-card .v { font-size: 18px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-card .v.red { color: var(--red); }
.stat-card .v.green { color: var(--green); }

.progress { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 10px; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: var(--navy); transition: width .8s var(--ease); }
.progress > i.high { background: var(--red); }

/* ---------- Generic card ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-xs); padding: 16px; margin: 0 16px 14px; }

/* ---------- Forms ---------- */
.form-section { padding: 10px 16px 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--ink-3); pointer-events: none; }
select, input[type="text"], input[type="number"] {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 14px; appearance: none; transition: border-color .2s, box-shadow .2s;
}
select:focus, input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(27,77,173,.12); }

.amount-input { display: flex; align-items: center; gap: 6px; padding: 14px 16px 16px; justify-content: center; }
.amount-input .cur { font-size: 28px; font-weight: 700; color: var(--ink-3); }
.amount-input input {
  border: none; font-size: 44px; font-weight: 800; text-align: center; width: 100%;
  padding: 0; color: var(--ink); background: transparent; letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.amount-input input:focus { box-shadow: none; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 8px; justify-content: center; }
.chip {
  background: var(--surface); color: var(--navy); font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  transition: transform .12s var(--ease), background .2s;
}
.chip:active { transform: scale(.92); background: var(--navy-050); }

.btn-primary {
  width: calc(100% - 32px); margin: 18px 16px 0; display: block;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 16px;
  padding: 16px; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), background .2s, opacity .2s;
}
.btn-primary:active { transform: scale(.98); background: #001a4d; }
.btn-primary[disabled] { opacity: .45; pointer-events: none; }
.btn-ghost {
  width: calc(100% - 32px); margin: 10px 16px 0; display: block;
  background: var(--surface); color: var(--navy); font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line);
  transition: transform .15s var(--ease), background .2s;
}
.btn-ghost:active { transform: scale(.98); background: var(--navy-050); }

/* ---------- People row ---------- */
.people { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 8px; scrollbar-width: none; }
.people::-webkit-scrollbar { display: none; }
.person { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.person .ava { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; box-shadow: var(--shadow-xs); transition: transform .15s var(--ease); }
.person:active .ava { transform: scale(.9); }
.person .nm { font-size: 11.5px; color: var(--ink-2); max-width: 64px; text-align: center; }
.person .ava.add { background: var(--surface); color: var(--navy); border: 1.5px dashed #b7c6e6; }

/* ---------- List rows ---------- */
.list-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); margin: 0 16px 14px; overflow: hidden; box-shadow: var(--shadow-xs); }
.list-row { display: flex; align-items: center; gap: 13px; padding: 15px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.list-row:last-child { border-bottom: none; }
.list-row:active { background: var(--navy-050); }
.list-row .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--navy-050); display: grid; place-items: center; flex: none; }
.list-row .ico svg { width: 20px; height: 20px; fill: var(--navy); }
.list-row .lbl { flex: 1; font-weight: 500; font-size: 14.5px; }
.list-row .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; font-weight: 400; }

/* ---------- PDF statement viewer ----------
   Full-screen fixed overlay with its OWN scroll container. Critically, no
   ancestor uses `transform` — a transformed ancestor disables iOS momentum
   scrolling (which is what locked the page / broke the pinned toolbar). The
   scroll container also clips, so zoomed pages can't bleed onto the app. */
.pdf-page {
  position: fixed; inset: 0; z-index: 60; margin: 0; width: auto;
  background: #525659; display: flex; flex-direction: column;
  animation: fadeIn .22s ease both;            /* opacity only — no transform */
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.pdf-topbar { flex: none; background: var(--surface); border-bottom: 1px solid var(--line); }
.pdf-toolbar { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; }
.pdf-pageind {
  font-size: 12px; font-weight: 700; color: var(--navy);
  background: var(--navy-050); padding: 6px 12px; border-radius: 999px;
}
.pdf-zoom {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.pdf-zoom button {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--navy); font-weight: 700; font-size: 20px; line-height: 1;
}
.pdf-zoom button:active { background: var(--navy-050); }
.pdf-zoom .lbl { font-size: 12px; font-weight: 700; color: var(--ink-2); width: 46px; }

.pdf-scroll {
  flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch;
  background: #525659; overscroll-behavior: contain;
}
.pdf-stage { position: relative; background: #525659; min-width: 100%; min-height: 100%; }
.pdf-content { padding: 12px; transform-origin: 0 0; }
.pdf-canvas {
  display: block; margin: 0 auto 12px;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.4); border-radius: 2px;
}
.pdf-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: #525659; z-index: 7;
}
.pdf-loading .splash-spinner { border-color: rgba(255,255,255,.25); border-top-color: #fff; }
.pdf-error {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: #fff; padding: 28px; z-index: 8;
}
.pdf-error .btn-primary { margin-top: 16px; }

/* ---------- Success ---------- */
.success-wrap { text-align: center; padding: 56px 24px; }
.check-circle { width: 88px; height: 88px; border-radius: 50%; background: var(--green-050); display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s var(--ease) both; }
.check-circle svg { width: 48px; height: 48px; }
.check-circle .draw { stroke: var(--green); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .5s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-title { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.success-sub { color: var(--ink-3); margin-top: 8px; font-size: 14px; line-height: 1.5; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; max-width: 480px; margin: 0 auto;
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--ink-4); position: relative; transition: color .2s;
}
.tab .tab-ico svg { width: 24px; height: 24px; fill: currentColor; transition: transform .2s var(--ease); }
.tab .tab-lbl { font-size: 10.5px; font-weight: 600; }
.tab.active { color: var(--navy); }
.tab.active .tab-ico svg { transform: translateY(-1px) scale(1.05); }
.tab:active .tab-ico svg { transform: scale(.85); }

.tab-fab { position: relative; }
.tab-fab .fab {
  width: 50px; height: 50px; border-radius: 50%; margin-top: -20px;
  background: var(--navy); display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(1,33,105,.34);
  transition: transform .18s var(--ease);
}
.tab-fab .fab svg { width: 23px; height: 23px; fill: #fff; }
.tab-fab:active .fab { transform: scale(.9); }
.tab-fab.active .fab { background: var(--navy-700); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 18px);
  translate: -50% 20px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500;
  padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s var(--ease);
  z-index: 60; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Insight ---------- */
.insight {
  margin: 0 16px; background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--navy); border-radius: var(--r-md); padding: 14px 16px;
  display: flex; align-items: center; gap: 13px; box-shadow: var(--shadow-xs);
}
.insight .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--navy-050); display: grid; place-items: center; flex: none; }
.insight .ico svg { width: 21px; height: 21px; fill: var(--navy); }
.insight .txt { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.insight .txt b { color: var(--ink); }

/* ---------- Misc ---------- */
.spacer { height: 8px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.empty { text-align: center; color: var(--ink-3); padding: 40px 24px; font-size: 14px; }
.disclaimer { text-align: center; color: var(--ink-4); padding: 22px 24px 8px; font-size: 11px; line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}
