:root,[data-theme=vivid]{--bg: #f4f2ff;--glow-1: #e7e0ff;--glow-2: #ffe3f1;--surface: #ffffff;--surface-2: #f5f2ff;--text: #1f1b2e;--muted: #6f6a86;--border: #e8e4f7;--accent: #6c5ce7;--accent-2: #ff5fa2;--accent-soft: #ece9ff;--on-accent: #ffffff;--positive: #12a06a;--negative: #e5484d;--warning: #d97706;--shadow: rgba(76, 56, 160, .16);--nav-bg: rgba(255, 255, 255, .92);color-scheme:light}[data-theme=nude]{--bg: #f6f0e8;--glow-1: #efe2d0;--glow-2: #f8e6df;--surface: #fffaf4;--surface-2: #f4ebdf;--text: #352c24;--muted: #8a7a6b;--border: #e8dbc9;--accent: #b07a4f;--accent-2: #c98b6b;--accent-soft: #f1e3d2;--on-accent: #ffffff;--positive: #4f8a5b;--negative: #b3503f;--warning: #a16207;--shadow: rgba(120, 90, 60, .18);--nav-bg: rgba(255, 250, 244, .93);color-scheme:light}[data-theme=dark]{--bg: #121216;--glow-1: #1d1a2e;--glow-2: #241a24;--surface: #1c1c23;--surface-2: #24242d;--text: #f2f0f7;--muted: #a09aae;--border: #2c2c36;--accent: #8b7cf6;--accent-2: #f077b0;--accent-soft: #2a2740;--on-accent: #ffffff;--positive: #4ade80;--negative: #f87171;--warning: #fbbf24;--shadow: rgba(0, 0, 0, .45);--nav-bg: rgba(28, 28, 35, .93);color-scheme:dark}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100dvh;font-family:Segoe UI,system-ui,-apple-system,Roboto,sans-serif;background:radial-gradient(1100px 520px at 8% -12%,var(--glow-1) 0%,transparent 62%),radial-gradient(900px 480px at 108% 6%,var(--glow-2) 0%,transparent 58%),var(--bg);background-attachment:fixed;color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overscroll-behavior-y:none}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}h1,h2,h3,p{margin:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app-shell{width:100%;max-width:560px;margin:0 auto;min-height:100dvh;padding-bottom:calc(86px + env(safe-area-inset-bottom))}.screen{display:flex;flex-direction:column;gap:16px;padding:22px 18px 28px;animation:fade-in .22s ease}.page-head h1{margin-top:2px;font-size:30px;letter-spacing:-.03em}.page-head--row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.eyebrow{font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:700}.card{background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:0 16px 36px -28px var(--shadow)}.month-switcher{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:16px}.month-label{display:flex;flex-direction:column;align-items:center;gap:1px;font-weight:700;font-size:15px}.link-btn{border:none;background:none;color:var(--accent);font-size:11.5px;font-weight:700;padding:0}.icon-btn{display:grid;place-items:center;width:40px;height:40px;border:none;border-radius:12px;background:transparent;color:var(--text);font-size:20px;transition:background .15s ease}.icon-btn:hover{background:var(--surface-2)}.icon-btn--danger{color:var(--negative)}.summary{padding:20px;background:radial-gradient(420px 200px at 100% 0%,var(--accent-soft) 0%,transparent 70%),var(--surface)}.summary-big{display:block;margin:4px 0 16px;font-size:36px;line-height:1.1;letter-spacing:-.04em}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;padding-top:14px;border-top:1px dashed var(--border)}.summary-grid>div{display:flex;flex-direction:column;gap:2px}.label{font-size:12px;color:var(--muted);font-weight:600}.positive{color:var(--positive)}.negative{color:var(--negative)}.days{display:flex;flex-direction:column;gap:16px}.day-title{margin:0 0 6px 8px;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:700}.tx-list{padding:2px 0;overflow:hidden}.tx-row{display:flex;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;border-bottom:1px solid var(--border);transition:background .12s ease}.tx-row:last-child{border-bottom:none}.tx-row:hover{background:var(--surface-2)}.tx-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.tx-title{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-sub{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-amount{margin-left:auto;font-size:14.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.cat-icon{display:inline-grid;place-items:center;flex:0 0 auto;border-radius:14px}.cat-icon--sm{width:30px;height:30px;font-size:15px;border-radius:10px}.cat-icon--md{width:40px;height:40px;font-size:19px}.cat-icon--lg{width:48px;height:48px;font-size:23px;border-radius:16px}.empty{padding:34px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.empty-emoji{font-size:42px;line-height:1;margin-bottom:2px}.empty h2{font-size:18px}.empty p{color:var(--muted);font-size:13.5px;line-height:1.5;max-width:300px}.empty .btn{margin-top:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;border-radius:14px;border:none;font-size:14.5px;font-weight:700;text-decoration:none;transition:filter .15s ease,background .15s ease}.btn:disabled{opacity:.45;cursor:default}.btn-primary{background:var(--accent);color:var(--on-accent);box-shadow:0 12px 24px -14px var(--accent)}.btn-primary:not(:disabled):hover{filter:brightness(1.06)}.btn-ghost{background:var(--surface-2);border:1px solid var(--border);color:var(--text)}.btn-danger{color:var(--negative)}.btn-small{padding:9px 12px;font-size:13px;border-radius:12px}.btn-save{width:100%;padding:16px;margin-top:4px}.topbar{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:8px}.topbar h1{font-size:17px;text-align:center;font-weight:700}.topbar-spacer{width:40px}.segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:var(--surface-2);border-radius:14px}.segment button{padding:10px;border:none;border-radius:11px;background:transparent;color:var(--muted);font-weight:700;font-size:14px;transition:background .15s ease,color .15s ease}.segment button.is-active{background:var(--surface);color:var(--text);box-shadow:0 6px 16px -10px var(--shadow)}.amount-field{display:flex;align-items:baseline;justify-content:center;gap:6px;padding:18px 18px 14px;background:var(--surface);border:1px solid var(--border);border-radius:22px}.amount-field input{width:100%;max-width:320px;border:none;outline:none;background:transparent;text-align:center;font-size:44px;font-weight:800;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.amount-field input::placeholder{color:var(--border)}.amount-currency{font-size:24px;color:var(--muted);font-weight:700}.row-field{position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:13px 15px;background:var(--surface);border:1px solid var(--border);border-radius:18px;text-align:left;font-size:15px}.row-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1;font-weight:600}.row-sub{font-size:12px;color:var(--muted);font-weight:500}.row-placeholder-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--surface-2);color:var(--muted);font-size:20px}.row-chevron{color:var(--muted);font-size:18px;flex:0 0 auto}.row-field--date input[type=date]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;background:transparent}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:12.5px;color:var(--muted);font-weight:600;padding-left:2px}.field input{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);outline:none;font-size:15px}.field input:focus{border-color:var(--accent)}.field select{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font-size:15px;outline:none;appearance:none}.field select:focus{border-color:var(--accent)}.overlay{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;background:#0c09187a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fade-in .18s ease}.sheet{display:flex;flex-direction:column;width:100%;max-width:560px;max-height:88dvh;background:var(--surface);border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:slide-up .22s ease}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 10px}.sheet-head h2{font-size:19px;letter-spacing:-.02em}.sheet-sub{margin-top:3px;font-size:12.5px;color:var(--muted)}.sheet-body{overflow-y:auto;padding:4px 18px 22px}.sheet-text{font-size:13.5px;color:var(--muted);line-height:1.55}.sheet-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}.search-field{display:flex;align-items:center;gap:9px;margin:0 18px 8px;padding:10px 13px;background:var(--surface-2);border-radius:13px;color:var(--muted)}.search-icon{font-size:18px;flex:0 0 auto}.search-field input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:15px;color:var(--text)}.list-title{margin:14px 4px 6px;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:700}.pick-list{display:flex;flex-direction:column;gap:2px}.pick-row{display:flex;align-items:center;gap:11px;padding:9px 10px;border:none;border-radius:12px;background:transparent;text-align:left;color:var(--text)}.pick-row:hover{background:var(--surface-2)}.pick-row--sub{padding-left:25px}.pick-row.is-selected{background:var(--accent-soft)}.pick-text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.pick-name{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pick-parent{font-size:11.5px;color:var(--muted)}.pick-check{margin-left:auto;color:var(--accent);font-size:18px}.empty-note{padding:26px 10px;text-align:center;color:var(--muted);font-size:13.5px}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:6px;max-height:168px;overflow-y:auto;padding:4px 2px}.icon-choice{display:grid;place-items:center;height:42px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:19px}.icon-choice.is-selected{border-color:var(--accent);background:var(--accent-soft)}.color-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px;padding:2px}.color-choice{height:34px;border-radius:50%;border:2px solid transparent;box-shadow:inset 0 0 0 1px #0000000f}.color-choice.is-selected{border-color:var(--text)}.cat-groups{display:flex;flex-direction:column;gap:10px}.cat-group{padding:5px 0;overflow:hidden}.cat-row{display:flex;align-items:center;gap:10px;padding:7px 14px}.cat-row .icon-btn{width:34px;height:34px;font-size:17px;border-radius:10px}.cat-text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.cat-name{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cat-meta{font-size:11.5px;color:var(--muted)}.cat-subs{margin:2px 14px 4px 30px;border-left:2px solid var(--surface-2);padding-left:4px}.cat-row--sub{padding-left:10px}.cat-row--archived{opacity:.6}.archive-block{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.settings-section{display:flex;flex-direction:column;gap:8px}.section-title{display:flex;align-items:center;gap:7px;margin:4px 4px 0;font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:700}.section-title svg{font-size:15px}.settings-list{padding:0;overflow:hidden}.settings-row{display:flex;align-items:center;gap:12px;width:100%;padding:15px 16px;border:none;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:left;text-decoration:none;font-size:14.5px}.settings-list>.settings-row:last-child,.settings-list>*:last-child .settings-row{border-bottom:none}.settings-row:not(.is-muted):hover{background:var(--surface-2)}.settings-row.is-muted{opacity:.55;cursor:default}.settings-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.settings-text>span:first-child{font-weight:600}.settings-sub{font-size:12px;color:var(--muted);font-weight:400}.settings-icon{font-size:20px;color:var(--muted);flex:0 0 auto}.switch{position:relative;width:48px;height:28px;flex:0 0 auto;border:none;border-radius:999px;background:var(--border);transition:background .18s ease;padding:0}.switch-thumb{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #00000040;transition:transform .18s ease}.switch.is-on{background:var(--accent)}.switch.is-on .switch-thumb{transform:translate(20px)}.badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--muted);font-size:10.5px;font-weight:700;white-space:nowrap}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.theme-card{display:flex;flex-direction:column;gap:5px;padding:8px;border:2px solid transparent;border-radius:16px;background:var(--surface);color:var(--text);text-align:left}.theme-card.is-active{border-color:var(--accent)}.theme-preview{position:relative;display:block;height:56px;border-radius:10px;background:radial-gradient(120px 60px at 100% 0%,var(--glow-2),transparent 70%),var(--bg);border:1px solid var(--border);overflow:hidden}.theme-preview-bar{position:absolute;left:8px;right:8px;top:9px;height:11px;border-radius:6px;background:var(--accent);opacity:.9}.theme-preview-dot{position:absolute;left:8px;bottom:8px;width:18px;height:18px;border-radius:50%;background:var(--accent-2)}.theme-name{font-size:12.5px;font-weight:700}.theme-hint{font-size:10.5px;color:var(--muted)}.about{margin-top:8px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}.hint-text{margin-top:8px;padding:0 4px;color:var(--muted);font-size:11.5px;line-height:1.55}.pin-input{display:block;width:210px;margin:18px auto 8px;padding:12px 10px 12px 22px;border:2px solid var(--border);border-radius:16px;background:var(--surface);text-align:center;font-size:30px;font-weight:700;letter-spacing:12px;outline:none}.pin-input:focus{border-color:var(--accent)}.pin-input.is-error{border-color:var(--negative)}.error-text{margin-top:4px;color:var(--negative);font-size:12.5px;text-align:center;font-weight:600}.lock-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:100dvh;padding:28px;text-align:center}.lock-logo{display:grid;place-items:center;width:88px;height:88px;margin-bottom:10px;border-radius:26px;background:var(--accent);color:var(--on-accent);font-size:44px;font-weight:700;box-shadow:0 18px 36px -16px var(--accent)}.lock-screen h1{font-size:26px;letter-spacing:-.03em}.lock-sub{color:var(--muted);font-size:14px}.splash{display:grid;place-items:center;min-height:100dvh}.splash-logo{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:var(--accent);color:var(--on-accent);font-size:38px;font-weight:700;animation:pulse 1.2s ease-in-out infinite}.placeholder-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:30px 22px;text-align:center}.placeholder-text{color:var(--muted);font-size:13.5px;line-height:1.55;max-width:340px}.placeholder-list{width:100%;margin:4px 0 10px;padding:14px 16px 14px 30px;background:var(--surface-2);border-radius:14px;text-align:left;font-size:13px;line-height:1.7;color:var(--text)}.analytics-totals{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;padding:18px}.analytics-totals>div{display:flex;flex-direction:column;gap:2px}.analytics-totals strong{font-size:20px;letter-spacing:-.02em}.analytics-totals .span-2{grid-column:1 / -1;flex-direction:row;align-items:baseline;justify-content:space-between;padding-top:10px;border-top:1px dashed var(--border)}.analytics-totals .span-2 strong{font-size:24px}.chart-card{display:flex;flex-direction:column;gap:10px;padding:18px}.chart-card .section-title{margin:0}.chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.donut-wrap{position:relative;margin:-4px 0}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none}.donut-center strong{font-size:19px;letter-spacing:-.02em}.cat-bars{display:flex;flex-direction:column;gap:2px}.cat-bar-row{display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:8px;padding:8px 6px;border:none;border-radius:10px;background:transparent;color:var(--text);text-align:left;font-size:13px}.cat-bar-row:hover{background:var(--surface-2)}.cat-bar-row.is-active{background:var(--accent-soft)}.cat-bar-dot{width:10px;height:10px;border-radius:3px}.cat-bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.cat-bar-sum{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.cat-bar-percent{min-width:36px;text-align:right;color:var(--muted);font-size:11.5px}.cat-bar-track{grid-column:2 / -1;height:5px;border-radius:999px;background:var(--surface-2);overflow:hidden}.cat-bar-fill{display:block;height:100%;border-radius:999px}.chart-wrap{margin-top:4px}.chart-legend{display:flex;justify-content:center;gap:16px;color:var(--muted);font-size:12px}.chart-legend i{display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:50%}.budget-block{display:flex;flex-direction:column;gap:10px;padding:16px 18px}.budget-block .section-title{margin:0}.budget-row{display:flex;flex-direction:column;gap:6px}.budget-row-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.budget-row-title{font-size:13px;font-weight:700}.budget-row-status{padding:2px 8px;border-radius:999px;background:var(--surface-2);font-size:11px;font-weight:700}.budget-row-status.is-ok{color:var(--positive)}.budget-row-status.is-warn{color:var(--warning)}.budget-row-status.is-over{color:var(--negative)}.budget-bar{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}.budget-bar-fill{display:block;height:100%;border-radius:999px;transition:width .25s ease}.budget-bar-fill.is-ok{background:var(--positive)}.budget-bar-fill.is-warn{background:var(--warning)}.budget-bar-fill.is-over{background:var(--negative)}.budget-row-foot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px}.budget-row-foot .muted{color:var(--muted)}.budget-row-foot>:last-child{margin-left:auto;font-weight:600}.budget-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.budget-empty p{color:var(--muted);font-size:13px;line-height:1.5}.budget-list{display:flex;flex-direction:column;gap:10px}.budget-cat-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px}.budget-cat-head{display:flex;align-items:center;gap:9px}.budget-cat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;font-size:16px}.budget-cat-name{flex:1;font-size:14px;font-weight:700}.budget-cat-head .icon-btn{width:32px;height:32px;font-size:16px}.budget-row--compact .budget-row-title{color:var(--muted);font-size:12px;font-weight:600}.mini-list{display:flex;flex-direction:column;gap:8px;padding:16px 18px}.mini-list .section-title{margin:0 0 2px}.mini-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13.5px}.mini-row>span{color:var(--muted)}.mini-row--total{padding-top:8px;border-top:1px dashed var(--border)}.mini-row--total>span{color:var(--text);font-weight:600}.screen-sub{margin:-8px 2px 0;color:var(--muted);font-size:12.5px}.due-card{display:flex;flex-direction:column;gap:10px;padding:16px 18px;border-color:var(--warning);background:radial-gradient(320px 140px at 100% 0%,var(--accent-soft) 0%,transparent 70%),var(--surface)}.due-card .section-title{margin:0}.due-list{display:flex;flex-direction:column;gap:10px}.due-row{display:grid;grid-template-columns:40px 1fr;gap:8px 12px;padding-top:10px;border-top:1px dashed var(--border)}.due-row:first-child{padding-top:0;border-top:none}.due-text{display:flex;flex-direction:column;gap:2px;min-width:0}.due-title{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.due-meta{color:var(--muted);font-size:12px}.due-actions{grid-column:1 / -1;display:flex;gap:8px}.due-actions .btn{flex:1}.recurring-banner{padding:9px 12px;border-radius:12px;background:var(--accent-soft);color:var(--text);font-size:12.5px;font-weight:600;text-align:center}.recurring-list{display:flex;flex-direction:column;gap:10px}.recurring-card{display:flex;flex-direction:column;gap:10px;padding:14px 16px}.recurring-card.is-paused{opacity:.72}.recurring-head{display:flex;align-items:center;gap:12px}.recurring-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.recurring-title{font-size:14.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recurring-meta{color:var(--muted);font-size:12px}.recurring-amount{font-size:14px;font-weight:700;white-space:nowrap}.recurring-foot{display:flex;align-items:center;gap:8px}.recurring-next{flex:1;min-width:0;color:var(--muted);font-size:12px}.recurring-next.is-due{color:var(--warning);font-weight:700}.recurring-foot .icon-btn{width:34px;height:34px;font-size:17px}.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.check-row{display:flex;align-items:center;gap:9px;font-size:13.5px}.check-row input{width:18px;height:18px;accent-color:var(--accent)}.hint-text--inline{margin:-4px 4px 0;padding:0}.savings-summary{display:flex;flex-direction:column;gap:4px;padding:18px;background:radial-gradient(360px 160px at 100% 0%,var(--accent-soft) 0%,transparent 70%),var(--surface)}.savings-summary .summary-big{font-size:30px}.savings-summary-sub{color:var(--muted);font-size:12.5px}.goal-list{display:flex;flex-direction:column;gap:10px}.goal-card{display:flex;flex-direction:column;gap:9px;padding:14px 16px}.goal-card--archived{opacity:.78}.goal-head{display:flex;align-items:center;gap:10px}.goal-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;font-size:21px;flex:0 0 auto}.goal-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.goal-title{font-size:14.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goal-meta{color:var(--muted);font-size:12px}.goal-percent{color:var(--accent);font-size:13px;font-weight:700}.goal-head .icon-btn{width:32px;height:32px}.goal-amounts{display:flex;align-items:baseline;gap:6px}.goal-amounts strong{font-size:17px}.goal-amounts .muted{color:var(--muted);font-size:12px}.goal-bar{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}.goal-bar-fill{display:block;height:100%;border-radius:999px;transition:width .25s ease}.goal-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.goal-left{color:var(--muted);font-size:12px}.goal-actions{display:flex;gap:6px}.goal-emoji-grid{display:flex;flex-wrap:wrap;gap:6px}.goal-emoji-option{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);font-size:20px;transition:border-color .15s ease,background .15s ease}.goal-emoji-option.is-active{border-color:var(--accent);background:var(--accent-soft)}.goal-color-grid{display:flex;flex-wrap:wrap;gap:8px}.goal-color-option{width:30px;height:30px;border:2px solid transparent;border-radius:50%}.goal-color-option.is-active{border-color:var(--text)}.debt-summary{display:flex;flex-direction:column;gap:8px;padding:18px;background:radial-gradient(360px 160px at 100% 0%,rgba(239,68,68,.12) 0%,transparent 70%),var(--surface)}.debt-summary .summary-big{font-size:30px;color:var(--negative)}.debt-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:8px;border-top:1px dashed var(--border)}.debt-summary-grid>div{display:flex;flex-direction:column;gap:2px}.debt-summary-grid strong{font-size:15px}.debt-list{display:flex;flex-direction:column;gap:10px}.debt-card{display:flex;flex-direction:column;gap:8px;padding:14px 16px}.debt-card--archived{opacity:.78}.debt-head{display:flex;align-items:center;gap:10px}.debt-icon{background:#ef44441f;color:var(--negative)}.debt-head .icon-btn{width:32px;height:32px}.goal-bar-fill.is-debt{background:var(--negative)}.debt-warning{padding:8px 10px;border-radius:10px;background:#ef44441a;color:var(--negative);font-size:12px;line-height:1.45}.debt-history{border-top:1px dashed var(--border);padding-top:8px}.debt-history summary{cursor:pointer;color:var(--muted);font-size:12.5px;font-weight:600}.debt-history-list{display:flex;flex-direction:column;gap:4px;margin-top:8px}.debt-history-row{display:flex;align-items:baseline;gap:8px;padding:6px 8px;border-radius:9px;color:var(--text);text-decoration:none;font-size:12.5px}.debt-history-row:hover{background:var(--surface-2)}.debt-history-row .muted{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.debt-history-row strong{color:var(--negative)}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);z-index:20;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;width:100%;max-width:560px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:var(--nav-bg);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 0;color:var(--muted);font-size:10.5px;font-weight:600;text-decoration:none}.nav-item svg{font-size:22px}.nav-item.is-active{color:var(--accent)}.nav-add{display:grid;place-items:center;justify-self:center;width:54px;height:54px;margin-top:-24px;border:4px solid var(--bg);border-radius:50%;background:var(--accent);color:var(--on-accent);font-size:25px;box-shadow:0 14px 26px -10px var(--accent)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-up{0%{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(.94)}}
