/* ============================================================
   NovaBank — app.css   |  Custom styles beyond Tailwind CDN
   ============================================================ */

/* ── Fonts ────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --nova-blue:      #1e74c8;
  --nova-blue-dark: #165ea0;
  --nova-cyan:      #129db2;
  --nova-black:     #f4f7fd;
  --nova-dark:      #edf4fb;
  --nova-card:      rgba(248, 251, 255, 0.84);
  --nova-border:    rgba(17, 122, 202, 0.12);
  --nova-text:      #14213d;
  --nova-muted:     #5f6f86;
  --nova-success:   #10b981;
  --nova-error:     #ef4444;
  --nova-gold:      #f59e0b;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(32, 136, 232, 0.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(21, 183, 214, 0.08), transparent 28%),
    linear-gradient(135deg, #f6f9fe 0%, #eef4fb 45%, #f2f7fd 100%);
  color: var(--nova-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(16, 35, 63, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 63, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 95%);
  opacity: 0.45;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: -15%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 136, 232, 0.12), transparent 24%),
    radial-gradient(circle at 80% 25%, rgba(21, 183, 214, 0.10), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.35), transparent 24%);
  /* soften and reduce intensity so underlying images show through */
  filter: blur(36px);
  opacity: 0.28;
  z-index: 0;
}

/* ── Layout Overlay ───────────────────────────────────────── */
.nova-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.nova-layout::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 40%, rgba(17, 122, 202, 0.04) 60%, transparent 100%);
  /* lowered overlay so background artwork is more visible */
  opacity: 0.55;
  z-index: 0;
}

.nova-layout > * {
  position: relative;
  z-index: 1;
}

/* ── Glassmorphic Card ────────────────────────────────────── */
.nova-card {
  background:       var(--nova-card);
  border:           1px solid var(--nova-border);
  border-radius:    20px;
  backdrop-filter:  blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:       0 10px 28px rgba(15, 23, 42, 0.06);
  transition:       border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  will-change: transform, opacity;
  min-height: 0;
}
.nova-card:hover {
  border-color:     rgba(17, 122, 202, 0.32);
  box-shadow:       0 12px 32px rgba(17, 122, 202, 0.10);
  transform:        translateY(-1px);
}

/* ── Gradient Text ────────────────────────────────────────── */
.nova-gradient-text {
  background: linear-gradient(135deg, var(--nova-blue) 0%, var(--nova-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(17, 122, 202, 0.12);
  color: var(--nova-cyan);
  margin-bottom: 12px;
}

/* ── Button Styles ────────────────────────────────────────── */
.nova-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         14px 28px;
  border-radius:   12px;
  font-family:     var(--font-display);
  font-weight:     600;
  font-size:       15px;
  cursor:          pointer;
  transition:      all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border:          none;
  outline:         none;
  white-space:     nowrap;
}

.nova-btn-primary {
  background: linear-gradient(135deg, var(--nova-blue) 0%, #1768a6 100%);
  color:       #fff;
  box-shadow:  0 3px 14px rgba(17, 122, 202, 0.22);
}
.nova-btn-primary:hover {
  transform:   translateY(-2px) scale(1.01);
  box-shadow:  0 6px 20px rgba(17, 122, 202, 0.28);
}
.nova-btn-primary:active { transform: translateY(0) scale(0.98); }
.nova-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.nova-btn-ghost {
  background:   transparent;
  color:        var(--nova-blue);
  border:       1px solid rgba(17, 122, 202, 0.4);
}
.nova-btn-ghost:hover {
  background:   rgba(17, 122, 202, 0.1);
  border-color: var(--nova-blue);
}

/* ── Input Styles ─────────────────────────────────────────── */
.nova-input {
  width:           100%;
  padding:         13px 16px;
  background:      rgba(248, 251, 255, 0.8);
  border:          1px solid rgba(15, 23, 42, 0.09);
  border-radius:   12px;
  color:           var(--nova-text);
  font-family:     var(--font-body);
  font-size:       15px;
  outline:         none;
  transition:      border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nova-input:focus {
  border-color: var(--nova-blue);
  background:   rgba(17, 122, 202, 0.05);
  box-shadow:   0 0 0 2px rgba(17, 122, 202, 0.08);
}
.nova-input::placeholder { color: var(--nova-muted); }

/* ── Error text under inputs ──────────────────────────────── */
.nova-field-err {
  display:     none;
  color:       var(--nova-error);
  font-size:   12px;
  margin-top:  5px;
  padding-left: 4px;
}

/* ── Label ────────────────────────────────────────────────── */
.nova-label {
  display:     block;
  font-size:   13px;
  font-weight: 500;
  color:       #334155;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

/* ── Sidebar Navigation ───────────────────────────────────── */
.nova-sidebar {
  width:       260px;
  min-height:  100vh;
  background:  rgba(4, 13, 26, 0.95);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(20px);
  padding:     24px 16px;
  position:    fixed;
  left: 0; top: 0;
  z-index:     100;
  display:     flex;
  flex-direction: column;
}
.nova-sidebar-logo {
  font-family:  var(--font-display);
  font-size:    22px;
  font-weight:  700;
  letter-spacing: -0.5px;
  padding:      12px 16px 28px;
}

.nova-nav-item {
  display:      flex;
  align-items:  center;
  gap:          12px;
  padding:      12px 16px;
  border-radius: 12px;
  color:        #94a3b8;
  font-weight:  500;
  font-size:    14px;
  text-decoration: none;
  transition:   all 0.2s;
  margin-bottom: 4px;
}
.nova-nav-item:hover { background: rgba(17,122,202,0.14); color: #f8fafc; }
.nova-nav-item.nav-active {
  background: rgba(17,122,202,0.18);
  color:      #f8fafc;
  border:     1px solid rgba(17,122,202,0.28);
}
.nova-nav-item svg { flex-shrink: 0; }

/* ── Main Content (offset for sidebar) ───────────────────── */
@media (min-width: 768px) {
  .nova-main { margin-left: 260px; }
}

/* ── Bottom Nav (Mobile) ──────────────────────────────────── */
.nova-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background:  rgba(4, 13, 26, 0.95);
  border-top:  1px solid var(--nova-border);
  backdrop-filter: blur(20px);
  z-index:     100;
  padding:     10px 0 calc(10px + env(safe-area-inset-bottom));
}
@media (max-width: 767px) {
  .nova-sidebar    { display: none; }
  .nova-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  }
  .nova-bottom-nav .bnav-item {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
  }
  .nova-main { padding: 20px 14px 90px; }
}
.bnav-item {
  display:       flex;
  flex-direction: column;
  align-items:   center;
  gap:           4px;
  color:         #64748b;
  text-decoration: none;
  font-size:     11px;
  padding:       6px 16px;
  border-radius: 10px;
  transition:    color 0.2s;
}
.bnav-item.nav-active, .bnav-item:hover { color: var(--nova-blue); }

/* ── Transaction Row ─────────────────────────────────────── */
.tx-icon {
  width:  40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tx-credit { background: rgba(16, 185, 129, 0.12); color: var(--nova-success); }
.tx-debit  { background: rgba(239, 68,  68,  0.12); color: var(--nova-error);   }
.tx-status-badge {
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.tx-completed { background: rgba(16,185,129,0.12); color: var(--nova-success); }
.tx-pending   { background: rgba(245,158,11,0.12);  color: var(--nova-gold);   }
.tx-failed    { background: rgba(239,68,68,0.12);   color: var(--nova-error);  }
.tx-loading   { display: flex; gap: 8px; justify-content: center; padding: 40px; }

/* ── Pulse Dots (loading) ─────────────────────────────────── */
.pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--nova-blue);
  animation: pulseDot 1.4s ease-in-out infinite;
}
.pulse-dot:nth-child(2) { animation-delay: 0.2s; }
.pulse-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulseDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1;   }
}

/* ── Spinning Icon ────────────────────────────────────────── */
.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Credit Score Arc ─────────────────────────────────────── */
.credit-arc {
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* ── Pagination ───────────────────────────────────────────── */
#tx-pagination { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 20px; }
.pager-btn {
  padding: 8px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: rgba(17,122,202,0.1); border: 1px solid rgba(17,122,202,0.25);
  color: var(--nova-blue); cursor: pointer; transition: all 0.2s;
}
.pager-btn:hover:not(:disabled) { background: rgba(17,122,202,0.2); }
.pager-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Shared dark banking shell ─────────────────────────── */
.banking-page {
  background:
    radial-gradient(circle at top left, rgba(32, 136, 232, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(21, 183, 214, 0.10), transparent 28%),
    linear-gradient(135deg, #020617 0%, #07111f 45%, #0f172a 100%);
  color: #e2e8f0;
  min-height: 100vh;
}
.banking-page .nova-layout {
  min-height: 100vh;
}
.banking-page .nova-card {
  background: rgba(8, 15, 32, 0.84);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.32);
  color: #f8fafc;
}
.banking-page .nova-input {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.24);
  color: #f8fafc;
}
.banking-page .nova-input::placeholder { color: #94a3b8; }
.banking-page .nova-label { color: #cbd5e1; }
.banking-page .nova-btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.22);
}
.banking-page .nova-btn-ghost:hover {
  background: rgba(30, 41, 59, 0.85);
}
.banking-page .nova-nav-item {
  color: #cbd5e1;
}
.banking-page .nova-nav-item:hover,
.banking-page .nova-nav-item.nav-active {
  color: #f8fafc;
}

/* ── Dashboard-specific dark banking theme ─────────────── */
.dashboard-page {
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.98) 0%, rgba(7, 17, 35, 0.96) 45%, rgba(12, 24, 43, 0.98) 100%);
  color: #e2e8f0;
}
.dashboard-page .nova-layout {
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(7, 17, 35, 0.82)),
    url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=1600&q=80') center/cover;
  min-height: 100vh;
}
.dashboard-page .nova-sidebar {
  background:
    linear-gradient(180deg, rgba(3, 10, 23, 0.97) 0%, rgba(6, 13, 28, 0.96) 100%),
    url('https://images.unsplash.com/photo-1518186285589-2f7649de83e0?auto=format&fit=crop&w=900&q=80') center/cover;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}
.dashboard-page .nova-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.3), rgba(2, 6, 23, 0.78));
  pointer-events: none;
}
.dashboard-page .nova-sidebar > * {
  position: relative;
  z-index: 1;
}
.dashboard-page .nova-card {
  background: rgba(9, 16, 32, 0.78);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.32);
  color: #f8fafc;
}
.dashboard-page .nova-card p,
.dashboard-page .nova-card span,
.dashboard-page .nova-card div,
.dashboard-page .nova-card h1,
.dashboard-page .nova-card h2,
.dashboard-page .nova-card h3,
.dashboard-page .nova-card label {
  color: inherit;
}
.dashboard-page .nova-card .tx-row {
  background: rgba(15, 23, 42, 0.72);
}
.dashboard-page .nova-input {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.24);
  color: #f8fafc;
}
.dashboard-page .nova-input::placeholder { color: #94a3b8; }
.dashboard-page .nova-label { color: #cbd5e1; }
.dashboard-page .nova-btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.22);
}
.dashboard-page .nova-btn-ghost:hover {
  background: rgba(30, 41, 59, 0.85);
}
.dashboard-page #balance-display,
.dashboard-page #credit-score-display {
  color: #f8fafc !important;
}
.dashboard-page .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(2, 8, 23, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 35px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(16px);
}
.dashboard-page .dashboard-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7dd3fc;
  margin-bottom: 6px;
}
.dashboard-page .dashboard-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.dashboard-page .dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 600;
}
.dashboard-page .balance-card {
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.86) 0%, rgba(2, 6, 23, 0.96) 100%),
              url('https://images.unsplash.com/photo-1579621970795-87facc2f976d?auto=format&fit=crop&w=1000&q=80') center/cover;
  border: 1px solid rgba(125, 211, 252, 0.22);
  position: relative; overflow: hidden;
}
.dashboard-page .balance-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.18) 0%, transparent 72%);
  pointer-events: none;
}
.dashboard-page .balance-card p,
.dashboard-page .balance-card div,
.dashboard-page .balance-card span {
  position: relative;
  z-index: 1;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}

/* ── Success 3D Badge ─────────────────────────────────────── */
#transfer-success {
  display: none;
  align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 16px;
  color: var(--nova-success);
  font-weight: 700;
  font-size: 16px;
  margin-top: 16px;
  transform-style: preserve-3d;
}

/* ── Admin Table ──────────────────────────────────────────── */
.nova-table { width: 100%; border-collapse: collapse; }
.nova-table th {
  text-align: left; padding: 14px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--nova-muted); border-bottom: 1px solid var(--nova-border);
}
.nova-table td {
  padding: 14px 16px;
  font-size: 14px; color: var(--nova-text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nova-table tr:last-child td { border-bottom: none; }
.nova-table tr:hover td { background: rgba(17,122,202,0.04); }

/* ── Stat Card ────────────────────────────────────────────── */
.stat-card {
  padding: 24px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--nova-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; color: var(--nova-muted); margin-top: 4px; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(17,122,202,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(17,122,202,0.5); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: rgba(17,122,202,0.3); }

/* ── N26-inspired public landing page ───────────────────── */
.landing-page {
  --landing-navy: #102c38;
  --landing-teal: #0d343f;
  --landing-mint: #72c7be;
  background: #fff;
  color: var(--landing-navy);
}

.landing-page::before,
.landing-page::after,
.landing-page .nova-layout::before {
  display: none;
}

.landing-header {
  position: relative;
  z-index: 20;
  height: 88px;
  background: #fff;
  border-bottom: 1px solid #edf1f2;
}

.landing-nav {
  width: min(1450px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 52px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--landing-navy);
  font-family: Arial, sans-serif;
  line-height: 1;
  text-decoration: none;
}

.hgb-logo-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(114, 199, 190, .8);
  border-radius: 13px;
  background: #103641;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.07);
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
}

.hgb-wordmark,
.hgb-auth-wordmark,
.hgb-admin-wordmark {
  color: #102c38 !important;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.hgb-auth-wordmark {
  font-size: 20px;
}

.hgb-admin-wordmark {
  color: #f8fafc !important;
  font-size: 20px;
}

.hgb-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}

.hgb-sidebar-brand .hgb-logo-mark {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  font-size: 12px;
}

.hgb-sidebar-brand .hgb-wordmark {
  max-width: 150px;
  color: #102c38 !important;
  font-size: 13px;
}

.brand-dashboard .nova-sidebar-logo .hgb-logo-mark,
.admin-page .nova-sidebar-logo .hgb-logo-mark {
  color: #fff !important;
}

.brand-dashboard .nova-sidebar-logo .hgb-wordmark,
.admin-page .nova-sidebar-logo .hgb-wordmark {
  color: #102c38 !important;
}

.logo-n {
  position: relative;
  margin-right: 1px;
}

.logo-n::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: currentColor;
}

.landing-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.landing-menu a,
.landing-login {
  color: var(--landing-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.landing-menu a:hover,
.landing-login:hover {
  color: #1d6772;
}

.landing-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-open,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--landing-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.landing-open:hover,
.hero-cta:hover {
  background: #174a57;
  transform: translateY(-1px);
}

.landing-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.landing-menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--landing-navy);
  transition: transform .2s ease, opacity .2s ease;
}

.landing-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.landing-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.landing-menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.landing-main {
  width: 100%;
  overflow: hidden;
}

.landing-hero {
  width: min(1450px, calc(100% - 64px));
  min-height: 580px;
  margin: 30px auto 0;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(10, 48, 62, 0.04), transparent 55%),
    #edf4f3;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  padding: 64px 30px 64px clamp(50px, 7vw, 112px);
  position: relative;
  z-index: 3;
}

.hero-kicker {
  margin-bottom: 18px;
  color: #55717a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 640px;
  color: var(--landing-navy);
  font-family: Arial, sans-serif;
  font-size: clamp(58px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -5px;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero-subtitle {
  max-width: 520px;
  color: #49636b;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  margin-bottom: 34px;
}

.hero-cta {
  min-height: 58px;
  padding: 0 30px;
  gap: 22px;
}

.hero-cta svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  height: 580px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 35%, rgba(114,199,190,0.42), transparent 24%),
    linear-gradient(145deg, #c9dfdc 0%, #82b2af 100%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.hero-orbit-one {
  width: 520px;
  height: 520px;
  right: -170px;
  bottom: -260px;
}

.hero-orbit-two {
  width: 360px;
  height: 360px;
  right: 10px;
  top: -190px;
}

.phone {
  position: absolute;
  z-index: 3;
  width: 270px;
  height: 520px;
  left: 23%;
  top: 75px;
  border: 9px solid #102c38;
  border-radius: 42px 42px 0 0;
  background: #102c38;
  box-shadow: 0 24px 60px rgba(16,44,56,0.28);
  transform: rotate(-3deg);
}

.phone-speaker {
  position: absolute;
  z-index: 5;
  width: 82px;
  height: 18px;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #102c38;
}

.phone-screen {
  height: 100%;
  padding: 32px 18px 18px;
  border-radius: 30px 30px 0 0;
  background: #f7faf9;
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #55717a;
  font-size: 12px;
  font-weight: 700;
}

.phone-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #102c38;
  color: #fff;
  font-size: 9px;
}

.phone-balance {
  display: block;
  margin-top: 14px;
  color: #102c38;
  font-size: 20px;
}

.phone-chart {
  height: 160px;
  margin-top: 26px;
}

.phone-chart svg {
  width: 100%;
  height: 100%;
}

.chart-area {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: #21aaa3;
  stroke-width: 4;
  stroke-linecap: round;
}

.phone-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.phone-actions span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #55717a;
  font-size: 8px;
  text-align: center;
}

.phone-actions b {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcece9;
  color: #102c38;
  font-size: 14px;
}

.bank-card {
  position: absolute;
  z-index: 5;
  width: 238px;
  height: 150px;
  right: 7%;
  bottom: 48px;
  padding: 20px;
  border-radius: 18px;
  background: #174451;
  color: #fff;
  box-shadow: 0 18px 45px rgba(16,44,56,0.26);
  transform: rotate(8deg);
}

.card-brand {
  display: flex;
  align-items: flex-end;
  font-size: 20px;
  line-height: 1;
}

.card-brand span {
  margin-right: 2px;
  font-weight: 700;
}

.card-chip {
  width: 34px;
  height: 26px;
  margin-top: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e6d8a9, #aaa374);
}

.bank-card p {
  margin-top: 8px;
  font-size: 9px;
  opacity: 0.72;
}

.card-number {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: 1px;
}

.plan-section {
  width: min(1450px, calc(100% - 64px));
  min-height: 330px;
  margin: 30px auto 0;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 50%, rgba(114,199,190,0.12), transparent 20%),
    var(--landing-teal);
  color: #fff;
  text-align: center;
}

.plan-heading {
  max-width: 720px;
  padding: 50px 24px;
}

.plan-heading h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 18px;
}

.plan-heading p {
  max-width: 600px;
  color: #d6e4e6;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 auto 28px;
}

.plan-heading a {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: #1d4a55;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.feature-grid {
  width: min(1450px, calc(100% - 64px));
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 260px;
  padding: 38px;
  border-radius: 28px;
  background: #edf4f3;
  color: var(--landing-navy);
}

.feature-index {
  display: block;
  color: #729098;
  font-size: 13px;
  margin-bottom: 64px;
}

.feature-grid h3 {
  font-size: 26px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.feature-grid p {
  max-width: 330px;
  color: #55717a;
  line-height: 1.55;
}

.landing-footer {
  width: min(1450px, calc(100% - 64px));
  min-height: 150px;
  margin: 0 auto;
  border-top: 1px solid #e7edee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 28px;
}

.landing-footer p {
  color: #6c8187;
  font-size: 13px;
}

@media (max-width: 980px) {
  .landing-nav {
    width: calc(100% - 36px);
  }

  .landing-menu {
    display: none;
  }

  .landing-actions {
    display: none;
  }

  .landing-menu-button {
    display: flex;
    margin-left: auto;
  }

  .landing-hero,
  .plan-section,
  .feature-grid,
  .landing-footer {
    width: calc(100% - 32px);
  }

  .landing-hero {
    grid-template-columns: 54% 46%;
  }

  .hero-content {
    padding-left: 36px;
  }

  .phone {
    left: 8%;
  }

  .bank-card {
    right: -80px;
  }
}

@media (max-width: 700px) {
  .landing-header {
    height: 72px;
  }

  .landing-logo {
    gap: 8px;
  }

  .landing-logo .hgb-logo-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .landing-logo .hgb-wordmark {
    font-size: 13px;
  }

  .footer-logo .hgb-wordmark {
    font-size: 12px;
  }

  .landing-hero {
    width: calc(100% - 24px);
    min-height: 760px;
    margin-top: 12px;
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 44px 24px 36px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 54px;
    letter-spacing: -3px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-visual {
    height: 430px;
  }

  .phone {
    width: 220px;
    height: 430px;
    left: 50%;
    top: 35px;
    transform: translateX(-58%) rotate(-3deg);
  }

  .bank-card {
    width: 190px;
    height: 120px;
    right: 4%;
    bottom: 24px;
  }

  .plan-section {
    width: calc(100% - 24px);
    min-height: 310px;
  }

  .plan-heading h2 {
    letter-spacing: -2px;
  }

  .feature-grid {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
  }

  .feature-index {
    margin-bottom: 42px;
  }

  .landing-footer {
    width: calc(100% - 24px);
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }
}

#joint {
  min-height: 340px;
}

#joint .story-copy {
  padding-top: 36px;
  padding-bottom: 36px;
}

#joint .joint-visual {
  height: 320px;
  min-height: 320px;
}

@media (max-width: 700px) {
  #joint {
    min-height: 0;
  }

  #joint .story-copy {
    padding: 28px 20px 20px;
  }

  #joint .joint-visual {
    height: 240px;
    min-height: 240px;
  }
}

/* ── Complete N26-style homepage sections ───────────────── */
.n26-story {
  width: min(1450px, calc(100% - 64px));
  min-height: 390px;
  margin: 30px auto 0;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  overflow: hidden;
}

.story-copy {
  max-width: 620px;
  padding: 54px 24px 54px clamp(40px, 6vw, 88px);
}

