/* vbank shared design system — unified around the marketing homepage's
   actual identity: black canvas, orange gradient V, motorsport mood
   (vbank/marketing/index.html's token names, reused verbatim here so both
   deploy units speak the same design language even though they're kept as
   physically separate, independently-deployable files -- same reasoning
   as vbank-app.js vs vbank.js being kept apart on purpose).

   Dark is the default and matches marketing's existing values exactly.
   Light is a full inversion with the SAME orange accent, toggled via
   [data-theme="light"] on <html> (see the FOUC-prevention script at the
   top of every page's <head> and VBankApp.initTheme() in vbank-app.js).

   Two earlier passes lived here before this one: a mint-green
   "Wealthfront-style" palette, then a navy/red "traditional bank" spec --
   both retired. Semantic status colors (success/warn/danger) are kept
   deliberately separate from the brand accent color so "Verified" badges
   and gains don't accidentally inherit whatever the brand color is. */

:root {
  --canvas: #000000;
  --surface-soft: #0d0d0d;
  --surface-card: #1a1a1a;
  --surface-elevated: #262626;
  --hairline: #3c3c3c;
  --hairline-strong: #262626;
  --on-dark: #ffffff;
  --body: #bbbbbb;
  --body-strong: #e6e6e6;
  --muted: #7e7e7e;
  --v-orange-light: #d39150;
  --v-orange-mid: #a7682a;
  --v-orange-deep: #7e4f20;
  --v-gradient: linear-gradient(180deg, var(--v-orange-light) 0%, var(--v-orange-mid) 50%, var(--v-orange-deep) 100%);

  --ink: var(--on-dark);
  --ink-soft: var(--body);
  --ink-faint: var(--muted);
  --paper: var(--surface-card);
  --surface: var(--surface-soft);
  --line: var(--hairline);

  --accent: var(--v-orange-mid);
  --accent-dark: var(--v-orange-deep);
  --accent-tint: rgba(167, 104, 42, 0.14);
  --accent-glow: rgba(167, 104, 42, 0.35);

  /* Semantic success -- verified, positive transactions, confirmations.
     Deliberately its own token, not aliased to --accent. Matches
     marketing's --success exactly. */
  --success: #1fae5e;
  --success-dark: #17924e;
  --success-tint: rgba(31, 174, 94, 0.14);

  --amber: #e0a527;
  --amber-tint: rgba(224, 165, 39, 0.14);
  --red: #e5392d;
  --red-tint: rgba(229, 57, 45, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.5);
  --radius-card: 16px;
  --radius-field: 10px;
  --radius-pill: 999px;
  --bank-radius-btn: 6px;
  --surface-glass: rgba(13, 13, 13, 0.82);
}

:root[data-theme="light"] {
  --canvas: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-card: #ffffff;
  --surface-elevated: #f0f0f0;
  --hairline: #e2e2e2;
  --hairline-strong: #d5d5d5;
  --on-dark: #14120f;
  --body: #55524c;
  --body-strong: #1f1d19;
  --muted: #8a8680;

  --accent-tint: rgba(167, 104, 42, 0.1);
  --success-tint: rgba(31, 174, 94, 0.1);
  --amber-tint: rgba(224, 165, 39, 0.12);
  --red-tint: rgba(229, 57, 45, 0.08);
  --shadow-sm: 0 1px 2px rgba(20, 18, 15, 0.05);
  --shadow-lg: 0 1px 2px rgba(20, 18, 15, 0.04), 0 16px 40px rgba(20, 18, 15, 0.08);
  --surface-glass: rgba(255, 255, 255, 0.88);
}

/* Sitewide "Testing" badge -- injected by VBank.renderTestingBadge()/
   VBankApp.renderTestingBadge() (see vbank.js/vbank-app.js) on every page
   while the product is in testing phase, not sandbox-only like the
   existing "Test mode" badge (.vb-sandbox-badge, which only shows when
   Plaid/Column are literally in sandbox mode). This one is unconditional
   and site-identity-level: it signals the whole product, including its
   legal pages, isn't final yet. Fixed position so it stays visible while
   scrolling, on every page including the sidebar-shell app pages. */
