:root{font-family:Segoe UI,sans-serif;color:#23332c;background:#f5f7f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;font-weight:400;--green: #237b58;--dark-green: #204d3c;--muted: #8d9992;--line: #edf0ed;--chart-empty: #e9eeea}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline:3px solid #8cc8aa;outline-offset:3px}.app-shell{min-height:100vh;color:#23332c;background:#f5f7f4;color-scheme:light}.sidebar{position:fixed;inset:0 auto 0 0;z-index:3;display:flex;flex-direction:column;width:238px;padding:34px 20px 20px;background:#fff;border-right:1px solid #edf0ed}.brand,.mobile-brand{display:flex;align-items:center;gap:10px;color:#263b31;text-decoration:none;font:800 24px Segoe UI,sans-serif;letter-spacing:-1.2px}.brand{padding:0 14px;margin-bottom:56px}.brand-mark{width:26px;height:26px;display:flex;align-items:end;gap:3px;padding:5px 4px;background:#e6f4ec;border-radius:9px}.brand-mark span{display:block;width:4px;background:#368b65;border-radius:4px}.brand-mark span:nth-child(1){height:7px;opacity:.7}.brand-mark span:nth-child(2){height:12px}.brand-mark span:nth-child(3){height:9px;opacity:.85}.side-label,.section-kicker,.eyebrow{color:#96a19b;font-size:11px;font-weight:700;letter-spacing:1.15px}.side-label{padding:0 14px;margin-bottom:14px}.side-nav{display:grid;gap:6px}.side-nav button{display:flex;gap:13px;align-items:center;height:46px;padding:0 14px;border:0;border-radius:11px;background:transparent;color:#808e86;text-align:left;font-size:13px;cursor:pointer}.side-nav button.active{background:#eaf5ee;color:#267c58;font-weight:700}.nav-icon{display:inline-flex;width:20px;justify-content:center;font-size:20px;line-height:1}.sidebar-note{margin:auto 8px 26px;padding:18px 16px;border-radius:14px;background:#f4f8f4}.note-spark{color:#62a37f;font-size:18px}.sidebar-note strong{display:block;margin-top:9px;font-size:13px}.sidebar-note p{margin:5px 0 0;color:#87948b;font-size:12px;line-height:1.55}.profile{display:flex;width:100%;align-items:center;gap:10px;margin-top:auto;padding:15px 7px 0;border:0;border-top:1px solid #eff1ef;background:transparent;text-align:left;cursor:pointer}.avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;color:#337451;background:#e5f1e8;font-weight:700}.profile-copy{display:grid;gap:3px}.profile strong{font-size:13px}.profile-copy small{color:#9aa49f;font-size:11px}.profile .profile-dots{margin-left:auto;margin-top:0;color:#7e8d84;font-size:20px}.main-content{max-width:1440px;margin-left:238px;padding:33px 52px 60px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.mobile-brand{display:none}.topbar-actions{display:flex;align-items:center;gap:10px}.mobile-profile-button{display:none;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.topbar-title .eyebrow{display:block;margin-bottom:4px;text-transform:capitalize}h1,h2,p{margin:0}h1,h2{font-family:Segoe UI,sans-serif}h1{color:#24372d;font-size:24px;font-weight:700;letter-spacing:-.5px}.month-picker{display:flex;min-width:0;height:39px;align-items:center;gap:9px;padding:0 12px;border:1px solid #e8ede8;border-radius:9px;background:#fff;color:#55645b;font-size:12px;white-space:nowrap}.month-picker>span:last-child{overflow:hidden;text-overflow:ellipsis}.calendar-icon{color:#528b68;font-size:16px}.chevron{margin-left:3px;color:#8a968e}.period-filter{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:1120px;margin:-8px 0 20px}.period-options{display:inline-flex;gap:3px;padding:4px;border:1px solid #e9eeea;border-radius:10px;background:#fff}.period-options button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:31px;padding:0 13px;border:0;border-radius:7px;background:transparent;color:#77847c;font-size:11px;cursor:pointer;white-space:nowrap}.period-options button span{min-width:0;overflow:hidden;text-overflow:ellipsis}.period-dropdown-icon{width:10px;height:10px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.period-options button.selected{background:#eaf5ee;color:#267c58;font-weight:700}.period-hint{color:#8b978f;font-size:11px}.custom-range{display:flex;align-items:center;gap:9px}.date-input{position:relative;display:flex;align-items:center;gap:7px;color:#8b978f;font-size:11px}.date-field{display:flex;width:150px;height:34px;align-items:center;gap:5px;padding:0 7px;border:1px solid #e9eeea;border-radius:8px;background:#fff}.date-field input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;color:#536258;background:transparent;font-size:11px}.date-field input::placeholder{color:#a4aea7}.calendar-trigger{flex:0 0 auto;padding:0;border:0;background:transparent;color:#679375;font-size:15px;cursor:pointer}.calendar-popover{position:fixed;z-index:25;top:16px;left:16px;width:min(250px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:12px;border:1px solid #e8ede8;border-radius:12px;background:#fff;box-shadow:0 12px 32px #1c33241c;color:#35453b}.calendar-popover.centered-calendar{position:fixed;top:50%;right:auto;left:50%;z-index:25;width:min(250px,calc(100vw - 32px));transform:translate(-50%,-50%)}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px}.calendar-period-selectors{display:flex;min-width:0;flex:1;justify-content:center;gap:4px}.calendar-period-selectors select{height:28px;min-width:0;padding:0 5px;border:1px solid #e8ede8;border-radius:6px;color:#35453b;background:#fff;font-size:10px;text-transform:capitalize}.calendar-period-selectors select:first-child{width:100px;max-width:100px}.calendar-period-selectors select:last-child{width:58px}.calendar-heading button{width:26px;height:26px;border:0;border-radius:7px;background:#f1f5f1;color:#547a61;font-size:18px;cursor:pointer}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-weekday,.calendar-grid button{display:grid;height:28px;place-items:center}.calendar-weekday{color:#929e96;font-size:10px;font-weight:600}.calendar-grid button{border:0;border-radius:7px;background:transparent;color:#536258;font-size:11px;cursor:pointer}.calendar-grid button:disabled{color:#d3dad4;cursor:not-allowed}.calendar-grid button:not(:disabled):hover{background:#edf5ef}.calendar-grid button.selected-day{background:#287c57;color:#fff}.calendar-grid button.today{outline:1px solid #6d9d79;outline-offset:-2px;font-weight:700}.calendar-grid button.today:not(.selected-day):not(:disabled){background:#edf6ef;color:#287c57}.date-error{position:absolute;top:calc(100% + 2px);right:0;color:#cf6959;font-size:10px;white-space:nowrap}.range-separator{color:#a3ada6;font-size:11px}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.85fr);gap:22px;align-items:start;max-width:1120px}.content-grid.single-column{grid-template-columns:minmax(0,1fr)}.primary-column,.secondary-column{min-width:0}.balance-card{overflow:hidden;position:relative;min-height:166px;padding:19px 24px 15px;border-radius:16px;color:#fff;background:linear-gradient(118deg,#245b43,#347d5b);box-shadow:0 8px 18px #2b704b19}.balance-card:after{position:absolute;top:-116px;right:-52px;width:250px;height:250px;border:1px solid #ffffff12;border-radius:50%;content:"";box-shadow:0 0 0 28px #ffffff08,0 0 0 57px #ffffff06}.balance-heading{display:flex;align-items:center;justify-content:space-between;color:#d3e6d9;font-size:12px}.balance-amount{margin-top:8px;font:700 30px Segoe UI,sans-serif;letter-spacing:-.8px}.balance-amount span{padding-left:5px;font-size:20px;font-weight:500}.balance-divider{height:1px;margin:11px 0 10px;background:#ffffff2a}.balance-stats{display:flex;align-items:center;gap:28px}.balance-stats>div:not(.balance-decoration){display:flex;align-items:center;gap:9px}.stat-icon{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;font-size:15px}.income-icon{color:#d5f1d8;background:#ffffff20}.expense-icon{color:#ffe0ca;background:#ffffff20}.stat-copy small,.stat-copy strong{display:block}.stat-copy small{color:#c1dac9;font-size:10px}.stat-copy strong{margin-top:2px;font-size:12px;font-weight:600}.balance-decoration{margin-left:auto;color:#d8ebdc30;font-size:43px;line-height:1}.card{border:1px solid #edf0ed;border-radius:14px;background:#fff;box-shadow:0 3px 12px #253c2b05}.quick-entry{margin-top:20px;padding:20px 22px 18px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{margin-top:4px;color:#293a31;font-size:16px;font-weight:700;letter-spacing:-.25px}.section-kicker{font-size:10px}.quick-mark{color:#6ca27e;font-size:18px}.type-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:15px 0 14px;border-radius:9px;background:#f3f6f3}.type-switch button{height:33px;border:0;border-radius:7px;background:transparent;color:#87938c;font-size:12px;cursor:pointer}.type-switch button.selected{background:#fff;color:#277b57;box-shadow:0 2px 6px #23382b13;font-weight:700}.amount-field{display:block}.amount-field>span,.field-label{display:block;color:#75827a;font-size:11px;font-weight:600}.amount-field>div{display:flex;align-items:center;gap:8px;margin-top:4px;padding-bottom:7px;border-bottom:1px solid #e9eeea}.amount-field input{width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:#2d4035;font:700 29px Segoe UI,sans-serif;letter-spacing:-.6px}.amount-field input::placeholder{color:#d2dad4}.amount-field>div>span{color:#8c9990;font-size:15px}.category-field{margin-top:15px}.category-list{display:flex;gap:7px;margin-top:8px;overflow-x:auto;scrollbar-width:none}.category-list::-webkit-scrollbar{display:none}.category-option{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;height:30px;padding:0 9px;border:1px solid #edf0ed;border-radius:8px;background:#fff;color:#728078;font-size:10px;cursor:pointer;white-space:nowrap}.category-option>span{font-size:12px}.category-option.chosen{border-color:#9bc9ac;color:#267c58;background:#eef7f0;font-weight:700}.entry-actions{display:flex;gap:9px;margin-top:16px}.note-field{display:flex;min-width:0;height:38px;flex:1;align-items:center;gap:8px;padding:0 10px;border:1px solid #edf0ed;border-radius:8px}.note-icon{color:#a1ada5;font-size:16px}.note-field input{width:100%;min-width:0;padding:0;border:0;outline:0;color:#47574d;background:transparent;font-size:11px}.note-field input::placeholder{color:#a4aea7}.add-button{display:inline-flex;height:38px;align-items:center;justify-content:center;gap:6px;padding:0 15px;border:0;border-radius:8px;background:#287c57;color:#fff;font-size:11px;font-weight:700;cursor:pointer;transition:background .15s,transform .15s}.add-button:hover{background:#206b4a}.add-button:active{transform:scale(.98)}.add-button>span:first-child{font-size:18px;font-weight:400;line-height:1}.transactions-section{margin-top:25px}.transaction-heading{margin-bottom:12px}.transaction-heading-actions{display:flex;align-items:center;gap:12px}.transaction-select-all{display:inline-flex;align-items:center;gap:6px;color:#75847a;font-size:11px;white-space:nowrap}.transaction-select-all input,.transaction-select-checkbox{width:16px;height:16px;margin:0;accent-color:#287c57;cursor:pointer}.transaction-select-checkbox{flex:0 0 16px}.transaction-select-checkbox:disabled{cursor:default}.transaction-bulk-delete-button{min-height:32px;padding:0 10px;border:1px solid #efd6d2;border-radius:7px;background:#fff8f6;color:#b65b4b;font-size:10px;font-weight:600;cursor:pointer}.transaction-bulk-delete-button:disabled{opacity:.6;cursor:not-allowed}.text-button,.report-link{padding:4px 0;border:0;background:transparent;color:#428365;font-size:11px;font-weight:600;cursor:pointer}.text-button span,.report-link span{padding-left:4px;font-size:14px}.transaction-list{padding:0 16px}.transaction-group-heading{margin:0;padding:13px 0 7px;color:#718077;font-size:12px;font-weight:700}.transaction-year-heading{margin:0;padding:15px 0 3px;color:#287c57;font-size:13px;font-weight:700}.transaction-group+.transaction-group .transaction-group-heading{border-top:1px solid #f0f2f0}.transaction-row{display:flex;min-height:68px;align-items:center;gap:11px;border-bottom:1px solid #f0f2f0}.transaction-row.selected{background:#f8faf8}.transaction-row.last-row{border-bottom:0}.transaction-icon{display:grid;width:37px;height:37px;flex:0 0 37px;place-items:center;border-radius:11px;background:color-mix(in srgb,var(--category-color) 13%,white);font-size:16px}.transaction-info{min-width:0;flex:1}.transaction-info strong{display:block;overflow:hidden;color:#35453b;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.transaction-info span{display:flex;align-items:center;gap:6px;margin-top:5px;color:#98a29c;font-size:10px}.transaction-info i{font-style:normal}.transaction-amount{color:#d17c52;font-size:12px;white-space:nowrap}.transaction-amount.income{color:#378562}.transaction-amount.transfer{color:#718077}.transaction-amount small{font-size:10px;font-weight:500}.transaction-actions{display:flex;flex:0 0 auto;gap:5px}.transaction-actions button{min-height:30px;padding:0 8px;border:1px solid #e8ede8;border-radius:7px;background:#fff;color:#64746a;font-size:10px;cursor:pointer}.transaction-actions button:hover{background:#f3f7f3}.transaction-actions button.delete{color:#b65b4b}.transaction-modal{max-height:min(90vh,700px);overflow:auto}.transaction-edit-form{display:grid;gap:14px;padding:18px 0}.transaction-edit-form label{display:grid;min-width:0;gap:6px;color:#526258;font-size:11px;font-weight:600}.transaction-edit-form input,.transaction-edit-form select{width:100%;min-width:0;height:40px;padding:0 10px;border:1px solid #e3eae4;border-radius:8px;color:#35453b;background:#fff;font-size:12px}.transaction-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.transaction-edit-fields .date-input{min-width:0;flex-direction:column;align-items:stretch;gap:6px;color:#526258;font-size:11px;font-weight:600}.transaction-edit-fields .date-field{width:100%;height:40px}.transaction-edit-fields .date-field input{border:0;font-size:12px;font-weight:400}.modal-actions button:disabled,.settings-close:disabled{opacity:.6;cursor:wait}.empty-state{display:grid;min-height:170px;place-content:center;justify-items:center;text-align:center}.empty-state>span{margin-bottom:8px;font-size:23px}.empty-state strong{font-size:13px}.empty-state p{margin-top:5px;color:#94a097;font-size:11px}.secondary-column{display:grid;gap:14px}.report-card{padding:20px 20px 16px}.report-heading{align-items:flex-start}.report-heading h2{font-size:15px}.round-arrow{display:grid;width:29px;height:29px;place-items:center;border:1px solid #edf1ed;border-radius:50%;color:#6c9279;background:#fff;font-size:14px;cursor:pointer}.pie-chart{display:grid;width:154px;height:154px;place-items:center;margin:19px auto 17px;border-radius:50%}.pie-hole{display:flex;width:95px;height:95px;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#fff}.pie-hole small{color:#98a29b;font-size:10px}.pie-hole strong{max-width:100%;overflow:visible;margin-top:3px;color:#33463a;font:700 16px Segoe UI,sans-serif;text-overflow:clip;white-space:nowrap}.pie-hole span{color:#9ba69e;font-size:10px}.legend-list{display:grid;gap:12px}.legend-row{display:flex;align-items:center;gap:8px;min-width:0}.legend-dot{width:8px;height:8px;flex:0 0 8px;border-radius:3px}.legend-name{overflow:hidden;flex:1;color:#6b7970;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.legend-row>strong{color:#47584c;font-size:11px}.legend-row>small{color:#9aa49d;font-size:10px}.report-card .legend-row>small{display:none}.report-link{display:flex;width:100%;align-items:center;justify-content:center;margin-top:19px;padding-top:13px;border-top:1px solid #eff1ef}.tip-card{display:flex;gap:11px;padding:15px 16px;border:1px solid #e7f0e8;border-radius:12px;background:#eff7f0}.tip-icon{color:#75a683;font-size:20px}.tip-card strong{color:#477354;font-size:11px}.tip-card p{margin-top:4px;color:#829589;font-size:10px;line-height:1.5}.chart-empty{color:#96a199;font-size:11px;line-height:1.5;text-align:center}.report-page{padding:22px}.report-period{padding:6px 9px;border-radius:7px;background:#f3f7f3;color:#75837a;font-size:10px;text-transform:capitalize}.report-chart-area{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:16px;margin:14px 0 22px}.report-chart-area .pie-chart{width:180px;height:180px;margin:0 auto}.report-chart-area .pie-hole{width:112px;height:112px}.report-chart-area .pie-hole strong{font-size:18px}.report-chart-area .legend-list{gap:17px}.report-chart-area .legend-row>small{margin-left:auto}.report-footnote{padding-top:14px;border-top:1px solid #eef1ee;color:#819087;font-size:11px}.report-footnote span{margin-right:7px;color:#72a27e}.category-manager{padding:22px}.category-description{margin-top:7px;color:#89968e;font-size:12px}.category-type-switch{max-width:320px;margin:18px 0 16px}.category-create-row{display:flex;align-items:end;gap:10px}.category-name-input,.category-icon-input{display:grid;gap:6px;color:#75827a;font-size:11px;font-weight:600}.category-name-input{flex:1}.category-icon-input{width:100px}.category-name-input input,.category-icon-input input{width:100%;height:38px;padding:0 10px;border:1px solid #e9eeea;border-radius:8px;color:#35453b;background:#fff;font-size:12px}.category-name-input input::placeholder,.category-icon-input input::placeholder{color:#a4aea7}.category-color-picker{display:flex;align-items:center;gap:9px;margin:14px 0 5px;color:#75827a;font-size:11px}.category-color-picker button{width:20px;height:20px;border:0;border-radius:50%;background:var(--swatch);cursor:pointer}.category-color-picker button.chosen{outline:2px solid var(--swatch);outline-offset:2px}.category-error{margin:9px 0;color:#c7584a;font-size:11px}.managed-categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:9px;margin-top:18px;padding-top:17px;border-top:1px solid #edf0ed}.managed-category{display:grid;min-width:0;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:7px 9px;padding:10px;border:1px solid #edf0ed;border-radius:10px}.managed-category-icon{display:grid;width:34px;height:34px;flex:0 0 34px;grid-column:1;grid-row:1 / span 2;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--category-color) 14%,white)}.managed-category strong{grid-column:2;min-width:0;color:#45554b;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.custom-category-badge{grid-column:2;color:#84948a;font-size:9px}.category-item{min-width:0}.category-actions{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:5px;padding-top:6px;border-top:1px solid #edf0ed}.category-actions button,.cancel-edit-button,.cancel-delete-button{padding:6px 8px;border:1px solid #e8ede8;border-radius:7px;background:#fff;color:#64746a;font-size:10px;cursor:pointer}.category-actions button:hover,.cancel-edit-button:hover,.cancel-delete-button:hover{background:#f3f7f3}.category-delete-confirm{display:grid;gap:9px;padding:10px 12px;border:1px solid #f0d7ca;border-top:0;border-radius:0 0 9px 9px;background:#fff8f4}.category-delete-confirm p{color:#846c5f;font-size:10px;line-height:1.5}.category-delete-confirm>div{display:flex;gap:7px}.confirm-delete-button{padding:6px 9px;border:0;border-radius:7px;background:#bb5947;color:#fff;font-size:10px;cursor:pointer}.cancel-delete-button{padding:5px 9px}.cancel-edit-button{height:38px;padding:0 12px}.settings-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#10201880;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settings-dialog{width:min(100%,430px);padding:22px;box-shadow:0 20px 70px #0003}.settings-header{display:flex;align-items:center;gap:12px;padding-bottom:19px;border-bottom:1px solid #edf0ed}.settings-header .avatar{flex:0 0 38px;width:38px;height:38px}.settings-header h2{color:#293a31;font-size:16px}.settings-header p{margin-top:4px;color:#89968e;font-size:11px}.settings-close{display:grid;width:30px;height:30px;place-items:center;margin-left:auto;border:0;border-radius:50%;background:#f3f6f3;color:#69786e;font-size:21px;cursor:pointer}.settings-section{padding-top:20px}.settings-section h3{margin:6px 0 12px;color:#394a3f;font-size:13px}.theme-options{display:grid;gap:8px}.theme-option{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #e9eeea;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.theme-option.selected{border-color:#80b595;background:#f0f7f1}.theme-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#eef4ef;color:#39815c;font-size:18px}.theme-option>span:nth-child(2){display:grid;flex:1;gap:4px}.theme-option strong{color:#405147;font-size:12px}.theme-option small{color:#89968e;font-size:10px}.theme-check{color:#37815b;font-size:14px}.settings-footnote{margin-top:17px;color:#929e96;font-size:10px;line-height:1.5}.mobile-nav{display:none}.toast-message{position:fixed;z-index:10;right:24px;bottom:24px;padding:12px 17px;border-radius:10px;background:#294f3b;color:#fff;box-shadow:0 8px 24px #172f241f;font-size:13px}.toast-enter-active,.toast-leave-active{transition:opacity .18s,transform .18s}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(8px)}@media(min-width:1500px){.main-content{padding-right:76px;padding-left:64px}}@media(max-width:1120px){.sidebar{width:205px}.main-content{margin-left:205px;padding-right:30px;padding-left:30px}.period-filter{flex-wrap:wrap}.custom-range{margin-left:auto}.content-grid{grid-template-columns:minmax(0,1.4fr) minmax(235px,.85fr);gap:16px}.balance-card{padding-right:20px;padding-left:20px}.balance-stats{gap:17px}.quick-entry{padding-right:17px;padding-left:17px}.category-list{gap:5px}.category-option{padding:0 7px}}@media(max-width:800px){body{background:#f6f8f5}.sidebar{display:none}.main-content{max-width:650px;margin:0 auto;padding:17px 20px calc(88px + env(safe-area-inset-bottom))}.topbar{min-height:39px;margin-bottom:16px}.mobile-brand{display:flex;gap:7px;font-size:18px}.mobile-brand .brand-mark{width:23px;height:23px;border-radius:7px}.topbar-title{display:none}.month-picker{height:34px;padding:0 9px;font-size:11px}.month-picker{max-width:calc(100vw - 190px)}.mobile-profile-button{display:block}.calendar-icon{font-size:14px}.period-filter{flex-direction:column;align-items:stretch;gap:10px;margin:0 0 15px}.period-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:3px}.period-options button{min-width:0;gap:3px;padding:0 3px;font-size:10px}.period-hint{display:none}.custom-range{justify-content:space-between;gap:6px}.custom-range label{min-width:0;flex:1;gap:5px}.date-input{min-width:0;flex:1;gap:4px}.date-field{width:0;flex:1;padding:0 5px}.date-field input{font-size:10px}.range-separator{flex:0 0 auto}.content-grid{display:flex;flex-direction:column;gap:19px}.primary-column,.secondary-column{width:100%}.balance-card{min-height:158px;padding:17px 19px 14px;border-radius:15px}.balance-amount{margin-top:7px;font-size:28px}.balance-divider{margin:10px 0 9px}.quick-entry{margin-top:15px;padding:18px 17px 16px}.section-heading h2{font-size:15px}.type-switch{margin-top:13px}.transactions-section{margin-top:21px}.secondary-column{gap:12px}.report-card{padding:19px}.report-card .pie-chart{width:145px;height:145px;margin:17px auto 15px}.report-card .pie-hole{width:91px;height:91px}.report-card .legend-list{grid-template-columns:1fr 1fr;gap:11px 14px}.report-card .report-link{margin-top:15px}.tip-card{display:none}.mobile-nav{position:fixed;z-index:5;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e9eeea;background:#ffffffed;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:43px;border:0;background:transparent;color:#9aa49d;cursor:pointer}.mobile-nav button>span{font-size:20px;line-height:1.1}.mobile-nav button>small{font-size:10px}.mobile-nav button.active{color:#287b57}.mobile-nav button.active>small{font-weight:700}.toast-message{right:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translate(50%);white-space:nowrap}.toast-enter-from,.toast-leave-to{opacity:0;transform:translate(50%,8px)}}@media(max-width:420px){.main-content,.balance-card{padding-right:16px;padding-left:16px}.balance-stats{gap:13px}.stat-icon{width:25px;height:25px}.stat-copy strong{font-size:11px}.quick-entry{padding-right:14px;padding-left:14px}.category-manager{padding:17px 14px}.category-create-row{flex-wrap:wrap}.category-name-input{flex:1 1 145px}.category-icon-input{width:82px}.category-create-row .add-button{flex:1}.category-option{gap:4px;height:29px;padding:0 7px;font-size:10px}.entry-actions{gap:7px}.add-button{gap:4px;padding:0 11px;font-size:10px}.transaction-list{padding-right:12px;padding-left:12px}.transaction-row{gap:9px}.transaction-amount{font-size:11px}.transaction-actions{gap:4px}.transaction-actions button{min-height:28px;padding:0 6px;font-size:9px}.transaction-modal{padding:18px}.transaction-edit-fields{grid-template-columns:1fr;gap:11px}.report-chart-area{grid-template-columns:1fr;gap:20px}.report-chart-area .legend-row>small{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}[data-theme=dark]{--chart-empty: #2a342e;color:#e2ebe4;background:#111813;color-scheme:dark}[data-theme=dark] .sidebar,[data-theme=dark] .card,[data-theme=dark] .month-picker,[data-theme=dark] .period-options,[data-theme=dark] .note-field,[data-theme=dark] .category-option,[data-theme=dark] .transaction-actions button,[data-theme=dark] .category-name-input input,[data-theme=dark] .category-icon-input input,[data-theme=dark] .transaction-edit-form input,[data-theme=dark] .transaction-edit-form select,[data-theme=dark] .date-input input,[data-theme=dark] .theme-option{border-color:#2b382f;background-color:#18211b;color:#dce7df}[data-theme=dark] .brand,[data-theme=dark] .topbar-title h1,[data-theme=dark] .section-heading h2,[data-theme=dark] .transaction-info strong,[data-theme=dark] .managed-category strong,[data-theme=dark] .settings-header h2,[data-theme=dark] .settings-section h3{color:#e1ebe4}[data-theme=dark] .side-nav button,[data-theme=dark] .period-options button,[data-theme=dark] .category-option,[data-theme=dark] .transaction-info span,[data-theme=dark] .legend-name,[data-theme=dark] .category-description,[data-theme=dark] .date-input,[data-theme=dark] .period-hint{color:#a4b2a8}[data-theme=dark] .side-nav button.active,[data-theme=dark] .period-options button.selected,[data-theme=dark] .category-option.chosen{background:#203a2b;color:#9ad0ad}[data-theme=dark] .month-grid button.current-period:not(.selected),[data-theme=dark] .year-grid button.current-period:not(.selected){border-color:#477a58;background:#1c2a21;color:#a4d0b1}[data-theme=dark] .month-grid button.current-period.selected,[data-theme=dark] .year-grid button.current-period.selected{outline-color:#a4d0b1}[data-theme=dark] .sidebar-note,[data-theme=dark] .tip-card,[data-theme=dark] .theme-option.selected{border-color:#304337;background:#1c2a21}[data-theme=dark] .sidebar-note strong,[data-theme=dark] .tip-card strong,[data-theme=dark] .theme-option strong{color:#c3d6c9}[data-theme=dark] .sidebar-note p,[data-theme=dark] .tip-card p,[data-theme=dark] .profile-copy small,[data-theme=dark] .settings-header p,[data-theme=dark] .theme-option small,[data-theme=dark] .settings-footnote{color:#9aa99f}[data-theme=dark] .profile{border-top-color:#2b382f}[data-theme=dark] .avatar,[data-theme=dark] .theme-icon{background:#254331;color:#a0d4b1}[data-theme=dark] .main-content,[data-theme=dark] .app-shell{background:#111813;color:#e2ebe4}[data-theme=dark] .month-picker,[data-theme=dark] .round-arrow,[data-theme=dark] .settings-close{border-color:#2b382f;background:#1a241d;color:#b6c4ba}[data-theme=dark] .date-input input,[data-theme=dark] .category-name-input input,[data-theme=dark] .category-icon-input input{background:#131b16;color:#e2ebe4}[data-theme=dark] .amount-field>span,[data-theme=dark] .field-label,[data-theme=dark] .category-name-input,[data-theme=dark] .category-icon-input,[data-theme=dark] .category-color-picker,[data-theme=dark] .empty-state p{color:#a4b2a8}[data-theme=dark] .amount-field input,[data-theme=dark] .note-field input{color:#e2ebe4}[data-theme=dark] .amount-field input::placeholder,[data-theme=dark] .note-field input::placeholder,[data-theme=dark] .category-name-input input::placeholder,[data-theme=dark] .category-icon-input input::placeholder{color:#75847a}[data-theme=dark] .type-switch{background:#121a15}[data-theme=dark] .type-switch button.selected{background:#26352b;color:#9ad0ad;box-shadow:none}[data-theme=dark] .category-option.chosen{border-color:#477a58}[data-theme=dark] .transaction-list,[data-theme=dark] .managed-categories,[data-theme=dark] .managed-category,[data-theme=dark] .category-actions button,[data-theme=dark] .cancel-edit-button,[data-theme=dark] .cancel-delete-button,[data-theme=dark] .settings-header,[data-theme=dark] .report-link{border-color:#2b382f}[data-theme=dark] .category-actions button,[data-theme=dark] .cancel-edit-button,[data-theme=dark] .cancel-delete-button{background:#1b261f;color:#c1cec5}[data-theme=dark] .category-actions button:hover,[data-theme=dark] .cancel-edit-button:hover,[data-theme=dark] .cancel-delete-button:hover{background:#26352b}[data-theme=dark] .category-delete-confirm{border-color:#60453a;background:#2b211c}[data-theme=dark] .category-delete-confirm p{color:#d3b9ab}[data-theme=dark] .transaction-row{border-bottom-color:#26332a}[data-theme=dark] .transaction-row.selected{background:#151d18}[data-theme=dark] .transaction-select-all{color:#9aa99f}[data-theme=dark] .transaction-bulk-delete-button{border-color:#60453a;background:#2b211c;color:#e49a88}[data-theme=dark] .transaction-amount.transfer{color:#9aa99f}[data-theme=dark] .transaction-edit-form label,[data-theme=dark] .transaction-edit-fields .date-input{color:#c1cec5}[data-theme=dark] .transaction-actions button.delete{color:#e49a88}[data-theme=dark] .transaction-group-heading,[data-theme=dark] .transaction-year-heading{color:#a4c9ad}[data-theme=dark] .transaction-group+.transaction-group .transaction-group-heading{border-top-color:#26332a}[data-theme=dark] .transaction-icon,[data-theme=dark] .managed-category-icon{background:color-mix(in srgb,var(--category-color) 20%,#18211b)}[data-theme=dark] .transaction-amount.expense{color:#edac88}[data-theme=dark] .transaction-amount.income{color:#8bc7a2}[data-theme=dark] .pie-hole{background:#18211b}[data-theme=dark] .pie-hole strong,[data-theme=dark] .legend-row>strong{color:#dce7df}[data-theme=dark] .report-period{background:#23332a;color:#b0bdb3}[data-theme=dark] .report-footnote,[data-theme=dark] .settings-header{border-color:#2b382f}[data-theme=dark] .empty-state,[data-theme=dark] .settings-dialog{color:#e2ebe4}[data-theme=dark] .settings-backdrop{background:#050a078c}[data-theme=dark] .mobile-nav{border-top-color:#2b382f;background:#151e19ed}[data-theme=dark] .date-field{border-color:#2b382f;background:#131b16}[data-theme=dark] .calendar-trigger{color:#a0c9ad}[data-theme=dark] .calendar-popover{border-color:#2b382f;background:#18211b;color:#dce7df}[data-theme=dark] .calendar-period-selectors select,[data-theme=dark] .calendar-grid button{color:#dce7df}[data-theme=dark] .calendar-period-selectors select{border-color:#2b382f;background:#131b16}[data-theme=dark] .calendar-heading button{background:#26352b;color:#b7d7c2}[data-theme=dark] .calendar-grid button:not(:disabled):hover{background:#26352b}[data-theme=dark] .calendar-grid button:disabled{color:#56645a}[data-theme=dark] .calendar-grid button.selected-day{background:#37815b;color:#fff}[data-theme=dark] .calendar-grid button.today{outline-color:#a4d0b1}[data-theme=dark] .calendar-grid button.today:not(.selected-day):not(:disabled){background:#22372a;color:#a4d0b1}.period-picker-dialog{width:min(100%,390px)}.period-picker-navigation{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px}.period-picker-navigation strong{color:#405147;font-size:15px}.period-picker-navigation button{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:9px;background:#f0f5f0;color:#43815a;font-size:22px;cursor:pointer}.month-grid,.year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.month-grid button,.year-grid button{min-height:43px;border:1px solid #e8eee8;border-radius:9px;background:#fff;color:#65756a;font-size:12px;cursor:pointer}.month-grid button:hover,.year-grid button:hover{border-color:#9ac5a5;background:#f1f7f2}.month-grid button.selected,.year-grid button.selected{border-color:#4a9668;background:#eaf5ee;color:#267c58;font-weight:700}.month-grid button.current-period:not(.selected),.year-grid button.current-period:not(.selected){border-color:#9ac5a5;background:#f5faf5;color:#287c57;font-weight:700}.month-grid button.current-period.selected,.year-grid button.current-period.selected{outline:2px solid #8cc8aa;outline-offset:1px}.report-dashboard{min-width:0;padding:22px}.report-dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-dashboard-header h2{margin-top:5px;color:#293a31;font-size:17px}.report-dashboard-header .report-period{flex:0 0 auto}.report-slider-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 10px}.report-slider-caption>strong{color:#46564b;font-size:12px}.report-slider-caption>span{color:#96a199;font-size:10px}.report-slider{display:flex;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:auto;user-select:none;-webkit-user-select:none;cursor:grab}.report-slider::-webkit-scrollbar{display:none}.report-slider.dragging{cursor:grabbing;scroll-snap-type:none;-webkit-user-select:none;user-select:none}.report-slide{display:flex;min-width:100%;min-height:205px;flex:0 0 100%;align-items:center;justify-content:center;scroll-snap-align:start}.pie-slide{display:grid;grid-template-columns:minmax(145px,190px) minmax(0,1fr);gap:24px;padding:12px 10px}.report-pie{width:176px;height:176px;margin:0 auto}.report-pie .pie-hole{width:112px;height:112px}.report-pie .pie-hole strong{font-size:18px}.report-pie-legend{display:grid;width:100%;gap:14px}.report-pie-legend .legend-name{font-size:12px}.report-pie-legend .legend-row>strong{font-size:12px}.line-slide{flex-direction:column;align-items:center;justify-content:center;padding:8px 0 0}.line-chart-legend{display:flex;width:100%;justify-content:flex-end;gap:16px;padding:0 4px 5px;color:#718077;font-size:11px}.line-chart-legend>span{display:inline-flex;align-items:center;gap:6px}.line-chart-legend i{width:14px;height:3px;border-radius:3px}.income-line-key{background:#388a61}.expense-line-key{background:#e49a70}.line-chart{display:block;width:100%;height:200px;overflow:visible}.chart-grid-line{stroke:#edf1ed;stroke-width:1}.chart-axis-label{fill:#8d9991;font-family:inherit;font-size:12px}.income-line,.expense-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.income-line{stroke:#388a61}.expense-line{stroke:#e49a70}.income-point{fill:#388a61}.expense-point{fill:#e49a70}.slider-controls{display:flex;justify-content:center;gap:7px;margin:8px 0 21px}.slider-controls button{width:7px;height:7px;padding:0;border:0;border-radius:5px;background:#dce5dd;cursor:pointer;transition:width .15s,background .15s}.slider-controls button.selected{width:19px;background:#388a61}.report-category-section{padding-top:17px;border-top:1px solid #edf0ed}.report-category-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.report-category-heading h3{color:#394a3f;font-size:13px}.report-category-heading>span{color:#929e96;font-size:10px}.report-category-list{display:grid}.report-category-row{display:flex;min-width:0;align-items:center;gap:10px;padding:11px 2px;border:0;border-bottom:1px solid #f0f2f0;background:transparent;text-align:left;cursor:pointer}.report-category-row:last-child{border-bottom:0}.report-category-row:hover .report-category-info strong{color:#287c57}.report-category-icon{display:grid;width:37px;height:37px;flex:0 0 37px;place-items:center;border-radius:11px;background:color-mix(in srgb,var(--category-color) 14%,white);font-size:17px}.report-category-info{display:grid;min-width:0;flex:1;gap:4px}.report-category-info strong{overflow:hidden;color:#405147;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.report-category-info small{color:#97a199;font-size:10px}.report-category-share-track{display:block;width:100%;height:3px;overflow:hidden;border-radius:999px;background:#e9eeea}.report-category-share-line{display:block;height:100%;border-radius:inherit}.report-category-amount{color:#47584c;font-size:11px;white-space:nowrap}.row-chevron{color:#9aa69e;font-size:20px;line-height:1}.category-transactions-modal{max-height:min(80vh,680px);overflow:auto}.category-transactions-modal .settings-header{position:sticky;top:-22px;z-index:1;background:inherit}.category-transactions-modal .report-category-icon{flex:0 0 38px;width:38px;height:38px}.category-transaction-list{display:grid}.category-transaction-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf0ed}.category-transaction-row>div{display:grid;min-width:0;gap:5px}.category-transaction-row>div strong{overflow:hidden;color:#405147;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.category-transaction-row small{color:#929e96;font-size:10px}.category-transaction-row>strong{color:#47584c;font-size:12px;white-space:nowrap}.category-transactions-modal>.chart-empty{padding:22px 0 5px}[data-theme=dark] .period-picker-navigation strong,[data-theme=dark] .report-dashboard-header h2,[data-theme=dark] .report-slider-caption>strong,[data-theme=dark] .report-category-heading h3,[data-theme=dark] .report-category-info strong,[data-theme=dark] .report-category-amount,[data-theme=dark] .category-transaction-row>div strong,[data-theme=dark] .category-transaction-row>strong{color:#dce7df}[data-theme=dark] .period-picker-navigation button{background:#26352b;color:#a4d0b1}[data-theme=dark] .month-grid button,[data-theme=dark] .year-grid button{border-color:#2b382f;background:#1a241d;color:#b6c4ba}[data-theme=dark] .month-grid button:hover,[data-theme=dark] .year-grid button:hover,[data-theme=dark] .month-grid button.selected,[data-theme=dark] .year-grid button.selected{border-color:#477a58;background:#203a2b;color:#9ad0ad}[data-theme=dark] .report-slider-caption>span,[data-theme=dark] .line-chart-legend,[data-theme=dark] .chart-axis-label,[data-theme=dark] .report-category-heading>span,[data-theme=dark] .report-category-info small,[data-theme=dark] .category-transaction-row small{color:#9aa99f}[data-theme=dark] .report-category-share-track{background:#2b382f}[data-theme=dark] .chart-grid-line{stroke:#2b382f}[data-theme=dark] .slider-controls button{background:#3a4b3f}[data-theme=dark] .slider-controls button.selected{background:#69ad80}[data-theme=dark] .report-category-section,[data-theme=dark] .report-category-row,[data-theme=dark] .category-transaction-row{border-color:#2b382f}[data-theme=dark] .report-category-icon{background:color-mix(in srgb,var(--category-color) 20%,#18211b)}[data-theme=dark] .category-transactions-modal .settings-header{background:#18211b}@media(max-width:800px){.report-dashboard{padding:18px}.report-slide{min-height:230px}.pie-slide{grid-template-columns:minmax(120px,155px) minmax(0,1fr);gap:12px;padding-right:2px;padding-left:2px}.report-pie{width:145px;height:145px}.report-pie .pie-hole{width:94px;height:94px}.report-pie-legend{gap:12px}.report-pie-legend .legend-name{font-size:11px}}@media(max-width:420px){.report-dashboard{padding:16px 13px}.report-dashboard-header h2{font-size:15px}.report-slider-caption{margin-top:19px}.report-slider-caption>span{font-size:9px}.report-slide{min-height:230px}.pie-slide{grid-template-columns:120px minmax(0,1fr);gap:7px}.report-pie{width:116px;height:116px}.report-pie .pie-hole{width:78px;height:78px}.report-pie .pie-hole small{font-size:9px}.report-pie .pie-hole strong{transform:scale(.78)}.report-pie-legend{gap:10px}.report-pie-legend .legend-row{gap:5px}.report-pie-legend .legend-name,.report-pie-legend .legend-row>strong{font-size:10px}.report-category-row{gap:8px}.report-category-icon{width:33px;height:33px;flex-basis:33px}.report-category-info strong{font-size:11px}.report-category-amount{font-size:10px}.category-transactions-modal{padding:16px}.category-transactions-modal .settings-header{top:-16px}}.settings-menu{padding-top:18px}.settings-menu-item{display:flex;width:100%;align-items:center;gap:12px;padding:12px;border:1px solid #e9eeea;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.settings-menu-item:hover{border-color:#9ac5a5;background:#f5f9f5}.settings-menu-item>span:nth-child(2){display:grid;min-width:0;flex:1;gap:4px}.settings-menu-item strong{color:#405147;font-size:13px}.settings-menu-item small{color:#89968e;font-size:11px}.settings-menu-chevron{color:#89968e;font-size:22px}.settings-back{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:0;border-radius:9px;background:#f0f5f0;color:#43815a;font-size:23px;cursor:pointer}.category-modal{padding:24px}.category-modal .settings-header{padding-bottom:17px}.modal-category-form{align-items:start;gap:14px;margin-top:18px}.category-modal .category-color-picker{gap:12px;margin:20px 0 16px}.category-modal .category-color-picker button{width:22px;height:22px;flex:0 0 22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid #edf0ed}.modal-actions .cancel-edit-button,.modal-actions .confirm-delete-button,.modal-actions .add-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:0 15px;font-size:12px;white-space:nowrap}.delete-modal-message{margin:18px 0 20px;color:#6f7e74;font-size:13px;line-height:1.6}[data-theme=dark] .settings-menu-item{border-color:#2b382f;background:#1a241d}[data-theme=dark] .settings-menu-item:hover{border-color:#477a58;background:#203a2b}[data-theme=dark] .settings-menu-item strong{color:#dce7df}[data-theme=dark] .settings-menu-item small,[data-theme=dark] .settings-menu-chevron{color:#9aa99f}[data-theme=dark] .settings-back{background:#26352b;color:#a4d0b1}[data-theme=dark] .modal-actions{border-color:#2b382f}[data-theme=dark] .delete-modal-message{color:#c1cec5}@media(max-width:420px){.category-modal{padding:18px}.category-modal .category-color-picker{gap:10px}.category-modal .category-color-picker button{width:20px;height:20px;flex-basis:20px}.modal-actions{display:grid;grid-template-columns:minmax(70px,auto) minmax(0,1fr);gap:8px}.modal-actions .cancel-edit-button,.modal-actions .confirm-delete-button,.modal-actions .add-button{min-width:0;padding:0 9px;white-space:normal}}.bank-sync-page{min-width:0;padding:24px}.bank-sync-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.bank-sync-header h2{margin-top:5px;color:#293a31;font-size:19px}.bank-sync-header p{max-width:570px;margin-top:7px;color:#89968e;font-size:12px;line-height:1.5}.bank-sync-icon{display:grid;width:43px;height:43px;flex:0 0 43px;place-items:center;border-radius:12px;background:#eaf5ee;color:#287c57;font-size:24px}.bank-sync-range{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:23px;padding:17px;border:1px solid #edf0ed;border-radius:12px;background:#fafcf9}.bank-sync-range .date-input{min-width:0;flex:0 1 190px}.bank-sync-range .date-field{width:150px}.bank-sync-range .range-separator{padding-bottom:10px}.bank-sync-button{min-width:120px;height:38px}.bank-sync-button>span:first-child{font-size:17px}.bank-sync-button:disabled{background:#aab9ae;color:#f5f7f5;cursor:not-allowed}.bank-sync-button:disabled:hover{background:#aab9ae}.bank-sync-results{margin-top:23px}.bank-sync-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.bank-sync-results-heading h3{color:#394a3f;font-size:14px}.bank-sync-results-heading>div>span{display:block;margin-top:5px;color:#929e96;font-size:10px}.bank-preview-badge{flex:0 0 auto;padding:6px 9px;border-radius:7px;background:#f1f5f1;color:#79877e;font-size:10px}.bank-transaction-list{display:grid;gap:17px}.bank-transaction-date{margin:0 0 8px;color:#64746a;font-size:12px;font-weight:700;text-transform:capitalize}.bank-transaction-group{min-width:0}.bank-sync-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 14px;border:1px solid #e8eee8;border-radius:11px;background:#f8faf8}.bank-sync-page-size,.bank-sync-page-controls{display:flex;align-items:center;gap:8px;color:#75847a;font-size:11px}.bank-sync-page-size select,.bank-sync-page-controls button{min-height:34px;padding:0 10px;border:1px solid #e1e9e2;border-radius:8px;background:#fff;color:#405147;font-size:11px}.bank-sync-page-size select,.bank-sync-page-controls button{cursor:pointer}.bank-sync-page-controls button:disabled{color:#aab5ac;cursor:not-allowed}.bank-sync-page-controls>span{min-width:65px;text-align:center}.bank-transaction-card{overflow:hidden;margin-top:8px;border:1px solid #e9eeea;border-radius:11px;background:#fff;transition:border-color .15s,background .15s}.bank-transaction-card.selected{border-color:#80b595;background:#f7fbf7}.bank-transaction-card.imported{background:#f0f2f0;filter:grayscale(.85);opacity:.65}.bank-transaction-summary{display:grid;grid-template-columns:18px 36px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:70px;padding:12px 14px}.bank-transaction-summary>input{width:17px;height:17px;margin:0;accent-color:#287c57;cursor:pointer}.bank-transaction-summary>input:disabled{cursor:default}.bank-transaction-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#f2f6f2;color:#668873;font-size:19px}.bank-transaction-copy{display:grid;min-width:0;gap:5px}.bank-transaction-copy strong{overflow:hidden;color:#405147;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-copy small{overflow:hidden;color:#929e96;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-values{display:grid;justify-items:end;gap:4px}.bank-transaction-amount{color:#cf7954;font-size:12px;white-space:nowrap}.bank-transaction-amount.income{color:#378562}.bank-imported-label{color:#378562;font-size:9px;font-weight:700}.bank-transaction-editor{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(140px,1fr) minmax(170px,1.4fr);gap:12px;padding:16px;border-top:1px solid #e9eeea;background:#fbfcfb}.bank-field{display:grid;min-width:0;gap:6px;color:#75827a;font-size:10px;font-weight:600}.bank-field>span small{color:#96a199;font-size:9px;font-weight:400}.bank-field input,.bank-field select{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #e5ebe6;border-radius:8px;background:#fff;color:#405147;font-size:11px}.bank-field select{cursor:pointer}.bank-field select:disabled{background:#f1f4f1;color:#9aa49d;cursor:not-allowed}.bank-sync-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding:18px 20px 22px;border:1px solid #e8eee8;border-radius:12px;background:#f8faf8}.bank-sync-footer p,.bank-sync-footer>span{color:#75847a;font-size:12px;line-height:1.5}.bank-sync-selection-count{display:grid;grid-template-columns:max-content auto;align-items:baseline;gap:4px 6px}.bank-sync-selection-count>strong{color:#405147;font-size:14px}.bank-sync-selection-count>span{color:#75847a;font-size:12px}.bank-sync-selection-count>p{grid-column:1 / -1}.bank-sync-footer .add-button{min-width:190px;min-height:44px;padding:0 17px;border-radius:9px;font-size:12px}.bank-sync-footer .add-button:disabled{background:#aab9ae;cursor:not-allowed}.bank-sync-empty,.bank-sync-intro{display:grid;min-height:190px;place-content:center;justify-items:center;padding:24px;text-align:center}.bank-sync-empty>span,.bank-sync-intro-icon{display:grid;width:43px;height:43px;place-items:center;margin-bottom:10px;border-radius:50%;background:#eef5ef;color:#62916f;font-size:22px}.bank-sync-empty strong,.bank-sync-intro strong{color:#435449;font-size:13px}.bank-sync-empty p,.bank-sync-intro p{max-width:360px;margin-top:6px;color:#929e96;font-size:11px;line-height:1.5}[data-theme=dark] .bank-sync-header h2,[data-theme=dark] .bank-sync-results-heading h3,[data-theme=dark] .bank-transaction-copy strong,[data-theme=dark] .bank-sync-empty strong,[data-theme=dark] .bank-sync-intro strong{color:#dce7df}[data-theme=dark] .bank-sync-header p,[data-theme=dark] .bank-sync-results-heading>div>span,[data-theme=dark] .bank-sync-footer p,[data-theme=dark] .bank-sync-footer>span,[data-theme=dark] .bank-sync-empty p,[data-theme=dark] .bank-sync-intro p{color:#9aa99f}[data-theme=dark] .bank-sync-icon,[data-theme=dark] .bank-sync-empty>span,[data-theme=dark] .bank-sync-intro-icon{background:#203a2b;color:#9ad0ad}[data-theme=dark] .bank-sync-range{border-color:#2b382f;background:#141d17}[data-theme=dark] .bank-preview-badge,[data-theme=dark] .bank-transaction-mark{background:#26352b;color:#b6c4ba}[data-theme=dark] .bank-transaction-card{border-color:#2b382f;background:#18211b}[data-theme=dark] .bank-transaction-card.selected{border-color:#477a58;background:#1c2a21}[data-theme=dark] .bank-transaction-card.imported{background:#111713}[data-theme=dark] .bank-transaction-date,[data-theme=dark] .bank-field{color:#a4b2a8}[data-theme=dark] .bank-field>span small{color:#91a096}[data-theme=dark] .bank-field select:disabled{background:#1b261f;color:#75847a}[data-theme=dark] .bank-sync-selection-count>strong{color:#dce7df}[data-theme=dark] .bank-sync-selection-count>span{color:#9aa99f}[data-theme=dark] .bank-transaction-copy small{color:#9aa99f}[data-theme=dark] .bank-sync-pagination{border-color:#2b382f;background:#151d18}[data-theme=dark] .bank-sync-page-size,[data-theme=dark] .bank-sync-page-controls{color:#9aa99f}[data-theme=dark] .bank-sync-page-size select,[data-theme=dark] .bank-sync-page-controls button{border-color:#2b382f;background:#18211b;color:#dce7df}[data-theme=dark] .bank-sync-page-controls button:disabled{color:#75847a}[data-theme=dark] .bank-transaction-editor,[data-theme=dark] .bank-sync-footer{border-color:#2b382f;background:#151d18}[data-theme=dark] .bank-field input,[data-theme=dark] .bank-field select{border-color:#2b382f;background:#131b16;color:#dce7df}[data-theme=dark] .bank-sync-footer .add-button:disabled{background:#526357}[data-theme=dark] .bank-sync-button:disabled,[data-theme=dark] .bank-sync-button:disabled:hover{background:#526357;color:#b9c7bd}@media(max-width:800px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bank-sync-page{padding:18px}.bank-sync-range{flex-wrap:wrap;gap:10px}.bank-sync-range .date-input{flex:1 1 40%;flex-direction:column;align-items:stretch}.bank-sync-range .date-field{width:100%}.bank-sync-range .range-separator{display:none}.bank-sync-button{flex:1 1 100%}.bank-transaction-editor{grid-template-columns:1fr 1fr}.bank-description-field{grid-column:1 / -1}.bank-sync-footer{padding:17px 18px 21px}}@media(max-width:420px){.bank-sync-page{padding:16px 13px}.bank-sync-header h2{font-size:17px}.bank-sync-range{padding:12px}.bank-sync-range .date-input{flex-basis:calc(50% - 5px);flex-direction:column;align-items:stretch}.bank-sync-range .date-field{height:34px;padding:0 5px}.bank-sync-range .date-field input{font-size:10px}.bank-sync-range .calendar-trigger{font-size:13px}.bank-sync-results-heading{align-items:flex-start}.bank-preview-badge{padding:5px 7px;font-size:9px}.bank-transaction-summary{grid-template-columns:17px 32px minmax(0,1fr) auto;gap:7px;padding:10px 9px}.bank-transaction-mark{width:32px;height:32px}.bank-transaction-copy strong{font-size:10px}.bank-transaction-copy small{font-size:9px}.bank-transaction-amount{font-size:10px}.bank-transaction-editor{grid-template-columns:1fr;gap:10px;padding:12px}.bank-sync-footer{align-items:stretch;flex-direction:column}.bank-sync-footer{padding:16px 14px 22px}.bank-sync-footer .add-button{width:100%;min-height:44px}.bank-sync-pagination{align-items:stretch;flex-direction:column;padding:12px}.bank-sync-page-size{justify-content:space-between}.bank-sync-page-controls{justify-content:center}}.auth-screen{display:grid;min-height:100vh;place-items:center;padding:24px;background:#f5f7f4}.auth-card{width:min(100%,420px);padding:32px}.auth-brand{width:max-content;margin:0 0 26px;padding:0}.auth-card>.section-kicker{display:block;margin-bottom:8px}.auth-card h1{color:#293a31;font-size:22px}.auth-description{margin-top:7px;color:#89968e;font-size:13px;line-height:1.5}.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:22px 0 18px;padding:4px;border:1px solid #e8eee8;border-radius:10px;background:#f8faf8}.auth-mode-switch button{min-height:38px;border:0;border-radius:7px;background:transparent;color:#75847a;font-size:12px;cursor:pointer}.auth-mode-switch button.selected{background:#eaf5ee;color:#267c58;font-weight:700}.auth-form{display:grid;gap:15px}.auth-form label{display:grid;gap:7px;color:#526258;font-size:12px;font-weight:600}.auth-form label small{color:#929e96;font-size:10px;font-weight:400;line-height:1.4}.auth-form input{width:100%;height:42px;padding:0 12px;border:1px solid #e3eae4;border-radius:8px;color:#35453b;background:#fff;font-size:13px}.auth-error{color:#bf554d;font-size:12px;line-height:1.45}.auth-submit{width:100%;min-height:44px;margin-top:2px}.auth-submit:disabled{opacity:.7;cursor:wait}.auth-loading{color:#dce7df;text-align:center}.api-error-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:12px 14px;border:1px solid #e8c2bd;border-radius:10px;background:#fff4f2;color:#a3463f;font-size:12px;line-height:1.4}.api-error-banner button{flex:0 0 auto;padding:7px 10px;border:1px solid #dfaaa4;border-radius:7px;background:#fff;color:#9e433d;font-size:11px;cursor:pointer}.settings-logout{width:100%;margin-top:10px;padding:12px;border:1px solid #f0d7d4;border-radius:9px;background:#fff9f8;color:#b34b43;font-size:12px;text-align:left;cursor:pointer}[data-theme=dark] .auth-screen{background:#111813;color:#dce7df}[data-theme=dark] .auth-card h1{color:#e1ebe4}[data-theme=dark] .auth-description,[data-theme=dark] .auth-form label small{color:#9aa99f}[data-theme=dark] .auth-mode-switch{border-color:#2b382f;background:#141d17}[data-theme=dark] .auth-mode-switch button{color:#a4b2a8}[data-theme=dark] .auth-mode-switch button.selected{background:#203a2b;color:#9ad0ad}[data-theme=dark] .auth-form label{color:#b9c7bd}[data-theme=dark] .auth-form input{border-color:#2b382f;background:#131b16;color:#dce7df}[data-theme=dark] .api-error-banner{border-color:#653b36;background:#2c1e1b;color:#f0aaa2}[data-theme=dark] .api-error-banner button{border-color:#70443e;background:#3a2723;color:#f0aaa2}[data-theme=dark] .settings-logout{border-color:#603a35;background:#2a1e1b;color:#f0aaa2}@media(max-width:420px){.auth-screen{padding:16px}.auth-card{padding:24px 20px}.api-error-banner{align-items:stretch;flex-direction:column}}.quick-wallet-field{display:grid;gap:6px;margin-top:15px;color:#75827a;font-size:11px;font-weight:600}.quick-wallet-field select,.wallet-create-fields input,.wallet-edit-fields input{width:100%;height:40px;padding:0 10px;border:1px solid #e3eae4;border-radius:8px;color:#35453b;background:#fff;font-size:12px}.wallet-manager-page{display:grid;gap:18px}.wallet-manager-heading{display:flex;align-items:center;justify-content:space-between}.wallet-manager-heading .add-button:disabled{background:#aab9ae;cursor:not-allowed}.wallet-manager-heading h2{margin-top:5px;color:#293a31;font-size:19px}.wallet-manager-heading p,.wallet-create>div:first-child p{margin-top:5px;color:#89968e;font-size:12px;line-height:1.5}.wallet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.wallet-card{display:grid;min-width:0;gap:8px;padding:18px}.wallet-card-heading{display:flex;align-items:center;gap:8px}.wallet-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#eaf5ee;color:#287c57;font-size:17px}.wallet-kind{color:#89968e;font-size:10px}.wallet-card-name{overflow:hidden;color:#35453b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.wallet-balance-label{margin-top:8px;color:#89968e;font-size:10px}.wallet-balance{color:#287c57;font-size:20px;letter-spacing:-.3px}.wallet-balance small{font-size:12px;font-weight:500}.wallet-edit-button{justify-self:start;margin-top:6px;padding:7px 10px;border:1px solid #e7ece8;border-radius:7px;background:#fff;color:#4b795d;font-size:10px;cursor:pointer}.wallet-create{display:grid;gap:18px;padding:20px}.wallet-create h3{margin-top:4px;color:#35453b;font-size:15px}.wallet-create-fields{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:12px;align-items:end}.wallet-create-fields label,.wallet-edit-fields label{display:grid;min-width:0;gap:6px;color:#526258;font-size:11px;font-weight:600}.wallet-create-fields .add-button{white-space:nowrap}.wallet-edit-dialog{width:min(100%,460px)}.wallet-transfer-dialog{width:min(100%,520px);max-height:min(90vh,700px);overflow-y:auto}.wallet-transfer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px 0}.wallet-transfer-fields label{display:grid;min-width:0;gap:6px;color:#526258;font-size:11px;font-weight:600}.wallet-transfer-fields label>span small{color:#89968e;font-size:10px;font-weight:400}.wallet-transfer-fields label>input,.wallet-transfer-fields label>select{width:100%;min-width:0;height:40px;padding:0 10px;border:1px solid #e3eae4;border-radius:8px;color:#35453b;background:#fff;font-size:12px}.wallet-transfer-fields>.date-input{grid-column:1 / -1;flex-direction:column;align-items:stretch;gap:6px;color:#526258;font-size:11px;font-weight:600}.wallet-transfer-fields .date-field{width:100%;height:40px}.wallet-transfer-fields .date-field input{width:auto;min-width:0;flex:1}.wallet-edit-fields{display:grid;gap:14px;padding:18px 0}.wallet-edit-fields input{font-weight:400}.wallet-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;border-top:1px solid #edf0ed}.wallet-edit-actions .modal-actions{padding-top:0;border-top:0}.wallet-edit-actions>.confirm-delete-button{min-height:42px;padding:0 15px;font-size:12px;white-space:nowrap}.wallet-delete-dialog{width:min(100%,450px)}.wallet-delete-warning{margin:16px 0;color:#a64e43;font-size:12px;line-height:1.6}.category-select-button{display:flex;width:100%;min-height:40px;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:0 11px;border:1px solid #e7ece8;border-radius:8px;background:#fff;color:#536258;font-size:11px;text-align:left;cursor:pointer}.category-select-button:disabled{color:#9aa49d;cursor:not-allowed}.selected-category-label{display:flex;min-width:0;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-category-label>span{font-size:15px}.category-select-arrow{flex:0 0 auto;color:#84948a;font-size:16px}.quick-category-dialog{width:min(100%,560px)}.quick-category-grid{display:grid;max-height:55vh;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:9px;overflow-y:auto;margin-top:18px;padding-right:3px}.quick-category-option{display:flex;min-width:0;min-height:48px;align-items:center;gap:9px;padding:7px 9px;border:1px solid #e9eeea;border-radius:9px;background:#fff;color:#59685e;font-size:11px;text-align:left;overflow-wrap:anywhere;cursor:pointer}.quick-category-option.chosen{border-color:#91c2a3;background:#eef7f0;color:#267c58;font-weight:700}.quick-category-icon{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--category-color) 15%,white);font-size:15px}[data-theme=dark] .quick-wallet-field,[data-theme=dark] .wallet-create-fields label,[data-theme=dark] .wallet-edit-fields label{color:#b9c7bd}[data-theme=dark] .quick-wallet-field select,[data-theme=dark] .wallet-create-fields input,[data-theme=dark] .wallet-edit-fields input{border-color:#2b382f;background:#131b16;color:#dce7df}[data-theme=dark] .wallet-manager-heading h2,[data-theme=dark] .wallet-create h3,[data-theme=dark] .wallet-card-name{color:#dce7df}[data-theme=dark] .wallet-manager-heading p,[data-theme=dark] .wallet-create>div:first-child p,[data-theme=dark] .wallet-kind,[data-theme=dark] .wallet-balance-label{color:#9aa99f}[data-theme=dark] .wallet-card{border-color:#2b382f;background:#18211b}[data-theme=dark] .wallet-manager-heading .add-button:disabled{background:#526357}[data-theme=dark] .wallet-icon{background:#203a2b;color:#9ad0ad}[data-theme=dark] .wallet-edit-button{border-color:#2b382f;background:#131b16;color:#a9d2b5}[data-theme=dark] .wallet-balance{color:#9ad0ad}[data-theme=dark] .wallet-edit-actions{border-color:#2b382f}[data-theme=dark] .wallet-transfer-fields label{color:#b9c7bd}[data-theme=dark] .wallet-transfer-fields label>span small{color:#9aa99f}[data-theme=dark] .wallet-transfer-fields label>input,[data-theme=dark] .wallet-transfer-fields label>select{border-color:#2b382f;background:#131b16;color:#dce7df}[data-theme=dark] .wallet-transfer-fields .date-field input{border:0;background:transparent}[data-theme=dark] .wallet-delete-warning{color:#f0aaa2}[data-theme=dark] .category-select-button{border-color:#2b382f;background:#131b16;color:#dce7df}[data-theme=dark] .category-select-button:disabled{color:#75847a}[data-theme=dark] .quick-category-option{border-color:#2b382f;background:#18211b;color:#b9c7bd}[data-theme=dark] .quick-category-option.chosen{border-color:#477a58;background:#203a2b;color:#9ad0ad}@media(max-width:800px){.mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.wallet-create-fields{grid-template-columns:1fr 1fr}.wallet-create-fields .add-button{grid-column:1 / -1}.wallet-transfer-fields{grid-template-columns:1fr}}@media(max-width:520px){.wallet-create-fields{grid-template-columns:1fr}.wallet-create-fields .add-button{grid-column:auto}}@media(max-width:520px){.transaction-heading{align-items:flex-start}.transaction-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}}@media(max-width:420px){.wallet-edit-actions{align-items:stretch;flex-direction:column-reverse}.wallet-edit-actions .modal-actions{justify-content:flex-end}.wallet-edit-actions>.confirm-delete-button{min-height:42px}.wallet-manager-heading{align-items:flex-start;flex-direction:column;gap:12px}}
