:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #201b36;
  background: #f7f7fc;
  font-synthesis: none;
  --canvas: #f7f7fc;
  --surface: #fff;
  --ink: #201b36;
  --muted: #625b75;
  --purple: #4d36ab;
  --purple-hover: #3e278e;
  --soft-purple: #efebfb;
  --line: #e9e6f0;
  --positive: #087656;
  --danger: #a82d47;
  --radius: 23px;
  --sidebar-width: 226px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 280px; min-height: 100svh; margin: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
svg { display: block; width: 22px; height: 22px; flex: none; }
:focus-visible { outline: 3px solid #7a61d8; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: #ded3ff; color: #241553; }

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  color: inherit; font-size: 23px; font-weight: 800;
  letter-spacing: -.07em; line-height: 1; text-decoration: none;
}
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  gap: 2px; width: 34px; height: 34px; border-radius: 11px;
  background: #5236ba; color: #fff;
}
.brand-mark i {
  display: block; width: 3px; height: 16px; border-radius: 1px;
  background: currentColor; transform: rotate(24deg);
}
.brand-mark i:first-child { height: 9px; align-self: center; margin-top: 5px; }
.brand-mark i:last-child { height: 11px; margin-bottom: 5px; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 5px; align-self: center;
  padding: 4px 8px; border: 1px solid #e8e1fa; border-radius: 99px;
  background: #f3effd; color: #574194; font-size: 11px; font-weight: 700; white-space: nowrap;
}
.demo-badge > span, .card-status > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 7px;
  min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 12px;
  font-size: .875rem; font-weight: 700; line-height: 1.25; text-align: center;
}
.button svg { width: 17px; height: 17px; }
.button-primary { color: #fff; background: var(--purple); }
.button-primary:hover { background: var(--purple-hover); }
.button-secondary { color: var(--ink); background: #fff; border-color: #ded9ea; }
.button-secondary:hover { background: #f5f3fa; }
.button-soft { color: #4c329e; background: var(--soft-purple); }
.button-soft:hover { background: #e7dff9; }
.button-danger { color: #fff; background: var(--danger); }
.button-danger:hover { background: #8e213a; }
.icon-button {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  padding: 0; border: 0; border-radius: 13px; background: var(--canvas); color: var(--muted);
}
.icon-button:hover { color: var(--purple); background: var(--soft-purple); }

.setup { min-height: 100svh; background: #fff; }
.setup-visual {
  position: relative; height: clamp(218px, 33svh, 310px); overflow: hidden;
  isolation: isolate; color: #fff;
  background: radial-gradient(ellipse at 85% 3%, #7853d4 0%, transparent 65%), linear-gradient(140deg, #2b1a66, #4f2da3);
}
.setup-brand { position: absolute; top: max(23px, env(safe-area-inset-top)); left: 24px; display: flex; align-items: center; gap: 10px; z-index: 1; }
.setup-brand .brand-mark { background: #fff; color: #4c31a1; }
.setup-brand .demo-badge { border-color: #ffffff35; background: #ffffff22; color: #fff; }
.setup-rings {
  position: absolute; width: 360px; aspect-ratio: 1; top: -60px; left: 50%;
  border: 1px solid #fdedff30; border-radius: 50%; transform: translateX(-9%);
  box-shadow: 0 0 0 29px #f0d6ff10, 0 0 0 58px #f0d6ff0b, 0 0 0 88px #f0d6ff0b, 0 0 0 118px #f0d6ff0a;
}
.setup-cards { position: absolute; top: 58%; left: 52%; width: min(54%, 240px); transform: translate(-50%, -40%); }
.setup-shadow-card {
  position: absolute; inset: 0; border: 1px solid #f0d9ff5c; border-radius: 15px;
  transform: translate(9%, 3%) rotate(12deg);
  background: linear-gradient(135deg, #b48dfa80, #9e74f241);
}
.setup-card-art { transform: translate(-5%, -3%) rotate(-11deg); }
.setup-content { display: grid; align-items: center; justify-items: center; padding: 38px 24px max(28px, env(safe-area-inset-bottom)); }
.setup-form-wrap { width: min(100%, 380px); }
.setup-form-brand { display: none; }
.setup-content h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.055em; line-height: 1.08; font-weight: 780; }
.setup-content h1 + p { color: var(--muted); margin: 10px 0 27px; font-size: .975rem; line-height: 1.55; }
.setup-content .button { min-height: 48px; width: 100%; }
.setup-content .setup-note { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 21px; font-size: .82rem; line-height: 1.35; }
.setup-note svg { width: 16px; height: 16px; color: #6e56b0; }

.skip-link { position: fixed; left: 12px; top: 12px; padding: 12px; border-radius: 8px; background: #fff; transform: translateY(-160%); z-index: 5; }
.skip-link:focus { transform: translateY(0); }
.sidebar { display: none; }
.workspace { width: 100%; min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 11px;
  min-height: 68px; padding: 12px 17px; padding-top: max(12px, env(safe-area-inset-top));
}
.mobile-brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.header-search, .profile-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--line);
  border-radius: 13px; background: #fff; color: #594d71; text-decoration: none;
}
.header-search span { display: none; }
.header-search:hover, .profile-button:hover { border-color: #d9c9fa; color: var(--purple); }
.header-search svg { width: 19px; height: 19px; }
.profile-button { background: #efe9fc; border-color: #ece3fc; font-weight: 800; color: #5a3da9; font-size: .83rem; }
.profile-button[aria-current] { border-color: #b9a4e9; }
.main-content { max-width: 1264px; margin: 0 auto; padding: 10px 16px calc(100px + env(safe-area-inset-bottom)); }
.page-heading { margin-bottom: 19px; }
.page-heading h1 { font-size: clamp(1.94rem, 7.1vw, 3.1rem); line-height: 1.1; font-weight: 780; letter-spacing: -.059em; overflow-wrap: anywhere; }
.page-heading p { color: var(--muted); margin-top: 8px; font-size: .94rem; line-height: 1.5; }

.tab-bar {
  position: fixed; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px; padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid #e9e5f1;
  background: #fff;
}
.nav-link {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 54px; padding: 4px; border-radius: 12px; color: var(--muted);
  font-size: .71rem; font-weight: 650; line-height: 1.15; text-decoration: none; white-space: nowrap;
}
.tab-bar .nav-link { flex-direction: column; }
.nav-link svg { width: 20px; height: 20px; }
.nav-link:hover { background: #f8f5fd; }
.nav-link[aria-current] { color: #4d32a5; background: #f1ebfc; font-weight: 780; }

.dashboard-grid, .dashboard-primary, .dashboard-aside, .settings-grid, .settings-stack {
  display: grid; gap: 15px; min-width: 0; align-items: start;
}
.balance-card {
  position: relative; isolation: isolate; min-height: 204px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  padding: 17px 17px 22px; border-radius: var(--radius); color: #fff;
  background: radial-gradient(ellipse at 96% 12%, #6d46c8 0%, transparent 68%), linear-gradient(127deg, #302075, #4c2caa);
  box-shadow: 0 9px 25px #452c9b22;
}
.balance-decoration {
  position: absolute; z-index: -1; width: clamp(220px, 70%, 450px); aspect-ratio: 1;
  right: -17%; top: -45%; transform: rotate(-22deg) scaleX(.83); border: 1px solid #e3cfff48; border-radius: 50%;
  box-shadow: 0 0 0 27px #ecd4ff14, 0 0 0 48px #f1d4ff10, 0 0 0 74px #f1d4ff0d, 0 0 0 106px #f1d4ff0a;
}
.account-tabs {
  display: inline-flex; align-self: flex-start; gap: 3px; min-width: 0; max-width: 100%;
  padding: 3px; border: 1px solid #ffffff2c; border-radius: 12px; background: #24145253;
}
.account-tab {
  min-width: 0; min-height: 37px; padding: 7px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 0; border-radius: 8px; color: #f0e8ff; background: transparent; font-size: .79rem; font-weight: 700;
}
.account-tab:hover { background: #ffffff20; }
.account-tab[aria-pressed="true"] { background: #f7f3ff; color: #392380; }
.balance-content { min-width: 0; }
.balance-label { display: flex; align-items: center; gap: 8px; color: #eee4ff; font-size: .88rem; font-weight: 550; }
.balance-label span { color: #f7efff; border: 1px solid #ffffff40; background: #ffffff15; border-radius: 5px; padding: 2px 5px; font-size: .65rem; font-weight: 740; letter-spacing: .03em; }
.balance-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; margin-top: 1px; }
.balance-number {
  font-size: clamp(2.22rem, 10.6vw, 3.6rem); font-weight: 760; line-height: 1.1; letter-spacing: -.072em;
  min-width: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.balance-eye {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  border-radius: 12px; border: 0; background: transparent; color: #f6eeff;
}
.balance-eye:hover { background: #ffffff20; }
.balance-card :focus-visible { outline-color: #e7d7ff; }
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; min-width: 0; padding: 1px 0 2px; }
.quick-action {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px;
  min-height: 70px; padding: 2px 0; border: 0; border-radius: 13px; background: transparent;
  color: #31264f; font-size: .73rem; font-weight: 720; line-height: 1.3; text-align: center;
}
.quick-icon {
  display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #e9e0fc;
  border-radius: 14px; color: #5135ab; background: #eee8fc;
}
.quick-action:hover .quick-icon { background: #e4d9fb; }
.quick-icon svg { width: 21px; height: 21px; }

.panel { min-width: 0; padding: 16px; border: 1px solid #eeebf5; border-radius: var(--radius); background: var(--surface); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; margin-bottom: 12px; }
.panel-heading h2 { min-width: 0; font-size: 1.08rem; font-weight: 780; letter-spacing: -.024em; overflow-wrap: anywhere; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 3px;
  color: var(--purple); font-size: .82rem; font-weight: 750; text-decoration: none; white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 7px 0 14px; text-align: center; }
.empty-icon, .transaction-icon, .settings-icon {
  display: grid; place-items: center; background: var(--soft-purple); color: #5a3eaa; flex: none;
  width: 42px; height: 42px; border-radius: 13px;
}
.empty-icon { width: 46px; height: 46px; margin-bottom: 10px; }
.empty-icon svg, .transaction-icon svg, .settings-icon svg { width: 19px; height: 19px; }
.empty-state h3 { font-size: .96rem; font-weight: 770; letter-spacing: -.018em; }
.empty-state p { font-size: .82rem; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.empty-state .button { margin-top: 13px; }
.transaction-list { margin: 0; padding: 0; list-style: none; }
.transaction-list li + li { border-top: 1px solid #f0edf5; }
.transaction-row, .settings-row {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 62px; padding: 7px 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink); text-align: left;
}
.transaction-row:hover, .settings-row:hover { background: #faf8fd; }
.transaction-copy { display: grid; min-width: 0; gap: 2px; flex: 1; }
.transaction-copy strong, .settings-row-label { font-size: .875rem; font-weight: 720; overflow-wrap: anywhere; }
.transaction-copy small { color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
.transaction-value { max-width: 45%; font-size: .88rem; font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.transaction-value.positive { color: var(--positive); }
.transaction-in { color: #117456; background: #e8f6ef; }
.transaction-out { color: #5f536f; background: #f2eef5; }
.transaction-transfer { color: #5a3eaa; background: #f2ecfc; }

.card-art {
  display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate;
  width: 100%; aspect-ratio: 1.72; overflow: hidden; border-radius: 16px; padding: 14px;
  color: #fbf8ff; border: 1px solid #f4e8ff5e;
  background: radial-gradient(ellipse at 90% 0%, #9765e0, transparent 78%), linear-gradient(133deg, #5130a5, #6d3dc0 60%, #7748c2);
  box-shadow: 0 6px 18px #572e982c;
}
.card-art::before, .card-art::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; transform: rotate(-32deg) scaleX(.73); pointer-events: none; }
.card-art::before {
  width: 122%; aspect-ratio: 1; top: -63%; left: 18%; border: 1px solid #f9ddff5f;
  box-shadow: 0 0 0 14px #ecd4ff22, 0 0 0 29px #f1dcff16, 0 0 0 48px #f1dcff12, 0 0 0 65px #f1dcff0d;
}
.card-art::after { width: 96%; aspect-ratio: 1; top: -44%; left: 38%; border: 1px solid #f5daff53; }
.card-art-frozen { filter: saturate(.56); }
.card-art-top, .card-art-bottom { display: flex; align-items: center; justify-content: space-between; }
.card-art-top span { font-size: clamp(.95rem, 4vw, 1.3rem); font-weight: 820; letter-spacing: -.07em; }
.card-art-top svg { width: 18px; height: 18px; opacity: .9; }
.card-art-bottom > span:last-child { font-size: .75rem; font-weight: 650; letter-spacing: .12em; }
.card-chip {
  position: relative; display: grid; place-items: center; width: 27px; height: 20px; overflow: hidden;
  border-radius: 4px; border: 1px solid #f7e0ff9c; background: linear-gradient(135deg, #ead7fb99, #eacfef33);
}
.card-chip::before, .card-chip::after { content: ""; display: block; position: absolute; width: 100%; height: 1px; background: #e7cdfc9e; }
.card-chip::before { top: 5px; }
.card-chip::after { bottom: 5px; }
.card-chip i { width: 9px; height: 100%; border: 1px solid #ead8fbaf; background: #cfaced; border-radius: 3px; z-index: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 14px; }
.card-meta > strong { font-size: .9rem; font-weight: 720; overflow-wrap: anywhere; }
.card-status {
  display: inline-flex; align-items: center; flex: none; gap: 5px; padding: 4px 8px; border-radius: 99px;
  font-size: .72rem; font-weight: 700; color: #0c7354; background: #e9f6ef;
}
.card-status.is-frozen { color: #3d56a2; background: #eaf0ff; }
.settings-list { min-width: 0; }
.settings-row + .settings-row { border-top: 1px solid #f0edf5; }
.settings-row-label { flex: 1; min-width: 0; }
.settings-row-value { color: var(--muted); font-size: .82rem; max-width: 44%; text-align: right; overflow-wrap: anywhere; }
.row-chevron { color: #777085; flex: none; }
.row-chevron svg { width: 15px; height: 15px; }
.settings-empty { color: var(--muted); padding: 4px 0 8px; font-size: .9rem; }
.danger-row, .danger-row .settings-icon { color: var(--danger); }
.danger-row .settings-icon { background: #fceef1; }
.settings-panel .panel-heading { min-height: 37px; margin-bottom: 4px; }

.activity-controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; }
.search-field {
  display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 46px; padding: 0 10px;
  border: 1px solid #e2dcec; border-radius: 12px; color: var(--muted); background: #fcfbfe;
}
.search-field svg { width: 19px; height: 19px; }
.search-field:focus-within { outline: 2px solid #8f77df; outline-offset: 1px; }
.search-field input { flex: 1; width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-field input::placeholder { color: #746b85; }
.filter-group { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-pill {
  min-height: 44px; padding: 5px 11px; border: 1px solid #e7e0f0; border-radius: 100px;
  background: #fff; color: var(--muted); font-size: .82rem; font-weight: 680;
}
.filter-pill:hover { background: #f7f3fe; }
.filter-pill[aria-pressed="true"] { background: var(--soft-purple); color: var(--purple); border-color: #eadffd; }
.inner-panel, .activity-page, .cards-page { max-width: 650px; }
.full-card { max-width: 375px; }
.card-ending { margin: 16px 0; color: var(--muted); font-size: .9rem; }
.card-controls { display: flex; flex-wrap: wrap; gap: 8px; }

.modal {
  position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: min(91dvh, 760px); margin: 0;
  padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 24px 24px 0 0;
  color: var(--ink); background: #fff; box-shadow: 0 18px 80px #2719414c;
}
.modal::backdrop { background: #21183b86; }
.dialog-header {
  position: sticky; z-index: 1; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 17px 12px; background: #fff; border-bottom: 1px solid #f2eef6;
}
.eyebrow { color: var(--purple); font-size: .74rem; font-weight: 740; margin-bottom: 4px; }
.dialog-header h2 { font-size: 1.42rem; font-weight: 790; letter-spacing: -.035em; line-height: 1.15; overflow-wrap: anywhere; }
.dialog-body { padding: 16px 17px max(17px, env(safe-area-inset-bottom)); }
.dialog-body p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.dialog-body > p { margin-bottom: 10px; }
.form-stack { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; min-width: 0; color: #36304d; font-size: .84rem; font-weight: 700; }
.field input, .field select {
  width: 100%; min-width: 0; min-height: 46px; padding: 9px 10px;
  border: 1px solid #dfd9ea; border-radius: 11px; color: var(--ink); background: #fdfcfe; font-size: 1rem; font-weight: 500;
}
.field input::placeholder { color: #7b728a; }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 13px; min-width: 0; }
p.form-error { color: #92233d; font-size: .84rem; font-weight: 650; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; }
.dialog-actions .button-danger:first-child { margin-right: auto; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; padding: 8px 0; }
.detail-list > div + div { border-top: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: .86rem; }
.detail-list dd { min-width: 0; margin: 0; color: var(--ink); font-size: .9rem; font-weight: 720; text-align: right; overflow-wrap: anywhere; }
.review-panel { padding: 5px 12px; border: 1px solid #eee9f6; border-radius: 12px; background: #f9f7fd; }
.toast {
  position: fixed; z-index: 5; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom)); max-width: calc(100vw - 30px);
  padding: 10px 15px; border-radius: 12px; background: #2b2247; color: #fff; font-size: .85rem; font-weight: 650;
  box-shadow: 0 8px 26px #2b224743; opacity: 0; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s;
  pointer-events: none; text-align: center;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 375px) {
  .topbar { padding-inline: 21px; }
  .main-content { padding-inline: 20px; }
  .balance-card { padding-inline: 21px; }
  .panel { padding: 17px; }
  .quick-action { font-size: .78rem; }
  .quick-icon { width: 48px; height: 48px; }
}

@media (min-width: 470px) {
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .modal { inset: 0; width: min(calc(100% - 32px), 490px); max-height: min(calc(100dvh - 32px), 760px); margin: auto; border-radius: 23px; }
  .dialog-header { padding: 20px 22px 13px; }
  .dialog-body { padding: 18px 22px 22px; }
}

@media (min-width: 650px) {
  .main-content { padding-inline: 30px; }
  .topbar { padding-inline: 30px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .65fr); }
  .balance-card { min-height: 222px; }
  .quick-actions { padding-inline: 5px; }
  .setup { display: grid; grid-template-columns: 47% 53%; }
  .setup-visual { height: auto; min-height: 100svh; }
  .setup-brand { top: 34px; left: 32px; }
  .setup-rings { width: min(46vw, 675px); top: 22%; left: 34%; }
  .setup-cards { width: min(65%, 355px); }
  .setup-content { padding: 36px; }
}

@media (min-width: 960px) {
  .app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); align-items: start; }
  .sidebar {
    position: sticky; top: 0; display: flex; flex-direction: column;
    min-height: 100dvh; padding: 28px 17px 17px; border-right: 1px solid var(--line); background: #fff;
  }
  .sidebar-brand { display: flex; align-items: center; gap: 12px; margin: 0 10px 35px; }
  .sidebar .brand-mark { width: 39px; height: 39px; }
  .sidebar-nav { display: grid; gap: 5px; }
  .sidebar .nav-link { justify-content: flex-start; gap: 11px; min-height: 46px; padding: 7px 12px; font-size: .89rem; }
  .sidebar-bottom { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
  .tab-bar, .mobile-brand { display: none; }
  .topbar { min-height: 84px; padding: 18px 36px; border-bottom: 1px solid #eeebf6; }
  .header-search { width: min(220px, 32vw); justify-content: flex-start; padding: 0 12px; }
  .header-search span { display: inline; font-size: .84rem; font-weight: 600; }
  .main-content { padding: 32px 36px 44px; }
  .page-heading { margin-bottom: 23px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.66fr) minmax(245px, 1fr); gap: 21px; }
  .dashboard-primary, .dashboard-aside, .settings-stack { gap: 17px; }
  .balance-card { min-height: 244px; padding: 22px 26px 25px; }
  .account-tab { padding-inline: 13px; }
  .balance-number { font-size: clamp(2.6rem, 5vw, 4rem); }
  .quick-actions { gap: 9px; padding: 0; }
  .quick-action { min-height: 76px; justify-content: center; padding: 5px; border: 1px solid #eeebf5; background: #fff; font-size: .78rem; }
  .quick-action:hover { background: #fbf9ff; }
  .quick-icon { width: 36px; height: 36px; border-radius: 10px; }
  .quick-icon svg { width: 18px; height: 18px; }
  .panel { padding: 19px; }
  .settings-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr); gap: 17px; }
  .toast { bottom: 26px; }
}

@media (min-width: 1200px) {
  .topbar { padding-inline: 46px; }
  .main-content { padding-inline: 46px; }
  .dashboard-grid { gap: 24px; }
  .panel { padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