.vb-testing-badge {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  background: var(--red);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 640px) {
  .vb-testing-badge { top: 8px; right: 8px; font-size: 0.6rem; padding: 0.3rem 0.6rem; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

.page.wide { max-width: 880px; }

/* Nav */
.vb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1rem;
}
.vb-wordmark {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.vb-wordmark img { height: 28px; width: auto; display: block; }
.vb-nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Light/dark theme toggle -- wired up by VBank.initTheme()/VBankApp.initTheme()
   via the [data-theme-toggle] attribute (see vbank.js / vbank-app.js). */
.vb-theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink-soft); background: none; cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.vb-theme-toggle:hover { color: var(--ink); border-color: var(--hairline-strong); }
.vb-theme-toggle svg { width: 1rem; height: 1rem; }
.vb-theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .vb-theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .vb-theme-toggle .icon-sun { display: block; }

.vb-back {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.vb-back:hover { color: var(--ink); }
.vb-sandbox-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-tint);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.65rem;
}

/* Hero */
.vb-hero { text-align: center; padding: 2.5rem 0 2rem; }
.vb-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.vb-hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.5;
}

/* Cards */
.vb-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.vb-card-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.vb-card-link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  border-color: #c7d2e0;
}
.vb-card-icon {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vb-card-icon svg { width: 1.5rem; height: 1.5rem; }
.vb-card-body { flex: 1; }
.vb-card-body h3 { margin: 0 0 0.2rem; font-size: 1.05rem; font-weight: 600; }
.vb-card-body p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.vb-card-arrow { color: var(--ink-faint); flex: none; }

/* Section headings inside a card/page */
.vb-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}
.vb-section-hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

/* Forms */
.vb-field { margin-bottom: 1.1rem; }
.vb-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.vb-field .vb-hint {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.35rem;
}
.vb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.vb-row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.9rem; }
@media (max-width: 520px) {
  .vb-row, .vb-row3 { grid-template-columns: 1fr; }
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234b5d57' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }

.vb-checkbox { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); }
.vb-checkbox input { width: auto; }

/* Buttons */
.vb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}
.vb-btn-primary { background: var(--accent); color: #fff; }
.vb-btn-primary:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10, 22, 40, 0.28); }
.vb-btn-secondary { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.vb-btn-secondary:hover:not(:disabled) { border-color: var(--ink-faint); }
.vb-btn-ghost { background: transparent; color: var(--accent-dark); padding: 0.5rem 0.25rem; }
.vb-btn-ghost:hover:not(:disabled) { color: var(--accent); }
.vb-btn-block { width: 100%; }
.vb-btn:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }
.vb-btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* Status badges */
.vb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.7rem;
}
.vb-badge-verified { background: var(--success-tint); color: var(--success-dark); }
.vb-badge-pending { background: var(--amber-tint); color: var(--amber); }
.vb-badge-none { background: var(--surface); color: var(--ink-faint); border: 1px solid var(--line); }
.vb-badge-failed { background: var(--red-tint); color: var(--red); }

/* Person / roster rows */
.vb-roster { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.vb-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.vb-person-avatar {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.vb-person-info { flex: 1; min-width: 0; }
.vb-person-name { font-weight: 600; font-size: 0.92rem; }
.vb-person-meta { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15rem; }
.vb-person-actions { flex: none; display: flex; align-items: center; gap: 0.6rem; }
.vb-person-remove {
  background: none; border: none; color: var(--ink-faint); cursor: pointer;
  font-size: 1.1rem; line-height: 1; padding: 0.25rem;
}
.vb-person-remove:hover { color: var(--red); }

/* Add-person inline form */
.vb-add-form {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* Progress steps */
.vb-steps { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.vb-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.vb-step.done { background: var(--accent); }

/* Messages */
.vb-error {
  background: var(--red-tint);
  color: var(--red);
  border-radius: var(--radius-field);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  margin-top: 1rem;
}
.vb-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--success-tint);
  color: var(--success-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.vb-code {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-field);
  word-break: break-all;
  color: var(--ink-soft);
}

.vb-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 2rem 0 0.75rem;
}
.vb-section-label:first-child { margin-top: 0; }

.vb-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--accent-tint);
  border-radius: var(--radius-field);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}