.story-copy h2,
.n26-investment h2,
.faq-section h2,
.reads-heading h2 {
  color: var(--landing-navy);
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.story-copy p {
  max-width: 520px;
  margin: 18px 0 28px;
  color: #55717a;
  font-size: 18px;
  line-height: 1.55;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--landing-navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #9ab8bb;
  padding-bottom: 7px;
}

.n26-story-light { background: #edf4f3; }
.n26-story-mint { background: #b9d8d3; }
.n26-story-sand { background: #ede8dc; }
.n26-story-travel { background: #dce9ef; }

.story-device {
  height: 390px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(145deg, #c7deda, #93bbb6);
}

.mini-phone {
  width: 290px;
  height: 350px;
  padding: 54px 28px 24px;
  border: 9px solid #102c38;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  background: #f7faf9;
  color: #55717a;
  font-size: 12px;
  box-shadow: 0 22px 50px rgba(16,44,56,.18);
}

.mini-phone strong {
  display: block;
  margin-top: 12px;
  color: var(--landing-navy);
  font-size: 28px;
}

.mini-bars {
  height: 150px;
  margin-top: 45px;
  display: flex;
  align-items: flex-end;
  gap: 11px;
  border-bottom: 1px solid #b4c9c6;
}

.mini-bars i {
  width: 28px;
  border-radius: 8px 8px 0 0;
  background: #76bdb4;
}
.mini-bars i:nth-child(1) { height: 38%; }
.mini-bars i:nth-child(2) { height: 55%; }
.mini-bars i:nth-child(3) { height: 47%; }
.mini-bars i:nth-child(4) { height: 72%; }
.mini-bars i:nth-child(5) { height: 64%; }
.mini-bars i:nth-child(6) { height: 92%; background: #174451; }

.joint-visual {
  height: 390px;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.55), transparent 30%);
}

.joint-person {
  position: absolute;
  z-index: 2;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(16,44,56,.16);
}

.joint-person-one { left: 28%; top: 95px; background: #164451; }
.joint-person-two { right: 20%; top: 130px; background: #d1a77a; }
.joint-ring {
  position: absolute;
  width: 290px;
  height: 290px;
  left: 50%;
  top: 50%;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.savings-visual {
  width: 65%;
  min-width: 280px;
  min-height: 230px;
  margin: auto;
  padding: 38px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,44,56,.10);
  color: #55717a;
}

.savings-visual strong {
  display: block;
  margin-top: 28px;
  color: var(--landing-navy);
  font-size: 52px;
  letter-spacing: -3px;
}
.savings-visual small { font-size: 16px; letter-spacing: 0; }
.savings-progress {
  height: 8px;
  margin-top: 35px;
  border-radius: 99px;
  background: #dce6e3;
  overflow: hidden;
}
.savings-progress i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: #174451;
}

.n26-investment {
  width: min(1450px, calc(100% - 64px));
  min-height: 260px;
  margin: 30px auto 0;
  padding: 48px clamp(40px, 6vw, 88px);
  border-radius: 34px;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  background: #102c38;
  color: #fff;
}
.n26-investment h2 { color: #fff; max-width: 700px; }
.section-kicker {
  margin-bottom: 14px;
  color: #99b7bd;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.investment-copy { padding-left: 30px; }
.investment-copy p {
  margin-bottom: 28px;
  color: #d5e1e3;
  line-height: 1.55;
}
.investment-copy .story-link { color: #fff; border-color: #76969d; }

.travel-card-stack {
  height: 390px;
  position: relative;
  background: linear-gradient(145deg, #174451, #0d252f);
  overflow: hidden;
}
.travel-card-stack i {
  position: absolute;
  width: 220px;
  height: 138px;
  right: 16%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(0,0,0,.16);
}
.travel-card-stack i:nth-child(1) { top: 30px; background: #b6d0d0; transform: rotate(-12deg); }
.travel-card-stack i:nth-child(2) { top: 88px; background: #7fa8aa; transform: rotate(-5deg); }
.travel-card-stack i:nth-child(3) { top: 150px; background: #4f7d82; transform: rotate(4deg); }
.travel-card-stack i:nth-child(4) { top: 212px; background: #102c38; transform: rotate(12deg); }

.n26-footnotes {
  width: min(1450px, calc(100% - 64px));
  margin: 16px auto 0;
  color: #71858a;
  font-size: 11px;
  line-height: 1.55;
}
.n26-footnotes p { margin: 5px 0; }

.faq-section {
  width: min(1450px, calc(100% - 64px));
  margin: 30px auto 0;
  padding: 58px clamp(40px, 6vw, 88px);
  border-radius: 34px;
  background: #edf4f3;
}
.faq-section h2 { margin-bottom: 32px; }
.faq-list details {
  border-bottom: 1px solid #cad8d8;
}
.faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--landing-navy);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span {
  font-size: 24px;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p {
  max-width: 820px;
  padding: 0 40px 24px 0;
  color: #55717a;
  line-height: 1.55;
}

.reads-section {
  width: min(1450px, calc(100% - 64px));
  margin: 30px auto;
}

.home-company-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  width: min(1450px, calc(100% - 64px));
  margin: 30px auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid #dce8e4;
  border-radius: 28px;
  background: #eaf2ef;
}

.home-company-heading {
  align-self: center;
}

.home-company-heading h2 {
  max-width: 500px;
  margin: 10px 0 14px;
  color: var(--landing-navy);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.home-company-heading > p:last-child {
  max-width: 430px;
  color: #587078;
  line-height: 1.6;
}

.home-company-grid {
  display: grid;
  gap: 10px;
}

.home-company-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(16, 54, 65, .1);
  border-radius: 16px;
  background: #fff;
  color: var(--landing-navy);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-company-card:hover,
.home-company-card:focus-visible {
  border-color: #9cc4b8;
  box-shadow: 0 12px 28px rgba(16, 54, 65, .08);
  transform: translateY(-2px);
}

.home-company-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #eaf2ef;
  color: #176b5b;
  font-size: 11px;
  font-weight: 750;
}

.home-company-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.home-company-card-copy strong {
  font-size: 17px;
}

.home-company-card-copy small {
  color: #587078;
  font-size: 12px;
  line-height: 1.45;
}

.home-company-arrow {
  color: #176b5b;
  font-size: 21px;
  transition: transform .2s ease;
}

.home-company-card:hover .home-company-arrow,
.home-company-card:focus-visible .home-company-arrow {
  transform: translateX(3px);
}

.reads-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.reads-heading h2 { font-size: clamp(38px, 4vw, 54px); }
.reads-heading p { color: #55717a; }
.read-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.read-cards article {
  min-width: 0;
  color: var(--landing-navy);
}
.read-art {
  display: block;
  width: 100%;
  height: 220px;
  margin-bottom: 18px;
  border-radius: 24px;
  object-fit: cover;
  filter: saturate(.88) contrast(.97);
}
.read-cards h3 { font-size: 21px; line-height: 1.25; }
.read-cards article > a {
  color: var(--landing-navy);
  text-decoration: none;
}
.read-cards p { margin-top: 8px; color: #55717a; line-height: 1.5; }

.n26-footer {
  background: #102c38;
  color: #fff;
  padding: 70px max(32px, calc((100% - 1450px) / 2));
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-columns h2 {
  margin-bottom: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-columns a {
  display: block;
  margin: 10px 0;
  color: #d3e0e2;
  font-size: 14px;
  text-decoration: none;
}
.footer-bottom {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  padding-top: 28px;
}
.footer-bottom .footer-logo { color: #fff; align-self: end; }
.footer-bottom p {
  justify-self: end;
  color: #9db2b6;
  font-size: 12px;
}
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .n26-story,
  .n26-investment,
  .n26-footnotes,
  .faq-section,
  .home-company-section,
  .reads-section {
    width: calc(100% - 32px);
  }
  .n26-investment { grid-template-columns: 52% 48%; }
  .reads-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-company-section { grid-template-columns: 1fr; gap: 24px; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-bottom p { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 700px) {
  .n26-story,
  .n26-investment,
  .n26-footnotes,
  .faq-section,
  .home-company-section,
  .reads-section {
    width: calc(100% - 24px);
  }
  .n26-story {
    grid-template-columns: 1fr;
  }
  .story-copy {
    padding: 42px 24px;
  }
  .story-copy h2,
  .n26-investment h2,
  .faq-section h2,
  .reads-heading h2 {
    font-size: 38px;
    letter-spacing: -2px;
  }
  .story-device,
  .joint-visual,
  .travel-card-stack {
    height: 330px;
  }
  .joint-person { width: 125px; height: 125px; }
  .joint-person-one { left: 15%; top: 95px; }
  .joint-person-two { right: 12%; top: 135px; }
  .n26-investment {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .investment-copy { padding-left: 0; }
  .read-cards {
    grid-template-columns: 1fr;
  }
  .read-art { height: 190px; }
  .faq-section { padding: 42px 24px; }
  .home-company-section { padding: 30px 22px; border-radius: 22px; }
  .home-company-card { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 10px; padding: 15px 13px; }
  .home-company-number { width: 34px; height: 34px; }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .n26-footer { padding: 50px 24px 30px; }
  .footer-bottom {
    grid-template-columns: 1fr;
  }
  .social-links { order: 2; }
  .footer-bottom p { justify-self: start; }
}

/* ── Unified landing-page visual system ───────────────────── */
.landing-page {
  font-family: var(--font-body);
  background: #f7f9f8;
}

.landing-page a,
.landing-page button,
.landing-page summary {
  font-family: inherit;
}

.landing-header,
.landing-hero,
.n26-story,
.n26-investment,
.plan-section,
.n26-footnotes,
.faq-section,
.reads-section,
.landing-footer {
  width: min(1450px, calc(100% - 64px));
}

.landing-header {
  height: 80px;
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(16,44,56,.08);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-nav {
  width: 100%;
  padding: 0 32px;
  gap: 44px;
}

.landing-main {
  background: #f7f9f8;
  padding-bottom: 24px;
}

.landing-logo,
.hero-content h1,
.story-copy h2,
.n26-investment h2,
.plan-heading h2,
.faq-section h2,
.reads-heading h2 {
  font-family: var(--font-body);
}

.landing-logo {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -2.5px;
}

.landing-menu a,
.landing-login {
  font-size: 15px;
  font-weight: 600;
}

.landing-open,
.hero-cta,
.plan-heading a {
  min-height: 52px;
  border-radius: 999px;
  background: #103641;
  box-shadow: none;
}

.landing-hero,
.n26-story,
.n26-investment,
.plan-section,
.faq-section {
  border-radius: 28px;
}

.landing-hero,
.n26-story,
.n26-investment,
.plan-section,
.faq-section,
.reads-section,
.n26-footnotes {
  margin-top: 24px;
  margin-bottom: 0;
}

.landing-hero {
  min-height: 580px;
  margin-top: 24px;
  background: #edf4f2;
}

.hero-content h1 {
  font-size: clamp(58px, 5.8vw, 82px);
  letter-spacing: -5px;
  font-weight: 650;
}

.hero-kicker,
.section-kicker {
  color: #658087;
}

.story-copy h2,
.n26-investment h2,
.plan-heading h2,
.faq-section h2,
.reads-heading h2 {
  font-weight: 650;
  letter-spacing: -3px;
}

.n26-story {
  min-height: 420px;
}

.story-device,
.joint-visual,
.travel-card-stack {
  height: 420px;
}

.n26-story-light {
  background: #edf4f2;
}

.n26-story-mint {
  background: #dcebe7;
}

.n26-story-sand {
  background: #eeeae0;
}

.n26-story-travel {
  background: #e3edf0;
}

.story-copy p,
.investment-copy p,
.plan-heading p,
.faq-list details p,
.read-cards p,
.reads-heading p {
  color: #587078;
}

.story-link {
  min-height: 42px;
  border-bottom-width: 1px;
  border-color: #91a9ac;
}

.n26-investment {
  background: #103641;
}

.plan-section {
  background: #103641;
}

.plan-heading a {
  background: #1d4a55;
}

.n26-footnotes {
  padding: 8px 8px 0;
}

.faq-section {
  background: #edf4f2;
}

.faq-list details {
  border-bottom-color: #d3dfdd;
}

.read-cards {
  gap: 24px;
}

.read-art {
  border-radius: 20px;
}

.n26-footer {
  width: 100%;
  background: #103641;
  padding-left: max(32px, calc((100% - 1450px) / 2));
  padding-right: max(32px, calc((100% - 1450px) / 2));
}

.footer-columns {
  width: min(1450px, 100%);
  margin: 0 auto;
}

.footer-bottom {
  width: min(1450px, 100%);
  margin: 0 auto;
}

/* ── Homepage photography ──────────────────────────────────── */
.hero-visual > img,
.story-illustration {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(.97);
}

.hero-visual > img {
  object-position: center;
}

.savings-visual {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .landing-menu-open {
    overflow: hidden;
  }

  .landing-header,
  .landing-hero,
  .n26-story,
  .n26-investment,
  .plan-section,
  .n26-footnotes,
  .faq-section,
  .reads-section {
    width: calc(100% - 32px);
  }

  .landing-nav {
    padding: 0 16px;
  }

  .landing-mobile-menu {
    position: absolute;
    z-index: 30;
    top: 72px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid #e1e9e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16,44,56,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .2s ease;
  }

  .landing-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .landing-mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--landing-navy);
    font-weight: 600;
    text-decoration: none;
  }

  .landing-mobile-menu .landing-open {
    margin-top: 8px;
    justify-content: center;
    color: #fff;
  }
}

@media (max-width: 700px) {
  .landing-header {
    width: 100%;
  }

  .landing-nav {
    width: 100%;
  }

  .landing-hero,
  .n26-story,
  .n26-investment,
  .plan-section,
  .n26-footnotes,
  .faq-section,
  .reads-section {
    width: calc(100% - 24px);
  }

  .landing-hero,
  .n26-story,
  .n26-investment,
  .plan-section,
  .faq-section {
    border-radius: 22px;
  }

  .landing-hero {
    margin-top: 12px;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .n26-story {
    margin-top: 16px;
  }

  .story-copy h2,
  .n26-investment h2,
  .plan-heading h2,
  .faq-section h2,
  .reads-heading h2 {
    font-size: 38px;
  }

  .story-device,
  .joint-visual,
  .travel-card-stack {
    height: 330px;
  }
}

/* Full-bleed photographic hero, inspired by the reference layout. */
.landing-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: min(780px, calc(100svh - 80px));
  margin: 0 auto;
  border-radius: 0;
  background: #102c38;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #23464a;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 31, .62), rgba(7, 27, 31, .22) 50%, rgba(7, 27, 31, .34));
  content: '';
}

.hero-visual > img {
  object-position: center 48%;
}

.hero-content {
  width: min(1100px, 100%);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(72px, 10vh, 120px) 32px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.hero-kicker {
  color: rgba(255, 255, 255, .82);
}

.hero-content h1 {
  max-width: 100%;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(54px, 7vw, 92px);
  letter-spacing: -.055em;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .92);
}

.hero-cta {
  background: #fff;
  color: #102c38;
}

.hero-cta:hover {
  background: #e8f2ef;
}

@media (max-width: 700px) {
  .landing-hero {
    width: 100%;
    min-height: max(680px, calc(100svh - 72px));
    margin-top: 0;
  }

  .hero-content {
    min-height: inherit;
    padding: 66px 24px 48px;
    align-items: center;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(48px, 13vw, 64px);
    letter-spacing: -.055em;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-cta {
    width: auto;
    min-width: min(100%, 240px);
  }
}

.hero-content > * {
  animation: landing-copy-enter .75s both;
}

.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }

@keyframes landing-copy-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.landing-motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.25,1);
}

html.landing-motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.read-cards article:nth-child(2) { transition-delay: .08s; }
.read-cards article:nth-child(3) { transition-delay: .16s; }

.read-cards img {
  transition: transform .45s cubic-bezier(.2,.7,.25,1), filter .45s ease;
}

.read-cards a:hover img,
.read-cards a:focus-visible img {
  transform: translateY(-4px) scale(1.025);
  filter: saturate(1) contrast(1);
}

.plan-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(210px, 1fr);
  justify-items: center;
  gap: 2px;
  width: min(1450px, calc(100% - 64px));
  min-height: 540px;
  padding: 38px 28px 22px;
  overflow: hidden;
  border-radius: 30px;
  background: #103641;
}

.plan-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 38, 45, .90) 0%, rgba(12, 46, 52, .78) 44%, rgba(10, 37, 45, .52) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(83, 190, 166, .35), transparent 56%);
  content: '';
}

.plan-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(.72);
}

.plan-heading {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 18px 24px 0;
}

.plan-heading .plan-kicker {
  margin: 0 0 14px;
  color: #b7ddd0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plan-heading h2 {
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -.045em;
}

.plan-heading > p:not(.plan-kicker) {
  color: rgba(255,255,255,.86);
}

.plan-heading a {
  min-height: 52px;
  background: #fff;
  color: #103641;
  transition: transform .2s ease, background .2s ease;
}

.plan-heading a:hover {
  transform: translateY(-2px);
  background: #e8f2ef;
}

.plan-card-scene {
  position: relative;
  align-self: stretch;
  width: min(460px, 100%);
  min-height: 220px;
  perspective: 900px;
}

.plan-card {
  position: absolute;
  left: 50%;
  top: 24px;
  width: clamp(220px, 28vw, 300px);
  height: clamp(138px, 17.5vw, 188px);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 17px;
  box-shadow: 0 24px 55px rgba(0,0,0,.28);
  transform-origin: center;
  animation: plan-card-float 5.2s ease-in-out infinite;
}

.plan-card-back {
  --card-tilt: 13deg;
  background: linear-gradient(140deg, #96d4c2, #498d82);
  animation-delay: -.9s;
}

.plan-card-middle {
  --card-tilt: -10deg;
  background: linear-gradient(140deg, #f3d9a1, #bb9154);
  animation-delay: -1.8s;
}

.plan-card-front {
  --card-tilt: 2deg;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 21px;
  color: #fff;
  background: linear-gradient(135deg, #174b53, #102c38 72%);
  animation-delay: -.3s;
}

.plan-card-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .12em;
}

.plan-card-chip {
  width: 34px;
  height: 26px;
  margin-top: 21px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 6px;
  background: linear-gradient(135deg, #e8d6a5, #bba06c);
}

.plan-card-number {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: .12em;
}

.plan-card-type {
  margin-top: 6px;
  color: rgba(255,255,255,.7);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
}

@keyframes plan-card-float {
  0%, 100% { transform: translate(-50%, 0) rotate(var(--card-tilt)); }
  50% { transform: translate(-50%, -10px) rotate(var(--card-tilt)); }
}

@media (max-width: 700px) {
  .plan-section {
    width: calc(100% - 24px);
    min-height: 500px;
    grid-template-rows: auto minmax(180px, 1fr);
    padding: 30px 16px 14px;
    border-radius: 22px;
  }

  .plan-heading {
    padding: 18px 8px 0;
  }

  .plan-heading h2 {
    font-size: 42px;
  }

  .plan-card-scene {
    min-height: 190px;
  }

  .plan-card {
    top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > *,
  .plan-card {
    animation: none;
  }

  html.landing-motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .read-cards img,
  .plan-heading a {
    transition: none;
  }
}

/* Alternate photo and copy placement to match the reference's editorial rhythm. */
.n26-story {
  grid-template-columns: 52% 48%;
}

.n26-story-light .story-copy,
.n26-story-sand .story-copy,
.n26-story-travel .story-copy {
  order: 2;
}

.n26-story-light .story-device,
.n26-story-sand .savings-visual,
.n26-story-travel .travel-card-stack {
  order: 1;
}

.story-device,
.joint-visual,
.savings-visual,
.travel-card-stack {
  align-self: stretch;
  height: auto;
  min-height: 420px;
  padding: 18px;
  overflow: hidden;
}

.story-illustration {
  border-radius: 20px;
}

.n26-investment {
  grid-template-columns: 52% 48%;
  min-height: 420px;
}

.investment-intro {
  max-width: 600px;
  padding: 24px clamp(16px, 3vw, 40px);
}

.investment-intro h2 {
  margin-bottom: 20px;
}

.investment-intro > p:not(.section-kicker) {
  max-width: 520px;
  margin-bottom: 26px;
  color: #d5e1e3;
  font-size: 17px;
  line-height: 1.6;
}

.investment-intro .story-link {
  color: #fff;
  border-color: #76969d;
}

.investment-visual {
  min-width: 0;
  height: 100%;
  min-height: 360px;
  padding: 18px;
}

.investment-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 20px;
  object-fit: cover;
  filter: saturate(.88) contrast(.97);
}

@media (max-width: 700px) {
  .n26-story {
    grid-template-columns: 1fr;
  }

  .n26-story-light .story-copy,
  .n26-story-sand .story-copy,
  .n26-story-travel .story-copy,
  .n26-story-light .story-device,
  .n26-story-sand .savings-visual,
  .n26-story-travel .travel-card-stack {
    order: initial;
  }

  .story-device,
  .joint-visual,
  .savings-visual,
  .travel-card-stack {
    min-height: 330px;
    height: 330px;
    padding: 14px;
  }

  .story-illustration {
    min-height: 0;
  }

  .n26-investment {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 12px 12px;
  }

  .investment-intro {
    padding: 18px 16px 24px;
  }

  .investment-visual,
  .investment-visual img {
    min-height: 250px;
    height: 250px;
  }
}

/* ── Shared content-page layout ───────────────────────────── */
.content-page {
  background: #f7f9f8;
  min-height: 100vh;
}

.content-main {
  width: min(1450px, calc(100% - 64px));
  margin: 24px auto 32px;
}

.content-hero {
  min-height: 330px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(40px, 7vw, 96px);
  background:
    radial-gradient(circle at 85% 20%, rgba(114,199,190,.34), transparent 24%),
    #edf4f2;
}

.content-hero.has-image {
  display: grid;
  min-height: 400px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(32px, 5vw, 72px);
}

.content-hero.has-image .content-hero-copy {
  min-width: 0;
}

.content-hero.has-image h1 {
  font-size: clamp(48px, 5.2vw, 72px);
}

.content-hero.has-image img {
  display: block;
  width: 100%;
  height: 320px;
  border-radius: 22px;
  object-fit: cover;
}

.content-hero h1 {
  max-width: 900px;
  margin: 8px 0 18px;
  color: var(--landing-navy);
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -5px;
}

.content-hero > p:last-child,
.content-hero-copy > p:last-child {
  max-width: 700px;
  color: #587078;
  font-size: 20px;
  line-height: 1.55;
}

.content-notice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 24px;
  padding: 26px 30px;
  border: 1px solid #d5e4de;
  border-radius: 20px;
  background: #eaf3ef;
}

.content-notice-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #d3e6dc;
  color: #163f3d;
  font-size: 20px;
  font-weight: 700;
}

.content-notice h2 {
  margin: 0 0 6px;
  color: var(--landing-navy);
  font-size: 18px;
}

.content-notice p {
  margin: 0;
  color: #405f62;
  line-height: 1.6;
}

.content-feature-list {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.content-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid #e6ecea;
  border-radius: 24px;
  background: #fff;
}

.content-feature.is-reversed img {
  order: 2;
}

.content-feature > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.content-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 5vw, 68px);
}

.content-feature-copy .section-kicker {
  margin: 0 0 14px;
}

.content-feature-copy h2 {
  margin: 0 0 14px;
  color: var(--landing-navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.content-feature-copy > p:last-child {
  margin: 0;
  color: #587078;
  line-height: 1.65;
}

.content-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.content-sections article {
  min-height: 220px;
  padding: 36px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e6ecea;
}

.content-sections h2 {
  margin-bottom: 14px;
  color: var(--landing-navy);
  font-size: 24px;
  letter-spacing: -1px;
}

.content-sections p {
  color: #587078;
  line-height: 1.55;
}

.content-cta {
  min-height: 260px;
  margin-top: 24px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px clamp(40px, 7vw, 96px);
  background: #103641;
  color: #fff;
}

.content-cta h2 {
  max-width: 650px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.content-cta .hero-cta {
  flex-shrink: 0;
  background: #fff;
  color: #103641;
}

.content-footer {
  padding-top: 36px;
  padding-bottom: 36px;
}

.password-reset-panel {
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
  margin: 0 auto 34px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(16, 54, 65, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 54, 65, .08);
}

.password-reset-panel h2,
.password-reset-panel p {
  margin: 0;
}

.password-reset-panel h2 {
  color: #103641;
  font-size: 24px;
}

.password-reset-panel > p,
.password-reset-hint {
  color: #55717a;
  font-size: 14px;
  line-height: 1.55;
}

.password-reset-panel form {
  display: grid;
  gap: 10px;
}

.password-reset-panel label {
  margin-top: 6px;
  color: #244851;
  font-size: 13px;
  font-weight: 600;
}

.password-reset-panel .nova-input {
  width: 100%;
  color: #102c38;
  background: #fff;
}

.password-reset-panel .nova-btn {
  justify-self: start;
  margin-top: 6px;
}

.password-reset-hint { margin: 0; }
#password-reset-feedback { min-height: 20px; color: #244851; font-size: 14px; }

.footer-contact-details {
  width: min(1450px, 100%);
  margin: 0 auto;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-contact-details > h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.footer-contact-item {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.footer-contact-grid h3 {
  min-height: 2.8em;
  margin: 0 0 8px;
  color: #9db2b6;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-contact-grid p,
.footer-contact-grid address,
.footer-contact-grid a {
  margin: 0;
  color: #e2ecee;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer-contact-grid address {
  font-style: normal;
}

.footer-contact-grid a,
.footer-contact-link {
  text-decoration: none;
}

.footer-contact-grid a:hover,
.footer-contact-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-resource-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.footer-resource-links h2 {
  flex-basis: 100%;
  margin: 0;
  color: #9db2b6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-resource-links a {
  color: #e2ecee;
  font-size: 14px;
  text-decoration: none;
}

.footer-resource-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-footer .footer-bottom {
  min-height: 70px;
  align-items: center;
  padding-top: 0;
}

@media (max-width: 980px) {
  .content-main {
    width: calc(100% - 32px);
  }
  .content-sections {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-hero.has-image {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr);
  }
  .content-hero.has-image img {
    height: 280px;
  }
}

@media (max-width: 700px) {
  .content-main {
    width: calc(100% - 24px);
  }
  .footer-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
  .footer-contact-item {
    padding: 16px;
  }
  .footer-resource-links {
    gap: 12px 18px;
  }
  .content-hero,
  .content-cta {
    border-radius: 22px;
  }
  .content-hero {
    min-height: 300px;
    padding: 42px 24px;
  }
  .content-hero.has-image {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 24px 24px;
  }
  .content-hero.has-image img {
    height: 230px;
    border-radius: 16px;
  }
  .content-hero h1 {
    font-size: 48px;
    letter-spacing: -3px;
  }
  .content-hero.has-image h1 {
    font-size: 46px;
  }
  .content-notice {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 18px;
  }
  .content-notice-mark {
    width: 34px;
    height: 34px;
  }
  .content-feature {
    grid-template-columns: 1fr;
  }
  .content-feature.is-reversed img {
    order: 0;
  }
  .content-feature > img {
    height: 230px;
    min-height: 0;
  }
  .content-feature-copy {
    padding: 28px 24px 32px;
  }
  .content-sections {
    grid-template-columns: 1fr;
  }
  .content-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 24px;
  }
  .content-cta h2 {
    font-size: 38px;
  }
  .content-footer .footer-bottom {
    grid-template-columns: 1fr;
  }
}

.contact-main {
  width: min(1320px, calc(100% - 64px));
  margin: 34px auto 72px;
}

.contact-intro {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(36px, 6vw, 78px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(114,199,190,.34), transparent 28%),
    linear-gradient(130deg, #edf4f2, #f8fbfa 68%);
}

.contact-intro h1 {
  margin: 10px 0 16px;
  color: var(--landing-navy);
  font-size: clamp(58px, 7vw, 88px);
  line-height: .96;
  letter-spacing: -5px;
}

.contact-intro > p:not(.section-kicker) {
  max-width: 670px;
  color: #587078;
  font-size: 19px;
  line-height: 1.6;
}

.contact-promise-list {
  display: flex;
}

.contact-promise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 630px;
  margin-top: 24px;
}

.contact-promise-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(16,54,65,.14);
  border-radius: 12px;
  color: #176b5b;
  font-size: 21px;
}

.contact-promise div {
  display: grid;
  gap: 4px;
}

.contact-promise strong {
  color: var(--landing-navy);
}

.contact-promise div span {
  color: #587078;
  line-height: 1.5;
}

.contact-form-card {
  width: min(920px, calc(100% - 48px));
  position: relative;
  z-index: 1;
  margin: -34px auto 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid #e3ebe8;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,44,56,.1);
}

.contact-form-heading {
  margin-bottom: 28px;
}

.contact-form-heading h2 {
  margin: 6px 0 8px;
  color: var(--landing-navy);
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -1.8px;
}

.contact-form-heading > p:last-child {
  color: #71858a;
}

.contact-form-heading > p:last-child span,
.contact-field label span {
  color: #b7473c;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field label {
  color: #183c45;
  font-size: 14px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #d5e0dc;
  border-radius: 12px;
  outline: none;
  background: #fbfcfc;
  color: #173a43;
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.55;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #31817b;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(49,129,123,.12);
}

.contact-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #73878b;
  font-size: 12px;
}

.contact-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}

.contact-submit-row p {
  max-width: 450px;
  color: #71858a;
  font-size: 13px;
  line-height: 1.5;
}

.contact-submit-row a {
  color: #176b5b;
  font-weight: 700;
}

.contact-submit {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 19px;
  border: 0;
  border-radius: 12px;
  background: #103641;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: #1d6772;
}

.contact-submit:disabled {
  transform: none;
  opacity: .7;
  cursor: wait;
}

.contact-feedback {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 12px;
  line-height: 1.5;
}

.contact-feedback.is-success {
  border-color: #b4dbca;
  background: #eef8f3;
  color: #176b4d;
}

.contact-feedback.is-error {
  border-color: #ebc2bc;
  background: #fff4f1;
  color: #a33b32;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-help-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.contact-help-links a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid #e4ece9;
  border-radius: 18px;
  background: #fff;
  color: var(--landing-navy);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}

.contact-help-links a:hover {
  transform: translateY(-2px);
  border-color: #a9cec5;
}

.contact-help-links a span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #71858a;
  font-size: 13px;
  line-height: 1.45;
}

.contact-help-links b {
  color: #176b5b;
}

.admin-contact-messages {
  display: grid;
  gap: 14px;
}

.admin-contact-message {
  padding: 22px;
  border: 1px solid #e1e9e6;
  border-radius: 18px;
  background: #fff;
}

.admin-contact-message.is-unread {
  border-color: #a7cec4;
  background: linear-gradient(110deg, #f2faf7, #fff 58%);
}

.admin-contact-message-header,
.admin-contact-meta,
.admin-contact-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.admin-contact-message-header h3 {
  color: #173a43;
  font-size: 17px;
  font-weight: 750;
}

.admin-contact-sender,
.admin-contact-meta {
  margin-top: 5px;
  color: #6b8186;
  font-size: 13px;
}

.admin-contact-meta {
  justify-content: flex-start;
  margin-top: 16px;
}

.admin-contact-meta > span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf4f2;
  color: #285d5d;
  font-weight: 700;
  text-transform: capitalize;
}

.admin-contact-body {
  margin: 17px 0;
  color: #34545a;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-contact-actions {
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #edf1ef;
}

.contact-read-status,
.contact-unread-status {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef1f0;
  color: #687b7e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-unread-status {
  background: #e2f3ed;
  color: #176b4d;
}

@media (max-width: 700px) {
  .contact-main {
    width: calc(100% - 24px);
    margin-top: 14px;
    margin-bottom: 44px;
  }

  .contact-intro {
    min-height: 0;
    padding: 36px 24px 56px;
    border-radius: 22px;
  }

  .contact-intro h1 {
    font-size: 58px;
    letter-spacing: -3px;
  }

  .contact-intro > p:not(.section-kicker) {
    font-size: 16px;
  }

  .contact-form-card {
    width: calc(100% - 20px);
    margin-top: -26px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .contact-form-grid,
  .contact-help-links {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .admin-contact-message-header {
    align-items: flex-start;
  }
}

/* ── Homepage palette for account and dashboard screens ─── */
.auth-page,
.dashboard-page.brand-dashboard,
.admin-page {
  --nova-blue: #103641;
  --nova-blue-dark: #0c2d36;
  --nova-cyan: #1d6772;
  --nova-text: #102c38;
  --nova-muted: #587078;
  background: #f7f9f8 !important;
  color: #102c38;
}

.auth-page {
  background:
    radial-gradient(circle at 85% 12%, rgba(114,199,190,.22), transparent 25%),
    #f7f9f8 !important;
}

.auth-page .auth-wrap {
  max-width: 460px;
}

.auth-page .nova-card,
.admin-auth-page .admin-card {
  background: #fff !important;
  border: 1px solid #e1e9e7 !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 55px rgba(16,44,56,.09) !important;
  color: #102c38 !important;
}

.auth-page .nova-card h1,
.auth-page .admin-card h1 {
  color: #102c38 !important;
}

.auth-page .nova-card p,
.auth-page .admin-card p {
  color: #587078 !important;
}

.auth-page .nova-card a:not([href=""]),
.auth-page .admin-card a:not([href=""]) {
  color: #1d6772 !important;
}

.auth-page .nova-input {
  background: #f7f9f8 !important;
  border-color: #d7e2df !important;
  color: #102c38 !important;
}

.auth-page .nova-input:focus {
  border-color: #1d6772 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(114,199,190,.25) !important;
}

.auth-page .nova-input::placeholder {
  color: #84989a !important;
}

.auth-page .nova-label {
  color: #294650 !important;
}

.auth-page .nova-btn-primary,
.auth-page .btn-admin {
  background: #103641 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.auth-page .nova-btn-primary:hover,
.auth-page .btn-admin:hover {
  background: #1d4a55 !important;
}

.auth-page .cred-chip {
  background: #e8f2f0 !important;
  border-color: #c9ded9 !important;
  color: #103641 !important;
}

.auth-page .cred-chip:hover,
.auth-page .copy-btn:hover,
.auth-page .pw-toggle:hover {
  color: #1d6772 !important;
}

.auth-page .divider {
  color: #72878c !important;
}

.auth-page .divider::before,
.auth-page .divider::after {
  background: #e1e9e7 !important;
}

.auth-page .nova-card [style*="rgba(255,255,255"],
.auth-page .admin-card [style*="rgba(124,58,237"] {
  background-color: #f7f9f8 !important;
  border-color: #e1e9e7 !important;
}

.auth-page [style*="#cbd5e1"],
.auth-page [style*="#f8fafc"],
.auth-page [style*="#7dd3fc"],
.auth-page [style*="#a78bfa"],
.auth-page [style*="#7c3aed"] {
  color: #587078 !important;
}

.admin-auth-page .admin-card {
  padding: 36px !important;
}

.admin-auth-page .nova-input:focus {
  border-color: #1d6772 !important;
  box-shadow: 0 0 0 3px rgba(114,199,190,.25) !important;
}

.admin-auth-page .admin-card [style*="linear-gradient(135deg,#7c3aed"],
.admin-auth-page .admin-card [style*="rgba(124,58,237"] {
  background: #e8f2f0 !important;
  border-color: #c9ded9 !important;
}

.brand-dashboard {
  background: #f7f9f8 !important;
  color: #102c38 !important;
}

.brand-dashboard .nova-layout {
  background: #f7f9f8 !important;
}

.brand-dashboard .nova-sidebar {
  background: #fff !important;
  border-right: 1px solid #e1e9e7 !important;
  box-shadow: 8px 0 28px rgba(16,44,56,.04);
}

.brand-dashboard .nova-sidebar::before {
  display: none;
}

.brand-dashboard .nova-sidebar-logo {
  color: #102c38 !important;
}

.brand-dashboard .nova-sidebar-logo span {
  color: #1d6772 !important;
}

.brand-dashboard .nova-nav-item,
.brand-dashboard .nova-sidebar .nova-nav-item {
  color: #587078 !important;
}

.brand-dashboard .dashboard-sidebar-group-label {
  margin: 16px 16px 7px;
  color: #829398;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-dashboard .dashboard-sidebar-group {
  margin-bottom: 12px;
}

.brand-dashboard .dashboard-sidebar-group:first-child .dashboard-sidebar-group-label {
  margin-top: 4px;
}

.brand-dashboard .dashboard-service-nav-item {
  padding-left: 20px;
}

.brand-dashboard .nova-nav-item:hover,
.brand-dashboard .nova-nav-item.nav-active {
  background: #e8f2f0 !important;
  color: #103641 !important;
  border-color: #c9ded9 !important;
}

.brand-dashboard .nova-card {
  background: #fff !important;
  border-color: #e1e9e7 !important;
  box-shadow: 0 8px 24px rgba(16,44,56,.05) !important;
  color: #102c38 !important;
}

.brand-dashboard .nova-card [style*="#f8fafc"],
.brand-dashboard .nova-card [style*="#cbd5e1"],
.brand-dashboard .nova-card [style*="#94a3b8"] {
  color: #587078 !important;
}

.brand-dashboard .nova-card [style*="rgba(255,255,255"],
.brand-dashboard .nova-card [style*="rgba(15,23,42"],
.brand-dashboard .nova-card [style*="rgba(2,6,23"] {
  background: #f2f6f5 !important;
  border-color: #e1e9e7 !important;
}

.brand-dashboard .nova-input {
  background: #f7f9f8 !important;
  border-color: #d7e2df !important;
  color: #102c38 !important;
}

.brand-dashboard .nova-input::placeholder {
  color: #84989a !important;
}

.brand-dashboard .nova-label {
  color: #294650 !important;
}

.brand-dashboard .nova-btn-primary {
  background: #103641 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.brand-dashboard .nova-btn-ghost {
  background: #fff !important;
  color: #103641 !important;
  border-color: #c9ded9 !important;
}

.brand-dashboard .dashboard-header {
  background: #edf4f2 !important;
  border-color: #dce8e5 !important;
  box-shadow: none !important;
}

.brand-dashboard .dashboard-eyebrow,
.brand-dashboard .dashboard-title,
.brand-dashboard #balance-display,
.brand-dashboard #credit-score-display {
  color: #102c38 !important;
}

.brand-dashboard .dashboard-chip {
  background: #e0efeb !important;
  color: #1d6772 !important;
}

.brand-dashboard .balance-card {
  background: linear-gradient(135deg, #dcebe7, #edf4f2) !important;
  border-color: #c9ded9 !important;
}

.brand-dashboard .balance-card::before {
  background: radial-gradient(circle, rgba(114,199,190,.24) 0%, transparent 72%) !important;
}

.admin-page {
  min-height: 100vh;
}

.admin-page .nova-sidebar {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: #b7d1cb #f2f6f5;
  scrollbar-width: thin;
  background: #fff !important;
  border-right: 1px solid #e1e9e7 !important;
}

.admin-page .admin-sidebar > .nova-card {
  flex-shrink: 0;
}

.admin-dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 2px 6px;
  border-top: 1px solid #dfe9e6;
  color: #70858a;
  font-size: 11px;
}

.admin-page .nova-sidebar-logo,
.admin-page .nova-sidebar-logo[style] {
  color: #102c38 !important;
}

.admin-page .nova-sidebar-logo span,
.admin-page .nova-sidebar-logo span[style] {
  color: #1d6772 !important;
}

.admin-page .admin-sidebar .nova-nav-item {
  color: #587078 !important;
}

.admin-page .admin-sidebar .nova-nav-item:hover,
.admin-page .admin-sidebar .nova-nav-item.nav-active {
  background: #e8f2f0 !important;
  color: #103641 !important;
  border-color: #c9ded9 !important;
}

.admin-page .nova-card,
.admin-page .admin-stat {
  background: #fff !important;
  border-color: #e1e9e7 !important;
  box-shadow: 0 8px 24px rgba(16,44,56,.05) !important;
  color: #102c38 !important;
}

.admin-page .nova-card [style*="#cbd5e1"],
.admin-page .nova-card [style*="#94a3b8"] {
  color: #587078 !important;
}

.admin-page .nova-input {
  background: #f7f9f8 !important;
  border-color: #d7e2df !important;
  color: #102c38 !important;
}

.admin-page .tab-btn {
  color: #587078 !important;
}

.admin-page .tab-btn.active {
  background: #e0efeb !important;
  color: #103641 !important;
}

.admin-transaction-date-editor {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 7px;
}

.admin-transaction-date-editor .nova-input {
  min-width: 132px;
  padding: 8px 9px;
  font-size: 12px;
}

.admin-transaction-date-editor .nova-btn {
  padding: 8px 10px;
  font-size: 12px;
}

.admin-page [style*="#7c3aed"],
.admin-page [style*="#a78bfa"],
.admin-page [style*="124,58,237"],
.admin-auth-page [style*="#7c3aed"],
.admin-auth-page [style*="#a78bfa"],
.admin-auth-page [style*="124,58,237"] {
  color: #1d6772 !important;
  border-color: #c9ded9 !important;
}

.admin-page [style*="background:rgba(124,58,237"],
.admin-auth-page .admin-card [style*="rgba(124,58,237"] {
  background: #e8f2f0 !important;
}

.admin-page [style*="linear-gradient(135deg,#7c3aed"],
.admin-auth-page .auth-wrap > a > div:first-child {
  background: linear-gradient(135deg, #103641, #72c7be) !important;
}

.admin-page [style*="background:#7c3aed"] {
  background: #1d6772 !important;
}

.admin-page [style*="linear-gradient(135deg,#7c3aed"] {
  background: linear-gradient(135deg, #103641, #72c7be) !important;
}

.admin-auth-page .auth-wrap > a > div > div:first-child {
  color: #102c38 !important;
}

.admin-auth-page .auth-wrap > a > div > div:first-child span {
  color: #1d6772 !important;
}

.admin-auth-page .auth-wrap > a > div > div:last-child {
  color: #587078 !important;
}

.brand-dashboard .nova-card [style*="#06b6d4"] {
  color: #1d6772 !important;
}

.brand-dashboard .nova-main {
  min-width: 0;
}

.brand-dashboard .nova-main > * {
  min-width: 0;
}

.admin-page .nova-btn-primary {
  background: #103641 !important;
  color: #fff !important;
}

.transfer-page [hidden] {
  display: none !important;
}

.transfer-layout {
  min-height: 100vh;
}

.transfer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.transfer-brand .hgb-wordmark {
  font-size: 15px;
}

.transfer-sidebar-account {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  color: #587078;
  font-size: 12px;
}

.transfer-sidebar-account strong {
  color: #103641;
  font-size: 14px;
}

.transfer-sidebar-account small {
  color: #829398;
}

.transfer-main {
  width: calc(100% - 260px);
  min-height: 100vh;
  margin-left: 260px;
  padding: 38px clamp(20px, 4vw, 56px) 72px;
}

.transfer-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto 28px;
}

.transfer-page-header h1 {
  margin: 7px 0 8px;
  color: #103641;
  font: 700 clamp(28px, 3vw, 38px)/1.15 var(--font-display);
  letter-spacing: -.04em;
}

.transfer-page-header > div:first-child > p:last-child {
  max-width: 620px;
  color: #587078;
  line-height: 1.6;
}

.transfer-back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: #1d6772;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.transfer-back-link:hover,
.transfer-pin-note a {
  color: #103641;
}

.transfer-balance-card {
  display: grid;
  min-width: 210px;
  gap: 5px;
  padding: 16px 20px;
  border: 1px solid #c9ded9;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0efeb, #f3f8f6);
  color: #587078;
  font-size: 12px;
}

.transfer-balance-card strong {
  color: #103641;
  font: 700 22px/1.2 var(--font-display);
}

.transfer-balance-card small {
  color: #829398;
}

.transfer-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .75fr);
  gap: 22px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}

.transfer-form-card,
.transfer-beneficiary-card,
.transfer-history-card {
  padding: clamp(20px, 3vw, 30px);
  border-radius: 20px;
}

.transfer-section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}

.transfer-section-heading-small {
  margin-bottom: 18px;
}

.transfer-step {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid #c9ded9;
  border-radius: 13px;
  background: #e0efeb;
  color: #1d6772;
  font: 700 13px var(--font-display);
}

.transfer-section-heading h2 {
  margin-top: 2px;
  color: #103641;
  font: 700 19px/1.3 var(--font-display);
}

.transfer-section-heading .dashboard-eyebrow,
.transfer-page-header .dashboard-eyebrow {
  margin: 0;
  color: #1d6772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.transfer-form-card .nova-label {
  margin: 17px 0 7px;
  font-size: 12px;
  letter-spacing: .01em;
}

.transfer-form-card .nova-input {
  min-height: 46px;
  border-radius: 11px;
  font-size: 14px;
}

.transfer-recipient-panel {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #e1e9e7;
  border-radius: 15px;
  background: #fbfcfc;
}

.transfer-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.transfer-field {
  min-width: 0;
}

.transfer-field-wide {
  grid-column: 1 / -1;
}

.transfer-field .nova-label span {
  color: #829398;
  font-weight: 400;
}

.transfer-amount-block {
  margin-top: 16px;
}

.transfer-amount-input {
  position: relative;
}

.transfer-amount-input > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #587078;
  font-size: 12px;
  font-weight: 700;
}

.transfer-amount-input .nova-input {
  padding-left: 60px;
}

.transfer-quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.transfer-quick-amounts button {
  padding: 7px 12px;
  border: 1px solid #c9ded9;
  border-radius: 999px;
  background: #fff;
  color: #1d6772;
  cursor: pointer;
  font: 700 12px var(--font-body);
}

.transfer-quick-amounts button:hover {
  background: #e0efeb;
}

.transfer-pin-note {
  margin-top: 16px;
  color: #587078;
  font-size: 12px;
}

.transfer-pin-note a {
  font-weight: 700;
}

.transfer-submit-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.transfer-submit {
  display: flex;
  min-height: 48px;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-radius: 12px;
}

.transfer-submit:disabled,
.transfer-save-recipient:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.transfer-save-recipient {
  min-height: 48px;
  border-radius: 12px;
  font-size: 13px;
}

.transfer-submit-feedback {
  min-height: 20px;
  margin-top: 10px;
  color: #1d6772;
  font-size: 13px;
}

.transfer-submit-feedback.is-error {
  color: #a93232;
}

.transfer-submit-feedback.is-success {
  color: #1d6772;
}

.transfer-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #c9ded9;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.55;
}

.transfer-alert strong {
  display: block;
  margin-bottom: 4px;
  color: #103641;
}

.transfer-alert p {
  color: #587078;
}

.transfer-alert-info {
  background: #f1f7f5;
}

.transfer-alert-error {
  max-width: 1360px;
  margin: 0 auto 18px;
  border-color: #efcaca;
  background: #fff5f4;
}

.transfer-alert-error strong,
.transfer-alert-error p {
  color: #8b2f2c;
}

.transfer-side-column {
  display: grid;
  gap: 16px;
}

.transfer-beneficiary-list {
  display: grid;
  gap: 9px;
}

.transfer-beneficiary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid #e1e9e7;
  border-radius: 13px;
  background: #fbfcfc;
}

.transfer-beneficiary-select {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #103641;
  cursor: pointer;
  text-align: left;
}

.transfer-beneficiary-select strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-beneficiary-select span {
  overflow: hidden;
  color: #829398;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-beneficiary-remove {
  padding: 6px 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b2f2c;
  cursor: pointer;
  font-size: 11px;
}

.transfer-beneficiary-remove:hover {
  background: #fff0ef;
}

.transfer-empty {
  padding: 14px 8px;
  color: #829398;
  font-size: 12px;
  line-height: 1.5;
}

.transfer-security-note {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #c9ded9;
  border-radius: 15px;
  background: #eaf4f1;
}

.transfer-security-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #1d6772;
  color: #fff;
  font-weight: 800;
}

.transfer-security-note strong {
  color: #103641;
  font-size: 13px;
}

.transfer-security-note p {
  margin-top: 5px;
  color: #587078;
  font-size: 11px;
  line-height: 1.5;
}

.transfer-history-card {
  max-width: 1360px;
  margin: 22px auto 0;
}

.transfer-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.transfer-history-heading .nova-btn {
  padding: 8px 13px;
  font-size: 12px;
}

.transfer-request-list {
  display: grid;
  gap: 10px;
}

.transfer-request-row {
  padding: 15px 16px;
  border: 1px solid #e1e9e7;
  border-radius: 13px;
  background: #fbfcfc;
}

.transfer-request-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.transfer-request-heading strong {
  min-width: 0;
  color: #103641;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.transfer-request-row > p {
  margin-top: 7px;
  color: #587078;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.transfer-request-row .transfer-review-reason {
  color: #8b2f2c;
}

.transfer-request-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff5d8;
  color: #8b6500;
  font-size: 10px;
  font-weight: 800;
  text-transform: capitalize;
}

.transfer-request-status.status-approved {
  background: #e6f4eb;
  color: #247044;
}

.transfer-request-status.status-declined {
  background: #fff0ef;
  color: #9c3935;
}

.transfer-mobile-nav {
  display: none;
}

@media (max-width: 767px) {
  .brand-dashboard .nova-main {
    background: #f7f9f8;
    width: 100%;
    max-width: 100%;
  }

  .brand-dashboard #transfer {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-dashboard #transfer > * {
    min-width: 0;
  }

  .transfer-main {
    width: 100%;
    margin-left: 0;
    padding: 24px 16px 100px;
  }

  .transfer-page-header {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 20px;
  }

  .transfer-back-link {
    margin-bottom: 16px;
  }

  .transfer-balance-card {
    width: 100%;
  }

  .transfer-content-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .transfer-side-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .transfer-form-card,
  .transfer-beneficiary-card,
  .transfer-history-card {
    padding: 19px 16px;
    border-radius: 17px;
  }

  .transfer-recipient-panel {
    padding: 12px;
  }

  .transfer-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .transfer-field-wide {
    grid-column: auto;
  }

  .transfer-submit-row {
    flex-direction: column;
  }

  .transfer-save-recipient {
    width: 100%;
  }

  .transfer-history-heading {
    align-items: flex-start;
  }

  .transfer-mobile-nav {
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce8e5;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 25px rgba(16,44,56,.06);
  }

  .transfer-mobile-nav a {
    padding: 8px 10px;
    color: #1d6772;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }
}

@media (min-width: 768px) and (max-width: 1050px) {
  .transfer-content-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr);
  }

  .transfer-main {
    padding-right: 22px;
    padding-left: 22px;
  }
}

.account-history-page .nova-layout {
  min-height: 100vh;
}

.account-history-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.account-history-brand .hgb-wordmark {
  font-size: 15px;
}

.account-history-main {
  width: calc(100% - 260px);
  min-height: 100vh;
  margin-left: 260px;
  padding: 0 26px 56px;
}

.account-history-topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -26px 28px;
  padding: 16px clamp(22px, 3vw, 42px);
  border-bottom: 1px solid #e1e9e7;
  background: rgba(255,255,255,.92);
}

.account-history-topbar h1 {
  color: #102c38;
  font: 700 22px/1.2 var(--font-display);
}

.account-history-topbar p {
  margin-top: 5px;
  color: #829398;
  font-size: 13px;
}

.account-history-topbar .nova-btn {
  padding: 9px 14px;
  font-size: 12px;
  text-decoration: none;
}

.account-history-content {
  max-width: 1440px;
  margin: 0 auto;
}

.account-history-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.account-history-heading h2 {
  margin-top: 5px;
  color: #102c38;
  font: 700 24px/1.25 var(--font-display);
}

.account-history-heading p:last-child {
  margin-top: 5px;
  color: #70848a;
  font-size: 13px;
}

.account-history-heading .dashboard-eyebrow {
  color: #1d6772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.account-history-table-wrap {
  overflow: hidden;
  border: 1px solid #e1e9e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,44,56,.05);
}

.account-history-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.account-history-table thead {
  background: #f1f7f5;
}

.account-history-table th {
  padding: 14px 12px;
  color: #587078;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}

.account-history-table td {
  max-width: 260px;
  padding: 12px;
  border-top: 1px solid #edf1f0;
  color: #40565e;
  font-size: 12px;
  vertical-align: middle;
}

.account-history-table td:first-child {
  min-width: 126px;
}

.account-history-table td:first-child strong,
.account-history-table td:first-child small {
  display: block;
}

.account-history-table td:first-child strong {
  font-size: 13px;
  white-space: nowrap;
}

.account-history-table td:first-child small {
  margin-top: 3px;
  color: #829398;
  font-size: 10px;
}

.account-history-credit {
  color: #16834b;
}

.account-history-debit {
  color: #b43e3b;
}

.account-history-reference {
  color: #50646b;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: nowrap;
}

.account-history-description {
  overflow-wrap: anywhere;
}

.account-history-table .receipt-trigger {
  min-width: 66px;
}

.account-history-loading {
  padding: 32px !important;
  color: #829398 !important;
  text-align: center;
}

.account-history-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border-top: 1px solid #e1e9e7;
  background: #fbfcfc;
}

.account-history-pagination > p {
  color: #70848a;
  font-size: 12px;
}

.account-history-pagination #tx-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.account-history-pagination #tx-pagination > span {
  color: #587078 !important;
  font-size: 12px !important;
}

.account-history-pagination .pager-btn {
  padding: 7px 12px;
  border-color: #d7e2df;
  background: #fff;
  color: #1d6772;
  font-size: 11px;
}

.account-history-error {
  margin-top: 14px;
  color: #a93232;
  font-size: 13px;
}

.account-history-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #f7f9f8;
}

.account-history-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: #e0efeb;
  color: #1d6772;
  font-weight: 800;
}

.account-history-user > div {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.account-history-user strong {
  overflow: hidden;
  color: #103641;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-history-user small {
  overflow: hidden;
  color: #829398;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-history-user > a {
  color: #1d6772;
  font-weight: 700;
  text-decoration: none;
}

.account-history-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .account-history-main {
    padding-right: 18px;
    padding-left: 18px;
  }

  .account-history-topbar {
    margin-right: -18px;
    margin-left: -18px;
  }

  .account-history-table-wrap {
    overflow-x: auto;
  }

  .account-history-table {
    min-width: 820px;
  }
}

@media (max-width: 767px) {
  .account-history-main {
    width: 100%;
    margin-left: 0;
    padding: 0 14px 92px;
  }

  .account-history-topbar {
    min-height: 76px;
    margin: 0 -14px 24px;
    padding: 12px 16px;
  }

  .account-history-topbar h1 {
    font-size: 18px;
  }

  .account-history-topbar p {
    font-size: 11px;
  }

  .account-history-topbar .nova-btn {
    padding: 8px 10px;
    font-size: 10px;
  }

  .account-history-heading h2 {
    font-size: 21px;
  }

  .account-history-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .account-history-table {
    display: block;
    min-width: 0;
  }

  .account-history-table thead {
    display: none;
  }

  .account-history-table tbody {
    display: grid;
    gap: 10px;
  }

  .account-history-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px;
    border: 1px solid #e1e9e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(16,44,56,.04);
  }

  .account-history-table td {
    display: grid;
    min-width: 0;
    max-width: none;
    gap: 4px;
    padding: 0;
    border: 0;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .account-history-table td::before {
    content: attr(data-label);
    color: #829398;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .account-history-table td.account-history-loading {
    display: block;
    grid-column: 1 / -1;
    padding: 18px !important;
    text-align: center;
  }

  .account-history-table td.account-history-loading::before {
    content: none;
  }

  .account-history-pagination {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 2px;
    border: 0;
    background: transparent;
  }

  .account-history-pagination #tx-pagination {
    width: 100%;
    justify-content: space-between;
  }

  .account-history-mobile-nav {
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce8e5;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 25px rgba(16,44,56,.06);
  }

  .account-history-mobile-nav a {
    padding: 8px 10px;
    color: #587078;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .account-history-mobile-nav a.is-active {
    color: #1d6772;
  }
}

