:root{--bg:#f6f6fa;--ink:#24232c;--muted:#8a8995;--line:#e9e8ef;--green:#5553aa;--deep:#3f3b85;--mint:#dddafc;--soft:#eeedfc;--orange:#ad9452;--orange-soft:#f8f3e9;--purple:#8474bd;--purple-soft:#f0edfa;--shadow:0 5px 25px #29213904}body{font-family:'Readex Pro',Tahoma,sans-serif;font-weight:400}.number{font-family:'Readex Pro',Tahoma,sans-serif}.sidebar{border-color:#eeedf4}.brand-mark{background:#25222d;color:#cbc5ff;box-shadow:none}.brand small{color:#a5a2ae}.workspace-avatar{background:#f0eef8;color:#70629f}.workspace-chevron{color:#a6a1b7}.nav-link{color:#87828f}.nav-link:hover{background:#f6f4fc;color:#6255a3}.nav-link.active{background:#f0edfc;color:#6555a9}.nav-count{color:#9c8bbf}.new-tag{color:#7c62b1;background:#eee7ff}.sidebar-note{background:#f7f5fb;color:#9690a1}.sidebar-note>span{color:#a18ebe}.sidebar-note strong{color:#7d6e95}.sidebar-bottom>.nav-link{color:#91859c}.local-note{color:#a49aad}.topbar{background:#fbfaff}.breadcrumb strong{color:#70677b}.today{color:#a09aac}.icon-button{color:#8b7d9b}.icon-button:hover{border-color:#d4c5e5;background:#f6f2fc}.profile-button{background:#f0e9fa;color:#8e70ac}.demo-banner{color:#92819f;border-color:#eae3f0}.demo-banner-copy svg{color:#ad98bf}.demo-banner button{color:#8570aa}.button:hover{background:#f7f3fc}.button-primary{background:#292532;border-color:#292532;color:#fff}.button-primary:hover{background:#464050}.button-subtle{color:#96879e}.button-mint{background:#dfd6fd;border-color:#dfd6fd;color:#69568e}.button-mint:hover{background:#d2c6f5}.balance-hero{background:#1d1a25;background-image:radial-gradient(ellipse at 0 0,#51437460,transparent 65%)}.hero-label{color:#ebe6f4}.hero-label svg{color:#c3b4e9}.hero-sub{color:#aaa0b9}.hero-income{color:#b9afc9}.stat-head svg{color:#a99bb6}.stat-foot{color:#aca2b6}.payday-icon{background:#f3eef9;color:#a18aba}.payday-pill{color:#9475aa;background:#f8f3fd;border-color:#eae0f2}.text-button{color:#9272ac}.chart-controls{background:#f7f3fb;border-color:#f0e9f6}.chart-controls button{color:#ac9bb9}.chart-controls button.active{color:#8a6fa3}.legend-line{background:#9b83c6}.cash-chart text{font-family:'Readex Pro',Tahoma,sans-serif;fill:#a399b0}.cash-chart .chart-line{stroke:#a68acb}.cash-chart .chart-dot{stroke:#a68acb}.cash-chart .chart-dot.selected{fill:#8b6ab5}.chart-bottom{color:#aa9cb7;border-color:#f4eff8}.chart-bottom strong{color:#9a7db0}.allocation-bar{background:#f6f2f9}.allocation-name{color:#9c8ca6}.allocation-foot{color:#b0a1ba}.count-badge{background:#f2ecf7;color:#a58cb7}.goal-date,.goal-paydays{color:#ab9cb4}.goal-values span{color:#ab9cb4}.goal-progress{background:#f5f0f9}.goal-bottom{color:#ad9bb8}.goal-bottom strong{color:#9675ab}.goal-card:hover{border-color:#ddcaed;box-shadow:0 5px 24px #8e60ad08}.payment-icon{background:#f8f3fb;color:#ad96bc}.payment-name small{color:#b2a0bf}.payment-amount small{color:#b0a1ba}.payment-row{border-color:#f5eff8}.scenario-teaser{background:#f1ebfa;border-color:#e7ddf0}.teaser-icon{color:#a486bd}.scenario-teaser p{color:#9a81ac}.scenario-teaser .button{border-color:#e9dbf2;color:#9d78b6}.goals-intro{background:#f1eafa;border-color:#e9def4}.goals-intro p{color:#a387b6}.intro-amount{color:#9670b1}.intro-amount small{color:#b297c2}.recurrence-label{background:#f8f2fb;color:#ad91bd}.finance-note{color:#ab97b7}.field label,.field-label{color:#8c6ca4}.field input,.field select{background:#fdfaff;border-color:#e7dbee;color:#77528f}.field input:focus,.field select:focus{border-color:#bc9fd0}.field small{color:#b9a0c5}.currency-input>span{color:#b499c0}.range-header strong{color:#9566b1}input[type=range]{accent-color:#a47ac2}.range-labels{color:#b99fc5}.scenario-total{color:#9468ac}.scenario-result-caption{color:#b097be}.scenario-legend{color:#b49abf}.scenario-legend i{background:#ad8ac9}.scenario-legend .baseline{background:#d5c1e1}.scenario-explanation{background:#f8f0fc;color:#b08bc3}.dialog-note{background:#f9f3fc;color:#b398c2}.toast{background:#44314f;color:#f6eafa}.toast svg,.toast button{color:#debef1}dialog{border-color:#e6d5ef}.mobile-brand{background:#35243f;color:#e0c3f3}.mobile-nav{border-color:#eee3f4}.mobile-nav a.active{color:#a277bc}.page-footer{color:#b6a6bf}.footer-dot{color:#cbbbd3}body.landing-mode>.sidebar,body.landing-mode>.app-shell,body.landing-mode>.mobile-nav{display:none}body:not(.landing-mode) #landing-root{display:none}.back-to-home{font-size:12px;color:#9b8aa6;display:inline-flex;align-items:center;gap:5px;background:none;border:0}.back-to-home:hover{color:#6a5085}.sidebar .brand{cursor:pointer}.cash-chart .chart-baseline{stroke:#c9bdd8;stroke-width:2;stroke-dasharray:5 5;fill:none}.hero-amount.negative{color:#ffc6bf!important}
/* Readable product labels and neutral contrast. */
.mobile-brand{border:0;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nav-link,.sidebar-bottom>.nav-link{font-size:14px;color:#706a79}.nav-link.active{color:#6150a0}.brand small{font-size:12px;color:#797481}.workspace{font-size:14px}.workspace small{font-size:12px;color:#81798a}.nav-label{font-size:12px;color:#8a8493}.local-note{font-size:12px;color:#8c8396}.demo-banner,.demo-banner button{font-size:13px;color:#7b6b8c}.page-heading p{font-size:16px;color:#77717e}.eyebrow{font-size:12px;color:#8d8598}.heading-actions .button{font-size:14px}.hero-label{font-size:16px}.hero-sub{font-size:12px;color:#c1b5d2}.hero-income{font-size:13px}.hero-bottom .button{font-size:12px}.stat-card .stat-head{font-size:14px;color:#7b7287}.stat-foot{font-size:12px;color:#8e8498}.payday-detail h3{font-size:14px}.payday-detail p,.payday-pill{font-size:12px;color:#8a749c}.panel-header p{font-size:12px;color:#8d8299}.panel-header h2{font-size:17px}.chart-controls button{font-size:12px;min-height:28px}.chart-meta,.chart-bottom{font-size:12px;color:#8c8098}.chart-bottom strong{color:#84639d}.cash-chart text{font-size:12px;fill:#8c8197}.allocation-total span{font-size:12px}.allocation-row,.allocation-row strong{font-size:14px}.allocation-name{color:#82718f}.allocation-row small{font-size:12px}.allocation-foot{font-size:12px;color:#93839f}.text-button{font-size:14px;color:#89629e}.goal-date{font-size:13px;color:#9a87a8}.goal-paydays{font-size:12px;color:#94849f}.goal-values span{font-size:12px;color:#9b87a8}.goal-bottom,.goal-bottom>span{font-size:12px;color:#93809f}.goal-bottom strong{font-size:14px;color:#89629f}.payment-name{font-size:14px}.payment-name small{font-size:12px;color:#9c86aa}.payment-amount small{font-size:12px;color:#9883a5}.scenario-teaser p{font-size:14px;color:#8c719e}.scenario-teaser .button{font-size:13px}.page-footer{font-size:12px;color:#9d8ba9}.page-footer>span:last-child{font-size:12px}.goals-intro p{font-size:14px;color:#8c719e}.intro-amount small{font-size:12px}.goal-helper{font-size:13px}.obligation-table th{font-size:13px}.obligation-table{font-size:14px}.recurrence-label{font-size:12px;color:#967ba5}.finance-note{font-size:13px;color:#9a83a7}.field label,.field-label{font-size:14px;color:#80618f}.field small{font-size:12px;color:#a189ae}.field input,.field select{color:#684679;font-size:16px}.scenario-status,.scenario-result-caption{font-size:12px;color:#9d81ad}.scenario-explanation{font-size:14px;color:#9870af}.scenario-comparison span{font-size:13px}.scenario-legend{font-size:12px;color:#9b7daa}.dialog-note{font-size:13px;color:#9370a5}.dialog-top .eyebrow{font-size:12px}.form-error{font-size:14px}.summary-item{font-size:14px}.help-inline{font-size:12px}.notice{font-size:14px}.delete-button{font-size:14px}.toast{font-size:14px}.range-header{font-size:14px}.range-labels{font-size:12px}.reset-row p,.reset-row button{font-size:12px}
@media(max-width:1020px){.sidebar{width:214px}.app-shell{margin-right:214px}.brand{font-size:17px}.goal-grid{grid-template-columns:1fr}.goal-date{font-size:13px}.goal-card{padding:20px}.goal-card h3{font-size:17px}.goal-values strong{font-size:25px}.goal-grid.expanded{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-grid.expanded .goal-date{font-size:12px}}
@media(max-width:760px){.app-shell{margin-right:0}.page-heading p{font-size:14px;max-width:280px}.heading-actions .button{font-size:12px}.hero-label{font-size:14px}.hero-sub{font-size:12px}.hero-bottom .button{font-size:12px}.hero-income{font-size:12px}.hero-income strong{font-size:14px}.stat-card .stat-head{font-size:14px}.stat-foot{font-size:12px}.payday-detail h3{font-size:13px}.payday-detail p{font-size:12px}.payday-pill{font-size:11px;white-space:normal;text-align:center;max-width:80px}.panel-header h2{font-size:16px}.panel-header p{font-size:12px;max-width:240px}.chart-controls button{font-size:11px}.chart-meta,.chart-bottom{font-size:11px}.goal-card h3{font-size:16px}.goal-values strong{font-size:21px}.goal-values span{font-size:11px}.goal-bottom strong{font-size:14px}.goal-grid.expanded{grid-template-columns:1fr}.text-button{font-size:13px}.goal-helper{font-size:12px}.mobile-nav a{font-size:12px}.scenario-teaser p{font-size:16px}.page-footer{font-size:11px}.page-footer>span:last-child{font-size:11px}.obligation-table{font-size:13px}.obligation-table th{font-size:12px}.recurrence-label{font-size:12px}.payment-name small{font-size:12px}.notice{font-size:13px}.goals-intro p{font-size:13px}.intro-amount small{font-size:12px}}
@media(max-width:390px){.hero-label{font-size:13px}.hero-bottom{align-items:flex-end}.hero-income strong{display:block;margin:3px 0 0}.goal-card{grid-template-columns:35px minmax(0,1fr) auto;gap:0 8px;padding:18px 16px}.goal-icon{width:35px;height:38px}.goal-card h3{font-size:14px}.goal-date{font-size:12px}.goal-values strong{font-size:18px}.goal-values span{font-size:10px}.goal-bottom strong{font-size:13px}.heading-actions .button{font-size:11px}}
@media(pointer:coarse){.icon-button{min-width:40px;min-height:40px}.table-actions .icon-button{min-width:40px;min-height:40px}.goal-card .goal-edit{min-height:44px}.chart-controls button{min-height:38px}.text-button{min-height:38px}}
.backup-section{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}.backup-section h3{font-size:16px}.backup-section p{font-size:13px;color:#8c7d97;margin:7px 0 14px}.backup-section>div{display:flex;gap:8px;flex-wrap:wrap}#import-summary{font-size:15px;line-height:1.9}.app-update{position:fixed;bottom:24px;left:24px;z-index:80;background:#272330;color:#f4f1fc;border:1px solid #514960;border-radius:14px;padding:13px 16px;display:flex;align-items:center;gap:12px;font-size:14px;max-width:calc(100vw - 32px);box-shadow:0 10px 30px #18102022}.app-update button{font:inherit;border:0;border-radius:8px;background:#ddd4fb;color:#514164;padding:7px 11px;white-space:nowrap}.app-update button:last-child{background:transparent;color:#c6b6d5}.native-app .topbar{padding-top:env(safe-area-inset-top);height:calc(70px + env(safe-area-inset-top))}.native-app .mobile-nav{padding-bottom:calc(9px + env(safe-area-inset-bottom))}.native-app main{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.native-app .toast{bottom:calc(90px + env(safe-area-inset-bottom))}@media(max-width:760px){.app-update{bottom:calc(85px + env(safe-area-inset-bottom));left:16px;right:16px;flex-wrap:wrap;font-size:13px}.native-app .topbar{padding-inline:20px}.native-app .page-footer{padding-bottom:16px}}
.cash-availability{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1.2fr);gap:24px;align-items:center;background:#eeebf7;border:1px solid #e0d9ee;border-radius:16px;padding:18px 23px;margin:-5px 0 24px}.cash-availability>div{display:flex;justify-content:space-between;align-items:center;gap:15px}.cash-availability span{font-size:14px;color:#7b668f}.cash-availability strong{font-size:24px;font-weight:500;white-space:nowrap}.cash-availability p{font-size:12px;color:#9583a7;line-height:1.9}.recent-ledger{margin:0 0 27px}.recent-transaction{display:flex;align-items:center;gap:12px;width:100%;padding:15px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:right}.recent-transaction:last-child{border-bottom:0}.recent-transaction-name{flex:1;font-size:14px;color:var(--ink);min-width:0;overflow-wrap:anywhere}.recent-transaction-name small{font-size:12px;color:#8f819d;display:block;margin-top:3px}.recent-transaction>strong{font-size:17px;white-space:nowrap;font-weight:500;color:#956d82}.recent-transaction>strong small{font-size:11px;font-weight:400}.recent-transaction>svg{width:16px;color:#a493b1}.recent-transaction .income-value{color:#467c65}.ledger-empty-compact{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0 7px}.ledger-empty-compact p{font-size:14px;color:#8a7c98}.bill-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:24px}.bill-list{display:grid;gap:17px}.bill-heading{display:flex;align-items:center;gap:12px}.bill-heading>div{flex:1;min-width:0}.bill-heading h2{font-size:18px}.bill-heading p{font-size:12px;color:#9682a7;margin-top:3px}.bill-main{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.bill-main>div>span{font-size:12px;color:#9783a7;display:block}.bill-main>div>strong{font-size:29px;display:block;margin:5px 0}.bill-main>div>small{font-size:12px;color:#8b779d}.bill-due{background:#f0ecf9;color:#8e70a5;font-size:13px;padding:7px 12px;border-radius:8px}.bill-due.is-overdue{background:#fff0ed;color:#b16c60}.bill-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;border-top:1px solid var(--line)}.bill-footer p{font-size:13px;color:#8c769e;line-height:1.9}.bill-completed{padding-top:18px;font-size:15px;color:#628f78}.payment-form-remaining{font-size:14px;color:#94789d}.payment-form-remaining strong{font-size:18px}.reconcile-current{font-size:15px;margin-bottom:23px;color:#8c769e}.reconcile-current strong{display:block;font-size:28px;color:var(--ink);margin-top:8px}.mobile-nav a{min-width:0;flex:1}.mobile-nav{gap:2px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1020px){.cash-availability{grid-template-columns:1fr;gap:8px}.cash-availability>div{justify-content:flex-start}.bill-summary .stat-value{font-size:25px}}
@media(max-width:760px){.cash-availability{padding:18px;margin-top:0}.cash-availability>div{display:block}.cash-availability>div>span{font-size:14px}.cash-availability strong{display:block;font-size:25px;margin-top:8px}.cash-availability p{font-size:12px}.recent-transaction{gap:9px}.recent-transaction .payment-icon{width:30px;height:33px}.recent-transaction>strong{font-size:16px}.recent-transaction-name{font-size:14px}.recent-transaction-name small{font-size:11px}.recent-transaction>svg{display:none}.ledger-empty-compact{flex-direction:column;align-items:flex-start}.bill-summary{grid-template-columns:1fr;gap:10px}.bill-summary .stat-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px}.bill-summary .stat-value{font-size:24px;margin-top:0}.bill-heading h2{font-size:16px}.bill-main{align-items:flex-start;gap:12px}.bill-main>div>strong{font-size:26px}.bill-due{font-size:12px;max-width:125px;text-align:center}.bill-footer{flex-direction:column;align-items:stretch;gap:12px}.bill-footer p{font-size:13px}.mobile-nav a{font-size:11px}.heading-actions .button{min-height:38px}.page-heading:has(.heading-actions .button:nth-child(2)){flex-direction:column;align-items:stretch}.page-heading:has(.heading-actions .button:nth-child(2)) .heading-actions{justify-content:flex-start}.page-heading:has(.heading-actions .button:nth-child(2)) .heading-actions .button{font-size:14px}}

@media(max-width:480px){dialog .form-grid{grid-template-columns:minmax(0,1fr)}dialog .field-full{grid-column:auto}dialog input[type=date]{max-width:100%;min-inline-size:0}}

.field input[type=date]{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-inline-size:0}.field input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:right}
