@charset "UTF-8";
@media (max-width:767px) {
  .authenticated-main > .form-card:has(#investment-content) { padding:8px; }
  #investment-content.investment-workspace { padding:10px; }
  #investment-panel-holdings .market-terminal { padding:10px; margin-inline:0; }
  #investment-panel-holdings .market-terminal-quote { padding:12px; }
  #investment-panel-holdings table { min-width:850px; }
  #investment-panel-holdings table th:first-child,
  #investment-panel-holdings table td:first-child { min-width:180px; }
}
/* Restriction notice matches the amber regulatory-notice pattern. */
.restriction-notice { margin:0 0 18px; }
.restriction-notice > div {
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 16px; border-radius:10px;
  background:var(--notice-amber-bg);
  border:1px solid var(--notice-amber-line);
}
.restriction-notice-icon {
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0; width:20px; height:20px; border-radius:50%;
  background:var(--notice-amber); color:#fff;
  font-size:12px; font-weight:700; font-style:normal; line-height:1; margin-top:1px;
}
.restriction-notice p { margin:0; flex:1; font-size:13px; line-height:1.5; color:var(--ink-900); }
.restriction-notice a {
  color:var(--bank-blue-700); font-weight:650;
  text-decoration:underline; text-underline-offset:3px;
  min-height:44px; display:inline-flex; align-items:center;
}
.restriction-notice a:hover, .restriction-notice a:focus-visible { color:var(--ink-900); }

.kyc-banner { display:flex; align-items:flex-start; gap:14px; flex-wrap:wrap; margin:0 0 18px; padding:14px 18px; background:#fff; border:1px solid var(--line); border-left:4px solid var(--bank-blue-700); border-radius:var(--radius-sm); box-shadow:0 1px 3px #0000000d; }
.kyc-banner-icon { display:inline-flex; flex-shrink:0; color:var(--bank-blue-700); margin-top:1px; }
.kyc-banner-icon .icon { width:20px; height:20px; }
.kyc-banner-copy { flex:1; min-width:200px; }
.kyc-banner-copy strong { display:block; font-size:14px; font-weight:650; color:var(--ink-900); }
.kyc-banner-copy p { margin:4px 0 0; font-size:13px; line-height:1.5; color:var(--muted); }
.kyc-banner .btn { flex-shrink:0; align-self:center; }
.kyc-banner .error-message { margin-top:8px; }
.kyc-banner-info { border-left-color:var(--bank-blue-700); }
.kyc-banner-warning { border-left-color:var(--warning); }
.kyc-banner-warning .kyc-banner-icon { color:var(--warning); }
.kyc-banner-danger { border-left-color:var(--danger); }
.kyc-banner-danger .kyc-banner-icon { color:var(--danger); }
@media (max-width:767px) {
  .kyc-banner { padding:12px 14px; gap:10px; }
  .kyc-banner .btn { width:100%; text-align:center; }
}

.restriction-card h2 { margin:0 0 8px; }
.restriction-action-name { margin:12px 0 0; font-size:13px; color:var(--muted); }
.restriction-resolve { margin:16px 0 0; padding:12px 14px; border-radius:var(--radius-md); background:var(--surface-warm); border:1px solid var(--line); }
.restriction-resolve p { margin:0 0 6px; font-size:13px; line-height:1.5; color:var(--ink-900); }
.restriction-resolve p:last-child { margin-bottom:0; color:var(--muted); }
.restriction-resolve p.restriction-call { margin:10px 0 0; font-size:14px; color:var(--ink-900); }
.restriction-call a { color:var(--bank-blue-700); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.restriction-call a:hover, .restriction-call a:focus-visible { color:var(--ink-900); }
:root {
  --ink: #181a1f;
  --muted: #5f636b;
  --green: #0047b8;
  --green-dark: #003a96;
  --accent: #d8dadf;
  --paper: #ffffff;
  --line: #d8dadf;
  --notice-amber: #c98a06;
  --notice-amber-bg: #fbf3de;
  --notice-amber-line: #eed9a0;
  --white: #fff;
  --black: #000;
  --red: #a63737;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --shadow: 0 8px 28px #163e3307;
  --text-scale: 1;
  --public-sans: var(--sans);
  --public-ink: #181a1f;
  --public-evergreen: #0047b8;
  --public-pine: #003a96;
  --public-mint: #eef5ff;
  --public-gold: #075bc7;
  --public-cream: #ffffff;
  --public-blue: #075bc7;
  --public-wine: #0047b8;
  --gold: #075bc7;
  --gold-dark: #0047b8;
  --forest: #0047b8;
  --forest-2: #075bc7;
  --mint: #eef5ff;
  --blue: #075bc7;
  --amber: #075bc7;
  --danger: #b3261e;
  --surface: #fff;
  --surface-warm: #ffffff;
  --shadow-premium: 0 16px 45px #173c3112;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --bank-blue-700: #0047b8;
  --bank-blue-600: #075bc7;
  --bank-blue-050: #eef5ff;
  --ink-900: #181a1f;
  --ink-600: #5f636b;
  --line-200: #d8dadf;
  --canvas: #ffffff;
  --positive: #187a45;
  --negative: #b3261e;
  --warning: #8a5a00;
}

/* Reference-detail pass: mobile overview strokes, shapes and optical spacing. */
@media (max-width: 767px) {
  body:has(.overview-dashboard) .overview-reference-mark {
    width: 30px;
    height: 30px;
  }
  body:has(.overview-dashboard) .overview-reference-mark .icon {
    width: 25px;
    height: 25px;
    stroke-width: 1.8;
  }
  body:has(.overview-dashboard) .authenticated-search {
    border-color: #b8b0a7;
    background: #ffffff;
    font-size: 14px;
  }
  body:has(.overview-dashboard) .mobile-chat-button .icon,
  body:has(.overview-dashboard) .authenticated-masthead .avatar .icon {
    width: 19px;
    height: 19px;
    stroke-width: 1.8;
  }
  body:has(.overview-dashboard) .authenticated-masthead .avatar {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    border-color: #6d6862;
    border-width: 1.25px;
  }
  body:has(.overview-dashboard) .overview-quick-actions a {
    min-height: 48px;
    gap: 10px;
    padding: 10px 20px;
    border-color: #cfc7bd;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(51, 43, 35, .1);
    font-size: 14px;
    font-weight: 550;
  }
  body:has(.overview-dashboard) .overview-quick-actions .quick-add {
    width: 76px;
    min-width: 76px;
  }
  body:has(.overview-dashboard) .overview-quick-actions .icon {
    width: 21px;
    height: 21px;
    stroke-width: 2;
  }
  body:has(.overview-dashboard) .overview-snapshot {
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    gap: 24px;
    border-color: #bcb4aa;
    border-width: 1.25px;
    border-radius: 10px;
  }
  body:has(.overview-dashboard) .snapshot-icon .icon {
    width: 42px;
    height: 42px;
  }
  body:has(.overview-dashboard) .snapshot-mobile-title {
    font-weight: 600;
  }
  body:has(.overview-dashboard) .snapshot-mobile-title small {
    background: #ded9d2;
    color: #514c47;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type {
    border-color: #aaa198;
    border-width: 1.25px;
    border-radius: 12px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header {
    border-bottom: 1px solid #b9b0a7;
    background: #064fba;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header h3,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money {
    font-weight: 700;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row + .account-group-row,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row {
    border-top-color: #bdb5ac;
    border-top-width: 1.25px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong {
    font-size: 15px;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance small {
    font-size: 14px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row > .icon,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row > .icon {
    stroke-width: 1.9;
  }
  body:has(.overview-dashboard) .mobile-banking-nav {
    border-top-color: #c8c0b7;
    box-shadow: 0 -2px 7px rgba(51, 43, 35, .07);
  }
  body:has(.overview-dashboard) .mobile-banking-nav .icon {
    width: 27px;
    height: 27px;
    stroke-width: 2;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font: 14px/1.55 var(--sans);
  color: var(--ink);
}
[data-private],
[data-real-value],
.balance-value,
.amount-col,
.account-value,
.account-tile-balance,
.history-summary strong,
.review-amount,
.phase7-result-amount,
.details-list dd {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings:
    "tnum" 1,
    "lnum" 1;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--bank-blue-600);
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--bank-blue-600);
  outline-offset: 1px;
  border-color: var(--bank-blue-600);
}
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 37px;
  line-height: 1.2;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
}
h3 {
  font-size: 15px;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 600;
}
button {
  border: 0;
  background: transparent;
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  padding: 12px 13px;
  color: var(--ink);
  height: 47px;
}
textarea {
  height: 82px;
  resize: vertical;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
label input,
label select,
label textarea {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 400;
}
input::placeholder {
  color: var(--muted);
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--bank-blue-700);
  margin: 0;
  flex-shrink: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  background: white;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 5px;
}
[hidden] {
  display: none !important;
}
.top-strip {
  height: 31px;
  background: var(--green-dark);
  color: var(--public-mint);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.top-strip .wrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-strip span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.top-strip .icon {
  width: 12px;
  height: 12px;
}
.wrap {
  max-width: 1360px;
  margin: auto;
  padding: 0 44px;
}
.masthead {
  height: 88px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.brand-star {
  color: var(--gold-dark);
  font-size: 44px;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -1px;
}
.brand-caption {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 7px;
  font-family: var(--sans);
}
.header-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 12px;
}
.header-links .active {
  font-weight: 700;
  color: var(--green);
}
.header-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  width: 35px;
  height: 35px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.separator {
  height: 25px;
  width: 1px;
  background: var(--line);
}
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  gap: var(--space-8);
}
.nav a {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  padding: 17px 0 15px;
  border-bottom: 3px solid transparent;
  font-size: 12px;
  color: var(--muted);
}
.nav a.active {
  border-color: var(--green);
  color: var(--green);
  font-weight: 650;
}
.nav .icon {
  width: 17px;
  height: 17px;
}
.nav .nav-end {
  margin-left: auto;
}
.icon-btn {
  padding: 7px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover {
  background: var(--mint);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 8px;
  background: var(--mint);
  color: var(--forest-2);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 550;
}
.pill .icon {
  width: 12px;
  height: 12px;
}
.green {
  color: var(--forest-2);
}
.red {
  color: var(--red);
}
.main {
  padding-top: 32px;
  padding-bottom: 48px;
  min-height: 70vh;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: var(--space-4);
}
.page-heading .eyebrow {
  margin-bottom: 7px;
}
.page-heading h1 {
  font-size: 34px;
}
.page-heading p:last-child {
  color: var(--muted);
  margin-top: 8px;
  font-size: 12px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-head {
  padding: 20px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.card-head h2 {
  font-size: 22px;
}
.card-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.balance-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--white);
  padding: 31px 34px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: 28px;
}
.balance-banner:after {
  content: "?";
  position: absolute;
  font-family: var(--serif);
  font-size: 270px;
  color: color-mix(in srgb, var(--white) 2%, transparent);
  line-height: 1;
  right: -58px;
  top: -32px;
  pointer-events: none;
}
.balance-banner .eyebrow {
  color: var(--line);
  font-size: 10px;
}
.balance-banner .balance-total {
  font-size: 46px;
  font-family: var(--serif);
  letter-spacing: -1px;
  margin: 5px 0;
}
.balance-banner small {
  color: var(--line);
  font-size: 11px;
}
.balance-banner .metric {
  padding-left: 26px;
  border-left: 1px solid color-mix(in srgb, var(--white) 13%, transparent);
  z-index: 1;
}
.balance-banner .metric strong {
  font-size: 27px;
  display: block;
  font-weight: 400;
  margin: 7px 0;
}
.balance-banner .metric p {
  color: var(--line);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.balance-banner .metric .icon {
  width: 16px;
  height: 16px;
}
.balance-banner .metric small {
  font-size: 10px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
}
.section-label h2 {
  font-size: 23px;
}
.section-label small {
  color: var(--muted);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(270px, 1fr);
  gap: var(--space-6);
  margin-bottom: 25px;
}
.accounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.account-card {
  padding: 23px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 223px;
}
.account-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}
.account-symbol {
  color: var(--green);
  background: var(--mint);
  border: 1px solid var(--line);
  width: 39px;
  height: 39px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.account-card h3 {
  font-size: 13px;
  font-weight: 650;
}
.account-card .account-number {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.account-value {
  font-size: 30px;
  font-family: var(--serif);
  letter-spacing: -0.7px;
  margin: 17px 0 0;
}
.account-card small {
  font-size: 10px;
  color: var(--muted);
}
.account-bottom {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.account-bottom .text-btn {
  font-size: 11px;
}
.quick-card {
  margin-top: 44px;
}
.quick-card .card-head {
  padding: 17px 21px;
}
.quick-card .card-head h2 {
  font-size: 21px;
}
.quick-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 21px;
  gap: var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--mint);
}
.quick-row:last-child {
  border-bottom: 0;
}
.quick-row:hover {
  background: var(--public-cream);
}
.quick-row > .icon:first-child {
  width: 19px;
  height: 19px;
  color: var(--muted);
}
.quick-row span {
  flex: 1;
}
.quick-row strong {
  display: block;
  font-size: 12px;
}
.quick-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 1px;
}
.quick-row > .icon:last-child {
  width: 14px;
  color: var(--muted);
}
.insights-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  margin-bottom: 25px;
}
.cashflow {
  padding: 21px 23px 17px;
}
.chart-legend {
  display: flex;
  gap: var(--space-4);
  font-size: 10px;
  color: var(--muted);
}
.chart-legend span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
  background: var(--muted);
}
.chart-legend span:last-child:before {
  background: var(--accent);
}
.chart {
  display: flex;
  gap: var(--space-4);
  height: 170px;
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 39px,
    var(--mint) 40px
  );
}
.chart-month {
  height: 100%;
  flex: 1;
  display: flex;
  gap: var(--space-1);
  align-items: flex-end;
  justify-content: center;
}
.bar {
  width: 22px;
  background: var(--muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-height: 2px;
}
.bar.spend {
  background: var(--accent);
}
.chart-labels {
  display: flex;
  gap: var(--space-4);
  padding: 8px 8px 0;
}
.chart-labels span {
  flex: 1;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.chart-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.spending {
  padding: 18px 23px;
}
.spending-total {
  font-size: 27px;
  font-family: var(--serif);
  margin-bottom: 15px;
}
.spending-total small {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted);
  margin-left: 8px;
}
.spending-row {
  display: grid;
  grid-template-columns: 95px 1fr 77px;
  gap: var(--space-3);
  align-items: center;
  margin: 11px 0;
  font-size: 10px;
}
.spending-row > strong {
  text-align: right;
  font-weight: 550;
}
.track {
  height: 5px;
  background: var(--mint);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.track span {
  display: block;
  height: 100%;
  background: var(--muted);
  border-radius: var(--radius-sm);
}
.spending-row:nth-child(3n) .track span {
  background: var(--accent);
}
.spending-row:nth-child(3n + 1) .track span {
  background: var(--muted);
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: left;
}
th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.7px;
  background: var(--public-cream);
  color: var(--muted);
  padding: 12px 23px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 23px;
  border-bottom: 1px solid var(--mint);
  font-size: 11px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--public-cream);
}
.amount-col {
  text-align: right;
}
.merchant {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.merchant-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--mint);
  color: var(--muted);
}
.merchant-icon.credit {
  background: var(--mint);
  color: var(--forest-2);
}
.merchant-icon .icon {
  width: 17px;
  height: 17px;
}
.merchant strong {
  display: block;
  font-size: 11px;
  max-width: 370px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.merchant small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.transaction-button {
  text-align: left;
  padding: 0;
}
.transaction-button:hover strong {
  text-decoration: underline;
}
.date-cell {
  color: var(--muted);
  font-size: 10px;
}
.amount-credit {
  color: var(--forest-2);
}
.amount-debit {
  color: var(--ink);
}
td.amount-col {
  font-weight: 600;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.status-dot:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--muted);
  margin-right: 5px;
}
.status-dot {
  font-size: 10px;
  color: var(--muted);
}
.table-footer {
  padding: 15px 23px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  color: var(--muted);
  font-size: 11px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.pagination button {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  padding: 6px 10px;
  font-size: 11px;
}
.pagination button:hover {
  background: var(--paper);
}
.pagination button:disabled {
  cursor: default;
  opacity: 0.4;
}
.welcome-note {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin: 25px 0 0;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 17px 23px;
  font-size: 11px;
}
.welcome-note > .icon {
  color: var(--muted);
}
.welcome-note strong {
  font-size: 12px;
  display: block;
}
.welcome-note p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.welcome-note > div {
  flex: 1;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 23px 0;
  color: var(--muted);
  background: var(--paper);
  font-size: 10px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.footer p {
  margin-top: 5px;
  font-size: 10px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: var(--space-4);
}
.footer-links button {
  font-size: 10px;
  padding: 0;
}
.auth-main {
  background: var(--white);
  min-height: calc(100vh - 119px);
}
.auth-layout {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  min-height: 650px;
}
.auth-form-wrap {
  padding: 63px 55px 50px max(44px, calc((100vw - 1272px) / 2));
  min-width: 0;
}
.auth-form-wrap > div {
  max-width: 365px;
}
.auth-form-wrap h1 {
  font-size: 39px;
  margin: 12px 0 12px;
}
.auth-form-wrap .intro {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 29px;
}
.auth-form {
  display: grid;
  gap: var(--space-4);
}
.input-with-button {
  position: relative;
}
.input-with-button input {
  padding-right: 47px;
}
.input-with-button button {
  position: absolute;
  right: 6px;
  top: 12px;
  padding: 8px;
}
.input-with-button .icon {
  width: 17px;
  height: 17px;
}
.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.remember-row label,
.check-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: 11px;
  font-weight: 400;
}
.auth-separator {
  border-top: 1px solid var(--line);
  margin: 26px 0 21px;
}
.signup-prompt {
  font-size: 12px;
  color: var(--muted);
}
.signup-prompt a {
  display: inline-block;
  color: var(--green);
  font-weight: 650;
  margin-top: 7px;
}
.auth-security {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  margin-top: 33px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.auth-security .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.auth-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: var(--bank-blue-700);
}
.auth-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.auth-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bank-blue-700) 4%, transparent) 35%,
    color-mix(in srgb, var(--ink-900) 91%, transparent) 100%
  );
}
.hero-caption {
  position: absolute;
  bottom: 57px;
  left: 47px;
  right: 40px;
  color: white;
  z-index: 1;
  max-width: 450px;
}
.hero-caption .eyebrow {
  color: #dce9ff;
  margin-bottom: 15px;
}
.hero-caption h2 {
  font-size: 46px;
  line-height: 1.12;
}
.hero-caption p:last-child {
  font-size: 12px;
  line-height: 1.85;
  max-width: 330px;
  color: var(--line);
  margin-top: 18px;
}
.hero-caption .hero-rule {
  display: block;
  height: 2px;
  width: 40px;
  background: #dce9ff;
  margin-top: 23px;
}
.auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  border-top: 1px solid var(--line);
  padding: 27px 0;
}
.auth-benefits > div {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.auth-benefits .icon {
  width: 24px;
  height: 24px;
  color: var(--muted);
}
.auth-benefits strong {
  font-size: 11px;
  display: block;
}
.auth-benefits small {
  font-size: 10px;
  color: var(--muted);
}
.signup-layout {
  max-width: 1000px;
  margin: 40px auto 50px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: var(--space-8);
}
.signup-aside {
  padding-top: 16px;
}
.signup-aside h1 {
  font-size: 37px;
  margin: 14px 0;
}
.signup-aside > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.step-list {
  margin-top: 30px;
  display: grid;
  gap: var(--space-6);
}
.step-item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  color: var(--muted);
}
.step-number {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 11px;
}
.step-item.active {
  color: var(--green);
}
.step-item.active .step-number {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.step-item strong {
  font-size: 12px;
}
.step-item small {
  display: block;
  font-size: 10px;
  margin-top: 1px;
}
.signup-card {
  padding: 31px;
}
.signup-card h2 {
  margin-bottom: 6px;
}
.signup-card > p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.span-2 {
  grid-column: 1/-1;
}
.form-step {
  display: grid;
  gap: var(--space-4);
}
.field-help {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
  display: block;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.form-actions .btn:only-child {
  margin-left: auto;
}
.error-message {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  color: var(--danger);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin: 15px 0;
}
.form-notice {
  display: flex;
  gap: var(--space-2);
  padding: 15px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--muted);
}
.form-notice > .icon {
  width: 17px;
  height: 17px;
}
.check-row {
  align-items: flex-start;
  line-height: 1.7;
}
.check-row input {
  margin-top: 3px;
}
.filter-card {
  padding: 22px;
  margin-bottom: 20px;
}
.filter-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-4);
}
.search-field {
  position: relative;
}
.search-field .icon {
  position: absolute;
  left: 13px;
  bottom: 14px;
  width: 18px;
  color: var(--muted);
}
.search-field input {
  padding-left: 40px;
}
.filter-bottom {
  display: flex;
  gap: var(--space-4);
  align-items: flex-end;
  margin-top: 18px;
}
.filter-bottom label {
  width: 180px;
}
.filter-bottom > .btn {
  margin-bottom: 2px;
}
.filter-note {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 10px;
}
.history-summary {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: 23px;
}
.history-summary strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}
.history-summary p {
  font-size: 10px;
  color: var(--muted);
}
.history-summary .divider {
  height: 35px;
  width: 1px;
  background: var(--line);
}
.empty-state {
  padding: 50px 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty-state .icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 15px;
  color: var(--accent);
}
.empty-state h3 {
  color: var(--ink);
  margin-bottom: 7px;
}
.loading-table {
  padding: 55px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  align-items: start;
  gap: var(--space-6);
}
.two-column > .card {
  height: fit-content;
}
.form-card {
  padding: 30px;
}
.form-card > h2 {
  margin-bottom: 7px;
}
.form-card > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 25px;
}
.form-stack {
  display: grid;
  gap: var(--space-6);
}
.transfer-steps {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: 26px;
  font-size: 10px;
  color: var(--muted);
}
.transfer-steps span {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.transfer-steps b {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  width: 23px;
  height: 23px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 500;
}
.transfer-steps .active {
  color: var(--green);
  font-weight: 600;
}
.transfer-steps .active b {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.transfer-steps i {
  height: 1px;
  background: var(--line);
  width: 30px;
}
.amount-input {
  position: relative;
}
.amount-input > span {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 21px;
  color: var(--muted);
}
.amount-input input {
  height: 59px;
  padding-left: 36px;
  font-size: 25px;
  font-family: var(--serif);
  margin-top: 7px;
}
.available-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}
.transfer-aside {
  padding: 25px;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  align-self: start;
}
.transfer-aside h2 {
  font-size: 25px;
  margin: 12px 0;
}
.transfer-aside > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.info-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: flex;
  gap: var(--space-2);
  margin: 20px 0;
  align-items: flex-start;
  font-size: 11px;
}
.info-list .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.info-list strong {
  display: block;
}
.info-list small {
  color: var(--muted);
  font-size: 10px;
}
.review-amount {
  text-align: center;
  font-family: var(--serif);
  font-size: 46px;
  margin: 18px 0 6px;
}
.review-caption {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}
.details-list {
  margin: 0;
}
.details-list > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 12px;
}
.details-list > div:last-child {
  border-bottom: 0;
}
.details-list dt {
  color: var(--muted);
  font-size: 11px;
}
.details-list dd {
  margin: 0;
  text-align: right;
  font-weight: 550;
  max-width: 65%;
  overflow-wrap: anywhere;
}
.details-list dd small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 10px;
  margin-top: 3px;
}
.success-icon {
  background: var(--mint);
  color: var(--forest-2);
  width: 62px;
  height: 62px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  margin: 5px auto 22px;
}
.success-icon .icon {
  height: 28px;
  width: 28px;
}
.success-heading {
  text-align: center;
}
.success-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
}
.receipt-ref {
  font-size: 10px;
  overflow-wrap: anywhere;
  margin-top: 18px;
  background: var(--paper);
  padding: 12px;
  text-align: center;
  color: var(--muted);
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-6);
}
.profile-sidebar {
  padding: 26px;
  align-self: start;
}
.profile-sidebar .avatar {
  height: 55px;
  width: 55px;
  font-size: 18px;
  margin-bottom: 18px;
}
.profile-sidebar h2 {
  font-size: 25px;
  margin-bottom: 6px;
}
.profile-sidebar p {
  font-size: 11px;
  color: var(--muted);
}
.profile-sidebar .details-list {
  margin-top: 22px;
}
.profile-sidebar .details-list > div {
  display: block;
}
.profile-sidebar .details-list dd {
  text-align: left;
  max-width: 100%;
  margin-top: 5px;
  font-size: 11px;
}
.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
}
.security-info {
  padding: 28px;
}
.security-info h2 {
  margin-bottom: 20px;
}
.security-item {
  display: flex;
  gap: var(--space-3);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.security-item:last-child {
  border: 0;
}
.security-item > .icon {
  color: var(--muted);
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.security-item strong {
  font-size: 12px;
}
.security-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.8;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green-dark);
  color: white;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 7px 25px color-mix(in srgb, var(--black) 13%, transparent);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 150;
  max-width: min(520px, 90vw);
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  width: min(540px, 92vw);
  color: var(--ink);
  box-shadow: 0 24px 90px color-mix(in srgb, var(--black) 20%, transparent);
}
dialog::backdrop {
  background: color-mix(in srgb, var(--green-dark) 44%, transparent);
  backdrop-filter: blur(3px);
}
.dialog-head {
  padding: 22px 27px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.dialog-head h2 {
  font-size: 25px;
}
.dialog-body {
  padding: 24px 27px;
}
.dialog-body > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.dialog-body .details-list {
  margin-top: 10px;
}
.dialog-footer {
  padding: 17px 27px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
}
.initial-loading {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--green);
}
.loading-star {
  font-size: 48px;
  color: var(--public-gold);
  animation: pulse 1.4s ease-in-out infinite;
}
.initial-loading p {
  font-family: var(--serif);
  font-size: 24px;
}
.fatal-error {
  max-width: 600px;
  margin: 100px auto;
  padding: 30px;
}
.fatal-error p {
  margin: 20px 0;
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
}
.no-wrap {
  white-space: nowrap;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: rotate(15deg);
  }
}
@media (min-width: 1450px) {
  .auth-form-wrap {
    padding-left: 70px;
  }
  .auth-layout {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 1100px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .header-links {
    gap: var(--space-4);
  }
  .header-user > span:not(.avatar):not(.separator) {
    display: none;
  }
  .nav .wrap {
    gap: var(--space-6);
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .quick-card {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-card .card-head {
    display: none;
  }
  .quick-row {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .quick-row:last-child {
    border-right: 0;
  }
  .merchant strong {
    max-width: 290px;
  }
  .auth-form-wrap {
    padding: 50px 35px;
  }
  .auth-hero .hero-caption {
    left: 30px;
  }
  .hero-caption h2 {
    font-size: 40px;
  }
  .balance-banner {
    gap: var(--space-4);
  }
  .balance-banner .balance-total {
    font-size: 40px;
  }
  .balance-banner .metric {
    padding-left: 20px;
  }
  .balance-banner .metric strong {
    font-size: 25px;
  }
}
@media (max-width: 767px) {
  .header-links {
    display: none;
  }
  .masthead {
    height: 76px;
  }
  .nav .wrap {
    gap: var(--space-6);
    overflow: auto;
    white-space: nowrap;
  }
  .nav .nav-end {
    margin-left: 0;
  }
  .nav a {
    font-size: 11px;
  }
  .nav a .icon {
    display: none;
  }
  .balance-banner {
    grid-template-columns: 1fr 1fr;
    padding: 25px;
  }
  .balance-banner > div:first-child {
    grid-column: 1/-1;
  }
  .balance-banner .metric {
    padding-left: 0;
    border: 0;
  }
  .balance-banner .metric strong {
    font-size: 23px;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .two-column,
  .security-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    order: -1;
    display: none;
  }
  .filter-top {
    grid-template-columns: 1fr 1fr;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .filter-bottom {
    flex-wrap: wrap;
  }
  .filter-note {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .auth-layout {
    grid-template-columns: 1fr 1fr;
    min-height: 590px;
  }
  .auth-form-wrap {
    padding: 40px 25px;
  }
  .auth-hero {
    min-height: 590px;
  }
  .hero-caption h2 {
    font-size: 35px;
  }
  .hero-caption p:last-child {
    font-size: 11px;
  }
  .auth-form-wrap h1 {
    font-size: 34px;
  }
  .signup-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 680px;
  }
  .signup-aside {
    padding: 0;
  }
  .signup-aside > p {
    display: none;
  }
  .signup-aside h1 {
    font-size: 30px;
    margin: 6px 0 20px;
  }
  .step-list {
    display: flex;
    justify-content: space-between;
    margin: 0;
    gap: var(--space-3);
  }
  .step-item small {
    display: none;
  }
  .step-item strong {
    font-size: 11px;
  }
  .step-number {
    height: 27px;
    width: 27px;
  }
  .auth-benefits {
    gap: var(--space-4);
  }
  .auth-benefits > div {
    gap: var(--space-2);
  }
  .auth-benefits small {
    font-size: 9px;
  }
  .auth-benefits .icon {
    width: 20px;
  }
  .footer .wrap {
    align-items: flex-start;
  }
  .footer-links {
    gap: var(--space-3);
  }
  .heading-actions .btn {
    padding: 10px 13px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .top-strip {
    font-size: 8px;
  }
  .top-strip .wrap > span:last-child {
    font-size: 8px;
    letter-spacing: 0.03em;
  }
  .brand-name {
    font-size: 25px;
  }
  .brand-star {
    font-size: 38px;
  }
  .brand-caption {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .header-user {
    gap: var(--space-2);
  }
  .header-user .separator {
    display: none;
  }
  .header-user .avatar {
    display: none;
  }
  .nav .wrap {
    gap: var(--space-6);
  }
  .nav a {
    padding: 14px 0 12px;
  }
  .main {
    padding-top: 24px;
  }
  .page-heading {
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading p:last-child {
    font-size: 10px;
  }
  .heading-actions .btn {
    font-size: 10px;
    min-height: 38px;
    padding: 8px 11px;
  }
  .heading-actions .btn .icon {
    display: none;
  }
  .balance-banner {
    padding: 23px;
    gap: var(--space-4);
  }
  .balance-banner .balance-total {
    font-size: 40px;
  }
  .balance-banner .metric strong {
    font-size: 23px;
  }
  .balance-banner .metric p {
    font-size: 10px;
  }
  .balance-banner small {
    font-size: 10px;
  }
  .accounts-grid {
    grid-template-columns: 1fr;
  }
  .account-card {
    padding: 21px;
    min-height: 0;
  }
  .account-symbol {
    margin-bottom: 12px;
  }
  .account-value {
    font-size: 32px;
  }
  .account-bottom {
    margin-top: 14px;
  }
  .quick-card {
    display: block;
  }
  .quick-row {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
  }
  .section-label h2 {
    font-size: 22px;
  }
  .section-label small {
    font-size: 10px;
  }
  .overview-grid {
    gap: var(--space-4);
  }
  .card-head {
    padding: 18px;
  }
  .card-head h2 {
    font-size: 21px;
  }
  .card-head .text-btn {
    font-size: 10px;
  }
  .card-head p {
    font-size: 10px;
  }
  .chart-legend {
    font-size: 9px;
    gap: var(--space-2);
  }
  .cashflow {
    padding: 20px 17px;
  }
  .chart {
    gap: var(--space-2);
  }
  .chart-labels {
    gap: var(--space-2);
  }
  .bar {
    width: 16px;
  }
  .spending {
    padding: 18px;
  }
  .welcome-note {
    padding: 16px;
    align-items: flex-start;
  }
  .welcome-note .text-btn {
    font-size: 10px;
  }
  .welcome-note > .icon {
    display: none;
  }
  .footer .wrap {
    display: block;
  }
  .footer-links {
    margin-top: 17px;
  }
  .auth-layout {
    display: block;
    min-height: 0;
  }
  .auth-hero {
    display: none;
  }
  .auth-form-wrap {
    padding: 40px 25px;
  }
  .auth-form-wrap > div {
    max-width: 400px;
    margin: auto;
  }
  .auth-form-wrap h1 {
    font-size: 38px;
  }
  .auth-benefits {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: 25px;
  }
  .auth-benefits small {
    font-size: 10px;
  }
  .auth-benefits .icon {
    width: 23px;
  }
  .auth-benefits > div {
    gap: var(--space-4);
  }
  .signup-layout {
    padding: 0 18px;
    margin-top: 25px;
  }
  .signup-card {
    padding: 22px;
  }
  .form-grid {
    gap: var(--space-4);
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .step-item {
    gap: var(--space-2);
  }
  .step-item strong {
    font-size: 10px;
  }
  .step-list {
    gap: var(--space-2);
  }
  .filter-card {
    padding: 17px;
  }
  .filter-top {
    gap: var(--space-3);
  }
  .filter-bottom {
    gap: var(--space-3);
  }
  .filter-bottom label {
    width: calc(50% - 6px);
  }
  .filter-bottom > .btn {
    flex: 1;
  }
  .history-summary {
    gap: var(--space-4);
  }
  .history-summary strong {
    font-size: 24px;
  }
  .history-summary p {
    font-size: 9px;
  }
  .table-footer {
    padding: 13px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .pagination {
    margin-left: auto;
  }
  .form-card {
    padding: 23px;
  }
  .transfer-aside {
    padding: 23px;
  }
  .form-actions .btn {
    font-size: 11px;
    padding: 10px 14px;
  }
  .dialog-body,
  .dialog-head {
    padding: 20px;
  }
  .details-list > div {
    font-size: 11px;
  }
  .details-list dt {
    font-size: 10px;
  }
  .details-list dd {
    max-width: 62%;
  }
  .security-info {
    padding: 23px;
  }
  .chart-note {
    font-size: 9px;
  }
  .top-strip .wrap {
    gap: var(--space-2);
  }
  .chart {
    height: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode */
body.high-contrast {
  --ink: #000;
  --muted: #1f1f1f;
  --green: #064b36;
  --green-dark: #032d21;
  --paper: #fff;
  --surface: #fff;
  --surface-warm: #fff;
  --line: #000;
  --white: #fff;
  --red: #8b0000;
}
body.high-contrast .card {
  border-width: 2px;
  border-color: var(--black);
}
body.high-contrast .btn.primary {
  background: var(--public-evergreen);
  border: 2px solid var(--black);
}
body.high-contrast .btn.secondary {
  border: 2px solid var(--black);
}
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
  border-width: 2px;
  border-color: var(--black);
}
body.high-contrast a {
  color: var(--public-evergreen);
  text-decoration: underline;
}
body.high-contrast a:focus-visible,
body.high-contrast button:focus-visible {
  outline-width: 4px;
}

/* Text zoom and long translated/customer-provided labels must reflow instead of clipping. */
:where(main, header, footer, nav, .card, .service-row, .form-actions, .details-list) :where(a, button, p, span, strong, small, dt, dd, th, td, label) {
  overflow-wrap: anywhere;
}
.form-actions,
.service-row,
.timeout-actions {
  flex-wrap: wrap;
}
.transaction-detail-toggle {
  width: 100%;
  padding: 8px;
  text-align: left;
  color: inherit;
  text-decoration: underline;
}
.account-empty-state {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px;
}
html[data-text-scale="150"] .wrap {
  padding-inline: clamp(16px, 3vw, 32px);
}

@media (forced-colors: active) {
  :root,
  body.high-contrast {
    --ink: CanvasText;
    --muted: CanvasText;
    --green: LinkText;
    --green-dark: CanvasText;
    --paper: Canvas;
    --surface: Canvas;
    --surface-warm: Canvas;
    --line: CanvasText;
    --white: Canvas;
  }
  button,
  .btn,
  input,
  select,
  textarea,
  .card {
    border: 1px solid ButtonText;
    forced-color-adjust: auto;
  }
  :focus-visible {
    outline: 3px solid Highlight !important;
  }
  .bank-spinner,
  .pill,
  .status-chip {
    forced-color-adjust: none;
  }
}

/* Mobile overview continuation below the reference-matched account summary. */
@media (max-width: 767px) {
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type),
  body:has(.overview-dashboard) .overview-panel {
    overflow: hidden;
    margin: 0 0 16px;
    border: 1px solid #d6d1cb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
  }

  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) > header {
    min-height: 54px;
    padding: 11px 14px;
    background: #0753be;
    color: #fff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) > header h3 {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) > header small {
    color: #e7efff;
    font-size: 10px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) > header .money {
    color: inherit;
    font-size: 16px;
    font-weight: 700;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) > .account-group-row {
    grid-template-columns: minmax(0, 1fr) minmax(max-content, auto) 14px;
    min-height: 92px;
    gap: 8px 10px;
    padding: 13px 14px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) .account-row-icon {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) .account-row-name strong {
    overflow: hidden;
    color: #4e4a46;
    font-size: 12px;
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) .account-row-name small,
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) .account-row-balance small {
    color: #66615c;
    font-size: 10px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:not(:first-of-type) .account-row-balance > .money {
    color: #373430;
    font-size: clamp(21px, 6.5vw, 27px);
    font-weight: 450;
  }

  body:has(.overview-dashboard) .overview-panel {
    padding: 15px;
  }
  body:has(.overview-dashboard) .overview-panel > .overview-section-heading {
    min-height: 34px;
    margin: 0 0 5px;
  }
  body:has(.overview-dashboard) .overview-panel > .overview-section-heading h2 {
    color: #302d2a;
    font-size: 18px;
    font-weight: 600;
  }
  body:has(.overview-dashboard) .overview-panel > .overview-section-heading a {
    display: inline-flex;
    width: auto;
    min-height: 32px;
    align-items: center;
    overflow: visible;
    color: #0753be !important;
    font-size: 12px;
    font-weight: 650;
  }

  body:has(.overview-dashboard) .overview-list-row,
  body:has(.overview-dashboard) .overview-transaction {
    min-height: 66px;
    gap: 10px;
    border-bottom-color: #ddd8d2;
  }
  body:has(.overview-dashboard) .overview-list-row:last-child,
  body:has(.overview-dashboard) .overview-transaction:last-child {
    border-bottom: 0;
  }
  body:has(.overview-dashboard) .overview-list-row > span:first-child,
  body:has(.overview-dashboard) .overview-transaction > span:first-child {
    width: 36px;
    height: 36px;
    background: #edf3fb;
    color: #0753be;
  }
  body:has(.overview-dashboard) .overview-list-row strong,
  body:has(.overview-dashboard) .overview-transaction strong {
    color: #292725;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
  }
  body:has(.overview-dashboard) .overview-list-row small,
  body:has(.overview-dashboard) .overview-transaction small {
    color: #6a655f;
    font-size: 10px;
    line-height: 1.35;
  }
  body:has(.overview-dashboard) .overview-transaction {
    grid-template-columns: 38px minmax(0, 1fr) minmax(72px, auto);
  }
  body:has(.overview-dashboard) .overview-transaction > .money {
    align-self: center;
    color: #292725;
    font-size: 14px;
    font-weight: 700;
  }

  body:has(.overview-dashboard) .plan-entry-grid > a {
    min-height: 64px;
    border-bottom-color: #ddd8d2;
  }
  body:has(.overview-dashboard) .plan-entry-grid > a > span:first-child {
    color: #0753be;
  }
  body:has(.overview-dashboard) .plan-entry-grid strong,
  body:has(.overview-dashboard) .plan-entry-grid .money {
    color: #292725;
    font-size: 14px;
    font-weight: 700;
  }
  body:has(.overview-dashboard) .plan-entry-grid small {
    color: #6a655f;
    font-size: 10px;
  }
  body:has(.overview-dashboard) .overview-chart-grid {
    gap: 18px;
    margin-top: 18px;
  }
  body:has(.overview-dashboard) .overview-chart-grid article {
    padding-top: 14px;
    border-top: 1px solid #ddd8d2;
  }
  body:has(.overview-dashboard) .overview-chart-grid h3 {
    color: #302d2a;
    font-size: 14px;
    font-weight: 650;
  }
  body:has(.overview-dashboard) .overview-chart-grid .chart-wrap {
    height: 198px;
    padding-top: 12px;
  }

  body:has(.overview-dashboard) .overview-service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #ddd8d2;
  }
  body:has(.overview-dashboard) .overview-service-grid a {
    grid-template-columns: 26px minmax(0, 1fr) 14px;
    min-height: 68px;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    color: #292725 !important;
    font-size: 12px;
  }
  body:has(.overview-dashboard) .overview-service-grid a > .icon:first-child {
    width: 20px;
    color: #0753be;
  }

  body:has(.overview-dashboard) .overview-main {
    padding-bottom: calc(124px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 359px) {
  body:has(.overview-dashboard) .overview-transaction {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  body:has(.overview-dashboard) .overview-transaction > .money {
    grid-column: 2;
    justify-self: start;
  }
  body:has(.overview-dashboard) .overview-service-grid {
    grid-template-columns: 1fr;
  }
}

/* Final mobile overview composition — authored from the approved reference.
   Scoped to the top-of-page dashboard only; the content that follows retains
   its existing scroll and layout. */
.overview-reference-mark,
.overview-settings-dots {
  display: none;
}
@media (max-width: 767px) {
  body:has(.overview-dashboard) {
    background: #ffffff;
    color: #292725;
  }
  body:has(.overview-dashboard) .authenticated-masthead,
  body:has(.overview-dashboard) .authenticated-masthead > .wrap {
    min-height: 62px;
    height: 62px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .authenticated-masthead > .wrap {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: 62px;
    gap: 9px;
    padding: 0 16px !important;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand {
    grid-column: 1;
    grid-row: 1;
    width: 28px;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand-mark {
    display: none;
  }
  body:has(.overview-dashboard) .overview-reference-mark {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #595550;
  }
  body:has(.overview-dashboard) .overview-reference-mark .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.35;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand-name,
  body:has(.overview-dashboard) .authenticated-masthead .hamburger,
  body:has(.overview-dashboard) .authenticated-masthead .header-user > div,
  body:has(.overview-dashboard) .authenticated-masthead .separator,
  body:has(.overview-dashboard) .authenticated-masthead .connection-status,
  body:has(.overview-dashboard) .authenticated-masthead .contrast-toggle,
  body:has(.overview-dashboard) .authenticated-masthead .header-user > .text-btn {
    display: none !important;
  }
  body:has(.overview-dashboard) .authenticated-search {
    grid-column: 2;
    grid-row: 1;
    min-height: 34px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid #b9b5b0;
    border-radius: 18px;
    background: #ffffff;
    color: #67645f;
    font-size: 12px;
  }
  body:has(.overview-dashboard) .authenticated-search .icon { display: none; }
  body:has(.overview-dashboard) .authenticated-masthead .header-user {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 5px;
  }
  body:has(.overview-dashboard) .authenticated-masthead .avatar,
  body:has(.overview-dashboard) .notification-bell {
    display: grid;
    width: 30px;
    min-width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #77736f;
    border-radius: 50%;
    background: transparent;
    color: #514e4a;
  }
  body:has(.overview-dashboard) .notification-bell .icon {
    width: 18px;
    height: 18px;
  }
  body:has(.overview-dashboard) .overview-main {
    padding: 4px 16px calc(108px + env(safe-area-inset-bottom)) !important;
  }
  body:has(.overview-dashboard) .overview-dashboard { gap: 0; }
  body:has(.overview-dashboard) .overview-greeting {
    min-height: 86px;
    padding: 6px 0 13px;
  }
  body:has(.overview-dashboard) .overview-greeting h1 {
    color: #272522;
    font-size: 25px;
    font-weight: 430;
    letter-spacing: -.025em;
  }
  body:has(.overview-dashboard) .overview-greeting p {
    margin-top: 3px;
    color: #5f5b56;
    font-size: 13px;
  }
  body:has(.overview-dashboard) .overview-quick-actions {
    display: flex;
    gap: 9px;
    width: calc(100% + 16px);
    overflow-x: auto;
    padding: 0 16px 20px 0;
    scrollbar-width: none;
  }
  body:has(.overview-dashboard) .overview-quick-actions::-webkit-scrollbar { display: none; }
  body:has(.overview-dashboard) .overview-quick-actions a {
    min-width: max-content;
    min-height: 38px;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 8px;
    padding: 7px 14px;
    border-color: #ded9d2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(42, 36, 30, .08);
    color: #174b89 !important;
    font-size: 11px;
    font-weight: 650;
  }
  body:has(.overview-dashboard) .overview-snapshot {
    min-height: 98px;
    margin-bottom: 23px;
    padding: 14px 13px;
    border: 1px solid #cfc9c2;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading {
    min-height: 35px;
    margin-bottom: 4px;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading h2 {
    color: #34312e;
    font-size: 18px;
    font-weight: 550;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading a .icon,
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading .overview-settings-label {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading a {
    display: grid;
    width: 20px;
    min-height: 20px;
    place-items: center;
    padding: 0;
    border: 1px solid #77736f;
    border-radius: 50%;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading .overview-settings-dots {
    display: inline;
    color: #69645f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    line-height: 1;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header {
    min-height: 45px;
    padding: 10px 13px;
    background: #0753be;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header h3,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money {
    font-size: 13px;
    font-weight: 700;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row {
    grid-template-columns: minmax(0, 1fr) 14px;
    grid-template-rows: auto auto;
    min-height: 109px;
    gap: 6px 8px;
    padding: 15px 13px 12px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-icon { display: none; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong {
    color: #4e4a46;
    font-size: 12px;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-items: end;
    text-align: right;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance > .money {
    color: #373430;
    font-size: clamp(25px, 7.7vw, 32px);
    font-weight: 400;
  }
  body:has(.overview-dashboard) .mobile-banking-nav {
    min-height: 72px;
    background: #ffffff;
    border-top-color: #ded9d2;
    box-shadow: 0 -5px 18px rgba(42, 36, 30, .08);
  }
  body:has(.overview-dashboard) .mobile-banking-nav .active {
    background: transparent;
    color: #0753be;
  }
  body:has(.overview-dashboard) .notification-badge {
    display: none !important;
  }
}

/* Reference-matched customer overview above the fold. Desktop and lower
   dashboard sections retain their existing layout. */
.greeting-date-mobile,
.quick-label-mobile,
.snapshot-mobile-title,
.snapshot-mobile-copy {
  display: none;
}

@media (max-width: 767px) {
  body:has(.overview-dashboard) {
    background: #ffffff;
  }
  body:has(.overview-dashboard) .authenticated-masthead {
    position: relative;
    height: 62px;
    background: #ffffff;
    border: 0;
  }
  body:has(.overview-dashboard) .authenticated-masthead > .wrap {
    min-height: 62px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-rows: 62px;
    gap: 9px;
    padding: 0 16px !important;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand {
    grid-column: 1;
    grid-row: 1;
    width: 28px;
    overflow: hidden;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand-mark {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand-name,
  body:has(.overview-dashboard) .authenticated-masthead .hamburger,
  body:has(.overview-dashboard) .authenticated-masthead .header-user > div,
  body:has(.overview-dashboard) .authenticated-masthead .separator,
  body:has(.overview-dashboard) .authenticated-masthead .connection-status,
  body:has(.overview-dashboard) .authenticated-masthead .contrast-toggle,
  body:has(.overview-dashboard) .authenticated-masthead .header-user > .text-btn {
    display: none !important;
  }
  body:has(.overview-dashboard) .authenticated-search {
    grid-column: 2;
    grid-row: 1;
    min-height: 34px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid #b9b5b0;
    border-radius: 18px;
    background: #ffffff;
    color: #67645f;
    font-size: 12px;
  }
  body:has(.overview-dashboard) .authenticated-search .icon {
    display: none;
  }
  body:has(.overview-dashboard) .authenticated-masthead .header-user {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 5px;
  }
  body:has(.overview-dashboard) .authenticated-masthead .avatar {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #77736f;
    border-radius: 50%;
    background: transparent;
    color: #514e4a;
    font-size: 9px;
  }
  body:has(.overview-dashboard) .notification-bell {
    display: grid;
    width: 30px;
    min-width: 30px;
    height: 30px;
    place-items: center;
  }
  body:has(.overview-dashboard) .notification-bell .icon {
    width: 20px;
    height: 20px;
  }
  body:has(.overview-dashboard) .overview-main {
    padding: 4px 16px calc(108px + env(safe-area-inset-bottom)) !important;
  }
  body:has(.overview-dashboard) .overview-dashboard {
    gap: 0;
  }
  body:has(.overview-dashboard) .overview-greeting {
    min-height: 86px;
    padding: 6px 0 13px;
  }
  body:has(.overview-dashboard) .overview-greeting h1 {
    color: #272522;
    font-size: 25px;
    font-weight: 430;
    letter-spacing: -.025em;
  }
  body:has(.overview-dashboard) .greeting-name,
  body:has(.overview-dashboard) .greeting-date-wide {
    display: none;
  }
  body:has(.overview-dashboard) .greeting-date-mobile {
    display: inline;
  }
  body:has(.overview-dashboard) .overview-greeting p {
    margin-top: 3px;
    color: #5f5b56;
    font-size: 13px;
  }
    body:has(.overview-dashboard) .overview-quick-actions {
    display: flex;
    gap: 9px;
    width: calc(100% + 16px);
    overflow-x: auto;
    padding: 0 16px 20px 0;
    scrollbar-width: none;
  }
  body:has(.overview-dashboard) .overview-quick-actions::-webkit-scrollbar {
    display: none;
  }
  body:has(.overview-dashboard) .overview-quick-actions a {
    min-width: max-content;
    min-height: 38px;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 8px;
    padding: 7px 14px;
    border-color: #ded9d2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(42, 36, 30, .08);
    color: #174b89 !important;
    font-size: 11px;
    font-weight: 650;
  }
  body:has(.overview-dashboard) .overview-quick-actions .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
  }
  body:has(.overview-dashboard) .quick-label-wide {
    display: none;
  }
  body:has(.overview-dashboard) .quick-label-mobile {
    display: inline;
  }
  body:has(.overview-dashboard) .overview-snapshot {
    min-height: 98px;
    margin-bottom: 23px;
    padding: 14px 13px;
    border-color: #cfc9c2;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: none;
  }
  body:has(.overview-dashboard) .snapshot-icon {
    width: 42px;
    height: 42px;
    background: #e1e5e2;
    color: #1550a2;
  }
  body:has(.overview-dashboard) .snapshot-chip,
  body:has(.overview-dashboard) .snapshot-title,
  body:has(.overview-dashboard) .snapshot-copy {
    display: none;
  }
  body:has(.overview-dashboard) .snapshot-mobile-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #292725;
    font-size: 15px;
    font-weight: 550;
  }
  body:has(.overview-dashboard) .snapshot-mobile-title small {
    padding: 2px 5px;
    border-radius: 3px;
    background: #ffffff;
    color: #65615d;
    font-size: 10px;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .snapshot-mobile-copy {
    display: -webkit-box;
    overflow: hidden;
    color: #4d4945;
    font-size: 12px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading {
    min-height: 35px;
    margin-bottom: 4px;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading h2 {
    color: #34312e;
    font-size: 18px;
    font-weight: 550;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading a {
    width: 32px;
    min-height: 32px;
    overflow: hidden;
    font-size: 0;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading a .icon {
    width: 20px;
    height: 20px;
    padding: 3px;
    border: 1px solid #77736f;
    border-radius: 50%;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type {
    border-color: #c8c2ba;
    border-radius: 8px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header {
    min-height: 45px;
    padding: 10px 13px;
    background: #0753be;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header h3 {
    font-size: 13px;
    font-weight: 700;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header small {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money {
    font-size: 13px;
    font-weight: 700;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row {
    grid-template-columns: minmax(0, 1fr) 14px;
    grid-template-rows: auto auto;
    min-height: 109px;
    gap: 6px 8px;
    padding: 15px 13px 12px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-icon {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 4px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong {
    overflow: hidden;
    color: #4e4a46;
    font-size: 12px;
    font-weight: 500;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name small {
    color: #4e4a46;
    font-size: 11px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-items: end;
    text-align: right;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance > .money {
    color: #373430;
    font-size: clamp(25px, 7.7vw, 32px);
    font-weight: 400;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance small {
    margin-top: 3px;
    color: #66615c;
    font-size: 11px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row > .icon {
    grid-column: 2;
    grid-row: 1;
    width: 13px;
    color: #504c48;
  }
}

/* Public self-service confirmations and configured destination lists */
.public-confirmation {
  display: grid;
  gap: var(--space-3);
}
.public-confirmation h2 {
  font-size: 27px;
}
.public-confirmation p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}
.public-confirmation .btn {
  justify-self: start;
}
.public-directory-list {
  display: grid;
  gap: var(--space-3);
  margin-top: 18px;
}
.public-directory-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--public-cream);
}
.public-directory-list h2 {
  font: 650 17px var(--sans);
  letter-spacing: 0;
}
.public-directory-list p {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
}
.public-directory-list .btn {
  grid-column: 2;
  grid-row: 1/3;
}
@media (max-width: 560px) {
  .public-directory-list article {
    grid-template-columns: 1fr;
  }
  .public-directory-list p,
  .public-directory-list .btn {
    grid-column: auto;
    grid-row: auto;
  }
  .public-directory-list .btn {
    justify-self: start;
  }
  .public-confirmation .btn {
    width: 100%;
  }
}

/* Text resize */
html[data-text-scale="125"] {
  --text-scale: 1.25;
}
html[data-text-scale="150"] {
  --text-scale: 1.5;
}
html {
  font-size: calc(100% * var(--text-scale));
}
@supports (zoom: 1) {
  html {
    font-size: 100%;
  }
  body {
    zoom: var(--text-scale);
  }
}
.text-resize-controls {
  font-size: 12px;
}
.text-resize-toggle {
  display: none;
}
.text-resize-panel {
  position: fixed;
  z-index: 250;
  top: 48px;
  right: 20px;
  display: grid;
  gap: var(--space-1);
  width: 218px;
  padding: 9px 10px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 18px color-mix(in srgb, var(--green-dark) 19%, transparent);
}
.text-resize-contrast {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--white);
  font-weight: 650;
}
.text-resize-label {
  font-weight: 700;
}
.text-resize-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: var(--space-1);
}
.text-resize-actions button {
  min-height: 34px;
  padding: 5px 8px;
  background: var(--paper);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 650;
}
.text-resize-actions button:hover:not(:disabled) {
  background: var(--public-mint);
}
.text-resize-actions button:disabled {
  color: var(--muted);
  background: var(--public-cream);
  cursor: default;
  opacity: 0.8;
}
.text-resize-status {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1000px) {
  .text-resize-toggle {
    position: fixed;
    z-index: 190;
    left: 12px;
    bottom: 88px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-pill);
    background: var(--green);
    color: var(--white);
    box-shadow: 0 5px 18px
      color-mix(in srgb, var(--green-dark) 19%, transparent);
    font-weight: 700;
  }
}
@media (min-width: 1001px) {
  body:has(.auth-login-layout) .text-resize-toggle {
    position: fixed;
    z-index: 190;
    top: 96px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-pill);
    background: var(--green);
    color: var(--white);
    box-shadow: 0 5px 18px
      color-mix(in srgb, var(--green-dark) 19%, transparent);
    font-weight: 700;
  }
}
@media (max-width: 560px) {
  .text-resize-panel {
    top: 76px;
    right: 12px;
    width: 204px;
  }
  .text-resize-actions button {
    min-height: 40px;
  }
}

/* First National Bank identity */
.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}
.brand:hover .brand-mark {
  filter: drop-shadow(
    0 4px 7px color-mix(in srgb, var(--green) 15%, transparent)
  );
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}
@media (max-width: 560px) {
  .brand {
    gap: var(--space-2);
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

/* Budget and goal bars */
.budget-item {
  margin-bottom: 20px;
}
.budget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
}
.budget-bar {
  height: 8px;
  background: var(--mint);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.budget-fill {
  height: 100%;
  border-radius: var(--radius-md);
  transition: width 0.3s;
}
.budget-actions {
  margin-top: 8px;
  font-size: 11px;
}

/* Cash-flow forecast and customer-selected dashboard widgets */
.forecast-page {
  max-width: 760px;
}
.forecast-result {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-6);
  padding: 20px;
  margin-bottom: 18px;
  background: var(--paper);
  border-radius: var(--radius-md);
}
.forecast-result > div small,
.forecast-result > div p {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.forecast-result > div strong {
  display: block;
  font: 700 34px/1.15 var(--serif);
  color: var(--green);
  margin: 6px 0;
}
.forecast-result dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin: 0;
}
.forecast-result dl div {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.forecast-result dt {
  color: var(--muted);
  font-size: 10px;
}
.forecast-result dd {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
}
.forecast-alert {
  padding: 12px 14px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  color: var(--danger);
  font-size: 12px;
}
.forecast-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-2);
  margin: 18px 0 26px;
}
.forecast-days span {
  padding: 11px;
  background: var(--public-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.forecast-days small,
.forecast-days strong {
  display: block;
}
.forecast-days small {
  color: var(--muted);
  font-size: 10px;
}
.forecast-days strong {
  margin-top: 3px;
  font-size: 13px;
}
.widget-settings-list {
  display: grid;
  gap: var(--space-2);
}
.widget-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--public-cream);
}
.widget-settings-row .check-row {
  font-size: 12px;
}
.widget-settings-row .check-row span {
  display: grid;
  gap: var(--space-1);
}
.widget-settings-row .check-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.widget-order-controls {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}
.widget-order-controls .btn {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 11px;
}
.custom-dashboard-widgets {
  margin-top: 24px;
  padding: 21px;
  border-top: 1px solid var(--line);
}
.custom-dashboard-widgets > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.custom-dashboard-widgets h2 {
  font-size: 20px;
}
.custom-dashboard-widgets header > a {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}
.dashboard-widget-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.dashboard-widget-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  gap: var(--space-2);
  align-items: center;
  padding: 15px;
  background: var(--public-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.dashboard-widget-card > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--public-mint);
  color: var(--green);
}
.dashboard-widget-card small,
.dashboard-widget-card p {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.dashboard-widget-card strong {
  display: block;
  margin: 2px 0;
  font-size: 15px;
}
.dashboard-widget-card p {
  line-height: 1.35;
}
.dashboard-widget-card > .icon {
  width: 15px;
  color: var(--green);
}
@media (max-width: 767px) {
  .forecast-result {
    grid-template-columns: 1fr;
  }
  .forecast-result dl {
    grid-template-columns: 1fr;
  }
  .forecast-result dl div {
    padding: 8px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .widget-settings-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .widget-order-controls {
    width: 100%;
  }
  .widget-order-controls .btn {
    flex: 1;
  }
  .dashboard-widget-list {
    grid-template-columns: 1fr;
  }
}

/* Credit score display */
.credit-score-display {
  text-align: center;
  padding: 20px 0;
}
.score-circle {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--forest-2), var(--forest-2));
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.score-number {
  font-size: 28px;
  font-weight: 700;
}
.score-label {
  font-size: 10px;
  opacity: 0.9;
}
.debit-card-visual {
  position: relative;
  display: flex;
  min-height: 202px;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      circle at 94% 12%,
      color-mix(in srgb, var(--white) 15%, transparent),
      transparent 22%
    ),
    linear-gradient(135deg, var(--green-dark), var(--forest-2));
  color: var(--white);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--forest) 18%, transparent);
}
.debit-card-visual:after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 22px color-mix(in srgb, var(--white) 5%, transparent);
}
.debit-card-visual header,
.debit-card-visual footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.debit-card-visual header span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}
.debit-card-visual header b {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.debit-card-chip {
  position: relative;
  z-index: 1;
  width: 43px;
  height: 31px;
  margin-top: 20px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(
      90deg,
      transparent 47%,
      #8b7338 48%,
      #8b7338 52%,
      transparent 53%
    ),
    linear-gradient(
      0deg,
      transparent 47%,
      #8b7338 48%,
      #8b7338 52%,
      transparent 53%
    ),
    linear-gradient(135deg, #f2dfa0, #b99745);
  box-shadow:
    inset 0 0 0 1px #82692f,
    inset 0 1px 2px rgba(255, 255, 255, .65);
}
.debit-card-visual > strong {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 18px;
  letter-spacing: 0.12em;
}
.debit-card-visual footer {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.debit-card-visual footer em {
  font-style: normal;
  color: var(--public-mint);
}
.card-detail-actions {
  display: grid;
  gap: var(--space-2);
  margin-bottom: 22px;
}
.card-detail-actions .btn {
  justify-self: start;
}
.card-detail-actions small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 767px) {
  .debit-card-visual {
    min-height: 190px;
    padding: 20px;
  }
  .debit-card-visual header span {
    font-size: 16px;
  }
  .debit-card-visual > strong {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
  .card-detail-actions .btn {
    width: 100%;
  }
}
.explore-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.explore-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: var(--space-4);
  min-height: 150px;
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.explore-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--green) 9%, transparent);
}
.explore-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--green);
}
.explore-card h2 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.explore-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.explore-card > .icon {
  width: 17px;
  color: var(--green);
}
@media (max-width: 767px) {
  .explore-hub {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .explore-card {
    min-height: 104px;
    padding: 19px;
  }
  .explore-card h2 {
    font-size: 18px;
  }
  .explore-card p {
    font-size: 13px;
  }
  .public-header-actions .secondary {
    display: inline-flex;
  }
}
@media (max-width: 767px) {
  body:has(.mobile-banking-nav) .payment-nav {
    display: none;
  }
}
.credit-score-page .credit-score-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: 24px 0 34px;
  text-align: left;
}
.credit-score-page .score-circle {
  position: relative;
  width: 126px;
  height: 126px;
  flex: 0 0 126px;
  background: conic-gradient(
    var(--forest-2) 0 81%,
    var(--public-mint) 81% 100%
  );
  box-shadow: 0 10px 22px color-mix(in srgb, var(--forest-2) 17%, transparent);
  animation: score-pop 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.credit-score-page .score-circle:before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: var(--radius-pill);
  background: var(--forest-2);
}
.credit-score-page .score-circle > * {
  position: relative;
  z-index: 1;
}
.credit-score-page .score-number {
  font-size: 34px;
}
.credit-score-page .score-label {
  font-size: 11px;
  font-weight: 700;
}
.credit-score-page .score-factor {
  animation: score-factor-in 0.42s ease both;
  animation-delay: var(--factor-delay);
}
.credit-score-page .score-factor > b {
  color: var(--forest-2);
}
.credit-score-page > p.muted {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.55;
}
@keyframes score-pop {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-16deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes score-factor-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Benefits list */
.benefit-list {
  display: grid;
  gap: var(--space-4);
}
.benefit-item {
  padding: 12px;
  background: var(--public-cream);
  border-radius: var(--radius-md);
}
.benefit-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}
.benefit-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

/* FAQ list */
.faq-list {
  display: grid;
  gap: var(--space-2);
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--public-cream);
}
.faq-item summary:hover {
  background: var(--paper);
}
.faq-item p {
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--muted);
}

/* Contact options */
.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: 16px;
}
.contact-option {
  padding: 16px;
  background: var(--public-cream);
  border-radius: var(--radius-md);
}
.contact-option strong {
  display: block;
  margin-bottom: 6px;
}
.contact-option p {
  margin: 4px 0;
  font-size: 12px;
}

/* Compare table */
.compare-table-wrapper {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: var(--public-cream);
  font-weight: 600;
  font-size: 14px;
}
.compare-table td:first-child {
  font-weight: 600;
  min-width: 160px;
}

/* Sitemap grid */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}
.sitemap-section h3 {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--green);
}
.sitemap-section ul {
  list-style: none;
  padding: 0;
}
.sitemap-section li {
  margin-bottom: 8px;
}
.sitemap-section a {
  font-size: 12px;
  color: var(--muted);
}
.sitemap-section a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 12px;
}
.checklist li::before {
  content: "?";
  color: var(--green);
  font-weight: 700;
}

/* Job list */
.job-list {
  display: grid;
  gap: var(--space-3);
}

/* Selector options */
.selector-options {
  display: grid;
  gap: var(--space-3);
}
.selector-option {
  text-align: left;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.selector-option:hover {
  border-color: var(--green);
  background: var(--public-cream);
}

/* Public banking website */
.public-utility {
  height: 34px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.public-utility .wrap,
.public-utility nav {
  height: 100%;
  display: flex;
  align-items: center;
}
.public-utility .wrap {
  justify-content: space-between;
}
.public-utility nav {
  gap: var(--space-6);
}
.public-utility a,
.public-utility button {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0;
  font-size: 10px;
}
.public-utility .active {
  color: var(--green);
  font-weight: 700;
  border-bottom: 2px solid var(--green);
}
.public-utility .icon {
  width: 12px;
  height: 12px;
}
.public-masthead {
  height: 86px;
  background: var(--white);
}
.public-masthead .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-header-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.search-button {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  padding: 10px;
  font-size: 11px;
}
.search-button .icon {
  width: 17px;
}
.public-products {
  height: 53px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 8px color-mix(in srgb, var(--forest) 4%, transparent);
  position: relative;
  z-index: 4;
}
.public-products .wrap {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.public-products a,
.public-products button {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 23px;
  font-size: 11px;
  color: var(--forest-2);
}
.public-products a:first-child {
  padding-left: 0;
  padding-right: 28px;
}
.public-products a:hover,
.public-products button:hover,
.public-products .active {
  color: var(--green);
  background: var(--public-cream);
}
.public-products .active:after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: var(--green);
}
.public-products a:first-child.active:after {
  left: 0;
}
.public-main {
  background: var(--white);
}
.public-hero {
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
.public-hero > .wrap {
  min-height: 500px;
  display: grid;
  grid-template-columns: 0.88fr 1.35fr;
  padding-right: 0;
  max-width: 1440px;
}
.public-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 55px 60px 0;
  position: relative;
  z-index: 2;
}
.public-hero-copy .eyebrow,
.product-hero .eyebrow {
  color: var(--accent);
}
.public-hero-copy h1 {
  font-size: 58px;
  line-height: 1.05;
  margin: 16px 0 21px;
  color: white;
}
.public-hero-copy > p:not(.eyebrow) {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--line);
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: 29px;
}
.hero-secondary {
  color: white;
  border: 1px solid color-mix(in srgb, var(--white) 52%, transparent);
  background: transparent;
}
.hero-secondary:hover {
  background: color-mix(in srgb, var(--white) 7%, transparent);
}
.public-hero-image {
  position: relative;
  min-height: 500px;
}
.public-hero-image:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    color-mix(in srgb, var(--green) 27%, transparent) 25%,
    transparent 65%
  );
}
.public-hero-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.quick-access {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--green) 4%, transparent);
}
.quick-access > .wrap {
  padding-top: 18px;
  padding-bottom: 22px;
}
.quick-access p {
  text-align: center;
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 14px;
}
.quick-access .wrap > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.quick-access a {
  display: grid;
  grid-template-columns: 25px 1fr 13px;
  align-items: center;
  gap: var(--space-2);
  min-height: 70px;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  font-size: 11px;
}
.quick-access a:last-child {
  border-right: 0;
}
.quick-access a:hover {
  background: var(--paper);
}
.quick-access a > .icon:first-child {
  color: var(--muted);
}
.quick-access a > .icon:last-child {
  width: 12px;
}
.public-section {
  padding-top: 72px;
  padding-bottom: 78px;
}
.public-section-heading {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 36px;
}
.public-section-heading h2 {
  font-size: 38px;
  margin: 11px 0;
}
.public-section-heading > p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.solution-card {
  padding: 26px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
}
.solution-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--muted);
}
.solution-icon .icon {
  width: 22px;
  height: 22px;
}
.solution-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  margin: 22px 0 10px;
}
.solution-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.solution-card a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--green);
  font-weight: 650;
  font-size: 11px;
  margin-top: auto;
  padding-top: 20px;
}
.solution-card a .icon {
  width: 14px;
}
.feature-band {
  background: var(--mint);
  overflow: hidden;
}
.feature-band > .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 430px;
  align-items: center;
}
.feature-copy {
  padding: 55px 50px 55px 0;
}
.feature-copy h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 14px 0;
}
.feature-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 470px;
}
.card-fan {
  height: 350px;
  position: relative;
  perspective: 900px;
}
.bank-card {
  width: 325px;
  height: 200px;
  border-radius: var(--radius-xl);
  padding: 24px;
  color: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px color-mix(in srgb, var(--public-ink) 21%, transparent);
  position: absolute;
  overflow: hidden;
}
.bank-card:after {
  content: "?";
  font-size: 190px;
  position: absolute;
  right: -28px;
  bottom: -75px;
  color: color-mix(in srgb, var(--white) 5%, transparent);
}
.bank-card span {
  font-family: var(--serif);
  font-size: 19px;
  z-index: 1;
}
.bank-card b {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 5px;
  z-index: 1;
}
.bank-card em {
  font-style: normal;
  letter-spacing: 3px;
  margin-top: auto;
  font-size: 15px;
  z-index: 1;
}
.bank-card small {
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-top: 8px;
  z-index: 1;
}
.bank-card-one {
  background: linear-gradient(135deg, var(--public-ink), var(--forest-2));
  left: 16%;
  top: 8px;
  transform: rotate(-10deg);
}
.bank-card-two {
  background: linear-gradient(135deg, var(--gold-dark), var(--accent));
  left: 29%;
  top: 71px;
  transform: rotate(3deg);
}
.bank-card-three {
  background: linear-gradient(135deg, var(--green), var(--blue));
  left: 44%;
  top: 128px;
  transform: rotate(13deg);
}
.goal-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: var(--space-4);
}
.goal-card {
  min-height: 300px;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.goal-card:after {
  content: "?";
  position: absolute;
  font-size: 210px;
  right: -45px;
  bottom: -80px;
  color: color-mix(in srgb, var(--white) 7%, transparent);
}
.goal-card > span {
  width: 45px;
  height: 45px;
  border: 1px solid color-mix(in srgb, var(--white) 33%, transparent);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
}
.goal-card > span .icon {
  width: 22px;
}
.goal-card div {
  position: relative;
  z-index: 1;
  max-width: 310px;
}
.goal-card small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.goal-card h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.25;
  margin: 11px 0 18px;
}
.goal-card b {
  font-size: 11px;
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.goal-card b .icon {
  width: 14px;
}
.goal-save {
  background: var(--forest-2);
}
.goal-home {
  background: var(--gold-dark);
}
.goal-plan {
  background: var(--muted);
}
.digital-section {
  background: var(--green);
  color: white;
  overflow: hidden;
}
.digital-section > .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  align-items: center;
}
.phone-mockup {
  align-self: end;
  justify-self: center;
  width: 255px;
  height: 425px;
  border: 7px solid var(--public-ink);
  border-bottom: 0;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  background: white;
  padding: 13px;
  color: var(--ink);
  box-shadow: 0 22px 50px color-mix(in srgb, var(--black) 27%, transparent);
}
.phone-screen {
  height: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--paper);
  padding: 26px 19px;
}
.phone-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 25px;
}
.phone-screen > small {
  font-size: 9px;
  color: var(--muted);
}
.phone-screen h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}
.phone-balance {
  background: var(--green);
  color: white;
  border-radius: var(--radius-md);
  padding: 17px;
  margin: 18px 0;
}
.phone-balance small {
  font-size: 8px;
  color: var(--line);
}
.phone-balance b {
  font-family: var(--serif);
  font-size: 23px;
  display: block;
  margin-top: 4px;
}
.phone-row {
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 8px;
}
.digital-copy {
  padding: 60px 0 60px 55px;
}
.digital-copy .eyebrow {
  color: var(--accent);
}
.digital-copy h2 {
  font-size: 44px;
  margin: 13px 0;
}
.digital-copy > p {
  color: var(--line);
  font-size: 13px;
  line-height: 1.85;
  max-width: 480px;
}
.digital-points {
  display: grid;
  gap: var(--space-3);
  margin: 25px 0;
}
.digital-points span {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: 11px;
}
.digital-points .icon {
  color: var(--accent);
  width: 16px;
}
.prefooter {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.prefooter > .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.prefooter .wrap > div {
  padding: 25px 24px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: var(--space-2);
}
.prefooter .wrap > div:last-child {
  border: 0;
}
.prefooter .wrap > div > .icon {
  color: var(--muted);
}
.prefooter strong {
  display: block;
  font-size: 11px;
}
.prefooter small {
  font-size: 9px;
  color: var(--muted);
}
.prefooter button {
  grid-column: 2;
  text-align: left;
  padding: 3px 0;
  color: var(--green);
  font-weight: 650;
  font-size: 10px;
}
.prefooter button .icon {
  width: 12px;
}
.product-hero {
  color: white;
}
.product-hero > .wrap {
  min-height: 405px;
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: center;
  position: relative;
}
.product-hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin: 15px 0 19px;
  color: white;
  max-width: 690px;
}
.product-hero p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--line);
  max-width: 670px;
}
.product-hero-icon {
  width: 230px;
  height: 230px;
  justify-self: end;
  border: 1px solid color-mix(in srgb, var(--white) 21%, transparent);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--white) 4%, transparent);
}
.product-hero-icon .icon {
  width: 105px;
  height: 105px;
  stroke-width: 0.8;
  color: var(--accent);
}
.product-emerald {
  background: var(--bank-blue-700);
}
.product-sage {
  background: var(--bank-blue-600);
}
.product-navy {
  background: #003a96;
}
.product-sand {
  background: var(--bank-blue-700);
}
.product-copper {
  background: var(--bank-blue-600);
}
.product-forest {
  background: #003a96;
}
.product-facts {
  border-bottom: 1px solid var(--line);
  background: white;
}
.product-facts > .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.product-facts .wrap > div {
  text-align: center;
  padding: 26px;
  border-right: 1px solid var(--line);
}
.product-facts .wrap > div:last-child {
  border: 0;
}
.product-facts strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  display: block;
  color: var(--green);
}
.product-facts span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 980px;
  margin: auto;
}
.product-detail-grid h2 {
  font-size: 38px;
  margin: 12px 0;
}
.product-detail-grid p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.product-detail-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-detail-grid li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
}
.product-detail-grid li .icon {
  color: var(--muted);
}
.credit-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.credit-product {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.credit-product .bank-card {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  padding: 20px;
}
.credit-product .bank-card:after {
  font-size: 130px;
}
.credit-product h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  margin: 23px 0 4px;
}
.credit-product > p {
  font-size: 12px;
}
.credit-product > small {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0 20px;
}
.credit-product .btn {
  width: 100%;
}
.credit-product .text-btn {
  margin: 12px auto 0;
}
.public-cta {
  background: var(--green);
  color: white;
}
.public-cta > .wrap {
  min-height: 250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
}
.public-cta .eyebrow {
  color: var(--accent);
}
.public-cta h2 {
  font-size: 40px;
  margin: 9px 0;
}
.public-cta p {
  font-size: 12px;
  color: var(--line);
}
.public-cta .wrap > div:last-child {
  display: flex;
  gap: var(--space-3);
}
.product-disclosure {
  padding-top: 25px;
  padding-bottom: 35px;
  color: var(--muted);
}
.product-disclosure h3 {
  font-size: 11px;
}
.product-disclosure p {
  font-size: 9px;
  line-height: 1.7;
  margin: 6px 0;
}
.product-disclosure button {
  font-size: 9px;
  text-decoration: underline;
  padding: 0;
}
.dialog-options {
  display: grid;
  gap: var(--space-3);
  margin-top: 20px;
}
.dialog-option {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.dialog-option > .icon {
  color: var(--muted);
}
.dialog-option span {
  flex: 1;
}
.dialog-option strong {
  display: block;
  font-size: 11px;
}
.dialog-option small {
  font-size: 9px;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .public-products a,
  .public-products button {
    padding: 0 14px;
  }
  .public-hero > .wrap {
    grid-template-columns: 1fr 1.15fr;
  }
  .public-hero-copy h1 {
    font-size: 48px;
  }
  .quick-access a {
    padding: 10px;
  }
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-band > .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .bank-card {
    width: 260px;
    height: 163px;
  }
  .goal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .goal-card:first-child {
    grid-column: 1/-1;
  }
  .product-hero > .wrap {
    grid-template-columns: 1fr 240px;
  }
  .product-hero-icon {
    width: 190px;
    height: 190px;
  }
  .credit-product-grid {
    gap: var(--space-3);
  }
  .credit-product {
    padding: 17px;
  }
}
@media (max-width: 767px) {
  .public-utility nav:first-child button {
    display: none;
  }
  .public-utility nav {
    gap: var(--space-3);
  }
  .public-products .wrap {
    overflow: auto;
    white-space: nowrap;
  }
  .public-products a,
  .public-products button {
    padding: 0 18px;
  }
  .public-products a:first-child {
    padding-left: 18px;
  }
  .public-hero > .wrap {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .public-hero-copy {
    padding: 52px 28px;
    min-height: 420px;
    background:
      linear-gradient(
        90deg,
        color-mix(in srgb, var(--green) 93%, transparent),
        color-mix(in srgb, var(--green) 52%, transparent)
      ),
      url("/images/hero.webp") center/cover;
  }
  .public-hero-copy h1 {
    font-size: 48px;
  }
  .public-hero-image {
    display: none;
  }
  .quick-access .wrap > div {
    grid-template-columns: 1fr 1fr;
  }
  .quick-access a {
    border-bottom: 1px solid var(--line);
  }
  .solution-grid {
    gap: var(--space-3);
  }
  .feature-band > .wrap {
    grid-template-columns: 1fr;
  }
  .feature-copy {
    padding: 50px 0;
  }
  .card-fan {
    height: 315px;
  }
  .bank-card-one {
    left: 8%;
  }
  .bank-card-two {
    left: 25%;
  }
  .bank-card-three {
    left: 42%;
  }
  .digital-section > .wrap {
    grid-template-columns: 1fr;
  }
  .phone-mockup {
    display: none;
  }
  .digital-copy {
    padding: 60px 0;
  }
  .prefooter > .wrap {
    grid-template-columns: 1fr;
  }
  .prefooter .wrap > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .product-hero > .wrap {
    grid-template-columns: 1fr;
  }
  .product-hero-icon {
    position: absolute;
    right: 20px;
    opacity: 0.12;
  }
  .product-hero h1,
  .product-hero p,
  .product-hero .hero-actions {
    position: relative;
    z-index: 1;
  }
  .product-detail-grid {
    gap: var(--space-8);
  }
  .credit-product-grid {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin: auto;
  }
  .public-cta > .wrap {
    display: block;
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .public-cta .wrap > div:last-child {
    margin-top: 25px;
  }
}
@media (max-width: 560px) {
  .public-utility {
    display: none;
  }
  .public-masthead {
    height: 73px;
  }
  .public-masthead .brand-caption {
    display: none;
  }
  .public-header-actions .search-button,
  .public-header-actions .secondary {
    display: none;
  }
  .public-masthead .btn {
    min-height: 38px;
    padding: 8px 14px;
  }
  .public-products {
    height: 47px;
  }
  .public-hero-copy {
    padding: 44px 20px;
    min-height: 410px;
  }
  .public-hero-copy h1 {
    font-size: 41px;
  }
  .public-hero-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .quick-access > .wrap {
    padding: 15px;
  }
  .quick-access p {
    font-size: 18px;
  }
  .quick-access .wrap > div {
    grid-template-columns: 1fr;
  }
  .quick-access a {
    border-right: 0;
  }
  .public-section {
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .public-section-heading h2 {
    font-size: 31px;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    min-height: 210px;
  }
  .feature-band > .wrap {
    padding: 0 20px;
  }
  .feature-copy {
    padding-bottom: 25px;
  }
  .feature-copy h2 {
    font-size: 34px;
  }
  .card-fan {
    height: 270px;
  }
  .bank-card {
    width: 225px;
    height: 140px;
    padding: 17px;
  }
  .bank-card-one {
    left: 2%;
  }
  .bank-card-two {
    left: 17%;
    top: 56px;
  }
  .bank-card-three {
    left: 31%;
    top: 105px;
  }
  .goal-grid {
    grid-template-columns: 1fr;
  }
  .goal-card:first-child {
    grid-column: auto;
  }
  .goal-card {
    min-height: 250px;
  }
  .digital-section > .wrap {
    padding: 0 20px;
  }
  .digital-copy h2 {
    font-size: 36px;
  }
  .product-hero > .wrap {
    padding: 0 20px;
    min-height: 410px;
  }
  .product-hero h1 {
    font-size: 40px;
  }
  .product-facts > .wrap {
    padding: 0;
    grid-template-columns: 1fr;
  }
  .product-facts .wrap > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .public-cta .wrap > div:last-child {
    flex-direction: column;
  }
  .public-cta .btn {
    width: 100%;
  }
  .credit-product .bank-card {
    width: 100%;
    height: auto;
  }
  .public-header-actions {
    gap: var(--space-2);
  }
}

/* Business banking */
.business-products .wrap {
  overflow-x: auto;
  white-space: nowrap;
}
.business-products button {
  padding: 0 17px;
}
.business-hero {
  position: relative;
  min-height: 620px;
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
}
.business-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.business-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--green-dark) 96%, transparent) 0%,
    color-mix(in srgb, var(--green-dark) 74%, transparent) 37%,
    color-mix(in srgb, var(--green-dark) 9%, transparent) 68%,
    transparent
  );
}
.business-hero > .wrap {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: var(--space-8);
}
.business-hero-copy {
  max-width: 540px;
  padding: 50px 0;
}
.business-hero-copy .eyebrow {
  color: var(--accent);
}
.business-hero-copy h1 {
  font-size: 58px;
  line-height: 1.05;
  color: var(--white);
  margin: 15px 0;
}
.business-hero-copy h2 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 450;
  color: var(--public-mint);
  margin: 0;
}
.business-signin {
  padding: 26px;
  background: color-mix(in srgb, var(--white) 96%, transparent);
  color: var(--ink);
  box-shadow: 0 22px 55px color-mix(in srgb, var(--public-ink) 38%, transparent);
}
.business-signin > p {
  font-family: var(--serif);
  font-size: 16px;
  margin: 0;
  color: var(--green);
}
.business-signin h2 {
  font-size: 20px;
  margin: 5px 0 18px;
}
.business-signin label {
  font-size: 9px;
}
.business-signin .check-row {
  margin: 13px 0;
}
.business-signin .check-row input {
  width: auto;
}
.business-login-links {
  display: grid;
  gap: var(--space-2);
  margin-top: 16px;
}
.business-login-links a,
.business-login-links button {
  color: var(--green);
  font-size: 10px;
  text-decoration: underline;
  text-align: left;
  padding: 0;
}
.business-feature-grid {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.business-feature-grid article {
  background: var(--paper);
}
.business-feature-grid img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.business-feature-grid article > div {
  padding: 30px;
}
.business-feature-grid h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 10px 0 20px;
}
.business-feature-grid .text-btn {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}
.business-checking {
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
.business-checking > .wrap {
  min-height: 355px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: var(--space-8);
}
.business-checking h2 {
  font-size: 39px;
  line-height: 1.15;
  margin: 12px 0 28px;
  color: var(--white);
}
.business-checking .eyebrow {
  color: var(--accent);
}
.business-checking-art {
  height: 250px;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--white) 13%, transparent);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
}
.business-checking-art span {
  font-size: 120px;
  color: var(--gold);
}
.business-checking-art i {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--white) 13%, transparent);
  border-radius: var(--radius-pill);
  inset: 25px;
}
.business-checking-art i:nth-of-type(2) {
  inset: 55px;
}
.business-checking-art i:nth-of-type(3) {
  inset: 85px;
}
.business-rewards {
  padding-top: 78px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.business-rewards > div:last-child h2 {
  font-size: 43px;
  line-height: 1.1;
  margin: 13px 0;
}
.business-rewards > div:last-child p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}
.business-card-visual {
  aspect-ratio: 1.59;
  max-width: 500px;
  border-radius: var(--radius-xl);
  padding: 32px;
  color: var(--white);
  background: radial-gradient(
    circle at 80% 20%,
    var(--muted),
    var(--green) 58%,
    var(--public-ink)
  );
  box-shadow: 0 28px 55px color-mix(in srgb, var(--forest) 26%, transparent);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.business-card-visual:after {
  content: "?";
  position: absolute;
  right: -40px;
  bottom: -115px;
  font-size: 300px;
  color: transparent;
}
.card-top,
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.card-top span {
  font-family: var(--serif);
  font-size: 24px;
}
.card-top b {
  font-size: 10px;
  letter-spacing: 2px;
}
.card-chip {
  width: 52px;
  height: 39px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.card-chip:after {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--amber);
}
.business-card-visual > em {
  font-style: normal;
  font-size: 20px;
  letter-spacing: 4px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.card-bottom {
  margin-top: 12px;
}
.card-bottom small {
  font-size: 9px;
  letter-spacing: 1.7px;
}
.card-bottom strong {
  font-size: 11px;
  letter-spacing: 1px;
}
.business-selector {
  background: var(--mint);
}
.business-selector > .wrap {
  min-height: 245px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: var(--space-6);
  align-items: center;
}
.selector-icon {
  height: 64px;
  width: 64px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--muted);
}
.selector-icon .icon {
  height: 27px;
  width: 27px;
}
.business-selector h2 {
  font-size: 34px;
  margin: 9px 0;
}
.business-selector p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
}
.business-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.business-values article {
  text-align: center;
  padding: 20px 28px;
}
.business-values article > .icon {
  width: 38px;
  height: 38px;
  color: var(--muted);
}
.business-values h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin: 17px 0 10px;
}
.business-values p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.business-zelle {
  background: var(--surface-warm);
}
.business-zelle > .wrap {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
  overflow: hidden;
}
.business-zelle h2 {
  font-size: 43px;
  margin: 12px 0 22px;
}
.business-zelle ul {
  list-style: none;
  margin: 0 0 27px;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.business-zelle li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 12px;
}
.business-zelle li .icon {
  color: var(--muted);
}
.business-phone {
  align-self: end;
  justify-self: center;
  width: 290px;
  height: 440px;
  border: 8px solid var(--public-ink);
  border-bottom: 0;
  border-radius: var(--radius-pill) var(--radius-pill) 0 0;
  background: var(--white);
  padding: 33px 24px;
  color: var(--ink);
  box-shadow: 0 25px 50px color-mix(in srgb, var(--black) 13%, transparent);
}
.phone-notch {
  width: 70px;
  height: 7px;
  background: var(--public-ink);
  border-radius: var(--radius-md);
  margin: -17px auto 27px;
}
.business-phone > small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 17px;
}
.business-phone h3 {
  font-size: 21px;
  margin: 6px 0 20px;
}
.recipient-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.recipient-row i {
  font-style: normal;
  width: 35px;
  height: 35px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  font-size: 9px;
}
.recipient-row span {
  display: grid;
}
.recipient-row strong {
  font-size: 9px;
}
.recipient-row small {
  font-size: 8px;
  color: var(--muted);
}
.business-phone > button {
  width: 100%;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 11px;
  margin-top: 24px;
  font-size: 10px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.resource-grid article {
  padding: 27px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
}
.resource-grid article > span {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--muted);
}
.resource-grid h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  margin: 19px 0 9px;
}
.resource-grid p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.resource-grid button {
  margin-top: auto;
  color: var(--green);
  font-weight: 700;
  font-size: 10px;
  text-align: left;
  padding: 15px 0 0;
}
.resource-grid button .icon {
  width: 13px;
}
.payroll-band {
  background: var(--ink);
  color: var(--white);
}
.payroll-band > .wrap {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.payroll-band h2 {
  font-size: 34px;
  margin: 9px 0;
  color: var(--white);
}
.payroll-band .eyebrow {
  color: var(--accent);
}
.business-legal {
  padding-top: 28px;
  padding-bottom: 35px;
}
.business-legal p {
  font-size: 8px;
  line-height: 1.7;
  color: var(--muted);
}
.business-selector-form select {
  width: 100%;
}
@media (max-width: 1100px) {
  .public-utility nav:first-child {
    gap: var(--space-3);
  }
  .public-utility nav:first-child button,
  .public-utility nav:first-child a {
    font-size: 9px;
  }
  .business-hero > .wrap {
    grid-template-columns: 1fr 310px;
  }
  .business-hero-copy h1 {
    font-size: 49px;
  }
}
@media (max-width: 767px) {
  .business-hero {
    min-height: 760px;
  }
  .business-hero:after {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--green-dark) 92%, transparent) 0%,
      color-mix(in srgb, var(--green-dark) 58%, transparent) 55%,
      color-mix(in srgb, var(--green-dark) 91%, transparent) 100%
    );
  }
  .business-hero > .wrap {
    min-height: 760px;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 30px;
    padding-bottom: 35px;
  }
  .business-hero-copy {
    padding: 30px 0 10px;
  }
  .business-hero-copy h1 {
    font-size: 44px;
  }
  .business-signin {
    max-width: 450px;
  }
  .business-feature-grid {
    grid-template-columns: 1fr;
  }
  .business-feature-grid img {
    height: 330px;
  }
  .business-checking > .wrap,
  .business-rewards,
  .business-zelle > .wrap {
    grid-template-columns: 1fr;
  }
  .business-checking-art {
    display: none;
  }
  .business-checking > .wrap {
    min-height: 340px;
  }
  .business-rewards {
    gap: var(--space-8);
  }
  .business-card-visual {
    width: 100%;
    justify-self: center;
  }
  .business-selector > .wrap {
    grid-template-columns: 55px 1fr;
  }
  .business-selector .btn {
    grid-column: 2;
    justify-self: start;
    margin-bottom: 30px;
  }
  .business-values,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .business-values article {
    border-bottom: 1px solid var(--line);
  }
  .business-zelle > .wrap {
    padding-top: 55px;
  }
  .business-phone {
    display: none;
  }
}
@media (max-width: 560px) {
  .business-hero {
    min-height: 800px;
  }
  .business-hero > .wrap {
    min-height: 800px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .business-hero-copy h1 {
    font-size: 39px;
  }
  .business-signin {
    padding: 20px;
  }
  .business-feature-grid {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .business-feature-grid img {
    height: 220px;
  }
  .business-feature-grid article > div {
    padding: 23px;
  }
  .business-feature-grid h2 {
    font-size: 25px;
  }
  .business-checking h2,
  .business-rewards > div:last-child h2,
  .business-zelle h2 {
    font-size: 34px;
  }
  .business-rewards {
    padding-top: 50px;
    padding-bottom: 55px;
    gap: var(--space-8);
  }
  .business-card-visual {
    padding: 21px;
    border-radius: var(--radius-xl);
  }
  .business-card-visual .card-chip {
    width: 42px;
    height: 31px;
    margin-top: 20px;
  }
  .business-card-visual > em {
    font-size: 14px;
  }
  .card-top span {
    font-size: 18px;
  }
  .business-selector > .wrap {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 15px;
  }
  .selector-icon {
    display: none;
  }
  .business-selector .btn {
    grid-column: auto;
  }
  .payroll-band > .wrap {
    display: block;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .payroll-band .btn {
    margin-top: 20px;
  }
}
.business-footer .wrap {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: var(--space-8);
  align-items: start;
}
.business-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2) var(--space-6);
}
.business-footer-grid button {
  text-align: left;
  font-size: 9px;
  padding: 2px 0;
  color: var(--line);
}
@media (max-width: 767px) {
  .business-footer .wrap {
    grid-template-columns: 1fr;
  }
  .business-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .business-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Full institution and business service pages */
.public-main h1,
.public-main h2,
.public-main h3 {
  font-weight: 700;
}
.brand-name {
  font-weight: 700;
}
.public-utility a {
  white-space: nowrap;
}
.institution-hero {
  position: relative;
  min-height: 560px;
  background: var(--green-dark);
  color: var(--white);
  overflow: hidden;
}
.institution-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.institution-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--bank-blue-700) 96%, transparent) 0%,
    color-mix(in srgb, var(--bank-blue-700) 78%, transparent) 38%,
    color-mix(in srgb, var(--bank-blue-700) 14%, transparent) 68%,
    transparent
  );
}
.institution-hero > .wrap {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.institution-hero > .wrap > div {
  max-width: 650px;
}
.institution-hero .eyebrow,
.service-hero .eyebrow {
  color: var(--accent);
}
.institution-hero h1 {
  font-size: 58px;
  line-height: 1.04;
  margin: 16px 0 22px;
  color: var(--white);
}
.institution-hero p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mint);
  max-width: 600px;
}
.institution-facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.institution-facts > .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.institution-facts .wrap > div {
  padding: 27px 30px;
  border-right: 1px solid var(--line);
}
.institution-facts .wrap > div:last-child {
  border: 0;
}
.institution-facts strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}
.institution-facts span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.institution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.institution-grid article {
  padding: 28px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
}
.institution-grid article > span {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--muted);
}
.institution-grid h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 22px 0 11px;
}
.institution-grid p {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}
.institution-grid button {
  margin-top: auto;
  padding: 20px 0 0;
  text-align: left;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}