/* ── Responsive admin customer editor ────────────────────── */
.admin-customer-modal[hidden] {
  display: none !important;
}

.admin-customer-modal {
  position: fixed;
  z-index: 11000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 28px;
  background: rgba(8, 29, 35, .58);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .2s ease;
}

.admin-customer-modal.is-open {
  opacity: 1;
}

.admin-customer-dialog {
  width: min(820px, 100%);
  max-height: min(780px, calc(100dvh - 56px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(8, 29, 35, .28);
  color: #102c38;
  transform: translateY(12px) scale(.99);
  transition: transform .2s ease;
}

.admin-customer-modal.is-open .admin-customer-dialog {
  transform: translateY(0) scale(1);
}

.admin-customer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px 24px;
  border-bottom: 1px solid #e6eeec;
  background: linear-gradient(120deg, #f8fbfa, #fff 72%);
}

.admin-modal-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #287466;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.admin-customer-header h2 {
  margin: 0;
  color: #102c38;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.admin-customer-header p {
  margin: 7px 0 0;
  color: #587078;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-modal-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce8e5;
  border-radius: 12px;
  background: #fff;
  color: #46616a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.admin-modal-close:hover {
  border-color: #b7d5ce;
  background: #eaf4f1;
  color: #103641;
}

.admin-customer-modal :is(button, input, select):focus-visible {
  outline: 3px solid rgba(29, 103, 114, .28);
  outline-offset: 2px;
}

.admin-customer-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  gap: 0;
}

.admin-customer-section {
  min-width: 0;
  padding: 28px 32px 32px;
}

