:root {
  --navy-950: #020d23;
  --navy-900: #051a42;
  --navy-800: #0d2b5e;
  --blue-700: #2e5090;
  --blue-500: #5b87d9;
  --blue-100: #edf2fb;
  --gold-300: #eedebb;
  --gold-500: #c5a880;
  --bronze-600: #866d4b;
  --ivory: #fdfcf8;
  --surface: #ffffff;
  --surface-soft: #f4f6f9;
  --ink: #13213a;
  --muted: #67758a;
  --border: #e3e8ef;
  --success: #1d7a55;
  --danger: #a73a42;
  --shadow-sm: 0 8px 24px rgba(5, 26, 66, 0.08);
  --shadow-lg: 0 28px 80px rgba(2, 13, 35, 0.2);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --font-sans: "Poppins", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--surface-soft); }
body { min-height: 100vh; margin: 0; color: var(--ink); font-family: var(--font-sans); background: var(--surface-soft); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.preview-ribbon {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-width: 290px;
  padding: 7px 18px 8px;
  border-radius: 0 0 12px 12px;
  background: var(--gold-300);
  color: var(--navy-900);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
  box-shadow: 0 5px 18px rgba(5, 26, 66, .12);
}

.eyebrow, .section-kicker {
  margin: 0 0 10px;
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow--blue, .section-kicker { color: var(--blue-700); }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(440px, 1.05fr) minmax(500px, .95fr); background: var(--surface); }
.brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 20%, rgba(91, 135, 217, .2), transparent 30%),
    linear-gradient(142deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: white;
}
.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background: url("assets/royal-pattern.svg") center/cover no-repeat;
  mix-blend-mode: screen;
}
.brand-panel::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(238, 222, 187, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(238, 222, 187, .03), 0 0 0 140px rgba(238, 222, 187, .025);
}
.brand-panel__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2, 13, 35, .45)); }
.brand-panel__inner { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 100vh; padding: 64px clamp(44px, 6vw, 96px) 48px; }
.brand-lockup { width: min(330px, 75%); }
.brand-lockup img { width: 100%; }
.brand-copy { max-width: 690px; margin: auto 0 56px; }
.brand-copy h1 { max-width: 670px; margin: 0 0 24px; font: 400 clamp(42px, 5.5vw, 76px)/1.06 var(--font-display); letter-spacing: -.035em; }
.brand-copy > p:last-child { max-width: 610px; margin: 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.8; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 650px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.trust-row div { display: flex; flex-direction: column; gap: 5px; }
.trust-row strong { color: var(--gold-300); font: 400 22px var(--font-display); }
.trust-row span { color: rgba(255,255,255,.6); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.brand-footer { margin: 36px 0 0; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

.login-panel { display: grid; min-height: 100vh; place-items: center; padding: 72px clamp(42px, 7vw, 100px); background: linear-gradient(145deg, #fff 0%, var(--ivory) 100%); }
.login-shell { width: min(100%, 480px); }
.mobile-brand { display: none; }
.login-heading { margin-bottom: 34px; }
.crown-mark { display: inline-grid; width: 52px; height: 52px; margin-bottom: 24px; place-items: center; border: 1px solid rgba(197, 168, 128, .4); border-radius: 50%; background: rgba(238,222,187,.18); }
.crown-mark img { width: 25px; }
.login-heading h2 { margin: 0 0 12px; color: var(--navy-900); font: 400 clamp(34px, 4vw, 48px)/1.1 var(--font-display); letter-spacing: -.025em; }
.login-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.login-form { display: grid; gap: 20px; }
.login-form label > span:first-child { display: block; margin-bottom: 8px; color: var(--navy-900); font-size: 12px; font-weight: 600; }
.login-form input[type="text"], .login-form input[type="password"] { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid #d5dce6; border-radius: var(--radius-sm); outline: 0; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.login-form input:focus { border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(46,80,144,.1); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 70px !important; }
.text-button { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); border: 0; color: var(--blue-700); background: transparent; font-size: 12px; font-weight: 600; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -2px 0 4px; color: var(--muted); font-size: 12px; }
.form-options a { color: var(--blue-700); font-weight: 600; text-decoration: none; }
.checkbox { display: flex !important; align-items: center; gap: 9px; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--navy-900); }
.checkbox span { margin: 0 !important; color: var(--muted) !important; font-weight: 400 !important; }
.primary-button, .secondary-button { min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; letter-spacing: .02em; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { border: 1px solid var(--navy-900); color: #fff; background: var(--navy-900); box-shadow: 0 12px 28px rgba(5,26,66,.18); }
.primary-button:hover { transform: translateY(-1px); background: var(--navy-800); box-shadow: 0 15px 32px rgba(5,26,66,.24); }
.secondary-button { border: 1px solid rgba(5,26,66,.2); color: var(--navy-900); background: transparent; }
.secondary-button:hover { border-color: var(--navy-900); background: rgba(5,26,66,.035); }
.form-message { min-height: 18px; margin: -8px 0 0; color: var(--bronze-600); font-size: 11px; line-height: 1.6; }
.security-note { display: flex; gap: 12px; margin-top: 28px; padding: 16px; border: 1px solid rgba(46,80,144,.12); border-radius: var(--radius-sm); background: var(--blue-100); }
.security-icon { display: grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-700); font-size: 12px; }
.security-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.security-note strong { color: var(--navy-900); font-size: 12px; }
.login-footer { display: flex; justify-content: center; gap: 10px; margin-top: 30px; color: #8b96a7; font-size: 10px; }
.login-footer a { text-decoration: none; }
.login-footer a:hover { color: var(--blue-700); }

.dashboard-view { min-height: 100vh; background: var(--surface-soft); }
.sidebar { position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; display: flex; width: 270px; flex-direction: column; padding: 30px 20px 22px; color: #fff; background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 65%, var(--navy-800)); box-shadow: 16px 0 40px rgba(5,26,66,.08); }
.sidebar::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background: url("assets/royal-pattern.svg") 40% center/cover no-repeat; }
.sidebar > * { position: relative; z-index: 1; }
.sidebar__brand { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 12px 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.sidebar__brand img { width: 182px; }
.sidebar__close { display: none !important; color: white !important; }
.sidebar__nav { display: grid; gap: 7px; margin-top: 30px; }
.nav-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px; color: rgba(255,255,255,.66); background: transparent; text-align: left; font-size: 12px; transition: color .2s, background .2s; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.is-active { color: var(--navy-900); background: var(--gold-300); font-weight: 600; }
.nav-icon { font-size: 17px; line-height: 1; }
.nav-badge { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: var(--navy-900); background: var(--gold-300); font-size: 9px; font-weight: 700; }
.nav-item.is-active .nav-badge { color: #fff; background: var(--navy-900); }
.sidebar__support { margin-top: auto; padding: 20px 16px; border: 1px solid rgba(238,222,187,.16); border-radius: 14px; background: rgba(255,255,255,.05); }
.sidebar__support p { margin: 0 0 5px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.sidebar__support strong { display: block; color: var(--gold-300); font: 400 19px var(--font-display); }
.sidebar__support a { display: inline-block; margin-top: 14px; color: #fff; font-size: 10px; text-decoration: none; }
.sidebar__logout { min-height: 42px; margin-top: 12px; border: 0; color: rgba(255,255,255,.62); background: transparent; font-size: 11px; text-align: left; }
.sidebar-scrim { display: none; }

.app-shell { min-height: 100vh; margin-left: 270px; }
.topbar { position: sticky; z-index: 50; top: 0; display: flex; min-height: 86px; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 58px); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.topbar__left, .topbar__right, .profile-button { display: flex; align-items: center; }
.topbar__left { gap: 15px; }
.topbar__date { margin: 0 0 3px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.topbar h2 { margin: 0; color: var(--navy-900); font: 400 24px var(--font-display); }
.topbar__right { gap: 15px; }
.icon-button { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--navy-900); background: #fff; }
.menu-button { display: none; }
.notification-button { position: relative; font-size: 18px; }
.notification-button span { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: var(--gold-500); }
.profile-button { gap: 10px; padding: 5px 8px 5px 5px; border: 0; color: var(--ink); background: transparent; text-align: left; }
.profile-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--gold-300); background: var(--navy-900); font-size: 11px; font-weight: 700; }
.profile-copy { display: flex; flex-direction: column; min-width: 120px; }
.profile-copy strong { color: var(--navy-900); font-size: 11px; }
.profile-copy small { color: var(--muted); font-size: 9px; }
.content-wrap { width: min(100%, 1540px); margin: 0 auto; padding: 44px clamp(24px, 4vw, 58px) 54px; }
.welcome-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.welcome-row h1 { margin: 0 0 8px; color: var(--navy-900); font: 400 clamp(32px, 4vw, 46px)/1.08 var(--font-display); letter-spacing: -.025em; }
.welcome-row > div > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.demo-chip { padding: 8px 12px; border: 1px solid rgba(134,109,75,.2); border-radius: 999px; color: var(--bronze-600); background: rgba(238,222,187,.35); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.hero-balance-card { position: relative; overflow: hidden; min-height: 286px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--blue-700) 140%); box-shadow: var(--shadow-lg); }
.hero-balance-card__pattern { position: absolute; inset: 0; opacity: .1; background: url("assets/royal-pattern.svg") 80% 38%/800px auto no-repeat; mix-blend-mode: screen; }
.hero-balance-card::after { content: ""; position: absolute; top: -80px; right: -30px; width: 340px; height: 340px; border: 1px solid rgba(238,222,187,.15); border-radius: 50%; box-shadow: 0 0 0 50px rgba(238,222,187,.03), 0 0 0 100px rgba(238,222,187,.02); }
.hero-balance-card__content { position: relative; z-index: 2; display: flex; min-height: 286px; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 48px); }
.balance-topline { display: flex; justify-content: space-between; gap: 30px; }
.balance-topline p { margin: 0 0 8px; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .04em; }
.balance-topline h2 { margin: 0 0 10px; color: #fff; font: 400 clamp(38px, 5vw, 62px)/1 var(--font-display); letter-spacing: -.03em; }
.balance-topline span { color: var(--gold-300); font-size: 11px; }
.balance-topline img { width: 52px; align-self: flex-start; opacity: .9; }
.balance-meta { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.balance-meta div { display: flex; flex-direction: column; gap: 5px; }
.balance-meta span { color: rgba(255,255,255,.48); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.balance-meta strong { font-size: 11px; font-weight: 500; }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 30px; }
.quick-actions button { display: grid; grid-template-columns: 45px 1fr; grid-template-rows: auto auto; min-height: 92px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); background: var(--surface); box-shadow: 0 5px 20px rgba(5,26,66,.035); text-align: left; transition: transform .2s, border-color .2s, box-shadow .2s; }
.quick-actions button:hover { transform: translateY(-2px); border-color: rgba(46,80,144,.25); box-shadow: var(--shadow-sm); }
.quick-actions button > span { grid-row: 1 / 3; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--gold-300); background: var(--navy-900); font-size: 18px; }
.quick-actions strong { color: var(--navy-900); font-size: 11px; }
.quick-actions small { color: var(--muted); font-size: 9px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .8fr); gap: 22px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 6px 22px rgba(5,26,66,.035); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px 18px; }
.panel-heading h3 { margin: 0; color: var(--navy-900); font: 400 24px var(--font-display); }
.section-kicker { margin-bottom: 5px; font-size: 8px; }
.link-button { border: 0; color: var(--blue-700); background: transparent; font-size: 10px; font-weight: 600; }
.account-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; margin: 0 26px; padding: 18px 0; border-top: 1px solid var(--border); }
.account-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--gold-300); background: var(--navy-900); font: 400 20px var(--font-display); }
.account-icon--light { color: var(--navy-900); background: var(--gold-300); }
.account-details, .account-amount { display: flex; flex-direction: column; gap: 4px; }
.account-details strong, .account-amount strong { color: var(--navy-900); font-size: 11px; }
.account-details span, .account-amount span { color: var(--muted); font-size: 9px; }
.account-amount { text-align: right; }
.wealth-panel { min-height: 100%; }
.performance-badge { padding: 6px 9px; border-radius: 999px; color: var(--success); background: rgba(29,122,85,.09); font-size: 9px; font-weight: 700; }
.donut-row { display: flex; align-items: center; gap: 24px; padding: 10px 26px 28px; }
.donut { position: relative; display: grid; flex: 0 0 132px; height: 132px; place-items: center; border-radius: 50%; background: conic-gradient(var(--navy-900) 0 54%, var(--gold-500) 54% 82%, var(--blue-500) 82% 100%); }
.donut::before { content: ""; position: absolute; width: 88px; height: 88px; border-radius: 50%; background: white; }
.donut span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; color: var(--navy-900); font: 400 20px var(--font-display); }
.donut small { color: var(--muted); font: 400 8px var(--font-sans); text-transform: uppercase; letter-spacing: .08em; }
.allocation-list { display: grid; gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; }
.allocation-list li { display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); }
.dot--two { background: var(--gold-500); }
.dot--three { background: var(--blue-500); }
.allocation-list div { display: flex; width: 100%; justify-content: space-between; gap: 10px; }
.allocation-list strong, .allocation-list small { font-size: 9px; }
.allocation-list strong { color: var(--ink); font-weight: 500; }
.allocation-list small { color: var(--muted); }
.transactions-panel { grid-column: 1 / 2; }
.transaction-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; margin: 0 26px; padding: 15px 0; border-top: 1px solid var(--border); }
.transaction-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--navy-900); background: var(--blue-100); font-size: 15px; }
.transaction-icon--in { color: var(--success); background: rgba(29,122,85,.08); }
.transaction-row > div:nth-child(2), .transaction-amount { display: flex; flex-direction: column; gap: 4px; }
.transaction-row strong { color: var(--navy-900); font-size: 10px; }
.transaction-row span, .transaction-amount small { color: var(--muted); font-size: 8px; }
.transaction-amount { align-items: flex-end; color: var(--ink); font-size: 10px; font-weight: 600; }
.transaction-amount--in { color: var(--success); }
.manager-panel { grid-column: 2 / 3; grid-row: 2 / 3; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; background: linear-gradient(145deg, #fff, var(--ivory)); }
.manager-card { display: grid; gap: 18px; }
.manager-avatar { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(197,168,128,.35); border-radius: 50%; color: var(--gold-300); background: var(--navy-900); font: 400 18px var(--font-display); }
.manager-card h3 { margin: 0 0 10px; color: var(--navy-900); font: 400 24px var(--font-display); }
.manager-card p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.manager-actions { display: grid; gap: 10px; margin-top: 24px; }
.manager-actions a { display: flex; min-height: 42px; align-items: center; justify-content: center; border: 1px solid rgba(5,26,66,.15); border-radius: 10px; color: var(--navy-900); font-size: 9px; font-weight: 600; text-decoration: none; }
.manager-actions a:first-child { border-color: var(--navy-900); color: white; background: var(--navy-900); }
.generic-page-card { display: grid; min-height: 520px; place-items: center; align-content: center; padding: 60px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: white; text-align: center; box-shadow: var(--shadow-sm); }
.generic-page-card img { width: 54px; margin-bottom: 22px; }
.generic-page-card h1 { margin: 0 0 16px; color: var(--navy-900); font: 400 42px var(--font-display); }
.generic-page-card > p:not(.eyebrow) { max-width: 660px; margin: 0 0 30px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.generic-page-card .secondary-button { width: 220px; }
.app-footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px clamp(24px, 4vw, 58px) 30px; color: #8995a6; font-size: 8px; }
.app-footer > div:last-child { display: flex; gap: 18px; }
.app-footer a { text-decoration: none; }

.action-dialog { width: min(92vw, 440px); padding: 42px; border: 0; border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow-lg); text-align: center; }
.action-dialog::backdrop { background: rgba(2,13,35,.65); backdrop-filter: blur(6px); }
.action-dialog img { width: 42px; margin: 0 auto 22px; }
.action-dialog h2 { margin: 0 0 12px; color: var(--navy-900); font: 400 32px var(--font-display); }
.action-dialog p:not(.eyebrow) { margin: 0 0 26px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.action-dialog .primary-button { width: 100%; }
.dialog-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; color: var(--muted); background: transparent; font-size: 24px; }

@media (max-width: 1180px) {
  .login-view { grid-template-columns: .9fr 1.1fr; }
  .brand-copy h1 { font-size: 54px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .transactions-panel, .manager-panel { grid-column: auto; grid-row: auto; }
}

@media (max-width: 900px) {
  .login-view { display: block; background: var(--ivory); }
  .brand-panel { display: none; }
  .login-panel { min-height: 100vh; padding: 72px 28px 40px; }
  .mobile-brand { display: block; width: 245px; margin: 0 auto 46px; }
  .crown-mark { display: none; }
  .login-heading { text-align: center; }
  .sidebar { transform: translateX(-104%); transition: transform .25s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar__close { display: inline-grid !important; border-color: rgba(255,255,255,.2); background: transparent; }
  .sidebar-scrim { position: fixed; z-index: 90; inset: 0; background: rgba(2,13,35,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .sidebar-scrim.is-visible { display: block; opacity: 1; pointer-events: auto; }
  .app-shell { margin-left: 0; }
  .menu-button { display: inline-grid; }
  .profile-copy { display: none; }
  .content-wrap { padding-top: 32px; }
}

@media (max-width: 680px) {
  .preview-ribbon { min-width: 250px; font-size: 8px; }
  .login-panel { padding-inline: 20px; }
  .login-heading h2 { font-size: 38px; }
  .form-options { align-items: flex-start; flex-direction: column; gap: 12px; }
  .topbar { min-height: 74px; padding-inline: 16px; }
  .topbar__right { gap: 4px; }
  .profile-button { padding-right: 0; }
  .content-wrap { padding: 28px 16px 40px; }
  .welcome-row { align-items: flex-start; flex-direction: column; }
  .welcome-row h1 { font-size: 34px; }
  .hero-balance-card, .hero-balance-card__content { min-height: 350px; }
  .hero-balance-card__content { padding: 28px 22px; }
  .balance-topline h2 { font-size: 42px; }
  .balance-topline img { width: 38px; }
  .balance-meta { grid-template-columns: 1fr; gap: 14px; }
  .quick-actions { grid-template-columns: 1fr; }
  .account-row { grid-template-columns: 44px 1fr; }
  .account-amount { grid-column: 2; align-items: flex-start; text-align: left; }
  .donut-row { align-items: flex-start; flex-direction: column; }
  .transaction-row { grid-template-columns: 38px 1fr; }
  .transaction-amount { grid-column: 2; align-items: flex-start; }
  .panel-heading, .manager-panel { padding-inline: 20px; }
  .account-row, .transaction-row { margin-inline: 20px; }
  .generic-page-card { min-height: 460px; padding: 36px 20px; }
  .app-footer { flex-direction: column; }
}