.vb-callout-icon { flex: none; color: var(--accent-dark); margin-top: 0.1rem; }
.vb-callout-body { font-size: 0.88rem; color: var(--ink); line-height: 1.5; }
.vb-callout-body strong { display: block; margin-bottom: 0.15rem; }
.vb-callout-warn { background: var(--amber-tint); }
.vb-callout-warn .vb-callout-icon { color: var(--amber); }

.vb-center { text-align: center; }
.vb-spinner {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  animation: vb-spin 0.8s linear infinite;
  margin: 0 auto 1.25rem;
}
@keyframes vb-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   App shell (logged-in dashboard experience) -- extends the tokens above,
   no new palette. Visual/UX layer only: every page in this section runs on
   mock data, no auth or backend wiring.
   ========================================================================== */

.vb-app { min-height: 100vh; }
.vb-app .page { max-width: 560px; padding-top: 0.5rem; }

/* Balance block */
.vb-balance-block { padding: 1.5rem 0 0.5rem; }
.vb-balance-label { font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; margin: 0 0 0.35rem; }
.vb-balance-amount {
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--ink);
  margin: 0;
}
.vb-balance-sub { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.35rem; }
.vb-balance-sub.up { color: var(--success-dark); }

/* Skeletons */
.vb-skeleton {
  background: linear-gradient(100deg, var(--line) 30%, #eef0f4 50%, var(--line) 70%);
  background-size: 200% 100%;
  animation: vb-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes vb-shimmer {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}
.vb-skeleton-balance { width: 12rem; height: 2.6rem; border-radius: 10px; margin-bottom: 0.5rem; }
.vb-skeleton-line { height: 0.9rem; border-radius: 6px; margin-bottom: 0.5rem; }
.vb-skeleton-circle { width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: none; }
.vb-skeleton-row { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0; }
.vb-fade-in { animation: vb-fade-in 0.35s ease both; }
@keyframes vb-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Account summary card */
.vb-account-card { display: flex; flex-direction: column; gap: 0.9rem; }
.vb-account-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; }
.vb-account-row .k { color: var(--ink-soft); }
.vb-account-row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.vb-reveal-btn {
  background: none; border: none; color: var(--accent-dark); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; padding: 0; font-family: inherit;
}

/* Transactions */
.vb-txn-group-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-faint); margin: 1.25rem 0 0.5rem; }
.vb-txn-group-label:first-child { margin-top: 0; }
.vb-txn-list { display: flex; flex-direction: column; }
.vb-txn-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.4rem; margin: 0 -0.4rem; border-radius: 14px;
  transition: background 0.12s ease;
}
.vb-txn-row:hover { background: var(--surface); }
.vb-txn-icon {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
}
.vb-txn-icon svg { width: 1.05rem; height: 1.05rem; }
.vb-txn-info { flex: 1; min-width: 0; }
.vb-txn-name { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-txn-meta { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.1rem; }
.vb-txn-amount { flex: none; font-size: 0.92rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.vb-txn-amount.negative { color: var(--ink); }
.vb-txn-amount.positive { color: var(--success-dark); }

/* Empty state */
.vb-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--ink-soft);
}
.vb-empty-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--ink-faint);
}
.vb-empty h3 { color: var(--ink); margin: 0 0 0.3rem; font-size: 1rem; }
.vb-empty p { margin: 0; font-size: 0.88rem; }

/* Toggle switch (freeze card, settings notifications) */
.vb-switch { position: relative; display: inline-block; width: 2.75rem; height: 1.6rem; flex: none; }
.vb-switch input { opacity: 0; width: 0; height: 0; }
.vb-switch .track {
  position: absolute; inset: 0; background: var(--line); border-radius: var(--radius-pill);
  cursor: pointer; transition: background 0.2s ease;
}
.vb-switch .track::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 1.2rem; height: 1.2rem;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1);
}
.vb-switch input:checked + .track { background: var(--accent); }
.vb-switch input:checked + .track::before { transform: translateX(1.15rem); }

