
:root {
  --navy:        #0b1f3a;
  --navy-deep:   #071528;
  --navy-mid:    #12305a;
  --blue:        #1a5f9e;
  --blue-bright: #2574c4;
  --blue-soft:   #e8f1fa;
  --teal:        #0d8a6a;
  --teal-soft:   #e6f7f2;
  --gold:        #c9a227;
  --gold-soft:   #faf6e9;
  --green:       #1a9e6a;
  --green-soft:  #e8f8f1;
  --red:         #c0392b;
  --red-soft:    #fdecea;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --gray-50:     #f4f6f9;
  --gray-100:    #e9eef5;
  --gray-200:    #d5dde8;
  --gray-300:    #b8c4d4;
  --gray-400:    #8a9bb0;
  --gray-500:    #5c6f86;
  --gray-600:    #3d4f66;
  --gray-700:    #2a3a4d;
  --gray-800:    #1a2736;
  --line:        #e2e8f0;
  --shadow-xs:   0 1px 2px rgba(11,31,58,.06);
  --shadow-sm:   0 2px 8px rgba(11,31,58,.08);
  --shadow-md:   0 6px 20px rgba(11,31,58,.10);
  --shadow-lg:   0 12px 40px rgba(11,31,58,.14);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --font:        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition:  0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-bright); }
ul { list-style: none; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.muted { color: var(--gray-500); }
.fine { font-size: 13px; color: var(--gray-400); line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  line-height: 1.2; white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-mid); color: var(--white); border-color: var(--navy-mid); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--gray-200); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); background: var(--blue-soft); }
.btn-ghost { background: transparent; color: var(--blue); border-color: transparent; padding: 8px 12px; }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-bright); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.fdic-banner {
  background: var(--navy-deep); color: rgba(255,255,255,.75);
  font-size: 12px; font-weight: 500; letter-spacing: .3px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 16px; flex-wrap: wrap; text-align: center;
}
.fdic-banner strong { color: #fff; font-weight: 600; }
.fdic-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4fc98e; flex-shrink: 0; }