.admin-credit-section {
  border-left: 1px solid #e6eeec;
  background: #f8fbfa;
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-section-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #e6f2ef;
  color: #176b5b;
  font-size: 12px;
  font-weight: 800;
}

.admin-section-heading h3 {
  margin: 0;
  color: #102c38;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
}

.admin-section-heading p {
  margin: 4px 0 0;
  color: #61777d;
  font-size: 13px;
  line-height: 1.45;
}

.admin-customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-modal-field {
  min-width: 0;
  margin-bottom: 16px;
}

.admin-customer-modal .nova-label {
  display: block;
  margin: 0 0 7px;
  color: #344f58 !important;
  font-size: 13px;
  font-weight: 700;
}

.admin-customer-modal .nova-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #d2e0dc !important;
  border-radius: 11px;
  background-color: #fff !important;
  color: #102c38 !important;
  font: inherit;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(16, 44, 56, .03);
}

.admin-customer-modal .nova-input:focus {
  border-color: #438d81 !important;
  box-shadow: 0 0 0 3px rgba(67, 141, 129, .12);
  outline: none;
}

.admin-input-wrap {
  position: relative;
}

.admin-input-wrap > span {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: #71858a;
  font-size: 15px;
  transform: translateY(-50%);
  pointer-events: none;
}

.admin-input-wrap .nova-input {
  padding-left: 31px;
}

.admin-modal-field-wide {
  grid-column: 1 / -1;
}

.admin-modal-note {
  margin: 2px 0 20px;
  color: #61777d;
  font-size: 12px;
  line-height: 1.55;
}

.admin-modal-actions {
  display: flex;
  gap: 10px;
}

.admin-modal-actions .nova-btn {
  min-width: 0;
  min-height: 46px;
  flex: 1;
  justify-content: center;
  margin: 0;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 14px;
}

.admin-modal-actions .nova-btn-ghost {
  border: 1px solid #d2e0dc;
  background: #fff;
  color: #294650;
}

.admin-credit-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  margin-top: 2px;
  border-radius: 11px;
  font-size: 14px;
}

body.admin-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .admin-customer-modal {
    align-items: flex-start;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .admin-customer-dialog {
    width: min(520px, 100%);
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    margin: auto;
    border-radius: 18px;
  }

  .admin-customer-header {
    padding: 22px 22px 19px;
  }

  .admin-customer-section {
    padding: 22px;
  }

  .admin-customer-modal-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-credit-section {
    border-top: 1px solid #e6eeec;
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .admin-customer-modal {
    padding-right: 8px;
    padding-left: 8px;
  }

  .admin-customer-dialog {
    border-radius: 15px;
  }

  .admin-customer-header {
    gap: 12px;
    padding: 18px 16px 16px;
  }

  .admin-customer-section {
    padding: 18px 16px 20px;
  }

  .admin-customer-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .admin-modal-field-wide {
    grid-column: auto;
  }

  .admin-modal-actions {
    flex-direction: column-reverse;
  }

  .admin-modal-actions .nova-btn {
    width: 100%;
  }
}

/* ── Accessible toast notifications and confirmations ────── */
.toast-container {
  position: fixed;
  z-index: 12000;
  top: 24px;
  right: 24px;
  display: flex;
  width: min(420px, calc(100vw - 32px));
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  --toast-accent: #145a64;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 18px 48px 20px 18px;
  overflow: hidden;
  border: 1px solid #c8d9d5;
  border-left: 6px solid var(--toast-accent);
  border-radius: 14px;
  background: #ffffff;
  color: #102c38;
  box-shadow: 0 18px 52px rgba(16,44,56,.28), 0 3px 12px rgba(16,44,56,.12);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .24s ease, transform .24s ease;
}

.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.toast-success { --toast-accent: #176b4d; }
.toast-error { --toast-accent: #b42318; }
.toast-info { --toast-accent: #145a64; }
.toast-error .toast-icon { background: #fcebea; }

.toast-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--toast-accent);
  border-radius: 50%;
  background: #edf5f2;
}

.toast-icon svg,
.toast-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.toast-title {
  color: #102c38;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.toast-message {
  color: #294650;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #789096;
  cursor: pointer;
}

.toast-close:hover {
  background: #e8f0ee;
  color: #102c38;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--toast-accent);
  transform-origin: left center;
  animation: toast-countdown var(--toast-duration, 4500ms) linear forwards;
}

.toast-progress-paused {
  animation-play-state: paused;
}

@keyframes toast-countdown {
  to { transform: scaleX(0); }
}

.confirm-overlay {
  position: fixed;
  z-index: 11999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16,44,56,.42);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .18s ease;
}

.confirm-visible { opacity: 1; }
.confirm-leaving { opacity: 0; }

.confirm-dialog {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid #dce8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,44,56,.22);
  color: #102c38;
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease;
}

.confirm-visible .confirm-dialog { transform: translateY(0) scale(1); }

.confirm-dialog h2 {
  margin: 0 0 10px;
  color: #102c38;
  font-size: 21px;
  letter-spacing: -.4px;
}

.confirm-dialog p {
  margin: 0;
  color: #587078;
  font-size: 14px;
  line-height: 1.6;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.confirm-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d5e2df;
  border-radius: 999px;
  background: #fff;
  color: #103641;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.confirm-actions button:focus-visible,
.toast-close:focus-visible {
  outline: 3px solid rgba(29,103,114,.3);
  outline-offset: 2px;
}

.confirm-actions .confirm-submit {
  border-color: #103641;
  background: #103641;
  color: #fff;
}

.confirm-actions .confirm-danger {
  border-color: #b83232;
  background: #b83232;
}

.confirm-actions button:hover { filter: brightness(.95); }

@media (max-width: 600px) {
  .toast-container {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }

.toast {
  min-height: 78px;
  gap: 11px;
  padding: 16px 44px 18px 14px;
}

.toast-title { font-size: 15px; }
.toast-message { font-size: 14px; }

.toast-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.confirm-dialog {
    padding: 24px;
  }

  .confirm-actions button {
    flex: 1;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast,
  .confirm-overlay,
  .confirm-dialog {
    transition: none;
  }

  .toast-progress {
    animation: none;
  }
}

/* ── Customer dashboard notifications and profile ───────── */
.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-dashboard .dashboard-header {
  position: relative;
  z-index: 30;
}

.dashboard-menu-wrap {
  position: relative;
}

.dashboard-icon-button,
.dashboard-profile-button {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 13px;
  background: rgba(15, 23, 42, .72);
  color: #e8f4f2;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.dashboard-icon-button:hover,
.dashboard-profile-button:hover {
  transform: translateY(-1px);
  border-color: rgba(114, 199, 190, .55);
  background: rgba(30, 55, 66, .92);
}

.dashboard-icon-button:focus-visible,
.dashboard-profile-button:focus-visible,
.dashboard-popover button:focus-visible,
.dashboard-popover a:focus-visible {
  outline: 3px solid rgba(114, 199, 190, .55);
  outline-offset: 2px;
}

.dashboard-profile-button {
  padding: 4px 9px 4px 4px;
}

.dashboard-profile-avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-notification-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #0b1828;
  border-radius: 999px;
  background: #d84b4b;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.dashboard-notification-count[hidden],
.dashboard-popover[hidden],
.dashboard-popover [hidden] {
  display: none !important;
}

.dashboard-popover {
  position: absolute;
  z-index: 11500;
  top: calc(100% + 12px);
  right: 0;
  overflow: hidden;
  border: 1px solid #dce8e5;
  border-radius: 17px;
  background: #fff;
  color: #102c38;
  box-shadow: 0 22px 60px rgba(2, 18, 30, .28);
}

.dashboard-notification-panel {
  width: min(440px, calc(100vw - 32px));
}

.dashboard-profile-panel {
  width: min(340px, calc(100vw - 32px));
  padding: 20px;
}

.dashboard-popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e8efed;
}

.dashboard-popover-heading h2,
.dashboard-profile-heading h2 {
  margin: 0;
  color: #102c38;
  font-size: 16px;
  font-weight: 750;
}

.dashboard-popover-heading p,
.dashboard-profile-heading p {
  margin: 4px 0 0;
  color: #62787e;
  font-size: 12px;
}

.dashboard-text-button,
.dashboard-mark-read {
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #176b5b;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.dashboard-text-button:hover,
.dashboard-mark-read:hover {
  background: #eaf4f1;
  color: #103641;
}

.dashboard-notification-list {
  max-height: min(440px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dashboard-notification {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid #edf2f0;
}

.dashboard-notification:last-child {
  border-bottom: 0;
}

.dashboard-notification.is-unread {
  background: #f1f8f6;
}

.dashboard-notification-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #e0efeb;
  color: #176b5b;
  font-size: 18px;
  font-weight: 800;
}

.dashboard-notification-copy {
  min-width: 0;
  flex: 1;
}

.dashboard-notification-copy h3 {
  margin: 0;
  color: #102c38;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.dashboard-notification-copy p {
  margin: 4px 0 6px;
  color: #4e666e;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dashboard-notification-copy time {
  color: #7a8e93;
  font-size: 10px;
}

.dashboard-mark-read {
  margin: 0 -7px 0 0;
  align-self: center;
}

.dashboard-notification-empty {
  margin: 0;
  padding: 28px 22px;
  color: #61777d;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.dashboard-profile-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e8efed;
}

.dashboard-profile-heading h2 {
  overflow-wrap: anywhere;
}

.dashboard-profile-details {
  margin: 6px 0 14px;
}

.dashboard-profile-details > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f0;
}

.dashboard-profile-details dt {
  color: #6a7f84;
  font-size: 12px;
}

.dashboard-profile-details dd {
  margin: 0;
  color: #183944;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.dashboard-account-status.is-active { color: #18764f; }
.dashboard-account-status.is-suspended { color: #b42318; }

.dashboard-profile-signout {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0 2px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.dashboard-profile-signout:hover {
  color: #8f1b13;
}

@media (max-width: 767px) {
  .dashboard-actions {
    gap: 7px;
  }

  .dashboard-actions .dashboard-chip {
    display: none;
  }

  .dashboard-notification-panel {
    position: fixed;
    top: 88px;
    right: 12px;
    width: min(440px, calc(100vw - 24px));
  }

  .dashboard-profile-panel {
    position: fixed;
    top: 88px;
    right: 12px;
    width: min(340px, calc(100vw - 24px));
  }
}

@media (max-width: 380px) {
  .dashboard-actions > .nova-btn {
    padding: 9px 11px !important;
    font-size: 12px !important;
  }

}

.money-feature-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #d5e6e1;
  border-radius: 12px;
  background: #f0f7f5;
  color: #35555d;
  font-size: 13px;
  line-height: 1.55;
}

.virtual-card-heading,
.virtual-card-details,
.transfer-request-heading,
.transfer-queue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.virtual-card-heading {
  margin-bottom: 12px;
}

.card-state-chip,
.admin-pending-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e0efeb;
  color: #176b5b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.virtual-card-details {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #d9e7e3;
  border-radius: 16px;
  background: linear-gradient(135deg, #123f49, #1d6772);
  color: #fff;
}

.virtual-card-details > div {
  display: grid;
  gap: 7px;
}

.virtual-card-details .nova-label {
  color: #d3e6e2 !important;
}

.virtual-card-details strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.card-top-up-form {
  max-width: 620px;
}

.card-top-up-controls {
  display: flex;
  gap: 10px;
}

.card-top-up-controls .nova-input {
  flex: 1;
  min-width: 0;
}

.transfer-history-panel {
  width: 100%;
}

.transfer-request-list,
.admin-transfer-queue {
  display: grid;
  gap: 12px;
}

.transfer-request-row,
.admin-transfer-request {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #fbfdfc;
  color: #294650;
}

.transfer-request-heading {
  align-items: flex-start;
  margin-bottom: 8px;
}

.transfer-request-heading > strong,
.transfer-request-heading h3 {
  min-width: 0;
  margin: 0;
  color: #102c38;
  font-size: 14px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.transfer-request-heading time,
.transfer-request-row > p,
.admin-transfer-request > p {
  margin: 5px 0 0;
  color: #587078;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.transfer-request-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff5d8;
  color: #8a5b00;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.transfer-request-status.status-approved {
  background: #e1f4eb;
  color: #176b4d;
}

.transfer-request-status.status-declined {
  background: #fcebea;
  color: #a52a21;
}

.transfer-review-reason {
  color: #294650 !important;
  font-weight: 650;
}

.transfer-request-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #c9ded9;
  border-radius: 12px;
  color: #587078;
  font-size: 14px;
}

.admin-pending-badge {
  min-width: 22px;
  padding: 5px 7px;
  background: #b42318;
  color: #fff;
}

.admin-page .nova-sidebar .nova-nav-item {
  display: flex;
  align-items: center;
}

.admin-page .admin-pending-badge {
  margin-left: auto;
}

.transfer-queue-heading {
  margin-bottom: 18px;
}

.transfer-queue-heading p {
  margin: 5px 0 0;
  color: #587078;
  font-size: 14px;
}

.admin-transfer-request .transfer-request-heading {
  margin-bottom: 10px;
}

.admin-transfer-request > p strong {
  color: #294650;
}

.admin-transfer-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.transfer-blocked-banner {
  margin: 0 0 18px;
  padding: 14px 15px;
  border: 1px solid #efc7c3;
  border-radius: 12px;
  background: #fff5f4;
  color: #7f2a24;
}

.transfer-blocked-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.transfer-blocked-banner p {
  color: #a04a43;
  font-size: 12px;
  line-height: 1.5;
}

.verification-panel {
  margin: 0 0 24px;
  padding: 24px;
}

.verification-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.verification-heading h2 {
  margin: 2px 0 0;
  color: #102c38;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 750;
}

.verification-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.verification-status-completed {
  background: #e1f4eb;
  color: #176b4d;
}

.verification-status-pending {
  background: #fff3d6;
  color: #8a5b00;
}

.verification-status-declined {
  background: #fcebea;
  color: #a52a21;
}

.verification-status-incomplete {
  background: #edf4f2;
  color: #587078;
}

.verification-progress-layout {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.verification-progress-ring {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(#1d6772 var(--verification-progress), #e5eeeb 0);
}

.verification-progress-ring > div {
  display: grid;
  text-align: center;
}

.verification-progress-ring strong {
  color: #103641;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}

.verification-progress-ring span {
  margin-top: 5px;
  color: #72878c;
  font-size: 9px;
  text-transform: uppercase;
}

.verification-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.verification-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #e1e9e7;
  border-radius: 12px;
  background: #fbfdfc;
}

.verification-step.is-complete {
  border-color: #cce5da;
  background: #f2f8f5;
}

.verification-step.is-pending {
  border-color: #eadcba;
  background: #fffaf0;
}

.verification-step.is-declined {
  border-color: #efc7c3;
  background: #fff7f6;
}

.verification-step-index {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #edf4f2;
  color: #587078;
  font-size: 12px;
  font-weight: 800;
}

.verification-step.is-complete .verification-step-index {
  background: #176b4d;
  color: #fff;
}

.verification-step.is-pending .verification-step-index {
  background: #d99a43;
  color: #fff;
}

.verification-step.is-declined .verification-step-index {
  background: #a52a21;
  color: #fff;
}

.verification-step strong {
  color: #294650;
  font-size: 12px;
}

.verification-step p {
  margin-top: 5px;
  color: #72878c;
  font-size: 11px;
  line-height: 1.45;
}

.verification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf2f0;
}

.verification-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(8, 28, 35, .58);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .18s ease;
}

.verification-modal[hidden] {
  display: none;
}

.verification-modal.is-open {
  opacity: 1;
}

.verification-modal-open {
  overflow: hidden;
}

.verification-dialog {
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #dbe7e3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(8,28,35,.24);
}

.verification-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #edf2f0;
}

.verification-dialog-header h2 {
  margin: 3px 0 0;
  color: #102c38;
  font-family: var(--font-display);
  font-size: 21px;
}

.verification-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf4f2;
  color: #587078;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.verification-form {
  display: grid;
  gap: 18px;
  padding: 22px 24px 24px;
}

.verification-form[hidden] {
  display: none;
}

.verification-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.verification-field-wide {
  grid-column: 1 / -1;
}

.verification-field small {
  display: block;
  margin-top: 6px;
  color: #72878c;
  font-size: 10px;
}

.verification-file-input {
  padding: 9px !important;
}

.verification-security-note {
  padding: 11px 12px;
  border-radius: 10px;
  background: #eff6f4;
  color: #587078;
  font-size: 11px;
  line-height: 1.5;
}

.verification-submit {
  width: 100%;
}

.admin-verification-list {
  display: grid;
  gap: 12px;
}

.admin-service-requests,
.admin-customer-security,
.admin-virtual-cards,
.admin-security-events {
  display: grid;
  gap: 12px;
}

.admin-virtual-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  margin-top: 16px;
}

.admin-customer-security {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  margin-top: 16px;
}

.admin-service-request,
.admin-security-customer,
.admin-virtual-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #fbfdfc;
  color: #294650;
}

.admin-service-request > p,
.admin-security-customer > p,
.admin-virtual-card > p {
  margin: 5px 0 0;
  color: #587078;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-service-request > p strong,
.admin-security-customer > p strong,
.admin-virtual-card > p strong {
  color: #294650;
}

.admin-service-readonly-note {
  margin-top: 12px !important;
  padding: 10px 12px;
  border: 1px solid #c9ded9;
  border-radius: 9px;
  background: #eff7f5;
  color: #164d55 !important;
}

.admin-security-events-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #fff;
}

.admin-security-events-panel h3 {
  margin: 0 0 14px;
  color: #102c38;
  font-size: 16px;
  font-weight: 750;
}

.admin-security-event {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1.3fr) auto;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1e9e7;
  border-radius: 10px;
  background: #fbfdfc;
  color: #587078;
  font-size: 12px;
}

.admin-security-event strong {
  color: #176b5b;
  text-transform: capitalize;
}

.admin-security-event span {
  overflow-wrap: anywhere;
}

.admin-security-event time {
  white-space: nowrap;
}

.transfer-request-status.status-reviewed {
  background: #e1f4eb;
  color: #176b4d;
}

.transfer-request-status.status-declined {
  background: #fcebea;
  color: #a52a21;
}

.transfer-request-status.status-unavailable {
  background: #fff5d8;
  color: #8a5b00;
}

.transfer-request-status.status-previewed,
.transfer-request-status.status-submitted,
.transfer-request-status.status-received {
  background: #e0efeb;
  color: #176b5b;
}

.admin-verification-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #fbfdfc;
}

.admin-verification-card > p {
  margin: 5px 0 0;
  color: #587078;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-verification-card > p strong {
  color: #294650;
}

.admin-verification-document {
  display: inline-flex;
  margin-top: 12px;
  color: #176b5b;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.admin-verification-document:hover {
  text-decoration: underline;
}

@media (max-width: 620px) {
  .admin-security-event {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-security-event time {
    white-space: normal;
  }

  .verification-panel {
    padding: 18px;
  }

  .verification-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .verification-progress-layout {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .verification-progress-ring {
    width: 92px;
    height: 92px;
  }

  .verification-step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .verification-actions {
    display: grid;
  }

  .verification-actions .nova-btn {
    width: 100%;
  }

  .verification-modal {
    align-items: end;
    padding: 0;
  }

  .verification-dialog {
    width: 100%;
    max-height: calc(100vh - 28px);
    border-radius: 20px 20px 0 0;
  }

  .verification-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .verification-field-wide {
    grid-column: auto;
  }
}

.admin-transfer-control-current {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
}

.admin-transfer-control-current.is-blocked {
  border: 1px solid #efc7c3;
  background: #fff5f4;
  color: #a52a21;
}

.admin-transfer-control-current.is-allowed {
  border: 1px solid #cce5da;
  background: #eff8f4;
  color: #176b4d;
}

.transfer-decline-button {
  border: 1px solid #f0c8c4;
  background: #fff5f4;
  color: #a52a21;
}

.transfer-review-dialog {
  width: min(560px, 100%);
}

.transfer-review-dialog .admin-customer-modal-body {
  display: block;
  padding: 24px 32px 30px;
}

.transfer-review-dialog .nova-input {
  width: 100%;
  margin-top: 7px;
  resize: vertical;
}

.transfer-review-dialog .admin-modal-actions {
  margin-top: 18px;
}

.analytics-section {
  min-width: 0;
  margin: 0 0 26px;
  scroll-margin-top: 24px;
}

.analytics-section-heading,
.analytics-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.analytics-section-heading {
  margin: 0 0 18px;
}

.analytics-section-heading h2 {
  margin: 0;
  color: #102c38;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 750;
}

.analytics-section-heading > div > p:last-child,
.analytics-card-heading p {
  margin: 5px 0 0;
  color: #587078;
  font-size: 13px;
  line-height: 1.5;
}

.analytics-live-label {
  padding: 8px 11px;
  border: 1px solid #d5e6e1;
  border-radius: 999px;
  background: #f0f7f5;
  color: #176b5b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.analytics-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.brand-dashboard .analytics-summary-card,
.brand-dashboard .analytics-chart-card,
.brand-dashboard .analytics-breakdown-card {
  min-width: 0;
  padding: 20px;
}

.analytics-summary-card {
  display: grid;
  gap: 7px;
}

.analytics-summary-card > span {
  color: #587078;
  font-size: 12px;
  font-weight: 650;
}

.analytics-summary-card > strong {
  color: #102c38;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.analytics-summary-card > small,
.analytics-type-row > small {
  color: #72878c;
  font-size: 11px;
  line-height: 1.4;
}

.analytics-summary-card > strong.analytics-positive {
  color: #176b4d;
}

.analytics-summary-card > strong.analytics-negative {
  color: #b42318;
}

.analytics-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr);
  gap: 14px;
}

.analytics-chart-card,
.analytics-breakdown-card {
  align-self: stretch;
}

.analytics-card-heading {
  align-items: center;
  margin-bottom: 18px;
}

.analytics-card-heading h3 {
  margin: 0;
  color: #102c38;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 750;
}

.analytics-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #587078;
  font-size: 11px;
}

.analytics-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.analytics-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.analytics-legend .legend-income {
  background: #1d6772;
}

.analytics-legend .legend-spending {
  background: #e39b58;
}

.analytics-monthly-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 18px);
  height: 184px;
  padding: 12px 4px 0;
  border-bottom: 1px solid #dce8e5;
}

.analytics-month-column {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 24px;
  min-width: 0;
}

.analytics-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  min-height: 0;
  border-bottom: 1px dashed #e6eeec;
}

.analytics-bar {
  width: min(30%, 24px);
  min-height: 0;
  border-radius: 5px 5px 0 0;
}

.analytics-bar-income {
  background: linear-gradient(180deg, #72c7be, #1d6772);
}

.analytics-bar-spending {
  background: linear-gradient(180deg, #f3c28c, #d88746);
}

.analytics-month-label {
  align-self: end;
  padding-top: 6px;
  color: #587078;
  font-size: 11px;
  text-align: center;
}

.analytics-monthly-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.analytics-monthly-table {
  width: 100%;
  border-collapse: collapse;
  color: #35555d;
  font-size: 12px;
  text-align: right;
}

.analytics-monthly-table th,
.analytics-monthly-table td {
  padding: 8px 5px;
  border-bottom: 1px solid #edf2f0;
  white-space: nowrap;
}

.analytics-monthly-table thead th {
  color: #72878c;
  font-size: 10px;
  font-weight: 700;
}

.analytics-monthly-table th:first-child,
.analytics-monthly-table td:first-child {
  text-align: left;
}

.analytics-type-list {
  display: grid;
  gap: 18px;
}

.analytics-type-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #35555d;
  font-size: 13px;
}

.analytics-type-heading strong {
  color: #102c38;
  font-size: 13px;
  white-space: nowrap;
}

.analytics-type-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f0;
}

.analytics-type-meter > span {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #72c7be, #1d6772);
}

.analytics-type-row > small {
  display: block;
  margin-top: 6px;
}

.analytics-footnote,
.analytics-empty {
  margin: 16px 0 0;
  color: #72878c;
  font-size: 12px;
  line-height: 1.55;
}

.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;
}