.institution-grid button .icon {
  width: 13px;
}
.regulatory-list {
  margin: 0;
}
.regulatory-list dt {
  font-weight: 700;
  color: var(--green);
  margin-top: 18px;
}
.regulatory-list dt:first-child {
  margin-top: 0;
}
.regulatory-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.institution-insight {
  background: var(--mint);
}
.institution-insight > .wrap {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-8);
}
.institution-insight h2 {
  font-size: 42px;
  margin: 12px 0;
}
.institution-insight p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 26px;
}
.institution-insight aside {
  background: var(--green);
  color: var(--white);
  padding: 45px;
  min-height: 270px;
}
.institution-insight aside > span {
  font-size: 50px;
  color: var(--accent);
}
.institution-insight blockquote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.45;
  margin: 13px 0 18px;
}
.institution-insight aside small {
  color: var(--line);
}
.service-hero {
  background: var(--green);
  color: var(--white);
}
.service-hero > .wrap {
  min-height: 490px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-right: 0;
}
.service-hero > .wrap > div {
  align-self: center;
  padding: 55px 55px 55px 0;
}
.service-hero h1 {
  font-size: 52px;
  line-height: 1.06;
  color: var(--white);
  margin: 14px 0 20px;
}
.service-hero p:not(.eyebrow) {
  color: var(--public-mint);
  line-height: 1.8;
  max-width: 620px;
}
.service-hero img {
  width: 100%;
  height: 490px;
  object-fit: cover;
}
.bank-card:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 66px;
  width: 43px;
  height: 31px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  box-shadow: inset 0 0 0 1px var(--amber);
  z-index: 2;
}
.bank-card em {
  font-variant-numeric: tabular-nums;
}
.bank-card em:after {
  content: "  )))";
  font-size: 10px;
  letter-spacing: -2px;
  opacity: 0.8;
}
.business-card-visual:before {
  content: ")))";
  position: absolute;
  right: 34px;
  top: 95px;
  font-size: 18px;
  letter-spacing: -4px;
  transform: rotate(90deg);
  opacity: 0.8;
}
.business-card-visual > em {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .institution-grid {
    grid-template-columns: 1fr 1fr;
  }
  .institution-insight > .wrap {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .service-hero > .wrap {
    grid-template-columns: 1fr;
    padding-right: 44px;
  }
  .service-hero > .wrap > div {
    padding-right: 0;
  }
  .service-hero img {
    height: 330px;
    margin-bottom: 45px;
  }
  .institution-hero h1 {
    font-size: 48px;
  }
}
@media (max-width: 560px) {
  .institution-hero,
  .institution-hero > .wrap {
    min-height: 500px;
  }
  .institution-hero > .wrap {
    padding: 40px 20px;
  }
  .institution-hero h1,
  .service-hero h1 {
    font-size: 39px;
  }
  .institution-facts > .wrap {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .institution-facts .wrap > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .institution-grid {
    grid-template-columns: 1fr;
  }
  .institution-insight > .wrap {
    padding: 45px 20px;
  }
  .institution-insight h2 {
    font-size: 34px;
  }
  .institution-insight aside {
    padding: 28px;
  }
  .service-hero > .wrap {
    padding: 0 20px;
  }
  .service-hero img {
    height: 240px;
  }
  .bank-card:before {
    left: 17px;
    top: 54px;
    width: 35px;
    height: 25px;
  }
}

/* Larger public typography and complete bank footer */
.public-utility {
  height: 44px;
}
.public-utility a,
.public-utility button {
  font-size: 12px;
  font-weight: 600;
}
.public-utility nav {
  gap: var(--space-4);
}
.public-products {
  height: 58px;
}
.public-products a,
.public-products button {
  font-size: 13px;
  font-weight: 600;
}
.public-main {
  font-size: 16px;
}
.public-main p:not(.eyebrow),
.public-main li {
  font-size: 14px;
}
.public-main .eyebrow {
  font-size: 11px;
  font-weight: 750;
}
.solution-card p,
.goal-card p,
.institution-grid p,
.business-values p,
.resource-grid p {
  font-size: 13px !important;
}
.bank-help {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bank-help > .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 32px;
  padding-bottom: 32px;
}
.bank-help button {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: var(--space-4);
  padding: 12px 30px;
  text-align: left;
  border-right: 1px solid var(--line);
}
.bank-help button:last-child {
  border: 0;
}
.bank-help button > .icon:first-child {
  width: 30px;
  height: 30px;
  color: var(--muted);
}
.bank-help button > .icon:last-child {
  width: 16px;
}
.bank-help strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--green);
}
.bank-help small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.full-bank-footer {
  background: var(--ink);
  color: var(--mint);
  padding: 46px 0 30px;
}
.full-bank-footer .fdic-badge,
.full-bank-footer .fdic-badge .fdic-icon,
.full-bank-footer .footer-fdic,
.full-bank-footer .footer-fdic a {
  color: var(--mint);
}
.full-bank-footer .fdic-icon {
  border-color: var(--mint);
}
.full-bank-footer .footer-fdic a:hover {
  color: var(--white);
}
.footer-legal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: var(--space-3) var(--space-8);
  padding-bottom: 35px;
}
.footer-legal-links button {
  color: var(--white);
  text-align: left;
  padding: 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.investment-warning {
  border-top: 1px solid color-mix(in srgb, var(--white) 21%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 21%, transparent);
  padding: 28px 0;
  margin-bottom: 29px;
}
.investment-warning h2 {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 15px;
  color: var(--white);
}
.investment-warning ul {
  margin: 0;
  padding-left: 21px;
  display: grid;
  gap: var(--space-2);
}
.investment-warning li {
  font-size: 13px;
  font-weight: 700;
}
.footer-disclosures {
  display: grid;
  gap: var(--space-3);
  color: var(--mint);
}
.footer-disclosures p {
  font-size: 12px;
  line-height: 1.7;
}
.footer-final {
  border-top: 1px solid color-mix(in srgb, var(--white) 21%, transparent);
  margin-top: 29px;
  padding-top: 25px;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-final .footer-brand {
  color: var(--white);
  font-size: 24px;
  margin-right: auto;
}
.housing-mark {
  font-weight: 700;
}
@media (max-width: 1120px) {
  .public-utility nav {
    gap: var(--space-3);
  }
  .public-utility a,
  .public-utility button {
    font-size: 11px !important;
  }
  .public-products a,
  .public-products button {
    font-size: 12px;
  }
  .bank-help button {
    padding: 12px 18px;
  }
}
@media (max-width: 767px) {
  .bank-help > .wrap {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .bank-help button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .footer-legal-links {
    grid-template-columns: 1fr;
  }
  .public-main p:not(.eyebrow),
  .public-main li {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .bank-help > .wrap,
  .full-bank-footer > .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-final {
    display: grid;
    gap: var(--space-3);
  }
  .footer-final .footer-brand {
    margin: 0;
  }
}

/* Readable Online Banking type scale */
.masthead .header-links,
.masthead .header-user {
  font-size: 14px;
}
.nav a,
.nav .text-btn {
  font-size: 14px;
  font-weight: 600;
}
.page-heading p:last-child,
.card-head p,
.form-card > p,
.transfer-aside > p {
  font-size: 14px;
}
.section-label small,
.account-card small,
.quick-row small,
.welcome-note p,
.chart-note {
  font-size: 12px;
}
.account-card h3,
.quick-row strong,
.welcome-note strong {
  font-size: 14px;
}
.account-card .account-number {
  font-size: 13px;
}
.card-head h2,
.section-label h2 {
  font-size: 25px;
}
th {
  font-size: 11px;
}
td,
.merchant strong,
td.amount-col {
  font-size: 13px;
}
.merchant small,
.date-cell,
.status-dot,
.table-footer {
  font-size: 12px;
}
.auth-form-wrap .intro,
.signup-aside > p,
.signup-card > p,
.signup-prompt {
  font-size: 14px;
}
.auth-security,
.auth-benefits small,
.step-item small,
.field-help {
  font-size: 12px;
}
.auth-benefits strong,
.step-item strong {
  font-size: 13px;
}
.business-signin label,
.business-login-links a,
.business-login-links button {
  font-size: 12px;
}

/* Interactive Security Center and complete Profile settings */
button.security-item {
  width: 100%;
  text-align: left;
  align-items: flex-start;
}
.security-item > span {
  flex: 1;
}
.security-item strong {
  font-size: 15px;
}
.security-item p {
  font-size: 13px;
}
.security-item small {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}
.security-item small .icon {
  width: 13px;
}
.security-item:hover {
  background: var(--public-cream);
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}
.security-support {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 20px;
}
.security-support > .icon {
  color: var(--muted);
}
.security-support span {
  display: grid;
}
.security-support strong {
  font-size: 13px;
}
.security-support button {
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
  text-align: left;
  padding: 2px 0;
}
.profile-sidebar .profile-help {
  margin-top: 20px;
}
.profile-preferences {
  margin-top: 25px;
}
.preference-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.preference-list > button,
.preference-list > a {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.preference-list > button:nth-child(even),
.preference-list > a:nth-child(even) {
  border-right: 0;
}
.preference-list > button:nth-last-child(-n + 2),
.preference-list > a:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.preference-list > button:hover,
.preference-list > a:hover {
  background: var(--public-cream);
}
.preference-list > .icon {
  color: var(--muted);
}
.preference-list span {
  display: grid;
}
.preference-list strong {
  font-size: 14px;
}
.preference-list small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.preference-list b {
  color: var(--green);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.preference-list b .icon {
  width: 13px;
}
@media (max-width: 700px) {
  .preference-list {
    grid-template-columns: 1fr;
  }
  .preference-list > button,
  .preference-list > a {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }
  .preference-list > *:last-child {
    border-bottom: 0 !important;
  }
}

/* Customer service destination pages */
.support-public {
  padding-top: 48px;
  padding-bottom: 60px;
}
.support-summary {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.support-summary > span {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
}
.support-summary > span .icon {
  width: 25px;
  height: 25px;
}
.support-summary h2 {
  font-size: 23px;
}
.support-summary p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.support-page {
  margin-bottom: 28px;
}
.support-topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.support-topic-grid > button {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: var(--space-4);
  padding: 25px;
  text-align: left;
}
.support-topic-grid > button:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--green) 9%, transparent);
}
.support-topic-grid > button > span {
  width: 41px;
  height: 41px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--muted);
}
.support-topic-grid h3 {
  font-family: var(--serif);
  font-size: 21px;
}
.support-topic-grid p {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 15px;
}
.support-topic-grid b {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--green);
  font-size: 12px;
}
.support-topic-grid b .icon {
  width: 13px;
}
.support-security {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: 25px 28px;
}
.support-security > .icon {
  color: var(--muted);
  width: 29px;
  height: 29px;
}
.support-security h2 {
  font-size: 21px;
}
.support-security p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .support-summary,
  .support-security {
    grid-template-columns: 45px 1fr;
  }
  .support-summary > .btn,
  .support-security > .btn {
    grid-column: 2;
    justify-self: start;
  }
  .support-topic-grid {
    grid-template-columns: 1fr;
  }
}
.payment-nav {
  display: flex;
  gap: var(--space-3) var(--space-6);
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}
.payment-nav a {
  padding: 6px 0;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.payment-choice {
  display: block;
  padding: 30px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s;
}
.payment-choice:hover {
  box-shadow: 0 4px 22px color-mix(in srgb, var(--green) 13%, transparent);
}
.payment-choice > .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--forest-2);
}
.payment-choice h2 {
  font-size: 25px;
}
.payment-choice p {
  font-size: 16px;
  line-height: 1.65;
  margin: 12px 0 22px;
}
.payment-choice strong {
  color: var(--forest-2);
}
.payment-narrow {
  max-width: 720px;
  margin: auto;
}
.payment-disclosure {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.payment-disclosure summary {
  cursor: pointer;
  font-weight: 600;
}
#recipient-fields {
  display: grid;
  gap: var(--space-4);
}
.payment-narrow .receipt-ref {
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .payment-choice {
    padding: 24px;
  }
  .payment-nav {
    gap: var(--space-2) var(--space-4);
  }
}
.service-narrow {
  max-width: 780px;
  margin: auto;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.service-row span {
  display: grid;
  gap: var(--space-1);
}
.card-control {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.card-control .bank-card {
  margin: 0;
  width: 100%;
}
@media (max-width: 650px) {
  .service-row,
  .card-control {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .service-row {
    display: grid;
  }
  .card-control {
    gap: var(--space-4);
  }
}

#phase8-content {
  display: grid;
  gap: var(--space-4);
}
#phase8-content section {
  margin-top: var(--space-6);
}
#phase8-content section h3 {
  margin-bottom: var(--space-3);
}
.phase8-document span {
  gap: var(--space-2);
}
.phase8-document span > p {
  max-width: 68ch;
  line-height: 1.6;
}
.phase8-document span > p + p {
  margin-top: var(--space-2);
}
#careers-openings .service-row span {
  gap: var(--space-2);
}
#careers-openings .service-row > span {
  flex: 1 1 0;
  min-width: 0;
}

