:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif;color:#172a22;color-scheme:light;background:#f1f4ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;margin:0;background:radial-gradient(ellipse 380px 300px at 80% 0%,#dcebe5 0%,transparent 100%),#f1f4ef}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5eac83;outline-offset:2px}.app-shell{display:flex;flex-direction:column;width:min(100%,540px);height:100vh;height:100dvh;margin:0 auto;padding:0 20px calc(env(safe-area-inset-bottom) + 8px)}.app-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:calc(env(safe-area-inset-top) + 20px) 0 18px}.topbar,.section-heading,.inline-form,.recent-list li{display:flex;align-items:center;justify-content:space-between}.topbar{margin:0 2px 21px}.brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:760;letter-spacing:-.045em}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#112d32;color:#d8ff98;font-size:17px;box-shadow:0 5px 12px #0c34312b}.topbar-date{padding:7px 11px;border:1px solid #d6e4d9;border-radius:999px;background:#ffffffa6;color:#3d6252;font-size:12px;font-weight:650}.balance-card{position:relative;isolation:isolate;overflow:hidden;padding:22px 24px 19px;border:1px solid #577e665e;border-radius:28px;background:linear-gradient(128deg,#102a32,#103a36 61%,#174638);color:#fff;box-shadow:0 18px 35px #143c3440,inset 0 1px #ffffff2a}.balance-card:before{content:"";position:absolute;z-index:-1;top:-116px;right:-110px;width:345px;height:345px;border-radius:50%;background:radial-gradient(circle,#a6e99e80 0%,#5bd5af37 36%,transparent 70%);pointer-events:none}.balance-card:after{content:"";position:absolute;top:-62px;right:-45px;width:225px;height:225px;border:1px solid #e6ffcf3a;border-radius:50%;box-shadow:0 0 0 37px #aaf9c00e,0 0 0 78px #aaf9c009;pointer-events:none}.eyebrow{position:relative;margin:0;color:#d3eadc;font-size:13px;font-weight:650;letter-spacing:.06em}.remaining-box{position:relative;margin-top:10px;padding:10px 14px 8px;border:1px solid #8de8d85e;border-radius:19px;background:#071e2759;box-shadow:inset 0 1px #ffffff17}.balance{position:relative;margin-top:11px;color:#fff;font-size:clamp(43px,11vw,62px);font-weight:740;font-variant-numeric:tabular-nums;letter-spacing:-.07em;line-height:1.12;overflow-wrap:anywhere;text-shadow:0 2px 16px #051e1b4d}.balance.negative{color:#ffcfb4}.balance-note{position:relative;margin:6px 0 4px;color:#c1dacd;font-size:12px;line-height:1.5}.balance-summary{margin-top:14px}.balance-summary{position:relative;display:grid;grid-template-columns:1.12fr 1fr;gap:9px}.balance-summary>div{min-width:0;min-height:82px;padding:12px 14px;border:1px solid #ffffff2c;border-radius:17px;background:#ffffff14}.balance-summary span{display:block;color:#d4e9d7;font-size:12px}.balance-summary strong{display:block;color:#fff;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.spent-summary strong{margin-top:5px;font-size:clamp(24px,6.7vw,32px);font-weight:750;letter-spacing:-.055em;line-height:1.2}.balance-summary .spent-summary{border-color:#e2ffc5;background:linear-gradient(135deg,#e2ffb4,#bdedb6);box-shadow:inset 0 1px #fff9}.spent-summary span,.balance-summary .spent-summary strong{color:#1b4436}.budget-summary>div{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-top:2px}.budget-summary strong{font-size:clamp(13px,3.4vw,16px);font-weight:650}.text-button{min-width:44px;min-height:44px;padding:4px 0;border:0;background:transparent;color:#dfff9f;font-size:12px;font-weight:680;text-decoration:underline;text-underline-offset:4px}.budget-progress{position:relative;height:5px;margin:16px 2px 0;overflow:hidden;border-radius:9px;background:#ffffff36}.budget-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8ee8c1,#d9ff88)}.budget-form{position:relative;margin-top:18px}.budget-form label{display:block;margin-bottom:9px;font-size:13px}.inline-form{gap:7px}.inline-form input{flex:1;min-width:0;height:44px;padding:0 11px;border:0;border-radius:10px;background:#fff;color:#172a22}.small-primary,.small-quiet{min-width:44px;height:44px;padding:0 10px;border:0;border-radius:10px;white-space:nowrap}.small-primary{background:#d8ff98;color:#173e2a;font-weight:700}.small-quiet{background:transparent;color:#fff}.record-card{position:relative;margin-top:17px;padding:22px 23px 24px;border:1px solid #dbe9df;border-radius:27px;background:linear-gradient(155deg,#fff 50%,#fbfdf8);box-shadow:0 10px 30px #21413516}.record-card:before{content:"";position:absolute;top:-1px;left:28px;width:57px;height:3px;border-radius:0 0 5px 5px;background:#a8e680}.section-heading{gap:10px}.section-heading h1,.section-heading h2{margin:0;font-size:20px;font-weight:760;letter-spacing:-.045em}.section-heading span{color:#64776b;font-size:12px}.amount-label,.field-label{display:block;color:#526659;font-size:12px;font-weight:680}.amount-label{margin:22px 0 9px}.amount-field{display:flex;align-items:center;gap:7px;min-height:68px;padding:0 15px;border:1.5px solid #d8e7da;border-radius:17px;background:#f5faef;color:#164c3e;box-shadow:inset 0 1px 3px #233d2308;transition:border-color .15s,background-color .15s,box-shadow .15s}.amount-field:focus-within{border-color:#71b98f;background:#fff;box-shadow:0 0 0 4px #a8eec052}.amount-field>span{font-size:29px;font-weight:550}.amount-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#183c2a;font-size:38px;font-weight:620;font-variant-numeric:tabular-nums;letter-spacing:-.055em}.amount-field input::placeholder{color:#bdcbc0}.field-label{margin:21px 0 11px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.category{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:66px;border:1px solid #e6eee6;border-radius:15px;background:#f5f8f3;color:#435c50;font-size:12px;transition:background-color .15s,border-color .15s,transform .15s}.category-food,.category-learning{background:#eff8e8}.category-transport,.category-health{background:#edf7f8}.category-shopping,.category-housing{background:#fff5ed}.category-entertainment,.category-other{background:#f5f1fb}.category-water,.category-ai{background:#edf7f8}.category-treat,.category-investment{background:#f5f1fb}.category:active{transform:scale(.97)}.category.selected{border-color:#9cca72;background:#dfffac;color:#204636;font-weight:740;box-shadow:inset 0 0 0 1px #a9d583}.category-icon{font-size:21px;line-height:1.2}.save-button{position:relative;width:100%;min-height:54px;margin-top:20px;border:0;border-radius:15px;background:#122f34;color:#fff;font-size:16px;font-weight:720;box-shadow:0 8px 18px #103f3440}.save-arrow{position:absolute;right:19px;top:50%;transform:translateY(-50%);color:#d8ff98;font-size:24px;font-weight:400}.save-button:active{background:#1a4649}.save-button:disabled{opacity:.55;cursor:default}.notice{margin:13px 0 0;font-size:13px;line-height:1.5}.notice.error{color:#aa432f}.notice.success{color:#287149}.recent-section{padding:29px 2px 0}.recent-section .section-heading{margin-bottom:13px}.recent-section .section-heading h2{font-size:17px}.empty-state{margin:0;padding:25px 16px;border:1px dashed #d8e1d7;border-radius:16px;color:#859187;font-size:13px;text-align:center}.recent-list{margin:0;padding:0;list-style:none}.recent-list li{gap:12px;padding:12px 2px;border-bottom:1px solid #e9eee8}.recent-icon{display:grid;flex:none;place-items:center;width:42px;height:42px;border-radius:14px;background:#eaf6df;font-size:21px}.recent-info{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.recent-info strong{font-size:14px;font-weight:660}.recent-info small{color:#64776b;font-size:12px}.expense-note{overflow-wrap:anywhere;color:#5e6c61!important}.recent-amount{font-size:15px;font-weight:670;font-variant-numeric:tabular-nums;white-space:nowrap}footer{padding:27px 0 0;color:#687b6d;font-size:11px;text-align:center}.update-banner{position:fixed;z-index:12;right:20px;bottom:calc(env(safe-area-inset-bottom) + 80px);left:20px;display:flex;align-items:center;justify-content:space-between;max-width:500px;margin:auto;padding:13px 15px;border-radius:14px;background:#1d4030;box-shadow:0 10px 28px #0003;color:#fff;font-size:14px}.update-banner button{min-height:44px;padding:9px 12px;border:0;border-radius:9px;background:#c7e6cc;color:#183d26;font-weight:600}.update-banner button:disabled{opacity:.45;cursor:default}.tabbar{position:relative;z-index:10;display:flex;flex:0 0 auto;width:100%;margin-top:6px;padding:8px 10px;border:1px solid #ffffff36;border-radius:21px;background:#122e33f5;box-shadow:0 10px 30px #1233304d}.tabbar button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:49px;border:0;border-radius:14px;background:transparent;color:#bed1c9;font-size:11px;font-weight:620}.tabbar button svg{width:21px;height:21px}.tabbar button.active{background:#d8ff98;color:#163a32;font-weight:760}.page-card{padding:26px 22px;border:1px solid #dbe9df;border-radius:27px;background:linear-gradient(155deg,#fff 55%,#fbfdf8);box-shadow:0 10px 30px #21413516}.page-heading{margin-bottom:22px}.page-heading h1{margin:3px 0 0;font-size:25px;letter-spacing:-.04em}.eyebrow-dark{margin:0;color:#42735a;font-size:12px;font-weight:700;letter-spacing:.08em}.month-picker{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;border:1px solid #dceadc;border-radius:15px;background:#f3f9ef}.month-picker strong{font-size:15px}.month-picker button{width:48px;height:48px;border:0;background:transparent;color:#205844;font-size:27px}.history-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.history-filters label,.edit-panel label{display:flex;flex-direction:column;gap:6px;color:#637266;font-size:12px;font-weight:600}.history-filters select,.history-filters input,.edit-panel select,.edit-panel input{min-width:0;width:100%;height:44px;padding:0 10px;border:1px solid #dce4db;border-radius:11px;background:#fff;color:#1c2b20;font-size:14px}.history-list{list-style:none;margin:0;padding:0}.history-list li{padding:13px 0;border-top:1px solid #eff1ec}.history-row{display:flex;align-items:center;gap:11px}.history-row .recent-info{min-width:0}.row-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.row-actions button{min-width:44px;min-height:44px;padding:0 12px;border:1px solid #cbdacb;border-radius:9px;background:#f4f8f3;color:#2b5a3d;font-size:12px;font-weight:600}.row-actions button:disabled{opacity:.45}.quiet-actions button{border-color:transparent;background:transparent;color:#67826d}.quiet-actions button:last-child{color:#ad6b65}.edit-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px;padding:14px;border-radius:13px;background:#f6f8f4}.edit-panel label:last-of-type{grid-column:1/-1}.edit-panel .row-actions{grid-column:1/-1;margin:0}.delete-panel{margin-top:12px;padding:13px;border-radius:12px;background:#fff5f2;color:#9c4639;font-size:13px}.row-actions button.danger{border-color:#dca49c;background:#b54d40;color:#fff}.load-more,.wide-action,.outline-action,.danger-action{min-height:46px;border-radius:11px;padding:0 16px;font-weight:650}.load-more{display:block;width:100%;margin-top:18px;border:1px solid #d3e1d2;background:#f5faf4;color:#28583d}.load-more:disabled,.wide-action:disabled,.danger-action:disabled{opacity:.55}.backup-section{padding:22px 0;border-top:1px solid #ecf0ea}.backup-section h2{margin:0 0 7px;font-size:17px}.backup-section p{margin:0 0 15px;color:#6c786d;font-size:13px;line-height:1.6}.wide-action{width:100%;border:0;background:#122f34;color:#fff;box-shadow:0 8px 18px #103f342b}.file-label{display:block;margin-bottom:8px;color:#526755;font-size:13px;font-weight:600}.backup-section input[type=file]{width:100%;min-height:44px;color:#5b6b5e;font-size:13px}.backup-section input[type=file]::file-selector-button{min-height:40px;margin-right:8px;padding:0 10px;border:1px solid #ceddce;border-radius:9px;background:#f4f8f3;color:#28583d}.restore-preview{margin-top:14px;padding:14px;border-radius:13px;background:#f3f7f2}.restore-preview strong{display:block;overflow-wrap:anywhere;font-size:13px}.restore-preview p{margin:5px 0;color:#657569}.outline-action{margin-top:9px;border:1px solid #81b08a;background:#fff;color:#2c6843}.restore-confirm{margin-top:13px;padding-top:13px;border-top:1px solid #dbe5d9}.restore-confirm p{color:#9b4a3d}.danger-action{border:0;background:#b44f41;color:#fff}.small-quiet.dark{color:#65736a}.privacy-note{margin:10px 0 0;color:#a0aaa1;text-align:center;font-size:12px}.restore-preview .import-note{margin:12px 0;padding:11px;border-radius:10px;background:#fff4dc;color:#765322;line-height:1.6}.stats-total{display:flex;flex-direction:column;gap:6px;padding:22px;border-radius:19px;background:linear-gradient(130deg,#103037,#1b5947);color:#fff;box-shadow:0 9px 20px #103f342c}.stats-total span{font-size:13px;color:#d1e6d6}.stats-total strong{font-size:36px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#deffa2}.stats-total small{font-size:12px;color:#c7dbce}.stats-section{padding:24px 0;border-bottom:1px solid #edf0ea}.stats-section:last-child{border-bottom:0;padding-bottom:0}.stats-section h2{margin:0 0 6px;font-size:17px}.stats-explain{margin:0;color:#8a978b;font-size:12px;line-height:1.5}.trend-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:20px}.trend-column{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:7px}.trend-column strong{max-width:100%;overflow:hidden;color:#617565;font-size:10px;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.trend-column small{color:#758478;font-size:11px}.trend-track{display:flex;width:100%;height:115px;align-items:flex-end;border-radius:7px;background:#edf5ed}.trend-bar{width:100%;border-radius:7px 7px 3px 3px;background:#9bbcb2}.trend-bar.current{background:#69b48a}.category-stats{list-style:none;margin:16px 0 0;padding:0}.category-stats li{margin-top:16px}.category-stats li>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px}.category-stats strong{font-variant-numeric:tabular-nums}.category-stats small{color:#879487;font-size:11px;font-weight:500}.progress-track{height:8px;margin-top:7px;overflow:hidden;border-radius:6px;background:#ecf3e8}.progress-track div{height:100%;border-radius:6px;background:linear-gradient(90deg,#70bea1,#b8df7a)}.insight-section p{margin:12px 0 0;padding:12px;border-radius:11px;background:#f0f8ed;color:#255c45;font-size:13px;line-height:1.5}.insight-section small{display:block;margin-top:13px;color:#8b998c;font-size:11px}.settings-section{padding:23px 0;border-top:1px solid #ecf0ea}.settings-section h2{margin:0 0 7px;font-size:17px}.settings-section>p{margin:0 0 16px;color:#6c786d;font-size:13px;line-height:1.6}.settings-form{display:grid;gap:12px;padding:15px;border-radius:15px;background:#f4f8f3}.settings-form label{display:flex;flex-direction:column;gap:6px;color:#526755;font-size:12px;font-weight:650}.settings-form input,.settings-form select,.inline-edit-form input{width:100%;min-width:0;height:46px;padding:0 12px;border:1px solid #ceddce;border-radius:10px;background:#fff;color:#172a22}.category-add-form{grid-template-columns:92px 1fr}.category-add-form .wide-action{grid-column:1/-1}.recurring-form{grid-template-columns:1fr 1fr}.recurring-form label:first-child,.recurring-form label:nth-child(3),.recurring-form label:nth-child(5),.recurring-form .wide-action,.recurring-form .outline-action{grid-column:1/-1}.settings-list{margin:15px 0 0;padding:0;list-style:none}.settings-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 2px;border-bottom:1px solid #edf0ea}.settings-list li.inactive{opacity:.62}.settings-item-main{display:flex;align-items:center;gap:10px;min-width:0}.settings-item-main>b{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:12px;background:#eaf6df;font-size:20px}.settings-item-main>span{display:flex;flex-direction:column;gap:3px;min-width:0}.settings-item-main strong{font-size:14px}.settings-item-main small{color:#758478;font-size:11px;line-height:1.4}.settings-actions{display:flex;gap:4px}.settings-actions button,.inline-edit-form button{min-width:44px;min-height:44px;padding:0 8px;border:1px solid #d3e1d2;border-radius:9px;background:#f7faf6;color:#39624a;font-size:12px}.inline-edit-form{display:grid;grid-template-columns:70px 1fr auto auto;gap:6px;width:100%}.check-recurring{width:100%;margin-top:16px}.settings-page .notice{margin-bottom:13px}@media(max-width:390px){.recurring-form,.category-add-form{grid-template-columns:1fr}.recurring-form label,.category-add-form .wide-action{grid-column:1!important}.settings-list li{align-items:flex-start;flex-direction:column}.settings-actions{align-self:flex-end}.inline-edit-form{grid-template-columns:64px 1fr}.inline-edit-form button{grid-row:2}.inline-edit-form button:first-of-type{grid-column:1}.inline-edit-form button:last-of-type{grid-column:2}.tabbar{padding-right:6px;padding-left:6px}.tabbar button{font-size:10px}}@media(max-width:370px){.app-shell{padding-right:15px;padding-left:15px}.record-card{padding-right:16px;padding-left:16px}.category-grid{gap:6px}.balance-summary>div{padding-right:9px;padding-left:9px}.budget-summary>div{gap:0}}.backup-section input[type=file]::file-selector-button{min-height:44px}@media(prefers-reduced-motion:reduce){.category,.amount-field{transition:none}}:root{color-scheme:dark;color:#eaf7fc;background:#081621;--tech-panel: #111f2e;--tech-line: #2b4659;--tech-muted: #a5bfca;--tech-cyan: #77e5ed;--tech-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace}body{background:radial-gradient(ellipse 410px 440px at 85% 0%,#173b51 0%,transparent 78%),linear-gradient(#74bbd00b 1px,transparent 1px),linear-gradient(90deg,#74bbd00b 1px,transparent 1px),#081621;background-size:auto,32px 32px,32px 32px,auto}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#8cf4fa}.brand{color:#f0fcff}.brand-mark{border:1px solid #4d8da0;background:linear-gradient(145deg,#153a4c,#0b2433);color:var(--tech-cyan);box-shadow:0 0 0 3px #72dae410,0 5px 15px #0007}.topbar-date{border-color:#315267;background:#13293a;color:#c5e5ec;font-family:var(--tech-mono);font-size:11px}.balance-card{border-color:#39647a;background:linear-gradient(130deg,#112536,#0d3244 62%,#182740);box-shadow:0 17px 36px #0007,inset 0 1px #b1f5ff2b}.balance-card:before{top:-130px;right:-125px;width:360px;height:360px;background:radial-gradient(circle,#2ca8b36b 0%,#27698f45 39%,transparent 71%)}.balance-card:after{border-color:#8de9ef3d;box-shadow:0 0 0 32px #7fe4ec11,0 0 0 69px #7fe4ec08}.remaining-box{border-color:#5fc9da72;background:#0719237a;box-shadow:inset 0 1px #8debf02b,0 0 18px #31b9ce12}.eyebrow{color:#a9d7e2;font-family:var(--tech-mono);font-size:12px;letter-spacing:.08em}.balance{color:#f4fdff;font-family:var(--tech-mono);font-size:clamp(39px,10.2vw,57px);font-weight:720;letter-spacing:-.085em;text-shadow:0 0 22px #8ae8ef3b}.balance.negative{color:#ffba9e}.balance-note{color:#b8d3df}.balance-summary>div{border-color:#4c728647;background:#19344b9c}.balance-summary span{color:#b7d4df}.balance-summary strong{color:#eefcff}.balance-summary .spent-summary{border-color:#409bad;background:linear-gradient(135deg,#164c61,#1b526a);box-shadow:inset 0 1px #7ce7ee43,0 0 18px #41c9db20}.spent-summary span{color:#c1e8eb}.balance-summary .spent-summary strong{color:#8cf5f1;font-family:var(--tech-mono);font-size:clamp(21px,5.9vw,29px);letter-spacing:-.06em}.budget-summary>div{gap:0}.budget-summary strong{min-width:0;overflow:hidden;font-family:var(--tech-mono);font-size:clamp(12px,3vw,15px);text-overflow:ellipsis;white-space:nowrap}.text-button{color:#9cedf0}.budget-progress{background:#9bc9d64a}.budget-progress span{background:linear-gradient(90deg,#329bb4,#8ef3ed)}.budget-form label{color:#d4eef2}.inline-form input{border:1px solid #52798a;background:#0d2536;color:#effcff}.small-primary{background:#7de8ed;color:#092936}.record-card,.page-card{border-color:var(--tech-line);background:linear-gradient(150deg,#142637,#101e2c 68%);box-shadow:0 12px 30px #0004,inset 0 1px #9be5ef12}.record-card:before{background:#73e0e8;box-shadow:0 0 12px #73e0e86e}.section-heading h1,.section-heading h2,.page-heading h1,.stats-section h2,.backup-section h2{color:#f0fbff}.section-heading span,.recent-info small{color:#a5c1ce}.amount-label,.field-label{color:#b2ced8}.amount-field{border-color:#315268;background:#0b1b2a;color:#81e8ec;box-shadow:inset 0 1px 4px #0005}.amount-field:focus-within{border-color:#72e0e9;background:#0d2232;box-shadow:0 0 0 3px #6bd9e92b}.amount-field input{color:#f3fdff;font-family:var(--tech-mono);font-size:36px}.amount-field input::placeholder{color:#718b9c}.category{border-color:#2c495d;background:#192e42;color:#d0e4eb}.category-food,.category-learning{background:#1a3445}.category-transport,.category-health{background:#193442}.category-shopping,.category-housing{background:#263046}.category-entertainment,.category-other{background:#272b44}.category-water,.category-ai{background:#193442}.category-treat,.category-investment{background:#272b44}.category.selected{border-color:#78e6ec;background:#255568;color:#f2feff;box-shadow:inset 0 0 0 1px #91edf174,0 0 14px #66dce729}.save-button,.wide-action{background:linear-gradient(110deg,#78e8ed,#84dbe8);color:#082836;box-shadow:0 8px 19px #27b5c64a}.save-arrow{color:#0b4050}.save-button:active{background:#9bf4f5}.notice.error{color:#ffae9f}.notice.success{color:#8de7ce}.empty-state{border-color:#365669;background:#112436;color:#a9c3ce}.recent-list li,.history-list li{border-color:#294256}.recent-icon{background:#1b3c4b}.recent-amount{color:#eaf8fd;font-family:var(--tech-mono)}.expense-note{color:#b1cad3!important}footer{color:#a2bdc7}.update-banner{border:1px solid #3c7083;background:#142a3a;color:#eefcff}.update-banner button{background:#85e9ed;color:#092a37}.tabbar{border-color:#4e7688;background:#0d2232f7;box-shadow:0 10px 28px #0009}.tabbar button{color:#bbd6df}.tabbar button.active{background:#7ae5eb;color:#0a2b38}.eyebrow-dark{color:#82d9e4}.month-picker{border-color:#315266;background:#102b3d}.month-picker button{color:#91ebec}.history-filters label,.edit-panel label{color:#b4cdd7}.history-filters select,.history-filters input,.edit-panel select,.edit-panel input{border-color:#3a596b;background:#0d1e2c;color:#e9f8fd}.row-actions button{border-color:#3a6070;background:#193649;color:#c3ecf1}.quiet-actions button{color:#b9d9e1}.quiet-actions button:last-child{color:#ffb4a7}.edit-panel{background:#0d2637}.delete-panel{background:#3a252d;color:#ffd4cb}.row-actions button.danger,.danger-action{border-color:#a95d5b;background:#a74547;color:#fff}.load-more,.outline-action{border-color:#498293;background:#173b4d;color:#ccf3f4}.backup-section,.stats-section,.restore-confirm{border-color:#2c4557}.backup-section p,.restore-preview p{color:#b3cad3}.file-label,.backup-section input[type=file]{color:#bed7de}.backup-section input[type=file]::file-selector-button{border-color:#426879;background:#18394a;color:#e0faff}.restore-preview{background:#142c3d}.restore-confirm p{color:#ffb9ab}.small-quiet.dark{color:#c3d8df}.privacy-note{color:#a8c1ca}.restore-preview .import-note{background:#493a27;color:#ffdf9a}.stats-total{background:linear-gradient(130deg,#153850,#174e63);box-shadow:0 9px 20px #0005}.stats-total span,.stats-total small{color:#c8e3eb}.stats-total strong{color:#89f1ed;font-family:var(--tech-mono)}.stats-explain,.trend-column strong,.trend-column small,.category-stats small,.insight-section small{color:#a5bfca}.trend-track{background:#172d3d}.trend-bar{background:#3d788f}.trend-bar.current{background:#75dfe4}.progress-track{background:#1b3443}.progress-track div{background:linear-gradient(90deg,#3da6bf,#80e8e8)}.insight-section p{background:#173245;color:#c9ecf0}.settings-section{border-color:#2c4557}.settings-section>p,.settings-item-main small{color:#b3cad3}.settings-form{background:#10283a}.settings-form label{color:#b4cdd7}.settings-form input,.settings-form select,.inline-edit-form input{border-color:#3a596b;background:#0d1e2c;color:#e9f8fd}.settings-list li{border-color:#294256}.settings-item-main>b{background:#1b3c4b}.settings-actions button,.inline-edit-form button{border-color:#3a6070;background:#193649;color:#c3ecf1}:root{color-scheme:light;color:#493545;background:#fff7f8}body{background:radial-gradient(ellipse 310px 330px at 3% 3%,#fbe6ee 0%,transparent 77%),radial-gradient(ellipse 330px 420px at 100% 27%,#eeeaf9 0%,transparent 78%),radial-gradient(ellipse 300px 350px at 6% 75%,#fff0ec 0%,transparent 76%),#fff9f8;background-attachment:fixed}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#b94878}.brand{color:#503646;letter-spacing:-.025em}.brand-mark{position:relative;border:1px solid #edc2d2;background:linear-gradient(145deg,#fff8fb,#f5dce8);color:#a3436a;box-shadow:0 5px 14px #ad69801e,inset 0 1px #fff}.brand-mark:after{content:"✦";position:absolute;top:-7px;right:-5px;color:#bd7a9c;font-size:10px;line-height:1}.topbar-date{border-color:#eedce6;background:#fffcfde8;color:#765469;font-family:inherit;font-size:12px}.balance-card{padding-top:14px;padding-bottom:12px;border-color:#efcddc;background:linear-gradient(135deg,#fff7fa,#fae9f0 58%,#f2edf9);color:#493545;box-shadow:0 15px 34px #ba849727,inset 0 1px #fff}.balance-card:before{top:-140px;right:-100px;width:310px;height:310px;background:radial-gradient(circle,#fffefa 0%,#f9d6e658 45%,transparent 72%)}.balance-card:after{content:"✦  ·  ✧";top:19px;right:75px;width:auto;height:auto;border:0;border-radius:0;color:#bb7897;font-size:15px;letter-spacing:3px;box-shadow:none}.balance-mascot{position:absolute;z-index:1;top:1px;right:17px;width:55px;height:55px;pointer-events:none}.eyebrow{color:#82566f;font-family:inherit;font-size:13px;letter-spacing:.06em}.remaining-box{border-color:#e8c9d8;background:#fffdfde0;box-shadow:inset 0 1px #fff,0 5px 18px #be879313}.balance{color:#553546;font-family:inherit;font-size:clamp(42px,10.5vw,60px);letter-spacing:-.055em;text-shadow:none}.balance.negative{color:#a63e55}.balance-note{color:#785e6c}.balance-summary{grid-template-columns:1fr 1fr 1fr}.balance-summary>div{padding:10px 8px}.balance-summary .text-button{font-size:11px}.budget-form input[type=month]{max-width:100%;min-height:44px}.balance-summary>div{border-color:#ecd6e2;background:#fffafbd1}.balance-summary span{color:#795a6d}.balance-summary strong{color:#553c4b}.balance-summary .spent-summary{border-color:#e7bfd0;background:linear-gradient(135deg,#f8dfeb,#f9e9ef);box-shadow:inset 0 1px #fff}.spent-summary span,.balance-summary .spent-summary strong{color:#8b365c}.balance-summary .spent-summary strong{font-family:inherit;font-size:clamp(16px,4.6vw,22px);letter-spacing:-.035em}.budget-summary strong{font-family:inherit;font-size:clamp(13px,3.4vw,16px)}.budget-summary>div{flex-direction:column;align-items:flex-start}.budget-summary strong{overflow:visible;white-space:normal;overflow-wrap:anywhere;line-height:1.2}.budget-summary .text-button{text-align:left}.text-button{color:#9b345d}.budget-progress{background:#e9d8e3}.budget-progress span{background:linear-gradient(90deg,#d77fa4,#b79acb)}.budget-form label{color:#694d5e}.inline-form input{border:1px solid #e6cdd9;background:#fff;color:#493545}.small-primary{background:#a83f6a;color:#fff}.small-quiet{color:#6e5061}.record-card,.page-card{border-color:#f0dfe6;background:linear-gradient(155deg,#fffefe,#fffafc);box-shadow:0 10px 30px #b4758e19,inset 0 1px #fff}.record-card:before{width:56px;background:linear-gradient(90deg,#e3a5be,#c9b1dd);box-shadow:none}.section-heading h1,.section-heading h2,.page-heading h1,.stats-section h2,.backup-section h2{color:#4b3544}.section-heading span,.recent-info small{color:#806b79}.amount-label,.field-label{color:#6e5868}.amount-field{border-color:#eed8e4;background:#fff8fb;color:#b25479;box-shadow:inset 0 1px 3px #af72840a}.amount-field:focus-within{border-color:#ce82a3;background:#fff;box-shadow:0 0 0 4px #f4d6e4a6}.amount-field input{color:#533847;font-family:inherit;font-size:38px}.amount-field input::placeholder{color:#bca8b5}.category{border-color:#f0e3e9;background:#fff8fa;color:#624b5b}.category-food,.category-learning{background:#fff6f7}.category-transport,.category-health{background:#f5f5fb}.category-shopping,.category-housing{background:#fff7f2}.category-entertainment,.category-other{background:#f8f4fb}.category-water,.category-ai{background:#f4f7fa}.category-treat,.category-investment{background:#fbf4f9}.category.selected{border-color:#d493b1;background:#f9e4ed;color:#813c5d;box-shadow:inset 0 0 0 1px #e5b2c8}.save-button,.wide-action{background:linear-gradient(110deg,#aa476f,#b65d82);color:#fff;box-shadow:0 8px 18px #b9688e38}.save-arrow{color:#fff4fa}.save-button:active{background:#96385f}.notice.error{color:#a33143}.notice.success{color:#376d59}.empty-state{border-color:#ead8e3;background:#fff9fbe8;color:#806b79}.recent-list li,.history-list li{border-color:#f0e5eb}.recent-icon,.settings-item-main>b{background:#f9e8ef}.recent-amount{color:#594250;font-family:inherit}.expense-note{color:#725f6c!important}footer{color:#806a78;line-height:1.5}.update-banner{border:1px solid #e8c4d5;background:#fff9fc;color:#563c4b;box-shadow:0 10px 28px #8c576733}.update-banner button{background:#a83f6a;color:#fff}.tabbar{border-color:#f0d9e4;background:#fffafcf5;box-shadow:0 9px 26px #a75c7d30}.tabbar button{color:#765a6c}.tabbar button.active{background:#f6dce8;color:#8c365d}.eyebrow-dark{color:#a45277}.month-picker{border-color:#eedce6;background:#fff7fa}.month-picker button{color:#a34870}.history-filters label,.edit-panel label{color:#745d6b}.history-filters select,.history-filters input,.edit-panel select,.edit-panel input,.settings-form input,.settings-form select,.inline-edit-form input{border-color:#e9d6e0;background:#fff;color:#493545}.row-actions button,.settings-actions button,.inline-edit-form button{border-color:#ead6e1;background:#fff8fb;color:#8a4261}.quiet-actions button{color:#765b6c}.quiet-actions button:last-child{color:#a34254}.edit-panel,.settings-form{background:#fdf4f8}.delete-panel{background:#fff0ef;color:#963e4a}.row-actions button.danger,.danger-action{border-color:#a63f54;background:#a63f54;color:#fff}.load-more,.outline-action{border-color:#d6abc0;background:#fff8fb;color:#8a3a60}.backup-section,.stats-section,.restore-confirm,.settings-section{border-color:#f0e4ea}.backup-section p,.restore-preview p,.settings-section>p,.settings-item-main small{color:#725c6a}.file-label,.backup-section input[type=file],.settings-form label{color:#6e5666}.backup-section input[type=file]::file-selector-button{border-color:#e6cfdb;background:#fff8fb;color:#8a3a60}.restore-preview{background:#fdf3f7}.restore-confirm p{color:#a14150}.small-quiet.dark{color:#725c6a}.privacy-note{color:#7c6875}.restore-preview .import-note{background:#fff3df;color:#765322}.stats-total{background:linear-gradient(130deg,#f8dfe9,#eee7f7);color:#503646;box-shadow:0 9px 20px #a769821c}.stats-total span,.stats-total small{color:#76586a}.stats-total strong{color:#91415f;font-family:inherit}.stats-explain,.trend-column strong,.trend-column small,.category-stats small,.insight-section small{color:#806c79}.trend-track{background:#f7edf3}.trend-bar{background:#d6bdcf}.trend-bar.current{background:#cc84a7}.progress-track{background:#f4e6ed}.progress-track div{background:linear-gradient(90deg,#d07fa4,#c2a9d8)}.insight-section p{background:#faf0f5;color:#765168}.settings-list li{border-color:#f0e4ea}
