:root {
  --ink: #29234f;
  --muted: #625d78;
  --paper: #fffaf1;
  --line: #dfd8ed;
  --green: #6540b5;
  --accent: #fff0a6;
}
body { background: radial-gradient(ellipse at top right, #f0e5ff 0, transparent 50%), var(--paper); }
.brand-icon { background: #6540b5; color: #fff0a6; transform: rotate(-7deg); }
.brand, h1, h2 { font-family: ui-rounded, "Trebuchet MS", system-ui, sans-serif; font-weight: 800; }
h1, .welcome h1 { letter-spacing: -1.5px; }
.eyebrow, .family-badge { color: #625285; }
.primary { box-shadow: 0 3px 0 #422778; }
.primary:hover { background: #503092; }
.secondary:hover, .text-button:hover { background: #eee4ff; }
.balance-card { background: #d9f6ee; border: 2px solid #a4dece; box-shadow: 0 5px 0 #d0e9e1; }
.balance-card:nth-child(even) { background: #ffe3ee; border: 2px solid #edbad0; box-shadow: 0 5px 0 #efd6e1; }
.avatar { background: #fff9; border-color: #8bbdb2; color: #393062; font-family: inherit; font-weight: 800; }
.balance-card:nth-child(even) .avatar { border-color: #cd99b6; }
.card-label, .card-stats, .card-stats .spent, .pill { color: #514563; }
.pockets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.pocket { border-radius: 14px; padding: 13px 9px; border: 1px solid #ffffffc9; }
.pocket.spend { background: #fff0a6; }
.pocket.save { background: #e6d9ff; }
.pocket.give { background: #b8eafb; }
.pocket-name { font-size: 11px; font-weight: 800; margin-bottom: 7px; }
.pocket-value { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.move-button { margin-top: 14px; border: 1px solid #ad9ac8; background: #ffffffc9; color: #46316c; }
.move-button:hover { background: #fff; }
.activity-icon { background: #d9f6ee; color: #235647; }
.activity-icon.out { background: #ffe4ca; color: #75451b; }
.activity-icon.move { background: #e6d9ff; color: #53358c; }
.activity-amount.move { color: #53358c; }
.note-card { border-color: #e6ce70; }
.note-card h2 { font-family: inherit; font-weight: 800; font-size: 26px; }
.note-card p, .note-icon, .note-card strong { color: #64501e; }
.divider { border-color: #ddc86c; }
.status { background: #eee4ff; }
.status.error { background: #fff0ec; }
.account-actions { max-width: 370px; }
#save-move, #save-password { margin-top: 20px; }
.remember-option { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; line-height: 1.5; }
.remember-option input { width: 20px; height: 20px; min-height: 20px; flex-shrink: 0; accent-color: var(--green); }
.demo-banner { background: #fff0bc; border-color: #e2c96d; }
@media (max-width: 520px) {
  .account-actions { max-width: none; }
  .pocket { padding: 12px 8px; }
  .pocket-value { font-size: 17px; }
}
