@charset "UTF-8";
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233b32;background:#f5f6f1;font-synthesis:none;--green:#164d42;--green2:#286c58;--muted:#6a786d;--line:#e3e7de;--light:#edf2e8;--cream:#f5f6f1}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit;background:none;min-height:44px}button:disabled{opacity:.55;cursor:wait}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #488563}button:hover{filter:brightness(.97)}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:650;letter-spacing:-1.25px;line-height:1.2}h2{font-size:18px;letter-spacing:-.4px;font-weight:630;line-height:1.4}h3{font-size:16px}p{line-height:1.6}.icon{flex-shrink:0;vertical-align:middle}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#fbfcf8;border-right:1px solid var(--line);padding:38px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-size:27px;letter-spacing:-.8px;font-weight:700;padding:0 10px}.brand-mark{display:grid;place-items:center;background:var(--green);color:#d8ecc7;width:44px;height:44px;border-radius:14px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:450;letter-spacing:.2px;margin-top:4px}.sidebar nav{display:grid;gap:10px;margin-top:65px}.nav-item{display:flex;align-items:center;gap:14px;text-align:left;padding:12px 16px;border-radius:12px;font-size:14px;color:#788279;min-height:51px}.nav-item.active{background:#e7eee1;color:var(--green);font-weight:650}.sidebar-foot{margin-top:auto;font-size:11px;line-height:1.8;color:var(--muted);padding:12px 4px}.sidebar-foot small{display:block;margin-left:16px;font-size:10px}.privacy-dot,.status-dot{display:inline-block;width:6px;height:6px;background:#8fa08a;border-radius:50%;flex-shrink:0}.privacy-dot{margin-right:6px}.workspace{margin-left:230px;max-width:1600px}.topbar{height:91px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.desktop-greeting{font-size:12px;font-weight:600}.desktop-greeting span{font-weight:400;color:#889286;margin-left:10px}.top-actions{display:flex;align-items:center;gap:16px}.sync-status{display:flex;gap:8px;align-items:center;color:#7a8478;font-size:11px;white-space:nowrap;min-height:44px}.is-online .status-dot{background:#4b8159;box-shadow:0 0 0 4px #e8efdf}.icon-button{width:44px;min-width:44px;height:44px;padding:10px;border-radius:50%;display:inline-grid;place-items:center}.icon-button:hover,.icon-button.selected{background:#e7ecdf}.mobile-brand{display:none}main{padding:35px 44px 130px;max-width:1370px;margin:auto}main:focus{outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:650;color:#7b8879;margin-bottom:10px}.date-chip,.count-chip{font-size:12px;color:#64715f;border:1px solid var(--line);padding:10px 14px;border-radius:100px;white-space:nowrap}.balance-hero{position:relative;display:flex;align-items:center;justify-content:space-between;border-radius:23px;background:var(--green);color:#fff;min-height:232px;padding:30px 35px;overflow:hidden}.balance-hero:after{content:"";position:absolute;right:-80px;top:-140px;width:480px;height:480px;border:1px solid #316452;border-radius:50%;pointer-events:none}.hero-copy{position:relative;z-index:2}.hero-label{color:#c4d5bc;font-size:12px}.hero-copy h2{font-size:43px;font-weight:550;letter-spacing:-1.1px;margin:12px 0 6px;font-variant-numeric:tabular-nums}.hero-copy p{color:#b3c7b0;font-size:11px}.hero-copy button{display:flex;align-items:center;gap:8px;margin-top:12px;padding:0;font-size:12px;color:#e4eddd}.hero-copy button svg{width:16px;height:16px}.hero-art{position:relative;width:190px;height:172px;margin-right:38px;transform:rotate(-9deg);z-index:1}.pocket-back{position:absolute;left:28px;top:23px;width:138px;height:117px;background:#84ad78;border-radius:13px;transform:rotate(13deg)}.pocket-card{position:absolute;left:35px;top:10px;width:112px;height:145px;background:#d7eac1;border-radius:12px;padding:14px 16px;box-shadow:0 10px 35px #0f372c55;transform:rotate(-7deg);color:#164d42}.pocket-card span{font-size:34px;font-weight:500}.pocket-card i{display:block;width:55px;height:4px;background:#b8d0a7;margin-top:10px;border-radius:3px}.pocket-card i+i{width:35px;margin-top:6px}.pocket-front{position:absolute;left:20px;top:75px;width:150px;height:95px;border-radius:10px 10px 36px 36px;background:#b9d5a3;display:grid;place-items:center;box-shadow:0 6px 0 #133e3330}.pocket-front svg{background:#8ab37a;width:33px;height:33px;border-radius:50%;padding:7px;color:#234a35}.hero-star{position:absolute;right:-15px;top:23px;color:#d9ecc6;font-size:29px;transform:rotate(8deg)}.period-row{margin:28px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.periods{display:flex;gap:4px;padding:4px;border-radius:12px;background:#e9ede3;width:max-content;max-width:100%}.periods button{padding:0 18px;min-height:40px;border-radius:9px;font-size:12px;color:#74806d;white-space:nowrap}.periods button.active{background:#fff;color:#294a35;box-shadow:0 2px 5px #223b3210;font-weight:600}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:24px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:21px 24px;min-width:0}.card-label{display:flex;align-items:center;gap:9px;font-size:12px;color:#6e7a6b}.card-label .icon{width:17px;height:17px}.expense-card{background:#edf1e5;border-color:#e4e9dc}.summary-card>strong{display:block;font-size:27px;letter-spacing:-.8px;font-weight:600;margin:14px 0 9px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.summary-card small{color:#829078;font-size:10px}.positive{color:#2f7750}.negative{color:#945341}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.section-heading h2{font-size:15px}.text-button{display:flex;align-items:center;gap:4px;min-height:32px;font-size:11px;color:#6a8062;padding:0}.text-button svg{width:14px;height:14px}.category-bars{display:grid;gap:21px;padding:2px 0 8px}.category-bar{display:flex;align-items:center;gap:12px;min-width:0}.category-icon{height:41px;width:41px;min-width:41px;display:grid;place-items:center;background:#eef1e6;color:#6c8257;border-radius:13px}.category-icon svg{width:20px;height:20px}.bar-detail{flex:1;min-width:0}.bar-detail>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:9px}.bar-detail strong{font-weight:500}.bar-detail>div>span{font-size:11px;white-space:nowrap}meter{display:block;width:100%;height:5px;background:#eef1e9;border:0;border-radius:4px;overflow:hidden}meter::-webkit-meter-bar{background:#edf1e9;border:0;border-radius:4px;height:5px}meter::-webkit-meter-optimum-value{background:#7b9e6c;border-radius:4px}meter::-moz-meter-bar{background:#7b9e6c}.bar-percent{color:#7d8976;font-size:10px;width:30px;text-align:right}.tone-1{background:#f4ecdd;color:#a28c5e}.tone-2{background:#e8efed;color:#77928b}.tone-3{background:#f1e8e3;color:#a88b7e}.tone-4{background:#ebebf1;color:#9391a9}.transaction-list{margin-top:-7px}.transaction{display:flex;align-items:center;width:100%;text-align:left;gap:12px;border-bottom:1px solid #edf0e8;padding:14px 0;min-height:72px}.transaction:last-child{border-bottom:0}.tx-info{flex:1;min-width:0}.tx-info strong{display:block;font-size:12px;font-weight:550}.tx-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#83907d;font-size:10px;margin-top:6px;max-width:100%}.tx-value{flex-shrink:0;text-align:right}.tx-value strong{display:block;font-weight:550;font-size:12px;font-variant-numeric:tabular-nums}.tx-value small{display:block;color:#8b9586;font-size:9px;margin-top:6px}.tx-value small.pending{color:#986420}.tx-chevron{display:none}.income-icon{color:#3e7c57;background:#e4f0de}.quiet-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#87927e;padding:23px 2px}.quiet-note svg{width:16px;height:16px}.add-button{position:fixed;right:38px;bottom:28px;background:var(--green);color:white;display:flex;align-items:center;gap:10px;padding:15px 22px;border-radius:16px;box-shadow:0 5px 25px #164d4238;z-index:10;font-size:12px;min-height:54px}.add-button .icon{width:20px;height:20px}.bottom-nav{display:none}.primary,.secondary,.danger-solid{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:11px;padding:12px 17px;font-weight:550;font-size:13px}.primary{background:var(--green);color:#fff}.secondary{background:#edf1e7;color:#34543e;border:1px solid #e1e7da}.secondary svg{width:18px;height:18px}.empty{text-align:center;padding:33px 12px 28px}.empty-icon{width:55px;height:55px;background:#f1f4ec;border-radius:18px;display:grid;place-items:center;margin:0 auto 15px;color:#9bad8d}.empty h3{font-size:15px;font-weight:550;margin-bottom:8px}.empty p{color:#8b9583;font-size:12px;max-width:280px;margin:auto}.empty .secondary{margin-top:20px}.notice{padding:13px 16px;background:#edf2e7;border-radius:10px;color:#426247;font-size:12px;line-height:1.5;margin-bottom:20px}.notice.warning{background:#fff3de;color:#85602b}.notice.offline{background:#f0eee4;color:#7d7153}.muted,.intro-text{font-size:13px;color:#788570;line-height:1.7}.intro-text{margin-top:-9px;margin-bottom:25px;max-width:680px}.history-tools{margin-bottom:23px}.search-field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 15px;max-width:600px;margin-bottom:14px}.search-field svg{width:19px;color:#7e8b75}.search-field input{border:0;background:transparent;margin:0;padding:15px 0;min-width:0}.search-field input:focus{outline:0}.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.filter-grid label{font-size:10px;color:#7b8772}.filter-grid select{margin-top:5px;min-height:43px;font-size:12px}.history-card{padding-top:12px}.history-card .transaction{padding:16px 4px;min-height:83px}.history-card .tx-info strong{font-size:14px}.history-card .tx-info small{font-size:12px}.history-card .tx-value strong{font-size:15px}.history-card .tx-value small{font-size:10px}.history-card .category-icon{width:45px;height:45px}.history-card .tx-chevron{display:block;color:#a5ae9b;width:15px}.day-label{font-size:12px;color:#72806a;font-weight:550;letter-spacing:.2px;margin:23px 0 8px}.day-label span{font-weight:400;color:#a0aa96;margin-left:7px}.load-more{display:flex;margin:24px auto 0}.range-caption{font-size:12px;color:#809072;margin-bottom:20px}.chart-legend{display:flex;align-items:center;gap:15px;font-size:11px;color:#6d7f63;margin-bottom:18px;flex-wrap:wrap}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:8px;height:8px;border-radius:2px;display:inline-block}.legend-expense{background:#276d59}.legend-income{background:#bed79f}.chart-legend small{margin-left:auto;font-size:9px}.trend-chart{width:100%;height:auto;min-height:150px;display:block;overflow:visible}.chart-caption{font-size:10px;color:#8a957e;margin-top:10px}.comparison{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin-top:23px;padding-top:20px;font-size:12px;color:#7c8972}.comparison small{font-size:10px;display:block;margin-top:6px;font-weight:400}.comparison strong{color:#3d573c;font-size:15px;text-align:right}.report-card{margin-top:22px;display:flex;justify-content:space-between;gap:25px;align-items:center}.report-card p:not(.eyebrow){font-size:12px;color:#8a957f;max-width:440px;margin-top:8px}.report-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}.report-actions .secondary{font-size:11px;padding:10px 12px}.accounts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.account-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;min-width:0}.account-heading{display:flex;align-items:center;gap:11px}.account-heading h2{font-size:15px}.account-logo{width:35px;height:35px;background:#f0f3e9;border-radius:11px;display:grid;place-items:center;color:#638a52;font-weight:700}.account-1 .account-logo{background:#fcece6;color:#c7674f}.account-2 .account-logo{background:#e9f3df;color:#75a23c}.account-3 .account-logo{background:#e7f0ea;color:#368862}.account-4 .account-logo{background:#e6edf6;color:#5b7eab}.account-5 .account-logo{background:#ecedf7;color:#7f82ae}.account-balance{font-size:26px;display:block;margin-top:27px;letter-spacing:-.7px;font-weight:550;overflow-wrap:anywhere}.account-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:4px}.account-bottom small{font-size:10px;color:#8d9883}.account-bottom .icon-button{background:#f3f5ee;width:36px;height:44px;border-radius:10px}.transfer-card{display:flex;align-items:center;gap:17px;margin-top:22px}.transfer-card>div{flex:1}.transfer-card p{font-size:12px;color:#849178;margin-top:5px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid h2{margin-bottom:13px}.settings-grid .section-heading h2{margin-bottom:0}.stack-actions{display:grid;gap:10px;margin:20px 0 15px}.settings-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);font-size:12px;padding:15px 0}.settings-row strong{font-weight:550}.settings-grid .card>p{margin:15px 0}.microcopy{font-size:10px;color:#89957e;line-height:1.7;margin-top:14px}.center{text-align:center}.reminder-times{display:flex;gap:40px;padding:16px 0}.reminder-times strong{font-size:27px;font-weight:500}.reminder-times span{display:block;font-size:11px;color:#8a977e;font-weight:400;margin-top:6px}code{background:#f0f3e9;padding:2px 4px;border-radius:4px;font-size:11px;overflow-wrap:anywhere}.custom-range{display:flex;gap:10px}.custom-range label{display:flex;gap:7px;align-items:center;font-size:11px}.custom-range input{width:auto;min-height:40px;margin:0;padding:8px;font-size:12px}.spin{display:inline-block;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;left:calc(50% + 115px);bottom:30px;transform:translate(-50%,20px);max-width:min(620px,90vw);background:#263f32;color:#fff;padding:15px 20px;border-radius:13px;font-size:13px;z-index:200;box-shadow:0 8px 25px #142c3225;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;display:flex;align-items:center;gap:14px;line-height:1.5}#toast.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}#toast button{color:#d1edaa;font-weight:600;padding:0 8px;white-space:nowrap}dialog{color:var(--green);border:0;padding:25px 30px 28px;border-radius:22px;width:min(590px,calc(100% - 32px));max-height:90dvh;box-shadow:0 30px 150px #0c25164d;overscroll-behavior:contain;background:#fafbf7}dialog::backdrop{background:#152d2a66;backdrop-filter:blur(3px)}.sheet-handle{display:none}.sheet-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.sheet-header h2{font-size:22px;letter-spacing:-.6px}.sheet-header .icon-button{color:#8a967f;margin-right:-10px}.type-switch{display:flex;padding:4px;background:#e9eee2;border-radius:12px;margin-bottom:25px}.type-switch button{flex:1;border-radius:9px;font-size:13px;min-height:43px;color:#7b8c6b}.type-switch button.active{background:#fff;color:var(--green);box-shadow:0 2px 7px #1f442b0f;font-weight:600}label{display:block;font-size:12px;color:#5d7454;font-weight:500}input,select{display:block;width:100%;border:1px solid #dce3d3;background:#fff;padding:12px 14px;border-radius:10px;min-height:48px;margin:8px 0 17px;color:#2a4431;font-size:14px;line-height:1.3}input::placeholder{color:#a1ac96}input[type=date]{min-width:0;-webkit-appearance:none}input[type=date]::-webkit-date-and-time-value{text-align:left}select{padding-right:22px}.amount-label{color:#819073;font-size:11px}.amount-field{display:flex;align-items:baseline;gap:10px;border-bottom:1px solid var(--line);margin-bottom:23px}.amount-field input{font-size:46px;letter-spacing:-1px;border:0;background:transparent;margin:0;padding:7px 0 14px;width:100%;min-width:0;font-variant-numeric:tabular-nums}.amount-field input:focus{outline:0}.amount-field:focus-within{border-bottom-color:#3b6f4c}.amount-field span{font-size:27px;color:#a0ad8e;padding-right:7px}.category-picker{border:0;padding:0;margin:0 0 22px;min-width:0}.category-picker legend{font-size:12px;color:#637c54;margin-bottom:12px}.category-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.category-option{border:1px solid #e5eadf;background:#fff;min-height:76px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:8px 2px;color:#849576;line-height:1.2}.category-option .icon{width:22px;height:22px}.category-option span{font-size:9px;overflow-wrap:anywhere}.category-option.selected{border:1px solid #51774a;background:#e7efdc;color:#315d31}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-row label{min-width:0}.optional{float:right;font-size:10px;color:#9ea88f;font-weight:400}.submit-button{width:100%;margin-top:6px}.submit-button .icon{width:19px}.form-error{font-size:12px;color:#a04d3b;line-height:1.5;margin-bottom:12px}.danger-button{display:block;text-align:center;color:#a76651;font-size:12px;margin:15px auto 0}.danger-solid{background:#a25340;color:#fff}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.compact-sheet{width:min(480px,calc(100% - 32px))}.compact-sheet .primary{width:100%;margin-top:16px}.confirm-body>.muted{margin-top:14px}.opening-label{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:7px 0}.opening-input{display:flex;align-items:center;gap:6px;width:65%}.opening-input input{text-align:right;margin:0;max-width:100%}.opening-input span{color:#8d9e7d}.opening-label:last-of-type{margin-bottom:20px}.file-label{display:flex;align-items:center;justify-content:center;gap:10px;position:relative;min-height:86px;border:1px dashed #9cb38b;background:#f0f5e8;border-radius:12px;margin:20px 0;overflow:hidden;cursor:pointer}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;min-height:86px;margin:0}.file-label:focus-within{outline:3px solid #488563;outline-offset:4px}.import-counts{display:flex;justify-content:space-between;text-align:center;margin:24px 0}.import-counts strong{font-size:29px;font-weight:500;display:block}.import-counts span{font-size:10px;color:#869679}.checkbox-label{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;min-height:48px}.checkbox-label input{width:20px;min-height:20px;height:20px;margin:0;accent-color:#164d42}.report-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 0;border-bottom:1px solid var(--line);font-size:14px}.report-total strong{font-size:24px;font-weight:500}.report-modal .muted{margin-top:20px}.report-modal .secondary{width:100%;margin-top:22px}.boot{display:grid;place-content:center;min-height:100dvh;text-align:center;font-size:40px;color:var(--green);font-weight:700;letter-spacing:-2px}.boot span{font-size:12px;letter-spacing:0;font-weight:400;margin-top:15px;color:#7d8c72}.connection-page{max-width:520px;margin:40px auto;padding:30px 22px}.connection-page .brand-mark{width:65px;height:65px;border-radius:20px;margin-bottom:25px}.connection-page h1{font-size:40px}.connection-page>p{font-size:14px;color:#7f8e72;margin:20px 0 30px}.connection-page .card p{font-size:12px;color:#7f8e72;margin:15px 0 20px}.connection-page label{margin-top:30px}.connection-page .secondary,.connection-page .primary{width:100%}
@media(min-width:1500px){.workspace{margin-right:auto}.topbar{padding:0 64px}main{padding-left:64px;padding-right:64px}.dashboard-grid{grid-template-columns:1fr 1.1fr}.balance-hero{min-height:260px}.hero-art{margin-right:65px}}
@media(max-width:1150px){.sidebar{width:190px;padding:35px 15px}.brand{font-size:24px;padding:0 5px;gap:9px}.brand-mark{width:38px;height:38px;border-radius:12px}.sidebar-foot{font-size:10px}.workspace{margin-left:190px}.topbar{padding:0 28px;height:80px}main{padding:30px 28px 120px}.summary-card{padding:20px}.summary-card>strong{font-size:23px}.dashboard-grid{gap:17px;grid-template-columns:1fr 1fr}.card{padding:21px}.section-heading{gap:7px}.section-heading h2{font-size:14px}.transaction{gap:9px}.tx-value strong{font-size:11px}.category-icon{width:36px;min-width:36px;height:36px}.tx-info strong{font-size:11px}.tx-info small{font-size:9px}.bar-detail>div{font-size:10px}.bar-detail>div>span{font-size:10px}.bar-percent{display:none}.hero-art{margin-right:0}.accounts-grid{grid-template-columns:1fr 1fr}.report-card{display:block}.report-actions{margin-top:20px}#toast{left:calc(50% + 95px)}}
@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}.dashboard-grid .transaction{padding:15px 0}.tx-info strong{font-size:13px}.tx-info small{font-size:11px}.tx-value strong{font-size:13px}.category-icon{width:42px;min-width:42px;height:42px}.category-bars{gap:20px}.bar-detail>div{font-size:12px}.bar-detail>div>span{font-size:12px}.bar-percent{display:block}.settings-grid{grid-template-columns:1fr}.periods button{padding:0 12px}.hero-art{transform:scale(.8) rotate(-9deg);width:160px;margin-right:-15px}.balance-hero{padding:28px}.hero-copy h2{font-size:35px}.summary-grid{gap:10px}.summary-card{padding:17px 14px}.summary-card>strong{font-size:20px}.summary-card small{font-size:9px}.page-heading h1{font-size:30px}.account-card{padding:20px}.account-balance{font-size:24px}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:73px;padding:env(safe-area-inset-top,0) 21px 0;min-height:calc(73px + env(safe-area-inset-top,0px));background:#f5f6f1;border:0}.mobile-brand{display:flex;gap:8px;align-items:center;font-size:22px;letter-spacing:-.8px;font-weight:700}.mobile-brand>.icon{background:var(--green);color:#dfedcc;width:32px;height:32px;padding:7px;border-radius:10px}.desktop-greeting{display:none}.top-actions{gap:7px}.sync-status{font-size:9px;gap:6px}.sync-status .status-dot{width:5px;height:5px}.top-actions .icon-button{width:44px;min-width:44px}.top-actions .icon-button>.icon{width:21px}main{padding:21px 20px 180px}.page-heading{margin-bottom:23px;gap:10px}.page-heading h1{font-size:29px;letter-spacing:-1.1px}.eyebrow{font-size:8px;letter-spacing:1.9px;margin-bottom:8px}.date-chip,.count-chip{font-size:10px;padding:8px 11px}.balance-hero{min-height:220px;border-radius:20px;padding:25px 24px}.hero-label{font-size:11px}.hero-copy h2{font-size:35px;margin:14px 0 8px}.hero-copy p{font-size:9px;max-width:210px;line-height:1.7}.hero-copy button{font-size:11px;margin-top:7px}.hero-art{position:absolute;right:-7px;top:45px;transform:scale(.65) rotate(-9deg);transform-origin:right center;width:190px;opacity:.95}.balance-hero:after{width:360px;height:360px;right:-180px;top:-80px}.hero-copy{max-width:82%}.hero-copy h2{white-space:normal;overflow-wrap:anywhere}.period-row{margin:23px 0 17px;gap:12px}.periods{gap:2px;border-radius:11px;width:100%;justify-content:space-between;padding:4px}.periods button{padding:0 10px;min-height:39px;font-size:11px;flex:1}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:21px}.summary-card{border-radius:15px;padding:18px 17px}.summary-card>strong{font-size:24px;margin:14px 0 8px;letter-spacing:-.6px}.summary-card small{font-size:9px;line-height:1.5;display:block}.summary-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;padding:15px 18px}.summary-card:last-child .card-label{grid-row:1}.summary-card:last-child>strong{grid-column:2;grid-row:1/3;font-size:22px;margin:0;text-align:right}.summary-card:last-child small{grid-row:2;margin-left:26px}.card-label{font-size:11px}.card-label .icon{width:16px;height:16px}.card{padding:21px;border-radius:17px}.dashboard-grid{gap:20px}.section-heading{margin-bottom:22px}.section-heading h2{font-size:14px}.text-button{font-size:10px}.category-bars{gap:20px}.category-bar{gap:11px}.category-icon{width:39px;height:39px;min-width:39px;border-radius:12px}.bar-detail>div{font-size:11px;gap:8px;margin-bottom:8px}.bar-detail>div>span{font-size:11px}.bar-percent{font-size:9px;width:26px}.transaction{gap:11px}.tx-info strong{font-size:12px}.tx-info small{font-size:10px}.tx-value strong{font-size:12px}.tx-value small{font-size:9px}.quiet-note{font-size:10px;line-height:1.7;padding:21px 5px}.quiet-note .icon{flex-shrink:0}.add-button{right:20px;bottom:calc(90px + env(safe-area-inset-bottom,0px));min-height:52px;padding:14px 18px;border-radius:15px;font-size:11px;gap:8px}.add-button .icon{width:20px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fcfdf9ef;backdrop-filter:blur(12px);border-top:1px solid #e4e9dc;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(4,1fr);z-index:20;height:calc(75px + env(safe-area-inset-bottom,0px))}.bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#91a083;font-size:9px;min-height:54px;border-radius:12px}.bottom-nav button>.icon{width:21px;height:21px}.bottom-nav button.active{color:var(--green);background:#ecf1e5;font-weight:600}.history-card .tx-chevron{display:none}.history-card .transaction{gap:11px;padding:16px 0}.history-card .tx-info strong{font-size:13px}.history-card .tx-info small{font-size:10px}.history-card .tx-value strong{font-size:13px}.history-card .category-icon{width:39px;height:39px}.filter-grid{gap:8px;grid-template-columns:1fr 1fr}.filter-grid label:last-child{grid-column:1/-1}.filter-grid input,.filter-grid select{font-size:12px;margin-bottom:0}.history-tools{margin-bottom:18px}.search-field{margin-bottom:12px;padding:0 12px}.search-field input{font-size:12px;min-height:49px}.range-caption{font-size:11px}.comparison{font-size:11px}.trend-chart{min-height:130px}.report-card p:not(.eyebrow){font-size:11px}.report-card h2{font-size:17px}.report-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.report-actions .secondary{font-size:10px;padding:10px 6px}.accounts-grid{gap:13px}.account-card{padding:17px 16px;border-radius:16px}.account-heading{gap:8px}.account-heading h2{font-size:13px}.account-logo{width:30px;height:30px;border-radius:9px;font-size:13px}.account-logo>.icon{width:19px}.account-balance{font-size:22px;margin-top:23px}.account-bottom{margin-top:11px}.account-bottom small{font-size:9px;line-height:1.5}.account-bottom .icon-button{width:32px;min-width:32px;height:44px;padding:8px}.account-bottom .icon-button>.icon{width:18px}.page-heading>.secondary{font-size:10px;padding:9px 10px;max-width:125px;line-height:1.4}.intro-text{font-size:11px;margin-bottom:22px}.transfer-card{gap:12px;flex-wrap:wrap}.transfer-card h2{font-size:15px}.transfer-card p{font-size:10px}.transfer-card>.secondary{width:100%}.settings-grid{gap:18px}.settings-grid h2{font-size:17px}.settings-grid .muted{font-size:12px}.stack-actions .secondary{font-size:12px}.settings-row{font-size:11px}.notice{font-size:11px;padding:12px 14px}.custom-range{width:100%}.custom-range label{flex:1;font-size:10px;min-width:0}.custom-range input{width:100%;font-size:11px;min-width:0}.custom-range label>input{min-width:0}#toast{left:50%;bottom:calc(155px + env(safe-area-inset-bottom,0px));width:max-content;max-width:calc(100vw - 32px);font-size:12px;padding:12px 16px;border-radius:12px}dialog{position:fixed;margin:0;inset:auto 0 0;width:100%;max-width:none;border-radius:24px 24px 0 0;padding:10px 23px calc(24px + env(safe-area-inset-bottom,0px));max-height:92dvh;max-height:calc(100dvh - 20px)}.sheet-handle{display:block;width:36px;height:4px;border-radius:3px;background:#d4ddc9;margin:1px auto 13px}.sheet-header{margin-bottom:17px}.sheet-header h2{font-size:20px}.sheet-header .icon-button{width:44px;height:44px}.type-switch{margin-bottom:20px}.type-switch button{font-size:12px;min-height:40px}.amount-field input{font-size:43px;padding-bottom:13px}.amount-field{margin-bottom:21px}.category-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.category-option{min-height:68px;border-radius:10px;padding:8px 1px;gap:7px}.category-option span{font-size:8px}.category-option .icon{width:20px;height:20px}.category-picker{margin-bottom:20px}.form-row{gap:12px}input,select{font-size:16px;padding:12px;min-height:49px}label{font-size:11px}.optional{font-size:9px}.primary{min-height:50px;font-size:13px}.compact-sheet{width:100%;max-width:none}.microcopy{font-size:10px}.connection-page{padding-top:30px;margin:0 auto}.connection-page h1{font-size:36px}.connection-page .card{margin-top:20px}.modal-open{overflow:hidden}}
@media(max-width:370px){main{padding-left:15px;padding-right:15px}.topbar{padding-left:15px;padding-right:15px}.mobile-brand{font-size:20px}.sync-status{font-size:8px}.page-heading h1{font-size:26px}.date-chip{font-size:9px}.balance-hero{padding:23px 20px}.hero-copy h2{font-size:31px}.hero-art{right:-16px;transform:scale(.57) rotate(-9deg)}.summary-card{padding:17px 13px}.summary-card>strong{font-size:21px}.periods button{font-size:10px;padding:0 7px}.card{padding:19px 17px}.tx-value strong{font-size:11px}.tx-info strong{font-size:11px}.bar-detail>div>span{font-size:10px}.account-card{padding:15px 12px}.account-balance{font-size:20px}.account-heading h2{font-size:12px}dialog{padding-left:17px;padding-right:17px}.category-option span{font-size:7px}.category-options{gap:5px}.add-button{right:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Comfortable touch areas, including compact controls. */
.text-button,.periods button,.type-switch button{min-height:44px}.account-bottom .icon-button{width:44px;min-width:44px}.demo-notice{border:1px dashed #9bb085;background:#f0f4e7;font-size:11px}
@media(max-width:700px){.summary-card>strong{font-size:clamp(18px,5.3vw,23px)}.summary-card:last-child>strong{font-size:21px}.account-bottom .icon-button{width:44px;min-width:44px}.periods button{padding-left:6px;padding-right:6px;min-height:44px}}
/* Secondary text remains readable on the warm surfaces. */
.muted,.intro-text,.microcopy,.range-caption,.chart-caption,.tx-info small,.tx-value small,.quiet-note,.summary-card small,.account-bottom small,.bar-percent,.chart-legend,.settings-grid .microcopy{color:#66755f}.periods button{color:#627058}.category-option{color:#617653}.bottom-nav button{color:#6b7c60}
@media(max-width:700px){.category-options{grid-template-columns:repeat(4,minmax(0,1fr))}.category-option span{font-size:10px}.category-option{min-height:71px}.bottom-nav button{font-size:11px}.tx-info small,.tx-value small,.summary-card small,.quiet-note,.microcopy{font-size:11px}.bar-percent{font-size:10px}.summary-card small{line-height:1.5}.hero-copy p{font-size:10px}.hero-label{font-size:12px}.card-label{font-size:12px}.history-card .tx-info small{font-size:11px}.history-card .tx-value small{font-size:11px}}

.analysis-filters{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 20px;max-width:650px}.analytics-trend{margin:0 0 24px}.analysis-filters label{min-width:0}

.analysis-filters label:last-child{grid-column:auto}@media(max-width:640px){.analysis-filters{grid-template-columns:1fr}}
.text-button{min-width:44px}