/* Virtual card visual */
.vb-card-visual {
  position: relative;
  aspect-ratio: 1.586 / 1;
  border-radius: 20px;
  padding: 1.4rem;
  /* Fixed dark card surface regardless of site theme -- a physical debit
     card doesn't relabel itself for light mode. */
  background: linear-gradient(135deg, var(--surface-elevated) 0%, #000000 65%, #000000 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.vb-card-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(167, 104, 42, 0.25), transparent 60%);
}
.vb-card-visual.frozen { filter: grayscale(0.85) brightness(0.8); }
.vb-card-top { display: flex; justify-content: space-between; align-items: flex-start; z-index: 1; }
.vb-card-brand { font-weight: 700; letter-spacing: -0.01em; font-size: 1.05rem; }
.vb-card-chip { width: 2.1rem; height: 1.6rem; border-radius: 5px; background: linear-gradient(135deg, #d9c98a, #b89a4e); z-index: 1; }
.vb-card-number { font-size: 1.15rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; z-index: 1; }
.vb-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: 0.78rem; z-index: 1; opacity: 0.85; }
.vb-card-bottom .label { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.62rem; opacity: 0.65; margin-bottom: 0.15rem; }
.vb-frozen-badge {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 2;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem; border-radius: var(--radius-pill);
  opacity: 0; transform: scale(0.9); transition: opacity 0.2s ease, transform 0.2s ease;
}
.vb-frozen-badge.show { opacity: 1; transform: scale(1); }

/* Toast */
.vb-toast-wrap {
  position: fixed; left: 0; right: 0; bottom: 5.5rem; display: flex; justify-content: center;
  pointer-events: none; z-index: 60;
}
.vb-toast {
  display: flex; align-items: center; gap: 0.55rem;
  /* Always a dark chip regardless of theme (standard toast/snackbar
     pattern) -- not var(--ink), which is theme-relative and would render
     white-on-white in dark mode. */
  background: #1a1a1a; color: #fff; font-size: 0.85rem; font-weight: 600;
  padding: 0.75rem 1.1rem; border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(0.6rem) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.vb-toast.show { opacity: 1; transform: translateY(0) scale(1); }
.vb-toast .tick { color: var(--success); display: flex; }

/* Login screen */
.vb-login-wrap { max-width: 400px; margin: 3.5rem auto; padding: 0 1.5rem; }
.vb-login-step { transition: opacity 0.25s ease, transform 0.25s ease; }
.vb-otp-boxes { display: flex; gap: 0.6rem; justify-content: center; margin: 1.25rem 0; }
.vb-otp-boxes input {
  width: 2.6rem; height: 3.1rem; text-align: center; font-size: 1.3rem; font-weight: 700;
  padding: 0;
}

/* Statement rows */
.vb-statement-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0.2rem; border-bottom: 1px solid var(--line);
}
.vb-statement-row:last-child { border-bottom: none; }
.vb-statement-name { font-weight: 600; font-size: 0.9rem; }
.vb-statement-meta { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.1rem; }

.vb-settings-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0.2rem; border-bottom: 1px solid var(--line);
}
.vb-settings-row:last-child { border-bottom: none; }
.vb-settings-label { font-size: 0.92rem; font-weight: 600; }
.vb-settings-hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.1rem; }

/* ==========================================================================
   Dashboard shell -- sidebar (desktop) / off-canvas drawer (mobile),
   persistent gradient topbar, and the widgets below. Matches the layout
   of the "Banking Dashboard Interface" Claude Design reference
   (claude.ai/design/p/a8cb0340...) the user provided, adapted onto real
   account/transaction data. Replaces the earlier single-column phone-app
   shell (.vb-nav top bar + .vb-tabbar bottom bar) on dashboard/transfer/
   card/transactions -- login.html and the account-opening flows still use
   the plain .vb-nav bar above, unaffected.
   ========================================================================== */

