:root{color:#10211b;font-synthesis:none;text-rendering:optimizelegibility;--green:#087a54;--green-dark:#006844;--green-deep:#00573a;--green-soft:#e9f5f0;--green-light:#83d18d;--orange:#f25c18;--purple:#7a31c4;--red:#cf252d;--charcoal:#10211b;--muted:#64716b;--line:#dfe5e1;--soft-line:#edf1ee;--surface:#fff;--surface-soft:#f7f9f8;--radius:16px;--shadow:0 10px 26px #0e2d2214;background:#edf1ef;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}html{background:#edf1ef}body{min-width:320px;min-height:100dvh;color:var(--charcoal);background:#edf1ef;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #087a5440}.app-frame{background:#fff;width:100%;max-width:430px;height:100dvh;min-height:640px;margin:0 auto;position:relative;overflow:hidden;box-shadow:0 0 34px #112a201a}.app-main{overscroll-behavior-y:contain;height:100%;overflow:hidden auto}.screen-pad{padding:calc(env(safe-area-inset-top) + 22px) 20px calc(env(safe-area-inset-bottom) + 112px)}.secondary-frame .screen-pad{padding-bottom:calc(env(safe-area-inset-bottom) + 34px)}.bottom-nav{z-index:20;width:min(100%,430px);height:calc(74px + env(safe-area-inset-bottom));padding:7px 18px env(safe-area-inset-bottom);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-item{color:#65706b;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:12px;font-weight:550;display:flex;position:relative}.nav-item:before{content:"";background:0 0;border-radius:0 0 4px 4px;width:38px;height:3px;position:absolute;top:-7px}.nav-item.active{color:var(--green);font-weight:720}.nav-item.active:before{background:var(--green)}.nav-item svg{width:24px;height:24px}.home-hero{padding:calc(env(safe-area-inset-top) + 22px) 20px 26px;color:#fff;background:var(--green-dark);border-bottom:1px solid #ffffff1f}.home-header,.screen-header,.secondary-header{justify-content:space-between;align-items:center;min-height:44px;margin-bottom:18px;display:flex}.home-month,.screen-header h1,.secondary-header h1{letter-spacing:-.04em;margin:0;font-size:27px;font-weight:780;line-height:1.08}.home-header .settings-button{color:#fff}.settings-button,.header-back,.secondary-header>a{border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.balance-card{min-width:0}.balance-label{color:#a8ddc0;letter-spacing:.13em;text-transform:uppercase;margin:10px 0 7px;font-size:13px;font-weight:780}.balance-value{white-space:nowrap;letter-spacing:-.05em;font-size:clamp(29px,8vw,36px);font-weight:790}.balance-value span{letter-spacing:-.02em;color:#dcece5;font-size:17px;font-weight:520}.balance-details{grid-template-columns:minmax(0,1fr) 114px;align-items:center;gap:13px;margin-top:18px;display:grid}.balance-copy p{white-space:nowrap;align-items:center;gap:9px;margin:10px 0;font-size:15px;display:flex}.balance-copy p span{color:#d4e4dd}.balance-copy .tithe-line{color:#eee3ff;margin-top:15px}.dot{border-radius:50%;flex:none;width:9px;height:9px;display:inline-block}.dot.green{background:#71ce8a}.dot.orange{background:var(--orange)}.dot.purple{background:#a45ce4}.dot.charcoal{background:var(--charcoal)}.utilization-ring{border-left:1px solid #ffffff73;width:110px;height:110px;padding-left:10px;position:relative}.utilization-ring svg{width:100%;height:100%;display:block;transform:rotate(-90deg)}.utilization-ring circle{fill:none;stroke-width:8px}.utilization-ring .ring-track{stroke:#e9edef}.utilization-ring .ring-value{stroke:var(--green);stroke-linecap:round;transition:stroke-dasharray .65s}.utilization-ring>span{flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0 0 0 10px}.utilization-ring b{letter-spacing:-.04em;font-size:28px}.utilization-ring small{color:#d8e9e1;font-size:13px}.home-content.screen-pad{padding-top:16px}.allowance-card{color:#fff;background:var(--green-deep);min-height:130px;box-shadow:var(--shadow);border-radius:18px;grid-template-columns:1fr 1fr;margin:0 0 22px;padding:16px 14px;display:grid}.allowance-card>div{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:9px;min-width:0;display:grid}.allowance-card>div+div{border-left:1px solid #ffffff73;margin-left:12px;padding-left:12px}.allowance-icon{color:#d3f3df;background:#ffffff1c;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.allowance-card p{flex-direction:column;min-width:0;margin:0;display:flex}.allowance-card small{color:#a9dea9;letter-spacing:.055em;text-transform:uppercase;font-size:10px;font-weight:780}.allowance-card b{letter-spacing:-.035em;white-space:nowrap;margin-top:12px;font-size:clamp(16px,4.2vw,19px)}.allowance-card p>span{color:#d9e8e1;white-space:nowrap;margin-top:2px;font-size:11px}.allocation-heading{justify-content:space-between;align-items:center;gap:14px;min-height:44px;display:flex}.allocation-heading h2{letter-spacing:-.035em;margin:0;font-size:22px}.allocation-heading a{border:1px solid var(--green);min-height:38px;color:var(--green);border-radius:999px;align-items:center;gap:6px;padding:0 13px;font-size:14px;font-weight:720;display:inline-flex}.category-list{border-bottom:1px solid var(--line)}.category-row{border-top:1px solid var(--line);grid-template-columns:54px minmax(0,1fr) 18px;align-items:center;min-height:92px;display:grid;position:relative}.category-row:first-child{border-top:0}.category-icon{border-radius:50%;flex:none;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.category-row-main{min-width:0;padding:13px 7px 13px 0}.category-row-heading{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.category-row h2,.category-row h3{letter-spacing:-.025em;margin:0;font-size:18px;line-height:1.2}.category-row-heading>b{font-size:17px}.category-row p{color:#52615a;margin:4px 0 9px;font-size:13px}.row-chevron{color:#6a756f}.progress-track{background:#e8ece9;border-radius:10px;width:100%;height:6px;display:block;overflow:hidden}.progress-fill{border-radius:inherit;height:100%;transition:width .65s;display:block}.home-add-transaction{z-index:22;left:50%;bottom:calc(63px + env(safe-area-inset-bottom));width:min(250px,100% - 70px);min-height:54px;position:fixed;transform:translate(-50%);box-shadow:0 8px 22px #004e3445}.primary-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:50px;font-size:16px;font-weight:750;display:flex}.primary-button:hover{background:var(--green-dark)}.primary-button:disabled{opacity:.55}.text-button{width:100%;min-height:44px;color:var(--green);cursor:pointer;background:0 0;border:0;font-weight:700}.inline-action{min-height:38px;color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;margin:6px auto 0;font-weight:700;display:inline-flex}.open-list-action{border:0;border-bottom:1px solid var(--line);width:100%;min-height:50px;color:var(--green);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:7px;font-size:15px;font-weight:720;display:flex}.open-list-action.left{border:0;justify-content:flex-start;padding:13px 0}.screen-header{min-height:76px;margin:calc((env(safe-area-inset-top) + 22px) * -1) -20px 14px;padding:calc(env(safe-area-inset-top) + 22px) 20px 12px;color:#fff;background:var(--green-dark);position:relative}.screen-header h1{flex:1}.screen-header:has(.header-back) h1{padding-left:7px}.month-switcher{grid-template-columns:42px 1fr 42px;align-items:center;min-height:42px;margin:0 0 15px;display:grid}.month-switcher button,.year-switcher button{background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:8px;display:flex}.month-switcher button:hover,.year-switcher button:hover{background:var(--green-soft)}.month-switcher button:disabled{opacity:.18}.month-switcher a{text-align:center;font-size:17px;font-weight:740}.plan-summary-card{border-radius:var(--radius);background:var(--surface-soft);border:1px solid #d7e2dc;margin-bottom:20px;padding:16px;position:relative}.plan-summary-card>div{justify-content:space-between;align-items:center;gap:10px;min-height:34px;display:flex}.plan-summary-card span{align-items:center;gap:8px;font-size:14px;display:flex}.plan-summary-card b{font-size:15px}.plan-summary-card .purple{color:var(--purple)}.plan-summary-card hr{border:0;border-top:1px solid var(--line);margin:9px 0}.section-heading h2,.large-section-title{letter-spacing:-.03em;margin:0 0 8px;font-size:21px}.category-row.compact{min-height:76px}.category-row.compact .category-row-main{padding:9px 7px 9px 0}.category-row.compact h3{font-size:16px}.category-row.compact .category-row-heading span{font-size:13px}.category-row.compact .category-row-main>b{margin:2px 0 5px;font-size:13px;display:block}.category-row.compact .progress-track{height:5px}.allocation-status{border-bottom:1px solid var(--line);min-height:44px;color:var(--green);justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:720;display:flex}.allocation-status.error{color:var(--red)}.weekly-rhythm{border-radius:var(--radius);background:var(--green-soft);margin-top:20px;padding:18px 16px 0}.weekly-rhythm h2{margin:0;font-size:20px}.weekly-rhythm>p{color:var(--muted);margin:4px 0 16px;font-size:12px}.rhythm-metrics{border-bottom:1px solid #cfe2d8;grid-template-columns:1fr 1fr;padding-bottom:15px;display:grid}.rhythm-metrics div{flex-direction:column;align-items:center;display:flex}.rhythm-metrics div+div{border-left:1px solid #c5d8cf}.rhythm-metrics b{font-size:15px}.rhythm-metrics span{color:var(--muted);font-size:11px}.fixed-row{grid-template-columns:1fr auto 20px;align-items:center;gap:8px;min-height:50px;font-size:13px;display:grid}.activity-summary{color:var(--muted);justify-content:space-between;align-items:center;margin:1px 0 14px;font-size:13px;display:flex}.activity-summary b{color:var(--charcoal);font-size:16px}.search-field{color:#6d7973;background:var(--surface-soft);border:1px solid #d5ded9;border-radius:13px;align-items:center;gap:9px;height:46px;margin-bottom:13px;padding:0 13px;display:flex}.search-field input{background:0 0;border:0;outline:0;width:100%;font-size:15px}.filter-scroll{scrollbar-width:none;gap:8px;margin:0 -20px 16px;padding:0 20px;display:flex;overflow-x:auto}.filter-scroll::-webkit-scrollbar{display:none}.filter-scroll>button{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;gap:5px;min-height:38px;padding:0 12px;font-size:13px;display:flex}.filter-scroll>button.selected{color:#fff;background:var(--green);border-color:var(--green)}.filter-scroll .category-icon{width:24px;height:24px;background:0 0!important}.activity-day h2{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:17px 0 5px;font-size:13px;font-weight:760}.activity-row{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;grid-template-columns:50px minmax(0,1fr) auto 18px;align-items:center;width:100%;min-height:76px;padding:7px 0;display:grid}.activity-row .category-icon{width:42px;height:42px}.activity-kind-icon{background:var(--green-soft);border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.activity-copy{flex-direction:column;min-width:0;display:flex}.activity-copy b{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.activity-copy small{color:var(--muted);font-size:12px}.activity-amount{white-space:nowrap;padding-left:6px;font-size:13px}.fab{bottom:calc(84px + env(safe-area-inset-bottom));z-index:21;background:var(--green);color:#fff;border:0;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;display:flex;position:fixed;left:calc(50% + min(175px,41vw));transform:translate(-100%);box-shadow:0 8px 20px #005a3d47}.empty-state,.empty-goal{text-align:center;color:var(--muted);background:var(--surface-soft);border-radius:var(--radius);padding:30px 12px}.empty-state h2{color:var(--charcoal);margin-bottom:5px}.goals-screen .screen-header{margin-bottom:22px}.goal-card{border-radius:var(--radius);background:var(--surface-soft);border:1px solid #d8e2dd;grid-template-columns:minmax(0,1fr) 20px;gap:9px;margin-bottom:9px;padding:17px;display:grid}.goal-card h3{margin:0;font-size:18px}.goal-card p{color:#4f5e57;margin:4px 0 0;font-size:13px}.goal-card>b{color:var(--green);grid-column:1/-1;font-size:28px;line-height:1}.goal-card .progress-track{grid-column:1/-1;height:7px}.goal-card>span:last-child{color:var(--muted);grid-column:1/-1;font-size:12px}.debt-title{margin-top:23px}.debt-summary{border-radius:var(--radius);background:var(--surface-soft);border:1px solid #d8e2dd;grid-template-columns:1fr 1fr;min-height:88px;display:grid;overflow:hidden}.debt-summary>div{align-items:center;gap:9px;padding:10px;display:flex}.debt-summary>div+div{border-left:1px solid var(--line)}.debt-icon,.debt-doc{color:#6a4a3d;background:#f4eeea;border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.debt-summary p{flex-direction:column;margin:0;display:flex}.debt-summary b{white-space:nowrap;font-size:14px}.debt-summary small{color:var(--muted);font-size:10px}.debt-row{border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) auto 18px;align-items:center;min-height:78px;display:grid}.debt-row>span:nth-child(2){flex-direction:column;display:flex}.debt-row>span b{font-size:15px}.debt-row>span small{color:var(--muted);font-size:11px}.debt-row em{color:var(--green);white-space:nowrap;font-size:12px;font-style:normal;font-weight:720}.debt-note{border-top:1px solid var(--line);color:var(--muted);padding-top:14px;font-size:12px}.secondary-header{min-height:80px;margin:calc((env(safe-area-inset-top) + 22px) * -1) -20px 18px;padding:calc(env(safe-area-inset-top) + 22px) 20px 13px;color:#fff;background:var(--green-dark);justify-content:flex-start;gap:7px}.secondary-header h1{font-size:25px}.year-screen{padding-left:20px;padding-right:20px}.year-switcher{justify-content:center;align-items:center;gap:18px;margin:4px 0 18px;display:flex}.year-switcher button{background:var(--green-soft)}.year-switcher b{font-size:27px}.year-summary-card{border-radius:var(--radius);background:var(--line);border:1px solid #d8e2dd;grid-template-columns:repeat(2,1fr);gap:1px;margin-bottom:24px;display:grid;overflow:hidden}.year-summary-card div{background:var(--surface-soft);flex-direction:column;justify-content:center;min-width:0;min-height:76px;padding:12px;display:flex}.year-summary-card span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px}.year-summary-card b{margin-top:5px;font-size:15px;line-height:1.2}.purple{color:var(--purple)}.green-text{color:var(--green)}.cashflow-chart{border-radius:var(--radius);background:var(--surface-soft);border:1px solid #d8e2dd;width:100%;height:270px;margin-bottom:22px;padding:12px 5px 4px}.month-list-title{margin-top:3px}.year-month-list>a{border-bottom:1px solid var(--line);grid-template-columns:48px minmax(0,1fr) auto 18px;align-items:center;min-height:76px;display:grid}.month-icon{width:42px;height:42px;color:var(--green);background:var(--green-soft);border-radius:50%;justify-content:center;align-items:center;display:flex}.year-month-list span:nth-child(2),.year-month-list strong{flex-direction:column;display:flex}.year-month-list span b{font-size:16px}.year-month-list small{color:var(--muted);font-size:11px;font-weight:450}.year-month-list strong{text-align:right;font-size:13px}.year-empty{text-align:center;color:var(--muted);margin-top:25px;font-size:13px}.detail-screen .screen-header,.settings-screen .screen-header{margin-bottom:22px}.category-detail-summary{border-radius:var(--radius);background:var(--green-soft);border:1px solid #d8e2dd;grid-template-columns:58px minmax(0,1fr);align-items:center;margin-bottom:20px;padding:16px;display:grid}.category-detail-summary .category-icon{width:50px;height:50px}.category-detail-summary>div{flex-direction:column;gap:4px;display:flex}.category-detail-summary b{font-size:20px}.category-detail-summary span{color:var(--muted);font-size:12px}.detail-form{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft);margin-bottom:18px;padding:0 14px}.detail-form>label{border-bottom:1px solid var(--line);grid-template-columns:1fr minmax(120px,46%);align-items:center;min-height:66px;display:grid}.detail-form>label:last-child{border-bottom:0}.detail-form>label>span:first-child{color:var(--muted);font-size:12px}.detail-form input{text-align:right;background:0 0;border:0;outline:0;min-width:0;font-size:15px}.detail-form .percent-input{border:0;min-height:40px;padding:0}.detail-form .percent-input input{text-align:right}.detail-form .toggle-row{grid-template-columns:1fr auto}.toggle-row>span{flex-direction:column;display:flex}.toggle-row small{max-width:250px;color:var(--muted);margin-top:3px;font-size:11px}.toggle-row input{width:21px;height:21px;accent-color:var(--green)}.reorder-row{border-top:1px solid var(--line);align-items:center;gap:6px;min-height:60px;display:flex}.reorder-row>span{color:var(--muted);margin-right:auto;font-size:12px}.reorder-row button{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:4px;min-height:36px;font-size:12px;display:flex}.detail-title-row{justify-content:space-between;align-items:center;margin:24px 0 7px;display:flex}.detail-title-row h2{margin:0;font-size:20px}.detail-title-row button{min-height:40px;color:var(--green);background:0 0;border:0;align-items:center;font-weight:700;display:flex}.item-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 100px 24px;align-items:center;gap:7px;min-height:66px;display:grid}.item-row>span{flex-direction:column;display:flex}.item-row b{font-size:13px}.item-row small{color:var(--muted);font-size:10px}.item-row label{color:var(--muted);align-items:center;gap:3px;font-size:10px;display:flex}.item-row label input{border:0;border-bottom:1px solid var(--line);text-align:right;width:70px}.item-row>input{width:18px;height:18px;accent-color:var(--green)}.detail-reconcile{color:var(--muted);margin:18px 0;font-size:12px}.danger-button{width:100%;min-height:44px;color:var(--red);background:0 0;border:0;justify-content:center;align-items:center;gap:7px;margin-top:8px;font-weight:700;display:flex}.detail-progress-card{border-radius:var(--radius);color:#fff;background:var(--green-dark);box-shadow:var(--shadow);margin-bottom:22px;padding:20px}.detail-progress-card>b{float:right;font-size:29px}.detail-progress-card h2{margin:0 0 4px;font-size:20px}.detail-progress-card p,.detail-progress-card span{color:#d6e8e0;font-size:12px}.detail-progress-card .progress-track{background:#ffffff3b;margin:14px 0 8px}.detail-progress-card.debt{background:#5f4338}.detail-progress-card.debt .progress-fill{background:#e4b7a3!important}.app-dialog{background:0 0;border:0;width:min(100%,430px);max-width:430px;height:100dvh;max-height:none;margin:auto;padding:0;overflow:hidden}.app-dialog::backdrop{background:#06140fa3}.dialog-card{width:100%;max-height:91dvh;padding:0 20px calc(env(safe-area-inset-bottom) + 16px);background:#fff;border-radius:22px 22px 0 0;position:absolute;bottom:0;overflow-y:auto;box-shadow:0 -8px 28px #00000029}.dialog-header{z-index:2;background:#fff;border-bottom:1px solid #0000;align-items:center;min-height:75px;display:flex;position:sticky;top:0}.dialog-header h2{letter-spacing:-.03em;flex:1;margin:8px 0 0;font-size:23px}.dialog-handle{background:#ccd4cf;border-radius:5px;width:36px;height:4px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.icon-button{background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.amount-field{border-radius:var(--radius);background:var(--green-soft);margin:0 0 15px;padding:14px}.amount-field label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;font-size:12px;display:block}.amount-field span{font-size:25px;font-weight:650}.amount-field input{width:70%;color:var(--green);background:0 0;border:0;outline:0;padding:0 4px;font-size:40px;font-weight:620}.kind-switch{border:1px solid var(--line);border-radius:12px;grid-template-columns:repeat(4,1fr);margin-bottom:10px;padding:4px;display:grid}.kind-switch button{background:0 0;border:0;border-radius:9px;min-height:42px;font-size:12px}.kind-switch button.selected{background:var(--green-soft);font-weight:750}.kind-switch button.expense{color:var(--orange)}.kind-switch button.savings{color:#2a7b36}.kind-switch button.income{color:var(--green)}.kind-switch button.tithe{color:var(--purple)}.form-row{border-bottom:1px solid var(--line);grid-template-columns:40px minmax(0,1fr);align-items:center;min-height:64px;display:grid}.form-icon{color:var(--green)}.form-row label{flex-direction:column;min-width:0;display:flex}.form-row label>span{color:var(--muted);font-size:11px}.form-row input,.form-row select{width:100%;color:var(--charcoal);background:0 0;border:0;outline:0;padding:3px 0;font-size:15px}.form-row small{color:var(--muted);font-size:10px}.form-error{color:var(--red);margin:9px 0;font-size:13px}.transaction-dialog .primary-button{margin-top:15px}.simple-dialog-body{padding:4px 0 12px}.simple-dialog-body label{color:var(--muted);flex-direction:column;gap:7px;margin:12px 0;font-size:12px;display:flex}.simple-dialog-body input{border:1px solid var(--line);min-height:48px;color:var(--charcoal);border-radius:11px;padding:0 12px;font-size:16px}.simple-dialog-body p{color:var(--muted);font-size:12px}.setup-screen{max-width:390px;padding-top:calc(env(safe-area-inset-top) + 40px);text-align:center;margin:0 auto}.setup-mark,.auth-mark{background:var(--green-dark);color:#fff;border-radius:20px;justify-content:center;align-items:center;width:62px;height:62px;margin:0 auto 18px;display:flex;box-shadow:0 10px 24px #005a3d2e}.setup-screen h1{letter-spacing:-.04em;margin:0;font-size:29px}.setup-screen>p{color:var(--muted);margin:8px 0 24px}.setup-form{text-align:left}.setup-form>label{margin-bottom:15px;display:block}.setup-form>label>span{color:var(--muted);margin-bottom:7px;font-size:12px;display:block}.money-input,.percent-input{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;align-items:center;gap:8px;min-height:54px;padding:0 13px;display:flex}.money-input input,.percent-input input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:21px}.percent-input input{text-align:right}.template-summary{border-radius:var(--radius);text-align:left;background:var(--surface-soft);border:1px solid #d8e2dd;margin:22px 0;padding:16px}.template-summary h2{margin:0 0 10px;font-size:17px}.template-summary>div{justify-content:space-between;padding:6px 0;display:flex}.template-summary footer{border-top:1px solid var(--line);color:var(--green);align-items:center;gap:7px;margin-top:9px;padding-top:11px;font-weight:700;display:flex}.settings-section{border-bottom:1px solid var(--line);padding:18px 0}.settings-section h2{margin:0 0 12px;font-size:17px}.settings-status{border-radius:var(--radius);background:var(--green-soft);border:1px solid #d8e2dd;align-items:center;gap:12px;padding:14px;display:flex}.settings-status svg{color:var(--green)}.settings-status span{flex-direction:column;display:flex}.settings-status small{color:var(--muted);margin-top:3px;font-size:11px}.settings-action{border:0;border-bottom:1px solid var(--soft-line);width:100%;min-height:48px;color:var(--green);text-align:left;background:0 0;align-items:center;gap:10px;display:flex}.settings-action:last-child{border-bottom:0}.settings-message{color:var(--green);font-size:13px}.signout{margin-top:22px}.auth-page{max-width:430px;height:100dvh;padding:calc(env(safe-area-inset-top) + 64px) 24px 40px;text-align:center;background:#fff;margin:0 auto;overflow-y:auto}.auth-page h1{letter-spacing:-.04em;margin:0;font-size:31px}.auth-page>p{max-width:310px;color:var(--muted);margin:9px auto 30px}.auth-card{background:var(--surface-soft);text-align:left;border:1px solid #d8e2dd;border-radius:18px;padding:20px}.auth-card h2{margin:0 0 16px}.auth-field{border:1px solid var(--line);min-height:52px;color:var(--muted);background:#fff;border-radius:11px;align-items:center;gap:9px;margin-bottom:12px;padding:0 12px;display:flex}.auth-field input{border:0;outline:0;flex:1;min-width:0}.auth-message{color:var(--purple);font-size:13px}.center-state{width:100%;min-height:100%;color:var(--muted);background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.loading-mark{border:3px solid #d8e7e1;border-top-color:var(--green);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}.startup-error{text-align:center;padding:32px}.startup-error b{color:var(--charcoal);font-size:19px}.startup-error span{max-width:340px;font-size:13px}.startup-retry{background:var(--green);color:#fff;border:0;border-radius:10px;min-height:42px;padding:0 20px;font-weight:700}.sync-indicator{background:var(--green-soft);color:var(--green);border:0;border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:11px;display:inline-flex}.sync-indicator.warning{color:#9c5c00;background:#fff4df}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.update-toast{z-index:50;bottom:calc(84px + env(safe-area-inset-bottom));color:#fff;background:#143329;border-radius:13px;align-items:center;gap:9px;width:min(100% - 28px,402px);padding:12px;font-size:12px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000040}.update-toast span{flex:1}.update-toast button{color:#fff;background:var(--green);border:0;border-radius:8px;padding:7px 9px}.update-toast .icon-button{background:0 0;padding:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width>=700px){body{padding:24px 0}.app-frame,.auth-page{border-radius:24px;height:calc(100dvh - 48px)}.bottom-nav{border-radius:0 0 24px 24px;bottom:24px}.app-dialog{border-radius:24px;height:calc(100dvh - 48px)}.home-add-transaction{bottom:87px}.fab{bottom:108px}}@media (width<=370px){.screen-pad,.home-hero{padding-left:15px;padding-right:15px}.balance-value{font-size:27px}.balance-copy p{font-size:13px}.balance-details{grid-template-columns:minmax(0,1fr) 98px}.utilization-ring{width:96px;height:96px}.allowance-card{padding-left:10px;padding-right:10px}.allowance-card>div{grid-template-columns:30px minmax(0,1fr);gap:6px}.allowance-card>div+div{margin-left:8px;padding-left:8px}.allowance-icon{width:30px;height:30px}.filter-scroll,.screen-header{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}}.home-screen{min-height:100%;padding-bottom:calc(env(safe-area-inset-bottom) + 112px);background:#fff}.home-header,.home-header .settings-button{color:var(--charcoal)}.home-header .settings-button:hover{background:var(--surface-soft)}.balance-card{background:#f7faf8;border:1px solid #dbe3df;border-radius:18px;grid-template-columns:minmax(0,1.45fr) 108px;align-items:center;min-height:174px;margin-bottom:20px;padding:20px 16px 18px 19px;display:grid;box-shadow:0 5px 16px #1430260f}.balance-copy{min-width:0}.balance-card .balance-value{color:var(--charcoal);white-space:nowrap;font-size:clamp(24px,6.8vw,30px)}.balance-card .balance-value span{color:var(--muted);font-size:14px;font-weight:500}.balance-card .balance-copy p{color:var(--charcoal);font-size:14px}.balance-card .balance-copy p span{color:var(--muted)}.balance-card .balance-copy hr{border:0;border-top:1px solid var(--line);margin:13px 0 11px}.balance-card .balance-copy .tithe-line{color:var(--purple);margin-bottom:0}.balance-card .utilization-ring{border-left:1px solid #d3dcd7;width:104px;height:104px;padding-left:10px}.balance-card .utilization-ring>span{color:var(--charcoal)}.balance-card .utilization-ring small{color:var(--muted)}.week-section{border-bottom:1px solid var(--line);padding:8px 2px 14px}.week-section h2{letter-spacing:-.03em;margin:0 0 12px;font-size:21px}.week-metrics{grid-template-columns:1fr 1fr;display:grid}.week-metrics>div{align-items:center;gap:9px;min-width:0;padding:0 10px;display:flex}.week-metrics>div:first-child{border-right:1px solid var(--line);padding-left:0}.metric-icon{width:36px;height:36px;color:var(--green);background:var(--green-soft);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.week-metrics p{flex-direction:column;min-width:0;margin:0;display:flex}.week-metrics b{white-space:nowrap;font-size:15px}.week-metrics small{color:var(--muted);white-space:nowrap;font-size:10px}.add-transaction{width:100%;box-shadow:none;margin-top:14px;position:static;transform:none}.add-transaction+.home-categories{margin-top:16px}.screen-header{min-height:44px;color:var(--charcoal);background:0 0;margin:0 0 16px;padding:0}.screen-header .settings-button:hover,.screen-header .header-back:hover{background:var(--surface-soft)}.secondary-header{min-height:44px;color:var(--charcoal);background:0 0;margin:0 0 18px;padding:0}.secondary-header>a:hover{background:var(--surface-soft)}.plan-summary-card,.category-detail-summary,.settings-status{box-shadow:none;background:#f7faf8}.weekly-rhythm{background:#f3f8f5}.detail-progress-card{color:var(--charcoal);box-shadow:none;background:#f3f8f5;border:1px solid #d8e2dd}.detail-progress-card p,.detail-progress-card span{color:var(--muted)}.detail-progress-card .progress-track{background:#dfe8e3}.detail-progress-card.debt{color:var(--charcoal);background:#f8f4f1}.auth-card,.goal-card,.debt-summary,.cashflow-chart,.year-summary-card div{background:#f9fbfa}@media (width<=370px){.balance-card{grid-template-columns:minmax(0,1.4fr) 96px;padding-left:14px}.balance-card .balance-value{font-size:23px}.balance-card .balance-copy p{font-size:13px}.balance-card .utilization-ring{width:92px;height:92px}.week-metrics b{font-size:14px}.screen-header,.secondary-header{margin-left:0;margin-right:0;padding-left:0;padding-right:0}}