@media (max-width: 620px) {
  .virtual-card-details {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-top-up-controls,
  .admin-transfer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .transfer-queue-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .transfer-review-dialog .admin-customer-modal-body {
    padding: 20px;
  }

  .analytics-section-heading {
    flex-direction: column;
  }

  .analytics-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-monthly-chart {
    height: 150px;
  }
}

/* ── Customer transaction receipts ───────────────────────── */
.receipt-trigger {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(114, 199, 190, 0.4);
  border-radius: 9px;
  background: rgba(16, 54, 65, 0.56);
  color: #c8f2ed;
  font: 600 12px var(--font-body);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.receipt-trigger:hover {
  background: rgba(16, 54, 65, 0.9);
  border-color: #72c7be;
}

.receipt-trigger:focus-visible,
.receipt-close:focus-visible,
.receipt-actions button:focus-visible {
  outline: 3px solid #72c7be;
  outline-offset: 3px;
}

.transaction-receipt-dialog {
  width: min(540px, calc(100% - 28px));
  max-width: none;
  max-height: min(92vh, 900px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(114, 199, 190, .32);
  border-radius: 20px;
  background: #f8fbfa;
  color: #102c38;
  box-shadow: 0 30px 100px rgba(2, 20, 25, .48);
}

.transaction-receipt-dialog::backdrop {
  background: rgba(4, 23, 29, .76);
  backdrop-filter: blur(7px);
}

.receipt-paper {
  position: relative;
  padding: 24px clamp(20px, 5vw, 34px) 22px;
  background:
    radial-gradient(circle at 100% 15%, rgba(114, 199, 190, .14), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfdfc 100%);
}

.receipt-header,
.receipt-brand,
.receipt-actions {
  display: flex;
  align-items: center;
}

.receipt-header {
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3ece9;
}

.receipt-brand { gap: 12px; }
.receipt-brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(16, 54, 65, .14);
}

.receipt-brand strong,
.receipt-brand span { display: block; }
.receipt-brand strong { color: #103641; font: 700 15px var(--font-display); letter-spacing: -.025em; }
.receipt-brand div > span {
  margin-top: 5px;
  color: #66817f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.receipt-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf4f2;
  color: #42636a;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.receipt-summary {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 22px 0 20px;
  padding: 23px 16px 21px;
  overflow: hidden;
  border: 1px solid rgba(114, 199, 190, .38);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0, rgba(114, 199, 190, .21), transparent 38%),
    linear-gradient(135deg, #103641 0%, #0d343f 55%, #174451 100%);
  text-align: center;
  box-shadow: 0 12px 26px rgba(16, 54, 65, .16);
}

.receipt-summary::before,
.receipt-summary::after {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f8fbfa;
  content: '';
  transform: translateY(-50%);
}

.receipt-summary::before { left: -12px; }
.receipt-summary::after { right: -12px; }

.receipt-summary .receipt-summary-label {
  margin-bottom: 8px;
  color: #a7d8d2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.receipt-status {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid rgba(114, 199, 190, .55);
  border-radius: 999px;
  background: rgba(114, 199, 190, .12);
  color: #a7e4dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.receipt-status-pending { border-color: rgba(250, 204, 119, .55); background: rgba(250, 204, 119, .12); color: #ffdc9b; }
.receipt-status-failed { border-color: rgba(255, 143, 143, .5); background: rgba(255, 143, 143, .12); color: #ffc2c2; }
.receipt-summary h2 {
  margin: 2px 0 5px;
  color: #fff;
  font: 700 clamp(30px, 8vw, 40px) var(--font-display);
  letter-spacing: -.04em;
}
.receipt-summary p { color: #c2d8d6; font-size: 12px; }

.receipt-details {
  margin: 0;
  padding: 4px 16px;
  border: 1px solid #e3ece9;
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 5px 15px rgba(16, 54, 65, .035);
}

.receipt-detail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px dashed #dfe9e6;
}
.receipt-detail:last-child { border-bottom: 0; }
.receipt-detail dt { flex: 0 0 42%; color: #718987; font-size: 11px; }
.receipt-detail dd {
  min-width: 0;
  margin: 0;
  color: #173c43;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.receipt-detail dd span { display: block; margin-top: 4px; color: #879b98; font-size: 10px; font-weight: 500; }
.receipt-detail-total {
  margin-top: 3px;
  border-top: 1px solid #dfe9e6;
  border-bottom: 0;
}
.receipt-detail-total dt { color: #315d5e; font-weight: 700; }
.receipt-detail-total dd { color: #103641; font-size: 14px; }
.receipt-loading,
.receipt-error { padding: 34px 12px; color: #66817f; text-align: center; font-size: 13px; }
.receipt-error { color: #a33a36; }

.receipt-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-top: 17px;
  padding: 15px 2px 0;
  border-top: 1px solid #e3ece9;
  color: #718987;
  font-size: 10px;
}

.receipt-footer strong,
.receipt-footer span {
  display: block;
}

.receipt-footer strong {
  margin-bottom: 4px;
  color: #103641;
  font-family: var(--font-display);
  font-size: 11px;
}

.receipt-footer .receipt-footer-secure {
  color: #52716e;
  font-size: 9px;
  text-align: right;
}

.receipt-footer-secure span {
  display: inline;
  margin-right: 4px;
  color: #3a9d8e;
  font-size: 8px;
}

.receipt-actions {
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
}

@media (max-width: 620px) {
  .receipt-trigger { padding: 6px 8px; }
  .transaction-receipt-dialog { border-radius: 18px; }
  .receipt-paper { padding-top: 20px; }
  .receipt-footer { align-items: flex-start; flex-direction: column; }
  .receipt-footer .receipt-footer-secure { text-align: left; }
  .receipt-actions { align-items: stretch; flex-direction: column-reverse; }
}

@media print {
  body * { visibility: hidden !important; }
  .transaction-receipt-dialog[open],
  .transaction-receipt-dialog[open] .receipt-paper,
  .transaction-receipt-dialog[open] .receipt-paper * {
    visibility: visible !important;
  }
  .transaction-receipt-dialog[open] {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .transaction-receipt-dialog::backdrop { display: none; }
  .receipt-paper { padding: 12mm; }
  .receipt-close,
  .receipt-actions { display: none !important; }
}

/* ── Account registration ───────────────────────────────── */
.register-page {
  min-height: 100vh;
  padding: 28px clamp(18px, 5vw, 72px);
}

.register-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.register-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
}

.register-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.register-brand .hgb-logo-mark {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.register-topbar > p,
.register-mobile-signin {
  color: #587078;
  font-size: 13px;
}

.register-topbar > p a,
.register-mobile-signin a {
  color: #176b5b;
  font-weight: 700;
  text-decoration: none;
}

.register-topbar > p a:hover,
.register-mobile-signin a:hover {
  text-decoration: underline;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid #e1e9e7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 44, 56, .12);
}

.register-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 700px;
  overflow: hidden;
  padding: clamp(32px, 4vw, 54px) clamp(28px, 4vw, 48px) 28px;
  background:
    radial-gradient(circle at 5% 90%, rgba(114, 199, 190, .26), transparent 34%),
    linear-gradient(150deg, #123f49 0%, #103641 58%, #0c2d36 100%);
  color: #fff;
}

.register-intro::before {
  position: absolute;
  top: -150px;
  right: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  content: "";
}

.register-intro-content,
.register-visual {
  position: relative;
  z-index: 1;
}

.register-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b6e5dc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.register-kicker svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.register-intro h1 {
  max-width: 390px;
  margin: 22px 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 43px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.13;
}

.register-intro-copy {
  max-width: 380px;
  color: #c4d9d8;
  font-size: 14px;
  line-height: 1.7;
}

.register-benefits {
  display: grid;
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.register-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.register-benefit-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(182,229,220,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #b6e5dc;
}

.register-benefit-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.register-benefits li > span:last-child {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.register-benefits strong {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.register-benefits small {
  color: #b1c9c8;
  font-size: 11px;
  line-height: 1.5;
}

.register-visual {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}

.register-orbit {
  position: absolute;
  width: 230px;
  height: 130px;
  border: 1px solid rgba(182,229,220,.18);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.register-orbit-one {
  transform: rotate(-24deg) scale(1.13);
}

.register-orbit-two {
  transform: rotate(24deg) scale(.8);
}

.register-mini-card {
  position: relative;
  width: min(270px, 78%);
  padding: 17px 19px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 15px;
  background: linear-gradient(125deg, rgba(237,249,245,.94), rgba(169,218,208,.88));
  box-shadow: 0 18px 35px rgba(0,0,0,.2);
  color: #103641;
  transform: rotate(-5deg);
}

.register-mini-card-top,
.register-mini-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.register-mini-card-top {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 750;
}

.register-mini-chip {
  width: 22px;
  height: 16px;
  border: 1px solid rgba(16,54,65,.4);
  border-radius: 4px;
  background: linear-gradient(90deg, transparent 48%, rgba(16,54,65,.28) 50%, transparent 52%);
}

.register-mini-dots {
  margin: 21px 0 17px;
  font-size: 12px;
  letter-spacing: .08em;
}

.register-mini-card-bottom {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
}

.register-visual-caption {
  position: absolute;
  right: 0;
  bottom: -19px;
  left: 0;
  color: #b1c9c8;
  font-size: 10px;
  text-align: center;
}

.register-form-panel {
  align-self: center;
  padding: clamp(32px, 5vw, 62px) clamp(26px, 5vw, 66px);
}

.register-form-heading {
  margin-bottom: 28px;
}

.register-form-eyebrow {
  margin-bottom: 8px;
  color: #1d6772;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.register-form-heading h2 {
  color: #102c38;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.register-form-heading > p:last-child {
  margin-top: 9px;
  color: #72878c;
  font-size: 13px;
  line-height: 1.5;
}

.register-form {
  display: grid;
  gap: 19px;
}

.register-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.register-field {
  min-width: 0;
}

.register-field .nova-label {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.register-field .nova-input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 13px;
}

.register-field .nova-input[aria-invalid="true"] {
  border-color: #c7443e !important;
  box-shadow: 0 0 0 3px rgba(199,68,62,.1) !important;
}

.register-password-wrap {
  position: relative;
}

.register-password-wrap .nova-input {
  padding-right: 48px;
}

.register-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #587078;
  cursor: pointer;
  transform: translateY(-50%);
}

.register-password-toggle:hover,
.register-password-toggle:focus-visible {
  background: #edf4f2;
  color: #103641;
}

.register-password-toggle:focus-visible {
  outline: 2px solid #1d6772;
  outline-offset: 2px;
}

.register-password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.register-password-toggle .eye-hidden,
.register-password-toggle[aria-pressed="true"] .eye-visible {
  display: none;
}

.register-password-toggle[aria-pressed="true"] .eye-hidden {
  display: block;
}

.register-field-hint {
  margin-top: 7px;
  color: #72878c;
  font-size: 10px;
  line-height: 1.45;
}

.register-strength {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.register-strength .pw-seg {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #e5ecea;
  transition: background-color .18s ease;
}

.register-password-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.register-password-rules li {
  position: relative;
  padding-left: 15px;
  color: #72878c;
  font-size: 10px;
  line-height: 1.45;
}

.register-password-rules li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: #94a5a6;
  content: "○";
  font-size: 11px;
}

.register-password-rules li.is-satisfied {
  color: #176b4d;
}

.register-password-rules li.is-satisfied::before {
  color: #176b4d;
  content: "✓";
  font-weight: 800;
}

.register-field .nova-field-err {
  margin-top: 5px;
  padding-left: 1px;
  font-size: 11px;
}

.register-submit {
  width: 100%;
  min-height: 50px;
  justify-content: space-between;
  margin-top: 3px;
  padding: 14px 18px 14px 20px;
  border-radius: 11px;
  font-size: 13px;
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.register-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.register-submit:disabled {
  cursor: wait;
}

.register-terms {
  color: #849497;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.register-terms a {
  color: #176b5b !important;
  font-weight: 650;
  text-decoration: none;
}

.register-terms a:hover {
  text-decoration: underline;
}

.register-mobile-signin {
  display: none;
  margin-top: 22px;
  text-align: center;
}

.register-error-banner {
  margin: -10px 0 20px;
  padding: 11px 13px;
  border: 1px solid #f0c9c6;
  border-radius: 10px;
  background: #fff5f4;
  color: #a3332d;
  font-size: 12px;
  line-height: 1.5;
}

.register-error-banner[hidden] {
  display: none;
}

.register-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 0;
  color: #849497;
  font-size: 10px;
}

@media (max-width: 860px) {
  .register-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .register-intro {
    min-height: 660px;
  }

  .register-form-panel {
    padding-right: 30px;
    padding-left: 30px;
  }

  .register-field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }
}

.register-wizard-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.register-wizard-title-row h2 {
  margin: 0;
  color: #102c38;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 750;
}

.register-wizard-title-row > span {
  color: #71858a;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.register-wizard-progress {
  height: 6px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5eeeb;
}

.register-wizard-progress > span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #155561, #72c7be);
  transition: width .22s ease;
}

.register-wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.register-wizard-steps li {
  min-width: 0;
  text-align: center;
}

.register-wizard-steps button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #829398;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
}

.register-wizard-steps button:disabled {
  cursor: default;
}

.register-wizard-steps button > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #e7eeec;
  color: #71858a;
  font-size: 11px;
  font-weight: 750;
}

.register-wizard-steps li.is-current button,
.register-wizard-steps li.is-complete button {
  color: #155561;
  font-weight: 700;
}

.register-wizard-steps li.is-current button > span,
.register-wizard-steps li.is-complete button > span {
  background: #155561;
  color: #fff;
}

.register-wizard-form {
  gap: 0;
}

.register-wizard-panel[hidden] {
  display: none !important;
}

.register-wizard-panel {
  display: grid;
  gap: 15px;
}

.register-wizard-panel-heading {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin: 0 0 4px;
  text-align: center;
}

.register-wizard-panel-heading > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  place-items: center;
  border-radius: 14px;
  background: #e7f2ef;
  color: #1d6772;
  font-size: 20px;
}

.register-wizard-panel-heading h3 {
  margin: 0;
  color: #102c38;
  font-size: 15px;
  font-weight: 750;
}

.register-wizard-panel-heading p {
  margin: 0;
  color: #71858a;
  font-size: 12px;
}

.register-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 3px;
}

.register-wizard-actions .nova-btn {
  min-height: 43px;
}

.register-wizard-actions .register-submit {
  width: auto;
  min-width: 145px;
  margin: 0;
}

.register-terms-check {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}

.register-terms-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: #155561;
}

.register-terms-check span {
  color: #71858a;
}

@media (max-width: 760px) {
  .register-page {
    padding: 18px 14px 22px;
  }

  .register-topbar {
    margin-bottom: 16px;
  }

  .register-brand .hgb-auth-wordmark {
    font-size: 14px;
  }

  .register-topbar > p {
    font-size: 11px;
  }

  .register-layout {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
  }

  .register-intro {
    min-height: auto;
    padding: 27px 24px 24px;
  }

  .register-intro h1 {
    max-width: 430px;
    margin: 14px 0 8px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .register-intro-copy {
    max-width: 480px;
    font-size: 12px;
  }

  .register-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .register-benefits li {
    display: block;
  }

  .register-benefit-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .register-benefit-icon svg {
    width: 16px;
    height: 16px;
  }

  .register-benefits li > span:last-child {
    gap: 4px;
  }

  .register-benefits strong {
    font-size: 10px;
  }

  .register-benefits small {
    font-size: 9px;
  }

  .register-visual {
    display: none;
  }

  .register-form-panel {
    padding: 29px 24px 25px;
  }

  .register-form-heading {
    margin-bottom: 22px;
  }

  .register-form-heading h2 {
    font-size: 27px;
  }

  .register-form {
    gap: 17px;
  }

  .register-wizard-form {
    gap: 0;
  }

  .register-field-grid {
    gap: 17px;
  }

  .register-mobile-signin {
    display: block;
  }

  .register-footer {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .register-page {
    padding-right: 10px;
    padding-left: 10px;
  }

  .register-topbar {
    align-items: flex-start;
  }

  .register-topbar > p {
    max-width: 120px;
    text-align: right;
  }

  .register-intro,
  .register-form-panel {
    padding-right: 19px;
    padding-left: 19px;
  }

  .register-benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .register-benefits li {
    display: flex;
  }

  .register-benefits small {
    font-size: 10px;
  }
}

/* ── Customer sign-in ─────────────────────────────────────── */
.login-layout .login-intro {
  min-height: 720px;
}

.login-form-panel {
  min-width: 0;
}

.login-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.login-field-row > a {
  margin-bottom: 7px;
  color: #176b5b;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.login-field-row > a:hover,
.login-admin-link a:hover {
  text-decoration: underline;
}

.login-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.login-notice svg {
  flex: 0 0 16px;
  margin-top: 1px;
}

.login-notice-success {
  border-color: #b9dfcd;
  background: #f0faf4;
  color: #176b4d;
}

.login-notice-error {
  border-color: #f0c9c6;
  background: #fff5f4;
  color: #a3332d;
}

.login-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #587078;
  cursor: pointer;
  transform: translateY(-50%);
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
  background: #edf4f2;
  color: #103641;
}

.login-password-toggle:focus-visible {
  outline: 2px solid #1d6772;
  outline-offset: 2px;
}

.login-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1px;
}

.login-submit-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.login-submit-arrow {
  flex: 0 0 18px;
}

.login-admin-link {
  margin-top: 14px;
  color: #72878c;
  font-size: 11px;
  text-align: center;
}

.login-admin-link a {
  color: #176b5b;
  font-weight: 700;
  text-decoration: none;
}

.login-otp-heading {
  margin-bottom: 2px;
}

.login-otp-heading strong {
  overflow-wrap: anywhere;
  color: #294650;
}

.otp-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.otp-link {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #176b5b;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
}

.otp-link:disabled {
  color: #849497;
  cursor: wait;
}

.login-footer {
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .login-layout .login-intro {
    min-height: 700px;
  }
}

@media (max-width: 760px) {
  .login-layout .login-intro {
    min-height: auto;
  }

  .login-footer {
    flex-wrap: wrap;
  }
}

/* ── Customer dashboard responsive layouts ───────────────── */
.brand-dashboard .nova-main,
.brand-dashboard .nova-main > *,
.brand-dashboard .nova-main .nova-card {
  min-width: 0;
}

.brand-dashboard .nova-main img,
.brand-dashboard .nova-main svg {
  max-width: 100%;
}

.brand-dashboard .nova-main input,
.brand-dashboard .nova-main select,
.brand-dashboard .nova-main textarea {
  max-width: 100%;
}

.brand-dashboard .dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, .95fr);
  align-items: start;
  gap: 20px;
  margin-bottom: 22px;
}

.brand-dashboard .dashboard-main-primary,
.brand-dashboard .dashboard-recent-activity {
  min-width: 0;
}

.brand-dashboard .dashboard-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-dashboard .dashboard-recent-activity {
  padding: 22px;
  border: 1px solid #e1e9e7;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 44, 56, .04);
}

.brand-dashboard .dashboard-activity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-dashboard .dashboard-activity-heading .dashboard-eyebrow {
  margin: 0 0 5px;
  color: #1d6772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-dashboard .dashboard-activity-heading h2 {
  margin: 0;
  color: #102c38;
  font-size: 18px;
  font-weight: 750;
}

.brand-dashboard .dashboard-recent-activity #tx-list .tx-row {
  flex-wrap: wrap;
  gap: 9px !important;
  padding: 12px !important;
  border: 1px solid #e7eeeb !important;
  border-radius: 12px;
  background: #fbfdfc !important;
  box-shadow: none !important;
}

.brand-dashboard .dashboard-recent-activity #tx-list .tx-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand-dashboard .dashboard-recent-activity #tx-list .tx-row > div:nth-child(2) {
  flex: 1 1 calc(100% - 46px) !important;
}

.brand-dashboard .dashboard-recent-activity #tx-list .tx-description {
  color: #102c38 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.brand-dashboard .dashboard-recent-activity #tx-list .tx-row > div:nth-child(2) > div:nth-child(2) {
  color: #71858a !important;
}

.brand-dashboard .dashboard-recent-activity #tx-list .tx-amount {
  margin-left: 45px;
}

.brand-dashboard .dashboard-transfer-section {
  margin: 0 0 24px;
}

@media (max-width: 1100px) {
  .brand-dashboard .dashboard-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.brand-dashboard .dashboard-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.brand-dashboard .dashboard-snapshot-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid #e1e9e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,44,56,.04);
}

.brand-dashboard .dashboard-snapshot-label {
  color: #587078;
  font-size: 13px;
  line-height: 1.4;
}

.brand-dashboard .dashboard-snapshot-card strong {
  overflow-wrap: anywhere;
  color: #102c38;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.brand-dashboard .dashboard-snapshot-card small {
  color: #829398;
  font-size: 12px;
  line-height: 1.4;
}

.brand-dashboard .dashboard-quick-actions {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid #e1e9e7;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 44, 56, .04);
}

.brand-dashboard .dashboard-quick-actions-heading {
  margin-bottom: 14px;
}

.brand-dashboard .dashboard-quick-actions-heading .dashboard-eyebrow {
  margin: 0 0 5px;
  color: #1d6772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-dashboard .dashboard-quick-actions-heading h2 {
  margin: 0;
  color: #102c38;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-dashboard .dashboard-quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.brand-dashboard .dashboard-quick-links a {
  display: grid;
  min-width: 0;
  min-height: 70px;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1e9e7;
  border-radius: 13px;
  background: #fbfdfc;
  color: #102c38;
  text-decoration: none;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.brand-dashboard .dashboard-quick-links a:hover {
  transform: translateY(-2px);
  border-color: #b7d1cb;
  background: #f4f9f7;
  box-shadow: 0 8px 18px rgba(16, 44, 56, .06);
}

.brand-dashboard .dashboard-quick-action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #e8f2f0;
  color: #1d6772;
  font-size: 18px;
  font-weight: 750;
}

.brand-dashboard .dashboard-quick-links a > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.brand-dashboard .dashboard-quick-links strong {
  overflow: hidden;
  color: #163943;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-dashboard .dashboard-quick-links small {
  overflow: hidden;
  color: #71858a;
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-dashboard .dashboard-quick-action-arrow {
  color: #829b9b;
  font-size: 19px;
  line-height: 1;
}

.brand-dashboard .dashboard-quick-links a:focus-visible {
  outline: 3px solid rgba(29, 103, 114, .3);
  outline-offset: 2px;
}

.brand-dashboard .dashboard-support-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(145deg, #edf6f3, #f8fbfa) !important;
}

.brand-dashboard .dashboard-support-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #dcece7;
  color: #1d6772;
  font-size: 19px;
  font-weight: 700;
}

.brand-dashboard .dashboard-support-card h2 {
  margin: 0;
  color: #102c38;
  font-size: 19px;
}

.brand-dashboard .dashboard-support-card p,
.brand-dashboard .dashboard-support-card small {
  margin: 0;
  color: #587078;
  line-height: 1.55;
}

.brand-dashboard .dashboard-support-card .nova-btn {
  min-height: 42px;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .brand-dashboard .nova-main {
    padding: 24px 20px !important;
  }

  .brand-dashboard .dashboard-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-dashboard .dashboard-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-dashboard .dashboard-overview {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .brand-dashboard .dashboard-overview > * {
    grid-column: auto !important;
  }

  .brand-dashboard #goals {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .brand-dashboard #transfer {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .brand-dashboard .analytics-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-dashboard .analytics-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .brand-dashboard .nova-main {
    width: 100%;
    padding: 18px 14px calc(88px + env(safe-area-inset-bottom)) !important;
  }

  .brand-dashboard .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
    margin-bottom: 18px;
    border-radius: 17px;
  }

  .brand-dashboard .dashboard-snapshot {
    gap: 10px;
    margin-bottom: 14px;
  }

  .brand-dashboard .dashboard-snapshot-card {
    padding: 14px;
    border-radius: 13px;
  }

  .brand-dashboard .dashboard-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .brand-dashboard .dashboard-quick-links a {
    min-width: 0;
    padding: 8px 9px;
    font-size: 12px;
  }

  .brand-dashboard .dashboard-title {
    font-size: clamp(24px, 7vw, 32px);
    overflow-wrap: anywhere;
  }

  .brand-dashboard .dashboard-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-dashboard .dashboard-actions > .nova-btn {
    min-height: 44px;
  }

  .brand-dashboard .nova-main > .nova-card,
  .brand-dashboard .dashboard-overview > .nova-card,
  .brand-dashboard #goals > .nova-card,
  .brand-dashboard #transfer > .nova-card {
    padding: 20px !important;
    border-radius: 17px;
  }

  .brand-dashboard .balance-card {
    padding: 23px 20px !important;
  }

  .brand-dashboard #balance-display {
    font-size: clamp(28px, 8vw, 40px) !important;
    overflow-wrap: anywhere;
  }

  .brand-dashboard .virtual-card-heading,
  .brand-dashboard .virtual-card-details {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-dashboard .card-top-up-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-dashboard .card-top-up-controls .nova-btn,
  .brand-dashboard #card-issue-form .nova-btn,
  .brand-dashboard #savings-goal-form .nova-btn {
    min-height: 44px;
  }

  .brand-dashboard #tx-list .tx-row {
    flex-wrap: wrap;
    gap: 10px !important;
    padding: 13px !important;
  }

  .brand-dashboard #tx-list .tx-icon {
    width: 36px;
    height: 36px;
  }

  .brand-dashboard #tx-list .tx-description-wrap,
  .brand-dashboard #tx-list > .tx-row > div:nth-child(2) {
    flex: 1 1 calc(100% - 50px) !important;
  }

  .brand-dashboard #tx-list .tx-description {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .brand-dashboard #tx-list .tx-amount {
    margin-left: 46px;
  }

  .brand-dashboard .tx-status-badge {
    font-size: 9px;
    padding: 4px 7px;
  }

  .brand-dashboard .receipt-trigger {
    margin-left: auto;
  }

  .brand-dashboard .analytics-section-heading,
  .brand-dashboard .analytics-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-dashboard .analytics-live-label {
    white-space: normal;
  }

  .brand-dashboard .analytics-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-dashboard .nova-bottom-nav {
    padding: 7px 5px calc(7px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top-color: #dce8e5;
    box-shadow: 0 -8px 24px rgba(16, 44, 56, .08);
  }

  .brand-dashboard .nova-bottom-nav .bnav-item {
    gap: 3px;
    padding: 7px 3px;
    color: #647d7e;
    font-size: 10px;
  }

  .brand-dashboard .nova-bottom-nav .bnav-item.nav-active,
  .brand-dashboard .nova-bottom-nav .bnav-item:hover {
    color: #103641;
  }

  .brand-dashboard .dashboard-notification-panel,
  .brand-dashboard .dashboard-profile-panel {
    top: max(12px, env(safe-area-inset-top));
  }
}

@media (max-width: 520px) {
  .brand-dashboard .nova-main {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  .brand-dashboard .nova-main > .nova-card,
  .brand-dashboard .dashboard-overview > .nova-card,
  .brand-dashboard #goals > .nova-card,
  .brand-dashboard #transfer > .nova-card {
    padding: 16px !important;
  }

  .brand-dashboard .dashboard-header {
    padding: 15px;
  }

  .brand-dashboard .dashboard-actions {
    gap: 6px;
  }

  .brand-dashboard .dashboard-actions > .nova-btn {
    padding: 9px 11px !important;
  }

  .brand-dashboard .dashboard-icon-button,
  .brand-dashboard .dashboard-profile-button {
    min-width: 42px;
    height: 42px;
  }

  .brand-dashboard .analytics-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-dashboard .analytics-monthly-chart {
    gap: 5px;
  }

  .brand-dashboard .analytics-month-label {
    font-size: 9px;
  }

  .brand-dashboard #tx-pagination {
    gap: 8px;
    flex-wrap: wrap;
  }
}

.brand-dashboard .local-dashboard-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #d6e8e2;
  border-radius: 14px;
  background: #edf6f3;
  color: #35565e;
  font-size: 13px;
  line-height: 1.55;
}

.brand-dashboard .local-dashboard-notice > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: #d7eae4;
  color: #1d6772;
  font-weight: 800;
}

.brand-dashboard .local-dashboard-notice p {
  margin: 0;
}

.brand-dashboard .dashboard-extension-panel,
.brand-dashboard .dashboard-services-section {
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid #e1e9e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 44, 56, .04);
}

.brand-dashboard .dashboard-extension-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.brand-dashboard .dashboard-extension-heading h2,
.brand-dashboard .dashboard-extension-heading h3 {
  margin: 0;
  color: #102c38;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-dashboard .dashboard-extension-heading p:not(.dashboard-eyebrow) {
  margin: 5px 0 0;
  color: #587078;
  font-size: 13px;
  line-height: 1.5;
}

.brand-dashboard .dashboard-services-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: #dce8e5;
  background:
    radial-gradient(ellipse at 100% 0, rgba(29, 103, 114, .055), transparent 34%),
    #fff;
}