/* Phase 7 public tools */
.phase7-tool-layout {
  max-width: 920px;
}
.phase7-tool-layout .form-card {
  box-shadow: none;
}
.phase7-tool-layout .details-list {
  margin-top: 20px;
}
.phase7-tool-layout dt {
  color: var(--muted);
}
.phase7-tool-layout dd {
  text-align: right;
  margin: 0;
  font-weight: 600;
}
.phase7-result-amount {
  margin: 12px 0 5px;
  font: 700 38px/1.15 var(--serif);
  color: var(--green);
}
.phase7-tool-layout .empty-state {
  padding: 30px 10px;
}
.phase7-tool-layout .form-card > p:last-child {
  margin-top: 24px;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .phase7-tool-layout {
    grid-template-columns: 1fr;
  }
  .phase7-tool-layout .form-card {
    padding: 24px;
  }
  .phase7-result-amount {
    font-size: 32px;
  }
}

.bank-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--green);
  border-radius: var(--radius-pill);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.initial-loading small {
  color: var(--muted);
  font-size: 11px;
  margin-top: -10px;
}
.request-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--green) 14%, transparent);
  backdrop-filter: blur(2px);
  cursor: progress;
}
.request-loading[hidden] {
  display: none;
}
.request-loading-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 15px 45px color-mix(in srgb, var(--public-ink) 17%, transparent);
  font-size: 13px;
  font-weight: 600;
}
.request-loading-card .bank-spinner {
  width: 22px;
  height: 22px;
  border-width: 2.5px;
}
.is-loading #app {
  pointer-events: none;
}
.route-loading {
  display: grid;
  gap: var(--space-6);
  padding: 30px 0 64px;
}
.route-loading-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 22px;
}
.route-loading-title p {
  margin: 0;
}
.route-loading-title .bank-spinner {
  width: 28px;
  height: 28px;
  border-width: 2.5px;
}
.route-loading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.route-loading-grid .skeleton-heading,
.route-loading-grid .skeleton-text {
  grid-column: 1/-1;
  margin: 0;
}
.route-loading-grid .skeleton-heading {
  width: min(440px, 70%);
}
.route-loading-grid .skeleton-card {
  height: 190px;
}
.inline-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 76px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 13px;
}
.inline-loading .bank-spinner {
  width: 20px;
  height: 20px;
  border-width: 2px;
}
@media (max-width: 650px) {
  .route-loading {
    gap: var(--space-6);
    padding: 18px 0 96px;
  }
  .route-loading-title {
    font-size: 19px;
  }
  .route-loading-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .route-loading-grid .skeleton-card {
    height: 130px;
  }
  .request-loading-card {
    max-width: calc(100vw - 40px);
    padding: 14px 16px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bank-spinner {
    animation: none;
  }
  .request-loading {
    backdrop-filter: none;
  }
}

/* FDIC and Equal Housing badges */
.fdic-badges {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.fdic-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.fdic-badge .fdic-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.eho-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--muted);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.eho-icon::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--muted);
  opacity: 0.15;
}
.eho-icon svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--mint);
  padding: 18px 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 13px;
  box-shadow: 0 -4px 20px color-mix(in srgb, var(--black) 20%, transparent);
}
.cookie-consent p {
  margin: 0;
  flex: 1;
  line-height: 1.6;
}
.cookie-consent .cookie-actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}
.cookie-consent .btn {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 12px;
}
.cookie-consent .btn.primary {
  background: var(--accent);
  color: var(--ink);
}
.cookie-consent .btn.secondary {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  color: var(--mint);
}
.cookie-consent .btn.secondary:hover {
  background: color-mix(in srgb, var(--white) 6%, transparent);
}
.cookie-consent.hidden {
  display: none;
}
@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent .cookie-actions {
    width: 100%;
  }
  .cookie-consent .btn {
    flex: 1;
  }
}


