@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#faf7f7;--pink:#efbacc;--accent:#9d526f;--ink:#302932;--muted:#94868d;--line:#eee6e9;--green:#547d70}*{box-sizing:border-box}body{margin:0;background:#eee8eb;color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}#app{max-width:480px;min-height:100vh;margin:auto;background:var(--bg);padding:28px 23px 110px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.brand{font-family:Manrope,sans-serif;font-size:29px;letter-spacing:-1.5px;font-weight:800}.brand em{color:var(--accent);font-style:normal}.avatar{border-radius:50%;width:42px;height:42px;background:#f2dce5;display:grid;place-items:center;font-weight:700;color:var(--accent)}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted)}h1{font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-1px;margin:7px 0}h2{font-size:16px;letter-spacing:-.35px;margin:0}p{line-height:1.6}.sub{color:var(--muted);font-size:12px}.heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 16px}.month{display:flex;align-items:center;gap:4px}.month input{border:0;background:transparent;width:132px;font-size:12px;color:var(--accent)}.hero{position:relative;overflow:hidden;margin-top:23px;background:linear-gradient(120deg,#f7dce7,#edb7cb);border-radius:28px;padding:26px;box-shadow:0 12px 28px #c791a51c}.hero:after{content:'';position:absolute;width:180px;height:180px;border:1px solid #ffffff70;border-radius:50%;right:-82px;top:-45px;box-shadow:0 0 0 30px #ffffff20,0 0 0 60px #ffffff13;pointer-events:none}.hero .label{font-size:12px;color:#80576a}.balance{font-family:Manrope;font-size:32px;letter-spacing:-1.8px;font-weight:800;margin:10px 0 18px}.herofoot{display:flex;justify-content:space-between;border-top:1px solid #ffffff70;padding-top:15px;font-size:11px;color:#80576a}.minirow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.mini{border:1px solid var(--line);border-radius:20px;background:#fff;padding:16px}.mini strong{display:block;margin-top:9px;font-size:17px;letter-spacing:-.6px}.mini .sub{font-size:11px}.ic{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#f8e8ee;color:var(--accent);font-size:19px;flex-shrink:0}.ic.income{background:#eaf2ee;color:var(--green)}.card{background:white;border:1px solid #f1ebee;border-radius:23px;padding:20px;margin-top:14px}.pill{display:inline-block;padding:7px 10px;border-radius:30px;font-size:10px;background:#f5e7ed;color:var(--accent)}.link{font-size:11px;color:var(--accent);font-weight:600}.row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f4eff1;width:100%;text-align:left}.row:last-child{border:0}.row .info{flex:1;min-width:0}.row b{font-size:12px}.row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.money{font-weight:700;font-size:12px;white-space:nowrap}.positive{color:var(--green)}.negative{color:#ac627e}.empty{text-align:center;color:var(--muted);padding:30px 10px;line-height:1.8}.primary{background:var(--ink);color:white;border-radius:16px;padding:15px 20px;font-weight:600;min-height:46px}.secondary{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fff;min-height:44px}.full{width:100%}.stack{display:grid;gap:12px}.legend{display:flex;gap:14px;font-size:10px;color:var(--muted);margin-top:13px}.dot{width:7px;height:7px;background:var(--pink);display:inline-block;border-radius:50%;margin-right:5px}.dot.green{background:#9abcae}.chart{height:135px;display:flex;align-items:flex-end;gap:5px;padding-top:15px;border-bottom:1px solid var(--line)}.barcol{flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px;position:relative}.bar{background:var(--pink);width:9px;border-radius:5px 5px 1px 1px;min-height:2px}.bar.green{background:#9abcae}.axis{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin-top:9px}.progress{height:6px;background:#f6eef2;border-radius:6px;margin-top:9px;overflow:hidden}.progress i{display:block;height:100%;background:var(--pink);border-radius:6px}.catline{margin:16px 0}.catline>div{display:flex;justify-content:space-between;font-size:11px}#nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);display:flex;align-items:center;justify-content:space-around;background:#fffffff5;border-top:1px solid var(--line);padding:12px 8px max(18px,env(safe-area-inset-bottom));z-index:5;backdrop-filter:blur(15px)}#nav button{display:grid;gap:5px;place-items:center;color:var(--muted);font-size:9px;min-width:55px;min-height:44px}#nav button svg{width:20px;height:20px}#nav button.active{color:var(--accent)}#nav .add{background:var(--ink);color:white;width:53px;height:53px;border-radius:50%;margin-top:-31px;box-shadow:0 0 0 7px var(--bg);font-size:27px;min-width:53px}dialog{border:0;border-radius:28px 28px 0 0;padding:26px;width:min(480px,100%);max-height:90vh;position:fixed;bottom:0;top:auto;margin:0 auto;overflow:auto;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#30293265;backdrop-filter:blur(3px)}.dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.close{font-size:24px;min-width:44px;min-height:44px}label{display:block;font-size:12px;margin-bottom:15px}label input,label select,.search{display:block;width:100%;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);margin-top:7px;min-width:0}.tabs{display:flex;background:#eee7eb;border-radius:13px;padding:4px;margin:16px 0}.tabs button{flex:1;padding:11px;font-size:12px;border-radius:10px}.tabs .selected{background:white;box-shadow:0 2px 8px #30293208}.datehead{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;margin:24px 0 4px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{padding:16px;border:1px solid var(--line);border-radius:16px}.stat b{display:block;font-size:17px;margin-top:8px}.donut{width:148px;height:148px;border-radius:50%;margin:25px auto;display:grid;place-items:center}.donut>div{width:116px;height:116px;border-radius:50%;background:white;display:flex;flex-direction:column;justify-content:center;text-align:center}.donut b{font-size:15px}.compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}.compare input{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:white}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:14px;padding:13px 20px;z-index:20;font-size:12px;display:none;max-width:90vw}.error{color:#ad315b;font-size:12px}.note{font-size:11px;color:var(--muted);line-height:1.7}.badge{font-size:9px;background:#fff8;padding:4px 8px;border-radius:20px}svg{vertical-align:middle}.intro{display:flex;justify-content:space-between;align-items:center}.spark{font-size:30px;color:var(--pink)}@media(min-width:600px){#app{box-shadow:0 0 80px #68485810}}@media(prefers-reduced-motion:no-preference){.card,.hero{animation:appear .3s ease}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
body{background:#fff}#app{background:#fff}#nav{background:#fffffff5}#nav .add{box-shadow:0 0 0 7px #fff}.card,.mini,.stat{background:#fff;border-color:#f1e8ed}.category-label{display:inline-flex;align-items:center;gap:7px}.category-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}.ic svg{width:21px;height:21px}.budget-intro{display:flex;gap:15px;align-items:flex-start}.budget-intro>svg{width:38px;height:38px;flex-shrink:0;color:var(--accent);padding:7px;background:#f9e9f0;border-radius:12px}.budget-intro p{margin-bottom:0}.budget-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.budget-total>b{font-size:20px}.catline .note{margin:5px 0 0}.over{color:#b13d59}.daily{gap:2px;height:110px}.daily .bar{width:100%;max-width:8px}dialog{background:#fff}.hero{background:linear-gradient(120deg,#fbe6ee,#edb7cb)}
/* More expressive charts, with a stable pink / violet series palette. */
.monthly-chart{display:flex;gap:10px;margin-top:22px}.chart-scale{width:30px;flex-shrink:0;height:152px;display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#9b8593;padding-bottom:0}.chart-plot{position:relative;flex:1;min-width:0}.chart-grid{position:absolute;inset:0 0 23px;background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#f1e8ef calc(50% - 1px),#f1e8ef 50%);border-bottom:1px solid #eaddE7;pointer-events:none}.chart.monthly{height:152px;padding-top:0;border:0;position:relative;gap:5px}.monthly .barcol{gap:5px;isolation:auto}.monthly .bar{width:clamp(10px,3.5vw,18px);border-radius:7px 7px 3px 3px;background:linear-gradient(0deg,#bd246d,#ed79ad);box-shadow:0 4px 9px #d52e8317;position:relative;min-height:4px;cursor:pointer;transition:filter .2s,transform .2s}.monthly .bar.green{background:linear-gradient(0deg,#5b8db1,#9cc7e5);box-shadow:0 4px 9px #6595b81a}.monthly .bar:hover,.monthly .bar:focus{filter:saturate(1.2);transform:translateY(-3px);outline:none}.monthly .bar.zero,.daily .bar.zero{min-height:0!important;height:0!important;box-shadow:none}.monthly .bar.zero:focus{outline:2px solid #c0a3b6}.bar-tooltip{display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#283036;color:white;padding:9px 11px;border-radius:10px;font-size:10px;line-height:1.7;white-space:nowrap;z-index:8;box-shadow:0 5px 20px #28303620;pointer-events:none}.bar:hover .bar-tooltip,.bar:focus .bar-tooltip{display:block}.barcol:first-child .bar-tooltip{left:0;transform:none}.barcol:last-child .bar-tooltip{left:auto;right:0;transform:none}.chart-plot .axis{justify-content:initial;gap:5px;margin-top:10px}.chart-plot .axis span{flex:1;text-align:center;color:#8e7b89;font-size:10px}.chart-plot .axis .current{color:#a62f68;font-weight:700}.dot{background:#d53e86;width:8px;height:8px}.dot.green{background:#72a2c5}.legend{gap:13px;margin-top:18px;color:#796774;font-size:10px}.chart-hint{margin-left:auto;color:#a18b99;font-size:9px}.category-dot{width:9px;height:9px}.progress{background:#edeff1;height:7px}.daily .bar{background:linear-gradient(0deg,#c72f79,#ed80b1);border-radius:5px 5px 2px 2px}.catline b{color:#433440}.ic{border:1px solid #ffffff80}
@media(max-width:380px){.monthly .bar{width:12px}.monthly .barcol{gap:3px}.chart-scale{width:26px}.legend{gap:9px}.chart-hint{display:none}}
.week-card{padding:24px 20px;background:linear-gradient(135deg,#fbfdfe,#fff 55%);overflow:hidden}.week-summary{display:flex;align-items:center;gap:18px;padding:3px 0 25px;border-bottom:1px solid #eef2f5;margin-bottom:23px}.week-ring{width:116px;height:116px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;transform:rotate(-25deg)}.week-ring>div{width:87px;height:87px;border-radius:50%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(25deg);gap:5px}.week-ring small{font-size:9px;color:#8d9da8}.week-ring b{font-size:11px;letter-spacing:-.3px}.week-categories{display:grid;gap:11px;min-width:0}.week-categories>div{display:flex;align-items:center;gap:7px;font-size:10px}.week-categories i,.week-legend i{width:8px;height:8px;display:inline-block;border-radius:50%;flex-shrink:0}.week-categories span{line-height:1.5}.week-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.week-heading h2{font-size:14px}.week-heading h2 span{white-space:nowrap}.week-dots{display:flex;gap:2px}.week-dots button{width:14px;height:28px;padding:0;position:relative}.week-dots button:after{content:'';display:block;width:5px;height:5px;background:#e2e7ea;border-radius:50%;margin:auto}.week-dots .selected:after{background:#2477b5;width:7px;height:7px}.week-daterow{display:flex;justify-content:space-between;gap:10px;color:#9b90a4;font-size:9px;margin-top:10px}.week-bars{display:flex;gap:10px;padding:50px 2px 0;margin-bottom:23px}.week-day{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;position:relative;gap:7px}.week-track{height:150px;width:100%;display:flex;justify-content:center;align-items:flex-end}.week-stack{display:flex;flex-direction:column;width:8px;gap:7px;max-height:100%}.week-stack button{padding:0;width:8px;border-radius:20px;min-height:0;transition:filter .2s}.week-stack button:hover,.week-stack button:focus{filter:brightness(1.18);outline:3px solid #cde2f1;outline-offset:3px}.week-income{background:#2477b5}.week-expense{background:#ffced8}.week-day>span:not(.today-bubble){color:#a59aaa;font-size:10px;margin-top:10px}.week-day>b{font-size:10px;color:#a59aaa;font-weight:500}.week-day.is-today>b,.week-day.is-today>span:not(.today-bubble){color:#2477b5;font-weight:700}.today-bubble{position:absolute;top:-34px;font-size:9px;background:#e6f2fa;color:#2477b5;border-radius:8px;padding:7px 8px;white-space:nowrap}.today-bubble:after{content:'';position:absolute;bottom:-4px;left:calc(50% - 4px);width:8px;height:8px;background:#e6f2fa;transform:rotate(45deg)}.future-bar{height:100%;width:7px;border-radius:10px;background:#edeff1}.week-legend{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#798892}.week-legend span{display:flex;gap:5px;align-items:center}.week-note{font-size:9px;margin:17px 0 0;line-height:1.7}.week-categories b{font-weight:700}@media(max-width:380px){.week-summary{gap:12px}.week-ring{width:100px;height:100px}.week-ring>div{width:76px;height:76px}.week-ring b{font-size:10px}.week-heading h2{font-size:12px}.week-legend{font-size:8px}.week-bars{gap:7px}}
/* Reference palette: electric violet, vivid pink, blush, white, neutral gray. */
:root{--bg:#fff;--pink:#ffced8;--accent:#2477b5;--ink:#19242c;--muted:#92899b;--line:#e9eff3;--green:#2477b5}body,#app{background:#fff}.brand em{color:#2477b5}.avatar{color:#2477b5;background:#e6f2fa}.hero{background:linear-gradient(115deg,#eaf5fd 0%,#e0f0fc 45%,#ffdceb 100%);box-shadow:0 12px 30px #2477b50a}.hero .label,.herofoot{color:#5c7688}.balance{color:#19364b}.pill{background:#e7f3fc;color:#2477b5}.positive{color:#2477b5}.negative{color:#9a5d70}.ic.income{background:#e6f2fa;color:#2477b5}.primary,#nav .add{background:#2477b5}.primary:hover{background:#1b659a}.tabs{background:#eef3f7}.tabs .selected{color:#2477b5}.mini .positive{color:#2477b5}.mini .negative{color:#a16a7c}.dot.green{background:#2477b5}.dot{background:#ffced8}.monthly .bar.green{background:linear-gradient(0deg,#2477b5,#a4dcff);box-shadow:0 4px 9px #2477b51a}.monthly .bar{background:linear-gradient(0deg,#b77a8a,#dfb6bb);box-shadow:0 4px 9px #ffced81a}.daily .bar{background:linear-gradient(0deg,#ffced8,#f594ca)}.chart-plot .axis .current{color:#2477b5}.progress{background:#eef2f5}.over{color:#c32365}.budget-intro>svg{background:#e7f3fc;color:#2477b5}.week-card{background:linear-gradient(135deg,#fafcfe,#fff 60%)}.week-ring>div{background:#fff}.bar-tooltip{background:#1c3c53}.category-dot{box-shadow:0 0 0 2px #ffffff}.error{color:#c32365}#toast{background:#1c3c53}.today-bubble{background:#e6f2fa;color:#2477b5}.badge{color:#456880}
.hero{background:#f7b9d2;min-height:202px;padding:24px;box-shadow:0 10px 28px #ce568b12}.hero:after{display:none}.hero .label{color:#71304e}.hero .balance{position:relative;z-index:2;font-size:29px;max-width:75%;margin:16px 0 38px;letter-spacing:-1.2px;color:#3e1636}.hero .badge{background:#ffffff85;color:#71304e;position:relative;z-index:2}.wallet-art{position:absolute;width:117px;height:117px;object-fit:contain;right:4px;top:49px;z-index:1;pointer-events:none}.herofoot{position:relative;z-index:2;color:#71304e;font-size:10px;gap:8px;flex-wrap:wrap;border-top:1px solid #ffffff80}.compare-card{padding:22px 18px}.compare-title{display:flex;gap:11px;align-items:center;margin-bottom:23px}.compare-icon{display:grid;place-items:center;width:38px;height:38px;background:#e7f3fc;color:#2477b5;border-radius:13px;flex-shrink:0}.compare-icon svg{width:20px;height:20px}.compare-title h2{font-size:15px;margin-bottom:5px}.compare-title .sub{font-size:10px}.compare-picker{font-size:10px;color:#928399;margin-bottom:14px}.compare-picker input{font-size:13px;font-weight:600;background:#fbfdfe;border:1px solid #dfebf3;border-radius:13px;color:#2b4557;min-height:46px;padding:12px}.compare-segments{display:flex;padding:4px;gap:4px;background:#eef3f7;border-radius:13px;margin-bottom:20px}.compare-segments button{flex:1;border-radius:10px;min-height:40px;font-size:11px;font-weight:600;color:#88939b;padding:10px 4px}.compare-segments .selected{background:#fff;color:#2477b5;box-shadow:0 2px 8px #3d617a14}.comparison-tile{padding:16px;background:#fbfdfe;border:1px solid #eaf2f7;border-radius:17px;margin:11px 0}.comparison-tile.expense{background:#fff9fc;border-color:#fbe7f0}.comparison-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.comparison-head>b{font-size:12px}.comparison-change{font-size:10px;font-weight:700;color:#2477b5;background:#e6f3fc;border-radius:8px;padding:6px 8px}.expense .comparison-change{color:#9a5d70;background:#ffe5ef}.compare-values{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:17px}.compare-values small{font-size:9px;color:#87939c;display:block}.compare-values strong{display:block;font-size:13px;letter-spacing:-.4px;margin-top:7px}.compare-meter{height:5px;background:#e7eef3;border-radius:9px;margin-top:11px;overflow:hidden}.compare-meter i{height:100%;display:block;background:#2477b5;border-radius:9px}.expense .compare-meter i{background:#ffced8}.compare-meter.previous i{opacity:.35}.comparison-difference{font-size:10px;color:#85919a;display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;margin-top:16px;padding-top:11px;border-top:1px solid #e1e8ed}.comparison-difference b{color:#43535f}.comparison-difference>span{width:100%;font-size:9px}.comparison-note{display:flex;gap:8px;padding:8px 2px 0;font-size:10px;line-height:1.7;color:#88949c}.comparison-note svg{width:15px;height:15px;flex-shrink:0;margin-top:2px;color:#85a2b7}@media(max-width:380px){.wallet-art{width:96px;height:96px;top:59px;right:0}.hero .balance{font-size:25px}.compare-values strong{font-size:12px}.herofoot{font-size:9px}}
.wallet-art{top:42px;width:104px;height:104px;right:7px}@media(max-width:380px){.wallet-art{top:43px;width:90px;height:90px;right:1px}}
/* Compact balance card: clean typography and a brighter solid rose. */
.hero.balance-card{background:#ffd6e6;min-height:0;padding:18px 20px 17px;border-radius:23px;margin-top:18px;box-shadow:none;overflow:hidden}.balance-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.balance-label{font-size:11px;font-weight:600;color:#80415c;letter-spacing:.1px}.balance-period{color:#854561;font-size:9px;line-height:1;background:#ffffff85;border-radius:8px;padding:6px 8px;font-weight:500}.balance-main{display:flex;align-items:center;justify-content:space-between;height:69px;gap:8px}.balance-number{display:flex;align-items:baseline;gap:6px;position:relative;z-index:2;min-width:0;white-space:nowrap;font-family:'Manrope',sans-serif;color:#471b38}.balance-number>span{font-size:15px;font-weight:600;letter-spacing:-.5px}.balance-number strong{font-weight:800;font-size:31px;letter-spacing:-1.5px;line-height:1.15;font-variant-numeric:tabular-nums}.balance-art{width:81px;height:81px;object-fit:contain;flex-shrink:0;margin-right:-7px;transform:rotate(-6deg)}.balance-meta{display:flex;gap:16px;justify-content:space-between;padding-top:11px;border-top:1px solid #d98fae45}.balance-meta>div{display:flex;flex-direction:column;gap:4px}.balance-meta>div:last-child{text-align:right}.balance-meta span{font-size:9px;font-weight:400;color:#975870}.balance-meta b{font-size:11px;font-weight:600;color:#71334f;letter-spacing:-.15px}@media(max-width:380px){.hero.balance-card{padding:16px 18px 15px}.balance-number strong{font-size:27px;letter-spacing:-1.2px}.balance-number>span{font-size:13px}.balance-art{width:68px;height:68px;margin-right:-6px}.balance-main{height:62px}.balance-meta b{font-size:10px}}@media(max-width:340px){.balance-number strong{font-size:24px}.balance-art{width:56px;height:56px}.balance-period{font-size:8px}}
:root{--muted:#69747c;--ink:#17232c}.balance-label{color:#68233f;font-weight:700}.balance-number{color:#341029}.balance-meta span{color:#77354f;font-weight:500}.balance-meta b{color:#542038;font-size:12px;font-weight:700}.balance-period{color:#68233f;font-weight:600}.sub,.note{color:#6b777f}.eyebrow{color:#74818a}.row small{color:#6b777f}.comparison-note,.compare-picker{color:#6b777f}.compare-values small{color:#6b777f}.compare-values strong{color:#192d3b;font-weight:800}h1,h2{color:#16252f}label{color:#374a58;font-weight:600}input[data-money]{font-variant-numeric:tabular-nums;letter-spacing:.2px;color:#173143;font-weight:700;font-size:17px}input[data-money]:focus{border-color:#6da7d0;background:#fbfdfe}input::placeholder{font-weight:400;color:#9eaab2}.category-picker{position:relative;margin-top:7px;font-weight:500}.category-picker summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:10px 12px;border:1px solid #e1eaf0;border-radius:14px;cursor:pointer;background:#fbfdfe;min-height:54px}.category-picker summary::-webkit-details-marker{display:none}.picker-current{display:flex;align-items:center;gap:10px;color:#283b48;font-size:13px}.picker-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.picker-icon svg{width:19px;height:19px}.picker-chevron svg{width:17px;height:17px;color:#618aa7;transition:transform .2s}.category-picker[open] .picker-chevron svg{transform:rotate(180deg)}.category-picker[open] summary{border-color:#8fbbdb;box-shadow:0 0 0 3px #2477b50a}.picker-options{margin-top:7px;padding:6px;border:1px solid #dfe9f1;border-radius:15px;box-shadow:0 8px 24px #1b3d550c;background:#fff;max-height:230px;overflow:auto}.picker-option{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:8px;border-radius:10px;font-size:12px;min-height:48px;color:#354550}.picker-option:hover{background:#f6fbfe}.picker-option.is-selected{background:#e8f4fc;color:#226fa5;font-weight:700}.picker-check{margin-left:auto;font-size:16px;color:#2477b5}summary:focus-visible{outline:2px solid #6da7d0;outline-offset:3px}.category-picker button:focus-visible{outline:2px solid #6da7d0;outline-offset:-2px}
.balance-carousel{margin-top:18px}.balance-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:0 0 2px;position:relative;touch-action:pan-x pan-y}.balance-track::-webkit-scrollbar{display:none}.wallet-card{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;overflow:hidden;background:#ffced8;color:#fff;border-radius:22px;padding:18px 20px 17px;min-width:0;isolation:isolate}.wallet-card:after{content:'';position:absolute;right:-40px;top:48px;width:125px;height:125px;border-radius:50%;border:1px solid #ffffff20;box-shadow:0 0 0 20px #ffffff0b,0 0 0 40px #ffffff07;z-index:-1;pointer-events:none}.wallet-top{display:flex;justify-content:space-between;align-items:center}.wallet-top>span{font-size:11px;font-weight:500;color:#fff}.wallet-top>b{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-1.1px;color:#fff}.wallet-amount{display:flex;gap:6px;align-items:baseline;margin-top:9px;white-space:nowrap}.wallet-amount small{font-size:15px;font-weight:500;color:#fff}.wallet-amount strong{font-family:Manrope,sans-serif;font-size:31px;letter-spacing:-1.4px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;color:#fff}.wallet-currency{font-size:8px;font-weight:700;letter-spacing:.5px;border:1px solid #ffffff65;padding:4px 6px;border-radius:7px;align-self:center;margin-left:4px}.wallet-center{display:flex;gap:10px;align-items:center;margin:15px 0 13px;color:#fff;font-size:10px;font-weight:600;letter-spacing:.4px}.wallet-chip{display:grid;place-items:center;width:31px;height:24px;border-radius:6px;background:#ffffff21}.wallet-chip svg{width:28px;height:22px;color:#fff}.wallet-bottom{border-top:1px solid #ffffff45;display:flex;justify-content:space-between;gap:12px;padding-top:11px}.wallet-bottom>div{display:grid;gap:4px}.wallet-bottom>div:last-child{text-align:right}.wallet-bottom small{font-size:9px;color:#fff;font-weight:400}.wallet-bottom b{font-size:11px;color:#fff;font-weight:600}.carousel-controls{display:flex;align-items:center;justify-content:space-between;margin:8px 0 0}.carousel-controls button{width:36px;height:36px;display:grid;place-items:center;background:#fff2f7;border-radius:50%;color:#9a5d70}.carousel-controls button svg{width:16px;height:16px}.carousel-controls button:disabled{opacity:.3;cursor:default}.carousel-controls>span{display:grid;text-align:center;gap:3px}.carousel-controls b{font-size:11px;color:#5a2844}.carousel-controls small{font-size:9px;color:#927787}@media(max-width:380px){.wallet-card{padding:16px 18px;border-radius:20px}.wallet-amount strong{font-size:27px}.wallet-center{margin:12px 0 11px}.wallet-top>b{font-size:18px}.wallet-amount small{font-size:13px}.wallet-bottom b{font-size:10px}.wallet-currency{font-size:7px;margin-left:0}}@media(max-width:340px){.wallet-amount strong{font-size:24px}.wallet-currency{display:none}}
/* Pink + sky blue: light surfaces, darker blue for readable accents. */
:root{--accent:#2477b5;--green:#2477b5}.brand em{color:#51a9e4}.avatar{background:#e4f3fd;color:#2477b5;border:3px solid #fff;box-shadow:0 0 0 1px #dbedf9;width:43px;height:43px}.primary,#nav .add{background:#69b9ef;color:#123d5c}.primary:hover{background:#8acaf4}.positive{color:#2477b5}#nav button.active{color:#2477b5}.monthly .bar.green{background:linear-gradient(0deg,#359bdc,#a0d8fa);box-shadow:0 4px 9px #3195d21a}.dot.green,.week-income{background:#69b9ef}.today-bubble{background:#e5f3fd;color:#2477b5}.today-bubble:after{background:#e5f3fd}.welcome-panel{position:relative;display:flex;align-items:center;justify-content:space-between;background:#f2f9fe;border:1px solid #e4f0fa;border-radius:23px;padding:21px 19px 18px;overflow:hidden;gap:8px}.welcome-panel:before{content:'';position:absolute;right:-32px;top:-44px;width:158px;height:158px;border-radius:50%;border:1px solid #dceefb;pointer-events:none}.welcome-copy{position:relative;z-index:1;min-width:0}.welcome-eyebrow{display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:1.2px;color:#3f81b0;font-weight:700}.welcome-dot{width:5px;height:5px;background:#69b9ef;border-radius:50%;box-shadow:0 0 0 3px #dff0fc}.welcome-panel h1{font-size:24px;letter-spacing:-.9px;margin:10px 0 5px;color:#243b4b;font-weight:800}.greeting-wave{display:inline-block;font-size:22px}.welcome-panel p{font-size:10px;color:#617c90;margin:0;line-height:1.7}.welcome-date{display:inline-flex;gap:5px;align-items:center;border-radius:8px;background:#ffffffd9;border:1px solid #e2eff8;color:#4c7b9e;font-size:9px;font-weight:500;padding:6px 8px;margin-top:13px}.welcome-date svg{width:12px;height:12px}.welcome-emblem{position:relative;width:62px;height:78px;flex-shrink:0;display:grid;place-items:center;margin-right:1px}.emblem-main{width:52px;height:52px;display:grid;place-items:center;color:#318ac7;background:#dceffc;border-radius:18px;transform:rotate(9deg);border:2px solid #fff;box-shadow:0 6px 14px #518fb216}.emblem-main svg{width:29px;height:29px}.emblem-dot{position:absolute;border-radius:50%}.emblem-dot.one{width:9px;height:9px;background:#d5a2ad;top:2px;right:1px}.emblem-dot.two{width:5px;height:5px;background:#9bd7fb;bottom:3px;left:4px}.emblem-star{position:absolute;bottom:0;right:-1px;color:#ffced8;font-size:18px}.compare-icon{background:#e6f4fd;color:#2477b5}.compare-segments{background:#edf6fc}.compare-segments .selected{color:#2477b5}.comparison-tile.income{background:#f5faff;border-color:#e1effa}.income .comparison-change{background:#def0fd;color:#2477b5}.income .compare-meter i{background:#69b9ef}.picker-option.is-selected{background:#e9f5fd;color:#2477b5}.picker-check{color:#2477b5}.category-picker[open] summary{border-color:#82bfea}.week-card{background:#fff}.pill{background:#e8f5fd;color:#2477b5}@media(max-width:380px){.welcome-panel{padding:18px 15px}.welcome-panel h1{font-size:21px}.welcome-panel p{font-size:9px}.welcome-eyebrow{font-size:7px;letter-spacing:.7px}.welcome-emblem{width:49px}.emblem-main{width:44px;height:44px;border-radius:15px}.emblem-main svg{width:25px;height:25px}}
/* Stronger sky blue, white secondary surfaces, vivid category accents. */
:root{--accent:#177cc0;--green:#177cc0;--bg:#fff}.primary,#nav .add{background:#299de8;color:#fff}.primary:hover{background:#1686cf}#nav button.active{color:#177cc0}#nav .add{box-shadow:0 0 0 7px #fff}.avatar{background:#fff;color:#1686cf;border-color:#fff;box-shadow:0 0 0 1px #d7e8f4}.welcome-panel{background:#fff;border:1px solid #e1ebf2;box-shadow:0 5px 20px #2874a205}.welcome-panel:before{border-color:#edf2f6}.welcome-date{background:#fff;border-color:#e0e9ef;color:#46708c}.emblem-main{background:#fff;border-color:#d5eafa;color:#299de8}.welcome-dot{background:#299de8;box-shadow:0 0 0 3px #e7f4fd}.secondary,.mini,.stat,.card,.compare-picker input,.comparison-tile.income,.comparison-tile.expense,.category-picker summary,.compare-segments,.tabs{background:#fff}.tabs,.compare-segments{border:1px solid #e5ebf0}.compare-segments .selected,.tabs .selected{background:#fff;color:#177cc0;box-shadow:0 0 0 1px #299de8,0 2px 7px #299de810}.comparison-tile.income,.comparison-tile.expense{border-color:#e9edf0}.pill,.compare-icon,.budget-intro>svg{background:#fff;color:#177cc0;border:1px solid #e0ebf3}.picker-option.is-selected{background:#fff;color:#177cc0;box-shadow:inset 0 0 0 1px #299de8}.picker-option:hover{background:#f8fbfd}.picker-options{background:#fff}.today-bubble{background:#fff;color:#177cc0;border:1px solid #d9eaf5}.today-bubble:after{background:#fff}.weekly-income,.week-income{background:#299de8}.dot.green{background:#299de8}.monthly .bar.green{background:linear-gradient(0deg,#1789d4,#48aff1)}.carousel-controls button{background:#fff;border:1px solid #f8dbe6}.progress{background:#edf1f4}.category-dot{width:10px;height:10px}.week-legend i{width:9px;height:9px}
/* Nude rose palette. */
:root{--pink:#ffced8}.wallet-card{background:#ffced8}.wallet-card:after{border-color:#ffffff25;box-shadow:0 0 0 20px #ffffff09,0 0 0 40px #ffffff06}.negative{color:#9a5d70}.week-expense,.dot{background:#ffced8}.monthly .bar{background:linear-gradient(0deg,#b77a8a,#dfb6bb);box-shadow:0 4px 9px #b77a8a15}.monthly .bar.green{background:linear-gradient(0deg,#1789d4,#48aff1)}.dot.green{background:#299de8}.expense .comparison-change{background:#f5e9ec;color:#9a5d70}.expense .compare-meter i{background:#ffced8}.carousel-controls button{color:#9a5d70;border-color:#ecd9df}.carousel-controls b{color:#704c58}.auth-symbol{background:#ffced8}
:root{--pink:#ffced8}.header-actions{display:flex;align-items:center;gap:10px}.theme-toggle{width:39px;height:39px;border:1px solid #e4ebf1;border-radius:50%;display:grid;place-items:center;color:#38779f;background:#fff}.theme-toggle svg{width:19px;height:19px}.wallet-card{background:#ffced8}.wallet-top>span,.wallet-top>b,.wallet-amount small,.wallet-amount strong,.wallet-center,.wallet-bottom small,.wallet-bottom b{color:#542f36}.wallet-currency{color:#633a42;border-color:#9d666d55}.wallet-chip{background:#ffffff50}.wallet-chip svg{color:#70444b}.wallet-bottom{border-color:#a7666b38}.wallet-card:after{border-color:#ffffff45}.negative{color:#a14f60}.dot,.week-expense{background:#ffced8}.monthly .bar{background:linear-gradient(0deg,#d68d96,#ffced8)}.monthly .bar.green{background:linear-gradient(0deg,#1789d4,#48aff1)}.expense .compare-meter i{background:#ffced8}
html[data-theme="dark"]{color-scheme:dark;--bg:#151920;--ink:#f0f3f8;--muted:#a5b0bf;--line:#323b48;--accent:#77c5f5;--green:#77c5f5}
html[data-theme="dark"] body{background:#101318;color:#edf2f7}html[data-theme="dark"] #app{background:#151920;box-shadow:none}html[data-theme="dark"] h1,html[data-theme="dark"] h2{color:#edf2f7}html[data-theme="dark"] .brand{color:#f3f5f8}html[data-theme="dark"] .brand em{color:#77c5f5}
html[data-theme="dark"] .card,html[data-theme="dark"] .mini,html[data-theme="dark"] .stat,html[data-theme="dark"] .week-card,html[data-theme="dark"] .comparison-tile,html[data-theme="dark"] .welcome-panel{background:#202630;border-color:#323b48;box-shadow:none}
html[data-theme="dark"] .sub,html[data-theme="dark"] .note,html[data-theme="dark"] .row small,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .datehead{color:#a8b4c4}html[data-theme="dark"] .row{border-color:#333c49}html[data-theme="dark"] .catline b{color:#edf2f7}html[data-theme="dark"] .positive{color:#77c5f5}html[data-theme="dark"] .negative,html[data-theme="dark"] .over,html[data-theme="dark"] .error{color:#ffced8}
html[data-theme="dark"] #nav{background:#1b212bed;border-color:#333c49}html[data-theme="dark"] #nav button{color:#9eacbc}html[data-theme="dark"] #nav button.active{color:#77c5f5}html[data-theme="dark"] #nav .add{background:#299de8;color:#fff;box-shadow:0 0 0 7px #151920}
html[data-theme="dark"] .avatar,html[data-theme="dark"] .theme-toggle{background:#242e3b;color:#8fd0f8;border-color:#3c4a5c;box-shadow:none}html[data-theme="dark"] .welcome-panel:before{border-color:#344354}html[data-theme="dark"] .welcome-eyebrow,html[data-theme="dark"] .welcome-panel p{color:#a6c4db}html[data-theme="dark"] .welcome-date,html[data-theme="dark"] .emblem-main{background:#293848;color:#9bd7fc;border-color:#3c5369}html[data-theme="dark"] .emblem-main{box-shadow:none}html[data-theme="dark"] .welcome-dot{box-shadow:0 0 0 3px #304456}
html[data-theme="dark"] label{color:#d1dbe7}html[data-theme="dark"] label input,html[data-theme="dark"] label select,html[data-theme="dark"] .search,html[data-theme="dark"] .compare-picker input,html[data-theme="dark"] .category-picker summary{background:#171e27;border-color:#3b4858;color:#edf2f7}html[data-theme="dark"] input[data-money],html[data-theme="dark"] input[data-money]:focus{background:#171e27;color:#fff}html[data-theme="dark"] input::placeholder{color:#8492a4}
html[data-theme="dark"] dialog{background:#202630;color:#edf2f7}html[data-theme="dark"] dialog::backdrop{background:#0009}html[data-theme="dark"] .secondary,html[data-theme="dark"] .tabs,html[data-theme="dark"] .compare-segments{background:#242e3b;border-color:#3b4858;color:#d9e4ef}html[data-theme="dark"] .tabs .selected,html[data-theme="dark"] .compare-segments .selected{background:#34475d;color:#a4ddff;box-shadow:inset 0 0 0 1px #569bc6}html[data-theme="dark"] .link{color:#8bd0fa}
html[data-theme="dark"] .picker-options{background:#242e3b;border-color:#445167;box-shadow:none}html[data-theme="dark"] .picker-current,html[data-theme="dark"] .picker-option{color:#e1e9f3}html[data-theme="dark"] .picker-option.is-selected,html[data-theme="dark"] .picker-option:hover{background:#34475d;color:#a4ddff}html[data-theme="dark"] .picker-check{color:#90d2fb}html[data-theme="dark"] .ic{border-color:#ffffff12}html[data-theme="dark"] .pill,html[data-theme="dark"] .compare-icon,html[data-theme="dark"] .budget-intro>svg{background:#293746;color:#99d5fb;border-color:#3b5067}
html[data-theme="dark"] .donut>div,html[data-theme="dark"] .week-ring>div{background:#202630}html[data-theme="dark"] .progress,html[data-theme="dark"] .compare-meter{background:#394352}html[data-theme="dark"] .week-summary{border-color:#36414f}html[data-theme="dark"] .chart-grid{border-color:#3d4857;background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#343f4c calc(50% - 1px),#343f4c 50%)}html[data-theme="dark"] .chart{border-color:#394655}html[data-theme="dark"] .axis,html[data-theme="dark"] .chart-plot .axis span,html[data-theme="dark"] .legend,html[data-theme="dark"] .chart-scale,html[data-theme="dark"] .chart-hint{color:#a1afc0}html[data-theme="dark"] .chart-plot .axis .current{color:#8bd0fa}
html[data-theme="dark"] .week-daterow,html[data-theme="dark"] .week-legend,html[data-theme="dark"] .week-ring small,html[data-theme="dark"] .week-day>b,html[data-theme="dark"] .week-day>span:not(.today-bubble){color:#b0bdcd}html[data-theme="dark"] .today-bubble{background:#2c4054;border-color:#42627e;color:#a7defe}html[data-theme="dark"] .today-bubble:after{background:#2c4054}html[data-theme="dark"] .future-bar{background:#37414e}html[data-theme="dark"] .week-dots button:after{background:#4b596a}html[data-theme="dark"] .week-dots .selected:after{background:#77c5f5}
html[data-theme="dark"] .comparison-change{background:#2b4358;color:#9bd8ff}html[data-theme="dark"] .expense .comparison-change{background:#4d3540;color:#ffced8}html[data-theme="dark"] .compare-values strong,html[data-theme="dark"] .comparison-difference b{color:#edf2f7}html[data-theme="dark"] .compare-values small,html[data-theme="dark"] .comparison-difference,html[data-theme="dark"] .comparison-note,html[data-theme="dark"] .compare-picker{color:#a8b5c6}html[data-theme="dark"] .comparison-difference{border-color:#3b4554}html[data-theme="dark"] .carousel-controls button{background:#26313f;border-color:#3d4b5d;color:#ffced8}html[data-theme="dark"] .carousel-controls b{color:#e0e8f3}html[data-theme="dark"] .carousel-controls small{color:#a4b1c2}html[data-theme="dark"] #toast{background:#e8edf5;color:#1d2734}
/* Requested exact balance-card palette, in both themes. */
.wallet-card{background:#FFCED8;color:#000}
.wallet-card .wallet-top>span,.wallet-card .wallet-top>b,.wallet-card .wallet-amount small,.wallet-card .wallet-amount strong,.wallet-card .wallet-currency,.wallet-card .wallet-center,.wallet-card .wallet-bottom small,.wallet-card .wallet-bottom b,.wallet-card .wallet-chip svg{color:#000}

/* Soft geometric monthly balance card. */
.wallet-card{border-radius:24px;border:1px solid #efb6c3;padding:20px 22px 18px;box-shadow:0 8px 18px #bd6e8112}
.wallet-card:before{content:'';position:absolute;width:155px;height:155px;right:-46px;top:-64px;background:#ffffff38;border-radius:42px;transform:rotate(32deg);z-index:-1;pointer-events:none}
.wallet-card:after{width:110px;height:110px;right:-36px;top:72px;border:22px solid #eaa3b526;background:transparent;box-shadow:0 0 0 18px #ffffff28;z-index:-1}
.wallet-top>span{font-weight:600;letter-spacing:.15px}.wallet-top>b{font-size:22px}
.wallet-amount{margin-top:12px;gap:7px}.wallet-amount strong{font-size:33px;letter-spacing:-1.3px}
.wallet-card .wallet-currency{background:#ffffff55;border-color:#00000012;border-radius:8px;padding:5px 7px}
.wallet-center{margin:16px 0 15px;gap:8px;letter-spacing:.15px;font-size:11px}
.wallet-chip{width:30px;height:30px;background:#ffffff70;border:1px solid #ffffff80;border-radius:10px}
.wallet-chip svg{width:18px;height:18px}
.wallet-bottom{padding:12px 13px;background:#ffffff45;border:1px solid #ffffff50;border-radius:14px;gap:8px}
.wallet-bottom small{font-size:9px;font-weight:500}.wallet-bottom b{font-size:12px;font-variant-numeric:tabular-nums}
@media(max-width:380px){.wallet-card{padding:17px 18px}.wallet-amount strong{font-size:27px}.wallet-bottom{padding:10px}.wallet-bottom b{font-size:10px}}

/* Compact greeting with an inline date. */
header{margin-bottom:16px}
.welcome-panel{padding:4px 0 8px;gap:10px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.welcome-panel:before{display:none}
.welcome-panel h1{margin:0;font-size:22px;line-height:1.35;letter-spacing:-.7px}
.welcome-panel .welcome-date{margin:0;padding:7px 9px;white-space:nowrap;font-size:10px;border-radius:10px;gap:6px;flex-shrink:0}
.welcome-date svg{width:14px;height:14px}
html[data-theme="dark"] .welcome-panel{background:transparent;border:0;box-shadow:none}
@media(max-width:340px){.welcome-panel h1{font-size:19px}.welcome-panel .welcome-date{font-size:9px;padding:6px 7px}}

/* Compact, illustrated personal greeting. */
.welcome-panel{padding:13px 15px;gap:10px;background:#fff;border:1px solid #f0e4e8;border-radius:20px;overflow:hidden}
.welcome-panel h1{font-size:22px;margin:0;line-height:1.3}
.welcome-panel p{margin:4px 0 8px;font-size:11px;line-height:1.4;color:#776770}
.welcome-panel .welcome-date{font-size:9px;padding:4px 7px;gap:5px;background:#fff9fb;border-color:#f0e0e6;color:#795565;border-radius:7px}
.welcome-date svg{width:11px;height:11px}
.greeting-art{width:88px;height:88px;flex:0 0 88px;color:#e6a4b7;transform:rotate(-5deg)}
.greeting-art svg{display:block;width:100%;height:100%}
html[data-theme="dark"] .welcome-panel{background:#202630;border:1px solid #323b48}
html[data-theme="dark"] .welcome-panel p{color:#b9b1bd}
html[data-theme="dark"] .welcome-panel .welcome-date{background:#302b35;border-color:#4a3944;color:#ffced8}
@media(max-width:360px){.welcome-panel{padding:11px 12px}.welcome-panel h1{font-size:20px}.welcome-panel p{font-size:10px}.greeting-art{width:72px;height:78px;flex-basis:72px}}
/* Open greeting: title and date above a compact illustrated subtitle. */
.welcome-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:3px;padding:3px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.welcome-copy{display:contents}
.welcome-panel h1{grid-column:1;grid-row:1;align-self:center;font-size:22px;margin:0}
.welcome-panel .welcome-date{grid-column:2;grid-row:1;align-self:center;justify-self:end;margin:0;background:transparent;border:0;padding:4px 0;font-size:10px;color:var(--muted)}
.welcome-panel p{grid-column:1;grid-row:2;align-self:center;margin:0;font-size:11px;line-height:1.5}
.welcome-panel .greeting-art{grid-column:2;grid-row:2;justify-self:end;width:48px;height:48px;transform:rotate(-5deg);margin:0 3px 0 0}
html[data-theme="dark"] .welcome-panel{background:transparent;border:0;box-shadow:none}
html[data-theme="dark"] .welcome-panel .welcome-date{background:transparent;border:0;color:#b9b1bd}
@media(max-width:340px){.welcome-panel h1{font-size:19px}.welcome-panel .welcome-date{font-size:9px}.welcome-panel p{font-size:10px}}

/* Larger illustration beside a date-free greeting. */
.welcome-panel{grid-template-columns:minmax(0,1fr) 90px;grid-template-rows:auto auto;column-gap:10px;row-gap:4px;padding:2px 0}
.welcome-panel h1{align-self:end;grid-column:1;grid-row:1}
.welcome-panel p{align-self:start;grid-column:1;grid-row:2;margin:0;padding-top:2px}
.welcome-panel .greeting-art{grid-column:2;grid-row:1 / 3;align-self:center;justify-self:end;width:90px;height:90px;margin:0}
@media(max-width:340px){.welcome-panel{grid-template-columns:minmax(0,1fr) 76px}.welcome-panel .greeting-art{width:76px;height:80px}}

.error{color:#ad315b;font-size:12px}
.error{color:#c32365}

.auth-shell{padding-top:34px;max-width:390px;margin:auto}
.auth-shell h1{margin-top:22px}
.auth-shell>.brand{font-size:38px}
.auth-symbol{display:grid;place-items:center;margin-top:45px;width:60px;height:60px;border-radius:20px;color:#fff;background:#ff3e83;font-size:30px}
.auth-shell input{font-size:15px}
.auth-shell .card{margin-top:25px}
.google-signin{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:24px;font-weight:600}.google-signin>span{font-family:Arial,sans-serif;font-size:24px;color:#4285f4;font-weight:700}.auth-divider{text-align:center;font-size:11px;color:var(--muted);margin:18px 0 0}.pin-symbol{width:70px;height:70px;border-radius:24px;display:grid;place-items:center;background:#ffced8;font-size:30px;margin:30px auto 20px}.pin-shell{text-align:center}.pin-shell label{text-align:left}.pin-shell input{text-align:center;letter-spacing:10px;font-size:24px}.pin-shell .link{padding:12px}.error{color:#c03953;font-size:12px;min-height:18px}html[data-theme="dark"] .google-signin{background:#242e3b;border-color:#3c4a5c}

.category-field{display:grid;gap:8px;margin-bottom:16px;font-size:12px;font-weight:500}.category-field>span{display:block}

.savings-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#ffced840;border-radius:16px;padding:14px;margin-top:15px}.savings-summary>div{display:grid;gap:7px}.savings-summary small{font-size:10px;color:var(--muted)}.savings-summary b{font-size:14px}.goal-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:14px 0;border-bottom:1px solid var(--line)}.goal-symbol{width:38px;height:38px;background:#ffced850;border-radius:13px;display:grid;place-items:center;font-size:20px}.goal-info{flex:1;min-width:0;display:grid;gap:5px}.goal-info b{font-size:12px}.goal-info small{font-size:10px;color:var(--muted)}.goal-info .progress{margin-top:2px}.goal-row>strong{font-size:11px}.category-detail-link{padding:0;text-align:left;font-size:inherit}.detail-period{display:flex;align-items:center;gap:10px}.detail-period label{flex:1}.detail-period button{font-size:11px}html[data-theme="dark"] .savings-summary{background:#ffced812}

.shared-entry{align-items:flex-start}.shared-actions{display:flex;gap:18px;margin-top:8px}.shared-actions button{padding:6px 0}

.shared-progress-panel{margin-top:8px;padding:19px 15px 12px;background:#fff6f8;border:1px solid #f8e2e9;border-radius:24px;text-align:center}.shared-chart-label{font-size:9px;letter-spacing:1.4px;font-weight:700;color:#9a5d70}.shared-circle{position:relative;width:210px;height:210px;margin:8px auto 0}.shared-circle svg{width:100%;height:100%;overflow:visible}.circle-track{fill:none;stroke:#f1e4e9;stroke-width:14}.circle-value{fill:none;stroke:#df7291;stroke-width:14;stroke-linecap:round;filter:drop-shadow(0 3px 4px #df729133)}.shared-circle-center{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:4px}.shared-circle-center small{font-size:10px;color:#987381}.shared-circle-center strong{font-family:Manrope,sans-serif;font-size:45px;letter-spacing:-2px;color:#302932;line-height:1.15}.shared-circle-center strong span{font-size:23px;margin-left:3px}.shared-circle-center b{font-size:14px;color:#714353}.shared-target-caption{font-size:11px;color:#987381;margin:0 0 17px}.shared-target-caption b{color:#714353}.shared-chart-stats{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:10px}.shared-chart-stats>div{background:#fff;border-radius:14px;padding:12px;display:grid;gap:7px}.shared-chart-stats small{font-size:9px;color:#94868d}.shared-chart-stats b{font-size:13px}.shared-member-avatar{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--member-color) 13%,transparent);color:var(--member-color);font-weight:700;flex-shrink:0}html[data-theme="dark"] .shared-progress-panel{background:#2b242e;border-color:#49333e}html[data-theme="dark"] .circle-track{stroke:#44333f}html[data-theme="dark"] .shared-circle-center strong{color:#fff}html[data-theme="dark"] .shared-circle-center b,html[data-theme="dark"] .shared-target-caption b{color:#ffced8}html[data-theme="dark"] .shared-chart-stats>div{background:#202630}

/* copia. identity: scalable monogram and live wordmark. */
.copia-lockup{display:inline-flex;align-items:center;gap:8px;line-height:1;white-space:nowrap;vertical-align:middle}.copia-lockup>img{width:32px;height:32px;flex-shrink:0}.copia-lockup>span{font-family:Manrope,'DM Sans',sans-serif;font-size:28px;font-weight:800;letter-spacing:-1.5px;color:#20232a}.copia-lockup em{font-style:normal;color:#e99aaf}.wallet-card .copia-lockup{gap:5px}.wallet-card .copia-lockup>img{width:21px;height:21px}.wallet-card .copia-lockup>span{font-size:21px;letter-spacing:-1px;color:#000}.wallet-card .copia-lockup em{color:#000}.wallet-card .wallet-top>b.wallet-brand{display:flex;align-items:center}.pin-shell .brand{text-align:left}html[data-theme="dark"] .brand .copia-lockup>span{color:#f6f1f4}html[data-theme="dark"] .wallet-card .copia-lockup>span{color:#000}

.savings-shortcut{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;margin-top:18px;background:#ffced838;border:1px solid #f3d7e0;border-radius:18px;text-align:left}.savings-shortcut-icon,.savings-heading-icon{width:38px;height:38px;border-radius:13px;background:#ffced8;display:grid;place-items:center;color:#633747;flex-shrink:0}.savings-shortcut-icon svg,.savings-heading-icon svg{width:22px;height:22px}.savings-shortcut>span:nth-child(2){display:grid;gap:5px;flex:1}.savings-shortcut b{font-size:12px}.savings-shortcut small{font-size:10px;color:var(--muted)}.shortcut-arrow{font-size:21px;color:#9a5d70}.savings-back{padding:8px 0;margin-bottom:18px}.savings-page-heading{display:flex;gap:12px;align-items:center;margin-bottom:22px}.savings-page-heading h1{font-size:21px;letter-spacing:-.6px;margin:0 0 6px}.savings-page-heading p{margin:0;font-size:11px}.savings-heading-icon{width:44px;height:44px;border-radius:15px}.savings-tabs button{flex:1;min-height:44px}.savings-page-note{margin:18px 4px}html[data-theme="dark"] .savings-shortcut{background:#ffced80c;border-color:#49333e}html[data-theme="dark"] .shortcut-arrow{color:#ffced8}

.balance-label{display:inline-flex;align-items:center;gap:4px}.balance-visibility{width:32px;height:32px;display:inline-grid;place-items:center;color:#000;padding:6px;border-radius:50%;background:#ffffff45}.balance-visibility svg{width:17px;height:17px}.balance-visibility:hover{background:#ffffff85}.balance-visibility:focus-visible{outline:2px solid #633747;outline-offset:2px}

/* Welcoming auth and short invitations */
.auth-shell{padding-top:22px;padding-bottom:28px}.auth-hero{position:relative;margin-top:24px;background:#ffced8;color:#26232b;border-radius:28px;padding:26px 24px;overflow:hidden}.auth-kicker{font-size:9px;letter-spacing:1.8px;font-weight:700}.auth-hero h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:25px 0 12px;position:relative}.auth-hero p{font-size:12px;line-height:1.7;max-width:245px;position:relative}.auth-art{position:absolute;right:-12px;top:30px;width:105px;height:130px;transform:rotate(-12deg);opacity:.55}.auth-art span{display:grid;place-items:center;background:#fff8;border:1px solid #fff9;border-radius:24px;width:85px;height:100px;font-size:50px}.auth-art i{position:absolute;right:0;top:-20px;font-size:35px;font-style:normal}.auth-art b{position:absolute;left:-15px;bottom:0;font-size:25px}.auth-welcome{margin-top:26px}.auth-welcome h2{font-size:19px}.auth-welcome p{font-size:12px;margin:8px 0}.auth-shell .google-signin{margin-top:18px;min-height:48px;border-radius:14px}.auth-shell #auth-form{margin-top:12px;padding:0;border:0;box-shadow:none;background:transparent}.auth-shell #auth-form input{border-radius:13px}.auth-shell .primary{min-height:46px;border-radius:13px}.invite-code-panel{padding:22px;background:#ffced826;border:1px solid #edb9c5;border-radius:20px;text-align:center;margin:18px 0}.invite-code-panel small{font-size:10px;letter-spacing:2px;color:var(--muted)}.invite-code-panel input{font-family:monospace;font-size:27px;letter-spacing:4px;text-align:center;font-weight:700;background:transparent;border:0;margin:12px 0;color:var(--ink);width:100%}

.auth-shell .primary,.invite-code-panel .primary{background:#ffced8;color:#26232b;font-weight:700;box-shadow:0 5px 14px #d691a324}

/* Clearer home: one current balance, focused navigation and category budgets. */
.home-section{margin-top:26px}.section-kicker{font-size:9px;letter-spacing:1.5px;font-weight:700;color:var(--muted);display:block;margin-bottom:6px}.available-card.wallet-card{padding:22px;border-radius:26px;margin-top:12px;min-height:0;color:#28232a;position:relative}.available-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.available-mark{width:34px;height:34px;border:1px solid #ffffff70;border-radius:12px;display:grid;place-items:center;background:#ffffff40}.available-mark svg{width:20px;height:20px}.available-amount{position:relative;z-index:1;display:block;font-family:Manrope,sans-serif;font-size:clamp(27px,7.2vw,34px);font-weight:800;letter-spacing:-1.4px;margin-top:14px;overflow-wrap:anywhere;line-height:1.25}.available-caption{font-size:11px;color:#624550;position:relative;margin:8px 0 19px}.available-breakdown{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 13px;border:1px solid #ffffff50;border-radius:17px;background:#ffffff50}.available-breakdown small{display:block;font-size:9px;color:#624550;margin-bottom:7px}.available-breakdown b,.available-breakdown button{font-size:12px;font-weight:700;padding:0;text-align:left;overflow-wrap:anywhere}.available-breakdown>div+div{border-left:1px solid #b35c7820;padding-left:12px}.available-warning{position:relative;z-index:1;font-size:11px;font-weight:600;line-height:1.6;margin-bottom:0;color:#862542}.home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:17px 0 8px}.home-actions button{display:flex;align-items:center;flex-direction:column;gap:8px;padding:9px 2px}.home-actions button>span{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);background:var(--surface,#fff);border-radius:15px;color:var(--ink);box-shadow:0 3px 8px #37263103}.home-actions svg{width:21px;height:21px}.home-actions b{font-size:10px;font-weight:600}.home-cashflow .mini{padding:16px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface,#fff);box-shadow:none}.cashflow-label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);font-weight:500}.cashflow-label i{width:21px;height:21px;border-radius:7px;background:#e7f5ee;color:#168567;display:grid;place-items:center}.cashflow-label svg{width:14px;height:14px}.home-cashflow .mini+.mini i{background:#fff0f4;color:#b94b70}.home-cashflow strong{font-size:18px;letter-spacing:-.5px;margin-top:10px}.home-cashflow .positive{color:#168567}.home-cashflow .negative{color:var(--ink)}.home-chart{padding:18px 15px 12px}.home-chart>.section-kicker{font-size:8px;letter-spacing:1px}.home-chart .monthly-chart{margin-top:16px}.monthly .bar.green{background:#36aa83;box-shadow:none}.monthly .bar{background:#e783a3;box-shadow:none;border-radius:7px 7px 3px 3px}.dot.green{background:#36aa83}.dot{background:#e783a3}.heading>.link{display:flex;align-items:center;gap:4px}.heading>.link svg{width:13px;height:13px}.home-transactions{padding:2px 14px}.home-transactions .row{padding:14px 0}.home-transactions .info b{font-size:12px}.home-transactions .info small{font-size:10px;line-height:1.5}.home-transactions .money{font-size:12px}.home-start .full.link{margin-top:10px}.balance-history{border:1px solid var(--line);border-radius:20px;padding:16px;margin:22px 0 8px}.balance-history>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;font-weight:600}.balance-history>summary::-webkit-details-marker{display:none}.balance-history>summary>span:first-child{display:flex;align-items:center;gap:9px}.balance-history summary svg{width:19px;height:19px}.balance-history[open] .history-chevron{transform:rotate(180deg)}.balance-history .wallet-card{padding:19px}.balance-history .wallet-amount strong{font-size:27px}.balance-history .wallet-bottom{gap:8px}.balance-history .wallet-bottom b{font-size:11px}.budget-monitor{padding:18px}.budget-overview{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.budget-overview small{display:block;font-size:9px;color:var(--muted);line-height:1.5}.budget-overview strong{display:block;font-family:Manrope,sans-serif;font-size:23px;letter-spacing:-.7px;margin:6px 0 3px}.budget-overview div>span{display:block;font-size:10px;color:var(--muted)}.budget-count{font-size:9px;font-weight:700;padding:7px 8px;border-radius:9px;background:#e8f6ef;color:#18764e;white-space:nowrap}.budget-count.has-attention{background:#fff1dd;color:#88500c}.budget-item{display:block;width:100%;text-align:left;padding:16px 0;border-bottom:1px solid var(--line)}.budget-item:last-child{border-bottom:0;padding-bottom:2px}.budget-item-top,.budget-item-values,.budget-item-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.budget-item-top .category-label{font-size:11px;font-weight:600;min-width:0;overflow-wrap:anywhere}.budget-badge{font-size:8px;font-weight:700;border-radius:6px;padding:5px 6px;white-space:nowrap}.budget-badge.safe{background:#e8f6ef;color:#18764e}.budget-badge.near{background:#fff1dd;color:#88500c}.budget-badge.full{background:#fff1dd;color:#88500c}.budget-badge.over{background:#fde9ef;color:#b42d53}.budget-item-values{margin-top:11px;font-size:10px}.budget-item-values small{font-size:9px;color:var(--muted);font-weight:400}.budget-item-values strong{font-family:Manrope,sans-serif;font-size:12px}.budget-track{display:block;overflow:hidden;background:var(--line);border-radius:10px;height:6px;margin-top:8px}.budget-track i{display:block;height:100%;border-radius:inherit}.budget-item-foot{font-size:9px;color:var(--muted);margin-top:8px;line-height:1.5}.budget-item-foot>span{font-size:8px;white-space:nowrap}.budget-item-foot.over{color:#b42d53}.budget-item-foot.near,.budget-item-foot.full{color:#a16313}.budget-uncovered{display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:15px}.budget-uncovered svg{width:16px;height:16px;flex-shrink:0;color:#ac771b}.budget-uncovered b{font-size:10px;font-weight:500}.budget-uncovered small{display:block;font-size:9px;color:var(--muted);line-height:1.6;margin-top:3px}.budget-more{margin-top:15px;font-size:11px}.budget-empty{display:flex;align-items:center;gap:12px;margin-bottom:16px}.budget-empty>span{width:39px;height:39px;background:#ffced84d;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.budget-empty svg{width:22px;height:22px}.budget-empty b{font-size:12px}.budget-empty p{margin:6px 0 0}.budget-status-key{display:flex;flex-wrap:wrap;gap:10px;font-size:9px;color:var(--muted);margin-top:15px}.budget-status-key span{display:flex;align-items:center;gap:5px}.budget-status-key i{width:6px;height:6px;border-radius:100%;background:#168567}.budget-status-key .near,.budget-status-key .full{background:#c6861e}.budget-status-key .over{background:#ca365d}.home-section .month{max-width:205px}.home-section .month input{min-width:0}.sub,.note{line-height:1.65}html:not([data-theme="dark"]){--muted:#72656d}html[data-theme="dark"] .home-actions button>span,html[data-theme="dark"] .home-cashflow .mini{background:#232a35}html[data-theme="dark"] .budget-count,html[data-theme="dark"] .budget-badge.safe{background:#1d3d35;color:#87d5b3}html[data-theme="dark"] .budget-badge.near,html[data-theme="dark"] .budget-badge.full,html[data-theme="dark"] .budget-count.has-attention{background:#443725;color:#f3ce8f}html[data-theme="dark"] .budget-badge.over{background:#492735;color:#ffacc1}html[data-theme="dark"] .budget-item-foot.over{color:#ffacc1}html[data-theme="dark"] .budget-item-foot.near,html[data-theme="dark"] .budget-item-foot.full{color:#f3ce8f}@media(max-width:370px){.available-card.wallet-card{padding:18px}.home-section{align-items:flex-start;gap:10px}.home-section .month{max-width:180px}.budget-count{font-size:8px}.budget-monitor{padding:15px}.budget-badge{font-size:7px}.available-breakdown{padding:12px 9px}.available-breakdown small{font-size:8px}}

.home-actions button:hover>span{background:#ffced85e;border-color:#e7acbd}.home-actions button:active{transform:translateY(1px)}#nav .add{background:#ffced8;color:#28232a;box-shadow:0 4px 16px #d691a32b}#nav button.active{color:#9a4d67}.link{color:#96536b}.avatar{color:#9a4d67}.theme-toggle{color:var(--muted)}.month{color:var(--ink)}html[data-theme="dark"] .link,html[data-theme="dark"] #nav button.active{color:#f0b2c6}.budget-item:hover .budget-item-top .category-label{text-decoration:underline;text-underline-offset:3px}@media(prefers-reduced-motion:no-preference){.budget-track i{transition:width .25s ease}.home-actions button{transition:transform .15s ease}}

html[data-theme="dark"] #nav .add{background:#ffced8;color:#28232a;box-shadow:0 0 0 7px #151920}.budget-item-top .category-label{font-size:12px}.budget-badge{font-size:9px}.budget-item-values{font-size:11px}.budget-item-values small{font-size:10px}.budget-item-foot{font-size:10px}.budget-item-foot>span{font-size:9px}.budget-overview small,.budget-uncovered small{font-size:10px}@media(max-width:370px){.budget-badge{font-size:8px}.budget-item-values{flex-wrap:wrap}.budget-item-foot{flex-wrap:wrap}}

/* Polished shortcuts with functional color accents. Income is always blue. */
:root{--income:#238bd6}.positive{color:var(--income)}.monthly .bar.green{background:#399ee8;box-shadow:0 3px 8px #238bd617}.dot.green,.week-income{background:#399ee8}.home-cashflow .positive{color:#187dc5}.home-actions{gap:10px;margin:20px 0 10px}.home-actions .quick-action{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:15px;padding:13px 11px 12px;border:1px solid #eee6e9;border-radius:20px;box-shadow:0 5px 13px #41243305;background:#fff;text-align:left;position:relative;overflow:hidden;min-width:0;isolation:isolate}.home-actions .quick-record{background:#fff1f5;border-color:#f1d4df}.quick-action::after{content:'';position:absolute;right:-13px;top:-17px;width:58px;height:58px;border:9px solid #e6c8d32b;border-radius:50%;z-index:-1}.home-actions .quick-action>.quick-top{width:100%;height:auto;display:flex;align-items:center;justify-content:space-between;border:0;background:none;box-shadow:none;border-radius:0;color:inherit}.quick-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:12px;background:#ffd9e4;color:#963d5a;box-shadow:inset 0 1px 0 #ffffffaa}.home-actions .quick-save .quick-icon{background:#e4f2ff;color:#227fbf}.home-actions .quick-budget .quick-icon{background:#fff0db;color:#ae7520}.home-actions .quick-icon svg{width:21px;height:21px}.quick-arrow{font-size:15px;color:#b49ba5;padding-right:1px}.home-actions .quick-save .quick-arrow{color:#94b8d3}.home-actions .quick-budget .quick-arrow{color:#c4ac89}.home-actions .quick-action>.quick-copy{display:block;width:auto;height:auto;background:none;border:0;border-radius:0;box-shadow:none;text-align:left;color:var(--ink)}.home-actions .quick-copy b{display:block;font-size:11px;font-weight:700;letter-spacing:-.2px}.quick-copy small{display:block;font-size:9px;color:var(--muted);margin-top:5px;line-height:1.4}.home-actions .quick-action:hover{border-color:#dfadbf;box-shadow:0 7px 18px #96536b12}.home-actions .quick-action:hover>.quick-top,.home-actions .quick-action:hover>.quick-copy{background:none;border:0}.home-actions .quick-action:focus-visible{outline:2px solid #ad5675;outline-offset:3px}.home-cashflow .income-summary{background:#f0f8ff;border-color:#dcecf8;position:relative;overflow:hidden}.home-cashflow .expense-summary{background:#fff5f8;border-color:#f3e2e8;position:relative;overflow:hidden}.home-cashflow .mini:after{content:'';position:absolute;right:-14px;top:-16px;width:65px;height:65px;border-radius:50%;border:11px solid #258bd609;pointer-events:none}.home-cashflow .expense-summary:after{border-color:#de759808}.home-cashflow .cashflow-label i{background:#dcefff;color:#238bd6;width:25px;height:25px;border-radius:9px}.home-cashflow .mini+.mini .cashflow-label i{background:#ffe2ec;color:#b65277}.home-cashflow strong{margin-top:12px;position:relative;z-index:1}.home-chart .monthly .bar{border-radius:8px 8px 4px 4px}.home-chart .axis .current{color:#227fbf;font-weight:700}.home-chart .chart-grid{opacity:.65}html[data-theme="dark"]{--income:#78c4fb}html[data-theme="dark"] .home-actions .quick-action{background:#202630;border-color:#38404b}html[data-theme="dark"] .home-actions .quick-record{background:#352832;border-color:#684250}html[data-theme="dark"] .home-actions .quick-action>.quick-top,html[data-theme="dark"] .home-actions .quick-action>.quick-copy{background:none;color:var(--ink)}html[data-theme="dark"] .quick-record .quick-icon{background:#604052;color:#ffd0e0}html[data-theme="dark"] .quick-save .quick-icon{background:#263f58;color:#a6d7ff}html[data-theme="dark"] .quick-budget .quick-icon{background:#4c3d28;color:#f2cd92}html[data-theme="dark"] .home-cashflow .income-summary{background:#1c2c3d;border-color:#314659}html[data-theme="dark"] .home-cashflow .expense-summary{background:#31262e;border-color:#4b3441}html[data-theme="dark"] .home-cashflow .positive{color:#85cbff}html[data-theme="dark"] .home-cashflow .cashflow-label i{background:#29435e;color:#a6d7ff}html[data-theme="dark"] .home-cashflow .mini+.mini i{background:#563044;color:#ffbfd4}@media(max-width:370px){.home-actions{gap:7px}.home-actions .quick-action{padding:11px 9px;border-radius:17px}.home-actions .quick-copy b{font-size:10px}.quick-copy small{font-size:8px}.quick-icon{width:32px;height:32px}.quick-arrow{font-size:13px}}

/* Hidden navigation must win over flex/grid styling on login and PIN screens. */
#nav[hidden]{display:none!important;pointer-events:none!important}

/* copia. v2.1: unobtrusive persistence and receipt scanning feedback */
#sync-status{position:fixed;right:14px;top:calc(12px + env(safe-area-inset-top));z-index:120;padding:5px 10px;border-radius:999px;background:rgba(35,42,49,.80);color:#fff;font-size:11px;letter-spacing:.02em;box-shadow:0 4px 16px #0002;pointer-events:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
#sync-status:empty{display:none}#sync-status[data-kind=error]{background:#a63c55}#sync-status[data-kind=saved]{background:#316b61}#receipt-notice{min-height:1.5em}#scan-receipt{margin-top:10px}#scan-receipt[hidden]{display:none!important}

/* copia. V2.1.2 — prevent the native month picker from clipping its year on iOS/Safari. */
.heading{min-width:0;gap:8px}
.heading>h1,.heading>h2{min-width:0}
.heading>.month{flex:0 0 auto;max-width:none}
.heading>.month input[type="month"]{box-sizing:content-box;width:155px;min-width:155px;max-width:none;flex:0 0 155px;font-size:12px;padding:3px 0;white-space:nowrap}
.heading>.month button{flex:0 0 18px;min-width:18px;padding:4px 0}
@media(max-width:360px){.heading{gap:4px}.heading>.month{gap:2px}.heading>.month input[type="month"]{width:146px;min-width:146px;flex-basis:146px;font-size:11px}}

/* copia. V2.2 — Rich Liquid Glass Budget Dashboard */
.budget-rich-page{padding-bottom:20px}.budget-rich-heading{margin:23px 0 22px}.budget-rich-heading h1{font-family:Manrope,sans-serif;font-size:clamp(29px,8vw,39px);line-height:1.13;letter-spacing:-1.5px;margin:9px 0 12px}.budget-rich-heading h1 em{font-style:normal;color:#c66b91}.budget-rich-heading p{font-size:12px;color:var(--muted);line-height:1.7;max-width:330px}.budget-rich-month{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 17px}.budget-rich-month>span{font-size:12px;font-weight:700;white-space:nowrap}.budget-rich-month .month{min-width:0;max-width:205px}.budget-rich-month .month input{min-width:0}.budget-rich-hero{position:relative;overflow:hidden;padding:21px;border-radius:27px;background:linear-gradient(125deg,#ffe2eb 0%,#f7b7d0 58%,#d8baf0 100%);color:#3b2838;box-shadow:0 12px 30px #a54b7522,inset 0 1px 1px #fff9;border:1px solid #ffffffa6}.budget-rich-hero:before{content:'';position:absolute;width:200px;height:200px;border:35px solid #ffffff30;border-radius:50%;top:-125px;right:-75px;pointer-events:none}.budget-rich-hero:after{content:'';position:absolute;width:140px;height:140px;border-radius:50%;background:#ffffff22;filter:blur(23px);bottom:-90px;left:-30px;pointer-events:none}.budget-rich-hero-top,.budget-rich-hero-content,.budget-rich-hero-bottom{position:relative;z-index:1}.budget-rich-hero-top{display:flex;justify-content:space-between;align-items:center}.budget-rich-eyebrow{font-size:9px;font-weight:800;letter-spacing:2px;color:#6b445e}.budget-rich-sparkle{font-size:23px;color:#fff}.budget-rich-hero-content{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:25px 0 21px}.budget-rich-hero-content>div:first-child{min-width:0}.budget-rich-hero-content small,.budget-rich-hero-caption{display:block;font-size:10px;color:#704c65}.budget-rich-hero-content strong{display:block;font-family:Manrope,sans-serif;font-size:clamp(22px,6vw,32px);letter-spacing:-1.2px;margin:7px 0;overflow-wrap:anywhere}.budget-rich-ring{width:112px;height:112px;flex-shrink:0;border-radius:50%;background:conic-gradient(#704b7d var(--ring-percent),#ffffff80 0);padding:10px;box-shadow:0 5px 20px #a2598b29}.budget-rich-ring>div{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#f8d2e2;box-shadow:inset 0 2px 6px #ae6c9121}.budget-rich-ring b{font-size:23px}.budget-rich-ring small{font-size:9px}.budget-rich-hero-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:16px;border-top:1px solid #ffffff99}.budget-rich-hero-bottom small{display:block;font-size:10px;color:#704c65}.budget-rich-hero-bottom b{display:block;font-size:15px;margin-top:5px;overflow-wrap:anywhere}.budget-rich-insights{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0 29px}.budget-rich-insight{display:flex;align-items:center;gap:10px;padding:14px 11px;border:1px solid var(--line);background:var(--card);border-radius:19px;box-shadow:inset 0 1px 0 #ffffff20;min-width:0}.budget-rich-insight-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.budget-rich-insight-icon svg{width:19px;height:19px}.budget-rich-insight-icon.blue{background:#e1f1ff;color:#2889c8}.budget-rich-insight-icon.pink{background:#ffe1ec;color:#bd5b82}.budget-rich-insight-icon.amber{background:#fff0d8;color:#b47d21}.budget-rich-insight small{font-size:9px;color:var(--muted);display:block;line-height:1.35}.budget-rich-insight b{font-size:12px;display:block;margin-top:4px}.budget-rich-section-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:13px}.budget-rich-section-title h2{font-size:19px;margin:5px 0 0}.budget-rich-edit{border:1px solid #eab6c9;background:#ffe1eb;color:#88445e;padding:10px 12px;border-radius:13px;font-size:11px;font-weight:750;white-space:nowrap}.budget-rich-categories{display:grid;gap:11px}.budget-rich-category{display:block;width:100%;text-align:left;border:1px solid var(--line);background:var(--card);border-radius:21px;padding:17px;box-shadow:0 8px 22px #140e1c08,inset 0 1px 0 #ffffff30;color:var(--ink)}.budget-rich-category-head{display:flex;align-items:center;gap:10px}.budget-rich-category-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:var(--category-color);background:color-mix(in srgb,var(--category-color) 16%,transparent)}.budget-rich-category-icon svg{width:20px;height:20px}.budget-rich-category-name{flex:1;font-size:13px;font-weight:750}.budget-rich-category-name small{display:block;color:var(--muted);font-size:10px;margin-top:3px;font-weight:500}.budget-rich-category-head>strong{font-size:17px}.budget-rich-category-money{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:17px 0 10px}.budget-rich-category-money b{font-size:16px}.budget-rich-category-money small{font-size:10px;color:var(--muted)}.budget-rich-track{display:block;height:8px;background:var(--line);border-radius:20px;overflow:hidden}.budget-rich-track i{display:block;height:100%;border-radius:inherit}.budget-rich-category-foot{display:flex;justify-content:space-between;gap:8px;margin-top:11px;font-size:10px;color:var(--muted)}.budget-rich-category-foot>span{color:#c66b91}.budget-rich-empty{text-align:center;border:1px solid var(--line);background:var(--card);border-radius:24px;padding:29px 20px 24px;box-shadow:inset 0 1px 0 #ffffff24}.budget-rich-empty-art{width:65px;height:65px;display:grid;place-items:center;border-radius:21px;margin:0 auto 16px;background:linear-gradient(135deg,#ffe3ec,#e2efff);color:#b45580}.budget-rich-empty-art svg{width:31px;height:31px}.budget-rich-empty h3{font-size:16px;margin:0 0 8px}.budget-rich-empty p{font-size:11px;line-height:1.7;color:var(--muted);max-width:260px;margin:0 auto 18px}.budget-rich-primary{width:100%;padding:14px;border:0;border-radius:15px;background:linear-gradient(120deg,#f5b7cf,#dca4d6);color:#43283c;font-weight:800;font-size:12px;box-shadow:0 5px 16px #bd739733}.budget-rich-uncovered{margin-top:14px;padding:17px;border:1px solid var(--line);border-radius:20px;background:var(--card)}.budget-rich-uncovered-title{display:flex;align-items:center;gap:10px}.budget-rich-uncovered-title b{font-size:12px}.budget-rich-uncovered-title small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.budget-rich-uncovered-tags{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.budget-rich-uncovered-tags span{padding:7px 9px;border-radius:10px;background:var(--line);font-size:10px}.budget-rich-legend{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 10px}.budget-rich-legend span{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.budget-rich-legend i{width:7px;height:7px;border-radius:50%;background:#28a47d}.budget-rich-legend .near,.budget-rich-legend .full{background:#e5a83b}.budget-rich-legend .over{background:#db537a}.budget-rich-footnote{font-size:10px;line-height:1.65;color:var(--muted)}html[data-theme="dark"] .budget-rich-heading h1 em{color:#f4afcb}html[data-theme="dark"] .budget-rich-hero{background:linear-gradient(125deg,#f9c9dc,#e5a5c4 58%,#c5a5dc);border-color:#ffe8f1a8}html[data-theme="dark"] .budget-rich-insight,html[data-theme="dark"] .budget-rich-category,html[data-theme="dark"] .budget-rich-empty,html[data-theme="dark"] .budget-rich-uncovered{background:linear-gradient(135deg,#343039e8,#242932e8);border-color:#ffffff21;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}html[data-theme="dark"] .budget-rich-insight-icon.blue{background:#294258;color:#9bd4ff}html[data-theme="dark"] .budget-rich-insight-icon.pink{background:#593849;color:#ffbfd8}html[data-theme="dark"] .budget-rich-insight-icon.amber{background:#50402d;color:#f6cd85}html[data-theme="dark"] .budget-rich-edit{background:#553747;color:#ffd4e5;border-color:#765062}html[data-theme="dark"] .budget-rich-empty-art{background:linear-gradient(135deg,#664055,#324a65);color:#ffcade}html[data-theme="dark"] .budget-rich-category-foot>span{color:#ffc1d8}@media(max-width:360px){.budget-rich-hero{padding:17px}.budget-rich-ring{width:93px;height:93px;padding:8px}.budget-rich-hero-content strong{font-size:21px}.budget-rich-insight{padding:11px 8px;gap:7px}.budget-rich-insight-icon{width:29px;height:29px}.budget-rich-insight b{font-size:10px}.budget-rich-month .month{max-width:185px}}

/* copia. v2.3 — calm minimal glass budget */
.budget-calm-page{padding-bottom:30px}.budget-calm-heading{margin:23px 0 19px}.budget-calm-heading h1{font-family:Manrope,sans-serif;font-size:31px;letter-spacing:-1.1px;margin:7px 0 5px}.budget-calm-heading p{font-size:12px;color:var(--muted);line-height:1.5}.budget-calm-month{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 19px}.budget-calm-month>span{font-size:12px;font-weight:700}.budget-calm-month .month{max-width:215px;min-width:0}.budget-calm-month .month input{min-width:0}.budget-calm-hero{border-radius:25px;padding:23px 21px 20px;background:linear-gradient(135deg,#f9dce6,#eec2d3 72%,#e7cbdc);color:#392d38;border:1px solid #fff9;box-shadow:0 10px 30px #ba819b20,inset 0 1px 0 #fff9;position:relative;overflow:hidden}.budget-calm-hero:before{content:'';position:absolute;right:-70px;top:-100px;width:210px;height:210px;border-radius:50%;background:#ffffff22;filter:blur(12px);pointer-events:none}.budget-calm-hero-label{font-size:11px;font-weight:650;color:#79566a;position:relative}.budget-calm-hero>strong{display:block;position:relative;font-size:clamp(25px,7vw,34px);font-family:Manrope,sans-serif;letter-spacing:-1.2px;margin:9px 0 21px;overflow-wrap:anywhere}.budget-calm-hero-rule{height:1px;background:#ffffffa8;margin-bottom:16px}.budget-calm-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}.budget-calm-hero-stats small{display:block;font-size:10px;color:#79566a;margin-bottom:6px}.budget-calm-hero-stats b{font-size:14px;overflow-wrap:anywhere}.budget-calm-hero-track{margin-top:18px;height:5px;background:#ffffff7d;border-radius:20px;overflow:hidden}.budget-calm-hero-track i{display:block;height:100%;background:#92546e;border-radius:inherit}.budget-calm-section{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:29px 0 13px}.budget-calm-section h2{font-size:19px;margin:5px 0 0}.budget-calm-edit{font-size:11px;font-weight:750;color:#b66e8d;background:transparent;border:0;padding:9px 0}.budget-calm-list{border:1px solid var(--line);border-radius:21px;background:var(--card);padding:0 17px;overflow:hidden}.budget-calm-item{display:block;text-align:left;width:100%;padding:17px 0;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--ink)}.budget-calm-item:last-child{border-bottom:0}.budget-calm-item-head{display:flex;align-items:center;gap:9px}.budget-calm-dot{height:9px;width:9px;border-radius:50%;flex-shrink:0}.budget-calm-name{font-size:13px;font-weight:750;flex:1}.budget-calm-percent{font-size:12px;color:var(--muted);font-weight:700}.budget-calm-amount{display:block;margin:11px 0 10px;font-size:15px;font-weight:750}.budget-calm-amount small{font-size:11px;font-weight:450;color:var(--muted)}.budget-calm-track{display:block;height:5px;background:var(--line);border-radius:10px;overflow:hidden}.budget-calm-track i{display:block;height:100%;border-radius:inherit}.budget-calm-meta{display:flex;justify-content:space-between;margin-top:9px;font-size:10px;color:var(--muted)}.budget-calm-meta>span{color:#bc7d9b}.budget-calm-meta.over{color:#e45d7e}.budget-calm-empty{text-align:center;padding:25px 20px 22px;border-radius:21px;border:1px solid var(--line);background:var(--card)}.budget-calm-empty-icon{display:grid;place-items:center;margin:0 auto 13px;width:45px;height:45px;border-radius:15px;background:#f6dce7;color:#a76180}.budget-calm-empty-icon svg{width:23px;height:23px}.budget-calm-empty h3{font-size:15px;margin:0 0 7px}.budget-calm-empty p{font-size:11px;color:var(--muted);line-height:1.6;max-width:250px;margin:0 auto 17px}.budget-calm-primary{border:0;background:#f0bed1;color:#49313c;font-weight:750;font-size:12px;border-radius:13px;padding:12px 21px}.budget-calm-uncovered{display:flex;align-items:center;gap:11px;margin-top:13px;padding:15px;border:1px solid var(--line);border-radius:17px;background:var(--card)}.budget-calm-uncovered-dot{width:8px;height:8px;background:#dba452;border-radius:50%;flex-shrink:0}.budget-calm-uncovered>div{flex:1;min-width:0}.budget-calm-uncovered b{display:block;font-size:11px}.budget-calm-uncovered small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.budget-calm-uncovered button{border:0;background:transparent;color:var(--muted);font-size:20px}.budget-calm-footnote{font-size:10px;color:var(--muted);line-height:1.6;margin-top:17px}html[data-theme="dark"] .budget-calm-hero{background:linear-gradient(135deg,#f5c6d9,#dfa7bf 76%,#cdb5d0);border-color:#ffeaf280}html[data-theme="dark"] .budget-calm-list,html[data-theme="dark"] .budget-calm-empty,html[data-theme="dark"] .budget-calm-uncovered{background:linear-gradient(145deg,#ffffff10,#ffffff06);border-color:#ffffff1c;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:inset 0 1px 0 #ffffff0b}html[data-theme="dark"] .budget-calm-edit,html[data-theme="dark"] .budget-calm-meta>span{color:#f3b5ce}html[data-theme="dark"] .budget-calm-empty-icon{background:#f5c5d521;color:#f5bfd4}html[data-theme="dark"] .budget-calm-primary{background:#f2bfd2;color:#362530}@media(max-width:360px){.budget-calm-hero{padding:19px 16px}.budget-calm-month .month{max-width:185px}.budget-calm-hero-stats b{font-size:12px}}