.vb-shell { display: flex; min-height: 100vh; }
.vb-main { flex: 1; min-width: 0; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.vb-main .page { max-width: 100%; margin: 0; padding: 0; }

.vb-sidebar {
  width: 260px; flex: 0 0 260px;
  background: var(--surface-soft);
  border-right: 1px solid var(--hairline);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 1.75rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.vb-sidebar-brand { display: flex; align-items: center; gap: 0.6rem; }
.vb-sidebar-brand img { height: 22px; width: auto; display: block; }
.vb-sidebar-brand span { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.95rem; color: var(--ink); }
.vb-sidebar-close { display: none; margin-left: auto; background: none; border: none; color: var(--ink-soft); font-size: 1.1rem; cursor: pointer; }

.vb-sidebar-balance { background: var(--v-gradient); padding: 1.15rem 1.25rem; border-radius: var(--radius-card); color: #000; }
.vb-sidebar-balance .label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.7; }
.vb-sidebar-balance .amount { font-size: 1.5rem; font-weight: 800; margin-top: 0.3rem; font-variant-numeric: tabular-nums; }
.vb-sidebar-balance a.vb-btn {
  display: block; margin-top: 0.85rem; width: 100%; text-align: center;
  background: #000; color: #fff; border-radius: 8px; padding: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none;
}

.vb-sidebar-nav { display: flex; flex-direction: column; gap: 0.1rem; }
.vb-sidebar-section-label { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 0.6rem 0.5rem; }
.vb-sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.6rem; margin: 0 -0.1rem;
  border-left: 2px solid transparent; border-radius: 0 10px 10px 0;
  color: var(--body); text-decoration: none; font-size: 0.88rem; font-weight: 500;
  background: none; border-top: none; border-right: none; border-bottom: none;
  width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.vb-sidebar-link svg { width: 1.1rem; height: 1.1rem; flex: none; }
.vb-sidebar-link:hover { color: var(--ink); }
.vb-sidebar-link.active { border-left-color: var(--v-orange-mid); color: var(--ink); background: var(--surface-elevated); font-weight: 600; }
.vb-sidebar-link .icon-sun { display: none; }
:root[data-theme="light"] .vb-sidebar-link .icon-moon { display: none; }
:root[data-theme="light"] .vb-sidebar-link .icon-sun { display: block; }

.vb-sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.1rem; }

.vb-sidebar-burger, .vb-mobile-topbar { display: none; }
.vb-shell-backdrop { display: none; }

/* Persistent gradient topbar, shown above the page content on every shell
   page (Overview/Transactions/Transfer/Card), not just the dashboard. */
.vb-topbar {
  background: var(--v-gradient); color: #000;
  border-radius: var(--radius-card);
  padding: 1.4rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.vb-topbar h2 { margin: 0; font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.vb-topbar p { margin: 0.2rem 0 0; font-size: 0.82rem; opacity: 0.75; max-width: 26rem; }
.vb-topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
/* .vb-theme-toggle's default color/border are tuned for a plain canvas
   background (nav bars on login/marketing); on the topbar it instead sits
   on --v-gradient with black text, so it needs the same black-on-gradient
   treatment as .vb-topbar-user rather than its usual styling. */
.vb-topbar .vb-theme-toggle { color: #000; border-color: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.15); }
.vb-topbar .vb-theme-toggle:hover { border-color: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.22); }
.vb-topbar-user { display: flex; align-items: center; gap: 0.6rem; background: rgba(0, 0, 0, 0.15); padding: 0.35rem 0.9rem 0.35rem 0.35rem; border-radius: var(--radius-pill); }
.vb-topbar-avatar { width: 2rem; height: 2rem; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex: none; }
.vb-topbar-user .name { font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.vb-topbar-user .email { font-size: 0.68rem; opacity: 0.7; line-height: 1.3; }

@media (max-width: 900px) {
  .vb-mobile-topbar {
    display: flex; position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 40;
    align-items: center; justify-content: space-between; padding: 0 1.25rem;
    background: var(--surface-glass); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--hairline);
  }
  .vb-mobile-topbar img { height: 20px; }
  .vb-sidebar-burger {
    display: flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: none; border: 1px solid var(--line); color: var(--ink);
    cursor: pointer;
  }
  .vb-shell { padding-top: 60px; }
  .vb-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; height: 100vh;
    transform: translateX(-100%); transition: transform 0.2s ease; z-index: 51;
    box-shadow: 0 0 0 transparent;
  }
  .vb-sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .vb-sidebar-close { display: block; }
  .vb-shell-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 50; }
  .vb-main { padding: 1.25rem 1rem 2.5rem; }
  .vb-topbar-user .email { display: none; }
}

.vb-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin: 1.25rem 0; }
@media (max-width: 640px) { .vb-stat-grid { grid-template-columns: 1fr; } }
.vb-stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.1rem 1.25rem; }
.vb-stat-card.accent { background: var(--v-gradient); color: #000; border: none; }
.vb-stat-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.vb-stat-card.accent .vb-stat-label { color: rgba(0, 0, 0, 0.65); }
.vb-stat-value { font-size: 1.4rem; font-weight: 800; margin-top: 0.5rem; font-variant-numeric: tabular-nums; }
.vb-stat-delta { font-size: 0.76rem; margin-top: 0.35rem; color: var(--ink-faint); }
.vb-stat-card.accent .vb-stat-delta { color: rgba(0, 0, 0, 0.6); }
.vb-stat-delta.up { color: var(--success-dark); }

.vb-chart-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.25rem 1.4rem; margin: 1.25rem 0; }
.vb-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.vb-chart-head h3 { margin: 0; font-size: 0.98rem; font-weight: 700; }
.vb-chart-head span { font-size: 0.76rem; color: var(--ink-faint); }
.vb-chart-card svg { width: 100%; height: 140px; display: block; }
.vb-chart-labels { display: flex; justify-content: space-between; margin-top: 0.4rem; }
.vb-chart-labels span { font-size: 0.66rem; color: var(--ink-faint); }