.brand-dashboard .dashboard-services-section > .dashboard-extension-heading {
  align-items: flex-start;
  margin: -24px -24px 22px;
  padding: 23px 24px 20px;
  border-bottom: 1px solid #e8efed;
  background: linear-gradient(110deg, #f8fbfa 0%, #fff 70%);
}

.brand-dashboard .dashboard-services-section .dashboard-eyebrow {
  margin: 0 0 6px;
  color: #1d6772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.brand-dashboard .dashboard-services-section .dashboard-extension-heading h2 {
  font-size: 25px;
  letter-spacing: -.035em;
}

.brand-dashboard .dashboard-services-section .dashboard-extension-heading p:not(.dashboard-eyebrow) {
  max-width: 650px;
  margin-top: 6px;
  color: #667e82;
  font-size: 13px;
}

.brand-dashboard .dashboard-services-section > .dashboard-extension-heading .dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.brand-dashboard .dashboard-services-section > .dashboard-extension-heading .dashboard-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d8a78;
  box-shadow: 0 0 0 4px rgba(29, 138, 120, .1);
  content: "";
}

.brand-dashboard .local-beneficiary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.brand-dashboard .local-extension-empty,
.brand-dashboard .local-extension-note {
  margin: 0;
  color: #71858a;
  font-size: 13px;
  line-height: 1.55;
}

.brand-dashboard .local-extension-note {
  margin-top: 14px;
}

.brand-dashboard .local-beneficiary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e1e9e7;
  border-radius: 13px;
  background: #fbfdfc;
}

.brand-dashboard .local-beneficiary > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-dashboard .local-beneficiary strong {
  overflow: hidden;
  color: #102c38;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-dashboard .local-beneficiary span {
  color: #71858a;
  font-size: 12px;
}

.brand-dashboard .local-beneficiary > div:last-child {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.brand-dashboard .local-beneficiary button,
.brand-dashboard .dashboard-service-card button,
.brand-dashboard .dashboard-text-button {
  border: 0;
  background: transparent;
  color: #1d6772;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.brand-dashboard .local-beneficiary button:hover,
.brand-dashboard .dashboard-service-card button:hover,
.brand-dashboard .dashboard-text-button:hover {
  color: #124a54;
  text-decoration: underline;
}

.brand-dashboard .dashboard-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-dashboard .dashboard-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 226px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #e3ece9;
  border-radius: 17px;
  background: linear-gradient(155deg, #fff 10%, #fbfdfc 100%);
  box-shadow: 0 4px 14px rgba(16, 44, 56, .035);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.brand-dashboard .dashboard-service-card:hover {
  transform: translateY(-3px);
  border-color: #bcd5cf;
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 44, 56, .09);
}

.brand-dashboard .dashboard-service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(29, 103, 114, .08);
  border-radius: 14px;
  background: linear-gradient(145deg, #eaf5f2, #dcece7);
  color: #1d6772;
  font-size: 22px;
  font-weight: 750;
  box-shadow: 0 5px 12px rgba(29, 103, 114, .08);
}

.brand-dashboard .dashboard-service-card h3 {
  margin: 0 0 7px;
  color: #102c38;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.015em;
}

.brand-dashboard .dashboard-service-card > div {
  width: 100%;
}

.brand-dashboard .dashboard-service-card p {
  margin: 0;
  color: #647d82;
  font-size: 13px;
  line-height: 1.6;
}

.brand-dashboard .dashboard-service-card button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid #d9e8e3;
  border-radius: 11px;
  background: #f2f8f6;
  color: #155561;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.brand-dashboard .dashboard-service-card button::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  transition: transform .16s ease;
}

.brand-dashboard .dashboard-service-card button:hover {
  border-color: #1d6772;
  background: #1d6772;
  color: #fff;
  text-decoration: none;
}

.brand-dashboard .dashboard-service-card button:hover::after {
  transform: translateX(3px);
}

.brand-dashboard .dashboard-service-card button:focus-visible,
.brand-dashboard .dashboard-text-button:focus-visible {
  outline: 3px solid rgba(29, 103, 114, .25);
  outline-offset: 3px;
}

.brand-dashboard .dashboard-service-card button:disabled,
.brand-dashboard .local-service-requests {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e1e9e7;
}

.brand-dashboard .local-service-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1ef;
}

.brand-dashboard .local-service-request > div {
  display: grid;
  gap: 4px;
}

.brand-dashboard .local-service-request strong {
  color: #102c38;
  font-size: 13px;
}

.brand-dashboard .local-service-request span {
  color: #71858a;
  font-size: 11px;
}

.brand-dashboard .local-service-request > span {
  color: #1d6772;
  font-weight: 700;
  text-align: right;
}

.brand-dashboard .local-service-request .local-service-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #d6e8e2;
  border-radius: 999px;
  background: #edf6f3;
  color: #1d6772;
  font-size: 11px;
  font-weight: 750;
  text-transform: capitalize;
}

.brand-dashboard .local-service-request .status-pending,
.brand-dashboard .local-service-request .status-submitted {
  border-color: #f0dfb8;
  background: #fff8e9;
  color: #91620f;
}

.brand-dashboard .local-service-request .status-declined,
.brand-dashboard .local-service-request .status-unavailable {
  border-color: #f1d4d5;
  background: #fff1f1;
  color: #9c3d42;
}

.brand-dashboard .local-service-request .status-previewed {
  border-color: #d6e8f0;
  background: #f0f8fc;
  color: #286483;
}

.brand-dashboard .local-service-modal[hidden],
.brand-dashboard .local-service-requests[hidden] {
  display: none;
}

.brand-dashboard.local-service-modal-open {
  overflow: hidden;
}

.brand-dashboard .local-service-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
  background: rgba(8, 29, 38, .64);
  backdrop-filter: blur(7px);
}

.brand-dashboard .local-service-dialog {
  display: flex;
  width: min(100%, 540px);
  max-height: min(90vh, 820px);
  max-height: min(90dvh, 820px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(207, 225, 219, .95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 25, 34, .3);
  animation: local-service-dialog-in .2s ease-out both;
}

.brand-dashboard .local-service-dialog.is-wide {
  width: min(100%, 940px);
}

.brand-dashboard .local-service-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex: 0 0 auto;
  padding: 23px 26px 20px;
  border-bottom: 1px solid #e6eeeb;
  background: linear-gradient(115deg, #f8fbfa 0%, #fff 76%);
}

.brand-dashboard .local-service-heading-copy {
  min-width: 0;
}

.brand-dashboard .local-service-header .dashboard-eyebrow {
  margin: 0 0 7px;
  color: #1d6772;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.brand-dashboard .local-service-header h2 {
  margin: 0;
  padding-right: 4px;
  color: #102c38;
  font-size: clamp(21px, 3vw, 26px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.brand-dashboard .local-service-header p:not(.dashboard-eyebrow) {
  max-width: 680px;
  margin: 7px 0 0;
  color: #5d747a;
  font-size: 13px;
  line-height: 1.5;
}

.brand-dashboard .local-service-content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 26px 24px;
  scrollbar-color: #b8cfca transparent;
  scrollbar-width: thin;
}

.brand-dashboard .local-flow-banner {
  position: relative;
  overflow: hidden;
  margin: 0 -26px 22px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(29, 103, 114, .13);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(115deg, #155561, #1d6772 60%, #237d83);
  color: #fff;
}

.brand-dashboard .local-flow-banner::after {
  position: absolute;
  right: 12%;
  bottom: -64px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.brand-dashboard .local-flow-banner .dashboard-eyebrow,
.brand-dashboard .local-flow-banner h3,
.brand-dashboard .local-flow-banner p {
  color: #fff;
}

.brand-dashboard .local-flow-banner h3 {
  position: relative;
  z-index: 1;
  margin: 3px 0 5px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.025em;
}

.brand-dashboard .local-flow-banner p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: .92;
}

.brand-dashboard .local-service-fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 13px;
}

.brand-dashboard .local-service-fieldset legend {
  padding: 0 6px;
  color: #35565e;
  font-size: 13px;
  font-weight: 700;
}

.brand-dashboard .local-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.brand-dashboard .local-service-form .local-method-option {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dfe8e5;
  border-radius: 12px;
  cursor: pointer;
}

.brand-dashboard .local-method-option:has(input:checked) {
  border-color: #1d9aca;
  background: #eff8fc;
  box-shadow: 0 0 0 2px rgba(29, 154, 202, .13);
}

.brand-dashboard .local-service-form .local-method-option input {
  width: 16px;
  min-width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0785b5;
}

.brand-dashboard .local-method-option > span:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.brand-dashboard .local-method-option strong {
  color: #102c38;
  font-size: 12px;
}

.brand-dashboard .local-method-option small {
  color: #71858a;
  font-size: 10px;
  font-weight: 500;
}

.brand-dashboard .local-method-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  background: #e8f2f0;
  color: #1d6772;
  font-size: 16px;
  font-weight: 750;
}

.brand-dashboard .local-amount-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -6px;
}

.brand-dashboard .local-amount-presets button {
  padding: 8px 12px;
  border: 1px solid #e1e9e7;
  border-radius: 9px;
  background: #f5f8f7;
  color: #35565e;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.brand-dashboard .local-amount-presets button:hover {
  border-color: #b7d1cb;
  background: #edf6f3;
}

.brand-dashboard .local-exchange-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.brand-dashboard .local-exchange-balances {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #f5f8f7;
}

.brand-dashboard .local-exchange-balances h3,
.brand-dashboard .local-loan-form h3,
.brand-dashboard .local-grant-form h3 {
  margin: 0 0 3px;
  color: #102c38;
  font-size: 17px;
}

.brand-dashboard .local-exchange-balances article {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #e6eeeb;
  border-radius: 12px;
  background: #fff;
}

.brand-dashboard .local-exchange-balances article > span:last-child {
  display: grid;
  gap: 4px;
}

.brand-dashboard .local-exchange-balances article small {
  color: #71858a;
  font-size: 11px;
}

.brand-dashboard .local-exchange-balances article strong {
  color: #102c38;
  font-size: 14px;
}

.brand-dashboard .local-exchange-form {
  margin: 0;
}

.brand-dashboard .local-conversion-preview {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #d6e8f0;
  border-radius: 12px;
  background: #f0f8fc;
}

.brand-dashboard .local-conversion-preview > span {
  color: #587078;
  font-size: 11px;
}

.brand-dashboard .local-form-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brand-dashboard .local-loan-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.brand-dashboard .local-loan-benefits article {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 12px;
  background: #f5f8f7;
}

.brand-dashboard .local-loan-benefits strong {
  color: #1d6772;
  font-size: 12px;
}

.brand-dashboard .local-loan-benefits span {
  color: #587078;
  font-size: 11px;
  line-height: 1.45;
}

.brand-dashboard .local-loan-form,
.brand-dashboard .local-grant-form {
  padding: 18px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #fff;
}

.brand-dashboard .local-grant-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.brand-dashboard .local-grant-types button {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 12px;
  background: #fff;
  color: #102c38;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.brand-dashboard .local-grant-types button.is-selected {
  border-color: #1d9aca;
  background: #eff8fc;
  box-shadow: 0 0 0 2px rgba(29, 154, 202, .12);
}

.brand-dashboard .local-grant-types strong {
  font-size: 14px;
}

.brand-dashboard .local-grant-types span {
  color: #587078;
  font-size: 12px;
  line-height: 1.4;
}

.brand-dashboard .local-grant-purpose-list {
  display: grid;
  gap: 8px;
}

.brand-dashboard .local-service-form .local-grant-purpose-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  border: 1px solid #edf1ef;
  border-radius: 10px;
  cursor: pointer;
}

.brand-dashboard .local-service-form .local-grant-purpose-list input {
  width: 16px;
  min-width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #1d6772;
}

.brand-dashboard .local-grant-purpose-list label > span {
  display: grid;
  gap: 4px;
}

.brand-dashboard .local-grant-purpose-list strong {
  color: #35565e;
  font-size: 12px;
}

.brand-dashboard .local-grant-purpose-list small {
  color: #71858a;
  font-size: 11px;
  font-weight: 400;
}

.brand-dashboard .local-grant-error {
  margin: 10px 0 0;
  color: #a52e32;
  font-size: 12px;
}

.brand-dashboard .local-service-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  margin: 0;
  padding: 0 0 2px;
  border: 1px solid #dfe9e6;
  border-radius: 12px;
  background: #fff;
  color: #45636a;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.brand-dashboard .local-service-close:hover {
  border-color: #c3dad3;
  background: #edf6f3;
  color: #155561;
}

.brand-dashboard .local-service-close:focus-visible {
  outline: 3px solid rgba(29, 103, 114, .24);
  outline-offset: 2px;
}

.brand-dashboard .local-service-disclaimer {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
  padding: 14px 26px 16px;
  border-top: 1px solid #e6eeeb;
  background: #f7faf9;
  color: #657d82;
  font-size: 11px;
  line-height: 1.5;
}

.brand-dashboard .local-service-disclaimer > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #d5e7e1;
  border-radius: 50%;
  background: #eaf5f1;
  color: #1d6772;
  font-size: 11px;
  font-weight: 800;
}

.brand-dashboard .local-service-disclaimer p {
  margin: 1px 0 0;
}

@keyframes local-service-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-dashboard .local-service-form {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.brand-dashboard .local-service-form label {
  display: grid;
  gap: 7px;
  color: #35565e;
  font-size: 13px;
  font-weight: 650;
}

.brand-dashboard .local-service-form input,
.brand-dashboard .local-service-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd9d5;
  border-radius: 10px;
  background: #fff;
  color: #102c38;
  font: inherit;
}

.brand-dashboard .local-service-form input:focus,
.brand-dashboard .local-service-form select:focus {
  outline: 3px solid rgba(29, 103, 114, .2);
  border-color: #1d6772;
}

.brand-dashboard .local-service-form .nova-btn {
  display: inline-flex;
  width: 100%;
  justify-self: stretch;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid #155561;
  border-radius: 11px;
  background: linear-gradient(110deg, #155561, #1d6772) !important;
  box-shadow: 0 7px 16px rgba(21, 85, 97, .17);
  color: #fff !important;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  transition: box-shadow .16s ease, transform .16s ease, filter .16s ease;
}

.brand-dashboard .local-service-form .nova-btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 10px 20px rgba(21, 85, 97, .22);
  transform: translateY(-1px);
}

.brand-dashboard .local-service-form .nova-btn:focus-visible,
.brand-dashboard .local-wallet-actions .nova-btn:focus-visible {
  outline: 3px solid rgba(29, 103, 114, .24);
  outline-offset: 3px;
}

.brand-dashboard .local-service-form .nova-btn:disabled {
  cursor: wait;
  opacity: .65;
}

.brand-dashboard .local-service-form-error {
  margin: 0;
  color: #a52e32;
  font-size: 12px;
}

.brand-dashboard .local-guide-copy,
.brand-dashboard .local-service-disclaimer {
  margin: 0;
  color: #71858a;
  font-size: 12px;
  line-height: 1.55;
}

.brand-dashboard .local-service-form a {
  color: #1d6772;
  font-weight: 700;
}

.brand-dashboard .local-service-disclaimer {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  background: #edf6f3;
}

.brand-dashboard .local-exchange-row {
  display: flex;
  align-items: end;
  gap: 10px;
}

.brand-dashboard .local-exchange-row label {
  flex: 1;
}

.brand-dashboard .local-exchange-result {
  margin: 0;
  color: #102c38;
  font-size: 19px;
  font-weight: 750;
}

.brand-dashboard .local-wallet-panel {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  background: #edf6f3;
}

.brand-dashboard .local-wallet-panel span,
.brand-dashboard .local-wallet-panel small {
  color: #587078;
  font-size: 12px;
}

.brand-dashboard .local-wallet-panel strong {
  color: #102c38;
  font-size: 23px;
}

.brand-dashboard .local-wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.brand-dashboard .local-wallet-actions .nova-btn {
  min-width: 0;
  min-height: 44px;
  border-color: #d7e7e2;
  border-radius: 11px;
  background: #f2f8f6;
  color: #155561;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.brand-dashboard .local-wallet-actions .nova-btn:hover {
  border-color: #1d6772;
  background: #e7f2ef;
}

.brand-dashboard .local-wallet-message {
  min-height: 18px;
  color: #94620f;
  font-size: 12px;
}

.brand-dashboard .local-tax-checklist {
  padding-left: 22px;
  color: #35565e;
  font-size: 13px;
  line-height: 1.65;
}

.brand-dashboard .local-service-toast {
  position: fixed;
  z-index: 1100;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 17px;
  border-radius: 12px;
  background: #102c38;
  color: #fff;
  box-shadow: 0 12px 32px rgba(16, 44, 56, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.brand-dashboard .local-service-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-dashboard .local-service-toast.is-error {
  background: #8e292f;
}

@media (max-width: 1100px) {
  .brand-dashboard .dashboard-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .brand-dashboard .dashboard-extension-panel,
  .brand-dashboard .dashboard-services-section {
    padding: 18px 15px;
  }

  .brand-dashboard .dashboard-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-dashboard .local-beneficiary {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-dashboard .local-service-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  .brand-dashboard .local-service-dialog.is-wide {
    width: 100%;
  }

  .brand-dashboard .local-service-header {
    gap: 12px;
    padding: 17px 16px 15px;
  }

  .brand-dashboard .local-service-close {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .brand-dashboard .local-service-content {
    padding: 0 16px 18px;
  }

  .brand-dashboard .local-service-disclaimer {
    gap: 8px;
    padding: 11px 16px calc(12px + env(safe-area-inset-bottom));
  }

  .brand-dashboard .local-flow-banner {
    margin: 0 -16px 17px;
    padding: 19px 16px;
  }

  .brand-dashboard .local-method-grid,
  .brand-dashboard .local-exchange-layout,
  .brand-dashboard .local-loan-benefits,
  .brand-dashboard .local-grant-types,
  .brand-dashboard .local-form-two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-dashboard .local-service-fieldset {
    padding: 12px;
  }

  .brand-dashboard .local-service-form .nova-btn {
    width: 100%;
    justify-self: stretch;
  }

  .brand-dashboard .dashboard-services-section > .dashboard-extension-heading {
    margin: -18px -15px 18px;
    padding: 18px 15px 16px;
  }

  .brand-dashboard .dashboard-services-section .dashboard-extension-heading h2 {
    font-size: 22px;
  }

  .brand-dashboard .dashboard-service-card {
    min-height: 0;
    padding: 17px;
  }

  .brand-dashboard .local-service-request {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-dashboard .local-service-request > span {
    text-align: left;
  }
}

.brand-dashboard .local-preferences-form .local-preference-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.brand-dashboard .local-preferences-form .local-preference-option input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: #1d6772;
}

.brand-dashboard .local-preference-option span {
  display: grid;
  gap: 4px;
}

.brand-dashboard .local-preference-option strong {
  color: #35565e;
  font-size: 13px;
}

.brand-dashboard .local-preference-option small {
  color: #71858a;
  font-size: 12px;
  font-weight: 400;
}

.brand-dashboard.local-dashboard-compact .dashboard-extension-panel,
.brand-dashboard.local-dashboard-compact .dashboard-services-section {
  padding: 18px;
}

.brand-dashboard.local-dashboard-compact .dashboard-service-card {
  gap: 9px;
  padding: 13px;
}

.brand-dashboard.local-dashboard-compact .dashboard-snapshot-card {
  gap: 5px;
  padding: 14px;
}

.brand-dashboard.local-dashboard-reduced-motion *,
.brand-dashboard.local-dashboard-reduced-motion *::before,
.brand-dashboard.local-dashboard-reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;

  .brand-dashboard #tx-pagination .pager-btn {
    padding: 8px 12px;
  }

  .brand-dashboard .transaction-receipt-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .brand-dashboard .receipt-actions {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 360px) {
  .brand-dashboard .nova-main {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .brand-dashboard .nova-main > .nova-card,
  .brand-dashboard .dashboard-overview > .nova-card,
  .brand-dashboard #goals > .nova-card,
  .brand-dashboard #transfer > .nova-card {
    padding: 13px !important;
    border-radius: 14px;
  }

  .brand-dashboard .dashboard-actions {
    justify-content: space-between;
  }

  .brand-dashboard .dashboard-actions > .nova-btn {
    padding: 8px !important;
    font-size: 11px !important;
  }

  .brand-dashboard .dashboard-profile-button {
    padding-right: 5px;
  }

  .brand-dashboard .nova-bottom-nav .bnav-item {
    font-size: 9px;
  }

  .brand-dashboard .tx-status-badge {
    display: none;
  }
}

.admin-page .nova-main {
  min-width: 0;
}

.admin-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.admin-overview-stats > * {
  min-width: 0;
}

.admin-overview-stats .admin-stat {
  min-width: 0;
}

@media (max-width: 1100px) {
  .admin-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admin-overview-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .admin-page .nova-layout {
    display: block !important;
  }

  .admin-page .admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 8px 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .2);
    box-shadow: 0 6px 18px rgba(16, 44, 56, .12);
  }

  .admin-page .admin-sidebar .nova-sidebar-logo {
    flex: 1 1 120px;
    min-width: 0;
    padding: 0;
  }

  .admin-page .admin-sidebar .admin-nav {
    order: 3;
    display: flex;
    flex: 0 0 100% !important;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 8px 0 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .admin-page .admin-sidebar .admin-nav .nova-nav-item {
    flex: 0 0 auto;
    min-height: 40px;
    margin: 0;
    padding: 9px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .admin-page .admin-sidebar > .nova-card {
    flex: 0 0 auto;
    gap: 7px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
  }

  .admin-page .nova-main {
    width: 100%;
    margin-left: 0;
    padding: 20px 14px 28px !important;
  }

  .admin-dashboard-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 24px;
  }
}

@media (max-width: 380px) {
  .admin-page .admin-sidebar {
    padding-right: 8px;
    padding-left: 8px;
  }

  .admin-page .admin-sidebar .nova-sidebar-logo .hgb-wordmark {
    max-width: 110px;
    font-size: 12px;
  }

  .admin-page .admin-sidebar > .nova-card > div:nth-child(2) {
    display: none;
  }
}

@media (max-width: 767px) {
  .brand-dashboard .nova-main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .brand-dashboard .dashboard-header {
    position: relative;
    z-index: 20;
    order: 1;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin: -18px -14px 0;
    padding: 18px 16px;
    border: 0 !important;
    border-radius: 0 0 20px 20px;
    background: #103641 !important;
    color: #fff;
  }

  .brand-dashboard .dashboard-header .dashboard-eyebrow,
  .brand-dashboard .dashboard-header .dashboard-title {
    color: #fff !important;
  }

  .brand-dashboard .dashboard-header .dashboard-title {
    margin: 0;
    font-size: clamp(20px, 6vw, 27px);
  }

  .brand-dashboard .dashboard-header .dashboard-actions {
    width: auto;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
  }

  .brand-dashboard .dashboard-header .dashboard-chip,
  .brand-dashboard .dashboard-header #dashboard-refresh-button {
    display: none;
  }

  .brand-dashboard .dashboard-header .dashboard-icon-button,
  .brand-dashboard .dashboard-header .dashboard-profile-button {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .1);
    color: #fff;
  }

  .brand-dashboard .dashboard-header .dashboard-notification-panel,
  .brand-dashboard .dashboard-header .dashboard-profile-panel {
    top: calc(100% + 8px);
  }

  .brand-dashboard .dashboard-main-grid,
  .brand-dashboard .dashboard-main-primary,
  .brand-dashboard .dashboard-overview {
    display: contents !important;
  }

  .brand-dashboard .balance-card {
    order: 2;
    margin: 14px 0 0;
    border: 0 !important;
    border-radius: 20px;
    background: linear-gradient(135deg, #103641 0%, #1d6772 100%) !important;
    box-shadow: 0 12px 26px rgba(16, 54, 65, .16);
  }

  .brand-dashboard .balance-card::before {
    background: radial-gradient(circle, rgba(114, 199, 190, .2) 0%, transparent 72%) !important;
  }

  .brand-dashboard .balance-card #balance-display,
  .brand-dashboard .balance-card p,
  .brand-dashboard .balance-card strong {
    color: #fff !important;
  }

  .brand-dashboard .dashboard-quick-actions {
    order: 3;
    margin: 12px 0 20px;
    padding: 16px 12px 14px;
    border: 0;
    border-radius: 18px;
    background: #103641;
    box-shadow: 0 10px 24px rgba(16, 54, 65, .12);
  }

  .brand-dashboard .dashboard-quick-actions-heading {
    display: none;
  }

  .brand-dashboard .dashboard-quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .brand-dashboard .dashboard-quick-links a {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 7px;
    padding: 2px 3px;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
  }

  .brand-dashboard .dashboard-quick-links a:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  .brand-dashboard .dashboard-quick-action-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(114, 199, 190, .32);
    border-radius: 50%;
    background: rgba(114, 199, 190, .14);
    color: #a4e0d7;
  }

  .brand-dashboard .dashboard-quick-links a > span:nth-child(2) {
    display: block;
  }

  .brand-dashboard .dashboard-quick-links strong {
    color: #fff;
    font-size: 10px;
    white-space: normal;
  }

  .brand-dashboard .dashboard-quick-links small,
  .brand-dashboard .dashboard-quick-action-arrow {
    display: none;
  }

  .brand-dashboard #quick-transfer {
    order: 4;
  }

  .brand-dashboard .virtual-card-panel {
    order: 5;
  }

  .brand-dashboard .local-dashboard-notice {
    order: 6;
  }

  .brand-dashboard .dashboard-services-section {
    order: 7;
  }

  .brand-dashboard .dashboard-insights {
    order: 8;
    margin: 2px 0 20px;
  }

  .brand-dashboard .dashboard-credit-score {
    order: 9;
  }

  .brand-dashboard #activity {
    order: 10;
    margin-bottom: 20px;
  }

  .brand-dashboard #goals {
    order: 11;
  }

  .brand-dashboard #verification {
    order: 12;
  }

  .brand-dashboard #analytics {
    order: 13;
  }

  .brand-dashboard #transfer {
    order: 14;
  }

  .brand-dashboard .transfer-history-panel {
    order: 15;
  }

  .brand-dashboard .dashboard-cards-link-panel {
    order: 16;
  }

  .brand-dashboard .dashboard-insights-heading {
    margin: 0 0 12px;
  }

  .brand-dashboard .dashboard-insights-heading h2 {
    font-size: 21px;
  }

  .brand-dashboard .dashboard-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
  }

  .brand-dashboard .dashboard-snapshot-card {
    gap: 6px;
    padding: 13px;
    border-radius: 14px;
  }

  .brand-dashboard .dashboard-snapshot-label {
    font-size: 11px;
  }

  .brand-dashboard .dashboard-snapshot-card strong {
    font-size: clamp(16px, 4.5vw, 21px);
  }

  .brand-dashboard .dashboard-snapshot-card small {
    font-size: 10px;
  }

  .brand-dashboard #quick-transfer,
  .brand-dashboard .virtual-card-panel,
  .brand-dashboard #activity {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .brand-dashboard .dashboard-header {
    margin-right: -11px;
    margin-left: -11px;
  }

  .brand-dashboard .dashboard-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .brand-dashboard .dashboard-service-card {
    min-height: 205px;
    gap: 9px;
    padding: 13px;
    border-radius: 14px;
  }

  .brand-dashboard .dashboard-service-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 19px;
  }

  .brand-dashboard .dashboard-service-card h3 {
    font-size: 14px;
  }

  .brand-dashboard .dashboard-service-card p {
    font-size: 11px;
    line-height: 1.45;
  }

  .brand-dashboard .dashboard-service-card button {
    min-height: 38px;
    padding: 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .brand-dashboard .dashboard-header {
    margin-right: -8px;
    margin-left: -8px;
  }
}

