@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f6ef;--paper:#fff;--ink:#203b34;--muted:#7a817a;--green:#173e35;--lime:#e7f3aa;--line:#e7e9df;--red:#b94c44;--soft:#edf0e5;--radius:24px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #94b477;outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3,.money{font-family:Manrope,sans-serif}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar{width:238px;position:fixed;left:0;top:0;bottom:0;padding:36px 25px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:var(--bg)}.brand{display:flex;gap:10px;align-items:center;font:800 24px Manrope;letter-spacing:-1px}.brand img{width:37px;height:37px}.brand small{font-size:11px;letter-spacing:0;font-weight:500;color:var(--muted);display:block;margin-top:3px}.side-links{display:grid;gap:9px;margin-top:49px}.side-links button{border:0;background:none;text-align:left;display:flex;gap:14px;align-items:center;padding:14px 17px;border-radius:14px;color:var(--muted);font-weight:600}.side-links button.active{background:var(--green);color:white}.sidebar-bottom{margin-top:auto;padding-top:25px}.side-note{background:#e9eddc;padding:20px;border-radius:18px;line-height:1.65;margin-bottom:20px}.side-note svg{color:#5a733a;margin-bottom:10px}.side-note strong{display:block;font-size:14px}.side-note p{font-size:12px;color:#677257}.profile{display:flex;align-items:center;gap:10px;cursor:pointer}.avatar{width:38px;height:38px;background:#dedfcf;border-radius:50%;display:grid;place-items:center;font-weight:700}.profile small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.main{margin-left:238px;padding:32px 44px 40px;max-width:1510px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:12px}.scope-switch{background:#e9ecdf;padding:5px;border-radius:30px;display:flex;gap:2px}.scope-switch button{border:0;background:transparent;padding:9px 18px;border-radius:25px;font-size:12px;display:flex;gap:7px;align-items:center}.scope-switch button.active{background:white;box-shadow:0 2px 6px #203b3409}.scope-switch svg{width:15px;height:15px}.icon-button{border:1px solid var(--line);background:var(--paper);border-radius:50%;width:42px;height:42px;display:grid;place-items:center}.greeting{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.greeting h1{font-size:30px;font-weight:800;letter-spacing:-1.2px}.greeting p{margin-top:8px;color:var(--muted);font-size:13px}.button{border:0;background:var(--green);color:white;border-radius:12px;padding:13px 19px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.button.light{background:var(--lime);color:var(--green)}.button.soft{background:var(--soft);color:var(--green)}.button.outline{background:transparent;color:var(--ink);border:1px solid var(--line)}.button.danger{background:#f9eae7;color:var(--red)}.button svg{width:18px}.grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,1fr);gap:24px}.stack{display:grid;gap:23px;align-content:start}.balance-card{border-radius:var(--radius);padding:28px;background:var(--green);color:white;position:relative;overflow:hidden;min-height:243px}.balance-card:before,.balance-card:after{content:'';position:absolute;width:270px;height:270px;border:1px solid #ffffff12;border-radius:50%;right:-110px;top:-70px}.balance-card:after{right:-80px;top:-25px}.balance-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1;font-size:12px;color:#c6d6ce}.balance-top span:last-child{font-size:11px;padding:6px 10px;border:1px solid #ffffff22;border-radius:30px}.balance-card .money{font-size:46px;font-weight:700;letter-spacing:-1.8px;line-height:1.3;margin:11px 0 6px;position:relative}.balance-card p{font-size:11px;color:#c6d6ce}.balance-footer{display:flex;gap:40px;border-top:1px solid #ffffff1c;padding-top:20px;margin-top:22px}.balance-footer label{display:block;color:#b7ccc0;font-size:10px;margin-bottom:6px}.balance-footer strong{font-size:17px;font-weight:500}.balance-footer svg{width:14px;height:14px;color:var(--lime);margin-right:5px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:23px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:21px}.section-head h2{font-size:16px;font-weight:800;letter-spacing:-.4px}.text-button{background:none;border:0;font-size:11px;font-weight:600;color:#647662;padding:8px;display:flex;gap:4px;align-items:center}.text-button svg{width:14px;height:14px}.pulse-head{display:flex;gap:9px;align-items:center}.pulse-head svg{color:#779744}.pulse-card .money{font-size:30px;letter-spacing:-1px;font-weight:800}.pulse-row{display:flex;align-items:baseline;justify-content:space-between;margin-top:19px}.muted{color:var(--muted);font-size:12px}.pill{font-size:10px;font-weight:600;background:var(--soft);padding:6px 9px;border-radius:20px;white-space:nowrap}.bar{height:6px;border-radius:9px;background:#eef0e9;overflow:hidden}.bar i{display:block;background:#adc779;height:100%;border-radius:9px;max-width:100%}.pulse-card .bar{margin:17px 0 10px}.checkin{display:flex;gap:15px;align-items:center;background:#edf2df;border:1px solid #e1e8ce;border-radius:19px;padding:19px}.checkin>div:first-child{background:white;border-radius:50%;width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;color:#728e40}.checkin h3{font-size:13px;margin-bottom:5px}.checkin p{font-size:11px;color:#7d866b;line-height:1.5}.checkin .text-button{margin-left:auto;white-space:nowrap;color:#3d5936}.row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #f0f1e9}.row:last-child{border:0;padding-bottom:0}.row:first-of-type{padding-top:0}.category-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:#f1eedf;color:#998949}.category-icon.green{background:#e8f0e5;color:#65895b}.category-icon.blue{background:#e9edf7;color:#7f91b0}.category-icon.pink{background:#f8eae4;color:#b7886c}.row-body{flex:1;min-width:0}.row-body strong{font-size:12px;font-weight:600;display:block;overflow-wrap:anywhere}.row-body small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.row-end{text-align:right;font-weight:600;font-size:12px;white-space:nowrap}.row-end small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:6px}.positive{color:#63895a}.row-action{border:0;background:#edf2e4;color:#678149;border-radius:9px;padding:8px;font-size:10px;margin-left:8px;min-height:35px}.goal-visual{height:100px;position:relative;overflow:hidden;background:#eaf0df;border-radius:15px;padding:15px;display:flex;justify-content:space-between;align-items:center}.goal-visual svg{width:68px;height:68px;color:#779658;transform:rotate(-12deg);stroke-width:1}.goal-visual .eyebrow{color:#758465;font-size:9px}.goal-visual h3{font-size:17px;margin-top:8px}.goal-visual:after{content:'';position:absolute;right:10px;top:-60px;height:200px;width:200px;border:1px solid #78995122;border-radius:50%;pointer-events:none}.goal-number{display:flex;justify-content:space-between;margin:17px 0 12px;font-size:12px}.goal-number strong{font-size:15px}.goal-foot{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.week-strip{display:flex;justify-content:space-between;margin:22px 0 17px;gap:7px}.day{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.day b{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#f1f2eb;font-size:10px;font-weight:500}.day.done b{background:var(--green);color:#e7f3aa}.day.today b{border:1px dashed #91a172}.day svg{width:13px;height:13px}.streak-copy{font-size:11px;color:var(--muted);line-height:1.6}.streak-copy strong{color:var(--ink)}.quick-items{display:flex;gap:8px;flex-wrap:wrap}.quick-item{display:flex;align-items:center;gap:7px;background:#fafaf5;border:1px solid var(--line);border-radius:12px;padding:11px 14px;font-size:11px}.quick-item svg{width:16px;height:16px}.banner{border-radius:12px;padding:11px 15px;background:#fff5db;color:#8a733a;font-size:11px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:10px}.banner button{border:0;background:none;font-weight:700;color:inherit;min-height:30px}.empty{padding:25px 10px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty svg{display:block;margin:0 auto 13px;width:35px;height:35px;color:#96a888}.page-title{margin-bottom:27px}.page-title h1{font-size:29px;letter-spacing:-1px}.page-title p{color:var(--muted);margin-top:8px;font-size:13px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.filters input,.filters select{border:1px solid var(--line);background:white;border-radius:12px;padding:12px;min-width:0}.filters input{flex:1;min-width:150px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.metric strong{font-size:24px;display:block;margin-top:10px;letter-spacing:-1px}.metric small{color:var(--muted);font-size:11px}.budget-row{margin-bottom:22px}.budget-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.budget-row small{display:block;margin-top:7px;color:var(--muted);font-size:10px}.budget-row.over i{background:#d8907e}.donut{width:168px;height:168px;border-radius:50%;margin:5px auto 26px;display:grid;place-items:center;position:relative}.donut:before{content:'';position:absolute;inset:17px;background:white;border-radius:50%}.donut div{position:relative;text-align:center}.donut strong{font-size:23px;display:block}.donut small{font-size:10px;color:var(--muted)}.legend{display:grid;gap:13px}.legend>div{display:flex;align-items:center;gap:9px;font-size:12px}.legend i{width:8px;height:8px;border-radius:50%}.legend strong{margin-left:auto}.chart{height:165px;display:flex;gap:10px;align-items:end;padding-top:20px}.chart>div{flex:1;text-align:center;display:flex;height:100%;flex-direction:column;justify-content:end;gap:7px;font-size:10px;color:var(--muted)}.chart i{width:100%;background:#aec481;border-radius:7px 7px 0 0;display:block;min-height:2px}.settings-list{display:grid;gap:14px}.setting{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.setting h3{font-size:13px;margin-bottom:5px}.setting p{color:var(--muted);font-size:11px;line-height:1.6}.bottom-nav{display:none}dialog{border:0;box-shadow:0 20px 90px #11281b33;border-radius:25px;padding:27px;width:min(480px,calc(100% - 32px));background:var(--bg);color:var(--ink);max-height:90dvh}dialog::backdrop{background:#16362b66;backdrop-filter:blur(5px)}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.sheet-head h2{font-size:21px;letter-spacing:-.6px}.sheet-head .icon-button{width:33px;height:33px}.form{display:grid;gap:16px}.form label{font-size:11px;font-weight:600;display:grid;gap:8px}.form input,.form select,.form textarea{width:100%;border:1px solid #dde2d5;background:var(--paper);border-radius:12px;padding:13px;color:var(--ink);outline:none}.form input:focus,.form textarea:focus,.form select:focus{border-color:#799a63;box-shadow:0 0 0 3px #adc77922}.form .amount{font:700 38px Manrope;letter-spacing:-1px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:6px 0 13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form small{font-weight:400;line-height:1.7;color:var(--muted)}.form .button{width:100%;margin-top:5px}.form-error{color:var(--red);font-size:12px;line-height:1.7}.form-segments{display:flex;gap:5px;background:var(--soft);padding:5px;border-radius:12px}.form-segments button{flex:1;border:0;background:transparent;border-radius:9px;padding:10px;font-size:12px}.form-segments button.active{background:white}.auth-shell{display:grid;place-items:center;min-height:100dvh;padding:24px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:900px;border-radius:30px;overflow:hidden;border:1px solid var(--line);width:100%}.auth-art{background:var(--green);color:white;padding:45px;display:flex;flex-direction:column;justify-content:center}.auth-art h1{font-size:43px;line-height:1.2;letter-spacing:-2px;margin:35px 0 20px}.auth-art p{color:#c4d2c8;line-height:1.8}.auth-art .brand{color:var(--lime)}.auth-form{padding:40px;background:white}.auth-form h2{font-size:23px;margin-bottom:9px}.auth-form>p{color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:25px}.auth-form .text-button{margin:15px auto 0}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#173e35;color:white;padding:14px 22px;border-radius:13px;font-size:12px;z-index:100;opacity:0;transition:.2s;pointer-events:none;width:max-content;max-width:90vw}#toast.show{transform:translate(-50%,0);opacity:1}.subtle{color:var(--muted);line-height:1.7;font-size:11px}.divider{height:1px;background:var(--line);margin:18px 0}.note{padding:14px;background:#edf1e5;border-radius:12px;color:#65754e;font-size:11px;line-height:1.7}.welcome-art{display:flex;align-items:center;justify-content:center;height:100px;background:#e8efd9;border-radius:20px;color:#638449;margin-bottom:20px}.welcome-art svg{width:60px;height:60px}.mobile-brand{display:none}.sync-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8aaa61;margin-right:5px}.sync-dot.pending{background:#d5a555}.streak-badge{color:#759347;background:#eef3df;display:flex;align-items:center;gap:5px}.streak-badge svg{width:14px;height:14px}.row-click{cursor:pointer}.view-enter{animation:appear .25s ease}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.dark{--bg:#172721;--paper:#20372e;--ink:#eff2e8;--muted:#a6b3a5;--green:#264b3d;--soft:#304334;--line:#35473a}.dark .scope-switch,.dark .quick-item,.dark .day b{background:#304334}.dark .scope-switch button.active{background:#42604b}.dark .checkin,.dark .goal-visual,.dark .side-note,.dark .note{background:#304334;color:#cfdfbc}.dark .checkin h3,.dark .goal-visual h3{color:#eff2e8}.dark .row{border-color:var(--line)}.dark .donut:before{background:var(--paper)}.dark .auth-form{background:var(--paper)}.dark .form-segments button.active{background:#456046}.dark .checkin>div:first-child{background:#20372e}.dark .bar{background:#35473a}.dark .banner{background:#4b4027;color:#efdaa3}.dark .positive{color:#b8d791}
@media(min-width:1450px){.main{margin-right:auto;margin-left:260px;padding:40px 60px}.sidebar{width:260px}}@media(max-width:1100px){.sidebar{width:195px;padding:30px 18px}.main{margin-left:195px;padding:28px}.grid{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.balance-footer{gap:25px}.greeting h1{font-size:26px}}@media(max-width:800px){.sidebar{display:none}.main{margin-left:0;padding:22px 22px 110px;max-width:650px;margin-right:auto;margin-left:auto}.mobile-brand{display:flex;font-size:21px}.mobile-brand img{width:30px;height:30px}.topbar{margin-bottom:26px;flex-wrap:wrap;gap:19px}.topbar>.eyebrow{display:none}.top-actions{gap:8px}.top-actions>.icon-button{width:35px;height:35px}.scope-switch{padding:4px}.scope-switch button{padding:8px 11px;font-size:10px}.scope-switch svg{width:12px;height:12px}.greeting{margin-bottom:23px}.greeting h1{font-size:26px;letter-spacing:-1px}.greeting p{font-size:12px;max-width:250px;line-height:1.7}.greeting>.button{display:none}.grid{grid-template-columns:1fr;gap:19px}.stack{gap:19px}.balance-card{padding:25px;min-height:230px}.balance-card .money{font-size:42px}.balance-footer{justify-content:space-between;gap:10px}.balance-footer strong{font-size:15px}.card{padding:21px;border-radius:22px}.checkin{padding:16px;gap:11px}.checkin .text-button{font-size:10px;padding:6px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--paper);border-top:1px solid var(--line);padding:10px 12px max(12px,env(safe-area-inset-bottom));justify-content:space-around;z-index:5}.bottom-nav button{border:0;background:none;color:var(--muted);display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:9px;min-width:48px;min-height:43px}.bottom-nav button.active{color:var(--ink);font-weight:700}.bottom-nav .add-nav{background:var(--green);color:var(--lime);width:49px;height:49px;border-radius:16px;transform:translateY(-7px);box-shadow:0 5px 10px #173e351a}.bottom-nav .add-nav svg{width:25px;height:25px}.two-col{grid-template-columns:1fr;gap:18px}.metrics{gap:9px}.metric{padding:15px 12px}.metric strong{font-size:20px}.metric small{font-size:9px}#toast{bottom:100px}.auth-layout{grid-template-columns:1fr}.auth-art{padding:26px}.auth-art h1{font-size:29px;letter-spacing:-1px;margin:20px 0 12px}.auth-art p{font-size:12px}.auth-form{padding:25px}dialog{padding:23px;border-radius:25px 25px 0 0;width:100%;max-width:550px;margin:auto auto 0;max-height:92dvh;padding-bottom:max(25px,env(safe-area-inset-bottom))}.banner{font-size:10px}.page-title h1{font-size:26px}.section-head{margin-bottom:18px}}@media(max-width:360px){.main{padding:18px 16px 110px}.mobile-brand{font-size:18px}.scope-switch button{padding:7px 8px}.top-actions{gap:5px}.topbar{gap:10px}.checkin{flex-wrap:wrap}.checkin .text-button{margin-left:54px}.balance-card .money{font-size:37px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(max-width:800px){.grid{display:flex;flex-direction:column}.grid>.stack{display:contents}.grid .balance-card{order:1}.grid .today-pulse{order:2}.grid .checkin{order:3}.grid .quick-card{order:4}.grid .upcoming-card{order:5}.grid .target-card{order:6}.grid .recent-card{order:7}.grid .streak-card{order:8}.grid .sync-note{order:9}}

/* Signature wordmark is outlined SVG and works without external font loading. */
.brand .wordmark{width:188px;height:49px;max-width:100%;object-fit:contain;object-position:left center}.brand .wordmark-light{display:none}.dark .brand .wordmark-dark,.auth-art .brand .wordmark-dark{display:none}.dark .brand .wordmark-light,.auth-art .brand .wordmark-light{display:block}
@media(max-width:1100px) and (min-width:801px){.brand .wordmark{width:160px;height:43px}}
@media(max-width:800px){.mobile-brand .wordmark{width:185px;height:48px}.topbar{justify-content:space-between;gap:15px;margin-bottom:25px}.top-actions{display:contents}.mobile-brand{order:1}.topbar>.top-actions>.icon-button{order:2;width:38px;height:38px}.topbar>.top-actions>.scope-switch{order:3;flex-basis:100%;width:100%;padding:5px}.topbar>.top-actions>.scope-switch button{flex:1;justify-content:center;font-size:12px;padding:10px}.topbar>.top-actions>.scope-switch svg{width:15px;height:15px}.auth-art .brand .wordmark{width:210px;height:55px}}

/* Everyday entry flow */
[hidden]{display:none!important}.full{width:100%}.loading-card{text-align:center;max-width:430px;padding:40px}.simple-home{display:grid;grid-template-columns:1fr 1fr;gap:20px}.simple-home .balance-card{margin:0}.today-total{display:flex;align-items:baseline;gap:12px;margin:18px 0 22px}.today-total .money{font-size:32px}.today-entries{margin-top:15px}.daily-check{display:flex;align-items:center;gap:10px;width:100%;margin-top:20px;padding:14px 0 0;border:0;border-top:1px solid var(--line);background:none;color:var(--muted);font:inherit;font-size:13px;text-align:left}.daily-check span{flex:1}.easy-quick .quick-items{display:grid;grid-template-columns:1fr 1fr}.plan-peek{align-self:start}.plan-peek summary{display:flex;gap:12px;align-items:center;cursor:pointer;list-style:none;min-height:30px}.plan-peek summary>span:first-child{display:flex;align-items:center;gap:9px;font-weight:600;flex:1}.plan-peek summary>.muted{font-size:12px}.onboarding-card{width:100%;max-width:490px;padding:32px;margin:auto}.onboarding-card h1{font-size:28px}.checkbox-row{display:flex!important;align-items:center;gap:10px}.checkbox-row input{width:20px!important;height:20px!important}.optional-setup,.entry-details{border-top:1px solid var(--line);padding-top:16px}.optional-setup summary,.entry-details summary{display:flex;align-items:center;justify-content:space-between;font-size:13px;cursor:pointer;color:var(--muted);min-height:34px}.entry-top{display:flex;align-items:center;gap:12px}.entry-top .form-segments{flex:1;margin:0}.entry-more-menu{position:relative}.entry-more-menu summary{display:flex;gap:4px;align-items:center;cursor:pointer;font-size:13px;list-style:none;padding:10px}.entry-more-menu>div{position:absolute;right:0;top:40px;width:190px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 6px 25px #0002;z-index:4}.entry-more-menu button{display:block;width:100%;border:0;background:none;text-align:left;padding:12px;color:var(--ink);font:inherit}.field-label{font-size:13px;font-weight:600;display:block;margin-bottom:10px}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.payment-chip{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:68px;border:1px solid var(--line);border-radius:12px;background:none;color:var(--muted);font:inherit;font-size:12px;padding:10px 5px}.payment-chip.active{border-color:var(--green);background:#e7f3aa;color:#173e35}.launch-note{padding:15px;border-radius:12px;background:var(--bg);font-size:13px;line-height:1.6;margin-top:18px}.entry-details[open] summary{margin-bottom:8px}.simple-entry #entry-mode:empty{display:none}
@media(max-width:700px){.simple-home{grid-template-columns:1fr;gap:16px}.onboarding-card{padding:25px 22px}.onboarding-card h1{font-size:26px}.simple-home .balance-card{padding:23px}.simple-home .balance-card .money{font-size:38px}.simple-home .daily-card{padding:22px}.simple-home .daily-card .row{padding:13px 0}.easy-quick .quick-item{font-size:12px;gap:8px}.greeting>button{display:none}.simple-entry{gap:17px}.payment-chip{min-height:65px}.entry-more-menu summary{padding:9px 5px}.auth-shell:has(.onboarding-card){padding:25px 16px}}

.credit-footer{text-align:center;margin-top:18px;font-size:12px;color:var(--muted)}.developer-credit{display:inline-block;padding:8px 0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--line);font-size:12px}.developer-credit:hover{color:var(--ink);text-decoration-color:currentColor}
/* V1.1: optional debts and collections. */
.plan-tabs{margin-bottom:24px;overflow-x:auto;max-width:100%}.debt-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.debt-filters input{min-width:0}.debt-list{padding-top:8px;padding-bottom:8px}.debt-row{display:flex;align-items:center;gap:14px;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;padding:20px 0;cursor:pointer;font:inherit}.debt-row:last-child{border-bottom:0}.debt-row>svg{width:18px;flex-shrink:0}.debt-row .row-body{min-width:0}.debt-row strong{overflow-wrap:anywhere}.debt-detail .money{margin:15px 0 8px}.friend-note{padding:14px;background:var(--soft);border-radius:14px;line-height:1.6}.debt-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.receipt-actions{display:flex;flex-direction:column;align-items:flex-end}.receipt-paper{background:#fff;color:#173e35;padding:22px;border:1px solid #e0e3d8;border-radius:16px}.receipt-paper img{width:220px;max-width:100%;margin-bottom:20px}.receipt-paper dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;font-size:14px;margin:24px 0}.receipt-paper dd{margin:0;text-align:right;overflow-wrap:anywhere}.receipt-paper small{overflow-wrap:anywhere}.debt-note{margin-top:18px} @media(max-width:600px){.debt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.debt-filters{display:grid;grid-template-columns:1fr}.debt-row{gap:10px}.debt-row .category-icon{width:38px;height:38px;flex-shrink:0}.debt-row .row-end{font-size:15px}.debt-actions .button{flex:1;min-width:140px}.plan-tabs button{padding:10px 12px}.debt-row small{line-height:1.5}}
@media(max-width:800px){.topbar>.top-actions>.money-spaces{border-radius:18px;gap:3px}.topbar>.top-actions>.money-spaces button{min-width:0;padding:11px 7px;gap:5px;font-size:11px;white-space:nowrap}}@media(max-width:360px){.topbar>.top-actions>.money-spaces button{font-size:10px;padding:10px 5px}.money-spaces svg{display:none}}
.room-toolbar{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:25px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--paper)}.room-toolbar h2{margin:8px 0}.room-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.room-buttons .button{padding:10px 13px}.room-welcome p{margin:18px 0;line-height:1.7}.room-welcome h1{margin-top:18px}.room-picker{margin-top:20px}.audit-event{border-bottom:1px solid var(--line);padding:16px 0}.audit-event summary{cursor:pointer;line-height:1.8}.audit-event small{display:block;color:var(--muted)}.audit-event pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:240px;overflow:auto;background:var(--soft);padding:12px;border-radius:12px}#room-invite-code{width:100%;padding:14px;border:1px solid var(--line);border-radius:12px;margin:20px 0}
.audit-values{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:12px}.audit-values dt{color:var(--muted)}.audit-values dd{margin:0;overflow-wrap:anywhere}
/* Mobile shell: the content scrolls; navigation owns its bottom row. */
@media(max-width:800px){
 body.app-ready{overflow:hidden;overscroll-behavior-y:none}
 .app-ready #app{position:fixed;inset:0;height:100%;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 .app-ready .main{flex:1;min-height:0;width:100%;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:32px;padding-top:max(22px,env(safe-area-inset-top));scrollbar-gutter:stable}
 .app-ready .bottom-nav{position:relative;inset:auto;flex:0 0 auto;width:100%;min-height:74px;padding:10px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));z-index:10}
 .bottom-nav button{min-height:48px}.bottom-nav .add-nav{transform:none}
}
/* A separate visual identity for the collection workspace. */
body.collection-mode{--bg:#f1f4f9;--paper:#fff;--ink:#1c2942;--muted:#63718a;--green:#243b68;--lime:#96f0d3;--soft:#e7edf7;--line:#dce3ee}
body.collection-mode.dark{--bg:#111b2d;--paper:#1b2941;--ink:#eef3fb;--muted:#a5b5cc;--green:#304d7b;--soft:#253851;--line:#34465f}
.collection-mode .sidebar{background:var(--paper)}.collection-mode .side-note{background:var(--soft);color:var(--ink)}.collection-mode .side-note p{color:var(--muted)}
.collection-mode .scope-switch{background:var(--soft)}.collection-mode .scope-switch button.active{background:var(--green);color:white;box-shadow:0 3px 8px #14254420}
.collection-mode .bottom-nav{box-shadow:0 -8px 30px #1c294208}.collection-mode .bottom-nav .add-nav{background:#243b68;color:#96f0d3;border-radius:50%}
.collection-mode .room-toolbar{background:transparent;border:0;padding:0 0 20px;align-items:flex-start;gap:18px}.collection-mode .room-toolbar h2{font-size:27px;letter-spacing:-.8px;overflow-wrap:anywhere;margin:6px 0}.collection-mode .room-toolbar .eyebrow{color:var(--muted)}.collection-mode .room-toolbar p{max-width:380px}.collection-mode .room-buttons{gap:7px}.collection-mode .room-buttons .button{font-size:11px;padding:10px 12px;min-height:44px;background:var(--paper)}.collection-mode .room-buttons .button:not(.outline){background:var(--green)}
.collection-dashboard{display:grid;gap:20px}.collection-hero{background:radial-gradient(ellipse at 100% 0,#395382 0,transparent 55%),#192d50;border-radius:26px;color:#fff;padding:30px;box-shadow:0 12px 32px #19345818;overflow:hidden}.collection-hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.collection-hero .eyebrow{color:#bbcadf}.collection-live{font-size:11px;color:#c3d7ed;border:1px solid #aac6eb33;border-radius:30px;padding:7px 10px}.collection-hero .money{font-size:48px;letter-spacing:-2px;font-weight:800;margin:14px 0 4px;overflow-wrap:anywhere}.collection-hero>p{color:#b8cae3;font-size:12px}.collection-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:25px 0 10px;color:#d1def0}.collection-progress-label strong{color:#96f0d3}.collection-progress,.collection-loan-progress{display:block;background:#ffffff20;height:8px;border-radius:10px;overflow:hidden}.collection-progress i,.collection-loan-progress i{display:block;height:100%;background:#96f0d3;border-radius:10px}.collection-hero-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;font-size:11px;color:#b8cae3}.collection-hero-footer strong{display:block;font-size:19px;color:white;margin-top:5px}.collection-hero-footer .button{background:#96f0d3;color:#173953;min-height:46px}
.collection-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.collection-stats>article,.collection-stats>button{background:var(--paper);border:1px solid var(--line);padding:20px;border-radius:20px;text-align:left;display:grid;gap:8px;color:var(--ink);min-width:0}.collection-stat-icon{background:#dff7ef;color:#237660;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;margin-bottom:4px}.collection-stat-icon.warm{background:#fff0df;color:#a46823}.collection-stats small{font-size:12px;color:var(--muted)}.collection-stats strong{font:800 24px Manrope;letter-spacing:-.6px;overflow-wrap:anywhere}.collection-stats>article>span:last-child,.collection-stats>button>span:last-child{font-size:11px;color:var(--muted)}.collection-stats>button>span:last-child svg{width:13px;height:13px}
.collection-ledger{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:24px}.collection-ledger .section-head{margin-bottom:18px}.collection-ledger h2{font-size:21px;margin-top:6px}.collection-ledger .filters{display:grid;grid-template-columns:1fr 180px;margin-bottom:18px}.collection-ledger .filters input,.collection-ledger .filters select{background:var(--bg);color:var(--ink);width:100%;min-width:0;min-height:46px}.collection-loans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.collection-loan.debt-row{display:flex;flex-direction:column;align-items:stretch;gap:17px;padding:20px;border:1px solid var(--line);border-radius:19px;background:var(--paper);transition:border-color .15s,box-shadow .15s}.collection-loan:hover{border-color:#709ac1;box-shadow:0 4px 18px #243b680a}.collection-loan-top{display:flex;align-items:center;gap:12px}.collection-loan-top>svg{width:17px;color:var(--muted)}.collection-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--soft);color:var(--green);font:800 17px Manrope;flex-shrink:0}.collection-loan .row-body strong{font-size:15px}.collection-loan .row-body small{font-size:11px}.collection-loan-balance{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.collection-loan-balance small{display:block;color:var(--muted);font-size:10px}.collection-loan-balance strong{display:block;font:800 24px Manrope;letter-spacing:-.5px;margin-top:4px;overflow-wrap:anywhere}.collection-status{font-size:10px;padding:7px 10px;border-radius:20px;background:var(--soft);color:var(--muted)}.collection-status.attention{background:#fff0df;color:#925b1d}.collection-status.settled{background:#dff7ef;color:#237660}.collection-loan-progress{background:var(--soft);height:5px}.collection-loan-progress i{background:#3ca88b}.collection-loan-foot{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;line-height:1.6}.collection-empty{grid-column:1/-1;display:grid;justify-items:center;text-align:center;gap:13px;padding:36px 15px}.collection-empty>svg{width:40px;height:40px;color:#7793b9}.collection-empty h3{font-size:18px}.collection-empty p{color:var(--muted);font-size:12px;max-width:310px;line-height:1.7}.collection-dashboard .debt-note{margin:0;font-size:11px}
.collection-welcome{padding:40px!important;background:radial-gradient(ellipse at top right,#395382,transparent 65%),#192d50!important;color:white;border:0!important}.collection-welcome .category-icon{background:#96f0d3;color:#192d50;margin-bottom:28px}.collection-welcome .eyebrow{color:#a9c1df}.collection-welcome h1{font-size:43px!important;letter-spacing:-1.5px;line-height:1.18;margin-top:12px!important}.collection-welcome .subtle{color:#c0d0e6;max-width:480px;font-size:14px;line-height:1.85}.collection-features{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.collection-features span{border:1px solid #ffffff30;border-radius:24px;padding:9px 12px;color:#c0d0e6;font-size:11px}.collection-welcome .button{background:#96f0d3;color:#192d50}.collection-welcome .button.outline{background:transparent;border-color:#ffffff55;color:white}
@media(max-width:800px){.collection-mode .room-toolbar{display:grid;gap:14px}.collection-mode .room-toolbar h2{font-size:25px}.collection-mode .room-buttons{justify-content:flex-start;flex-wrap:wrap}.collection-hero{padding:24px;border-radius:24px}.collection-hero .money{font-size:40px}.collection-hero-top .eyebrow{font-size:9px;letter-spacing:1px}.collection-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-stats>article,.collection-stats>button{padding:17px}.collection-stats>button:last-child{grid-column:1/-1;grid-template-columns:36px 1fr auto;align-items:center;gap:4px 12px}.collection-stats>button:last-child .collection-stat-icon{grid-row:1/3;margin:0}.collection-stats>button:last-child strong{grid-column:3;grid-row:1/3}.collection-stats>button:last-child>span:last-child{grid-column:2}.collection-stats strong{font-size:22px}.collection-loans{grid-template-columns:1fr}.collection-ledger{padding:20px}.collection-ledger .filters{grid-template-columns:minmax(0,1fr) 140px;gap:8px}.collection-ledger .filters input,.collection-ledger .filters select{font-size:12px;padding:11px}.collection-welcome{padding:28px!important}.collection-welcome h1{font-size:35px!important}.collection-welcome .subtle{font-size:13px}}
@media(max-width:360px){.collection-hero{padding:20px}.collection-hero .money{font-size:34px}.collection-ledger{padding:16px}.collection-ledger .filters{grid-template-columns:1fr}.collection-stats strong{font-size:20px}.collection-welcome h1{font-size:31px!important}}
.balance-plan{display:grid;gap:7px;padding:18px 0 0;margin-top:19px;border-top:1px solid #ffffff25;position:relative}.balance-plan>span{font-size:11px;color:#c6d6ce}.balance-plan strong{font:700 23px Manrope;color:#e7f3aa;letter-spacing:-.5px}.balance-plan small{font-size:10px;line-height:1.6;color:#c6d6ce}.commitment-home{grid-column:1/-1}.commitment-home .section-head{margin-bottom:10px}.commitment-home>.text-button{margin-top:16px}.commitment-row{gap:12px;flex-wrap:wrap}.commitment-row .row-body{min-width:100px}.commitment-row .row-body small{line-height:1.7}.commitment-row .row-action{min-height:44px;font-size:11px;padding:9px 13px;margin-left:0}.commitment-row .text-button{min-height:34px;font-size:11px}.commitment-row .row-end{font-size:14px}.commitment-late{color:var(--red)!important}.future-commitments{margin-top:18px}.future-commitments:has(.subtle:only-child){display:none}
@media(max-width:600px){.commitment-row .category-icon{width:34px;height:34px;border-radius:11px}.commitment-row .row-end{font-size:13px}.commitment-row .row-action{flex-basis:100%;margin-left:46px;justify-content:center;display:flex;align-items:center}.commitment-row .row-body strong{font-size:13px}.commitment-home{padding:20px}.balance-plan strong{font-size:22px}}

.commitment-paid-heading{font-size:12px;color:var(--muted);margin:4px 0 8px}

/* Collection ledger and import flow, with restrained motion. */
.collection-hero{position:relative;isolation:isolate}.collection-hero:after{content:'';position:absolute;right:-65px;top:-80px;width:270px;height:270px;border:35px solid #96f0d30c;border-radius:50%;pointer-events:none;z-index:-1}.collection-hero .money{font-variant-numeric:tabular-nums}.collection-progress i,.collection-loan-progress i{transition:width .65s ease}.collection-loan{animation:ledger-arrive .35s ease both}.collection-loan:nth-child(2){animation-delay:.04s}.collection-loan:nth-child(3){animation-delay:.08s}.collection-loan:nth-child(4){animation-delay:.12s}.collection-loan:hover{transform:translateY(-2px)}.collection-loan:active{transform:scale(.99)}.collection-interest-strip{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:20px}.collection-interest-strip>div{display:grid;gap:8px}.collection-interest-strip small{color:var(--muted);font-size:11px}.collection-interest-strip strong{font:800 25px Manrope;overflow-wrap:anywhere}.collection-interest-strip span{color:var(--muted);font-size:10px;line-height:1.6}.collection-loan-interest{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:10px;border-top:1px dashed var(--line);padding-top:12px}.collection-ledger-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.collection-ledger-actions .button{font-size:12px;padding:11px 13px;min-height:44px}.collection-ledger .section-head{flex-wrap:wrap;gap:16px}
.import-intro{display:grid;justify-items:center;gap:14px;text-align:center;margin:15px 0 24px}.import-intro h3{font-size:23px;letter-spacing:-.7px}.import-intro p{color:var(--muted);line-height:1.7;max-width:360px}.import-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:#e0f6ef;color:#237660}.import-symbol svg{width:28px;height:28px}.import-steps{display:flex;list-style:none;padding:0;gap:7px;margin:10px 0 20px}.import-steps li{flex:1;padding:11px 6px;font-size:10px;color:var(--muted);background:var(--soft);border-radius:12px;text-align:center;overflow-wrap:anywhere}.import-steps .active{background:var(--green);color:white}.import-drop{display:grid;gap:12px;place-items:center;text-align:center;position:relative;min-height:150px;border:2px dashed #7895b8;background:var(--soft);border-radius:22px;margin:20px 0;padding:28px;cursor:pointer}.import-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.import-drop:focus-within{outline:3px solid #3ca88b;outline-offset:3px}.import-drop strong{font-size:17px}.import-drop span{font-size:12px;color:var(--muted)}#import-read-status{margin-top:14px;color:var(--red)}.import-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.import-summary>div{display:grid;gap:8px;background:var(--soft);border-radius:16px;padding:17px;min-width:0}.import-summary strong{font:800 21px Manrope;overflow-wrap:anywhere}.import-summary span{color:var(--muted);font-size:11px;line-height:1.5}.import-filter{display:flex;gap:8px;margin:12px 0}.import-filter button{border:1px solid var(--line);border-radius:30px;background:var(--paper);padding:12px 16px;font-size:12px}.import-filter button.active{background:var(--green);color:white}.import-rows{display:grid;gap:12px}.import-row{border:1px solid var(--line);border-radius:18px;padding:17px;background:var(--paper)}.import-row.invalid{border-left:4px solid #bd574b}.import-row.review{border-left:4px solid #bd8531}.import-row-head{display:flex;align-items:center;justify-content:space-between;gap:9px}.import-row-head .checkbox-row{min-width:0}.import-row-head strong{display:block;overflow-wrap:anywhere;font-size:13px}.import-row-head small{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.import-row-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.import-row-values span{font-size:10px;color:var(--muted)}.import-row-values strong{display:block;color:var(--ink);font-size:13px;overflow-wrap:anywhere;margin-top:5px}.import-error,.import-warning{font-size:11px;line-height:1.65;margin-top:12px;padding:8px 10px;border-radius:9px}.import-error{background:#fbe8e5;color:#9f4035}.import-warning{background:#fff1dc;color:#8e611e}.import-row>.checkbox-row{margin-top:13px;line-height:1.6;font-size:11px}.import-history{border-bottom:1px solid var(--line);padding:18px 0;display:grid;gap:8px}.import-history strong{overflow-wrap:anywhere}.import-history small,.import-history span{color:var(--muted);font-size:11px}.import-success{display:grid;gap:18px;justify-items:center;text-align:center;padding:25px 0}.import-success>svg{width:70px;height:70px;padding:16px;background:#dff7ef;color:#237660;border-radius:50%;animation:ledger-arrive .4s ease}.import-success p{line-height:1.7}.import-review input[type=checkbox]{width:20px;height:20px;flex-shrink:0;accent-color:#237660}.import-review>.button[type=submit]{position:sticky;bottom:-1px;z-index:2;box-shadow:0 -5px 15px var(--paper);min-height:50px}
@keyframes ledger-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.collection-interest-strip{padding:18px;gap:14px}.collection-interest-strip strong{font-size:21px}.collection-ledger-actions{width:100%}.collection-ledger-actions .button{flex:1;justify-content:center}.import-summary strong{font-size:19px}.import-row{padding:14px}.import-row-values{gap:8px}.import-row-values strong{font-size:12px}.import-steps li{font-size:9px;padding:10px 4px}.import-intro h3{font-size:21px}}
@media(prefers-reduced-motion:reduce){.collection-loan,.import-success>svg{animation:none}.collection-progress i,.collection-loan-progress i,.collection-loan{transition:none}.collection-loan:hover,.collection-loan:active{transform:none}}
/* Billing, borrower ledger and conflict review use the existing room palette. */
.borrower-panel summary{cursor:pointer;font-weight:700;font-size:18px;padding:4px 0}
.borrower-panel details[open]>summary{margin-bottom:16px}
.borrower-link{display:flex;align-items:center;gap:14px;width:100%;padding:16px 0;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.borrower-link>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.borrower-link>span:nth-child(2){text-align:right}.borrower-link small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.borrower-link svg{width:18px;height:18px;flex-shrink:0}
.conflict-table{overflow-x:auto;margin:20px 0}.conflict-table table{width:100%;border-collapse:collapse;font-size:13px}.conflict-table th,.conflict-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere;max-width:220px}
#toast.show{display:flex;align-items:center;gap:20px}#toast .text-button{color:inherit;text-decoration:underline;flex-shrink:0}
.balance-plan>span:not(:first-child){margin-top:12px}.balance-plan small{display:block;margin-top:6px}
@media(max-width:600px){.conflict-table th,.conflict-table td{max-width:130px}.borrower-link{gap:8px}.borrower-link small{font-size:11px}}