.vb-widget-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin: 1.25rem 0; }
@media (max-width: 640px) { .vb-widget-row { grid-template-columns: 1fr; } }
.vb-widget-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.vb-widget-card h3 { margin: 0; font-size: 0.98rem; font-weight: 700; }
.vb-widget-card p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }

/* Card visual, "not yet issued" state -- vb-card-visual above is styled for
   a real card; this dims it and swaps the number for honest placeholder
   copy rather than showing a fabricated card number. */
.vb-card-visual.unissued { opacity: 0.55; filter: grayscale(1); }
.vb-card-visual.unissued .vb-card-number { font-size: 0.95rem; letter-spacing: normal; }

/* ==========================================================================
   Marketing-style header/footer, used by individual/business/trust/learn/
   loan-*/privacy.html (dropdown nav + dark hero band + footer). Retimed
   from an earlier navy/white "traditional bank" pass onto the same black/
   orange tokens as everything else. A chunk of this section's rules
   (vb-hero-inner/headline/vb-product-*/vb-cc-feature/vb-glass-section/
   vb-trust-band/vb-stats-bar/vb-hero-phone/vb-hero-card-tilt and their
   descendants) were unused dead CSS -- confirmed via grep across every
   HTML page -- and have been removed rather than re-themed.
   ========================================================================== */

/* Utility bar: the slim strip every major bank site puts above its main
   nav (locations, help, sign-in) -- a permanent fixture, not dismissible,
   matching how Chase/BofA/Wells Fargo/US Bank all treat it. */
.vb-util-bar {
  background: var(--canvas);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  padding: 0.55rem 2rem;
  border-bottom: 1px solid var(--hairline);
}
:root[data-theme="light"] .vb-util-bar { color: rgba(20, 18, 15, 0.75); }
.vb-util-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.vb-util-links { display: flex; align-items: center; gap: 1.25rem; }
.vb-util-links a { color: inherit; text-decoration: none; opacity: 0.9; }
.vb-util-links a:hover { opacity: 1; text-decoration: underline; }