@media (min-width: 1101px) {
  .brand-dashboard .dashboard-main-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, .9fr);
    align-items: start;
    gap: 18px 22px;
  }

  .brand-dashboard .dashboard-main-primary,
  .brand-dashboard .dashboard-overview {
    display: contents;
  }

  .brand-dashboard .dashboard-insights {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .brand-dashboard .dashboard-insights-heading {
    margin-bottom: 12px;
  }

  .brand-dashboard .dashboard-snapshot {
    gap: 12px;
    margin-bottom: 0;
  }

  .brand-dashboard .dashboard-snapshot-card {
    gap: 6px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .brand-dashboard .dashboard-snapshot-label {
    font-size: 11px;
  }

  .brand-dashboard .dashboard-snapshot-card strong {
    font-size: clamp(17px, 1.3vw, 21px);
  }

  .brand-dashboard .dashboard-snapshot-card small {
    font-size: 11px;
  }

  .brand-dashboard .balance-card {
    grid-column: 1;
    grid-row: 2;
    min-height: 230px;
  }

  .brand-dashboard .dashboard-main-grid .balance-card,
  .brand-dashboard .dashboard-main-grid #activity {
    align-self: start;
  }

  .brand-dashboard .dashboard-recent-activity {
    grid-column: 2;
    grid-row: 2;
  }

  .brand-dashboard .dashboard-quick-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-bottom: 0;
  }

  .brand-dashboard #quick-transfer {
    grid-column: 1;
    grid-row: 4;
  }

  .brand-dashboard .dashboard-credit-score {
    grid-column: 2;
    grid-row: 4;
    min-height: 100%;
  }

  .brand-dashboard .virtual-card-panel {
    grid-column: 1;
    grid-row: 5;
  }
}

.brand-dashboard .balance-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 25px 28px !important;
}

.brand-dashboard .balance-card::before {
  right: 0;
}

.brand-dashboard .balance-card-topline,
.brand-dashboard .balance-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.brand-dashboard .balance-card-owner,
.brand-dashboard .balance-card-account {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-dashboard .balance-card-brand,
.brand-dashboard .balance-card-account > span,
.brand-dashboard .balance-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-dashboard .balance-card-brand {
  color: #1d6772 !important;
}

.brand-dashboard .balance-card-owner > strong,
.brand-dashboard .balance-card-account > strong {
  color: #102c38;
  font-size: 13px;
  font-weight: 700;
}

.brand-dashboard .balance-card-account {
  text-align: right;
}

.brand-dashboard .balance-card-account > span {
  color: #587078;
}

.brand-dashboard .balance-card-amount {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}

.brand-dashboard .balance-card-label {
  color: #d7e9e6 !important;
  text-align: center;
}

.brand-dashboard .balance-card-amount-row {
  display: flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.brand-dashboard .balance-card #balance-display {
  min-width: 0;
  margin: 0 !important;
  font-size: clamp(29px, 7vw, 42px) !important;
  font-weight: 750;
  letter-spacing: -.045em !important;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-align: center;
}

.brand-dashboard .balance-visibility-toggle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #dff5f1;
  cursor: pointer;
}

.brand-dashboard .balance-visibility-toggle:hover {
  background: rgba(255, 255, 255, .22);
}

.brand-dashboard .balance-visibility-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.brand-dashboard .balance-visibility-toggle svg {
  width: 20px;
  height: 20px;
}

.brand-dashboard .balance-visibility-toggle svg[hidden] {
  display: none;
}

.brand-dashboard .balance-card-footer {
  align-items: center;
  margin-top: auto;
  color: #d7e9e6;
  font-size: 11px;
}

.brand-dashboard .balance-account-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
}

.brand-dashboard .balance-account-type {
  color: #d7e9e6;
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.brand-dashboard .balance-account-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #72c7be;
  box-shadow: 0 0 0 3px rgba(114, 199, 190, .16);
}

.brand-dashboard .balance-account-status.is-inactive i {
  background: #f0bf72;
  box-shadow: 0 0 0 3px rgba(240, 191, 114, .16);
}

.brand-dashboard .balance-card-footer time {
  text-align: right;
}

@media (max-width: 767px) {
  .brand-dashboard .balance-card {
    gap: 18px;
    padding: 17px 18px !important;
    border-radius: 18px;
  }

  .brand-dashboard .balance-card-brand,
  .brand-dashboard .balance-card-account > span {
    color: #b4d8d2 !important;
  }

  .brand-dashboard .balance-card-owner,
  .brand-dashboard .balance-card-account {
    gap: 3px;
  }

  .brand-dashboard .balance-card-brand,
  .brand-dashboard .balance-card-account > span,
  .brand-dashboard .balance-card-label {
    font-size: 9px;
  }

  .brand-dashboard .balance-card-owner > strong,
  .brand-dashboard .balance-card-account > strong {
    font-size: 11px;
  }

  .brand-dashboard .balance-card-amount {
    gap: 3px;
  }

  .brand-dashboard .balance-card-amount-row {
    gap: 5px;
  }

  .brand-dashboard .balance-card #balance-display {
    font-size: clamp(26px, 8vw, 35px) !important;
  }

  .brand-dashboard .balance-visibility-toggle {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    padding: 6px;
  }

  .brand-dashboard .balance-visibility-toggle svg {
    width: 18px;
    height: 18px;
  }

  .brand-dashboard .balance-card-footer {
    font-size: 10px;
  }

  .brand-dashboard .balance-card-footer,
  .brand-dashboard .balance-account-status,
  .brand-dashboard .balance-card-footer time {
    color: #d7e9e6 !important;
  }
}

.dashboard-profile-settings-link {
  display: flex;
  align-items: center;
  padding: 10px 0 2px;
  color: #176b5b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.dashboard-profile-settings-link:hover {
  color: #103641;
}

.dashboard-profile-kyc-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #f4d0cd;
  border-radius: 10px;
  background: #fff5f4;
  color: #a52a21;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.dashboard-profile-kyc-link:hover {
  border-color: #e7aaa5;
  background: #ffefed;
}

.dashboard-profile-kyc-link > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #ffe2df;
}

.dashboard-profile-kyc-link.is-verified {
  border-color: #cce5da;
  background: #f2f8f5;
  color: #176b4d;
}

.dashboard-profile-kyc-link.is-verified > span {
  background: #dceddf;
}

.dashboard-profile-kyc-link.is-verified:hover {
  border-color: #a9d2bc;
  background: #eaf5ee;
}

.dashboard-profile-kyc-link:not(.is-verified) {
  color: #a52a21;
}

.account-verification-page {
  background: #f2f6fb;
}

.account-verification-main {
  display: grid;
  gap: 20px;
  align-content: start;
  min-width: 0;
  padding: 28px;
}

.account-verification-main .transfer-page-header {
  align-items: center;
  margin-bottom: 0;
}

.account-verification-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e3eaf0;
  border-radius: 14px;
  background: #fff;
}

.account-verification-user > span:last-child {
  display: grid;
  gap: 3px;
}

.account-verification-user strong {
  color: #203d49;
  font-size: 13px;
}

.account-verification-user small {
  color: #778a95;
  font-size: 11px;
}

.account-verification-welcome {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px;
}

.account-verification-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: #e4f4fb;
  color: #1687bb;
  font-size: 19px;
  font-weight: 800;
}

.account-verification-welcome h2,
.account-verification-support h2 {
  margin: 0;
  color: #193744;
  font: 750 17px/1.35 var(--font-display);
}

.account-verification-welcome p,
.account-verification-support p {
  margin: 6px 0 0;
  color: #687d88;
  font-size: 12px;
  line-height: 1.65;
}

.account-terms-panel {
  padding: 22px;
}

.account-terms-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.account-terms-heading h2 {
  margin: 3px 0 0;
  color: #1d3844;
  font: 750 17px/1.35 var(--font-display);
}

.account-terms-heading h2 > span {
  color: #1888ba;
}

.account-terms-content {
  max-height: 390px;
  overflow: auto;
  padding: 16px;
  border: 1px solid #e1e9ed;
  border-radius: 12px;
  background: #fbfcfe;
  color: #536873;
  font-size: 12px;
  line-height: 1.65;
  scrollbar-color: #b7c8d0 #edf2f5;
  scrollbar-width: thin;
}

.account-terms-content h3 {
  margin: 16px 0 6px;
  color: #344c57;
  font-size: 12px;
  font-weight: 800;
}

.account-terms-content p {
  margin: 0 0 10px;
}

.account-terms-content ol,
.account-terms-content ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 12px;
  padding-left: 22px;
}

.account-terms-content li {
  padding-left: 2px;
}

.account-terms-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.account-terms-accepted-note {
  margin-left: auto;
  color: #176b4d;
  font-size: 11px;
  font-weight: 700;
}

.account-terms-feedback {
  min-height: 0;
  margin: 8px 0 0;
  font-size: 12px;
}

.account-terms-feedback:empty {
  display: none;
}

.account-terms-feedback.is-error {
  color: #a52a21;
}

.account-terms-feedback.is-success {
  color: #176b4d;
}

.account-terms-declined-note,
.account-verification-feedback {
  margin: 10px 0 0;
  padding: 11px 12px;
  border: 1px solid #efc7c3;
  border-radius: 10px;
  background: #fff7f6;
  color: #8e3029;
  font-size: 11px;
  line-height: 1.5;
}

.account-verification-feedback:empty {
  display: none;
}

.account-verification-feedback.is-success {
  border-color: #cce5da;
  background: #f2f8f5;
  color: #176b4d;
}

.account-verification-feedback {
  grid-column: 1 / -1;
}

.account-terms-read-hint {
  margin: 10px 0 0;
  color: #758992;
  font-size: 10px;
}

.account-terms-actions .nova-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.account-verification-status-card {
  padding: 22px;
}

.account-verification-status-card .verification-heading {
  margin-bottom: 18px;
}

.account-verification-status-card .verification-heading h2 {
  margin: 3px 0 0;
  color: #193744;
  font: 750 17px/1.35 var(--font-display);
}

.account-verification-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.account-verification-form-card {
  min-width: 0;
  padding: 20px;
  grid-column: 1 / -1;
}

.account-verification-form-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}

.account-verification-form-heading > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: #e9f4f8;
  color: #1d718a;
  font-size: 12px;
  font-weight: 800;
}

.account-verification-form-heading h2 {
  margin: 0;
  color: #193744;
  font: 750 15px/1.4 var(--font-display);
}

.account-verification-form-heading p {
  margin: 4px 0 0;
  color: #70838d;
  font-size: 11px;
  line-height: 1.5;
}

.account-verification-form-card .verification-form {
  padding: 16px 0 0;
}

.account-verification-form-card .verification-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-verification-form-subheading {
  display: grid;
  gap: 3px;
  margin: 18px 0 10px;
  padding-top: 16px;
  border-top: 1px solid #edf2f0;
  color: #203d49;
}

.account-verification-form-subheading:first-of-type {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.account-verification-form-subheading strong {
  font: 750 13px/1.4 var(--font-display);
}

.account-verification-form-subheading span {
  color: #778a95;
  font-size: 10px;
}

.kyc-document-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kyc-document-types label {
  cursor: pointer;
}

.kyc-document-types input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kyc-document-types span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid #dfe8ec;
  border-radius: 12px;
  background: #fff;
  color: #536873;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.kyc-document-types input:checked + span {
  border: 2px solid #1687bb;
  background: #f0f8fc;
  color: #176b8f;
}

.account-verification-form-card .verification-submit {
  justify-self: start;
}

.verification-review-alert {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #efc7c3;
  border-radius: 10px;
  background: #fff7f6;
  color: #8e3029;
  font-size: 11px;
  line-height: 1.5;
}

.verification-review-alert p {
  margin-top: 5px;
}

.verification-pending-card {
  grid-column: 1 / -1;
  border-color: #eadcba;
  background: #fffaf0;
  color: #76550e;
}

.verification-pending-card p {
  margin-top: 6px;
  color: #88734a;
  font-size: 12px;
  line-height: 1.5;
}

.account-verification-support,
.account-verification-support > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-verification-support {
  justify-content: space-between;
  padding: 18px 22px;
}

.account-verification-support .account-verification-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.account-verification-mobile-nav {
  display: none;
}

@media (max-width: 850px) {
  .account-verification-forms {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .account-verification-main {
    gap: 14px;
    padding: 16px 12px 90px;
  }

  .account-verification-main .transfer-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-verification-user {
    display: none;
  }

  .account-verification-welcome,
  .account-terms-panel,
  .account-verification-mobile-nav,
  .account-verification-status-card,
  .account-verification-form-card {
    padding: 16px;
  }

  .account-terms-content {
    max-height: 350px;
    padding: 12px;
    font-size: 11px;
  }

  .account-terms-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .account-terms-actions .nova-btn-primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .account-terms-actions .nova-btn,
  .account-verification-support > .nova-btn {
    justify-content: center;
    width: 100%;
  }

  .account-terms-accepted-note {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .account-verification-status-card .verification-heading {
    align-items: flex-start;
    flex-direction: row;
  }

  .account-verification-status-card .verification-progress-layout {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  .account-verification-status-card .verification-progress-ring {
    width: 86px;
    height: 86px;
  }

  .account-verification-status-card .verification-step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-verification-form-card .verification-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-verification-form-card .verification-field-wide {
    grid-column: auto;
  }

  .account-verification-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-verification-support > div {
    align-items: flex-start;
  }

  .account-verification-mobile-nav {
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce8e5;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 25px rgba(16,44,56,.06);
  }

  .account-verification-mobile-nav a {
    padding: 8px 9px;
    color: #536873;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }

  .account-verification-mobile-nav a.is-active {
    color: #1d6772;
  }
}

@media print {
  body.account-verification-page {
    background: #fff;
  }

  .account-verification-page .nova-sidebar,
  .account-verification-page .transfer-page-header,
  .account-verification-welcome,
  .account-terms-actions,
  .account-terms-feedback,
  .account-verification-status-card,
  .account-verification-forms,
  .account-verification-support {
    display: none !important;
  }

  .account-verification-main {
    display: block;
    padding: 0;
  }

  .account-terms-panel {
    border: 0;
    box-shadow: none;
  }

  .account-terms-content {
    max-height: none;
    overflow: visible;
    border: 0;
    background: #fff;
  }
}

.account-settings-page {
  display: flex;
  min-height: 100vh;
  background: #f5f8f8;
  color: #17313c;
}

.account-settings-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  width: 264px;
  height: 100vh;
  flex: 0 0 264px;
  flex-direction: column;
  border-right: 1px solid #e3eae9;
  background: #fff;
}

.account-settings-brand {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #edf1f0;
  color: #17313c;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.account-settings-brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 13px;
  background: #103641;
  color: #fff;
  font-size: 13px;
  letter-spacing: .04em;
}

.account-settings-sidebar nav {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px 14px;
}

.account-settings-nav-label {
  padding: 0 12px 9px;
  color: #8a9a9e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.account-settings-sidebar nav > a {
  display: flex;
  min-height: 43px;
  align-items: center;
  padding: 0 12px;
  border-radius: 11px;
  color: #5e6d75;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.account-settings-sidebar nav > a:hover,
.account-settings-sidebar nav > a.is-current {
  background: #e0efeb;
  color: #1d6772;
}

.account-settings-sidebar-user {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  margin: auto 12px 14px;
  padding: 11px;
  border: 1px solid #e6eceb;
  border-radius: 14px;
  background: #fbfcfc;
}

.account-settings-sidebar-user > span:nth-child(2),
.account-settings-header-user > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-settings-sidebar-user strong,
.account-settings-header-user strong {
  overflow: hidden;
  color: #243941;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-settings-sidebar-user small,
.account-settings-header-user small {
  overflow: hidden;
  color: #77868c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-settings-sidebar-user > a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #fff1f0;
  color: #b42318;
  text-decoration: none;
}

.account-settings-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 2px solid #c9ded9;
  border-radius: 50%;
  background: #e0efeb;
  color: #1d6772;
  font-size: 12px;
  font-weight: 800;
}

.account-settings-main {
  width: min(100% - 48px, 1120px);
  min-width: 0;
  margin: 0 auto;
  padding: 0 0 40px;
}

.account-settings-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e3eae9;
}

.account-settings-header > div > p {
  margin: 0 0 3px;
  color: #829195;
  font-size: 11px;
}

.account-settings-header h1 {
  margin: 0;
  color: #17313c;
  font-size: 23px;
  font-weight: 750;
}

.account-settings-header-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid #e5eceb;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.account-settings-title-card,
.account-settings-card,
.account-profile-card,
.account-support-card {
  border: 1px solid #e8eeed;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 44, 56, .055);
}

.account-settings-title-card {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px 20px;
}

.account-settings-title-card h2 {
  margin: 0 0 5px;
  color: #17313c;
  font-size: 18px;
  font-weight: 750;
}

.account-settings-title-card p,
.account-settings-card-heading p {
  margin: 0;
  color: #78878d;
  font-size: 12px;
  line-height: 1.5;
}

.account-settings-title-icon,
.account-settings-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: #e0efeb;
  color: #1d6772;
  font-size: 16px;
  font-weight: 800;
}

.account-settings-layout {
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.8fr);
  align-items: start;
  gap: 16px;
}

.account-settings-aside {
  display: grid;
  gap: 16px;
}

.account-profile-banner {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 20px 14px 18px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #103641, #1d6772);
  color: #fff;
  text-align: center;
}

.account-profile-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 3px;
  border: 2px solid #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.account-profile-banner > strong {
  font-size: 14px;
}

.account-profile-banner > span:last-child {
  color: rgba(255, 255, 255, .85);
  font-size: 11px;
}

.account-profile-banner > .account-profile-verification {
  margin-top: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
}

.account-profile-banner > .account-profile-verification.is-pending {
  color: #ffdfa8;
}

.account-profile-card > nav {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.account-profile-card > nav a {
  padding: 10px 11px;
  border-radius: 10px;
  color: #56636d;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.account-profile-card > nav a:hover,
.account-profile-card > nav a.is-current {
  background: #e0efeb;
  color: #1d6772;
}

.account-support-card {
  padding: 20px;
  background: linear-gradient(145deg, #eff7f5, #fff);
  text-align: center;
}

.account-support-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 13px;
  background: #1d6772;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.account-support-card h3 {
  margin: 0 0 5px;
  color: #1b303a;
  font-size: 14px;
}

.account-support-card p {
  margin: 0 0 12px;
  color: #718187;
  font-size: 12px;
  line-height: 1.5;
}

.account-support-card a,
.account-info-notice a {
  color: #1d6772;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.account-settings-card {
  min-width: 0;
}

.account-settings-card-heading {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border-bottom: 1px solid #edf1f0;
}

.account-settings-card-heading .account-settings-card-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 50%;
  background: #1d6772;
  color: #fff;
  font-size: 13px;
}

.account-settings-card-heading h3 {
  margin: 0 0 2px;
  color: #202e3a;
  font-size: 14px;
  font-weight: 750;
}

.account-profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding: 17px;
}

.account-profile-fields label,
.account-settings-form label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #46545d;
  font-size: 11px;
  font-weight: 650;
}

.account-profile-fields input,
.account-settings-form input {
  width: 100%;
  min-height: 39px;
  padding: 9px 11px;
  border: 1px solid #dfe7e7;
  border-radius: 11px;
  background: #fff;
  color: #35474f;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.account-profile-fields input[readonly] {
  background: #f8fafb;
  color: #5e6d75;
}

.account-settings-form input:focus {
  border-color: #72c7be;
  box-shadow: 0 0 0 3px rgba(29, 103, 114, .1);
}

.account-profile-fields label > small {
  color: #869398;
  font-size: 10px;
  font-weight: 400;
}

.account-profile-field-full {
  grid-column: 1 / -1;
}

.account-info-notice,
.account-warning-notice {
  margin: 0 17px 17px;
  padding: 13px 14px;
  border: 1px solid #c9ded9;
  border-radius: 12px;
  background: #eff7f5;
  color: #164d55;
  font-size: 12px;
  line-height: 1.5;
}

.account-info-notice strong,
.account-warning-notice strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 750;
}

.account-info-notice p,
.account-warning-notice p {
  margin: 0 0 5px;
}

.account-settings-form .account-info-notice,
.account-settings-form .account-warning-notice {
  margin: 0;
}

.account-warning-notice {
  border-color: #f4e3a3;
  background: #fffbea;
  color: #895400;
}

.account-settings-form {
  display: grid;
  gap: 15px;
  padding: 18px;
}

.account-password-card {
  max-width: 100%;
}

.account-settings-submit {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: #1d6772;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.account-settings-submit:hover {
  background: #103641;
}

.account-settings-submit:focus-visible {
  outline: 3px solid rgba(114, 199, 190, .55);
  outline-offset: 2px;
}

.account-settings-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.account-settings-submit-inline {
  width: fit-content;
}

.account-security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, .8fr);
  align-items: start;
  gap: 16px;
}

.account-settings-card-body {
  display: grid;
  gap: 15px;
  padding: 17px;
}

.account-settings-card-body > p {
  margin: 0;
  color: #5c6b72;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.account-settings-card-body > p strong {
  color: #1d6772;
}

.account-settings-card-body .account-info-notice,
.account-settings-card-body .account-warning-notice {
  margin: 0;
}

.account-security-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6f7c82;
  font-size: 11px;
}

.account-security-state > span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f0f2f4;
  color: #53606a;
  font-weight: 750;
}

.account-security-state.is-enabled > span {
  background: #e0efeb;
  color: #1d6772;
}

.account-two-factor-form {
  padding: 0;
}

.account-security-tips ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 18px 20px 20px 38px;
  color: #52626b;
  font-size: 12px;
}

.account-security-tips li::marker {
  color: #72c7be;
}

.account-pin-card {
  grid-column: 1 / -1;
}

.account-pin-body {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.account-pin-status {
  color: #68777d !important;
}

.settings-feedback {
  position: sticky;
  z-index: 4;
  top: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #c9ded9;
  border-radius: 11px;
  background: #eff7f5;
  color: #164d55;
  font-size: 13px;
}

.account-pin-dialog > .settings-feedback:not([hidden]) {
  position: static;
  margin-top: 15px;
}

.settings-feedback.is-error {
  border-color: #f1c8c5;
  background: #fff3f2;
  color: #a12c24;
}

.settings-feedback[hidden] {
  display: none;
}

.account-pin-dialog-open {
  overflow: hidden;
}

.account-pin-modal:not([hidden]) {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.account-pin-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 24, 31, .56);
  backdrop-filter: blur(4px);
}