/* Session timeout modal */
.session-timeout-modal {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--public-pine) 50%, transparent);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.session-timeout-modal.hidden {
  display: none;
}
.session-timeout-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--black) 27%, transparent);
  text-align: center;
}
.session-timeout-card .timeout-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--surface-warm);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.session-timeout-card .timeout-icon svg {
  width: 28px;
  height: 28px;
}
.session-timeout-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.session-timeout-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.session-timeout-card .timeout-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

/* Last login timestamp */
.last-login {
  font-size: 11px;
  color: var(--muted);
  padding: 4px 0;
}

/* OTP 6-box input */
.otp-input-group {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin: 20px 0;
}
.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--serif);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  transition: border-color 0.15s;
}
.otp-input:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 6%, transparent);
}
.otp-input.filled {
  border-color: var(--green);
  background: var(--public-cream);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--mint) 25%,
    var(--paper) 50%,
    var(--mint) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
}
.skeleton-heading {
  height: 28px;
  width: 60%;
  margin-bottom: 16px;
}
.skeleton-card {
  height: 120px;
  border-radius: var(--radius-md);
}

/* Processing spinner on buttons */
.btn.processing {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.processing::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: var(--radius-pill);
  animation: spin 0.7s linear infinite;
}
.btn.primary.processing::after {
  border-color: var(--white);
  border-top-color: transparent;
}
.btn.secondary.processing::after {
  border-color: var(--green);
  border-top-color: transparent;
}

/* Transfer pending confirmation */
.pending-confirmation {
  background: var(--paper);
  border: 1px solid var(--public-mint);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 16px 0;
  text-align: center;
}
.pending-confirmation .spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--public-mint);
  border-top-color: var(--green);
  border-radius: var(--radius-pill);
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}
.pending-confirmation p {
  font-size: 13px;
  color: var(--green-dark);
  margin: 0;
}

/* Large transfer warning */
.transfer-warning {
  background: var(--surface-warm);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.transfer-warning .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 1px;
}
.transfer-warning p {
  font-size: 12px;
  color: var(--amber);
  margin: 0;
  line-height: 1.7;
}

/* Member FDIC footer inline */
.footer-fdic {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  flex-wrap: wrap;
}
.footer-fdic a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-fdic a:hover {
  color: var(--ink);
}
.footer-fdic .fdic-mark {
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: 0;
  margin: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 6px;
  color: var(--accent);
}
.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* Greeting */
.greeting-bar {
  margin-bottom: 20px;
}
.greeting-text {
  font-size: 22px;
  font-family: var(--serif);
  color: var(--ink);
  margin-bottom: 2px;
}
.greeting-date {
  font-size: 13px;
  color: var(--muted);
}

/* Dashboard */
.balance-hero {
  background: var(--green);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}
.balance-hero::after {
  content: "?";
  position: absolute;
  right: 40px;
  top: -20px;
  font-size: 160px;
  color: color-mix(in srgb, var(--white) 3%, transparent);
  font-family: var(--serif);
  pointer-events: none;
}
.balance-hero-inner {
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  color: var(--white);
  position: relative;
  z-index: 1;
}
.balance-hero .eyebrow {
  color: var(--line);
  font-size: 10px;
  letter-spacing: 1.8px;
}
.balance-hero .balance-total {
  font-size: 48px;
  font-family: var(--serif);
  letter-spacing: -1.5px;
  margin: 6px 0 4px;
  color: var(--white);
}
.balance-hero .balance-subtitle {
  font-size: 12px;
  color: var(--accent);
}
.balance-actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}
.balance-actions .btn {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 11px;
}
.balance-actions .btn.gold {
  background: var(--accent);
  color: var(--green-dark);
  border: none;
}
.balance-actions .btn.gold:hover {
  background: var(--gold);
}
.balance-actions .btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.balance-actions .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: 28px;
}
.dashboard-accounts .section-label,
.dashboard-activity .section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dashboard-accounts .section-label h2,
.dashboard-activity .section-label h2 {
  font-size: 18px;
}
.account-tile-grid {
  display: grid;
  gap: var(--space-3);
}
.account-tile {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
  text-decoration: none;
  color: inherit;
}
.account-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--green) 6%, transparent);
}
.account-tile-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 14px;
}
.account-tile-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--mint);
  color: var(--green);
}
.account-tile-icon .icon {
  width: 18px;
  height: 18px;
}
.account-tile-type {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 600;
}
.account-tile-name {
  font-size: 13px;
  color: var(--ink);
  margin-top: 2px;
}
.account-tile-balances {
  display: flex;
  gap: var(--space-6);
  margin-bottom: 10px;
}
.balance-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.account-tile-balance {
  font-size: 26px;
  font-family: var(--serif);
  letter-spacing: -0.5px;
}
.account-tile-secondary {
  font-size: 16px;
  color: var(--muted);
}
.account-tile-number {
  font-size: 11px;
  color: var(--muted);
}
.transaction-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.transaction-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 16px 20px;
  border-bottom: 1px solid var(--mint);
}
.transaction-row:last-child {
  border-bottom: 0;
}
.transaction-row:hover {
  background: var(--public-cream);
}
.transaction-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--mint);
  color: var(--muted);
  flex-shrink: 0;
}
.transaction-icon .icon {
  width: 17px;
  height: 17px;
}
.transaction-details {
  flex: 1;
  min-width: 0;
}
.transaction-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.transaction-date {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.transaction-amount {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.transaction-amount.negative {
  color: var(--ink);
}
.transaction-amount.positive {
  color: var(--forest-2);
}
.dashboard-services {
  margin-bottom: 20px;
}
.service-tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}
.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 22px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.service-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--green) 6%, transparent);
}
.service-tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--white);
}
.service-tile-icon .icon {
  width: 20px;
  height: 20px;
}
.service-tile strong {
  font-size: 12px;
  color: var(--ink);
}
.service-tile small {
  font-size: 10px;
  color: var(--muted);
}
.dashboard-notices {
  margin-bottom: 20px;
}
.notice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.notice-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.notice-card .icon {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex-shrink: 0;
}
.notice-card strong {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}
.notice-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.notice-card .text-btn {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
}
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .balance-hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 30px 28px;
  }
  .balance-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .service-tile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .notice-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .service-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .balance-hero .balance-total {
    font-size: 38px;
  }
}
.error-page {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}
.error-page-inner {
  text-align: center;
  max-width: 420px;
}
.error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--green);
  margin-bottom: 24px;
}
.error-icon .icon {
  width: 36px;
  height: 36px;
}
.error-page h1 {
  margin-bottom: 12px;
}
.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
}
.error-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}
.check-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--muted);
}
.check-row label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
}
.cookie-prefs h3 {
  margin-bottom: 14px;
  font-size: 16px;
}
.cookie-prefs .check-row {
  margin-bottom: 10px;
}

/* #16 — Mobile hamburger menu */
.hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
}
.hamburger .icon {
  width: 24px;
  height: 24px;
}
@media (max-width: 767px) {
  .nav .wrap {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--black) 7%, transparent);
    z-index: 10;
    padding: 0 24px;
  }
  .nav .wrap.open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
  }
  .nav .nav-end {
    margin-left: 0;
    padding: 14px 0;
  }
  .hamburger {
    display: block;
  }
  .masthead .wrap {
    position: relative;
  }
  .public-masthead .wrap {
    position: relative;
  }
}

/* #26 — Fieldset/legend styling */
fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 0 0 20px;
}
fieldset legend {
  font-weight: 600;
  font-size: 14px;
  padding: 0 8px;
  color: var(--green);
}

/* #37 — Card tile hover consistency */
.account-card,
.notice-card {
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.account-card:hover,
.notice-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--green) 6%, transparent);
}

/* Notification bell */
.notification-bell {
  position: relative;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.notification-bell:hover {
  color: var(--green);
}
.notification-bell .icon {
  width: 20px;
  height: 20px;
}
.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Notification dropdown */
.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  max-height: 480px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--black) 13%, transparent);
  z-index: 50;
  overflow: hidden;
}
.notification-dropdown .dropdown-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notification-dropdown .dropdown-header h3 {
  font-size: 15px;
  margin: 0;
}
.notification-dropdown .notification-list {
  max-height: 380px;
  overflow-y: auto;
}
.notification-dropdown .notification-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--paper);
  cursor: pointer;
  transition: background 0.1s;
}
.notification-dropdown .notification-item:hover {
  background: var(--public-cream);
}
.notification-dropdown .notification-item.unread {
  background: var(--paper);
}
.notification-dropdown .notification-item .notif-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}
.notification-dropdown .notification-item .notif-message {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.notification-dropdown .notification-item .notif-time {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.notification-dropdown .dropdown-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.notification-dropdown .dropdown-footer a {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}
.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Product mobile shell: actions are reachable without compressing desktop controls. */
.mobile-nav-actions {
  display: none;
}
@media (max-width: 767px) {
  .nav {
    position: relative;
  }
  .masthead .header-user > div,
  .masthead .header-user > .avatar,
  .masthead .header-user > .separator,
  .masthead .header-user > span:not(.notification-badge) {
    display: none;
  }
  .masthead .header-user {
    margin-left: auto;
    gap: var(--space-1);
  }
  .hamburger,
  .notification-bell {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .mobile-nav-actions {
    display: grid;
    gap: var(--space-1);
    padding: 10px 0 18px;
  }
  .mobile-nav-actions a,
  .mobile-nav-actions button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    min-height: 44px;
    padding: 12px 0;
    color: var(--green);
    font-size: 14px;
    font-weight: 650;
    text-align: left;
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav-actions .icon {
    width: 18px;
    height: 18px;
  }
  .notification-dropdown {
    position: fixed;
    top: 76px;
    right: 12px;
    width: min(380px, calc(100vw - 24px));
    max-height: calc(100dvh - 92px);
  }
  .notification-dropdown .notification-list {
    max-height: calc(100dvh - 190px);
  }
  .session-timeout-modal {
    align-items: flex-end;
    padding: 12px;
  }
  .session-timeout-card {
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 24px;
  }
  .otp-input-group {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-2);
  }
  .otp-input {
    width: 100%;
    height: 52px;
    font-size: 20px;
  }
  .activity-controls .form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .activity-controls .form-actions select,
  .activity-controls .form-actions input[name="search"],
  .activity-controls .form-actions .btn:first-of-type {
    grid-column: 1/-1;
  }
  .activity-controls .form-actions .btn,
  .activity-controls .form-actions a {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }
  .brand-name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .balance-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .balance-actions .btn {
    width: 100%;
  }
  .balance-actions .btn:nth-child(2) {
    grid-column: 1/-1;
  }
  .service-tile-grid .is-secondary {
    display: none;
  }
  .service-tile-grid.expanded .is-secondary,
  .service-tile-more {
    display: flex;
  }
  .session-timeout-card .timeout-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .session-timeout-card .timeout-actions .btn {
    width: 100%;
  }
}

/* Dashboard charts */
.dashboard-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  margin-bottom: 28px;
}
.chart-card {
  overflow: visible;
}
.chart-card .card-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.chart-card .card-head h2 {
  font-size: 16px;
}
.chart-wrap {
  padding: 20px 22px;
  height: 260px;
  position: relative;
}
.chart-wrap-pie {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .dashboard-charts {
    grid-template-columns: 1fr;
  }
}

/* Account alerts page */
.alert-rule-list {
  display: grid;
  gap: var(--space-3);
}
.alert-rule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.alert-rule-item .rule-info {
  flex: 1;
}
.alert-rule-item .rule-type {
  font-size: 13px;
  font-weight: 600;
}
.alert-rule-item .rule-detail {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.alert-rule-item .rule-actions {
  display: flex;
  gap: var(--space-2);
}

/* Legal disclosure pages */
.disclosure-content {
  max-width: 800px;
  margin: auto;
}
.disclosure-content h2 {
  font-size: 22px;
  margin: 30px 0 12px;
}
.disclosure-content h3 {
  font-size: 17px;
  margin: 22px 0 8px;
}
.disclosure-content p {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 12px;
}
.disclosure-content ul {
  padding-left: 22px;
  margin-bottom: 14px;
}
.disclosure-content li {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 6px;
}
.disclosure-content .disclosure-effective {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

@media print {
  .masthead,
  .nav,
  .footer,
  .notification-bell,
  .hamburger,
  .balance-actions,
  .form-actions,
  .btn,
  .pagination,
  .activity-controls,
  .skip-link,
  #toast {
    display: none !important;
  }
  body {
    font-size: 12px;
    color: var(--black);
    background: var(--white);
  }
  .main {
    padding: 0;
    margin: 0;
  }
  .card {
    border: 1px solid var(--line);
    box-shadow: none;
    break-inside: avoid;
  }
  table {
    font-size: 11px;
  }
  a {
    color: var(--black);
    text-decoration: none;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9px;
    color: var(--muted);
  }
  .brand {
    font-size: 14px;
  }
}

.card-details-dialog {
  position: relative;
  text-align: left;
  max-width: 520px;
}
.card-details-dialog .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 8px;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
}
.card-details-dialog h2 {
  font-size: 28px;
  margin: 7px 35px 10px 0;
}
.card-details-dialog > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* EMV contact pattern used by every card illustration. */
.bank-card:before,
.card-chip {
  background-color: #d8bd72;
  background-image:
    linear-gradient(
      90deg,
      transparent 46%,
      #8b7134 47%,
      #8b7134 50%,
      transparent 51%
    ),
    linear-gradient(
      0deg,
      transparent 46%,
      #8b7134 47%,
      #8b7134 50%,
      transparent 51%
    ),
    linear-gradient(
      90deg,
      transparent 20%,
      #9a7b36 21%,
      #9a7b36 24%,
      transparent 25% 75%,
      #9a7b36 76%,
      #9a7b36 79%,
      transparent 80%
    );
  background-size: 100% 100%;
  box-shadow:
    inset 0 0 0 1px #82692f,
    inset 0 1px 2px color-mix(in srgb, var(--white) 53%, transparent);
}
.card-chip:after {
  left: 50%;
  border-color: #82692f;
}

/* Keep each card's product name clear of the card layered in front. */
.card-fan {
  height: 410px;
}
.bank-card-one {
  top: 8px;
}
.bank-card-two {
  top: 105px;
}
.bank-card-three {
  top: 202px;
}
@media (max-width: 560px) {
  .card-fan {
    height: 300px;
  }
  .bank-card-one {
    top: 8px;
  }
  .bank-card-two {
    top: 78px;
  }
  .bank-card-three {
    top: 148px;
  }
}

/* The chip sits below the product name, not on top of it. */
.bank-card:before {
  top: 84px;
}
.feature-band > .wrap {
  min-height: 500px;
}
@media (max-width: 560px) {
  .bank-card:before {
    top: 67px;
  }
  .feature-band > .wrap {
    min-height: 430px;
  }
}

/* Stronger public-site hierarchy inspired by modern bank navigation. */
.public-utility a,
.public-utility button {
  font-size: 12px !important;
  font-weight: 650;
  letter-spacing: 0.005em;
  color: var(--forest-2);
}
.public-utility .active {
  font-weight: 750;
  color: var(--green);
  border-bottom-width: 3px;
}
.public-products a,
.public-products button {
  font-size: 13px !important;
  font-weight: 650;
  letter-spacing: 0.005em;
}
.public-header-actions .btn,
.public-main .btn {
  font-weight: 700;
}
.public-main h1,
.public-main h2,
.public-main h3 {
  font-weight: 750;
}
.public-hero-copy h1,
.institution-hero h1,
.service-hero h1,
.product-hero h1 {
  font-weight: 750;
}
.public-masthead {
  border-bottom: 1px solid var(--line);
}
.public-products {
  box-shadow: 0 5px 15px color-mix(in srgb, var(--green) 5%, transparent);
}
.public-section {
  padding-top: 78px;
  padding-bottom: 78px;
}
.public-section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}
.public-section-heading h2 {
  font-size: 38px;
  line-height: 1.13;
  margin-top: 9px;
}
.public-section-heading > p:last-child {
  max-width: 590px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.solution-card,
.resource-grid .card,
.institution-grid .card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.solution-card:hover,
.resource-grid .card:hover,
.institution-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--green) 9%, transparent);
}
.product-facts strong,
.institution-facts strong {
  font-variant-numeric: tabular-nums;
}
.public-cta {
  position: relative;
  overflow: hidden;
}
.public-cta:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid color-mix(in srgb, var(--white) 9%, transparent);
  border-radius: var(--radius-pill);
  right: -160px;
  top: -235px;
  pointer-events: none;
}
.public-cta > .wrap {
  position: relative;
  z-index: 1;
}
.business-legal {
  max-width: 1050px;
  line-height: 1.8;
}
.support-public .form-card {
  box-shadow: none;
}
.support-public .contact-option {
  border: 1px solid var(--line);
  background: var(--public-cream);
}
.public-products .wrap {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.public-search-card {
  text-align: left;
}
.public-search-card input {
  margin: 8px 0 4px;
}
.public-search-card #search-results {
  display: grid;
  gap: var(--space-1);
  margin-top: 12px;
  min-height: 34px;
}
.public-search-card #search-results a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--green);
  font-weight: 650;
  background: var(--paper);
}
.public-search-card #search-results a:hover {
  background: var(--mint);
}
.public-search-card #search-results p {
  margin: 6px 0;
  color: var(--muted);
}
/* Keep the public hero composed on wide screens instead of stretching its empty color field. */
@media (min-width: 1001px) {
  .public-hero > .wrap {
    width: 100%;
    max-width: none;
    min-height: 560px;
    grid-template-columns: minmax(520px, 47%) 1fr;
    margin: 0;
    padding-left: max(44px, calc((100vw - 1360px) / 2));
    padding-right: 0;
  }
  .public-hero-copy {
    max-width: 590px;
    padding: 72px 72px 72px 0;
  }
  .public-hero-copy h1 {
    font-size: clamp(45px, 3.1vw, 62px);
    line-height: 1.05;
  }
  .public-hero-copy > p:not(.eyebrow) {
    max-width: 485px;
    font-size: 16px;
    line-height: 1.7;
  }
  .public-hero-image {
    min-width: 0;
  }
  .public-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .public-products .wrap {
    max-width: 1360px;
  }
  .public-products a,
  .public-products button {
    font-size: 14px !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  .quick-access p {
    font-size: 18px;
  }
  .quick-access a {
    min-height: 90px;
    font-size: 15px;
  }
}

/* Contained portal layout for public banking, matching established bank-site proportions. */
@media (min-width: 1001px) {
  .public-utility .wrap,
  .public-masthead .wrap,
  .public-products .wrap,
  .public-main > .public-section.wrap,
  .quick-access .wrap,
  .feature-band > .wrap,
  .digital-section > .wrap,
  .product-facts > .wrap,
  .institution-facts > .wrap,
  .bank-help > .wrap,
  .full-bank-footer > .wrap {
    max-width: 1480px;
  }
  .public-hero {
    background: var(--white);
    padding: 18px 0 0;
  }
  .public-hero > .wrap {
    width: calc(100% - 48px);
    max-width: 1480px;
    min-height: 520px;
    grid-template-columns: 42% 58%;
    margin: auto;
    padding: 0;
  }
  .public-hero-copy {
    max-width: none;
    padding: 62px 56px;
    background: var(--green);
  }
  .public-hero-copy h1 {
    font-size: 48px;
    line-height: 1.08;
  }
  .public-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.65;
  }
  .public-hero-image img {
    object-position: center;
  }
  .quick-access {
    background: var(--white);
    padding: 18px 0 28px;
  }
  .quick-access .wrap {
    padding: 0;
  }
  .quick-access .wrap > div {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .quick-access a {
    min-height: 70px;
    font-size: 14px;
  }
  .public-main > .public-section.wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .feature-band,
  .digital-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .feature-band > .wrap,
  .digital-section > .wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .solution-grid {
    gap: var(--space-4);
  }
  .solution-card {
    min-height: 240px;
  }
  .public-section-heading h2 {
    font-size: 36px;
  }
}

/* Public-site production presentation. */
.public-utility,
.public-masthead,
.public-products,
.public-main,
.bank-help,
.full-bank-footer {
  font-family: var(--public-sans);
}
.public-masthead .brand-name,
.public-main h1,
.public-main h2,
.public-main h3,
.bank-help strong,
.full-bank-footer h1,
.full-bank-footer h2,
.full-bank-footer h3 {
  font-family: var(--public-sans);
  letter-spacing: -0.025em;
}
.public-main h1,
.public-main h2 {
  font-weight: 700;
}
.public-main h3 {
  font-weight: 650;
}
.public-utility .wrap {
  gap: var(--space-8);
}
.public-utility nav {
  gap: var(--space-6);
}
.public-utility nav:last-child {
  margin-left: auto;
  justify-content: flex-end;
}
.public-utility a,
.public-utility button {
  font-weight: 600 !important;
}
.public-products .wrap {
  gap: 0;
}
.public-products a,
.public-products button {
  font-weight: 600 !important;
}
.home-browser-frame {
  width: calc(100% - 48px);
  max-width: 1480px;
  margin: 18px auto 0;
}
.browser-chrome {
  height: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: grid;
  grid-template-columns: 10px 10px 10px minmax(260px, 1fr) auto;
  align-items: center;
  gap: var(--space-2);
  padding: 0 15px;
  color: var(--muted);
  font-size: 12px;
}
.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}
.browser-dot:first-child {
  background: var(--public-gold);
}
.browser-address {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: min(520px, 60vw);
  height: 27px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
}
.browser-address .icon {
  width: 14px;
  height: 14px;
  color: var(--forest-2);
}
.browser-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--forest-2);
}
.public-hero {
  padding-top: 0 !important;
  background: var(--white);
}
.public-hero > .wrap {
  border-radius: 0 !important;
  overflow: hidden;
}
.public-hero-copy {
  background: var(--green) !important;
}
.public-hero-copy:before,
.public-hero-copy:after,
.public-hero-image:before,
.public-hero-image:after {
  display: none !important;
}
.public-hero-image {
  background: var(--white);
  overflow: hidden;
}
.public-hero-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}
.public-hero .btn {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}
.public-hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--public-ink) 24%, transparent);
}
.public-hero .btn.gold {
  color: var(--green-dark);
  background: var(--accent);
}
.public-hero .hero-secondary {
  border: 1px solid var(--paper);
  background: transparent;
  color: var(--white);
}
.public-hero .hero-secondary:hover {
  background: var(--white);
  color: var(--green);
}
.quick-access .wrap > div {
  align-items: stretch;
}
.quick-access a {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  align-items: center !important;
  column-gap: var(--space-2);
}
.quick-access a > span {
  line-height: 1.35;
}
.quick-access a > .icon:last-child {
  justify-self: end;
}
@media (max-width: 1000px) {
  .home-browser-frame {
    display: none;
  }
  .public-utility .wrap {
    gap: var(--space-4);
  }
  .public-utility nav {
    gap: var(--space-4);
  }
}