.topbar {
  position: sticky; top: 0; z-index: 200; background: var(--white);
  border-bottom: 1px solid var(--line); display: flex; align-items: center;
  justify-content: space-between; padding: 0 5%; height: 72px; box-shadow: var(--shadow-xs);
}
.brand {
  display: flex; align-items: center; gap: 10px; font-size: 20px;
  font-weight: 700; color: var(--navy); letter-spacing: -0.3px;
}
.brand:hover { color: var(--navy); }
.brand-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--navy); color: #fff;
  font-size: 18px; font-weight: 800; border-radius: 8px;
}
.topbar nav { display: flex; align-items: center; gap: 6px; }
.topbar nav a {
  color: var(--gray-600); font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--transition);
}
.topbar nav a:hover { color: var(--navy); background: var(--gray-50); }
.topbar nav .nav-cta { background: var(--navy); color: #fff !important; margin-left: 8px; padding: 10px 18px; }
.topbar nav .nav-cta:hover { background: var(--navy-mid); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff; padding: 72px 5% 80px; display: grid;
  grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(37,116,196,.25), transparent 70%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.8px; margin-bottom: 18px; color: #fff;
}
.hero h1 em { font-style: normal; color: #7ec8ff; }
.hero .lead {
  font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.78);
  max-width: 480px; margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-actions .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.hero-actions .btn-primary:hover { background: #d4b03a; border-color: #d4b03a; }
.hero-actions .btn-secondary { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.hero-fine { font-size: 12px; color: rgba(255,255,255,.45); max-width: 420px; }
.hero-card {
  background: linear-gradient(145deg, #1a3a6e 0%, #0f2748 100%);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05);
  position: relative; z-index: 1;
}
.card-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .6px;
  color: rgba(255,255,255,.55); text-transform: uppercase;
}
.card-status { display: flex; align-items: center; gap: 6px; color: #4fc98e; }
.card-dot { width: 7px; height: 7px; border-radius: 50%; background: #4fc98e; }
.card-balance-label { font-size: 13px; color: rgba(255,255,255,.5); margin: 24px 0 4px; }
.card-balance { font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -1px; margin-bottom: 16px; }
.card-chips { display: flex; gap: 8px; margin-bottom: 24px; }
.card-chip {
  width: 42px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.1);
}

.section { padding: 72px 5%; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 {
  font-size: clamp(26px, 3.2vw, 34px); font-weight: 750; color: var(--navy);
  letter-spacing: -0.5px; margin-bottom: 12px;
}
.section-header p { font-size: 16.5px; color: var(--gray-500); line-height: 1.65; }
.section-alt { background: var(--white); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all var(--transition); box-shadow: var(--shadow-xs);
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.feature-card .card-link { font-size: 14px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.product-icon.checking { background: var(--blue-soft); }
.product-icon.savings  { background: var(--teal-soft); }
.product-icon.credit   { background: var(--gold-soft); }
.product-icon.auto     { background: #edf2ff; }
.product-icon.home     { background: #f0eaf8; }
.product-icon.personal { background: var(--green-soft); }
.product-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.product-card p { font-size: 14.5px; color: var(--gray-500); flex: 1; margin-bottom: 18px; line-height: 1.6; }

.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spotlight-content h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 750; color: var(--navy);
  margin-bottom: 16px; letter-spacing: -0.4px;
}
.spotlight-content p { font-size: 15.5px; color: var(--gray-500); margin-bottom: 12px; line-height: 1.65; }
.spotlight-content ul { margin: 16px 0 24px; }
.spotlight-content li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 15px; color: var(--gray-600); }
.spotlight-content li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.spotlight-visual {
  background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--line);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--gray-300);
}

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit-item { text-align: center; padding: 8px; }
.benefit-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--blue);
}
.benefit-item h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.benefit-item p { font-size: 14.5px; color: var(--gray-500); line-height: 1.6; }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 18px 0; font-size: 16px; font-weight: 600; color: var(--navy); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gray-400); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; font-size: 14.5px; color: var(--gray-500); line-height: 1.65; }

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; text-align: center; padding: 64px 5%;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 750; margin-bottom: 12px; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 28px; max-width: 520px; margin-inline: auto; }
.cta-band .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.cta-band .btn-primary:hover { background: #d4b03a; }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 56px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand {
  display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px;
}
.footer-brand img, .footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-about { font-size: 13.5px; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: rgba(255,255,255,.9); margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,.4);
}
.footer-legal { max-width: 640px; font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.35); margin-top: 16px; }