.vb-mkt-nav {
  max-width: 1240px; margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 30;
}
.vb-mkt-nav .vb-wordmark { color: var(--on-dark); font-size: 1.2rem; }
.vb-mkt-links { display: flex; align-items: center; gap: 2.1rem; }
.vb-mkt-link {
  position: relative; background: none; border: none; font-family: inherit;
  color: var(--on-dark); font-size: 0.95rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0; text-decoration: none;
  opacity: 0.92;
}
.vb-mkt-link:hover { opacity: 1; }
.vb-mkt-link svg { width: 0.65rem; height: 0.65rem; transition: transform 0.15s ease; }
.vb-mkt-link.open svg { transform: rotate(180deg); }
.vb-mkt-actions { display: flex; align-items: center; gap: 0.75rem; }
.vb-mkt-btn-outline {
  background: transparent; color: var(--on-dark); border: 1px solid var(--hairline-strong);
  border-radius: var(--bank-radius-btn); padding: 0.75rem 1.5rem; font-weight: 500; font-size: 0.875rem;
  text-decoration: none; white-space: nowrap; transition: border-color 0.2s ease;
}
.vb-mkt-btn-outline:hover { border-color: var(--muted); }
.vb-mkt-btn-solid {
  background: var(--on-dark); color: var(--canvas); border: none;
  border-radius: var(--bank-radius-btn); padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem;
  text-decoration: none; white-space: nowrap; transition: background 0.2s ease, transform 0.2s ease;
}
.vb-mkt-btn-solid:hover { background: var(--body-strong); }
.vb-mkt-btn-red {
  background: var(--v-orange-mid); color: #000; border: none;
  border-radius: var(--bank-radius-btn); padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem;
  text-decoration: none; white-space: nowrap; display: inline-block;
  box-shadow: 0 2px 12px rgba(167, 104, 42, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.vb-mkt-btn-red:hover { background: var(--v-orange-light); transform: translateY(-1px); }

.vb-dropdown {
  position: absolute; top: calc(100% + 0.85rem); left: 50%; transform: translate(-50%, 4px);
  background: var(--surface-card); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 0.75rem; min-width: 18rem;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--v-orange-mid);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.vb-mkt-link.open + .vb-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.vb-dropdown-eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); padding: 0.4rem 0.85rem 0.5rem;
}
.vb-dropdown a {
  display: block; padding: 0.65rem 0.85rem; border-radius: 10px;
  color: var(--on-dark); text-decoration: none; font-size: 0.88rem; font-weight: 600;
}
.vb-dropdown a:hover { background: var(--surface-elevated); }
.vb-dropdown a small { display: block; font-weight: 400; color: var(--body); font-size: 0.78rem; margin-top: 0.1rem; }

.vb-mkt-burger {
  display: none; background: none; border: none; color: var(--on-dark); padding: 0.4rem; cursor: pointer;
}
.vb-mkt-mobile-panel {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--canvas); padding: 0.5rem 1.5rem 1.5rem;
  flex-direction: column; gap: 0.25rem;
  z-index: 29;
  border-bottom: 1px solid var(--hairline);
}
.vb-mkt-mobile-panel.open { display: flex; }
.vb-mkt-mobile-panel a, .vb-mkt-mobile-panel .vb-mkt-mobile-group-label {
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--hairline);
}
.vb-mkt-mobile-panel .vb-mkt-mobile-group-label { opacity: 0.6; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; border-bottom: none; padding-bottom: 0.3rem; }
.vb-mkt-mobile-panel .vb-mkt-mobile-sub { padding-left: 1rem; opacity: 0.9; font-weight: 500; }
.vb-mkt-mobile-panel .vb-mkt-actions { flex-direction: column; align-items: stretch; margin-top: 0.75rem; }
.vb-mkt-mobile-panel .vb-mkt-btn-outline, .vb-mkt-mobile-panel .vb-mkt-btn-solid { text-align: center; }

@media (max-width: 860px) {
  /* Direct-child combinator so this hides only the desktop actions bar --
     .vb-mkt-mobile-panel has its own nested .vb-mkt-actions that needs to
     stay visible when the panel is open. */
  .vb-mkt-links, .vb-mkt-nav > .vb-mkt-actions { display: none; }
  .vb-mkt-burger { display: block; }
}