/* The browser frame wraps the complete public site, not an individual banner. */
.site-browser-window {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--green) 8%, transparent);
  overflow: hidden;
}
.site-browser-window > .browser-chrome {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.site-browser-window .public-hero {
  padding: 0 !important;
}
.site-browser-window .public-hero > .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}
.site-browser-window .public-utility .wrap,
.site-browser-window .public-masthead .wrap,
.site-browser-window .public-products .wrap,
.site-browser-window .quick-access .wrap,
.site-browser-window .public-main > .public-section.wrap,
.site-browser-window .feature-band > .wrap,
.site-browser-window .digital-section > .wrap,
.site-browser-window .product-facts > .wrap,
.site-browser-window .institution-facts > .wrap,
.site-browser-window .bank-help > .wrap,
.site-browser-window .full-bank-footer > .wrap {
  max-width: 100%;
}
.site-browser-window .public-utility .wrap,
.site-browser-window .public-masthead .wrap,
.site-browser-window .public-products .wrap {
  padding-left: 44px;
  padding-right: 44px;
}
.site-browser-window .public-main > .public-section.wrap {
  padding-left: 44px;
  padding-right: 44px;
}
.site-browser-window .quick-access .wrap {
  padding-left: 44px;
  padding-right: 44px;
}
.site-browser-window .feature-band,
.site-browser-window .digital-section {
  padding-left: 44px;
  padding-right: 44px;
}
.site-browser-window .feature-band > .wrap,
.site-browser-window .digital-section > .wrap {
  padding-left: 0;
  padding-right: 0;
}
.site-browser-window .public-hero-copy {
  border-right: 0;
}
.site-browser-window .public-hero-image {
  border-left: 0;
}
@media (max-width: 1000px) {
  .site-browser-window {
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
  .site-browser-window > .browser-chrome {
    display: none;
  }
  .site-browser-window .public-utility .wrap,
  .site-browser-window .public-masthead .wrap,
  .site-browser-window .public-products .wrap,
  .site-browser-window .public-main > .public-section.wrap,
  .site-browser-window .quick-access .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
}
@media (max-width: 1000px) {
  .public-utility .wrap {
    overflow-x: auto;
    gap: var(--space-6);
  }
  .public-utility nav {
    flex-shrink: 0;
  }
  .public-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .public-section-heading h2 {
    font-size: 34px;
  }
}
@media (max-width: 560px) {
  .public-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .public-section-heading {
    margin-bottom: 25px;
  }
  .public-section-heading h2 {
    font-size: 30px;
  }
  .public-header-actions .btn.primary {
    min-width: 76px;
  }
  .public-products .wrap:after {
    content: "Scroll";
    display: flex;
    align-items: center;
    position: sticky;
    right: 0;
    padding: 0 12px;
    background: linear-gradient(90deg, transparent, var(--white) 35%);
    font-size: 10px;
    color: var(--muted);
    pointer-events: none;
  }
  .public-products a,
  .public-products button {
    font-size: 12px !important;
  }
  .public-main h1,
  .public-main h2,
  .public-main h3 {
    font-weight: 700;
  }
}

/* Hero stands alone: generous gap below before quick-access */
.site-browser-window .public-hero {
  margin-bottom: 48px;
}

/* Quick-access: generous padding, stands between hero and solutions */
.site-browser-window .quick-access {
  padding: 0 0 56px !important;
}
.site-browser-window .quick-access .wrap {
  padding: 0 !important;
}

/* Solutions section: massive top padding to separate from quick-access */
.site-browser-window .public-main > .public-section.wrap.wf-solutions {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  background: var(--white);
}

/* Feature band: generous gap above and below so it stands alone */
.feature-band {
  margin: 56px 0 !important;
}

/* Goal section: gap between feature-band and goals, and before digital */
.site-browser-window .public-main > .public-section.wrap:not(.wf-solutions) {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Digital section: generous gap above and below */
.digital-section {
  margin: 56px 0 !important;
}

/* Solution cards need space from the section above */
.site-browser-window .public-main > .public-section.wrap.wf-solutions {
  padding-top: 100px !important;
}
.wf-solutions .public-section-heading h2 {
  font-size: 44px !important;
  max-width: 800px;
  margin: 16px auto 0;
  text-align: center;
}
.wf-solutions .public-section-heading p:last-child {
  max-width: 600px;
  margin: 14px auto 0;
  text-align: center;
}
.wf-solutions .public-section-heading {
  text-align: center;
  max-width: 100% !important;
  margin-bottom: 48px;
}
.wf-solutions .public-section-heading .eyebrow {
  text-align: center;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: 0;
}
.solution-card {
  background: var(--white);
  border: 1px solid var(--mint) !important;
  border-radius: var(--radius-sm) !important;
  padding: 40px 32px 36px !important;
  min-height: 300px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease !important;
  overflow: hidden;
}
.solution-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  transform: none !important;
}
.solution-card .solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--green);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.solution-card .solution-icon .icon {
  width: 26px;
  height: 26px;
}
.solution-card h3 {
  font-size: 22px !important;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
  color: var(--ink);
}
.solution-card p {
  font-size: 15px !important;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}
.solution-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
}
.solution-card .card-link:hover {
  text-decoration: underline;
}
.solution-card .card-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.solution-card .card-link:hover .icon {
  transform: translateX(3px);
}
@media (max-width: 1100px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}
@media (max-width: 600px) {
  .solution-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .wf-solutions {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
  .solution-card {
    min-height: 220px !important;
    padding: 32px 28px !important;
  }
  .wf-solutions .public-section-heading h2 {
    font-size: 34px !important;
  }
}
.feature-band {
  background: var(--green);
  color: var(--white);
  padding: 120px 0;
}
.feature-band > .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.feature-copy {
  padding: 0 !important;
}
.feature-copy .eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}
.feature-copy h2 {
  font-size: 46px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}
.feature-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--line);
  margin-bottom: 32px;
  max-width: 480px;
}
.feature-copy .btn.primary {
  background: var(--accent);
  color: var(--green-dark);
  min-height: 48px;
  padding: 12px 28px;
  font-size: 14px;
}
.feature-copy .btn.primary:hover {
  background: var(--gold);
}
.card-fan {
  position: relative;
  height: 480px;
  perspective: 1200px;
}
.bank-card {
  position: absolute;
  width: 300px;
  height: 190px;
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  background: linear-gradient(135deg, var(--ink), var(--forest-2));
  color: var(--white);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.bank-card-one {
  top: 0;
  left: 5%;
  z-index: 3;
  transform: rotate(-4deg);
}
.bank-card-two {
  top: 130px;
  left: 24%;
  z-index: 2;
  transform: rotate(1deg);
}
.bank-card-three {
  top: 260px;
  left: 43%;
  z-index: 1;
  transform: rotate(5deg);
}
@media (max-width: 600px) {
  .feature-band {
    padding: 80px 0;
  }
  .feature-band > .wrap {
    gap: var(--space-8);
  }
  .feature-copy h2 {
    font-size: 36px;
  }
  .card-fan {
    height: 380px;
  }
  .bank-card {
    width: 250px;
    height: 160px;
  }
  .bank-card-one {
    top: 0;
    left: 2%;
  }
  .bank-card-two {
    top: 95px;
    left: 16%;
  }
  .bank-card-three {
    top: 190px;
    left: 30%;
  }
}
.digital-section {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 120px 0;
}
.digital-section > .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.phone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-device {
  position: relative;
  width: 300px;
  height: 600px;
  background: var(--black);
  border-radius: var(--radius-pill);
  padding: 14px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px var(--ink);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 30px;
  background: var(--black);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 52px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.phone-screen .phone-logo {
  color: var(--green);
  font-size: 20px;
  font-family: var(--serif);
  display: block;
  margin-bottom: 6px;
}
.phone-screen small {
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.phone-screen h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.phone-balance {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 10px;
}
.phone-balance small {
  font-size: 12px;
  color: var(--accent);
}
.phone-balance b {
  display: block;
  font-size: 28px;
  font-family: var(--serif);
  margin-top: 6px;
}
.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--mint);
  font-size: 13px;
  color: var(--ink);
}
.phone-row b {
  font-size: 15px;
  font-weight: 600;
}
.digital-copy .eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}
.digital-copy h2 {
  font-size: 46px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}
.digital-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--line);
  margin-bottom: 28px;
  max-width: 480px;
}
.digital-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: 36px;
}
.digital-points span {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 16px;
  color: var(--mint);
}
.digital-points .icon {
  width: 22px;
  height: 22px;
  color: var(--muted);
  flex-shrink: 0;
}
.digital-copy .btn {
  min-height: 48px;
  padding: 12px 28px;
  font-size: 14px;
}
@media (max-width: 767px) {
  .digital-section > .wrap {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .phone-mockup {
    margin-bottom: 30px;
  }
}
@media (max-width: 600px) {
  .digital-section {
    padding: 80px 0;
  }
  .phone-device {
    width: 260px;
    height: 520px;
  }
  .phone-screen {
    padding: 44px 18px 18px;
  }
  .phone-screen h3 {
    font-size: 18px;
  }
  .phone-balance b {
    font-size: 24px;
  }
  .digital-copy h2 {
    font-size: 36px;
  }
}
.full-bank-footer {
  background: var(--green-dark);
  color: var(--mint);
  padding: 56px 0 40px;
}
.footer-disclosures {
  color: var(--accent);
}
.footer-disclosures p {
  font-size: 12px;
  line-height: 1.5 !important;
  color: var(--accent);
}
.footer-final {
  border-top: 1px solid color-mix(in srgb, var(--white) 15%, transparent);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-final .footer-brand {
  font-family: var(--public-sans);
  font-size: 18px;
  color: var(--mint);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-final .footer-fdic {
  font-size: 11px;
  color: var(--accent);
}
.footer-legal-links {
  padding-bottom: 36px;
}
.footer-legal-links button {
  color: var(--line);
  font-size: 13px;
}
.footer-legal-links button:hover {
  color: var(--white);
}
.investment-warning {
  border-color: color-mix(in srgb, var(--white) 13%, transparent);
}
.investment-warning h2 {
  color: var(--mint);
  font-size: 14px;
}
.investment-warning li {
  color: var(--line);
  font-size: 13px;
}
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.goal-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  padding: 36px;
  background: var(--public-cream);
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  min-height: 200px;
}
.goal-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.goal-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--green);
  flex-shrink: 0;
}
.goal-card > span .icon {
  width: 26px;
  height: 26px;
}
.goal-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-bottom: 10px;
}
.goal-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 18px;
  color: var(--ink);
}
.goal-card b {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}
.goal-card b .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}
.goal-card:hover b .icon {
  transform: translateX(3px);
}
@media (max-width: 767px) {
  .goal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .goal-card:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .goal-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .goal-card:first-child {
    grid-column: auto;
  }
  .goal-card {
    padding: 28px;
    min-height: 160px;
  }
}

/* Public pages use a normal bank-site canvas. */
.public-site {
  background: var(--white);
  overflow: hidden;
}
.public-site .public-utility .wrap,
.public-site .public-masthead .wrap,
.public-site .public-products .wrap,
.public-site .quick-access .wrap,
.public-site .public-main > .public-section.wrap,
.public-site .feature-band > .wrap,
.public-site .digital-section > .wrap,
.public-site .product-facts > .wrap,
.public-site .institution-facts > .wrap,
.public-site .bank-help > .wrap,
.public-site .full-bank-footer > .wrap {
  max-width: 1360px;
}
.public-site .public-hero {
  margin: 0;
  padding: 0 !important;
  background: var(--green);
}
.public-site .public-hero > .wrap {
  width: 100%;
  max-width: 1360px;
  min-height: 520px;
  margin: auto;
  padding: 0 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.public-site .public-hero-copy {
  padding: 64px 58px 64px 0;
  background: transparent !important;
}
.public-site .public-hero-image {
  min-height: 100%;
}
.public-site .quick-access {
  padding: 0;
  background: var(--white);
}
.public-site .quick-access .wrap {
  padding: 0 44px;
}
.public-site .quick-access .wrap > div {
  border-inline: 1px solid var(--line);
  border-radius: 0;
}
.public-site .public-section {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}
.public-site .public-main > .public-section.wrap {
  padding-left: 44px;
  padding-right: 44px;
}
.public-site .public-main > .public-section.wrap.wf-solutions {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}
.public-site .wf-solutions .public-section-heading {
  max-width: 690px !important;
  margin: 0 0 34px;
  text-align: left;
}
.public-site .wf-solutions .public-section-heading .eyebrow,
.public-site .wf-solutions .public-section-heading h2,
.public-site .wf-solutions .public-section-heading p:last-child {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.public-site .wf-solutions .public-section-heading h2 {
  font-size: 38px !important;
}
.public-site .solution-grid {
  gap: var(--space-4);
}
.public-site .solution-card {
  min-height: 245px !important;
  padding: 30px !important;
  border-radius: var(--radius-md) !important;
}
.public-site .solution-card .solution-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}
.public-site .solution-card h3 {
  font-size: 20px !important;
  margin-bottom: 9px;
}
.public-site .solution-card p {
  font-size: 14px !important;
  line-height: 1.6;
  margin-bottom: 18px;
}
.public-site .feature-band,
.public-site .digital-section {
  margin: 0 !important;
  padding: 76px 44px;
}
.public-site .feature-band > .wrap,
.public-site .digital-section > .wrap {
  gap: var(--space-8);
}
.public-site .feature-copy h2,
.public-site .digital-copy h2 {
  font-size: 40px;
}
.public-site .card-fan {
  height: 380px;
}
.public-site .bank-card {
  width: 270px;
  height: 170px;
}
.public-site .bank-card-two {
  top: 102px;
}
.public-site .bank-card-three {
  top: 204px;
}
.public-site .goal-grid {
  gap: var(--space-4);
}
.public-site .goal-card {
  min-height: 185px;
  padding: 28px;
  gap: var(--space-4);
}
.public-site .full-bank-footer {
  margin: 0;
}
@media (max-width: 767px) {
  .public-site .public-hero > .wrap {
    padding: 0;
  }
  .public-site .public-hero-copy {
    padding: 52px 28px;
    background:
      linear-gradient(
        90deg,
        color-mix(in srgb, var(--green) 93%, transparent),
        color-mix(in srgb, var(--green) 52%, transparent)
      ),
      url("/images/hero.webp") center/cover !important;
  }
  .public-site .quick-access .wrap,
  .public-site .public-main > .public-section.wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .public-site .feature-band,
  .public-site .digital-section {
    padding-left: 28px;
    padding-right: 28px;
  }
  .public-site .feature-band > .wrap,
  .public-site .digital-section > .wrap {
    gap: var(--space-8);
  }
  .public-site .public-section,
  .public-site .public-main > .public-section.wrap.wf-solutions {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
}
@media (max-width: 560px) {
  .public-site .quick-access .wrap,
  .public-site .public-main > .public-section.wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .public-site .public-hero-copy {
    padding: 44px 20px;
  }
  .public-site .public-section,
  .public-site .public-main > .public-section.wrap.wf-solutions {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .public-site .wf-solutions .public-section-heading h2 {
    font-size: 30px !important;
  }
  .public-site .feature-band,
  .public-site .digital-section {
    padding: 60px 20px;
  }
  .public-site .feature-copy h2,
  .public-site .digital-copy h2 {
    font-size: 34px;
  }
  .public-site .solution-card {
    min-height: 0 !important;
    padding: 26px !important;
  }
}

/* Separate product card treatments keep the rewards collection readable. */
.public-site .bank-card {
  width: 288px;
  height: 182px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--white) 26%, transparent);
  border-radius: var(--radius-xl);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--public-ink) 40%, transparent);
  transform: none;
}
.public-site .bank-card:before {
  --chip-base: #d8bd72;
  --chip-line: #82692f;
  top: 59px;
  left: 24px;
  width: 45px;
  height: 33px;
  border-radius: var(--radius-sm);
  background-color: var(--chip-base);
  background-image:
    linear-gradient(
      90deg,
      transparent 47%,
      var(--chip-line) 48%,
      var(--chip-line) 51%,
      transparent 52%
    ),
    linear-gradient(
      0deg,
      transparent 47%,
      var(--chip-line) 48%,
      var(--chip-line) 51%,
      transparent 52%
    ),
    linear-gradient(
      90deg,
      transparent 22%,
      var(--chip-line) 23%,
      var(--chip-line) 25%,
      transparent 26% 74%,
      var(--chip-line) 75%,
      var(--chip-line) 77%,
      transparent 78%
    );
  box-shadow:
    inset 0 0 0 1px var(--chip-line),
    inset 0 1px 2px color-mix(in srgb, var(--white) 53%, transparent);
}
.public-site .bank-card:after {
  content: "";
  width: 115px;
  height: 115px;
  right: -42px;
  bottom: -50px;
  border: 20px solid color-mix(in srgb, var(--white) 7%, transparent);
  border-radius: var(--radius-pill);
  background: transparent;
}
.public-site .bank-card span {
  font-size: 14px;
  font-weight: 650;
}
.public-site .bank-card b {
  font-size: 8px;
  margin-top: 4px;
}
.public-site .bank-card em {
  font-size: 13px;
  letter-spacing: 2.5px;
}
.public-site .bank-card small {
  font-size: 7px;
  letter-spacing: 1.35px;
}
.public-site .bank-card-one {
  --chip-base: #e2c56f;
  --chip-line: #806425;
  top: 12px;
  left: 3%;
  z-index: 3;
  background:
    radial-gradient(circle at 88% 18%, rgba(73, 222, 205, .42), transparent 29%),
    linear-gradient(128deg, #071936 0%, #153f83 54%, #087f82 100%);
}
.public-site .bank-card-two {
  --chip-base: #d9dde4;
  --chip-line: #747d89;
  top: 100px;
  left: 25%;
  z-index: 2;
  background:
    linear-gradient(145deg, transparent 0 57%, rgba(255, 190, 201, .22) 58% 100%),
    radial-gradient(circle at 82% 22%, #b85b8c, transparent 35%),
    linear-gradient(130deg, #251343, #6c367f 58%, #963f66);
}
.public-site .bank-card-three {
  --chip-base: #c99073;
  --chip-line: #704633;
  top: 188px;
  left: 47%;
  z-index: 1;
  background:
    radial-gradient(circle at 88% 18%, rgba(210, 151, 90, .32), transparent 30%),
    linear-gradient(135deg, #11141a 0%, #363c47 58%, #66503f 100%);
}
.public-site .bank-card:hover {
  transform: translateY(-5px);
}
@media (max-width: 600px) {
  .public-site .bank-card {
    width: 245px;
    height: 154px;
    border-radius: var(--radius-lg);
  }
  .public-site .bank-card-one {
    top: 8px;
    left: 2%;
  }
  .public-site .bank-card-two {
    top: 84px;
    left: 16%;
  }
  .public-site .bank-card-three {
    top: 160px;
    left: 30%;
  }
}

/* Canonical public-site visual system: editorial layouts on the banking palette. */
.public-site {
  background: var(--public-cream);
  color: var(--public-ink);
}
.public-site .public-utility {
  background: var(--public-cream);
  border-bottom-color: var(--line);
  color: var(--ink-600);
}
.public-site .public-utility .active {
  color: var(--bank-blue-700);
  border-bottom-color: var(--bank-blue-700);
}
.public-site .public-masthead {
  border-bottom-color: var(--line);
}
.public-site .public-masthead .brand {
  transition: transform 0.2s ease;
}
.public-site .public-masthead .brand:hover {
  transform: translateY(-1px);
}
.public-site .public-products {
  border-top-color: var(--line);
  border-bottom-color: var(--line);
  box-shadow: none;
}
.public-site .public-products .active:after {
  background: var(--bank-blue-700);
}
.public-site .public-products a {
  transition:
    color 0.18s ease,
    background 0.18s ease;
}
.public-site .public-hero {
  position: relative;
  background: var(--bank-blue-700);
}
.public-site .public-hero:before {
  content: none;
}
.public-site .public-hero > .wrap {
  position: relative;
  z-index: 1;
}
.public-site .public-hero-copy {
  animation: public-rise 0.7s cubic-bezier(0.22, 0.8, 0.26, 1) both;
}
.public-site .public-hero-copy h1 {
  max-width: 630px;
  text-wrap: balance;
  text-shadow: none;
}
.public-site .public-hero-copy > p:not(.eyebrow) {
  color: #dce9ff;
}
.public-site .public-hero-image {
  clip-path: none;
  animation: public-reveal 0.85s cubic-bezier(0.22, 0.8, 0.26, 1) both;
}
.public-site .public-hero-image img {
  filter: saturate(0.9) contrast(1.05);
}
.public-site .hero-actions .btn {
  box-shadow: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.public-site .hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}
.public-site .hero-actions .btn.gold {
  border-color: var(--white);
  background: var(--white);
  color: var(--bank-blue-700);
}
.public-site .quick-access {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.public-site .quick-access .wrap {
  margin-top: -24px;
}
.public-site .quick-access .wrap > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.public-site .quick-access a {
  position: relative;
  overflow: hidden;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.public-site .quick-access a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--bank-blue-700);
  transform: scaleY(0);
  transition: transform 0.18s ease;
}
.public-site .quick-access a:hover {
  background: var(--paper);
  color: var(--bank-blue-700);
}
.public-site .quick-access a:hover:before {
  transform: scaleY(1);
}
.public-site .quick-access a > .icon:first-child {
  color: var(--muted);
}
.public-site .public-section {
  background: var(--public-cream);
}
.public-site .public-section-heading h2 {
  color: var(--public-ink);
  text-wrap: balance;
}
.public-site .public-section-heading .eyebrow {
  color: var(--muted);
}
.public-site .solution-card {
  position: relative;
  background: var(--white);
  border-color: var(--line) !important;
  box-shadow: none;
  overflow: hidden;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease !important;
}
.public-site .solution-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bank-blue-700);
  transform: scaleX(0.26);
  transform-origin: left;
  transition: transform 0.24s ease;
}
.public-site .solution-card:nth-child(2):before {
  background: var(--bank-blue-600);
}
.public-site .solution-card:nth-child(3):before {
  background: var(--bank-blue-700);
}
.public-site .solution-card:nth-child(4):before {
  background: var(--bank-blue-600);
}
.public-site .solution-card:hover {
  transform: translateY(-7px) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}
.public-site .solution-card:hover:before {
  transform: scaleX(1);
}
.public-site .solution-card .solution-icon {
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
  box-shadow: none;
}
.public-site .solution-card .card-link {
  color: var(--bank-blue-700);
}
.public-site .feature-band {
  position: relative;
  background: var(--bank-blue-700);
  isolation: isolate;
}
.public-site .feature-band:before {
  content: none;
}
.public-site .feature-copy,
.public-site .card-fan {
  position: relative;
  z-index: 1;
}
.public-site .feature-copy h2,
.public-site .digital-copy h2 {
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.public-site .feature-copy > p:not(.eyebrow),
.public-site .digital-copy > p,
.public-site .feature-copy .eyebrow,
.public-site .digital-copy .eyebrow {
  color: #dce9ff;
}
.public-site .card-fan {
  animation: public-rise 0.8s 0.12s cubic-bezier(0.22, 0.8, 0.26, 1) both;
}
.public-site .bank-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.public-site .bank-card-one {
  animation: card-float-one 6s ease-in-out infinite;
}
.public-site .bank-card-two {
  animation: card-float-two 6.6s 0.3s ease-in-out infinite;
}
.public-site .bank-card-three {
  animation: card-float-three 5.8s 0.6s ease-in-out infinite;
}
.public-site .bank-card:hover {
  animation-play-state: paused;
  box-shadow: 0 24px 40px color-mix(in srgb, var(--public-ink) 36%, transparent);
}
.public-site .goal-card {
  position: relative;
  background: var(--white);
  border-color: var(--line);
  box-shadow: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.public-site .goal-card:after {
  display: none;
}
.public-site .goal-card:nth-child(1) {
  background: var(--bank-blue-050);
}
.public-site .goal-card:nth-child(2) {
  background: var(--white);
}
.public-site .goal-card:nth-child(3) {
  background: var(--white);
}
.public-site .goal-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: none;
}
.public-site .goal-card > span {
  border: 0;
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.public-site .goal-card:nth-child(2) > span {
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.public-site .goal-card:nth-child(3) > span {
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.public-site .goal-card b {
  color: var(--bank-blue-700);
}
.public-site .digital-section {
  position: relative;
  background: #003a96;
}
.public-site .digital-section:after {
  content: none;
}
.public-site .phone-device {
  border-color: var(--public-ink);
  box-shadow:
    0 28px 70px color-mix(in srgb, var(--black) 53%, transparent),
    inset 0 0 0 2px var(--muted);
}
.public-site .phone-screen {
  background: var(--public-cream);
}
.public-site .digital-copy,
.public-site .phone-mockup {
  position: relative;
  z-index: 1;
}
.public-site .digital-points .icon {
  color: #dce9ff;
}
.public-site .bank-help {
  background: var(--bank-blue-050);
}
.public-site .bank-help button {
  transition: background 0.18s ease;
}
.public-site .bank-help button:hover {
  background: var(--public-cream);
}
.public-site .full-bank-footer {
  background: var(--ink-900);
}
.public-site .footer-legal-links button {
  transition: color 0.18s ease;
}
.public-site .institution-hero,
.public-site .service-hero,
.public-site .business-hero {
  box-shadow: inset 0 -1px color-mix(in srgb, var(--white) 11%, transparent);
}
.public-site .institution-grid .card,
.public-site .resource-grid .card,
.public-site .credit-product {
  box-shadow: none;
}
.public-site .institution-grid .card:hover,
.public-site .resource-grid .card:hover {
  border-color: var(--line);
  box-shadow: none;
}
.public-site .product-facts,
.public-site .institution-facts {
  box-shadow: none;
}

/* Dense settings labels and narrow-screen tables remain readable without guessing. */
.preferences-form .check-row {
  align-items: flex-start;
}
.preferences-form .check-row > span {
  display: grid;
  gap: var(--space-1);
  line-height: 1.35;
}
.preferences-form .check-row small {
  display: block;
}
.table-scroll-hint {
  display: none;
}
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }
  .table-scroll {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-scroll-hint {
    display: block;
    margin: 0;
    padding: 12px 16px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }
}
@keyframes public-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes public-reveal {
  from {
    opacity: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 12% 100%);
  }
  to {
    opacity: 1;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes card-float-one {
  50% {
    transform: translate(0, -8px) rotate(-1.2deg);
  }
}
@keyframes card-float-two {
  50% {
    transform: translate(5px, 5px) rotate(0.8deg);
  }
}
@keyframes card-float-three {
  50% {
    transform: translate(-4px, -5px) rotate(-0.7deg);
  }
}
@media (max-width: 767px) {
  .public-site .public-hero-image {
    clip-path: none;
  }
  .public-site .quick-access .wrap {
    margin-top: -16px;
  }
  .public-site .feature-band,
  .public-site .digital-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .public-site .goal-card:hover,
  .public-site .solution-card:hover {
    transform: translateY(-3px) !important;
  }
}
@media (max-width: 560px) {
  .public-site .quick-access .wrap {
    margin-top: 0;
  }
  .public-site .quick-access .wrap > div {
    border-radius: var(--radius-md);
  }
  .public-site .public-hero:before {
    background-size: 36px 36px;
  }
  .public-site .feature-band,
  .public-site .digital-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-site .public-hero-copy,
  .public-site .public-hero-image,
  .public-site .card-fan,
  .public-site .bank-card-one,
  .public-site .bank-card-two,
  .public-site .bank-card-three {
    animation: none;
  }
  .public-site .solution-card,
  .public-site .goal-card,
  .public-site .hero-actions .btn {
    transition: none;
  }
}

/* Four audience stories rotate through the homepage hero. */
.public-site .public-story-hero > .wrap {
  max-width: none;
  padding: 0;
  grid-template-columns: minmax(520px, 1fr) minmax(0, 1fr);
}
.public-site .public-story-hero .public-hero-copy {
  padding-left: max(44px, calc((100vw - 1360px) / 2));
  padding-right: 72px;
}
.public-story-hero .public-hero-copy > * {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.public-story-hero .public-hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.public-story-hero .public-hero-image img {
  transition:
    opacity 0.24s ease,
    transform 0.7s cubic-bezier(0.22, 0.8, 0.26, 1);
  transform: scale(1.001);
}
.public-story-hero.story-changing .public-hero-copy > * {
  opacity: 0;
  transform: translateY(7px);
}
.public-story-hero.story-changing .public-hero-image img {
  opacity: 0.12;
  transform: scale(1.025);
}
.public-story-hero .public-hero-image:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(
    transparent,
    color-mix(in srgb, var(--bank-blue-700) 79%, transparent)
  );
  pointer-events: none;
}
.hero-story-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: 30px;
}
.hero-story-controls > button {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid color-mix(in srgb, var(--white) 36%, transparent);
  border-radius: var(--radius-pill);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.hero-story-controls > button:first-child {
  transform: rotate(180deg);
}
.hero-story-controls > button:hover {
  background: color-mix(in srgb, var(--white) 9%, transparent);
  border-color: var(--white);
}
.hero-story-controls > button .icon {
  width: 16px;
}
.hero-story-dots {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-story-dots button {
  width: 28px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
}
.hero-story-dots span {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--white) 33%, transparent);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}
.hero-story-dots button[aria-current="true"] span {
  width: 28px;
  background: var(--white);
}
.public-story-hero figcaption {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 34px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  text-shadow: 0 2px 12px var(--black);
}
.public-story-hero figcaption strong {
  font-size: 20px;
}
.public-story-hero figcaption span {
  margin-top: 5px;
  font-size: 12px;
  color: var(--public-mint);
}
@media (max-width: 767px) {
  .public-site .public-story-hero > .wrap {
    grid-template-columns: 1fr;
  }
  .public-site .public-story-hero .public-hero-copy {
    min-height: 410px;
    padding: 52px 28px;
    background: linear-gradient(
      135deg,
      var(--bank-blue-700),
      var(--bank-blue-600)
    ) !important;
  }
  .public-site .public-story-hero .public-hero-image {
    display: block;
    min-height: 300px;
    height: 300px;
    clip-path: none;
  }
  .public-site .public-story-hero .public-hero-image img {
    position: absolute;
    object-position: center;
  }
  .public-story-hero figcaption {
    left: 28px;
    bottom: 24px;
  }
  .hero-story-controls {
    margin-top: 24px;
  }
}
@media (max-width: 560px) {
  .public-site .public-story-hero .public-hero-copy {
    min-height: 430px;
    padding: 44px 20px;
  }
  .public-site .public-story-hero .public-hero-image {
    height: 245px;
    min-height: 245px;
  }
  .public-story-hero figcaption {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }
  .public-story-hero figcaption strong {
    font-size: 17px;
  }
  .public-story-hero figcaption span {
    font-size: 11px;
  }
  .hero-story-controls {
    gap: var(--space-2);
  }
  .hero-story-controls > button {
    width: 34px;
    height: 34px;
  }
  .hero-story-dots button {
    width: 23px;
  }
  .hero-story-dots span {
    width: 15px;
  }
  .hero-story-dots button[aria-current="true"] span {
    width: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-story-hero .public-hero-copy > *,
  .public-story-hero .public-hero-image img,
  .hero-story-dots span {
    transition: none;
  }
}

/* Give supplied portraits enough vertical room; crop side detail rather than people. */
@media (min-width: 768px) {
  .public-site .public-story-hero > .wrap {
    min-height: 760px;
  }
  .public-story-hero .public-hero-image img {
    object-position: center;
  }
}

/* Mobile leads with the customer story, then gives a single clear next step. */
@media (max-width: 767px) {
  .public-site .public-story-hero {
    min-height: 580px;
  }
  .public-site .public-story-hero > .wrap {
    display: block;
    position: relative;
    min-height: 580px;
  }
  .public-site .public-story-hero .public-hero-image {
    position: absolute;
    inset: 0;
    display: block;
    min-height: 0;
    height: auto;
    clip-path: none;
  }
  .public-site .public-story-hero .public-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .public-site .public-story-hero .public-hero-copy {
    position: relative;
    z-index: 2;
    min-height: 580px;
    padding: 150px 28px 28px;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bank-blue-700) 3%, transparent) 0%,
      color-mix(in srgb, var(--bank-blue-700) 35%, transparent) 30%,
      color-mix(in srgb, var(--bank-blue-700) 91%, transparent) 58%,
      var(--bank-blue-700) 100%
    ) !important;
    justify-content: flex-end;
  }
  .public-site .public-story-hero .public-hero-copy h1 {
    font-size: clamp(36px, 9vw, 46px);
    line-height: 1.04;
    text-shadow: 0 2px 18px var(--public-ink);
  }
  .public-site .public-story-hero .public-hero-copy > p:not(.eyebrow) {
    max-width: 430px;
    text-shadow: 0 1px 10px var(--public-ink);
  }
  .public-site .public-story-hero .hero-secondary,
  .public-story-hero figcaption {
    display: none;
  }
  .public-site .public-story-hero .hero-actions {
    margin-top: 22px;
  }
  .public-site .public-story-hero .hero-story-controls {
    margin-top: 18px;
  }
}
@media (max-width: 560px) {
  .public-site .public-story-hero,
  .public-site .public-story-hero > .wrap {
    min-height: 540px;
  }
  .public-site .public-story-hero .public-hero-copy {
    min-height: 540px;
    padding: 130px 20px 24px;
  }
}

/* Sign-in uses the homecoming image as a full, undistorted backdrop. */
.auth-main:has(.auth-login-layout) {
  min-height: 0;
  background: var(--bank-blue-700);
}
.auth-login-layout {
  position: relative;
  display: block;
  max-width: none;
  min-height: calc(100svh - 86px);
  overflow: hidden;
  background: var(--bank-blue-700);
}
.auth-login-layout .auth-hero {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  background: var(--bank-blue-700);
}
.auth-login-layout .auth-hero img {
  object-position: center;
  filter: saturate(0.88) contrast(1.04);
}
.auth-login-layout .auth-hero:after {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--bank-blue-700) 95%, transparent) 0%,
    color-mix(in srgb, var(--bank-blue-700) 78%, transparent) 34%,
    color-mix(in srgb, var(--bank-blue-700) 27%, transparent) 61%,
    color-mix(in srgb, var(--bank-blue-700) 9%, transparent) 100%
  );
}
.auth-login-layout .hero-caption {
  right: auto;
  left: max(50%, calc((100% - 1240px) / 2 + 500px));
  bottom: 54px;
  max-width: 390px;
}
.auth-login-layout .auth-form-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 86px);
  padding: 54px max(44px, calc((100vw - 1240px) / 2));
}
.auth-login-layout .auth-form-wrap > div {
  width: min(100%, 440px);
  max-width: 440px;
  padding: 42px;
  background: color-mix(in srgb, var(--white) 96%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 66%, transparent);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--public-ink) 45%, transparent);
}
.auth-login-layout .auth-form-wrap h1 {
  font-size: 38px;
}
.auth-login-layout .auth-form-wrap .intro {
  font-size: 14px;
}
.auth-login-layout .auth-security {
  padding-top: 3px;
}
@media (max-width: 767px) {
  .auth-main:has(.auth-login-layout),
  .auth-login-layout,
  .auth-login-layout .auth-form-wrap {
    min-height: calc(100svh - 76px);
  }
  .auth-login-layout .auth-form-wrap {
    padding: 42px 28px;
  }
  .auth-login-layout .hero-caption {
    display: none;
  }
  .auth-login-layout .auth-hero:after {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bank-blue-700) 50%, transparent),
      color-mix(in srgb, var(--bank-blue-700) 91%, transparent)
    );
  }
  .auth-login-layout .auth-form-wrap > div {
    margin: auto;
  }
}
@media (max-width: 560px) {
  .auth-login-layout .auth-form-wrap {
    padding: 28px 20px;
  }
  .auth-login-layout .auth-form-wrap > div {
    padding: 30px 25px;
    border-radius: var(--radius-lg);
  }
  .auth-login-layout .auth-form-wrap h1 {
    font-size: 33px;
  }
}