.account-pin-dialog {
  position: relative;
  width: min(100%, 470px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #e5ebea;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(11, 33, 40, .25);
}

.account-pin-dialog > .account-settings-card-icon {
  margin-bottom: 12px;
}

.account-pin-dialog h2 {
  margin: 0 32px 5px 0;
  color: #20343c;
  font-size: 18px;
}

.account-pin-dialog > p {
  margin: 0;
  color: #748288;
  font-size: 12px;
}

.account-pin-dialog-close {
  position: absolute;
  top: 12px;
  right: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f3f6f6;
  color: #627178;
  font-size: 22px;
  cursor: pointer;
}

.account-pin-dialog .account-settings-form {
  padding: 19px 0 0;
}

@media (max-width: 900px) {
  .account-settings-sidebar {
    width: 220px;
    flex-basis: 220px;
  }

  .account-settings-main {
    width: calc(100% - 36px);
  }

  .account-settings-layout {
    grid-template-columns: minmax(210px, .75fr) minmax(0, 1.4fr);
  }
}

@media (max-width: 700px) {
  .account-settings-page {
    display: block;
  }

  .account-settings-sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e3eae9;
  }

  .account-settings-brand {
    min-height: 64px;
    padding: 10px 16px;
  }

  .account-settings-brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .account-settings-sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding: 8px 12px 12px;
    scrollbar-width: thin;
  }

  .account-settings-nav-label,
  .account-settings-sidebar-user {
    display: none;
  }

  .account-settings-sidebar nav > a {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 11px;
  }

  .account-settings-main {
    width: calc(100% - 28px);
    padding-bottom: 26px;
  }

  .account-settings-header {
    min-height: 68px;
    margin-bottom: 15px;
  }

  .account-settings-header h1 {
    font-size: 19px;
  }

  .account-settings-header-user {
    max-width: 58%;
    padding: 5px;
  }

  .account-settings-header-user > span:nth-child(2) {
    display: none;
  }

  .account-settings-title-card {
    min-height: 72px;
    padding: 15px;
  }

  .account-settings-title-card h2 {
    font-size: 16px;
  }

  .account-settings-layout,
  .account-security-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-settings-aside {
    display: contents;
  }

  .account-profile-card {
    order: 0;
  }

  .account-profile-card > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-support-card {
    order: 3;
  }

  .account-profile-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-profile-field-full {
    grid-column: auto;
  }

  .account-security-tips {
    grid-row: auto;
  }

  .account-pin-card {
    grid-column: auto;
  }

  .account-pin-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.brand-dashboard .balance-card {
  display: grid;
  min-height: 0;
  grid-template-rows: auto 1fr auto auto;
  gap: 20px;
  padding: 22px 24px !important;
  border: 1px solid rgba(29, 103, 114, .2) !important;
  border-radius: 20px;
  background: linear-gradient(130deg, #103641 0%, #1d6772 100%) !important;
  box-shadow: 0 14px 30px rgba(16, 54, 65, .16);
  color: #fff;
}

.brand-dashboard .nova-card.balance-card {
  color: #fff !important;
}

.brand-dashboard .balance-card::before {
  right: -25px;
  background: radial-gradient(circle, rgba(114, 199, 190, .22) 0%, transparent 72%) !important;
}

.brand-dashboard .balance-card-topline {
  align-items: flex-start;
}

.brand-dashboard .balance-card-owner {
  gap: 6px;
}

.brand-dashboard .balance-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.brand-dashboard .balance-card-brand-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.brand-dashboard .nova-card .balance-card-account-type {
  color: rgba(235, 248, 246, .78);
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.brand-dashboard .balance-card-account > span,
.brand-dashboard .nova-card .balance-card-label {
  color: rgba(235, 248, 246, .76) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.brand-dashboard .balance-card-account {
  padding: 8px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
}

.brand-dashboard .balance-card-account > strong,
.brand-dashboard .balance-card-owner > strong {
  color: #fff !important;
  font-size: 14px;
}

.brand-dashboard .balance-card-account > strong {
  font-size: 13px;
  letter-spacing: .04em;
}

.brand-dashboard .balance-card-details {
  display: grid;
  grid-template-columns: minmax(135px, .75fr) minmax(0, 1.8fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-dashboard .balance-card-profile {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
}

.brand-dashboard .balance-card-profile > strong {
  max-width: 100%;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.brand-dashboard .nova-card .balance-card-status,
.brand-dashboard .nova-card .balance-card-verification {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(235, 248, 246, .9);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.brand-dashboard .balance-card-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #5ee0a0;
  box-shadow: 0 0 0 3px rgba(94, 224, 160, .15);
}

.brand-dashboard .balance-card-status.is-inactive i {
  background: #ffbd69;
  box-shadow: 0 0 0 3px rgba(255, 189, 105, .16);
}

.brand-dashboard .balance-card-verification > span {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: rgba(94, 224, 160, .18);
  color: #86efac;
  font-size: 10px;
}

.brand-dashboard .balance-card-verification.is-pending > span {
  background: rgba(255, 189, 105, .18);
  color: #ffcf91;
}

.brand-dashboard .balance-card-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
}

.brand-dashboard .balance-card-metric {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.brand-dashboard .balance-card-fiat {
  justify-items: start;
  text-align: left;
}

.brand-dashboard .balance-card-amount-row {
  justify-content: flex-start;
}

.brand-dashboard .balance-card #balance-display {
  color: #fff !important;
  font-size: clamp(24px, 3.2vw, 36px) !important;
  letter-spacing: -.035em !important;
  text-align: left;
}

.brand-dashboard .balance-card-bitcoin > strong {
  color: #fff !important;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.3;
}

.brand-dashboard .nova-card .balance-card-metric-note {
  color: rgba(235, 248, 246, .72);
  font-size: 10px;
  line-height: 1.35;
}

.brand-dashboard .balance-card .balance-visibility-toggle {
  color: #fff;
}

.brand-dashboard .balance-card-amount {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.brand-dashboard .balance-card-total {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .11);
}

.brand-dashboard .balance-card-total > strong {
  color: #fff !important;
  font-size: clamp(18px, 2.2vw, 23px);
  letter-spacing: -.025em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.brand-dashboard .balance-card-total > .balance-card-metric-note {
  max-width: 240px;
}

.brand-dashboard .balance-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.brand-dashboard .balance-card-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.brand-dashboard .balance-card-action:hover {
  transform: translateY(-1px);
}

.brand-dashboard .balance-card-action-primary {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.brand-dashboard .balance-card-action-primary:hover {
  background: rgba(255, 255, 255, .26);
}

.brand-dashboard .balance-card-action-secondary {
  background: #fff;
  color: #15515c;
  box-shadow: 0 5px 14px rgba(9, 42, 49, .14);
}

.brand-dashboard .balance-card-action-secondary:hover {
  background: #eaf5f3;
}

.brand-dashboard .balance-card-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.brand-dashboard .nova-card .balance-card-updated {
  justify-self: end;
  color: rgba(235, 248, 246, .62);
  font-size: 10px;
  text-align: right;
}

@media (max-width: 767px) {
  .brand-dashboard .balance-card {
    gap: 16px;
    padding: 18px !important;
  }

  .brand-dashboard .balance-card-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .brand-dashboard .balance-card-profile {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .brand-dashboard .balance-card-profile > .balance-card-label,
  .brand-dashboard .balance-card-profile > strong {
    grid-column: 1;
  }

  .brand-dashboard .balance-card-profile > .balance-card-status,
  .brand-dashboard .balance-card-profile > .balance-card-verification {
    grid-column: 2;
  }

  .brand-dashboard .balance-card-profile > .balance-card-status {
    grid-row: 1;
  }

  .brand-dashboard .balance-card-profile > .balance-card-verification {
    grid-row: 2;
  }

  .brand-dashboard .balance-card-metrics {
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .15);
  }

  .brand-dashboard .balance-card-fiat {
    justify-items: center;
    text-align: center;
  }

  .brand-dashboard .balance-card-amount-row {
    justify-content: center;
  }

  .brand-dashboard .balance-card #balance-display {
    font-size: clamp(23px, 7vw, 31px) !important;
    text-align: center;
  }

  .brand-dashboard .balance-card-amount {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-dashboard .balance-card-total {
    width: fit-content;
    max-width: 100%;
  }

  .brand-dashboard .balance-card-actions {
    justify-content: stretch;
  }

  .brand-dashboard .balance-card-action {
    flex: 1 1 0;
    padding: 0 10px;
    font-size: 12px;
  }
}

.dashboard-cards-link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 24px 28px;
}

.dashboard-cards-link-panel h2 {
  margin: 4px 0;
  color: #103641;
  font: 700 20px var(--font-display);
}

.dashboard-cards-link-panel p:last-child {
  color: #587078;
  font-size: 13px;
}

.dashboard-cards-link-panel .nova-btn {
  text-decoration: none;
  white-space: nowrap;
}

.customer-cards-page .nova-layout {
  min-height: 100vh;
}

.customer-cards-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.customer-cards-brand .hgb-wordmark {
  font-size: 15px;
}

.customer-cards-main {
  width: calc(100% - 260px);
  min-height: 100vh;
  margin-left: 260px;
  padding: 0 clamp(20px, 3vw, 42px) 60px;
}

.customer-cards-topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(-42px, -3vw, -20px) 28px;
  padding: 16px clamp(22px, 3vw, 42px);
  border-bottom: 1px solid #e1e9e7;
  background: rgba(255,255,255,.92);
}

.customer-cards-topbar h1 {
  color: #102c38;
  font: 700 22px/1.2 var(--font-display);
}

.customer-cards-topbar p {
  margin-top: 5px;
  color: #829398;
  font-size: 13px;
}

.customer-cards-topbar .nova-btn,
.customer-card-page-heading .nova-btn,
.customer-card-submit-row .nova-btn {
  text-decoration: none;
}

.customer-card-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto 22px;
}

.customer-card-page-heading > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.customer-card-heading-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  background: #1d6772;
  color: #fff;
  font-size: 21px;
}

.customer-card-page-heading h2 {
  color: #102c38;
  font: 700 clamp(23px, 2.5vw, 30px)/1.2 var(--font-display);
}

.customer-card-page-heading p {
  margin-top: 4px;
  color: #587078;
  font-size: 13px;
}

.customer-card-page-heading .nova-btn {
  flex: 0 0 auto;
  padding: 10px 15px;
  font-size: 12px;
}

.customer-card-page-heading .customer-card-apply-link {
  background: #1d6772 !important;
  color: #fff !important;
}

.customer-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  max-width: 1440px;
  margin: 0 auto 17px;
}

.customer-card-stats article {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(16,44,56,.05);
}

.customer-card-stat-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.customer-card-stat-icon.stat-blue { background: #1d6772; }
.customer-card-stat-icon.stat-amber { background: #c17a22; }
.customer-card-stat-icon.stat-green { background: #34835e; }

.customer-card-stats article div {
  display: grid;
  gap: 4px;
}

.customer-card-stats small {
  color: #829398;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-card-stats strong {
  color: #102c38;
  font: 700 20px/1.1 var(--font-display);
}

.customer-card-promo {
  position: relative;
  display: flex;
  min-height: 192px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto 17px;
  padding: 25px clamp(22px, 3vw, 34px);
  border: 1px solid #1d6772;
  border-radius: 18px;
  background: linear-gradient(120deg, #103641 0%, #1d6772 72%, #2b8290 100%);
  box-shadow: 0 12px 25px rgba(16,54,65,.14);
  color: #fff;
}

.customer-card-promo::after {
  position: absolute;
  top: -90px;
  right: -40px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(114,199,190,.15);
  content: '';
}

.customer-card-promo-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.customer-card-promo-copy .dashboard-eyebrow {
  color: #b8e3dd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.customer-card-promo-copy h3 {
  margin-top: 8px;
  font: 700 clamp(20px, 2.3vw, 28px)/1.2 var(--font-display);
}

.customer-card-promo-copy > p:not(.dashboard-eyebrow) {
  max-width: 680px;
  margin-top: 8px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1.55;
}

.customer-card-promo-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 15px;
  padding: 0;
  list-style: none;
}

.customer-card-promo-copy li {
  color: #e0efeb;
  font-size: 11px;
  font-weight: 700;
}

.customer-card-promo-copy li::before {
  margin-right: 6px;
  color: #72c7be;
  content: '✓';
}

.customer-card-preview {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(250px, 29%);
  min-width: 205px;
  min-height: 142px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07));
  box-shadow: 0 12px 24px rgba(4,27,34,.2);
  transform: rotate(3deg);
}

.customer-card-preview > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.customer-card-preview > div strong {
  color: #b8e3dd;
}

.customer-card-preview > p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
}

.customer-card-preview > small {
  color: rgba(255,255,255,.8);
  font-size: 9px;
}

.customer-card-integration-notice {
  position: absolute;
  right: 24px;
  bottom: 10px;
  z-index: 1;
  max-width: 520px;
  color: rgba(255,255,255,.66);
  font-size: 9px;
  text-align: right;
}

.customer-card-list-panel {
  max-width: 1440px;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 1px solid #e1e9e7;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,44,56,.05);
}

.customer-card-list-panel > header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e9efed;
}

.customer-card-list-panel > header h3 {
  color: #102c38;
  font: 700 16px var(--font-display);
}

.customer-card-list-panel > header a {
  color: #1d6772;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.customer-card-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.customer-card-empty {
  padding: 15px 3px;
  color: #829398;
  font-size: 12px;
}

.customer-card-empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 16px;
  text-align: center;
}

.customer-card-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  background: #e0efeb;
  color: #1d6772;
  font-size: 27px;
}

.customer-card-empty-state strong {
  color: #102c38;
  font: 700 17px var(--font-display);
}

.customer-card-empty-state p {
  max-width: 390px;
  color: #70848a;
  font-size: 13px;
  line-height: 1.5;
}

.customer-card-empty-state .nova-btn {
  margin-top: 3px;
  padding: 11px 17px;
  background: #1d6772 !important;
  color: #fff !important;
  text-decoration: none;
}

.customer-card-item {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 19px;
  padding: 14px;
  border: 1px solid #e1e9e7;
  border-radius: 15px;
  background: #fbfcfc;
}

.customer-card-item-visual {
  display: flex;
  min-height: 125px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-radius: 13px;
  background: linear-gradient(140deg, #103641, #1d6772);
  color: #fff;
}

.customer-card-item.card-brand-mastercard .customer-card-item-visual {
  background: linear-gradient(140deg, #424a53, #1c2731);
}

.customer-card-item.card-brand-amex .customer-card-item-visual {
  background: linear-gradient(140deg, #335d79, #163d59);
}

.customer-card-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.customer-card-item-top > strong {
  font-size: 10px;
  letter-spacing: .08em;
}

.customer-card-item-visual > p {
  overflow-wrap: anywhere;
  font: 700 12px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.customer-card-item-visual > small {
  color: rgba(255,255,255,.75);
  font-size: 9px;
}

.customer-card-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff4d8;
  color: #876300;
  font-size: 10px;
  font-weight: 800;
  text-transform: capitalize;
}

.customer-card-status.status-active,
.customer-card-status.status-approved {
  background: #e5f4eb;
  color: #247044;
}

.customer-card-status.status-frozen,
.customer-card-status.status-declined,
.customer-card-status.status-closed {
  background: #fff0ef;
  color: #9c3935;
}

.customer-card-item-details h4 {
  color: #103641;
  font: 700 15px var(--font-display);
  text-transform: capitalize;
}

.customer-card-item-details p {
  margin-top: 7px;
  color: #50646b;
  font-size: 11px;
}

.customer-card-item-details > small {
  display: block;
  margin-top: 7px;
  color: #829398;
  font-size: 10px;
}

.customer-card-item-details .customer-card-status-reason {
  color: #8b3c38;
}

.customer-card-controls .nova-btn {
  padding: 8px 11px;
  font-size: 11px;
}

.customer-card-application-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid #e8eeec;
  border-radius: 12px;
}

.customer-card-application-row strong {
  color: #103641;
  font-size: 12px;
}

.customer-card-application-row p,
.customer-card-application-row small {
  display: block;
  margin-top: 5px;
  color: #70848a;
  font-size: 10px;
}

.customer-card-application-shell {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e1e9e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,44,56,.06);
}

.customer-card-form-banner {
  padding: 24px clamp(20px, 3vw, 32px);
  background: linear-gradient(110deg, #103641, #1d6772);
  color: #fff;
}

.customer-card-form-banner h3 {
  font: 700 22px var(--font-display);
}

.customer-card-form-banner p {
  margin-top: 6px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.customer-card-form {
  padding: 24px clamp(18px, 3vw, 28px);
}

.customer-card-form-section {
  margin-bottom: 24px;
}

.customer-card-form-section > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #102c38;
  font: 700 15px var(--font-display);
}

.customer-card-form-section > h3 > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e0efeb;
  color: #1d6772;
}

.customer-card-field-label,
.customer-card-form-grid label {
  display: block;
  margin-bottom: 7px;
  color: #435b63;
  font-size: 11px;
  font-weight: 700;
}

.customer-card-form-grid label span {
  color: #b33d39;
}

.customer-card-brand-options {
  display: grid;
  gap: 9px;
}

.customer-card-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 11px 13px;
  border: 1px solid #dfe7e5;
  border-radius: 13px;
  cursor: pointer;
}

.customer-card-choice.is-selected {
  border-color: #72aaa4;
  background: #f3f9f7;
  box-shadow: 0 0 0 2px rgba(114,199,190,.12);
}

.customer-card-choice input {
  accent-color: #1d6772;
}

.customer-card-choice > span {
  display: grid;
  gap: 4px;
}

.customer-card-choice strong {
  color: #263d45;
  font-size: 13px;
}

.customer-card-choice small {
  color: #7a8a8e;
  font-size: 10px;
}

.customer-card-choice > b {
  padding: 5px 7px;
  border-radius: 5px;
  background: #e0efeb;
  color: #1d6772;
  font-size: 9px;
}

.customer-card-choice:nth-child(2) > b {
  background: #fbefe4;
  color: #a55013;
}

.customer-card-choice:nth-child(3) > b {
  background: #eff1f2;
  color: #47545a;
}

.customer-card-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.customer-card-form-grid > div {
  min-width: 0;
}

.customer-card-form-grid .nova-input {
  min-height: 44px;
  border-radius: 11px;
  font-size: 13px;
}

.customer-card-form-grid > div > small {
  display: block;
  margin-top: 5px;
  color: #849397;
  font-size: 10px;
}

.customer-card-form-grid .customer-card-form-wide,
.customer-card-form-grid .customer-card-limit-field {
  grid-column: 1 / -1;
}

.customer-card-limit-field > div {
  position: relative;
  display: flex;
  align-items: center;
}

.customer-card-limit-field > div > span {
  position: absolute;
  left: 13px;
  color: #70848a;
  font-size: 10px;
  font-weight: 700;
}

.customer-card-limit-field > div .nova-input {
  padding-right: 14px;
  padding-left: 48px;
}

.customer-card-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border: 1px solid #cfe0e8;
  border-radius: 12px;
  background: #f2f8fb;
  cursor: pointer;
}

.customer-card-terms input {
  margin-top: 3px;
  accent-color: #1d6772;
}

.customer-card-terms span {
  display: grid;
  gap: 5px;
}

.customer-card-terms strong {
  color: #263d45;
  font-size: 12px;
}

.customer-card-terms small {
  color: #708087;
  font-size: 10px;
  line-height: 1.5;
}

.customer-card-feedback {
  min-height: 19px;
  margin: 10px 0;
  color: #1d6772;
  font-size: 12px;
}

.customer-card-feedback.is-error {
  color: #a93232;
}

.customer-card-submit-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.customer-card-submit-row > .nova-btn:first-child {
  flex: 1;
  justify-content: center;
  padding: 13px;
  background: #1d6772 !important;
  color: #fff !important;
}

.customer-card-submit-row > .nova-btn:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.customer-card-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1440px;
  margin: 16px auto 0;
}

.customer-card-benefits article {
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: rgba(255,255,255,.8);
}

.customer-card-benefits strong {
  color: #103641;
  font-size: 12px;
}

.customer-card-benefits p {
  margin-top: 5px;
  color: #70848a;
  font-size: 10px;
  line-height: 1.5;
}

.customer-cards-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .customer-card-item {
    grid-template-columns: minmax(190px, .8fr) minmax(180px, 1fr);
  }

  .customer-card-controls {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 767px) {
  .dashboard-cards-link-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .customer-cards-main {
    width: 100%;
    margin-left: 0;
    padding: 0 14px 92px;
  }

  .customer-cards-topbar {
    min-height: 76px;
    margin: 0 -14px 23px;
    padding: 12px 16px;
  }

  .customer-cards-topbar h1 {
    font-size: 18px;
  }

  .customer-cards-topbar p {
    font-size: 11px;
  }

  .customer-cards-topbar .nova-btn {
    padding: 8px 10px;
    font-size: 10px;
  }

  .customer-card-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .customer-card-page-heading .nova-btn {
    align-self: stretch;
    justify-content: center;
  }

  .customer-card-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .customer-card-stats article {
    min-height: 68px;
  }

  .customer-card-promo {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    padding: 20px;
  }

  .customer-card-preview {
    width: min(100%, 290px);
    min-width: 0;
    align-self: center;
  }

  .customer-card-integration-notice {
    position: static;
    margin: 0;
    text-align: left;
  }

  .customer-card-list-panel > header {
    padding: 13px 15px;
  }

  .customer-card-list {
    padding: 12px;
  }

  .customer-card-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .customer-card-controls {
    grid-column: auto;
    justify-self: stretch;
  }

  .customer-card-controls .nova-btn {
    width: 100%;
    justify-content: center;
  }

  .customer-card-form-grid,
  .customer-card-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-card-form-grid .customer-card-form-wide,
  .customer-card-form-grid .customer-card-limit-field {
    grid-column: auto;
  }

  .customer-card-submit-row {
    flex-direction: column;
  }

  .customer-card-submit-row > .nova-btn {
    justify-content: center;
  }

  .customer-cards-mobile-nav {
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce8e5;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 25px rgba(16,44,56,.06);
  }

  .customer-cards-mobile-nav a {
    padding: 8px 10px;
    color: #587078;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .customer-cards-mobile-nav a.is-active {
    color: #1d6772;
  }
}

.admin-customer-cards {
  display: grid;
  gap: 12px;
}

.admin-customer-card-item {
  padding: 16px;
  border: 1px solid #e1e9e7;
  border-radius: 14px;
  background: #fff;
}

.admin-customer-card-item .transfer-request-heading {
  align-items: flex-start;
  margin-bottom: 10px;
}

.admin-customer-card-item .transfer-request-heading h3 {
  color: #103641;
  font: 700 14px/1.4 var(--font-display);
}

.admin-customer-card-item > p {
  margin: 6px 0;
  color: #587078;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-customer-card-item > p strong {
  color: #294650;
}

.admin-card-management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.admin-card-management-actions .nova-btn {
  padding: 8px 12px;
  font-size: 11px;
}

#card-management-details {
  margin-bottom: 14px;
  color: #587078;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .admin-customer-card-item .transfer-request-heading {
    flex-direction: column;
  }

  .admin-card-management-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.brand-dashboard .nova-sidebar .nova-nav-item,
.admin-page .admin-sidebar .nova-nav-item {
  --nav-icon-color: #1d6772;
  --nav-icon-bg: #e0efeb;
}

.brand-dashboard .nova-sidebar .nova-nav-item svg,
.admin-page .admin-sidebar .nova-nav-item svg {
  width: 34px !important;
  height: 34px !important;
  padding: 8px;
  border-radius: 11px;
  background: var(--nav-icon-bg);
  color: var(--nav-icon-color);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.brand-dashboard .nova-sidebar .nova-nav-item:hover svg,
.admin-page .admin-sidebar .nova-nav-item:hover svg {
  transform: translateY(-1px);
}

.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="activity"] { --nav-icon-color: #167a8a; --nav-icon-bg: #e1f3f5; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="cards"] { --nav-icon-color: #8a5b12; --nav-icon-bg: #fff3d9; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="local-transfer"],
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="international-transfer"],
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="transfer"] { --nav-icon-color: #28714e; --nav-icon-bg: #e4f3e9; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="deposit"] { --nav-icon-color: #24744d; --nav-icon-bg: #e5f4e8; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="exchange"] { --nav-icon-color: #6251a8; --nav-icon-bg: #eeeafb; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="beneficiaries"] { --nav-icon-color: #b25d35; --nav-icon-bg: #fff0e8; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="loan"],
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="grant"] { --nav-icon-color: #8752a8; --nav-icon-bg: #f2eafb; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="tax"] { --nav-icon-color: #b26c22; --nav-icon-bg: #fff2df; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="verify-account"] { --nav-icon-color: #237b58; --nav-icon-bg: #e4f3e9; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="settings"] { --nav-icon-color: #526a78; --nav-icon-bg: #eaf0f3; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="goals"] { --nav-icon-color: #b26c22; --nav-icon-bg: #fff2df; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="analytics"] { --nav-icon-color: #26749b; --nav-icon-bg: #e5f2f8; }
.brand-dashboard .nova-sidebar .nova-nav-item[data-nav="support"] { --nav-icon-color: #6251a8; --nav-icon-bg: #eeeafb; }

.admin-page .admin-sidebar .nova-nav-item[data-nav="users"] { --nav-icon-color: #28749a; --nav-icon-bg: #e5f2f8; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="transfers"] { --nav-icon-color: #28714e; --nav-icon-bg: #e4f3e9; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="contacts"] { --nav-icon-color: #6251a8; --nav-icon-bg: #eeeafb; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="verifications"] { --nav-icon-color: #237b58; --nav-icon-bg: #e4f3e9; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="services"] { --nav-icon-color: #b26c22; --nav-icon-bg: #fff2df; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="cards"] { --nav-icon-color: #8a5b12; --nav-icon-bg: #fff3d9; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="security"] { --nav-icon-color: #237b58; --nav-icon-bg: #e4f3e9; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="logs"] { --nav-icon-color: #167a8a; --nav-icon-bg: #e1f3f5; }
.admin-page .admin-sidebar .nova-nav-item[data-nav="settings"] { --nav-icon-color: #526a78; --nav-icon-bg: #eaf0f3; }

.account-verification-form-subheading {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.account-verification-form-subheading > div {
  display: grid;
  gap: 3px;
}

.verification-section-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #e4f4fb;
  color: #1687bb;
}

.verification-section-icon svg {
  width: 18px;
  height: 18px;
}

.verification-section-icon--employment {
  background: #fff2df;
  color: #b26c22;
}

.verification-section-icon--address {
  background: #e5f2f8;
  color: #28749a;
}

.verification-section-icon--kin {
  background: #f2eafb;
  color: #8752a8;
}
.hgb-page-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(114, 199, 190, .12), transparent 34%),
    rgba(248, 251, 250, .78);
  backdrop-filter: blur(13px) saturate(.72);
  -webkit-backdrop-filter: blur(13px) saturate(.72);
  animation: hgb-loader-failsafe 4s linear forwards;
  opacity: 1;
  visibility: visible;
  transition: opacity .42s ease, visibility .42s ease;
}

.hgb-page-loader.is-hidden {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hgb-loader-content {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(280px, calc(100vw - 48px));
  text-align: center;
}

.hgb-loader-orbit {
  position: relative;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  margin-bottom: 4px;
}

.hgb-loader-ring {
  position: absolute;
  border: 1px solid rgba(29, 103, 114, .28);
  border-radius: 50%;
}

.hgb-loader-ring-outer {
  inset: 0;
  border-top-color: #72c7be;
  animation: hgb-loader-spin 5s linear infinite;
}

.hgb-loader-ring-middle {
  inset: 12px;
  border-right-color: #1d9a9b;
  animation: hgb-loader-spin 3.8s linear infinite reverse;
}

.hgb-loader-ring-inner {
  inset: 25px;
  border-bottom-color: #3a91a1;
  animation: hgb-loader-spin 2.8s linear infinite;
}

.hgb-loader-core {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #72c7be, #1d6772);
  box-shadow: 0 0 18px rgba(29, 103, 114, .4), 0 0 38px rgba(114, 199, 190, .36);
  animation: hgb-loader-pulse 1.5s ease-in-out infinite;
}

.hgb-loader-orbit-dot {
  position: absolute;
  top: 7px;
  right: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #35a6b0;
  box-shadow: 0 0 10px rgba(53, 166, 176, .7);
  transform-origin: -31px 51px;
  animation: hgb-loader-orbit 2.6s linear infinite;
}

.hgb-loader-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #103641;
}

.hgb-loader-brand strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #1d6772, #103641);
  box-shadow: 0 5px 14px rgba(16, 54, 65, .18);
  color: #fff;
  font: 800 10px/1 var(--font-display);
  letter-spacing: .03em;
}

.hgb-loader-brand span {
  font: 800 10px/1.3 var(--font-display);
  letter-spacing: .13em;
}

.hgb-loader-content > p {
  margin: 0;
  color: #647d82;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: .02em;
}

.hgb-loader-progress {
  position: relative;
  display: block;
  width: 112px;
  height: 3px;
  overflow: hidden;
  margin-top: 5px;
  border-radius: 99px;
  background: rgba(29, 103, 114, .12);
}

.hgb-loader-progress > span {
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #1d6772, #72c7be, transparent);
  animation: hgb-loader-progress 1.15s ease-in-out infinite;
}

@keyframes hgb-loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes hgb-loader-pulse {
  50% { transform: scale(.76); opacity: .76; }
}

@keyframes hgb-loader-orbit {
  to { transform: rotate(360deg); }
}

@keyframes hgb-loader-progress {
  to { transform: translateX(320%); }
}

@keyframes hgb-loader-failsafe {
  0%, 88% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .hgb-page-loader {
    animation-duration: 2s;
    transition-duration: .2s;
  }

  .hgb-loader-ring,
  .hgb-loader-core,
  .hgb-loader-orbit-dot,
  .hgb-loader-progress > span {
    animation-duration: 3s;
  }
}
