/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}:root{--ink:#171622;--muted:#8d8b98;--violet:#6f5cf4;--paper:#f5f4f8;--line:#ebe9f0;--green:#159760;--red:#e45d4a}*{box-sizing:border-box}html{background:#dedde5}body{color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell{background:radial-gradient(circle at 15% 15%,#c9c3ff 0,#0000 30%),radial-gradient(circle at 85% 75%,#bdebd5 0,#0000 32%),#e9e8ed;place-items:center;min-height:100vh;padding:24px;display:grid}.finance-app{background:var(--paper);border-radius:38px;width:min(100%,460px);height:min(900px,100vh - 48px);min-height:670px;padding:30px 0 86px;position:relative;overflow:hidden;box-shadow:0 28px 80px #1b172b26}.topbar{justify-content:space-between;align-items:center;height:52px;margin:0 22px 18px;display:flex}.eyebrow{color:#9a96a5;letter-spacing:.16em;margin:0 0 5px;font-size:10px;font-weight:800}.topbar h1{letter-spacing:-.04em;margin:0;font-size:23px;line-height:1}.profile{color:#fff;cursor:pointer;background:#171622;border:0;border-radius:50%;width:42px;height:42px;font-size:15px;font-weight:800}.pages{will-change:transform;width:100%;height:calc(100% - 70px);transition:transform .35s cubic-bezier(.25,.8,.25,1);display:flex}.app-page{scrollbar-width:none;flex:0 0 100%;width:100%;height:100%;padding:0 22px 32px;overflow-y:auto}.app-page::-webkit-scrollbar{display:none}.balance-card{color:#fff;background:linear-gradient(145deg,#7766f6,#5542d8);border-radius:27px;padding:24px;position:relative;overflow:hidden;box-shadow:0 18px 34px #6f5ee53d}.balance-card:after{content:"";border:30px solid #ffffff12;border-radius:50%;width:180px;height:180px;position:absolute;top:-80px;right:-70px}.balance-head{color:#ded9ff;justify-content:space-between;align-items:center;font-size:13px;display:flex}.currency-pill{z-index:1;color:#fff;cursor:pointer;background:#ffffff18;border:1px solid #ffffff32;border-radius:12px;align-items:center;gap:4px;padding:8px 10px;font-size:12px;font-weight:750;display:flex;position:relative}.balance-card>strong{letter-spacing:-.055em;margin-top:15px;font-size:34px;display:block}.balance-card>strong small{font-size:20px}.balance-card p{color:#ddd8ff;margin:7px 0 0;font-size:12px}.balance-card p b{color:#a7f7d2}.sparkline{align-items:end;gap:7px;height:44px;margin-top:18px;display:flex}.sparkline i{background:#ffffff25;border-radius:5px 5px 2px 2px;flex:1;display:block}.sparkline i:first-child{height:30%}.sparkline i:nth-child(2){height:45%}.sparkline i:nth-child(3){height:38%}.sparkline i:nth-child(4){height:62%}.sparkline i:nth-child(5){height:52%}.sparkline i:nth-child(6){height:78%}.sparkline i:nth-child(7){height:67%}.sparkline i:nth-child(8){background:#b5ffd9;height:100%}.quick-actions{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 25px;display:grid}.quick-actions button{text-align:left;cursor:pointer;background:#fff;border:0;border-radius:20px;grid-template-rows:auto auto;grid-template-columns:42px 1fr;padding:15px;display:grid;box-shadow:0 5px 20px #201b3809}.quick-actions span{border-radius:13px;grid-row:1/3;place-items:center;width:38px;height:38px;display:grid}.quick-actions b{align-self:end;font-size:14px}.quick-actions small{color:var(--muted);font-size:10px}.income span,.tx-icon.income{color:var(--green);background:#dff8ea}.expense span,.tx-icon.expense{color:var(--red);background:#ffe5e0}.section-title{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.section-title h2{letter-spacing:-.03em;margin:0;font-size:17px}.section-title>button{color:var(--violet);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:750}.section-title>span{color:var(--muted);font-size:11px}.transactions,.history-card{background:#fff;border-radius:23px;padding:5px 15px}.transactions article,.history-card>article{border-bottom:1px solid var(--line);grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 0;display:grid}.transactions article:last-child,.history-card>article:last-child{border-bottom:0}.tx-icon{border-radius:14px;place-items:center;width:42px;height:42px;display:grid}.transactions article div,.history-card>article div{gap:4px;min-width:0;display:grid}.transactions article div b,.history-card>article div b{font-size:13px}.transactions article div small,.history-card>article div small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.transactions article>strong,.history-card>article>strong{white-space:nowrap;font-size:12px}.positive{color:var(--green)!important}.bottom-nav{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#faf9fcf2;border-top:1px solid #e8e5ee;grid-template-columns:repeat(3,1fr);align-items:center;height:82px;padding:8px 18px 14px;display:grid;position:absolute;bottom:0;left:0;right:0}.bottom-nav button{color:#a09daa;cursor:pointer;background:0 0;border:0;justify-items:center;gap:4px;font-size:10px;font-weight:700;display:grid}.bottom-nav button.active{color:var(--violet)}.accounts-summary{color:#fff;background:#1d1b27;border-radius:21px;justify-content:space-between;align-items:center;margin-bottom:15px;padding:18px;display:flex}.accounts-summary div{gap:5px;display:grid}.accounts-summary span{color:#a8a5b2;font-size:10px}.accounts-summary strong{font-size:20px}.accounts-summary button{color:#fff;cursor:pointer;background:#6f5cf4;border:0;border-radius:12px;align-items:center;gap:5px;padding:10px 12px;font-size:11px;font-weight:750;display:flex}.account-list{gap:10px;display:grid}.account-card{color:#fff;border-radius:22px;grid-template-columns:50px 1fr auto;align-items:center;gap:12px;padding:18px;display:grid;position:relative;overflow:hidden;box-shadow:0 12px 25px #22203413}.account-card:after{content:"";border:16px solid #ffffff14;border-radius:50%;width:100px;height:100px;position:absolute;bottom:-55px;right:-35px}.account-card.violet{background:linear-gradient(135deg,#7562f1,#5543d5)}.account-card.mint{background:linear-gradient(135deg,#2aaf86,#118166)}.account-card.navy{background:linear-gradient(135deg,#2d3148,#191b2a)}.account-card.amber{background:linear-gradient(135deg,#f2ab3f,#d57a20)}.account-card.rose{background:linear-gradient(135deg,#e46f7c,#bf4259)}.account-icon{background:#ffffff20;border-radius:15px;place-items:center;width:48px;height:48px;display:grid}.account-main{gap:2px;display:grid}.account-main>span{color:#ffffffc7;font-size:11px}.account-main strong{font-size:19px}.account-main small{color:#ffffffaf;font-size:10px}.account-code{z-index:1;background:#ffffff15;border:1px solid #ffffff32;border-radius:9px;align-self:start;padding:5px 7px;font-size:9px;font-weight:800;position:relative}.rates-card,.spending-card{background:#fff;border-radius:23px;margin-top:18px;padding:17px}.live-status{align-items:center;gap:4px;display:flex;color:var(--green)!important}.live-status.fallback{color:#b36c23!important}.rate-row{border-bottom:1px solid var(--line);grid-template-columns:32px 1fr auto;align-items:center;gap:8px;padding:10px 0;display:grid}.rate-row>span{font-size:21px}.rate-row>div{display:grid}.rate-row b{font-size:12px}.rate-row small{color:var(--muted);font-size:9px}.rate-row>strong{font-size:10px}.rates-card>p{color:var(--muted);margin:12px 0 0;font-size:9px;line-height:1.5}.period-switch{background:#e9e7ef;border-radius:14px;grid-template-columns:repeat(3,1fr);padding:4px;display:grid}.period-switch button{color:#8d8997;background:0 0;border:0;border-radius:10px;padding:8px;font-size:10px;font-weight:700}.period-switch button.active{color:var(--ink);background:#fff;box-shadow:0 3px 10px #2220340d}.month-cards{grid-template-columns:1fr 1fr;gap:10px;margin:13px 0;display:grid}.month-cards article{background:#fff;border-radius:19px;gap:5px;padding:16px;display:grid;position:relative;overflow:hidden}.month-cards article span{color:var(--muted);font-size:10px}.month-cards article strong{font-size:13px}.month-cards article svg{color:#cbc8d3;position:absolute;bottom:8px;right:10px}.donut{--progress:70%;background:conic-gradient(var(--violet) 0 var(--progress),#eae8ef var(--progress));border-radius:50%;place-items:center;width:126px;height:126px;margin:18px auto;display:grid;position:relative}.donut:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:18px}.donut div{justify-items:center;display:grid;position:relative}.donut b{font-size:24px}.donut small{color:var(--muted);font-size:9px}.category-bars{gap:12px;display:grid}.category-bars article{grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.bar-icon{color:#6956ec;background:#eeeaff;border-radius:10px;place-items:center;width:32px;height:32px;display:grid}.bar-icon.c1{color:#16865a;background:#dff8ea}.bar-icon.c2{color:#c57520;background:#fff0dc}.bar-icon.c3{color:#cf5265;background:#ffe6ea}.bar-icon.c4{color:#447bb0;background:#e6f2ff}.category-bars article>div{gap:5px;display:grid}.category-bars b{font-size:10px}.category-bars i{background:#eceaf0;border-radius:8px;height:5px;display:block;overflow:hidden}.category-bars em{background:var(--violet);border-radius:8px;height:100%;display:block}.category-bars strong{font-size:9px}.history-card{margin-top:14px}.history-card .section-title{padding:12px 0 6px}.history-card>article{grid-template-columns:38px minmax(0,1fr) auto 24px;padding:10px 0}.history-card .tx-icon{border-radius:11px;width:36px;height:36px}.history-card>article>button{color:#c2bec9;cursor:pointer;background:0 0;border:0;place-items:center;padding:3px;display:grid}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#15131f72;place-items:end center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#f7f6fa;border-radius:30px;width:min(100%,460px);max-height:min(820px,100vh - 40px);padding:26px 22px;animation:.25s ease-out rise;position:relative;overflow-y:auto;box-shadow:0 30px 90px #0f0d1f55}.modal-close{color:#777381;cursor:pointer;background:#eae8ef;border:0;border-radius:11px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:18px;right:18px}.modal-close svg{width:18px}.modal-badge{border-radius:16px;place-items:center;width:48px;height:48px;margin-bottom:14px;display:grid}.modal-badge.income{color:var(--green);background:#dff8ea}.modal-badge.expense{color:var(--red);background:#ffe5e0}.modal-badge.account{color:var(--violet);background:#e8e4ff}.modal-card h2{letter-spacing:-.04em;margin:0;font-size:23px}.modal-lead{color:var(--muted);margin:5px 0 18px;font-size:11px}.modal-card form{gap:13px;display:grid}.modal-card label{gap:6px;display:grid}.modal-card label>span,.category-label{color:#6f6b78;font-size:10px;font-weight:750}.modal-card input,.modal-card select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #e0dde7;border-radius:13px;outline:0;padding:12px 13px;font-size:12px}.modal-card input:focus,.modal-card select:focus{border-color:#8979ed;box-shadow:0 0 0 3px #6f5cf414}.amount-input{position:relative}.amount-input input{height:64px;padding-right:50px;font-size:25px;font-weight:800}.amount-input>b{color:#8c8795;font-size:16px;position:absolute;bottom:18px;right:16px}.form-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.category-grid{grid-template-columns:repeat(4,1fr);gap:8px;max-height:250px;padding:2px;display:grid;overflow-y:auto}.category-grid button{color:#797481;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:14px;justify-items:center;gap:5px;padding:9px 4px;display:grid}.category-grid button span{background:#f0eef5;border-radius:11px;place-items:center;width:34px;height:34px;display:grid}.category-grid button small{white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:8px;overflow:hidden}.category-grid button.selected{color:#5d49da;background:#f0edff;border-color:#8473ed}.category-grid button.selected span{color:#fff;background:#7563eb}.primary-submit{background:var(--violet);color:#fff;cursor:pointer;border:0;border-radius:15px;padding:14px;font-size:12px;font-weight:800}.primary-submit.expense{background:var(--red)}.primary-submit.income{background:var(--green)}.primary-submit:disabled{opacity:.45}.form-error{color:var(--red);margin:0;font-size:10px}.currency-list{gap:7px;display:grid}.currency-list button{text-align:left;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:15px;grid-template-columns:38px 1fr 24px;align-items:center;gap:8px;padding:11px;display:grid}.currency-list button>span{font-size:23px}.currency-list button div{display:grid}.currency-list button b{font-size:12px}.currency-list button small{color:var(--muted);font-size:9px}.currency-list button i{background:var(--violet);color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;font-size:11px;font-style:normal;display:grid}.currency-list button.selected{background:#f0edff;border-color:#8270ed}.loading-screen{background:#f5f4f8;place-content:center;justify-items:center;gap:10px;min-height:100vh;display:grid}.loader-logo{background:var(--violet);color:#fff;border-radius:20px;place-items:center;width:62px;height:62px;animation:1.2s infinite pulse;display:grid;box-shadow:0 15px 30px #6f5cf43a}.loading-screen b{font-size:18px}.loading-screen span{color:var(--muted);font-size:11px}@keyframes rise{0%{opacity:.5;transform:translateY(25px)}}@keyframes pulse{50%{opacity:.5}}@media (max-width:500px){html,body{width:100%;height:100%;overflow:hidden}.app-shell{width:100%;height:100vh;background:var(--paper);height:100dvh;min-height:0;padding:0;overflow:hidden}.finance-app{width:100%;height:100vh;height:100dvh;min-height:0;max-height:none;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:calc(74px + env(safe-area-inset-bottom));border-radius:0}.topbar{margin-bottom:12px}.pages{height:calc(100% - 64px)}.app-page{padding-bottom:calc(26px + env(safe-area-inset-bottom));overscroll-behavior:contain}.bottom-nav{height:calc(68px + env(safe-area-inset-bottom));padding:7px 18px max(7px,env(safe-area-inset-bottom));transform:translateZ(0)}.modal-backdrop{height:100vh;align-items:end;height:100dvh;padding:0}.modal-card{max-height:calc(100dvh - max(12px,env(safe-area-inset-top)));padding-bottom:max(24px,env(safe-area-inset-bottom));border-radius:28px 28px 0 0}.loading-screen,.auth-screen{min-height:100vh;min-height:100dvh}.auth-screen{padding:max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom))}.auth-card{max-height:100%;overflow:auto}}@media (min-width:900px){.finance-app{border-radius:34px;width:min(1180px,100vw - 80px);height:min(850px,100vh - 64px)}.topbar{margin-inline:34px}.app-page{padding-inline:34px}.home-page{grid-template-rows:auto 1fr;grid-template-columns:minmax(330px,.85fr) minmax(380px,1.15fr);gap:18px 26px;display:grid}.home-page .balance-card{grid-row:1/3}.home-page .quick-actions{align-self:start;margin:0}.home-page .section-block{grid-column:2}.accounts-page{grid-template-rows:auto 1fr;grid-template-columns:minmax(410px,1.1fr) minmax(360px,.9fr);gap:16px 24px;display:grid}.accounts-summary{grid-column:1/-1;margin:0}.account-list{grid-column:1}.rates-card{grid-area:2/2;align-self:start;margin:0}.analytics-page{grid-template-rows:auto auto 1fr;grid-template-columns:minmax(420px,.95fr) minmax(420px,1.05fr);gap:14px 24px;display:grid}.period-switch{grid-column:1/-1;width:380px}.month-cards{grid-column:1;margin:0}.spending-card{grid-area:3/1;margin:0}.history-card{grid-area:2/2/4;margin:0;overflow:auto}.bottom-nav{border:1px solid #e8e5ee;border-radius:20px;width:360px;height:64px;padding:7px 15px;bottom:15px;left:50%;right:auto;transform:translate(-50%);box-shadow:0 10px 30px #28223d16}.modal-card{width:min(520px,100%)}.category-grid{grid-template-columns:repeat(5,1fr)}}.auth-screen{color:#17172a;background:radial-gradient(circle at 20% 10%,#ece7ff 0,#0000 38%),#f6f7fb;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{text-align:center;background:#fff;border:1px solid #ebeaf2;border-radius:30px;width:min(100%,430px);padding:34px;box-shadow:0 24px 70px #271f4d21}.auth-logo{color:#fff;background:#6d4aff;border-radius:20px;place-items:center;width:62px;height:62px;margin:0 auto 20px;display:grid;box-shadow:0 12px 28px #6d4aff4d}.auth-card h1{letter-spacing:-.8px;margin:6px 0 12px;font-size:30px}.auth-card>p:not(.eyebrow){color:#747287;margin:0 0 22px;line-height:1.55}.telegram-button{color:#fff;background:#229ed9;border-radius:15px;justify-content:center;align-items:center;gap:9px;margin-bottom:22px;padding:14px 18px;font-weight:750;text-decoration:none;display:flex}.auth-card form{gap:12px;display:grid}.auth-card label{text-align:left;color:#5d5a70;gap:8px;font-size:13px;font-weight:700;display:grid}.auth-card input{text-align:center;letter-spacing:9px;border:1px solid #dedce8;border-radius:15px;outline:none;width:100%;padding:15px;font-size:24px;font-weight:800}.auth-card input:focus{border-color:#6d4aff;box-shadow:0 0 0 4px #eeeaff}.auth-card form button{color:#fff;background:#17172a;border:0;border-radius:15px;padding:15px;font-size:15px;font-weight:800}.auth-card form button:disabled{opacity:.6}.auth-card>small{color:#8e8b9d;margin-top:18px;line-height:1.45;display:block}.form-error{color:#c3334d;background:#fff0f2;border-radius:12px;margin-top:14px;padding:10px;font-size:13px}@media (min-width:501px) and (max-width:899px){.app-shell{min-height:100vh;min-height:100dvh;padding:16px}.finance-app{width:min(100%,720px);height:calc(100vh - 32px);border-radius:28px;height:calc(100dvh - 32px);min-height:0}.app-page{padding-inline:28px}.bottom-nav{height:74px}.modal-card{max-height:calc(100dvh - 32px)}}@media (max-width:500px) and (max-height:740px){.finance-app{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:calc(62px + env(safe-area-inset-bottom))}.topbar{height:44px;margin-bottom:8px}.topbar h1{font-size:20px}.profile{width:38px;height:38px}.pages{height:calc(100% - 52px)}.balance-card{border-radius:23px;padding:18px}.balance-card>strong{margin-top:9px;font-size:29px}.sparkline{height:29px;margin-top:11px}.quick-actions{margin:11px 0 17px}.quick-actions button{padding:11px}.bottom-nav{height:calc(60px + env(safe-area-inset-bottom))}.bottom-nav button{gap:2px}.auth-card{padding:22px}.auth-logo{width:50px;height:50px;margin-bottom:12px}.auth-card h1{font-size:25px}.auth-card>p:not(.eyebrow){margin-bottom:14px}.telegram-button{margin-bottom:14px;padding:11px}}@media (max-width:899px) and (orientation:landscape) and (max-height:560px){.app-shell{padding:0}.finance-app{width:100%;height:100dvh;padding-top:max(8px,env(safe-area-inset-top));border-radius:0;padding-bottom:58px}.topbar{height:40px;margin:0 20px 6px}.pages{height:calc(100% - 46px)}.home-page{grid-template-rows:auto 1fr;grid-template-columns:minmax(250px,.9fr) minmax(300px,1.1fr);gap:10px 16px;display:grid}.home-page .balance-card{grid-row:1/3}.home-page .quick-actions{margin:0}.home-page .section-block{grid-column:2}.app-page{padding-inline:max(18px,env(safe-area-inset-left));padding-bottom:12px}.bottom-nav{border:1px solid #e8e5ee;border-radius:17px;width:330px;height:50px;padding:4px 12px;bottom:4px;left:50%;right:auto;transform:translate(-50%)}.bottom-nav button{gap:1px}.bottom-nav svg{width:18px}.modal-card{max-height:96dvh}.auth-screen{padding:10px}.auth-card{width:min(720px,100%);padding:18px 26px}.auth-logo{display:none}.auth-card>p:not(.eyebrow){margin-bottom:10px}.telegram-button{margin-bottom:10px;padding:9px}.auth-card form{grid-template-columns:1fr 150px;align-items:end}.auth-card form button{height:54px}}.profile{flex:none;place-items:center;padding:0;display:grid}.profile svg{display:block}.transactions:empty{display:none}.top-actions{gap:8px;display:flex}.account-actions{z-index:2;grid-column:2/4;justify-content:flex-end;gap:6px;margin-top:-5px;display:flex;position:relative}.account-actions button{color:#fff;cursor:pointer;background:#ffffff18;border:1px solid #ffffff35;border-radius:10px;place-items:center;width:30px;height:30px;display:grid}.subcategory-wrap{gap:7px;display:grid}.subcategory-list{flex-wrap:wrap;gap:7px;display:flex}.subcategory-list button{color:#6f6b78;cursor:pointer;background:#fff;border:1px solid #ded9e8;border-radius:999px;padding:8px 11px;font-size:10px}.subcategory-list button.selected{color:#fff;background:#6f5cf4;border-color:#7b68eb}.theme-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.theme-choice{text-align:left;color:#34313d;cursor:pointer;background:#fff;border:1px solid #e0dde7;border-radius:16px;grid-template-columns:34px 1fr 20px;align-items:center;gap:9px;padding:12px;display:grid;position:relative}.theme-choice>i{background:linear-gradient(135deg,#fff,#ddd);border-radius:11px;width:32px;height:32px}.theme-choice.lavender>i{background:linear-gradient(135deg,#f4f0ff,#9d88f7)}.theme-choice.mint>i{background:linear-gradient(135deg,#effcf6,#55c99c)}.theme-choice.selected{border-color:var(--violet);box-shadow:0 0 0 2px #6f5cf418}.theme-choice span{color:var(--violet);font-weight:900}.app-shell[data-theme=lavender]{--paper:#f3effd;--violet:#765de8;background:radial-gradient(circle at 15% 15%,#b5a5f4 0,#0000 34%),#ded7f2}.app-shell[data-theme=mint]{--paper:#eff9f4;--violet:#228d69;background:radial-gradient(circle at 15% 15%,#99e1c4 0,#0000 34%),#dcebe4}.app-shell[data-theme=mint] .balance-card{background:linear-gradient(145deg,#35ad84,#167355)}.app-shell[data-theme=dark] .quick-actions button,.app-shell[data-theme=dark] .transactions,.app-shell[data-theme=dark] .rates-card,.app-shell[data-theme=dark] .spending-card,.app-shell[data-theme=dark] .history-card,.app-shell[data-theme=dark] .month-cards article{color:var(--ink);background:#20222d}.app-shell[data-theme=dark] .period-switch{background:#242632}.app-shell[data-theme=dark] .period-switch button.active{color:#fff;background:#343645}.app-shell[data-theme=dark] .donut:before{background:#20222d}.app-shell[data-theme=dark] .modal-card{color:#f1eff7;background:#1d1f29}.app-shell[data-theme=dark] .modal-card input,.app-shell[data-theme=dark] .modal-card select,.app-shell[data-theme=dark] .category-grid button,.app-shell[data-theme=dark] .subcategory-list button,.app-shell[data-theme=dark] .theme-choice{color:#eee;background:#292b37;border-color:#3b3e4c}.app-shell[data-theme=dark] .modal-close{color:#ddd;background:#30323e}.recurring-card{background:#fff;border-radius:23px;margin-top:14px;padding:15px}.recurring-card article{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(0,1fr) auto 28px;align-items:center;gap:9px;padding:10px 0;display:grid}.recurring-card article:last-child{border-bottom:0}.recurring-card article>div{gap:3px;min-width:0;display:grid}.recurring-card article b{font-size:11px}.recurring-card article small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.recurring-card article>strong{white-space:nowrap;font-size:10px}.recurring-card article>button{color:#b7b2c0;cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.empty-recurring{color:var(--muted);margin:5px 0;font-size:10px;line-height:1.5}.recurring-toggle{background:#eeebfa;border-radius:14px;align-items:center;grid-template-columns:22px 1fr!important;padding:11px!important}.recurring-toggle input{height:18px;accent-color:var(--violet);margin:0;width:18px!important}.recurring-toggle>span{gap:3px;display:grid;color:var(--ink)!important;font-size:11px!important}.recurring-toggle small{color:var(--muted);font-size:9px;font-weight:500}.app-shell[data-theme=dark] .recurring-card{background:#20222d}.app-shell[data-theme=dark] .recurring-toggle{background:#292b37}@media (min-width:900px){.recurring-card{grid-area:auto/2;margin-top:0}}.transactions article{grid-template-columns:44px minmax(0,1fr) auto 28px}.delete-transaction{color:#b7b2c0;cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.delete-transaction:hover{color:#d55266;background:#ffe7ea}.currency-list button{color:#171622}.currency-list button b{color:#252230}.currency-list button small{color:#777381}.app-shell[data-theme=dark] .currency-list button{color:#f3f1f8!important;background:#292b37!important;border-color:#414452!important}.app-shell[data-theme=dark] .currency-list button b{color:#fff!important}.app-shell[data-theme=dark] .currency-list button small{color:#b9b5c3!important}.app-shell[data-theme=dark] .currency-list button.selected{background:#37334e!important;border-color:#9381ff!important}.month-result.income-result b{color:#a7f7d2}.month-result.expense-result b{color:#ffd0cb}.category-grid button span{color:#6654d8}.category-grid button span svg{color:inherit;stroke:currentColor;display:block}.category-grid button.selected span{background:var(--violet);color:#fff}.modal-card input::placeholder{color:#8a8592;opacity:1}:is(.modal-card button:focus-visible,.modal-card input:focus-visible,.modal-card select:focus-visible){outline:2px solid var(--violet);outline-offset:2px}.app-shell[data-theme=lavender] .category-grid button span{color:#634bd0;background:#e8e1ff}.app-shell[data-theme=lavender] .category-grid button.selected span{background:var(--violet);color:#fff}.app-shell[data-theme=mint] .category-grid button span{color:#197b5a;background:#dff5ea}.app-shell[data-theme=mint] .category-grid button.selected span{background:var(--violet);color:#fff}.app-shell[data-theme=dark] .modal-lead{color:#aaa6b5}.app-shell[data-theme=dark] .modal-card label>span,.app-shell[data-theme=dark] .category-label{color:#bbb6c8}.app-shell[data-theme=dark] .modal-card input::placeholder{color:#918d9b;opacity:1}.app-shell[data-theme=dark] .amount-input>b{color:#cbc6d3}.app-shell[data-theme=dark] .category-grid button{color:#e7e4ed}.app-shell[data-theme=dark] .category-grid button span{color:#bcb1ff;background:#3a3d4b}.app-shell[data-theme=dark] .category-grid button.selected{color:#fff;background:#37334e;border-color:#9381ff}.app-shell[data-theme=dark] .subcategory-list button{color:#d7d3df}.app-shell[data-theme=dark] .subcategory-list button.selected{background:var(--violet);color:#fff;border-color:#a99cff}.app-shell[data-theme=dark] .recurring-toggle small{color:#b5b0bf}.app-shell[data-theme=lavender] .account-card.violet{background:linear-gradient(135deg,#8069e8,#5d49bd)}.app-shell[data-theme=lavender] .account-card.mint{background:linear-gradient(135deg,#987de7,#6e58c7)}.app-shell[data-theme=lavender] .account-card.navy{background:linear-gradient(135deg,#514570,#29243b)}.app-shell[data-theme=lavender] .account-card.amber{background:linear-gradient(135deg,#b38ce2,#7656b5)}.app-shell[data-theme=lavender] .account-card.rose{background:linear-gradient(135deg,#9c70c9,#68458f)}.app-shell[data-theme=mint] .account-card.violet{background:linear-gradient(135deg,#39a781,#197157)}.app-shell[data-theme=mint] .account-card.mint{background:linear-gradient(135deg,#52bd96,#228264)}.app-shell[data-theme=mint] .account-card.navy{background:linear-gradient(135deg,#34665a,#193d35)}.app-shell[data-theme=mint] .account-card.amber{background:linear-gradient(135deg,#69b69a,#347c66)}.app-shell[data-theme=mint] .account-card.rose{background:linear-gradient(135deg,#439a82,#246554)}.app-shell[data-theme=emerald] .accounts-summary button{color:#081c17;background:#b78d38}.app-shell[data-theme=emerald] .account-card.violet{background:linear-gradient(135deg,#174f43,#082e28)}.app-shell[data-theme=emerald] .account-card.mint{background:linear-gradient(135deg,#247460,#10493d)}.app-shell[data-theme=emerald] .account-card.navy{background:linear-gradient(135deg,#172a26,#07110f)}.app-shell[data-theme=emerald] .account-card.amber{background:linear-gradient(135deg,#9c762d,#544018)}.app-shell[data-theme=emerald] .account-card.rose{background:linear-gradient(135deg,#315c50,#142f28)}.app-shell[data-theme=emerald] .account-card:after{border-color:#d7b55b22}.app-shell[data-theme=emerald] .account-icon{color:#f0cf79;background:#d1ad5524}.app-shell[data-theme=emerald] .account-code,.app-shell[data-theme=emerald] .account-actions button{color:#f1d27d;background:#d8b75f14;border-color:#d8b75f66}.app-shell[data-theme=emerald] .expense span,.app-shell[data-theme=emerald] .tx-icon.expense{color:#a87e21;background:#e2c46c2b}.app-shell[data-theme=emerald] .primary-submit.expense{color:#071b17;background:#b78d38}.app-shell[data-theme=emerald] .form-error{color:#8a651c}.app-shell[data-theme=emerald] .bar-icon,.app-shell[data-theme=emerald] .bar-icon.c1,.app-shell[data-theme=emerald] .bar-icon.c2,.app-shell[data-theme=emerald] .bar-icon.c3,.app-shell[data-theme=emerald] .bar-icon.c4{color:#9d7625;background:#d8b75f24}.app-shell[data-theme=emerald] .delete-transaction:hover{color:#8b651d;background:#d8b75f24}.theme-grid>.theme-choice.emerald:last-child{grid-column:1/-1}.theme-choice.emerald>i{background:linear-gradient(135deg,#0d5b4b,#caa24b)}.app-shell[data-theme=emerald]{--ink:#17352f;--muted:#69827b;--paper:#edf5f1;--line:#d8e7e0;--violet:#14755f;--green:#14755f;background:radial-gradient(circle at 18% 12%,#b8d8ca 0,#0000 34%),#d7e4de}.app-shell[data-theme=emerald] .balance-card{background:linear-gradient(145deg,#176b59,#0b493f);box-shadow:0 18px 34px #0b493f30}.app-shell[data-theme=emerald] .balance-card:after{border-color:#d5b45f25}.app-shell[data-theme=emerald] .balance-card p b{color:#f0cf79}.app-shell[data-theme=emerald] .quick-actions button,.app-shell[data-theme=emerald] .transactions,.app-shell[data-theme=emerald] .rates-card,.app-shell[data-theme=emerald] .spending-card,.app-shell[data-theme=emerald] .history-card,.app-shell[data-theme=emerald] .month-cards article,.app-shell[data-theme=emerald] .recurring-card{color:var(--ink);background:#f9fcfa}.app-shell[data-theme=emerald] .profile,.app-shell[data-theme=emerald] .accounts-summary{background:#123f36}.app-shell[data-theme=emerald] .bottom-nav button.active,.app-shell[data-theme=emerald] .section-title>button,.app-shell[data-theme=emerald] .theme-choice span{color:#b18329}.app-shell[data-theme=emerald] .currency-pill{background:#e6c76b18;border-color:#e6c76b55}.app-shell[data-theme=emerald] .modal-card{background:#edf5f1}.app-shell[data-theme=emerald] .modal-card input,.app-shell[data-theme=emerald] .modal-card select,.app-shell[data-theme=emerald] .category-grid button,.app-shell[data-theme=emerald] .subcategory-list button,.app-shell[data-theme=emerald] .theme-choice{color:#24433c;background:#fff;border-color:#cfe1d9}.app-shell[data-theme=emerald] .modal-badge.account,.app-shell[data-theme=emerald] .category-grid button span{color:#176b59;background:#dceee6}.app-shell[data-theme=emerald] .category-grid button.selected,.app-shell[data-theme=emerald] .subcategory-list button.selected{color:#fff;background:#176b59;border-color:#c49a3d}.app-shell[data-theme=emerald] .category-grid button.selected span{color:#fff;background:#c49a3d}.app-shell[data-theme=emerald] .primary-submit{background:#176b59}.app-shell[data-theme=emerald] .theme-choice.selected{border-color:#c49a3d;box-shadow:0 0 0 2px #c49a3d25}.category-heading{justify-content:space-between;align-items:center;display:flex}.category-heading>button{color:var(--violet);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;font-size:10px;font-weight:800;display:flex}.category-editor{background:#eeebf8;border:1px solid #ded9e8;border-radius:17px;gap:10px;padding:12px;display:grid}.icon-picker{grid-template-columns:repeat(8,1fr);gap:6px;max-height:136px;display:grid;overflow-y:auto}.icon-picker label{display:block}.icon-picker input{opacity:0;pointer-events:none;position:absolute}.icon-picker span{color:#6856dc;cursor:pointer;background:#fff;border:1px solid #ded9e8;border-radius:11px;place-items:center;height:36px;display:grid}.icon-picker input:checked+span{border-color:var(--violet);background:var(--violet);color:#fff;box-shadow:0 0 0 2px #6f5cf425}.save-category{background:var(--violet);color:#fff;cursor:pointer;border:0;border-radius:12px;padding:11px;font-size:11px;font-weight:800}.hidden-category-form{display:none!important}.category-grid button{position:relative}.category-remove{color:#fff;background:#e86474;border-radius:50%;place-items:center;width:17px;height:17px;font-size:14px;font-style:normal;line-height:1;display:grid;position:absolute;top:3px;right:3px}.deposit-settings{background:#eeebf8;border:1px solid #ded9e8;border-radius:17px;gap:10px;padding:12px;display:grid}.deposit-settings p{color:var(--muted);margin:0;font-size:9px;line-height:1.45}.app-shell[data-theme=dark] .category-editor,.app-shell[data-theme=dark] .deposit-settings{background:#292b37;border-color:#414452}.app-shell[data-theme=dark] .icon-picker span{color:#c2b8ff;background:#383b48;border-color:#4a4d5c}.app-shell[data-theme=dark] .icon-picker input:checked+span{background:var(--violet);color:#fff}.app-shell[data-theme=mint] .category-editor,.app-shell[data-theme=mint] .deposit-settings{background:#e2f3ea}.app-shell[data-theme=lavender] .category-editor,.app-shell[data-theme=lavender] .deposit-settings{background:#e9e3f8}@media (max-width:380px){.icon-picker{grid-template-columns:repeat(6,1fr)}}@media (max-width:500px) and (orientation:portrait){.app-shell,.finance-app{height:100svh;max-height:100svh}.finance-app{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.topbar{align-items:center}.profile{width:40px;height:40px}.profile svg{width:17px;height:17px}.pages{height:calc(100% - 60px)}.bottom-nav{height:calc(64px + env(safe-area-inset-bottom));padding:5px 18px max(5px,env(safe-area-inset-bottom));align-items:center;bottom:0}.bottom-nav button{align-content:center;gap:3px;height:48px;line-height:1}.bottom-nav button svg{width:20px;height:20px}.bottom-nav button span{line-height:1}}.app-shell[data-theme=emerald]{--ink:#e2d6ad;--muted:#82978f;--paper:#07100d;--line:#18342c;--violet:#b58b37;--green:#4f9c7e;--red:#b58b37;background:#020706}.app-shell[data-theme=emerald] .finance-app{background:#07100d}.app-shell[data-theme=emerald] .eyebrow{color:#b58b37}.app-shell[data-theme=emerald] .quick-actions button,.app-shell[data-theme=emerald] .transactions,.app-shell[data-theme=emerald] .rates-card,.app-shell[data-theme=emerald] .spending-card,.app-shell[data-theme=emerald] .history-card,.app-shell[data-theme=emerald] .month-cards article,.app-shell[data-theme=emerald] .recurring-card{color:#dfd3aa;background:#0d1b17;border:1px solid #1b382f}.app-shell[data-theme=emerald] .bottom-nav{background:#07110ff2;border-color:#1b382f}.app-shell[data-theme=emerald] .bottom-nav button{color:#657a73}.app-shell[data-theme=emerald] .bottom-nav button.active{color:#d1aa53}.app-shell[data-theme=emerald] .accounts-summary{background:#0b2b24;border:1px solid #806528}.app-shell[data-theme=emerald] .modal-card{color:#dfd3aa;background:#08130f;border:1px solid #24463b}.app-shell[data-theme=emerald] .modal-card input,.app-shell[data-theme=emerald] .modal-card select,.app-shell[data-theme=emerald] .category-grid button,.app-shell[data-theme=emerald] .subcategory-list button,.app-shell[data-theme=emerald] .theme-choice,.app-shell[data-theme=emerald] .currency-list button{color:#d8cda8!important;background:#10221c!important;border-color:#294c40!important}.app-shell[data-theme=emerald] .modal-close{color:#c6b46f;background:#162b24}.app-shell[data-theme=emerald] .period-switch{background:#0c1d18}.app-shell[data-theme=emerald] .period-switch button.active{color:#d6b55f;background:#19372e}.app-shell[data-theme=emerald] .donut:before{background:#0d1b17}.app-shell[data-theme=emerald] .category-editor,.app-shell[data-theme=emerald] .deposit-settings,.app-shell[data-theme=emerald] .recurring-toggle{background:#0d211b;border-color:#294c40}.app-shell[data-theme=emerald] .icon-picker span{color:#d0aa55;background:#132a23;border-color:#315449}.app-shell[data-theme=emerald] .currency-list button.selected,.app-shell[data-theme=emerald] .theme-choice.selected{background:#17392f!important;border-color:#b58b37!important}.app-shell[data-theme=emerald] .balance-card{background:#0c382f;border:1px solid #94752f}.app-shell[data-theme=emerald] .balance-head,.app-shell[data-theme=emerald] .balance-card p{color:#a6b9b1}.app-shell[data-theme=emerald] .balance-card>strong{color:#eadbaf}.app-shell[data-theme=emerald] .sparkline i{background:#b58b3738}.app-shell[data-theme=emerald] .sparkline i:last-child{background:#d0aa55}.app-shell[data-theme=emerald] .topbar h1,.app-shell[data-theme=emerald] .section-title h2,.app-shell[data-theme=emerald] .quick-actions b,.app-shell[data-theme=emerald] .transactions article div b,.app-shell[data-theme=emerald] .history-card article div b,.app-shell[data-theme=emerald] .month-cards strong,.app-shell[data-theme=emerald] .rate-row b,.app-shell[data-theme=emerald] .category-bars b,.app-shell[data-theme=emerald] .account-main>span,.app-shell[data-theme=emerald] .modal-card h2{color:#eadcaf!important}.app-shell[data-theme=emerald] .quick-actions small,.app-shell[data-theme=emerald] .section-title>span,.app-shell[data-theme=emerald] .transactions small,.app-shell[data-theme=emerald] .history-card small,.app-shell[data-theme=emerald] .month-cards span,.app-shell[data-theme=emerald] .rate-row small,.app-shell[data-theme=emerald] .modal-lead{color:#9aafa7!important}.app-shell[data-theme=emerald] .section-title>button{color:#d4ad55!important}.offline-banner{z-index:30;top:max(5px,env(safe-area-inset-top));color:#e2c66f;white-space:nowrap;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a211bcc;border:1px solid #b58b3760;border-radius:999px;max-width:calc(100% - 28px);padding:6px 11px;font-size:9px;font-weight:750;position:absolute;left:50%;transform:translate(-50%)}.loading-screen[data-theme=emerald]{color:#eadcaf;background:radial-gradient(circle at 50% 42%,#12382f 0,#0000 32%),#050c09}.loading-screen[data-theme=emerald] .loader-logo{color:#e5c66c;background:linear-gradient(145deg,#176b59,#0b3f35);border:1px solid #9b7934;box-shadow:0 15px 34px #0008}.loading-screen[data-theme=emerald] span{color:#91a69e}.app-shell[data-theme=emerald] .currency-list button b{color:#f0e3bc!important}.app-shell[data-theme=emerald] .currency-list button small{color:#9aafa7!important}.quick-actions .transfer{grid-column:1/-1}.quick-actions .transfer span{color:var(--violet);background:#e8e4ff}.quick-actions button:disabled{opacity:.5;cursor:not-allowed}.modal-badge.transfer{color:var(--violet);background:#e8e4ff}.transfer-preview{border:1px solid var(--line);background:#fff;border-radius:16px;gap:4px;padding:14px;display:grid}.transfer-preview span,.transfer-preview small{color:var(--muted);font-size:9px}.transfer-preview strong{font-size:18px}.app-shell[data-theme=dark] .transfer-preview{background:#292b37}.app-shell[data-theme=emerald] .quick-actions .transfer span,.app-shell[data-theme=emerald] .modal-badge.transfer{color:#d4ad55;background:#d8b75f24}.app-shell[data-theme=emerald] .transfer-preview{background:#10221c;border-color:#294c40}.app-shell[data-theme=emerald] .transfer-preview strong{color:#eadcaf}.bottom-nav{grid-template-columns:repeat(4,1fr)}.plan-section{margin-bottom:18px}.plan-list{gap:9px;display:grid}.plan-empty{border:1px dashed var(--line);color:var(--muted);border-radius:17px;margin:0;padding:17px;font-size:10px;line-height:1.5}.plan-card,.debt-card{background:#fff;border-radius:19px;grid-template-columns:40px minmax(0,1fr) auto 28px;align-items:center;gap:9px;padding:12px;display:grid}.plan-icon{width:38px;height:38px;color:var(--violet);background:#e8e4ff;border-radius:12px;place-items:center;display:grid}.plan-icon svg{width:19px}.plan-card>div:not(.plan-actions),.debt-card>div:not(.plan-actions){gap:4px;min-width:0;display:grid}.plan-card b,.debt-card b{font-size:11px}.plan-card small,.debt-card small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:8px;overflow:hidden}.plan-card i{background:var(--line);border-radius:8px;height:5px;display:block;overflow:hidden}.plan-card em{background:var(--violet);border-radius:8px;height:100%;display:block}.plan-card>strong,.debt-card>strong{white-space:nowrap;font-size:10px}.plan-card>button,.plan-actions button{color:#aaa5b3;background:0 0;border:0;border-radius:9px;place-items:center;width:28px;height:28px;padding:5px;display:grid}.plan-actions{gap:2px;display:flex!important}.goal-card,.debt-card{grid-template-columns:40px minmax(0,1fr) auto 58px}.debt-card.settled{opacity:.52}.debt-card.settled b{text-decoration:line-through}.plan-icon.owed_to_me{color:var(--green);background:#dff8ea}.plan-icon.i_owe{color:var(--red);background:#ffe5e0}.section-title>button{align-items:center;gap:3px;display:flex}.app-shell[data-theme=dark] .plan-card,.app-shell[data-theme=dark] .debt-card{background:#20222d}.app-shell[data-theme=emerald] .plan-card,.app-shell[data-theme=emerald] .debt-card{background:#0d1b17;border:1px solid #1b382f}.app-shell[data-theme=emerald] .plan-card b,.app-shell[data-theme=emerald] .debt-card b,.app-shell[data-theme=emerald] .plan-card>strong,.app-shell[data-theme=emerald] .debt-card>strong{color:#eadcaf}.app-shell[data-theme=emerald] .plan-icon{color:#d4ad55;background:#d8b75f24}.app-shell[data-theme=emerald] .plan-card em{background:#b58b37}.app-shell[data-theme=emerald] .plan-empty{color:#9aafa7;border-color:#294c40}@media (max-width:360px){.bottom-nav{padding-left:6px;padding-right:6px}.bottom-nav button{font-size:9px}.plan-card,.debt-card{gap:7px;padding:10px 8px}}@media (min-width:501px){.app-shell{min-height:100vh;padding:24px}.finance-app{border-radius:38px;width:460px;height:min(900px,100vh - 48px);min-height:670px;padding:30px 0 86px}.topbar{height:52px;margin:0 22px 18px}.pages{height:calc(100% - 70px)}.app-page{padding:0 22px 32px;display:block!important}.home-page .balance-card,.home-page .quick-actions,.home-page .section-block,.accounts-summary,.account-list,.rates-card,.period-switch,.month-cards,.spending-card,.history-card,.recurring-card{grid-area:auto;width:auto}.home-page .quick-actions{margin:16px 0 25px}.accounts-summary{margin-bottom:15px}.rates-card,.spending-card{margin-top:18px}.period-switch{margin:0}.month-cards{margin:13px 0}.history-card,.recurring-card{margin-top:14px}.bottom-nav{width:auto;height:82px;box-shadow:none;border-width:1px 0 0;border-radius:0;padding:8px 18px 14px;bottom:0;left:0;right:0;transform:none}.modal-card{width:min(460px,100%)}.category-grid{grid-template-columns:repeat(4,1fr)}}.app-shell[data-theme=light]{--violet:#2768c7;--paper:#f3f6fa;--line:#e1e7ef;background:radial-gradient(circle at 18% 15%,#c8ddf5 0,#0000 32%),#dfe7f0}.app-shell[data-theme=light] .finance-app{background:#f3f6fa}.app-shell[data-theme=light] .balance-card{background:linear-gradient(145deg,#347bd2,#1d4f91);box-shadow:0 18px 34px #1d4f9135}.app-shell[data-theme=light] .sparkline i{background:#ffffff30}.app-shell[data-theme=light] .sparkline i:last-child{background:#9de3ff}.app-shell[data-theme=light] .quick-actions .transfer span,.app-shell[data-theme=light] .modal-badge.account,.app-shell[data-theme=light] .modal-badge.transfer,.app-shell[data-theme=light] .plan-icon{color:#2768c7;background:#e2edfb}.app-shell[data-theme=light] .currency-list button.selected,.app-shell[data-theme=light] .category-grid button.selected,.app-shell[data-theme=light] .subcategory-list button.selected{color:#174f9a;background:#e7f0fc;border-color:#2768c7}.app-shell[data-theme=light] .category-grid button span{color:#2768c7;background:#edf3fa}.app-shell[data-theme=light] .category-grid button.selected span{color:#fff;background:#2768c7}.app-shell[data-theme=light] .account-card.violet{background:linear-gradient(135deg,#397fcf,#20528f)}.app-shell[data-theme=light] .account-card.mint{background:linear-gradient(135deg,#2d9f91,#17675e)}.app-shell[data-theme=light] .account-card.navy{background:linear-gradient(135deg,#34475f,#192635)}.app-shell[data-theme=light] .account-card.amber{background:linear-gradient(135deg,#d99a3c,#9b6120)}.app-shell[data-theme=light] .account-card.rose{background:linear-gradient(135deg,#d06676,#963e50)}.app-shell[data-theme=dark]{--ink:#f0eadc;--muted:#9d9a91;--paper:#111317;--line:#2e3035;--violet:#c89f49;background:#07080a}.app-shell[data-theme=dark] .finance-app{background:#111317}.app-shell[data-theme=dark] .balance-card{background:linear-gradient(145deg,#34373d,#191b20);border:1px solid #8d7138;box-shadow:0 18px 34px #0007}.app-shell[data-theme=dark] .balance-card:after{border-color:#c89f4918}.app-shell[data-theme=dark] .balance-card p b,.app-shell[data-theme=dark] .bottom-nav button.active,.app-shell[data-theme=dark] .section-title>button{color:#d9b765}.app-shell[data-theme=dark] .sparkline i{background:#c89f4930}.app-shell[data-theme=dark] .sparkline i:last-child{background:#d9b765}.app-shell[data-theme=dark] .quick-actions .transfer span,.app-shell[data-theme=dark] .modal-badge.account,.app-shell[data-theme=dark] .modal-badge.transfer,.app-shell[data-theme=dark] .plan-icon{color:#d9b765;background:#c89f4922}.app-shell[data-theme=dark] .category-grid button span,.app-shell[data-theme=dark] .icon-picker span{color:#d9b765;background:#343127;border-color:#51462e}.app-shell[data-theme=dark] .category-grid button.selected,.app-shell[data-theme=dark] .currency-list button.selected,.app-shell[data-theme=dark] .subcategory-list button.selected{color:#f4e5bc!important;background:#3a3120!important;border-color:#c89f49!important}.app-shell[data-theme=dark] .category-grid button.selected span{color:#17130b;background:#c89f49}.app-shell[data-theme=dark] .account-card.violet{background:linear-gradient(135deg,#45413a,#25231f)}.app-shell[data-theme=dark] .account-card.mint{background:linear-gradient(135deg,#3e4642,#222925)}.app-shell[data-theme=dark] .account-card.navy{background:linear-gradient(135deg,#292c31,#121316)}.app-shell[data-theme=dark] .account-card.amber{background:linear-gradient(135deg,#64502c,#322819)}.app-shell[data-theme=dark] .account-card.rose{background:linear-gradient(135deg,#4c3e3c,#292221)}.app-shell[data-theme=light] .profile,.app-shell[data-theme=light] .accounts-summary{background:#17385f}.app-shell[data-theme=light] .accounts-summary button{color:#fff;background:#2f73c7}.app-shell[data-theme=light] .bottom-nav{background:#f8fafdf2;border-color:#d9e2ed}.app-shell[data-theme=light] .eyebrow{color:#5e7897}.app-shell[data-theme=dark] .profile,.app-shell[data-theme=dark] .accounts-summary{background:#24262b;border:1px solid #5a4a2b}.app-shell[data-theme=dark] .accounts-summary button{color:#17130b;background:#c89f49}.app-shell[data-theme=dark] .eyebrow{color:#c89f49}.app-shell[data-theme=dark] .primary-submit{color:#17130b}.app-shell[data-theme=dark] .bottom-nav{background:#111317f2;border-color:#34322d}.app-shell[data-theme=lavender] .profile,.app-shell[data-theme=lavender] .accounts-summary{background:#342b55}.app-shell[data-theme=lavender] .accounts-summary button{background:#765de8}.app-shell[data-theme=lavender] .bottom-nav{background:#f4f0fcf2;border-color:#ddd5f0}.app-shell[data-theme=lavender] .eyebrow{color:#77699a}.app-shell[data-theme=mint] .profile,.app-shell[data-theme=mint] .accounts-summary{background:#164f40}.app-shell[data-theme=mint] .accounts-summary button{background:#228d69}.app-shell[data-theme=mint] .bottom-nav{background:#f3faf6f2;border-color:#cfe4da}.app-shell[data-theme=mint] .eyebrow{color:#4d7c6d}.app-shell[data-theme=mint] .modal-badge.account,.app-shell[data-theme=mint] .modal-badge.transfer,.app-shell[data-theme=mint] .quick-actions .transfer span,.app-shell[data-theme=mint] .plan-icon{color:#228d69;background:#dff3e9}.app-shell[data-theme=light]{--ink:#172236;--muted:#657387;--paper:#f4f7fb;--surface:#fff;--surface-2:#eaf0f6;--line:#d8e2ed;--accent:#2e6fab;--accent-strong:#174775;--on-accent:#fff;--balance-a:#2f73b7;--balance-b:#1b4e82;--balance-text:#fff;--balance-muted:#dcecff;--highlight:#8ed7f2;--shell:#dce7f2;--summary:#172c45;--income:#137957;--income-soft:#dcf3e9;--expense:#c84d4d;--expense-soft:#fbe4e1;--account-1:linear-gradient(135deg,#397fbe,#21588c);--account-2:linear-gradient(135deg,#33899a,#1d6572);--account-3:linear-gradient(135deg,#53677e,#293a4e);--account-4:linear-gradient(135deg,#b78343,#805726);--account-5:linear-gradient(135deg,#b55e6c,#7c3d49)}.app-shell[data-theme=dark]{--ink:#f1f5f8;--muted:#9da9b5;--paper:#101419;--surface:#1a2027;--surface-2:#242c35;--line:#303b46;--accent:#71a9d8;--accent-strong:#325f82;--on-accent:#07121b;--balance-a:#273b4d;--balance-b:#17232e;--balance-text:#f6fbff;--balance-muted:#b9c9d6;--highlight:#74b4e5;--shell:#070a0d;--summary:#202934;--income:#77d2ad;--income-soft:#17372e;--expense:#f08f8f;--expense-soft:#402426;--account-1:linear-gradient(135deg,#355b78,#1c3549);--account-2:linear-gradient(135deg,#315d62,#1c393d);--account-3:linear-gradient(135deg,#39424d,#20262d);--account-4:linear-gradient(135deg,#62513c,#382e23);--account-5:linear-gradient(135deg,#68434a,#3b272c)}.app-shell[data-theme=emerald-light]{--ink:#173c32;--muted:#627a72;--paper:#edf7f2;--surface:#fff;--surface-2:#dfeee7;--line:#c9dfd5;--accent:#1a7b62;--accent-strong:#0d5645;--on-accent:#fff;--balance-a:#25856b;--balance-b:#0e5948;--balance-text:#fff;--balance-muted:#d7efe7;--highlight:#e0bd64;--shell:#d9eee5;--summary:#123f34;--income:#116d50;--income-soft:#d9f0e6;--expense:#b95252;--expense-soft:#f8e1df;--account-1:linear-gradient(135deg,#30967a,#16654f);--account-2:linear-gradient(135deg,#418c70,#24634f);--account-3:linear-gradient(135deg,#397465,#204c40);--account-4:linear-gradient(135deg,#a98642,#6f5727);--account-5:linear-gradient(135deg,#607c61,#3b5541)}.app-shell[data-theme=emerald-dark]{--ink:#f0e7ca;--muted:#9aafa7;--paper:#06100d;--surface:#0d1c17;--surface-2:#142820;--line:#24443a;--accent:#d2ad55;--accent-strong:#8e6e2d;--on-accent:#161006;--balance-a:#0b3b31;--balance-b:#06251f;--balance-text:#f4e9c7;--balance-muted:#adc1b9;--highlight:#d8b75f;--shell:#020706;--summary:#0b2b24;--income:#8fd6b8;--income-soft:#173c31;--expense:#e2a08e;--expense-soft:#3a2722;--account-1:linear-gradient(135deg,#176b58,#0b3f34);--account-2:linear-gradient(135deg,#285f50,#123b31);--account-3:linear-gradient(135deg,#24483e,#102b24);--account-4:linear-gradient(135deg,#76602d,#433516);--account-5:linear-gradient(135deg,#3e5948,#21352b)}.app-shell[data-theme=lavender-light]{--ink:#302943;--muted:#756f88;--paper:#f5f2fb;--surface:#fff;--surface-2:#eae4f5;--line:#ddd4ec;--accent:#7058c7;--accent-strong:#4f3a96;--on-accent:#fff;--balance-a:#745bc6;--balance-b:#5944a8;--balance-text:#fff;--balance-muted:#e9e1ff;--highlight:#d7c9ff;--shell:#e4dcf2;--summary:#33294f;--income:#26775a;--income-soft:#e0f2ea;--expense:#bd555d;--expense-soft:#fae3e4;--account-1:linear-gradient(135deg,#816bd1,#5b45a8);--account-2:linear-gradient(135deg,#9077c7,#674fa1);--account-3:linear-gradient(135deg,#62577d,#382f4e);--account-4:linear-gradient(135deg,#9d78aa,#704f7e);--account-5:linear-gradient(135deg,#a46787,#763f5e)}.app-shell[data-theme=lavender-dark]{--ink:#f2edff;--muted:#aaa1c0;--paper:#100d18;--surface:#1b1627;--surface-2:#282039;--line:#3a3050;--accent:#b197ff;--accent-strong:#7459c6;--on-accent:#160f27;--balance-a:#4c377b;--balance-b:#281d46;--balance-text:#fbf9ff;--balance-muted:#cfc3e8;--highlight:#d8c8ff;--shell:#08060d;--summary:#251c38;--income:#8dd6b7;--income-soft:#1d3b32;--expense:#ee9ca5;--expense-soft:#45252f;--account-1:linear-gradient(135deg,#654b9c,#392b5e);--account-2:linear-gradient(135deg,#70568b,#433452);--account-3:linear-gradient(135deg,#40364f,#26202f);--account-4:linear-gradient(135deg,#72536f,#432f43);--account-5:linear-gradient(135deg,#78445f,#49283a)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]){background:var(--shell);color:var(--ink);--violet:var(--accent);--green:var(--income);--red:var(--expense)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .finance-app{background:var(--paper);color:var(--ink)}.app-shell[data-theme=light],.app-shell[data-theme=emerald-light],.app-shell[data-theme=lavender-light]{background-image:radial-gradient(circle at 18% 14%,#ffffff8c 0,#0000 32%)}.app-shell[data-theme=dark],.app-shell[data-theme=emerald-dark],.app-shell[data-theme=lavender-dark]{background-image:radial-gradient(circle at 50% 12%,#ffffff08 0,#0000 34%)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .topbar h1,.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .section-title h2{color:var(--ink)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .eyebrow{color:var(--accent)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .profile{background:var(--surface-2);color:var(--accent);border:1px solid var(--line)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .balance-card{background:linear-gradient(145deg,var(--balance-a),var(--balance-b));color:var(--balance-text);border:1px solid var(--highlight)}@supports (color:color-mix(in lab, red, red)){.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .balance-card{border:1px solid color-mix(in srgb,var(--highlight) 58%,transparent)}}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .balance-card{box-shadow:0 18px 34px #00000024}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .balance-head,.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .balance-card p{color:var(--balance-muted)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .balance-card p b{color:var(--highlight)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .sparkline i{background:#ffffff25}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .sparkline i:last-child{background:var(--highlight)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.quick-actions button,.transactions,.rates-card,.spending-card,.history-card,.recurring-card,.month-cards article,.plan-card,.debt-card,.transfer-preview){background:var(--surface);color:var(--ink);border-color:var(--line)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.quick-actions b,.transactions b,.history-card b,.rate-row b,.month-cards strong,.plan-card b,.debt-card b){color:var(--ink)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.quick-actions small,.transactions small,.history-card small,.rate-row small,.section-title>span,.month-cards span,.plan-card small,.debt-card small){color:var(--muted)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .income span{background:var(--income-soft);color:var(--income)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .expense span{background:var(--expense-soft);color:var(--expense)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.quick-actions .transfer span,.modal-badge.account,.modal-badge.transfer,.plan-icon){background:var(--surface-2);color:var(--accent)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .accounts-summary{background:var(--summary);border:1px solid var(--accent)}@supports (color:color-mix(in lab, red, red)){.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .accounts-summary{border:1px solid color-mix(in srgb,var(--accent) 50%,transparent)}}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .accounts-summary{color:var(--balance-text)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .accounts-summary span{color:var(--balance-muted)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .accounts-summary button{background:var(--accent);color:var(--on-accent)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .account-card.violet{background:var(--account-1)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .account-card.mint{background:var(--account-2)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .account-card.navy{background:var(--account-3)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .account-card.amber{background:var(--account-4)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .account-card.rose{background:var(--account-5)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .bottom-nav{background:var(--paper)}@supports (color:color-mix(in lab, red, red)){.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .bottom-nav{background:color-mix(in srgb,var(--paper) 94%,transparent)}}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .bottom-nav{border-color:var(--line)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .bottom-nav button{color:var(--muted)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .bottom-nav button.active{color:var(--accent)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .period-switch{background:var(--surface-2)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .period-switch button{color:var(--muted)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .period-switch button.active{background:var(--surface);color:var(--ink)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .donut:before{background:var(--surface)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .modal-card{background:var(--paper);color:var(--ink);border:1px solid var(--line)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.modal-card input,.modal-card select,.category-grid button,.subcategory-list button,.theme-choice,.currency-list button){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.modal-lead,.modal-card label>span,.category-label,.currency-list button small){color:var(--muted)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .currency-list button b{color:var(--ink)!important}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.currency-list button.selected,.category-grid button.selected,.subcategory-list button.selected,.theme-choice.selected){box-shadow:0 0 0 2px var(--accent);background:var(--surface-2)!important;border-color:var(--accent)!important;color:var(--ink)!important}@supports (color:color-mix(in lab, red, red)){.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.currency-list button.selected,.category-grid button.selected,.subcategory-list button.selected,.theme-choice.selected){box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) :is(.category-editor,.deposit-settings,.recurring-toggle){background:var(--surface-2);border-color:var(--line)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .modal-close{background:var(--surface-2);color:var(--muted)}.app-shell:is([data-theme=light],[data-theme=dark],[data-theme=emerald-light],[data-theme=emerald-dark],[data-theme=lavender-light],[data-theme=lavender-dark]) .primary-submit{background:var(--accent);color:var(--on-accent)}.theme-choice.light>i{background:linear-gradient(135deg,#fff,#bcd1e5)}.theme-choice.dark>i{background:linear-gradient(135deg,#344453,#0f151b)}.theme-choice.emerald-light>i{background:linear-gradient(135deg,#eff9f4,#2b9476)}.theme-choice.emerald-dark>i{background:linear-gradient(135deg,#0c4b3e,#06110e);box-shadow:inset 0 0 0 1px #b68c37}.theme-choice.lavender-light>i{background:linear-gradient(135deg,#faf7ff,#8c72dc)}.theme-choice.lavender-dark>i{background:linear-gradient(135deg,#60438f,#130d20)}.auth-card{scrollbar-width:none;max-height:calc(100dvh - 32px);overflow:auto}.auth-card::-webkit-scrollbar{display:none}.google-signin{place-items:center;min-height:44px;display:grid}.google-signin>div{max-width:100%;overflow:hidden}.google-signin span{color:#8e8b9d;font-size:11px}.google-unavailable{color:#5d5a70;background:#faf9fc;border:1px dashed #d7d3e4;border-radius:15px;gap:3px;padding:12px;display:grid}.google-unavailable b{font-size:12px}.google-unavailable small{color:#8e8b9d;font-size:10px}.auth-divider{color:#9b98a8;align-items:center;gap:10px;margin:14px 0;font-size:10px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e9e7ef;flex:1;height:1px}.auth-tabs{background:#f0eef5;border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:14px;padding:4px;display:grid}.auth-tabs button{color:#777487;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:9px;font-weight:750}.auth-tabs button.active{color:#17172a;background:#fff;box-shadow:0 3px 10px #1c183312}.auth-card .email-auth-form{grid-template-columns:1fr;align-items:stretch;gap:10px;display:grid}.auth-card .email-auth-form label{gap:6px;font-size:11px}.auth-card .email-auth-form input{text-align:left;letter-spacing:0;padding:12px 13px;font-size:13px;font-weight:600}.auth-card .email-auth-form button{height:auto;padding:13px}.auth-card .form-error{margin-top:12px}.auth-card>small{margin-top:13px}.verification-form input[name=code]{font-variant-numeric:tabular-nums;text-align:center!important;letter-spacing:.28em!important;font-size:24px!important}.verification-actions{flex-wrap:wrap;justify-content:center;gap:16px;margin-top:13px;display:flex}.verification-actions button{color:var(--accent,#16705a);cursor:pointer;background:0 0;border:0;padding:4px;font-family:inherit;font-size:11px;font-weight:700}.verification-actions button:disabled{opacity:.5;cursor:wait}.auth-dark .verification-actions button{color:#e4c66f}.linked-methods{gap:12px;display:grid}.linked-method{border:1px solid var(--line);background:var(--surface,#fff);border-radius:16px;grid-template-columns:38px 1fr 20px;align-items:center;gap:10px;padding:12px;display:grid}.linked-method>svg:first-child,.google-letter{background:var(--surface-2,#efedf5);width:36px;height:36px;color:var(--accent,var(--violet));border-radius:12px;place-items:center;font-weight:850;display:grid}.linked-method>svg:last-child{color:var(--green)}.linked-method div{gap:3px;display:grid}.linked-method b{font-size:11px}.linked-method small{color:var(--muted);font-size:9px}.link-email-form{border:1px solid var(--line);background:var(--surface-2,#efedf5);border-radius:18px;gap:11px;padding:14px;display:grid}.form-success{color:#18734f;background:#e1f4e9;border-radius:12px;margin:14px 0 0;padding:10px;font-size:10px}.top-actions{gap:6px}@media (max-width:380px){.top-actions{gap:4px}.top-actions .profile{width:37px;height:37px}.auth-card{padding:20px}.auth-card h1{font-size:24px}}@media (max-width:899px) and (orientation:landscape) and (max-height:560px){.auth-card .email-auth-form{grid-template-columns:1fr 1fr}.auth-card .email-auth-form button{height:auto}.auth-card{width:min(760px,100%)}.auth-divider{margin:8px 0}.auth-tabs{margin-bottom:8px}}.auth-screen{background:radial-gradient(circle at 50% 8%,#dcece6 0,#0000 34%),#f1f5f3;transition:background .2s,color .2s;position:relative}.auth-card{background:#fff;border-color:#dbe5e0;width:min(100%,410px);padding:30px;box-shadow:0 24px 70px #17382e18}.auth-logo{object-fit:cover;background:#07372e;border-radius:23px;width:76px;height:76px;margin:0 auto 15px;display:block;box-shadow:0 12px 30px #07534430}.auth-card .eyebrow{color:#9b762c;letter-spacing:.2em}.auth-card h1{font-size:28px}.auth-card>p:not(.eyebrow){color:#66766f;margin-bottom:18px}.auth-tabs{background:#eef3f0}.auth-tabs button.active{color:#0a332a}.auth-card .email-auth-form input:focus{border-color:#16705a;box-shadow:0 0 0 4px #16705a14}.auth-card .email-auth-form button{color:#f4dfaa;background:#0b352c}.auth-theme-toggle{z-index:5;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));color:#155746;cursor:pointer;background:#fff;border:1px solid #d4e1db;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:fixed;box-shadow:0 8px 24px #102c2418}.auth-theme-toggle svg{width:19px;height:19px}.auth-screen.auth-dark{color:#f1e8cc;background:radial-gradient(circle at 50% 8%,#10372e 0,#0000 34%),#030907}.auth-dark .auth-card{background:#08130f;border-color:#24443a;box-shadow:0 28px 80px #0009}.auth-dark .auth-logo{box-shadow:0 12px 32px #0008}.auth-dark .auth-card h1{color:#f2e7c7}.auth-dark .auth-card>p:not(.eyebrow){color:#99aca5}.auth-dark .auth-tabs{background:#10231d}.auth-dark .auth-tabs button{color:#84978f}.auth-dark .auth-tabs button.active{color:#efd994;box-shadow:none;background:#19372e}.auth-dark .auth-card label{color:#b8c5c0}.auth-dark .auth-card input{color:#f3ead1;background:#10221c;border-color:#294a40}.auth-dark .auth-card input::placeholder{color:#71867e}.auth-dark .auth-card .email-auth-form button{color:#09120f;background:#c49a3d}.auth-dark .auth-theme-toggle{color:#e4c66f;background:#10231d;border-color:#335248}.auth-dark .form-error{color:#f2a3a3;background:#321d1d}.account-support{border-top:1px solid var(--line);gap:7px;margin-top:16px;padding-top:14px;display:grid}.account-support>span{color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800}.account-support a{color:var(--accent,var(--violet));align-items:center;gap:8px;font-size:10px;font-weight:700;text-decoration:none;display:flex}.account-support svg{width:15px;height:15px}@media (max-width:500px){.auth-card{padding:26px 24px}.auth-theme-toggle{width:40px;height:40px;top:max(12px,env(safe-area-inset-top));right:12px}}.loading-screen[data-theme=emerald-dark]{color:#eadcaf;background:radial-gradient(circle at 50% 42%,#12382f 0,#0000 32%),#050c09}.loading-screen[data-theme=emerald-dark] .loader-logo{background:#07362d;border:1px solid #9b7934;overflow:hidden;box-shadow:0 15px 34px #0008}.loading-screen[data-theme=emerald-dark] .loader-logo img{object-fit:cover;width:100%;height:100%;display:block}.loading-screen[data-theme=emerald-dark] span{color:#91a69e}.danger-link{color:#c14343;width:100%;font:inherit;cursor:pointer;background:#d45a5a12;border:1px solid #d45a5a55;border-radius:13px;margin-top:16px;padding:12px;font-size:11px;font-weight:800}.modal-badge.danger{color:#c43e3e;background:#ffe4e4}.danger-submit,.secondary-submit{font:inherit;cursor:pointer;border:0;border-radius:14px;padding:14px;font-size:11px;font-weight:800}.danger-submit{color:#fff;background:#b53232}.danger-submit:disabled{opacity:.55}.secondary-submit{color:#4d4954;background:#e8e6ed}.total-budget-card{border:1px solid var(--accent,#6f5cf4)}@supports (color:color-mix(in lab, red, red)){.total-budget-card{border:1px solid color-mix(in srgb,var(--accent,#6f5cf4) 45%,transparent)}}.total-budget-card{background:var(--accent,#6f5cf4)}@supports (color:color-mix(in lab, red, red)){.total-budget-card{background:color-mix(in srgb,var(--accent,#6f5cf4) 8%,var(--surface,#fff))}}.total-budget-card .plan-icon{background:var(--accent,#6f5cf4);color:#fff}.total-budget-card>div>small{white-space:normal;line-height:1.35}.plus-entry{color:#f1e4bc;background:linear-gradient(135deg,#0b3b31,#10241d);border:1px solid #b88d3470;border-radius:16px;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;margin-top:16px;padding:12px;text-decoration:none;display:grid}.plus-entry>span{color:#08120e;background:#d4ad45;border-radius:13px;place-items:center;width:40px;height:40px;display:grid}.plus-entry svg{width:20px}.plus-entry div{gap:3px;display:grid}.plus-entry b{font-size:11px}.plus-entry small{color:#9eb0a9;font-size:9px}.plus-entry strong{color:#dcbd63;font-size:9px}.currency-search{margin-bottom:12px;position:relative;display:block!important}.currency-search svg{z-index:1;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.currency-search input{padding-left:42px!important}.currency-list{max-height:470px;padding-right:3px;overflow-y:auto}.currency-list button>span{background:var(--surface-2,#f0eef5);border-radius:12px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:grid;overflow:hidden}.currency-empty{text-align:center;color:var(--muted);margin:18px 0;font-size:12px}.settings-entry{border:1px solid var(--line);background:var(--surface,#fff);width:100%;color:var(--ink);text-align:left;cursor:pointer;border-radius:14px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px;padding:12px;text-decoration:none;display:grid}.settings-entry>svg{width:20px;color:var(--accent,var(--violet))}.settings-entry div{gap:3px;display:grid}.settings-entry b{font-size:11px}.settings-entry small{color:var(--muted);font-size:9px}.settings-entry strong{color:var(--accent,var(--violet));font-size:9px}.language-list{gap:8px;display:grid}.language-list button{border:1px solid var(--line);background:var(--surface,#fff);color:var(--ink);text-align:left;cursor:pointer;border-radius:15px;grid-template-columns:38px 1fr 24px;align-items:center;gap:9px;padding:12px;display:grid}.language-list button>span{font-size:23px}.language-list button b{font-size:12px}.language-list button i{background:var(--accent,var(--violet));color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;font-size:11px;font-style:normal;display:grid}.language-list button.selected{border-color:var(--accent,var(--violet));background:var(--surface-2,#f0edff)}.top-plus{border:1px solid var(--accent);align-items:center;gap:6px;height:42px;display:flex}@supports (color:color-mix(in lab, red, red)){.top-plus{border:1px solid color-mix(in srgb,var(--accent) 58%,var(--line))}}.top-plus{background:linear-gradient(135deg,var(--accent),var(--surface-2));border-radius:14px}@supports (color:color-mix(in lab, red, red)){.top-plus{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 16%,var(--surface-2)),var(--surface-2))}}.top-plus{color:var(--accent);white-space:nowrap;box-shadow:0 6px 16px var(--accent);padding:0 10px;font-size:10px;font-weight:850;text-decoration:none}@supports (color:color-mix(in lab, red, red)){.top-plus{box-shadow:0 6px 16px color-mix(in srgb,var(--accent) 18%,transparent)}}.top-plus{transition:transform .16s,background .16s}.top-plus:hover{background:var(--accent);transform:translateY(-1px)}@supports (color:color-mix(in lab, red, red)){.top-plus:hover{background:color-mix(in srgb,var(--accent) 22%,var(--surface-2))}}.top-plus svg{color:currentColor}@media (max-width:430px){.top-plus span{font-size:0}.top-plus span:after{content:"Plus";font-size:10px}.top-plus{padding:0 8px}}@media (max-width:365px){.top-plus{justify-content:center;width:38px;padding:0}.top-plus span{display:none}.top-actions .profile{width:36px;height:36px}.top-plus{height:36px}}@media (min-width:501px){.app-shell{padding:24px}.finance-app{border-radius:38px;width:min(460px,100vw - 48px);height:min(900px,100dvh - 48px);min-height:min(670px,100dvh - 48px);padding:30px 0 86px}.topbar{height:52px;margin:0 22px 18px}.pages{height:calc(100% - 70px)}.app-page{padding:0 22px 32px;display:block}.home-page,.accounts-page,.analytics-page{display:block}.home-page .balance-card,.home-page .quick-actions,.home-page .section-block,.accounts-summary,.account-list,.rates-card,.period-switch,.month-cards,.spending-card,.history-card{grid-area:auto;align-self:auto;width:auto}.home-page .quick-actions{margin:16px 0 25px}.accounts-summary{margin-bottom:15px}.rates-card,.spending-card{margin-top:18px}.period-switch{margin:0}.month-cards{margin:13px 0}.history-card{margin-top:14px;overflow:visible}.bottom-nav{width:auto;height:82px;box-shadow:none;border-width:1px 0 0;border-radius:0;padding:8px 18px 14px;bottom:0;left:0;right:0;transform:none}.modal-card{width:min(460px,100%)}.category-grid{grid-template-columns:repeat(4,1fr)}}.goal-forecast{border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:16px;gap:8px;margin:12px 0;padding:14px;font-size:14px;line-height:1.5;display:grid}.goal-forecast b{color:var(--violet)}.goal-forecast small,.goal-help{color:var(--muted);font-size:12px;line-height:1.5}.goal-help{margin:4px 0 12px}.goal-settings-link,.goal-delete{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:8px;margin-top:10px;padding:10px;font-size:14px;display:flex}.goal-delete{color:var(--red)}.modal-card input[readonly]{opacity:.8;cursor:default}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