/* The public navigation belongs over the sign-in image, not in a white strip. */
body:has(.auth-login-layout) .masthead {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bank-blue-700) 76%, transparent),
    transparent
  );
  border-bottom: 1px solid color-mix(in srgb, var(--white) 17%, transparent);
}
body:has(.auth-login-layout) .masthead .brand-name,
body:has(.auth-login-layout) .masthead .header-links a,
body:has(.auth-login-layout) .masthead .header-links button {
  color: var(--white);
}
body:has(.auth-login-layout) .masthead .header-links button {
  background: transparent;
}
body:has(.auth-login-layout) .masthead .btn.secondary {
  background: color-mix(in srgb, var(--white) 94%, transparent);
  border-color: var(--white);
  color: var(--bank-blue-700);
}
body:has(.auth-login-layout) > .text-resize-controls {
  display: none;
}

.public-site .solution-card .card-link {
  color: var(--bank-blue-700);
}

/* Product comparison cards use contained visuals, not the homepage card fan. */
#cards-list .credit-product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
}
#cards-list .credit-product .bank-card {
  position: relative;
  inset: auto;
  z-index: auto;
  align-self: center;
  width: min(100%, 288px);
  height: 182px;
  margin: 0 auto 26px;
  transform: none;
}
#cards-list .credit-product h3 {
  margin: 0 0 10px;
}
#cards-list .credit-product > p {
  margin: 0 0 5px;
}
#cards-list .credit-product > small {
  display: block;
  margin-bottom: 18px;
}
#cards-list .credit-product > .btn {
  width: 100%;
  margin-top: auto;
}
#cards-list .credit-product > .text-btn {
  align-self: center;
  margin-top: 15px;
  color: var(--bank-blue-700);
}
@media (max-width: 560px) {
  #cards-list .credit-product .bank-card {
    width: min(100%, 288px);
    height: 182px;
    margin-bottom: 22px;
  }
}

/* Premium online banking system */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--green-dark) 7%, transparent);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--forest) 9%, transparent);
}
.btn:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--forest) 9%, transparent);
}
.btn.primary {
  background: var(--bank-blue-700);
  color: var(--white);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--green) 14%, transparent);
}
.btn.primary:hover {
  background: #003a96;
}
.btn.secondary {
  border-color: var(--line-200);
  background: var(--white);
  color: var(--bank-blue-700);
}
.btn.secondary:hover {
  border-color: var(--muted);
  background: var(--public-cream);
}
.btn.gold {
  background: var(--bank-blue-700);
  border-color: var(--bank-blue-700);
  color: var(--white);
  box-shadow: none;
}
.btn.light {
  background: var(--mint);
  color: var(--green);
}
.btn.block {
  width: 100%;
  min-height: 48px;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn.danger,
.btn.secondary.danger {
  background: var(--public-cream);
  border-color: var(--accent);
  color: var(--danger);
}
.btn.danger:hover,
.btn.secondary.danger:hover {
  background: var(--surface-warm);
  border-color: var(--gold-dark);
}
.btn.success {
  background: var(--forest-2);
  color: var(--white);
}
.btn.processing {
  color: transparent !important;
  cursor: progress;
}
.btn.processing::after {
  width: 19px;
  height: 19px;
  border-width: 2px;
}
.btn.secondary.processing::after,
.btn.gold.processing::after {
  border-color: var(--green);
  border-top-color: transparent;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 8px 4px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.text-btn:hover {
  background: var(--mint);
  text-decoration: none;
}
.text-btn .icon {
  width: 15px;
  height: 15px;
}
.payment-choice {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--green) 4%, transparent);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.payment-choice:after {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-pill);
  background: currentColor;
  opacity: 0.035;
}
.payment-choice:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-premium);
}
.payment-choice-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--mint);
  color: var(--forest-2);
  margin-bottom: 20px;
}
.payment-choice-icon .icon {
  width: 25px;
  height: 25px;
}
.payment-choice-transfer .payment-choice-icon {
  background: var(--mint);
  color: var(--forest-2);
}
.payment-choice-bill .payment-choice-icon {
  background: var(--line);
  color: var(--amber);
}
.payment-choice-landmark .payment-choice-icon {
  background: var(--mint);
  color: var(--blue);
}
.payment-choice-wallet .payment-choice-icon {
  background: var(--mint);
  color: var(--muted);
}
.payment-choice-phone .payment-choice-icon {
  background: var(--mint);
  color: var(--blue);
}
.payment-choice-incoming .payment-choice-icon {
  background: var(--mint);
  color: var(--muted);
}
.payment-history-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: 24px;
  padding: 24px 28px;
}
.payment-history-callout > div {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.payment-history-callout .payment-choice-icon {
  margin: 0;
  flex: 0 0 auto;
}
.payment-history-callout p {
  color: var(--muted);
  margin-top: 4px;
}
.dashboard-loading {
  display: grid;
  gap: var(--space-4);
  padding: 10px 0 60px;
}
.dashboard-hero-skeleton {
  height: 310px;
  border-radius: var(--radius-xl);
}
.dashboard-loading-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-4);
}
.dashboard-loading-grid .skeleton-card {
  height: 230px;
}
@media (max-width: 700px) {
  .payment-history-callout {
    display: grid;
  }
  .payment-history-callout > .btn {
    width: 100%;
  }
}
@media (max-width: 430px) {
  .payment-choice {
    padding: 22px;
  }
  .payment-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .payment-choice,
  .btn {
    transition: none;
  }
}

/* Deposit account details */
.account-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: var(--space-6);
  margin-bottom: 22px;
  align-items: stretch;
}
.account-summary-grid > .card {
  height: 100%;
  margin: 0;
  border-radius: var(--radius-xl);
}
.account-summary-grid .balance-hero {
  padding: 28px;
  background:
    radial-gradient(
      circle at 92% 8%,
      color-mix(in srgb, var(--muted) 33%, transparent),
      transparent 32%
    ),
    linear-gradient(135deg, var(--forest), var(--forest-2));
  color: var(--white);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--green) 15%, transparent);
}
.account-summary-grid .balance-hero::after {
  content: "FNB";
  right: -16px;
  top: auto;
  bottom: -30px;
  font: 700 96px/1 var(--serif);
  letter-spacing: -7px;
}
.account-summary-grid .balance-hero > .eyebrow {
  color: var(--line);
}
.account-summary-grid .balance-hero > h2 {
  font-size: clamp(34px, 3vw, 48px);
  color: var(--white);
  margin: 5px 0 18px;
}
.account-summary-grid .balance-hero .form-actions {
  position: relative;
  z-index: 1;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
}
.account-summary-grid .balance-hero .details-list {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.account-summary-grid .balance-hero .details-list > div {
  border-color: color-mix(in srgb, var(--white) 14%, transparent);
}
.account-summary-grid .balance-hero dt {
  color: var(--line);
}
.account-summary-grid .balance-hero dd {
  color: var(--white);
}
.account-summary-grid .balance-hero input {
  background: var(--white);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--white) 33%, transparent);
}
.account-summary-grid .balance-hero .btn.secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
}
.account-summary-grid > .form-card {
  padding: 28px;
}
.account-summary-grid > .form-card .details-list {
  margin-top: 8px;
}
.contrast-toggle {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}
.mobile-banking-nav {
  display: none;
}
body.high-contrast .account-summary-grid .balance-hero {
  background: var(--white);
  color: var(--black);
  box-shadow: none;
  border: 3px solid var(--black);
}
body.high-contrast .account-summary-grid .balance-hero > .eyebrow,
body.high-contrast .account-summary-grid .balance-hero > h2,
body.high-contrast .account-summary-grid .balance-hero dt,
body.high-contrast .account-summary-grid .balance-hero dd {
  color: var(--black);
}
body.high-contrast .account-summary-grid .balance-hero .form-actions,
body.high-contrast .account-summary-grid .balance-hero .details-list > div {
  border-color: var(--black);
}
body.high-contrast .contrast-toggle {
  background: var(--black);
  color: var(--white);
}
@media (max-width: 767px) {
  .account-summary-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .account-summary-grid .balance-hero,
  .account-summary-grid > .form-card {
    padding: 22px 18px;
  }
  .masthead .contrast-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  body:has(.mobile-banking-nav) {
    background: var(--surface-warm);
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    font-family: var(--sans);
    font-weight: 400;
    letter-spacing: -0.012em;
  }
  body:has(.mobile-banking-nav) h1,
  body:has(.mobile-banking-nav) h2,
  body:has(.mobile-banking-nav) h3,
  body:has(.mobile-banking-nav) button,
  body:has(.mobile-banking-nav) input,
  body:has(.mobile-banking-nav) select,
  body:has(.mobile-banking-nav) textarea {
    font-family: var(--sans);
  }
  body:has(.mobile-banking-nav) .masthead {
    position: sticky;
    z-index: 90;
    top: 0;
    height: 74px;
    background: var(--line);
    border: 0;
  }
  body:has(.mobile-banking-nav) .masthead .header-user {
    width: auto;
    margin-left: auto;
    gap: var(--space-3);
  }
  body:has(.mobile-banking-nav) .notification-bell {
    color: var(--ink);
  }
  body:has(.mobile-banking-nav) .main {
    padding-top: 0;
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
  body:has(.mobile-banking-nav) .breadcrumb,
  body:has(.mobile-banking-nav) .bank-help,
  body:has(.mobile-banking-nav) .full-bank-footer {
    display: none;
  }
  .mobile-banking-nav {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 72px;
    padding: 7px 5px calc(6px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 25px
      color-mix(in srgb, var(--public-ink) 4%, transparent);
  }
  .mobile-banking-nav a,
  .mobile-banking-nav button {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: 3px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 650;
    text-align: center;
  }
  .mobile-banking-nav .icon {
    width: 25px;
    height: 25px;
  }
  .mobile-banking-nav .active {
    color: var(--forest-2);
    background: var(--mint);
    border-radius: var(--radius-lg);
  }
  .mobile-banking-nav .active .icon {
    stroke-width: 2.2;
  }
}

/* Canonical responsive shell
   Keep public and signed-in mobile behavior here so earlier component rules do
   not compete over navigation, touch sizing, or horizontal overflow. */
.public-menu-button {
  display: none;
}

@media (max-width: 1000px) {
  .public-utility {
    display: none;
  }
  .public-masthead > .wrap,
  .public-products > .wrap {
    width: 100%;
    max-width: none;
  }
  .public-products {
    height: auto;
    min-height: 53px;
    overflow: visible;
  }
  .public-products .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding: 4px 18px;
    scrollbar-width: none;
  }
  .public-products .wrap::-webkit-scrollbar {
    display: none;
  }
  .public-products a,
  .public-products button {
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
  .public-products .wrap:after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* One compact, deliberate mobile header for marketing and sign-in views. */
  .public-masthead,
  .masthead:not(.authenticated-masthead) {
    height: 72px;
  }
  .public-masthead > .wrap,
  .masthead:not(.authenticated-masthead) > .wrap {
    width: 100%;
    max-width: none;
    padding: 0 16px;
    gap: var(--space-2);
  }
  .public-masthead .brand,
  .masthead:not(.authenticated-masthead) .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: var(--space-2);
    overflow: hidden;
  }
  .public-masthead .brand-mark,
  .masthead:not(.authenticated-masthead) .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
  .public-masthead .brand-name,
  .masthead:not(.authenticated-masthead) .brand-name {
    min-width: 0;
    overflow: hidden;
    color: var(--forest);
    font-size: clamp(15px, 4.5vw, 18px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .public-header-actions,
  .masthead:not(.authenticated-masthead) .header-user {
    flex: 0 0 auto;
    gap: var(--space-1);
    margin: 0;
  }
  .public-menu-button {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: 4px 6px;
    border-radius: var(--radius-md);
    color: var(--bank-blue-700);
    font-size: 9px;
    font-weight: 700;
  }
  .public-menu-button .icon {
    width: 21px;
    height: 21px;
  }
  .public-header-actions .search-button,
  .public-header-actions .account-opening-action,
  .masthead:not(.authenticated-masthead) .header-links,
  .masthead:not(.authenticated-masthead) .header-user > .secondary {
    display: none !important;
  }
  .public-header-actions .btn.primary,
  .masthead:not(.authenticated-masthead) .header-user > .primary {
    min-width: 88px;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
  }

  /* Products become a menu, not a horizontally scrolling desktop bar. */
  .public-products {
    display: none;
    height: auto;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px
      color-mix(in srgb, var(--green-dark) 11%, transparent);
  }
  .public-products.open {
    display: block;
  }
  .public-products .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
    padding: 10px 16px 14px !important;
  }
  .public-products a,
  .public-products button {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 10px 12px !important;
    border-radius: var(--radius-md);
    white-space: normal;
  }
  .public-products .active:after {
    left: 12px !important;
    right: 12px !important;
  }

  /* Preserve the photography while guaranteeing readable hero copy. */
  .public-site .public-story-hero,
  .public-site .public-story-hero > .wrap {
    min-height: 590px;
  }
  .public-site .public-story-hero .public-hero-image {
    height: 590px;
    min-height: 590px;
  }
  .public-site .public-story-hero .public-hero-image img {
    filter: saturate(0.92) contrast(1.04) !important;
  }
  .public-site .public-story-hero .public-hero-copy {
    min-height: 590px;
    padding: 210px 20px 28px;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bank-blue-700) 7%, transparent) 0%,
      color-mix(in srgb, var(--bank-blue-700) 32%, transparent) 29%,
      color-mix(in srgb, var(--bank-blue-700) 91%, transparent) 57%,
      var(--bank-blue-700) 100%
    ) !important;
  }
  .public-site .public-story-hero .public-hero-copy h1,
  .public-site .public-story-hero .public-hero-copy > p,
  .public-site .public-story-hero .public-hero-copy .eyebrow {
    opacity: 1;
    color: var(--white);
    text-shadow: 0 2px 16px var(--black);
  }
  .public-site .public-story-hero .public-hero-copy .eyebrow {
    color: #dce9ff;
  }
  .public-site .public-story-hero .public-hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
  }
  .public-site .public-story-hero .hero-actions {
    width: 100%;
  }
  .public-site .public-story-hero .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  /* WCAG-sized interaction areas throughout public pages. */
  .public-site a,
  .public-site button,
  .bank-help button,
  .full-bank-footer button {
    min-height: 44px;
  }
  .hero-story-controls > button {
    width: 44px;
    height: 44px;
  }
  .hero-story-dots button {
    width: 44px;
    height: 44px;
  }
  .solution-card a {
    display: flex;
    align-items: center;
    width: max-content;
    min-height: 44px;
    padding-top: 10px;
  }
  .footer-legal-links button {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 10px 0;
    text-align: left;
  }

  /* Sign-in remains fully contained at phone widths. */
  body:has(.auth-login-layout) .masthead > .wrap {
    width: 100%;
    padding: 0 16px;
  }
  body:has(.auth-login-layout) .masthead .brand-name {
    color: var(--white);
  }
  .auth-login-layout,
  .auth-login-layout .auth-form-wrap {
    width: 100%;
    max-width: 100%;
  }
  .auth-login-layout .auth-form-wrap {
    padding: 92px 16px 28px;
  }
  .auth-login-layout .auth-form-wrap > div {
    width: 100%;
    max-width: 430px;
    padding: 28px 22px;
  }

  /* Signed-in mobile uses the same white/forest/gold identity. */
  body:has(.mobile-banking-nav) .masthead {
    height: 68px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--forest) 4%, transparent);
  }
  body:has(.mobile-banking-nav) .masthead > .wrap {
    width: 100%;
    padding: 0 16px;
  }
  body:has(.mobile-banking-nav) .masthead .brand {
    display: inline-flex;
  }
  body:has(.mobile-banking-nav) .masthead .brand-name {
    display: none;
  }
  body:has(.mobile-banking-nav) .masthead .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  body:has(.mobile-banking-nav) .masthead .header-user {
    gap: var(--space-2);
  }
  /* Keep the mobile header focused on status; account actions live in Menu. */
  body:has(.mobile-banking-nav) .masthead .header-user > .text-btn {
    display: none !important;
  }
  .mobile-banking-nav {
    border-color: var(--line);
    box-shadow: 0 -8px 24px color-mix(in srgb, var(--forest) 7%, transparent);
  }
  .mobile-banking-nav .active {
    color: var(--forest-2);
    background: var(--mint);
  }

  .mobile-banking-nav .active {
    color: var(--ink);
    background: var(--mint);
  }

  .notification-badge {
    top: 8px;
    right: 10px;
  }
}

@media (max-width: 380px) {
  .public-masthead .brand-name,
  .masthead:not(.authenticated-masthead) .brand-name {
    font-size: 15px;
  }
  .public-header-actions .btn.primary,
  .masthead:not(.authenticated-masthead) .header-user > .primary {
    min-width: 82px;
    padding-left: 9px;
    padding-right: 9px;
  }
}

/* Phase 6 financial visualizations */
.spending-card {
  padding: var(--space-6);
}
.spending-category-layout,
.investment-allocation {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  align-items: center;
  gap: var(--space-6);
}
.spending-category-layout .chart-wrap,
.investment-allocation .chart-wrap {
  height: 240px;
}
.spending-category-layout ul,
.investment-allocation ul,
.investment-activity {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.spending-category-layout li,
.investment-allocation li,
.investment-activity li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.investment-summary {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.4fr);
  align-items: end;
  gap: var(--space-6);
  padding: 30px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--forest-2));
}
.investment-summary h2 {
  margin: 6px 0;
  color: var(--white);
  font-size: clamp(38px, 5vw, 64px);
}
.investment-summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.investment-summary dl div {
  padding: 10px 18px;
  border-left: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
}
.investment-summary dt {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.investment-summary dd {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 750;
}
.market-data-status {
  margin: var(--space-4) 0 var(--space-6);
  padding: 12px 16px;
  border-left: 4px solid var(--forest-2);
  background: var(--mint);
}
.market-data-status.warning {
  border-left-color: var(--gold);
  background: var(--surface-warm);
}
.investment-chart-card,
.investment-holdings {
  margin-bottom: var(--space-6);
  padding: var(--space-6);
}
.investment-chart-card > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.investment-chart-card .chart-wrap,
.forecast-chart {
  height: 320px;
}
.investment-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.investment-ranges [aria-pressed="true"] {
  color: var(--white);
  background: var(--forest-2);
}
.investment-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.investment-detail-grid > .card {
  height: fit-content;
  padding: var(--space-6);
}
/* A complete activity feed is naturally much taller than allocation. On wide
   screens, stack them instead of leaving an empty second half of the page. */
@media (min-width: 1101px) {
  .investment-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.investment-activity span {
  display: grid;
}
.investment-activity small,
.investment-holdings th small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 400;
}
.investment-holdings th,
.investment-holdings td {
  white-space: nowrap;
}
.investment-holdings tbody th {
  white-space: normal;
}

.positive {
  color: var(--positive);
}
.negative {
  color: var(--negative);
}

.market-terminal {
  margin-bottom: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #0b0f14 0%, #121a24 55%, #0d131b 100%);
  color: #d7e0ec;
  border: 1px solid #1c2333;
}
.market-terminal .muted,
.market-terminal .eyebrow {
  color: #8b9bb4;
}
.market-terminal-header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}
.market-terminal-header h2 {
  margin: 0 0 4px;
  color: #f2f6fb;
}
.market-terminal-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.market-session-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #2a3648;
  background: #121a24;
  color: #d7e0ec;
  font-size: 0.82rem;
  font-weight: 600;
}
.market-session-badge[data-state="REGULAR"] {
  border-color: #1d6b52;
  color: #7ddec2;
  background: rgba(38, 166, 154, 0.12);
}
.market-session-badge[data-state="PRE"],
.market-session-badge[data-state="POST"] {
  border-color: #6b5a1d;
  color: #f0d48a;
  background: rgba(240, 180, 41, 0.1);
}
.market-exchange-clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: #b7c5d8;
}
.market-terminal-status,
.market-terminal-refresh {
  margin: 0 0 var(--space-3);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #6b2f2f;
  background: rgba(179, 38, 30, 0.12);
  color: #ffb4ab;
}
.market-symbol-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-3);
}
.market-symbol-tabs .btn {
  min-width: 64px;
}
.authenticated-main .market-symbol-tabs .btn.secondary[aria-pressed="true"],
.authenticated-main .market-symbol-tabs .btn.secondary[aria-pressed="true"]:hover {
  background: #064bb8;
  border-color: #4d91f2;
  color: #fff;
}
.market-tape {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 0 var(--space-4);
  padding: 0 0 4px;
  list-style: none;
  scrollbar-width: thin;
}
.market-tape li {
  display: grid;
  gap: 2px;
  min-width: 148px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #1c2333;
  background: rgba(13, 19, 27, 0.92);
  font-size: 0.92rem;
}
.market-tape li strong {
  color: #f2f6fb;
  letter-spacing: 0.03em;
}
.market-tape .positive {
  color: #7ddec2;
}
.market-tape .negative {
  color: #ffb4ab;
}
.market-terminal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
.market-terminal-quote {
  padding: var(--space-4);
  border-radius: 14px;
  border: 1px solid #1c2333;
  background: rgba(13, 19, 27, 0.88);
}
.market-terminal-quote h3 {
  margin: 4px 0 8px;
  color: #f2f6fb;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.market-terminal-quote dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: var(--space-4) 0;
}
.market-terminal-quote dt {
  color: #8b9bb4;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.market-terminal-quote dd {
  margin: 2px 0 0;
  color: #e7eef7;
  font-weight: 600;
}
.market-terminal-asof {
  margin: 0;
  font-size: 0.86rem;
}
.market-terminal-chart-wrap {
  min-width: 0;
  width: 100%;
  min-height: 500px;
  border-radius: 14px;
  border: 1px solid #1c2333;
  overflow: hidden;
  background: #0b0f14;
}
.market-terminal-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 500px;
}
.price-flash-up {
  animation: market-price-up 700ms ease;
}
.price-flash-down {
  animation: market-price-down 700ms ease;
}
@keyframes market-price-up {
  0% { background-color: rgba(38, 166, 154, 0.28); }
  100% { background-color: transparent; }
}
@keyframes market-price-down {
  0% { background-color: rgba(239, 83, 80, 0.28); }
  100% { background-color: transparent; }
}