.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 16px; background: var(--off-white);
}
.auth-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 40px 36px; width: 100%; max-width: 420px;
}
.auth-card h1 { font-size: 24px; font-weight: 750; color: var(--navy); margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 14.5px; color: var(--gray-500); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 12px 14px; font-size: 15px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); background: var(--white); color: var(--gray-800);
  transition: border-color var(--transition); font-family: inherit;
}
.form-group input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,95,158,.12); }
.form-error {
  background: var(--red-soft); color: var(--red); font-size: 13.5px;
  padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; display: none;
}
.form-error.visible { display: block; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 14px; color: var(--gray-500); }
.auth-footer a { font-weight: 600; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; background: var(--navy-deep); color: #fff; display: flex; flex-direction: column;
  flex-shrink: 0; position: sticky; top: 0; height: 100vh;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px; padding: 22px 20px; font-size: 18px;
  font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-brand img, .sidebar-brand .brand-mark { width: 32px; height: 32px; }
.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.65); font-size: 14.5px; font-weight: 500; transition: all var(--transition);
}
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.nav-icon { font-size: 16px; width: 22px; text-align: center; }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.sidebar-username { font-size: 14px; font-weight: 600; color: #fff; }
.sidebar-email { font-size: 12px; color: rgba(255,255,255,.45); }
.btn-logout {
  width: 100%; background: transparent; border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); padding: 9px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.btn-logout:hover { background: rgba(255,255,255,.08); color: #fff; }

.app-main { flex: 1; background: var(--off-white); min-width: 0; }
.page-inner { padding: 32px 36px 48px; max-width: 960px; }
.page-header { margin-bottom: 28px; }
.page-title { font-size: 26px; font-weight: 750; color: var(--navy); letter-spacing: -0.4px; }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.summary-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-xs);
}
.summary-tile.hero-tile {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; border-color: transparent;
}
.tile-label { font-size: 12.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.hero-tile .tile-label { color: rgba(255,255,255,.7); }
.tile-value { font-size: 28px; font-weight: 750; letter-spacing: -0.5px; color: var(--navy); }
.hero-tile .tile-value { color: #fff; }
.tile-sub { font-size: 13px; color: var(--gray-400); margin-top: 4px; }
.hero-tile .tile-sub { color: rgba(255,255,255,.5); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.card-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.card-body { padding: 8px 0; }

.tx-row {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 22px;
  border-bottom: 1px solid var(--gray-50); transition: background var(--transition);
}
.tx-row:last-child { border-bottom: none; }
.tx-row:hover { background: var(--gray-50); }
.tx-left { display: flex; align-items: center; gap: 14px; }
.tx-icon {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 14px; flex-shrink: 0;
}
.tx-icon.credit { background: var(--green-soft); color: var(--green); }
.tx-icon.debit  { background: var(--red-soft); color: var(--red); }
.tx-title { font-size: 14.5px; font-weight: 600; color: var(--gray-700); }
.tx-date  { font-size: 12.5px; color: var(--gray-400); margin-top: 2px; }
.tx-amount { font-size: 15px; font-weight: 700; text-align: right; }
.tx-amount.positive { color: var(--green); }
.tx-amount.negative { color: var(--gray-700); }
.tx-kind-badge {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .3px;
}
.tx-kind-badge.credit { background: var(--green-soft); color: var(--green); }
.tx-kind-badge.debit  { background: var(--gray-100); color: var(--gray-500); }

.empty-state { text-align: center; padding: 40px 20px; color: var(--gray-400); }
.empty-icon { font-size: 32px; margin-bottom: 8px; opacity: .5; }
.empty-label { font-size: 14.5px; }

.app-form .form-group { margin-bottom: 16px; }
.app-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.goal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.goal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.goal-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.goal-amounts { font-size: 13.5px; color: var(--gray-500); }
.goal-bar { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.goal-bar-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--green)); border-radius: 4px; transition: width .4s ease; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 48px 5% 56px; }
  .hero-card { max-width: 360px; }
  .features-grid, .products-grid, .benefits-grid { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .summary-grid { grid-template-columns: 1fr; }
  .sidebar { width: 72px; }
  .nav-label, .sidebar-user-info, .sidebar-brand span:not(.brand-mark) { display: none; }
  .sidebar-brand { justify-content: center; padding: 18px 0; }
  .nav-link { justify-content: center; padding: 12px; }
  .sidebar-footer { padding: 12px 8px; }
  .sidebar-user { justify-content: center; }
  .btn-logout { font-size: 0; padding: 10px; }
  .btn-logout::before { content: "↩"; font-size: 16px; }
  .page-inner { padding: 24px 20px 40px; }
  .container[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .topbar { padding: 0 4%; height: 60px; }
  .topbar nav { display: none; }
  .topbar nav.open {
    display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 12px;
    box-shadow: var(--shadow-md); gap: 4px;
  }
  .topbar nav.open a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: block; }
  .features-grid, .products-grid, .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .app-form .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .app-shell { flex-direction: column; }
  .sidebar {
    width: 100%; height: auto; position: relative; flex-direction: row;
    flex-wrap: wrap; align-items: center;
  }
  .sidebar-brand { border-bottom: none; padding: 12px 16px; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; padding: 0 8px 8px; gap: 4px; }
  .nav-label { display: inline; font-size: 12px; }
  .nav-link { padding: 8px 10px; }
  .sidebar-footer { display: none; }
}

/* ── Additional elements ───────────────────────────────────────── */
.tx-month-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--gray-50); color: var(--gray-600);
  font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 8px 22px; border-bottom: 1px solid var(--line);
}
.tx-running {
  font-size: 11px; color: var(--gray-400); text-align: right; margin-top: 2px;
}
.tx-ref {
  font-size: 11px; color: var(--gray-400); margin-top: 2px;
}
.form-success {
  background: var(--green-soft); border: 1px solid var(--green);
  color: var(--green); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 14px; margin-bottom: 14px;
}
@keyframes shake {
  0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)}
}