.vb-hero-dark {
  background: var(--canvas);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.vb-hero-dark::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(167, 104, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer -- dense, multi-column, legal-heavy. */
.vb-bank-footer { background: var(--canvas); color: var(--body); padding: 3rem 2rem 2rem; border-top: 1px solid var(--hairline); }
.vb-footer-inner { max-width: 1240px; margin: 0 auto; }
.vb-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .vb-footer-cols { grid-template-columns: repeat(2, 1fr); } }
.vb-footer-col h4 { color: var(--on-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 1rem; }
.vb-footer-col a { display: block; color: inherit; text-decoration: none; font-size: 0.85rem; margin-bottom: 0.65rem; opacity: 0.85; }
.vb-footer-col a:hover { opacity: 1; text-decoration: underline; }
.vb-footer-badges { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; }
.vb-footer-badge {
  border: 1px solid var(--hairline-strong); border-radius: 6px; padding: 0.35rem 0.7rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.vb-footer-legal { border-top: 1px solid var(--hairline); padding-top: 1.5rem; font-size: 0.76rem; line-height: 1.65; opacity: 0.75; }
.vb-footer-legal p { margin: 0 0 0.75rem; }
.vb-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; font-size: 0.78rem; opacity: 0.75; }
.vb-footer-social { display: flex; gap: 0.85rem; }
.vb-footer-social a { color: var(--body); display: flex; }
.vb-footer-social a:hover { color: var(--on-dark); }

/* ==========================================================================
   Legal document pages (Terms of Use, E-Sign, Privacy Notice, etc.) --
   testing-phase drafts, clearly marked as such. See legal-drafts/ in the
   project root for source content and why each is still incomplete.
   ========================================================================== */
.vb-legal-page { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.vb-legal-draft-header {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red-tint); color: var(--red);
  border: 1px solid var(--red); border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.vb-legal-banner {
  background: var(--amber-tint); color: var(--body-strong);
  border: 1px solid var(--amber); border-radius: var(--radius-field);
  padding: 1rem 1.25rem; font-size: 0.9rem; line-height: 1.55; margin-bottom: 2rem;
}
.vb-legal-banner strong { color: var(--on-dark); }
.vb-legal-meta { font-size: 0.8rem; color: var(--ink-faint); margin: -0.5rem 0 2rem; }
.vb-legal-toc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.vb-legal-toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.75rem; color: var(--ink-faint); }
.vb-legal-toc ol { margin: 0; padding-left: 1.2rem; }
.vb-legal-toc li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.vb-legal-toc a { color: var(--ink); text-decoration: none; }
.vb-legal-toc a:hover { color: var(--accent-dark); text-decoration: underline; }
.vb-legal-body h2 { font-size: 1.3rem; margin: 2.5rem 0 1rem; scroll-margin-top: 5.5rem; }
.vb-legal-body h2:first-child { margin-top: 0; }
.vb-legal-body p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 1rem; }
.vb-legal-body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.88rem; }
.vb-legal-body th, .vb-legal-body td { text-align: left; padding: 0.6rem 0.75rem; border: 1px solid var(--line); vertical-align: top; }
.vb-legal-body th { background: var(--surface); font-weight: 700; }
@media (max-width: 640px) {
  .vb-legal-body table, .vb-legal-body thead, .vb-legal-body tbody, .vb-legal-body th, .vb-legal-body td, .vb-legal-body tr { display: block; }
  .vb-legal-body tr { border: 1px solid var(--line); border-radius: var(--radius-field); margin-bottom: 0.75rem; padding: 0.5rem; }
  .vb-legal-body th, .vb-legal-body td { border: none; padding: 0.35rem 0.25rem; }
}
/* Marks unresolved content -- still visibly incomplete (the point of
   shipping these testing-phase is that a reader can tell what's still
   missing, not just a "draft" label at the top while incomplete clauses
   look finished), but as a small, clean "Pending" chip rather than the
   full internal to-do note dumped inline -- that detail lives in the
   source legal-drafts/*.md files, not the public page. Hover for a hint
   of what's pending, via the title attribute. */
.vb-legal-pending {
  display: inline-flex; align-items: center;
  background: var(--amber-tint); color: var(--amber);
  padding: 0.1rem 0.55rem; border-radius: var(--radius-pill);
  font-size: 0.78em; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  cursor: help;
}
.vb-legal-pending-block {
  display: block; background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius-field); padding: 1rem 1.25rem;
  margin: 0.75rem 0 1.25rem; color: var(--ink-faint); font-size: 0.9rem; font-style: italic;
}
/* Lighter than .vb-legal-pending on purpose -- this marks real, specific
   content (a fee amount, a schedule, draft ToS language) that's an
   illustrative placeholder rather than Vitez Bank's confirmed final
   position, not an empty gap the way Pending is. Reads as a quiet
   footnote, not a warning. Hover for what's still unconfirmed about it. */
.vb-legal-illustrative {
  display: inline-flex; align-items: center;
  color: var(--ink-faint); font-size: 0.72em; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-left: 0.35em; cursor: help; vertical-align: middle;
}
.vb-legal-illustrative::before { content: "·"; margin-right: 0.35em; opacity: 0.6; }