@media (max-width: 767px) {
  .spending-card,
  .investment-chart-card,
  .investment-holdings,
  .investment-detail-grid > .card {
    padding: 18px;
  }
  .market-terminal {
    padding: 12px;
  }
  .investment-workspace { padding:12px; }
  .investment-workspace .market-terminal { margin-left:-8px; margin-right:-8px; }
  .market-terminal-quote { padding:12px; }
  .market-tape {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .market-tape li {
    min-width: 0;
    padding: 10px 8px;
    overflow-wrap: anywhere;
  }
  .market-terminal-header {
    flex-direction: column;
  }
  .market-terminal-meta {
    align-items: flex-start;
  }
  .market-terminal-body {
    grid-template-columns: 1fr;
  }
  .market-terminal-quote dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-terminal-chart-wrap,
  .market-terminal-chart-wrap canvas {
    min-height: 520px;
    height: 520px;
  }
  .spending-category-layout,
  .investment-allocation,
  .investment-summary,
  .investment-detail-grid {
    grid-template-columns: 1fr;
  }
  .investment-summary {
    padding: 22px 18px;
  }
  .investment-summary dl {
    grid-template-columns: 1fr;
  }
  .investment-summary dl div {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  }
  .investment-chart-card > header {
    align-items: stretch;
    flex-direction: column;
  }
  .investment-ranges .btn {
    flex: 1 1 52px;
    min-width: 0;
    padding-inline: 8px;
  }
  .investment-chart-card .chart-wrap,
  .forecast-chart {
    height: 250px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .investment-summary {
    grid-template-columns: 1fr;
  }
  .investment-summary dl div:first-child {
    border-left: 0;
  }
}

/* Live chat widget (Phase 4) */
.chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 13px 19px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  min-height: 44px;
}
.chat-launcher[hidden] {
  display: none !important;
}
.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  padding: 16px;
  z-index: 71;
}
.chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.chat-panel-head h2 {
  font-size: 19px;
}
.chat-log {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 140px;
  max-height: 300px;
  padding-right: 4px;
}
.chat-message {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  font-size: 13px;
  word-break: break-word;
}
.chat-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.typing-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.typing-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: chat-dot 1.2s infinite ease-in-out;
}
.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes chat-dot {
  0%,
  70%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing-dots i {
    animation: none;
    opacity: 0.55;
    transform: none;
  }
}
.chat-form textarea {
  height: 72px;
}
.chat-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: 8px;
}
.chat-actions .btn {
  flex: 1;
}
.chat-actions .btn.secondary {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.chat-disclaimer {
  font-size: 11px;
  line-height: 1.4;
}
.attachment-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.attachment-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 7px 10px;
  font-size: 12px;
}
.attachment-list li span {
  font-weight: 600;
}
.attachment-list li small {
  color: var(--muted);
}
.document-list {
  margin-top: 8px;
}
.document-list ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.document-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 13px;
}
.document-list li small {
  display: block;
  color: var(--muted);
}
.claim-progress {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: 8px 0 0;
  padding: 0;
}
.claim-progress li {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  color: var(--muted);
  background: var(--white);
}
.claim-progress li.done {
  background: var(--mint);
  border-color: var(--accent);
  color: var(--green);
}
.claim-progress li.current {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 600;
}
@media (max-width: 767px) {
  .chat-panel {
    right: 8px;
    left: 8px;
    bottom: 76px;
    width: auto;
  }
  .chat-launcher {
    bottom: 76px;
    right: 12px;
  }
}

@media (max-width: 767px) {
  .public-site .product-hero > .wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 38px 20px;
  }
  .public-site .product-hero > .wrap > div {
    width: 100%;
    min-width: 0;
  }
  .public-site .product-hero h1,
  .public-site .product-hero p:not(.eyebrow),
  .public-site .product-hero .hero-actions {
    width: 100%;
    max-width: 100%;
  }
  .public-site .product-hero h1,
  .public-site .product-hero p:not(.eyebrow) {
    overflow-wrap: anywhere;
  }
  .public-site .product-hero .hero-actions > * {
    max-width: 100%;
  }
}

/* Canonical authenticated banking system: mobile-first blue account experience. */
body:has(.public-site),
body:has(.auth-main) {
  background: var(--canvas);
  color: var(--ink-900);
  font-family: var(--sans);
}
body:has(.public-site) h1,
body:has(.public-site) h2,
body:has(.public-site) h3,
body:has(.auth-main) h1,
body:has(.auth-main) h2,
body:has(.auth-main) h3 {
  font-family: var(--sans);
  letter-spacing: -0.025em;
}
body:has(.auth-main) .signup-card {
  border: 1px solid var(--line-200);
  background: var(--surface);
  box-shadow: none;
}
body:has(.auth-main) .signup-prompt a,
body:has(.auth-main) .text-btn {
  color: var(--bank-blue-700);
}
body:has(.auth-main) .masthead .brand-name {
  font-family: var(--sans);
}
body:has(.auth-main) .full-bank-footer {
  background: var(--ink-900);
}
.public-site .investment-warning,
body:has(.auth-main) .investment-warning {
  border-color: #5f636b;
  background: #24272d;
  color: var(--white);
}
.public-site .investment-warning h2,
.public-site .investment-warning li,
body:has(.auth-main) .investment-warning h2,
body:has(.auth-main) .investment-warning li {
  color: var(--white);
}

@media (max-width: 1000px) {
  body:has(.auth-main) .masthead .header-links {
    display: none;
  }
  body:has(.auth-main) .masthead > .wrap {
    padding-inline: 28px;
  }
}

body:has(.authenticated-masthead) {
  --ink: var(--ink-900);
  --muted: var(--ink-600);
  --green: var(--bank-blue-700);
  --green-dark: #003a96;
  --forest: var(--bank-blue-700);
  --forest-2: var(--bank-blue-600);
  --blue: var(--bank-blue-600);
  --mint: var(--bank-blue-050);
  --paper: var(--canvas);
  --line: var(--line-200);
  --accent: var(--line-200);
  --gold: var(--bank-blue-600);
  --gold-dark: var(--bank-blue-700);
  --danger: var(--negative);
  --amber: var(--warning);
  background: var(--canvas);
  color: var(--ink-900);
}
body:has(.authenticated-masthead) h1,
body:has(.authenticated-masthead) h2,
body:has(.authenticated-masthead) h3 {
  font-family: var(--sans);
  letter-spacing: -0.025em;
}
body:has(.authenticated-masthead) button:focus-visible,
body:has(.authenticated-masthead) a:focus-visible {
  outline-color: var(--bank-blue-600);
}
.authenticated-masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  height: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line-200);
  box-shadow: none;
}
.authenticated-masthead > .wrap {
  width: min(calc(100% - 40px), 1220px) !important;
  max-width: 1220px !important;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(220px, 420px) 1fr auto;
  grid-template-rows: 72px;
  align-items: center;
  gap: 20px;
  padding: 0 !important;
}
.authenticated-masthead .brand {
  grid-column: 1;
  margin: 0;
  color: var(--ink-900);
}
.authenticated-masthead .brand-name {
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 17px;
}
.authenticated-masthead .brand-mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}
.authenticated-search {
  grid-column: 2;
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--ink-600);
  text-align: left;
}
.authenticated-search span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.authenticated-masthead .nav {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  min-width: 0;
  margin: 0;
  border: 0;
}
.authenticated-masthead .nav-links {
  position: static;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.authenticated-masthead .nav a,
.authenticated-masthead .desktop-more {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-600);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.authenticated-masthead .nav a:hover,
.authenticated-masthead .desktop-more:hover,
.authenticated-masthead .nav a.active,
.authenticated-masthead .desktop-more.active {
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
  box-shadow: none;
}
.authenticated-masthead .nav .icon {
  width: 16px;
  height: 16px;
}
.authenticated-masthead .header-user {
  grid-column: 4;
  grid-row: 1;
  margin: 0;
  gap: 8px;
}
.authenticated-masthead .header-user > div,
.authenticated-masthead .header-user > .separator,
.authenticated-masthead .connection-status,
.authenticated-masthead .header-user > .text-btn,
.authenticated-masthead .hamburger {
  display: none;
}
.authenticated-masthead .avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.authenticated-masthead .notification-bell,
.authenticated-masthead .contrast-toggle {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  color: var(--ink-900);
}
.authenticated-main {
  width: min(calc(100% - 40px), 1220px) !important;
  max-width: 1220px !important;
  padding: 32px 0 88px !important;
}
.authenticated-main .page-heading h1 {
  color: var(--ink-900);
}
.authenticated-main .page-heading .eyebrow,
.authenticated-main a:not(.btn) {
  color: var(--bank-blue-700);
}
.authenticated-main .card,
.authenticated-main .transfer-aside,
.authenticated-main .activity-controls,
.authenticated-main > .card:not(.service-narrow) {
  border: 1px solid var(--line-200);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: none;
}
.authenticated-main .btn.primary {
  border-radius: 8px;
  background: var(--bank-blue-700);
  color: var(--surface);
  box-shadow: none;
}
.authenticated-main .btn.primary:hover {
  background: #003a96;
}
.authenticated-main .btn.secondary {
  border-color: var(--line-200);
  border-radius: 8px;
  background: var(--surface);
  color: var(--bank-blue-700);
}
.authenticated-main input,
.authenticated-main select,
.authenticated-main textarea {
  border-color: var(--line-200);
  border-radius: 8px;
  background: var(--surface);
}
.authenticated-main input:focus,
.authenticated-main select:focus,
.authenticated-main textarea:focus {
  border-color: var(--bank-blue-600);
  outline-color: var(--bank-blue-600);
}
.authenticated-main table th {
  background: var(--bank-blue-050);
  color: var(--ink-900);
}
.authenticated-footer {
  width: min(calc(100% - 40px), 1220px);
  margin: 0 auto;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line-200);
  color: var(--ink-600);
  font-size: 12px;
}
.authenticated-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 8px;
}
.authenticated-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--bank-blue-700);
  font-weight: 650;
}
.overview-main {
  padding-top: 24px !important;
}
.overview-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  grid-template-areas:
    "greeting greeting"
    "restriction restriction"
    "actions actions"
    "accounts snapshot"
    "accounts upcoming"
    "activity plan"
    "services services";
  align-items: start;
  gap: 24px;
}
.overview-greeting {
  grid-area: greeting;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.overview-greeting h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 450;
}
.overview-greeting p {
  margin-top: 4px;
  color: var(--ink-600);
  font-size: 13px;
}
.overview-greeting .overview-brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 5px;
  color: var(--bank-blue-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#main .overview-dashboard .overview-greeting .overview-brand-eyebrow {
  margin: 0 0 5px;
  color: var(--bank-blue-700);
  font-size: 12px;
}
.overview-greeting button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--bank-blue-700);
}
.overview-restriction {
  grid-area: restriction;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #c77748;
  border-left: 5px solid #aa4828;
  border-radius: 12px;
  background: #fff6ee;
  color: var(--ink-900);
}
.overview-restriction-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #f6e0d0;
  color: #87351c;
}
.overview-restriction h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.overview-restriction p { margin: 0 0 9px; line-height: 1.5; }
.overview-restriction a { display: inline-flex; align-items: center; gap: 4px; color: var(--bank-blue-700); font-weight: 700; }
.overview-restriction a .icon { width: 15px; height: 15px; }
@media (max-width: 767px) {
  .overview-restriction { gap: 12px; margin: 0 0 18px; padding: 16px; }
  .overview-restriction-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .overview-restriction h2 { font-size: 17px; }
  .overview-restriction p { font-size: 14px; }
}
.overview-quick-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.overview-quick-actions a {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-900) !important;
  font-weight: 650;
  text-align: center;
}
.overview-quick-actions .icon {
  color: var(--bank-blue-600);
}
.overview-snapshot {
  grid-area: snapshot;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line-200);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink-900) !important;
}
.overview-snapshot.critical {
  border-left: 4px solid var(--negative);
}
.overview-snapshot.warning {
  border-left: 4px solid var(--warning);
}
.snapshot-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.overview-snapshot > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.overview-snapshot small {
  color: var(--bank-blue-700);
  font-size: 11px;
  font-weight: 700;
}
.overview-snapshot strong {
  font-size: 15px;
}
.overview-snapshot > span:nth-child(2) > span {
  color: var(--ink-600);
  font-size: 13px;
}
.overview-snapshot > .icon {
  width: 16px;
  color: var(--ink-600);
}
.overview-accounts {
  grid-area: accounts;
  min-width: 0;
}
.overview-coming-up {
  grid-area: upcoming;
}
.overview-activity {
  grid-area: activity;
}
.overview-plan {
  grid-area: plan;
}
.overview-services {
  grid-area: services;
}
.overview-disclosures {
  grid-area: disclosures;
}
.overview-section-heading {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.overview-section-heading h2 {
  font-size: 20px;
  font-weight: 650;
}
.overview-section-heading a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
.account-group,
.overview-panel {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line-200);
  border-radius: 13px;
  background: var(--surface);
}
.account-group > header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: var(--bank-blue-700);
  color: var(--surface);
}
.account-group > header > div,
.account-group > header > span {
  display: grid;
  gap: 2px;
}
.account-group > header > span {
  justify-items: end;
  text-align: right;
}
.account-group > header h3 {
  color: inherit;
  font-size: 17px;
  font-weight: 650;
}
.account-group > header small {
  color: #dce9ff;
  font-size: 11px;
}
.account-group-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(max-content, auto) 18px;
  min-height: 94px;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-200);
  color: var(--ink-900) !important;
}
.account-row-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.account-row-name,
.account-row-balance {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.account-row-name strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}
.account-row-name small,
.account-row-balance small {
  color: var(--ink-600);
  font-size: 12px;
}
.account-row-balance {
  justify-items: end;
  text-align: right;
}
.account-group-row > .icon {
  width: 16px;
  color: var(--ink-600);
}
.money {
  display: inline-flex;
  max-width: 100%;
  align-items: flex-start;
  justify-content: flex-end;
  color: inherit;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}
.money-visible {
  display: inline-flex;
  align-items: flex-start;
}
.money-prefix {
  margin-right: 1px;
}
.money-sign {
  margin-right: 1px;
  font-size: .7em;
  line-height: 1.15;
}
.money-decimal {
  font-size: .66em;
  line-height: 1.18;
}
.money-hidden {
  display: none;
  letter-spacing: .08em;
}
.balances-hidden [data-private] .money-visible {
  display: none;
}
.balances-hidden [data-private] .money-hidden {
  display: inline;
}
.account-group > header .money {
  font-size: clamp(24px, 3vw, 32px);
}
.account-row-balance > .money {
  font-size: clamp(24px, 3vw, 30px);
}
.money.is-negative,
.overview-transaction > .money.is-negative {
  color: var(--negative);
}
.linked-accounts {
  padding: 14px 18px 6px;
}
.linked-accounts h4 {
  margin: 0 0 6px;
  color: var(--ink-600);
  font-size: 12px;
  font-weight: 650;
}
.linked-account-row {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-200);
  color: var(--ink-900) !important;
}
.linked-account-row > span {
  display: grid;
}
.linked-account-row small {
  color: var(--ink-600);
}
.linked-account-row > .icon {
  width: 16px;
}
.overview-panel {
  padding: 18px;
}
.overview-panel > .overview-section-heading {
  margin-bottom: 4px;
}
.overview-list-row,
.overview-transaction {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 66px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-200);
  color: var(--ink-900) !important;
}
.overview-list-row > span:first-child,
.overview-transaction > span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--bank-blue-050);
  color: var(--bank-blue-700);
}
.overview-list-row > span:nth-child(2),
.overview-transaction > span:nth-child(2) {
  display: grid;
  min-width: 0;
}
.overview-list-row small,
.overview-transaction small {
  overflow-wrap: anywhere;
  color: var(--ink-600);
}
.overview-list-row > .icon {
  width: 16px;
}
.overview-transaction > .money {
  font-size: 16px;
}
.overview-empty {
  padding: 22px 4px;
  color: var(--ink-600);
}
.overview-empty strong {
  color: var(--ink-900);
}
.overview-empty p {
  margin: 4px 0 10px;
}
.plan-entry-grid {
  display: grid;
}
.plan-entry-grid > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  min-height: 68px;
  border-bottom: 1px solid var(--line-200);
  color: var(--ink-900) !important;
}
.plan-entry-grid > a > span:first-child {
  grid-row: 1 / 3;
  color: var(--bank-blue-700);
}
.plan-entry-grid > a > .icon:last-child {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 16px;
}
.plan-entry-grid small {
  color: var(--ink-600);
}
.plan-entry-grid .money {
  justify-content: flex-start;
  font-size: 18px;
}
.overview-chart-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.overview-chart-grid article {
  min-width: 0;
}
.overview-chart-grid h3 {
  font-size: 15px;
}
.overview-chart-grid .chart-wrap {
  height: 220px;
  padding: 14px 0 0;
}
.overview-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-200);
}
.overview-service-grid a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink-900) !important;
}
.overview-service-grid a > .icon:first-child {
  color: var(--bank-blue-700);
}
.overview-service-grid a > .icon:last-child {
  width: 15px;
}
.overview-disclosures {
  padding-top: 12px;
  border-top: 1px solid var(--line-200);
  color: var(--ink-600);
  font-size: 12px;
}
.overview-disclosures nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 12px;
}
.overview-disclosures a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}
.overview-disclosures p + p {
  margin-top: 6px;
}
.mobile-banking-nav {
  display: none;
}
.more-sheet-backdrop {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  background: rgba(24, 26, 31, .46);
}
.more-sheet {
  width: min(100%, 430px);
  min-height: 100dvh;
  overflow-y: auto;
  padding: 22px 22px calc(24px + env(safe-area-inset-bottom));
  background: var(--surface);
  color: var(--ink-900);
}
.more-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-200);
}
.more-sheet > header p {
  color: var(--ink-600);
  font-size: 12px;
}
.more-sheet > header h2 {
  font: 650 27px var(--sans);
}
.more-sheet > header button {
  min-width: 44px;
  min-height: 44px;
}
.more-sheet-links section {
  padding: 20px 0 8px;
}
.more-sheet-links h3 {
  margin-bottom: 7px;
  color: var(--ink-600);
  font: 650 12px var(--sans);
}
.more-sheet-links a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-200);
  color: var(--ink-900);
  font-weight: 600;
}
.more-sheet-links a .icon {
  width: 16px;
  color: var(--ink-600);
}
.more-display-controls > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.more-display-controls button {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line-200);
  border-radius: 8px;
  background: var(--surface);
  color: var(--bank-blue-700);
  font-weight: 650;
}
.more-display-controls > button {
  width: 100%;
}
.more-signout {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--bank-blue-700);
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .authenticated-masthead > .wrap {
    width: calc(100% - 32px) !important;
    grid-template-columns: auto minmax(190px, 1fr) auto;
    grid-template-rows: 64px 52px;
  }
  .authenticated-masthead .nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    border-top: 1px solid var(--line-200);
  }
  .authenticated-masthead .nav-links {
    justify-content: center;
  }
  .authenticated-masthead .nav a,
  .authenticated-masthead .desktop-more {
    min-height: 48px;
    padding-inline: 14px;
  }
  .authenticated-masthead .nav .icon {
    display: none;
  }
  .authenticated-masthead .header-user {
    grid-column: 3;
  }
  .authenticated-main {
    width: calc(100% - 32px) !important;
  }
  .overview-dashboard {
    grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  }
  .overview-quick-actions a {
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  body:has(.authenticated-masthead) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .authenticated-masthead > .wrap {
    width: 100% !important;
    min-height: 112px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 56px 48px;
    gap: 0 8px;
    padding: 0 16px 8px !important;
  }
  body:has(.mobile-banking-nav) .authenticated-masthead {
    height: auto;
    box-shadow: none;
  }
  body:has(.mobile-banking-nav) .authenticated-masthead > .wrap {
    padding: 0 16px 8px !important;
  }
  body:has(.mobile-banking-nav) .authenticated-masthead .brand-name {
    display: inline;
  }
  .authenticated-masthead .brand {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .authenticated-masthead .brand-name {
    display: inline;
    max-width: 190px;
    font-size: 15px;
  }
  .authenticated-masthead .header-user {
    grid-column: 3;
    grid-row: 1;
  }
  .authenticated-masthead .avatar,
  .authenticated-masthead .contrast-toggle {
    display: none;
  }
  .authenticated-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 44px;
    background: var(--canvas);
  }
  .authenticated-masthead .nav {
    display: none;
  }
  .authenticated-main,
  .overview-main {
    width: 100% !important;
    padding: 22px 16px calc(108px + env(safe-area-inset-bottom)) !important;
  }
  .authenticated-main .breadcrumb {
    margin-bottom: 14px;
  }
  .overview-dashboard {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .overview-dashboard > * {
    width: 100%;
    min-width: 0;
  }
  .overview-greeting {
    align-items: flex-start;
  }
  .overview-greeting h1 {
    font-size: clamp(25px, 7vw, 28px);
    font-weight: 400;
  }
  .overview-greeting button {
    flex: 0 0 44px;
    width: 44px;
    padding: 0;
  }
  .overview-greeting button span {
    display: none;
  }
  .overview-quick-actions {
    gap: 7px;
  }
  .overview-quick-actions a {
    min-height: 88px;
    flex-direction: column;
    gap: 7px;
    padding: 10px 4px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.25;
  }
  .overview-quick-actions a span {
    max-width: 76px;
  }
  .overview-quick-actions .icon {
    width: 23px;
    height: 23px;
  }
  .overview-snapshot {
    padding: 15px;
  }
  .overview-section-heading {
    margin-bottom: 7px;
  }
  .overview-section-heading h2 {
    font-size: 19px;
  }
  .account-group,
  .overview-panel {
    margin-bottom: 14px;
  }
  .account-group > header {
    min-height: 76px;
    padding: 14px 15px;
  }
  .account-group > header h3 {
    font-size: 15px;
  }
  .account-group > header .money {
    font-size: clamp(21px, 7vw, 28px);
  }
  .account-group-row {
    grid-template-columns: 36px minmax(0, 1fr) auto 14px;
    gap: 10px;
    padding: 15px;
  }
  .account-row-icon {
    width: 36px;
    height: 36px;
  }
  .account-row-balance > .money {
    font-size: clamp(21px, 7vw, 29px);
  }
  .linked-accounts {
    padding-inline: 15px;
  }
  .overview-panel {
    padding: 15px;
  }
  .overview-service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-banking-nav {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 72px;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-200);
    background: var(--surface);
    box-shadow: 0 -5px 18px rgba(24, 26, 31, .08);
  }
  .mobile-banking-nav a,
  .mobile-banking-nav button {
    display: flex;
    min-width: 0;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 3px;
    border-radius: 8px;
    color: var(--ink-900);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
  }
  .mobile-banking-nav .icon {
    width: 23px;
    height: 23px;
  }
  .mobile-banking-nav .active {
    background: var(--bank-blue-050);
    color: var(--bank-blue-700);
  }
  body:has(.mobile-banking-nav) .bank-help,
  body:has(.mobile-banking-nav) .full-bank-footer,
  body:has(.mobile-banking-nav) .authenticated-footer {
    display: none;
  }
  .chat-launcher,
  .chat-panel {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
  body:has(.mobile-banking-nav) > .text-resize-controls,
  body:has(.mobile-banking-nav) > .chat-launcher {
    display: none;
  }
}

@media (max-width: 420px), (max-width: 767px) and (min-resolution: 1dppx) {
  html[data-text-scale="150"] .overview-quick-actions {
    grid-template-columns: 1fr 1fr;
  }
  html[data-text-scale="150"] .account-group-row {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
  }
  html[data-text-scale="150"] .account-row-balance {
    grid-column: 2 / 3;
    justify-items: start;
    text-align: left;
  }
  html[data-text-scale="150"] .account-group-row > .icon {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

@media (max-width: 365px) {
  .overview-quick-actions {
    grid-template-columns: 1fr 1fr;
  }
  .account-group > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-group > header > span {
    justify-items: start;
    text-align: left;
  }
  .account-group-row {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
  }
  .account-row-balance {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
  .account-group-row > .icon {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

@media (forced-colors: active) {
  .account-group > header,
  .authenticated-main .btn.primary,
  .mobile-banking-nav .active {
    border: 1px solid ButtonText;
  }
  .snapshot-icon,
  .account-row-icon,
  .overview-list-row > span:first-child,
  .overview-transaction > span:first-child {
    border: 1px solid CanvasText;
  }
}

/* Approved mobile banking reference — final cascade authority. */
.mobile-chat-button {
  display: none;
}
.avatar > .icon {
  display: none;
}

@media (max-width: 767px) {
  body:has(.overview-dashboard) {
    background: #ffffff;
    color: #292725;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  }
  body:has(.overview-dashboard) .authenticated-masthead {
    position: relative;
    height: 62px;
    min-height: 62px;
    border: 0;
    border-bottom: 1px solid #d8d3cc;
    background: #ffffff;
    box-shadow: none;
  }
  body:has(.overview-dashboard) .authenticated-masthead > .wrap {
    width: 100% !important;
    height: 62px;
    min-height: 62px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    grid-template-rows: 62px;
    gap: 11px;
    padding: 0 18px !important;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand {
    grid-column: 1;
    grid-row: 1;
    width: 26px;
    overflow: visible;
  }
  body:has(.overview-dashboard) .authenticated-masthead .brand-mark,
  body:has(.overview-dashboard) .authenticated-masthead .brand-name,
  body:has(.overview-dashboard) .authenticated-masthead .hamburger,
  body:has(.overview-dashboard) .authenticated-masthead .header-user > div,
  body:has(.overview-dashboard) .authenticated-masthead .separator,
  body:has(.overview-dashboard) .authenticated-masthead .connection-status,
  body:has(.overview-dashboard) .authenticated-masthead .contrast-toggle,
  body:has(.overview-dashboard) .authenticated-masthead .header-user > .text-btn,
  body:has(.overview-dashboard) .authenticated-masthead .notification-bell {
    display: none !important;
  }
  body:has(.overview-dashboard) .overview-reference-mark {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #57534e;
  }
  body:has(.overview-dashboard) .overview-reference-mark .icon {
    width: 19px;
    height: 19px;
    stroke-width: 1.35;
  }
  body:has(.overview-dashboard) .authenticated-search {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 34px;
    height: 34px;
    padding: 0 13px;
    border: 1px solid #bbb6af;
    border-radius: 18px;
    background: #ffffff;
    color: #6c6761;
    font-size: 12px;
    font-weight: 400;
  }
  body:has(.overview-dashboard) .authenticated-search .icon {
    display: none;
  }
  body:has(.overview-dashboard) .authenticated-masthead .header-user {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 4px;
  }
  body:has(.overview-dashboard) .mobile-chat-button,
  body:has(.overview-dashboard) .authenticated-masthead .avatar {
    display: grid !important;
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #625e58;
  }
  body:has(.overview-dashboard) .authenticated-masthead .avatar {
    border: 1px solid #77726c;
  }
  body:has(.overview-dashboard) .mobile-chat-button .icon,
  body:has(.overview-dashboard) .authenticated-masthead .avatar .icon {
    display: block;
    width: 17px;
    height: 17px;
    stroke-width: 1.5;
  }
  body:has(.overview-dashboard) .avatar-initials {
    display: none;
  }

  body:has(.overview-dashboard) .overview-main {
    width: 100% !important;
    padding: 20px 18px calc(118px + env(safe-area-inset-bottom)) !important;
  }
  body:has(.overview-dashboard) .overview-dashboard {
    gap: 0;
  }
  body:has(.overview-dashboard) .overview-greeting {
    min-height: 104px;
    padding: 14px 0 22px;
  }
  body:has(.overview-dashboard) .overview-greeting h1 {
    color: #292725;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
  }
  body:has(.overview-dashboard) .overview-greeting p {
    margin-top: 5px;
    color: #5f5b56;
    font-size: 14px;
    line-height: 1.25;
  }
    body:has(.overview-dashboard) .overview-quick-actions {
    display: flex;
    gap: 13px;
    width: calc(100% + 18px);
    overflow-x: auto;
    padding: 0 18px 34px 0;
    scrollbar-width: none;
  }
  body:has(.overview-dashboard) .overview-quick-actions::-webkit-scrollbar {
    display: none;
  }
  body:has(.overview-dashboard) .overview-quick-actions a {
    min-width: max-content;
    min-height: 38px;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 8px;
    padding: 7px 14px;
    border-color: #ded9d2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(42, 36, 30, .08);
    color: #174b89 !important;
    font-size: 11px;
    font-weight: 650;
  }
  body:has(.overview-dashboard) .overview-quick-actions .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }
  body:has(.overview-dashboard) .overview-quick-actions .quick-add {
    width: 50px;
    min-width: 50px;
    padding-inline: 0;
  }
  body:has(.overview-dashboard) .overview-quick-actions .quick-add .quick-label-mobile {
    display: none;
  }

  body:has(.overview-dashboard) .overview-snapshot {
    min-height: 137px;
    margin-bottom: 45px;
    padding: 22px 18px;
    border: 1px solid #cec8c1;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: none;
  }
  body:has(.overview-dashboard) .snapshot-icon {
    width: 54px;
    height: 54px;
    background: #e2e5df;
    color: #1550a2;
  }
  body:has(.overview-dashboard) .snapshot-mobile-title {
    color: #292725;
    font-size: 18px;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .snapshot-mobile-copy {
    color: #504c47;
    font-size: 14px;
  }

  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading {
    min-height: 42px;
    margin-bottom: 5px;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading h2 {
    color: #34312e;
    font-size: 20px;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .overview-accounts > .overview-section-heading a {
    display: grid;
    width: 20px;
    min-height: 20px;
    place-items: center;
    padding: 0;
    border: 1px solid #77736f;
    border-radius: 50%;
  }

  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type {
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #c8c2ba;
    border-radius: 8px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header {
    min-height: 64px;
    padding: 15px 18px;
    background: #0753be;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header h3,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money {
    font-size: 16px;
    font-weight: 650;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header small {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row {
    grid-template-columns: minmax(0, 1fr) 14px;
    grid-template-rows: auto auto;
    min-height: 153px;
    gap: 6px 8px;
    padding: 24px 18px 18px;
    background: #ffffff;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-icon {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong {
    color: #4e4a46;
    font-size: 14px;
    font-weight: 450;
    text-transform: uppercase;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-items: end;
    text-align: right;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance > .money {
    align-items: baseline;
    color: #373430;
    font-size: clamp(34px, 8.2vw, 40px);
    font-weight: 400;
    letter-spacing: -.015em;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .money-visible {
    align-items: baseline;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .money-sign,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .money-decimal {
    margin-right: 0;
    font-size: 1em;
    line-height: 1;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance small {
    margin-top: 4px;
    color: #66615c;
    font-size: 13px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row > .icon {
    grid-column: 2;
    grid-row: 1;
    width: 13px;
    color: #504c48;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-accounts {
    padding: 0 18px;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-accounts h4,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row small {
    display: none;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row {
    min-height: 68px;
    border-top: 1px solid #d7d1ca;
    color: #504c48 !important;
  }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row strong {
    font-size: 16px;
    font-weight: 450;
  }

  body:has(.overview-dashboard) .mobile-banking-nav {
    min-height: 72px;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid #d8d3cc;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(42, 36, 30, .06);
  }
  body:has(.overview-dashboard) .mobile-banking-nav a,
  body:has(.overview-dashboard) .mobile-banking-nav button {
    color: #4e4a46;
    font-size: 11px;
    font-weight: 500;
  }
  body:has(.overview-dashboard) .mobile-banking-nav .active {
    background: transparent;
    color: #0753be;
  }
  body:has(.overview-dashboard) .mobile-banking-nav .icon {
    width: 25px;
    height: 25px;
  }
}

/* Mobile reference details; live data remains independent of presentation. */
@media (max-width: 767px) {
  body:has(.overview-dashboard) .overview-reference-mark { width: 30px; height: 30px; }
  body:has(.overview-dashboard) .overview-reference-mark .icon { width: 25px; height: 25px; stroke-width: 1.8; }
  body:has(.overview-dashboard) .authenticated-search { border-color: #b8b0a7; background: #ffffff; font-size: 14px; }
  body:has(.overview-dashboard) .mobile-chat-button .icon,
  body:has(.overview-dashboard) .authenticated-masthead .avatar .icon { width: 19px; height: 19px; stroke-width: 1.8; }
  body:has(.overview-dashboard) .authenticated-masthead .avatar { width: 30px; min-width: 30px; height: 30px; min-height: 30px; border: 1.25px solid #6d6862; }
  body:has(.overview-dashboard) .overview-quick-actions a { min-height: 48px; gap: 10px; padding: 10px 20px; border-color: #cfc7bd; border-radius: 25px; background: #ffffff; box-shadow: 0 2px 5px rgba(51,43,35,.1); font-size: 14px; font-weight: 550; }
  body:has(.overview-dashboard) .overview-quick-actions .quick-add { width: 76px; min-width: 76px; }
  body:has(.overview-dashboard) .overview-quick-actions .icon { width: 21px; height: 21px; stroke-width: 2; }
  body:has(.overview-dashboard) .overview-snapshot { grid-template-columns: 54px minmax(0,1fr) 18px; gap: 24px; border: 1.25px solid #bcb4aa; border-radius: 10px; }
  body:has(.overview-dashboard) .snapshot-icon .icon { width: 42px; height: 42px; }
  body:has(.overview-dashboard) .snapshot-mobile-title { font-weight: 600; }
  body:has(.overview-dashboard) .snapshot-mobile-title small { background: #ded9d2; color: #514c47; font-weight: 500; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type { border: 1.25px solid #aaa198; border-radius: 12px; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header { border-bottom: 1.25px solid #b9b0a7; background: #064fba; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header h3,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money { font-weight: 700; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row + .account-group-row,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row { border-top: 1.25px solid #bdb5ac; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong { font-size: 15px; font-weight: 500; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance small { font-size: 14px; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row > .icon,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row > .icon { stroke-width: 1.9; }
  body:has(.overview-dashboard) .mobile-banking-nav { border-top-color: #c8c0b7; box-shadow: 0 -2px 7px rgba(51,43,35,.07); }
  body:has(.overview-dashboard) .mobile-banking-nav .icon { width: 27px; height: 27px; stroke-width: 1.4; }
  body:has(.overview-dashboard) .authenticated-masthead { border-bottom: 0; }
  body:has(.overview-dashboard) .overview-quick-actions a { flex: 0 0 auto; width: auto; max-width: none; min-width: max-content; white-space: nowrap; border: 0; border-bottom: 1px solid #c9c0b4; box-shadow: 0 1px 1px #b9b1a333; }
  body:has(.overview-dashboard) .overview-quick-actions a span { white-space: nowrap; }
  body:has(.overview-dashboard) .overview-quick-actions a:not(.quick-add) > .icon { display: none; }
  body:has(.overview-dashboard) .overview-quick-actions .quick-add .icon { width: 28px; height: 28px; }
  body:has(.overview-dashboard) .snapshot-mobile-title { font-size: 20px; font-weight: 400; }
  body:has(.overview-dashboard) .snapshot-mobile-title small { font-size: 13px; font-weight: 400; border-radius: 0; }
  body:has(.overview-dashboard) .snapshot-mobile-copy { font-size: 16px; color: #625d55; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header { background: #073caa; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header .money * { font-size: 16px; font-weight: 500; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong { font-size: 16px; font-weight: 400; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-name strong::after { content: ' ›'; font-size: 22px; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > .account-group-row > .icon { display: none; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance > .money { font-size: clamp(28px,7vw,36px); font-weight: 350; letter-spacing: 0; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .account-row-balance .money * { font-weight: inherit; font-family: inherit; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-accounts { padding: 0; border: 1px solid #c6beb2; border-radius: 14px 14px 0 0; }
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type .linked-account-row { padding: 0 18px; border-top: 0; }
  body:has(.overview-dashboard) .mobile-banking-nav a:first-child .icon rect { fill: #1265b6; stroke: #1265b6; }
  body:has(.overview-dashboard) .mobile-banking-nav a:first-child .icon path { stroke: white; }
  body:has(.overview-dashboard) { background: #ffffff; }
  body:has(.overview-dashboard) .authenticated-masthead,
  body:has(.overview-dashboard) .mobile-banking-nav { background: #ffffff; border: 0; box-shadow: none; }
  body:has(.overview-dashboard) .authenticated-masthead .authenticated-search { font-size: 17px; background: #ffffff; height: 38px; }
  #main.overview-main:focus { outline: none; }
  #main.overview-main:focus-visible { outline: 2px solid #1265b6; outline-offset: 3px; }
  #main .overview-dashboard .overview-greeting h1 { font-size: 32px; font-weight: 400; letter-spacing: 0; }
  #main .overview-dashboard .overview-greeting p { font-size: 17px; }
  #main .overview-dashboard .overview-quick-actions { gap: 13px; }
  #main .overview-dashboard .overview-quick-actions a { min-height: 46px; height: 46px; padding: 8px 19px; background: #ffffff; border: 1px solid #e7dfd1; border-bottom-color: #c8beb0; box-shadow: 0 1px 1px #c6bcad55; font-size: 15px; font-weight: 600; }
  #main .overview-dashboard .overview-quick-actions a[href='#zelle'] { min-width: 132px; }
  #main .overview-dashboard .overview-quick-actions a[href='#mobile-deposit'] { min-width: 142px; }
  #main .overview-dashboard .overview-snapshot { background: #ffffff; border: 1px solid #c6bfb2; gap: 20px; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-copy { font-size: 17px; color: #605b54; line-height: 1.4; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-title { font-size: 21px; font-weight: 400; }
  #main .overview-dashboard .overview-snapshot > span:nth-child(2) { gap: 8px; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type { background: #ffffff; border-color: #c9c0b2; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > .account-group-row { background: #ffffff; border: 0; position: relative; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > .account-group-row + .account-group-row::before { content: ''; position: absolute; top: 0; left: 20px; right: 0; border-top: 1px solid #c9c0b2; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-balance small { font-size: 15px; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .linked-accounts { border-color: #c9c0b2; }
  body:has(.overview-dashboard) .mobile-banking-nav a,
  body:has(.overview-dashboard) .mobile-banking-nav button { color: #74736c; font-size: 12px; font-weight: 400; }
  body:has(.overview-dashboard) .mobile-banking-nav .active { color: #236598; }
  #main .overview-dashboard .overview-panel,
  #main .overview-dashboard .account-group,
  #main .overview-dashboard .account-group-row { background: #ffffff; border-color: #c9c0b2; box-shadow: none; }
  #main .overview-dashboard .account-group > header { background: #073caa; }
  #main .overview-dashboard .overview-panel h2 { font-size: 21px; font-weight: 400; }
  #main .overview-dashboard .overview-list-row strong,
  #main .overview-dashboard .overview-transaction strong { font-size: 15px; font-weight: 500; }
  #main .overview-dashboard .overview-list-row small,
  #main .overview-dashboard .overview-transaction small { font-size: 13px; line-height: 1.4; }
  /* The reference is the app viewport, without desktop scrollbar or phone chrome. */
  html:has(.overview-dashboard) { scrollbar-width: none; }
  html:has(.overview-dashboard)::-webkit-scrollbar { display: none; }
  #main .overview-dashboard .overview-greeting { padding-top: 3px; padding-bottom: 33px; }
  #main .overview-dashboard .overview-greeting #toggle-balance { display: none; }
  #main .overview-dashboard .overview-greeting p { font-size: 18px; }
  #main .overview-dashboard .overview-snapshot { grid-template-columns: 60px minmax(0, 1fr) 18px; margin-bottom: 43px; }
  #main .overview-dashboard .snapshot-icon { width: 60px; height: 60px; border-radius: 50%; background: #d6d8d1; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-title { font-size: 22px; line-height: 28px; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-title small { font-size: 14px; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-copy { font-size: 18px; }
  #main .overview-dashboard .overview-accounts > .overview-section-heading h2 { font-size: 23px; font-weight: 400; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header h3 { font-size: 18px; font-weight: 600; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header .money,
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header .money * { font-size: 18px; font-weight: 500; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-name strong { font-size: 18px; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-balance > .money { font-size: clamp(28px, 7.3vw, 36px); font-weight: 400; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-balance small { font-size: 16px; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .linked-account-row strong { font-size: 18px; font-weight: 400; }
  body:has(.overview-dashboard) .mobile-banking-nav a,
  body:has(.overview-dashboard) .mobile-banking-nav button { font-size: 13px; }
  body:has(.overview-dashboard) .authenticated-masthead > .wrap { grid-template-columns: 41px minmax(0, 1fr) 74px; }
  body:has(.overview-dashboard) .authenticated-masthead .header-user { justify-content: space-between; width: 74px; }
  body:has(.overview-dashboard) .mobile-chat-button .icon { width: 27px; height: 27px; }
  body:has(.overview-dashboard) .authenticated-masthead .avatar { width: 26px; height: 26px; min-width: 26px; min-height: 26px; }
  #main .overview-dashboard .overview-quick-actions a[href='#zelle'] { min-width: 137px; }
  #main .overview-dashboard .overview-quick-actions a[href='#mobile-deposit'] { min-width: 147px; }
  #main .overview-dashboard .overview-accounts > .overview-section-heading h2 { line-height: 28px; align-self: start; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-name { align-self: start; }
}

/* Scale the reference's 494px content proportions to real phone widths. */
.overview-chart-empty {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 120px;
  margin: 0;
  color: #625d55;
  font-size: 14px;
  text-align: center;
}
body:has(.overview-dashboard) .overview-chart-grid .chart-wrap:has(.overview-chart-empty) {
  height: auto !important;
  min-height: 120px;
}

@media (max-width: 493px) {
  body:has(.overview-dashboard) .authenticated-masthead,
  body:has(.overview-dashboard) .authenticated-masthead > .wrap { height: 12.55vw; min-height: 12.55vw; }
  body:has(.overview-dashboard) .authenticated-masthead > .wrap { grid-template-columns: 8.3vw minmax(0,1fr) 15vw; grid-template-rows: 12.55vw; gap: 2.23vw; padding: 0 3.64vw !important; }
  body:has(.overview-dashboard) .authenticated-masthead .header-user { width: 15vw; }
  body:has(.overview-dashboard) .authenticated-masthead .authenticated-search { font-size: 3.44vw; height: 7.7vw; min-height: 0; padding: 0 2.6vw; }
  body:has(.overview-dashboard) .mobile-chat-button .icon { width: 5.47vw; height: 5.47vw; }
  body:has(.overview-dashboard) .authenticated-masthead .avatar { width: 5.27vw; height: 5.27vw; min-width: 0; min-height: 0; }
  body:has(.overview-dashboard) #main.overview-main { padding: 4.05vw 3.64vw 100px !important; }
  #main .overview-dashboard .overview-greeting { min-height: 21.05vw; padding: .61vw 0 6.68vw; }
  #main .overview-dashboard .overview-greeting h1 { font-size: 6.48vw; line-height: 1.15; }
  #main .overview-dashboard .overview-greeting p { font-size: 3.64vw; margin-top: 1.2vw; }
  #main .overview-dashboard .overview-quick-actions { height: 16.2vw; min-height: 0; padding: 0 3.64vw 6.88vw 0; gap: 2.63vw; }
  #main .overview-dashboard .overview-quick-actions a { height: 9.31vw; min-height: 9.31vw; padding: 1.62vw 3.85vw; font-size: 3.04vw; }
  #main .overview-dashboard .overview-quick-actions .quick-add { width: 15.38vw; min-width: 15.38vw; }
  #main .overview-dashboard .overview-quick-actions a[href='#zelle'] { min-width: 27.73vw; }
  #main .overview-dashboard .overview-quick-actions a[href='#mobile-deposit'] { min-width: 29.76vw; }
  #main .overview-dashboard .overview-snapshot { height: 27.73vw; min-height: 27.73vw; padding: 4.45vw 3.64vw; grid-template-columns: 12.15vw minmax(0,1fr) 3.64vw; gap: 4.05vw; margin-bottom: 8.7vw; }
  #main .overview-dashboard .snapshot-icon { width: 12.15vw; height: 12.15vw; }
  #main .overview-dashboard .snapshot-icon .icon { width: 8.5vw; height: 8.5vw; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-title { font-size: 4.45vw; line-height: 5.67vw; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-title small { font-size: 2.83vw; padding: .4vw .8vw; }
  #main .overview-dashboard .overview-snapshot .snapshot-mobile-copy { font-size: 3.64vw; }
  #main .overview-dashboard .overview-snapshot > span:nth-child(2) { gap: 1.62vw; }
  #main .overview-dashboard .overview-accounts > .overview-section-heading { height: 8.5vw; min-height: 8.5vw; margin-bottom: 1vw; }
  #main .overview-dashboard .overview-accounts > .overview-section-heading h2 { font-size: 4.66vw; line-height: 5.67vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header { height: 12.96vw; min-height: 12.96vw; padding: 3.04vw 3.64vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header h3,
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header .money,
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header .money * { font-size: 3.64vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > .account-group-row { height: 30.97vw; min-height: 30.97vw; padding: 4.86vw 3.64vw 3.64vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-name strong,
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .linked-account-row strong { font-size: 3.64vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-balance > .money { font-size: 7.29vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-balance small { font-size: 3.24vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .linked-accounts,
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .linked-account-row { height: 14.17vw; min-height: 14.17vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > header > span { flex: 0 0 auto; text-align: right; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-name { min-height: 0; height: auto; align-items: flex-start; line-height: 1.3; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-name strong { line-height: 1.3; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type .account-row-name strong::after { font-size: 4.05vw; }
  #main .overview-dashboard .overview-accounts > .account-group:first-of-type > .account-group-row { grid-template-rows: auto 1fr; }
  body:has(.overview-dashboard) .mobile-banking-nav { height: 14.6vw; min-height: 52px; padding: 3px 4px calc(3px + env(safe-area-inset-bottom)); }
  body:has(.overview-dashboard) .mobile-banking-nav a,
  body:has(.overview-dashboard) .mobile-banking-nav button { font-size: 2.63vw; min-height: 44px; gap: 2px; }
  body:has(.overview-dashboard) .mobile-banking-nav .icon { width: 5.47vw; height: 5.47vw; }
}

/* Temporary mobile preview: original-size card stack within the phone width. */
@media (max-width: 600px) {
  .public-site .feature-band > .wrap {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 24px;
  }
  .public-site .card-fan {
    width: min(100%, 360px);
    height: clamp(280px, 82vw, 330px);
    margin-inline: auto;
  }
  .public-site .card-fan .bank-card {
    width: min(245px, calc(100% - 4px));
    height: auto;
    aspect-ratio: 245 / 154;
    box-sizing: border-box;
    padding: clamp(14px, 4vw, 20px);
  }
  .public-site .card-fan .bank-card-one { top: 0; left: 0; }
  .public-site .card-fan .bank-card-two { top: 25%; left: min(8%, max(0px, calc(100% - 245px))); }
  .public-site .card-fan .bank-card-three { top: 50%; left: min(16%, max(0px, calc(100% - 245px))); }
}

/* Desktop overview: use the same warm app canvas as the phone view and keep the
   financial dashboard comfortably close on wide screens. */
@media (min-width: 1100px) {
  html:has(.overview-dashboard), body:has(.overview-dashboard) { background: #ffffff; }
  body:has(.overview-dashboard) .authenticated-masthead { background: #ffffff; border-bottom-color: #c9c0b2; }
  body:has(.overview-dashboard) .authenticated-main { width: min(calc(100% - 120px), 2200px) !important; max-width: 2200px !important; padding-top: 38px !important; }
  body:has(.overview-dashboard) .overview-dashboard { grid-template-columns: minmax(0, 1.7fr) minmax(370px, 1fr); gap: 30px; }
  body:has(.overview-dashboard) .overview-greeting h1 { font-size: clamp(34px, 2.15vw, 46px); }
  body:has(.overview-dashboard) .overview-greeting p { font-size: 16px; }
  body:has(.overview-dashboard) .overview-quick-actions a { min-height: 76px; font-size: 16px; background: #ffffff; border-color: #c9c0b2; }
  body:has(.overview-dashboard) .overview-greeting button { background: #ffffff; border-color: #c9c0b2; }
  body:has(.overview-dashboard) .overview-snapshot, body:has(.overview-dashboard) .overview-panel, body:has(.overview-dashboard) .account-group, body:has(.overview-dashboard) .account-group-row { background: #ffffff; border-color: #c9c0b2; }
  body:has(.overview-dashboard) .overview-snapshot, body:has(.overview-dashboard) .overview-panel, body:has(.overview-dashboard) .account-group { border-width: 1.25px; }
  body:has(.overview-dashboard) .account-group > header { background: #073caa; }
  body:has(.overview-dashboard) .account-group > header h3, body:has(.overview-dashboard) .account-group > header .money { font-size: 19px; }
  body:has(.overview-dashboard) .account-group-row { min-height: 112px; padding: 18px 22px; }
  body:has(.overview-dashboard) .account-row-name strong { font-size: 17px; }
  body:has(.overview-dashboard) .account-row-balance > .money { font-size: clamp(28px, 2.2vw, 38px); }
  body:has(.overview-dashboard) .overview-panel { padding: 22px; }
}

/* Public-site polish: preserve photography, use one calmer canvas, and avoid
   a sign-in form competing with the business landing message. */
.public-site .public-main {
  background: #ffffff;
}
@media (min-width: 768px) {
  .public-site .public-story-hero .public-hero-image:before {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--bank-blue-700) 20%, transparent) 0%,
      color-mix(in srgb, var(--bank-blue-700) 6%, transparent) 38%,
      transparent 68%
    );
  }
  .public-site .public-story-hero .public-hero-image:after {
    height: 30%;
    background: linear-gradient(
      transparent,
      color-mix(in srgb, var(--bank-blue-700) 50%, transparent)
    );
  }
}
.business-signin-details {
  width: min(100%, 420px);
  align-self: center;
  justify-self: end;
}
.business-signin-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--white) 60%, transparent);
  border-radius: var(--radius-md);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.business-signin-details > summary::-webkit-details-marker { display: none; }
.business-signin-details > summary::after { content: "+"; font-size: 22px; font-weight: 400; }
.business-signin-details[open] > summary { margin-bottom: 12px; background: color-mix(in srgb, var(--white) 10%, transparent); }
.business-signin-details[open] > summary::after { content: "−"; }
#branch-results .service-row > span:last-child {
  display: grid;
  justify-items: end;
  gap: 8px;
}
#branch-results .branch-type {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .business-hero,
  .business-hero > .wrap {
    min-height: 610px;
  }
  .business-signin-details {
    width: 100%;
    justify-self: stretch;
    margin-top: 20px;
  }
  #branch-results .service-row > span:last-child {
    justify-items: start;
  }
}
@media (max-width: 560px) {
  .business-hero,
  .business-hero > .wrap {
    min-height: 640px;
  }
}

/* Investments overhaul: order ticket, sweep settings, risk, funding, activity */
.investment-workspace .investment-toolbar { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:16px; margin:20px 0; }
.investment-workspace .investment-toolbar label { flex:1 1 180px; }
.investment-workspace-nav { display:flex; flex-wrap:wrap; gap:8px; padding:16px 0; border-bottom:1px solid var(--line); margin-bottom:24px; }
.investment-workspace .investment-workspace-nav .btn[aria-current="page"], .investment-workspace .investment-ranges .btn[aria-pressed="true"] { background:#064bb8; color:white; }
.investment-workspace-panel { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; min-width:0; }
.investment-workspace-panel[hidden], .investment-private-notice[hidden] { display:none !important; }
.investment-workspace-panel > .card { min-width:0; padding:24px; }
.investment-workspace .investment-toolbar .form-actions { border:0; margin:0; padding:0; }
.investment-workspace .investment-summary .positive { color:#d0ffeb; }
.investment-workspace .investment-summary .negative { color:#ffe0d6; }
.investment-workspace .investment-summary .muted, .investment-workspace .investment-summary dt, .investment-workspace .investment-summary .eyebrow { color:#dceaff; }
.investment-workspace .investment-allocation .chart-wrap { height:240px; max-width:100%; }
.investment-workspace .investment-activity .form-actions { display:flex; flex-wrap:wrap; }
.investment-account-disclosure { font-size:13px; line-height:1.6; padding:12px 16px; border-left:3px solid #064bb8; background:var(--public-mint, #eef4ff); }
.investment-market-details { min-width:0; max-width:100%; }
.investment-market-details > summary { cursor:pointer; padding:20px; border:1px solid var(--line); border-radius:12px; font-weight:600; }
.investment-market-details .market-terminal { margin-top:16px; }
.investment-values-hidden > .investment-summary { visibility:hidden; }
.investment-values-hidden > .investment-workspace-panel { display:none !important; }
.investment-review { width:min(560px,calc(100vw - 32px)); max-height:90vh; overflow:auto; padding:28px; border:1px solid var(--line); border-radius:16px; background:var(--surface,#fff); color:var(--text,#16212d); }
.investment-review::backdrop { background:rgba(0,20,40,.55); }
.investment-review p { line-height:1.6; margin:20px 0; }
.investment-workspace progress { width:100%; height:16px; accent-color:#064bb8; }
.investment-workspace .table-wrap { max-width:100%; overflow-x:auto; }
.investment-workspace .investment-activity li { gap:16px; flex-wrap:wrap; }
@media(max-width:600px) { .investment-workspace-nav { flex-wrap:nowrap; overflow-x:auto; } .investment-workspace-nav button { flex-shrink:0; } .investment-workspace .investment-toolbar { align-items:stretch; } .investment-workspace .investment-toolbar .form-actions { flex-wrap:wrap; } .investment-review { padding:20px; } .investment-workspace-panel > .card { padding:16px; } .investment-workspace .investment-chart-card { padding:8px 0; } }
.investment-form { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.investment-form-row { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.investment-toggle { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; }
.investment-toggle input { margin-top: 0; }
.investment-form .form-error { margin: 0; color: var(--danger); font-weight: 600; }
.investment-facts { display: grid; gap: var(--space-3); margin: var(--space-3) 0 0; }
.investment-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: var(--space-2); }
.investment-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.investment-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.investment-facts dd small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.investment-limit-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid currentColor; vertical-align: middle; }
.investment-limit-badge.ok { color: var(--green); }
.investment-limit-badge.breach { color: var(--danger); }
.investment-breach-list { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; padding-left: 18px; color: var(--danger); }
.investment-facts + .investment-breach-list { list-style: disc; }
.enforcement-copy { margin: var(--space-3) 0 0; font-size: 13px; }
.investment-ticket-tabs { margin-top: var(--space-3); }
.investment-activity b.positive { color: var(--positive, var(--green)); }
.investment-activity b.negative { color: var(--negative, var(--danger)); }

/* Give the data-dense investment workspace an appropriately close desktop view. */
@media (min-width: 1100px) {
  body:has(#market-terminal) .authenticated-main {
    width: min(calc(100% - 160px), 2000px) !important;
    max-width: 2000px !important;
    padding-top: 34px !important;
  }
}

/* Employee secure-message inbox. */
#employee-support-inbox { margin-top: 20px; }
.employee-inbox-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 20px; margin-top: 18px; }
.employee-inbox-list { display: grid; align-content: start; gap: 8px; max-height: 620px; overflow: auto; }
.employee-inbox-list button { display: grid; gap: 4px; width: 100%; padding: 12px; border: 1px solid var(--line-200); border-radius: 8px; background: var(--surface); color: var(--ink-900); text-align: left; cursor: pointer; }
.employee-inbox-list button[aria-current="true"] { border-color: var(--bank-blue-700); background: var(--bank-blue-050); }
.employee-inbox-list button span, .employee-inbox-list button small { color: var(--ink-600); }
.employee-inbox-pages { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.employee-inbox-pages span { font-size: 12px; white-space: nowrap; }
.employee-inbox-detail { min-width: 0; padding: 16px; border: 1px solid var(--line-200); border-radius: 8px; }
.employee-restricted-label { color: var(--danger); }
.employee-message-entries { display: grid; gap: 12px; max-height: 520px; overflow: auto; margin: 16px 0; }
.employee-message-entries article { padding: 12px; border: 1px solid var(--line-200); border-radius: 8px; background: var(--surface); }
.employee-message-entries time { display: block; color: var(--ink-600); font-size: 12px; }
.employee-message-entries p { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 767px) { .employee-inbox-grid { grid-template-columns: 1fr; } .employee-inbox-list { max-height: 300px; } }

/* Keep the phone banking canvas genuinely white (including the small chips and icon wells). */
@media (max-width: 767px) {
  html:has(.overview-dashboard),
  body:has(.overview-dashboard),
  body:has(.overview-dashboard) #app,
  body:has(.overview-dashboard) .authenticated-masthead,
  body:has(.overview-dashboard) .authenticated-main,
  body:has(.overview-dashboard) .overview-main,
  body:has(.overview-dashboard) .overview-dashboard,
  body:has(.overview-dashboard) .overview-snapshot,
  body:has(.overview-dashboard) .overview-panel,
  body:has(.overview-dashboard) .account-group,
  body:has(.overview-dashboard) .account-group-row,
  body:has(.overview-dashboard) .linked-accounts,
  body:has(.overview-dashboard) .linked-account-row,
  body:has(.overview-dashboard) .overview-quick-actions a,
  body:has(.overview-dashboard) .snapshot-icon,
  body:has(.overview-dashboard) .snapshot-mobile-title small,
  body:has(.overview-dashboard) .mobile-banking-nav {
    background-color: #ffffff !important;
  }
  body:has(.overview-dashboard) .overview-snapshot,
  body:has(.overview-dashboard) .overview-panel,
  body:has(.overview-dashboard) .account-group,
  body:has(.overview-dashboard) .account-group-row,
  body:has(.overview-dashboard) .linked-accounts,
  body:has(.overview-dashboard) .linked-account-row,
  body:has(.overview-dashboard) .overview-quick-actions a,
  body:has(.overview-dashboard) .authenticated-search,
  body:has(.overview-dashboard) .mobile-banking-nav {
    border-color: #d8dadf !important;
  }
  body:has(.overview-dashboard) .account-group > header,
  body:has(.overview-dashboard) .overview-accounts > .account-group:first-of-type > header {
    background-color: #0647b8 !important;
  }
}

/* Responsive fixes from the mobile review. */
.overview-quick-actions-wrap { grid-area: actions; position: relative; min-width: 0; }
.overview-quick-actions-wrap > .overview-quick-actions { grid-area: auto; }
.quick-actions-scroll-hint { display: none; }

@media (min-width: 768px) {
  #main .overview-dashboard .overview-service-grid { gap: 12px; background: transparent; }
  #main .overview-dashboard .overview-service-grid a { min-width: 0; padding: 12px 14px; border: 1px solid var(--line-200); border-radius: 10px; }
}

@media (max-width: 767px) {
  body:has(.mobile-banking-nav) .more-sheet { padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
  body:has(.overview-dashboard) .overview-quick-actions-wrap { padding-bottom: 24px; }
  body:has(.overview-dashboard) .quick-actions-scroll-hint {
    position: absolute; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 4px;
    padding: 3px 0 2px 16px; color: var(--ink-600); font-size: 11px; line-height: 1.2;
    background: linear-gradient(90deg, transparent, #fff 18px); pointer-events: none;
  }
  body:has(.overview-dashboard) .quick-actions-scroll-hint b { color: var(--bank-blue-700); font-size: 17px; line-height: .8; }
  #main .overview-dashboard .account-row-balance > .money { max-width: 100%; font-size: clamp(24px, 7vw, 32px); letter-spacing: -.04em; }
  #main .overview-dashboard .overview-service-grid { gap: 10px; background: transparent; }
  #main .overview-dashboard .overview-service-grid a { min-width: 0; padding: 12px; border: 1px solid var(--line-200); border-radius: 10px; }
  body:has(.overview-dashboard) { --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
  body:has(.overview-dashboard) .authenticated-masthead .brand { width: 32px !important; overflow: visible; }
  body:has(.overview-dashboard) .authenticated-masthead .brand-mark { display: block !important; width: 28px; height: 28px; flex: 0 0 28px; }
  body:has(.overview-dashboard) .authenticated-masthead .overview-reference-mark { display: none !important; }
  #main .overview-dashboard .overview-greeting h1 { font-weight: 550; line-height: 1.12; letter-spacing: -.035em; }
  #main .overview-dashboard .account-row-balance > .money { font-size: clamp(20px, 6vw, 27px); letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; }
}

@media (min-width: 768px) {
  #main .overview-dashboard .account-group.account-group--secondary > header {
    border-bottom: 1px solid var(--line-200);
    background: var(--bank-blue-050) !important;
    color: var(--bank-blue-700) !important;
  }
  #main .overview-dashboard .account-group.account-group--secondary > header small {
    color: var(--ink-600) !important;
  }
}

body:has(.overview-dashboard) .restriction-notice { margin: 0 0 12px; }
body:has(.overview-dashboard) .restriction-notice > div { padding: 10px 14px; }
body:has(.overview-dashboard) .restriction-notice a { min-height: 24px; white-space: nowrap; }
body:has(.overview-dashboard) .kyc-banner { margin: 0 0 12px; }

@media (max-width: 767px) {
  #main .overview-dashboard .overview-greeting { min-height: 0; padding: 2px 0 12px; }
}
