@font-face{font-family:LocalSans;src:local('Aptos'),local('Segoe UI');font-display:swap}
:root{color-scheme:light;--ink:#243d35;--text:#33463e;--muted:#6b7b73;--accent:#285f4e;--accent-dark:#1c483a;--bg:#f5f7f3;--surface:#fff;--line:#e3e9e2;--soft:#eaf1e9;--amber:#866019;--amber-bg:#fbf1d9;--red:#9a493e;--red-bg:#fbece8;--radius:18px;--shadow:0 3px 18px #243d3504}
*{box-sizing:border-box}body{margin:0;color:var(--text);font-family:LocalSans,'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.55;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;flex:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink)}h1{font-size:36px;line-height:1.2;letter-spacing:-1.1px;font-weight:650;margin:10px 0 12px}h2{font-size:20px;font-weight:650;line-height:1.35;letter-spacing:-.3px;margin-bottom:12px}h3{font-size:18px}p{margin-bottom:16px}small{font-size:12px;line-height:1.6;color:var(--muted)}strong{font-weight:650}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #648dca;outline-offset:3px}h1:focus{outline:none}button{border:0}input,select,textarea{min-height:48px;color:var(--ink);background:#fff;border:1px solid #ccd8cd;border-radius:10px;padding:11px 13px;max-width:100%}input,textarea{width:100%}input[type=radio]{width:18px;min-height:18px;accent-color:var(--accent)}textarea{resize:vertical}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}form>label,form>.form-grid,form>#month-field{margin-top:19px}fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}legend{font-weight:600;margin-bottom:9px;font-size:14px}[hidden]{display:none!important}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border-radius:10px;padding:12px 18px;font-weight:600;font-size:14px;transition:background .15s,transform .15s;white-space:normal;text-align:center;line-height:1.35}.button:hover{transform:translateY(-1px)}.primary{background:var(--accent);color:white;border:1px solid var(--accent)}.primary:hover{background:var(--accent-dark)}.secondary{background:#fff;border:1px solid var(--line);color:var(--accent)}.secondary:hover{background:var(--soft)}.ghost{background:transparent;border:1px solid transparent}.danger{color:var(--red)}.reject-button{background:var(--red);color:white}.small{min-height:44px;padding:10px 14px;font-size:13px}.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;background:transparent;color:var(--muted);border-radius:10px}.icon-button:hover{background:var(--soft)}.text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--accent);font-size:14px;font-weight:600}.text-link:hover{text-decoration:underline}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.6px;color:var(--muted);display:block}.pill{font-size:10px;font-weight:700;letter-spacing:1px;background:var(--soft);color:var(--accent);padding:6px 10px;border-radius:6px;white-space:nowrap}.subtle{font-size:12px;color:var(--muted);font-weight:400}.notice{border:1px solid var(--line);border-radius:10px;background:#f0f5ef;color:var(--text);padding:14px 16px;font-size:13px;margin:16px 0;line-height:1.6}.notice.warning{background:var(--amber-bg);border-color:#eadbb8;color:#745118}.notice.error{background:var(--red-bg);border-color:#eed4ce;color:var(--red)}.form-error{color:var(--red);font-size:13px;margin:12px 0;overflow-wrap:anywhere}.form-error:empty{display:none}.success-text{color:var(--accent);font-weight:600;margin:12px 0 0}.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}.skip-link{position:fixed;top:-60px;left:14px;z-index:20;background:white;padding:10px 16px;border-radius:5px}.skip-link:focus{top:10px}.boot{max-width:600px;margin:20vh auto;text-align:center}.brand{display:flex;align-items:center;font-size:23px;font-weight:700;letter-spacing:-.8px;color:var(--ink)}.brand-symbol{display:flex;align-items:center;justify-content:center;width:34px;height:36px;background:var(--accent);color:white;border-radius:10px;margin-right:9px}.brand-symbol svg{width:22px}.brand-dot{color:#7b9877}.avatar{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;flex:none}.peter{background:#e3eddf;color:#46634b}.lilly{background:#f0e5d6;color:#836848}.pauline{background:#e6e6f2;color:#6c6688}.divider{height:1px;background:var(--line);margin:21px 0}.help-text{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 0}
/* Login */
.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#fff}.login-story{display:flex;flex-direction:column;background:#eaf0e7;padding:42px 9%;min-height:100dvh;position:relative;overflow:hidden}.story-content{margin:auto 0;padding:65px 0}.story-content>.eyebrow{color:#53725e}.story-content h1{font-size:clamp(32px,3.5vw,51px);line-height:1.16;margin:20px 0}.story-content>p{font-size:17px;color:#697d6c;max-width:420px;line-height:1.8}.family-illustration{background:#ffffffa6;border:1px solid white;border-radius:18px;max-width:370px;padding:27px;margin-top:35px;box-shadow:0 10px 35px #3a594208}.people-stack{display:flex;align-items:center;margin-bottom:24px}.people-stack .avatar{width:48px;height:48px;border:3px solid white}.people-stack .avatar:nth-child(2){margin-left:-7px}.family-line{display:flex;align-items:center;justify-content:center;width:110px;color:#75916d}.family-line svg{width:90px;height:24px}.family-illustration>strong,.family-illustration>span{display:block}.family-illustration>strong{font-size:21px}.family-illustration>span{font-size:13px;color:var(--muted);margin-top:3px}.story-foot{display:flex;align-items:center;gap:10px;color:#60795f;font-size:12px}.login-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 7% 24px}.login-card{width:100%;max-width:460px;margin:auto 0}.login-card h2{font-size:30px;letter-spacing:-.8px;margin:25px 0 10px}.login-card>p{color:var(--muted);font-size:15px}.account-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}.account-choices legend{margin-bottom:12px}.account-choice{position:relative;border:1px solid var(--line);border-radius:12px;padding:19px 5px;text-align:center;cursor:pointer;font-size:13px}.account-choice input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.account-choice:has(input:checked){background:#f0f5ed;border:1.5px solid #698469}.account-choice:has(input:focus-visible){outline:3px solid #648dca;outline-offset:3px}.account-choice strong{display:block;margin-top:9px}.account-choice small{font-size:10px;display:block;margin-top:2px}.login-hint{font-size:12px!important;margin-top:23px;line-height:1.7}.demo-link{font-size:13px}.login-bottom{color:var(--muted);font-size:11px;padding-top:55px;margin-bottom:0}
/* Application shell */
.app-layout{display:flex;min-height:100dvh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;padding:34px 22px 20px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.sidebar .brand{font-size:23px;margin:0 5px 53px}.sidebar-label{font-size:9px;letter-spacing:1.25px;color:#87938b;font-weight:650;margin:0 12px 14px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav>a{display:flex;align-items:center;gap:13px;padding:14px 14px;border-radius:10px;color:#748077;font-size:14px;font-weight:550;min-height:49px}.sidebar nav>a:hover{background:#f5f7f3}.sidebar nav>a.active{background:var(--soft);color:var(--accent);font-weight:650}.nav-count{margin-left:auto;background:var(--accent);color:#fff;border-radius:6px;min-width:20px;text-align:center;font-size:11px;padding:1px 5px}.sidebar-note{margin:auto 0 24px;padding:30px 10px 20px}.sidebar-note>svg{color:#88a27e;width:30px;height:30px;margin-bottom:13px}.sidebar-note strong{display:block;font-size:13px}.sidebar-note p{font-size:12px;color:#87938b;margin-top:6px}.account-panel{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:20px}.account-panel .avatar{width:36px;height:36px;font-size:13px}.account-panel>div{flex:1;min-width:0}.account-panel strong{font-size:13px}.account-panel small{display:block;font-size:10px}.account-panel .icon-button{width:33px}.workspace{margin-left:244px;width:calc(100% - 244px);min-width:0}.topbar{height:84px;background:#ffffffb0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.topbar-title{font-size:14px;font-weight:600;display:block}.topbar-subtitle{display:block;color:var(--muted);font-size:11px;margin-top:2px}.topbar-right{display:flex;align-items:center;gap:12px}.mobile-avatar{display:none}.prototype-banner{padding:10px 42px;color:#7c775c;background:#f4f2e8;border-bottom:1px solid #e9e5d6;font-size:11px}.prototype-banner strong{font-weight:650}#main{max-width:1360px;margin:auto;padding:36px 42px 12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.page-heading>div{min-width:0}.page-heading p{margin:0;color:var(--muted);font-size:14px}.page-heading>.button{flex-shrink:0;margin-top:12px}.button-count{background:#ffffff22;border-radius:5px;padding:2px 7px;min-width:24px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:27px;box-shadow:var(--shadow)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(0,1fr);gap:22px}.section-top,.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-title{margin-bottom:20px}.section-title h2{margin:0;font-size:17px}.section-title p{color:var(--muted);font-size:12px;margin:5px 0 0}.balance-card{background:#eaf1e5;border-color:#dbe5d5;padding:27px 30px}.balance-card .eyebrow{color:#5f795b}.balance-emblem{color:#78996a;border:1px solid #cfddc6;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center}.balance-value{font-size:clamp(34px,3.7vw,54px);letter-spacing:-2px;line-height:1.25;color:#24492e;font-weight:650;margin:15px 0 4px;font-variant-numeric:tabular-nums}.balance-card>p{color:#718068;font-size:12px}.progress-copy{display:flex;justify-content:space-between;font-size:12px;margin-top:31px;margin-bottom:10px;color:#5d7653}.progress-copy strong{color:#31582e}progress{width:100%;height:9px;display:block;appearance:none;border:0;border-radius:10px;overflow:hidden;background:#d6e2cf}progress::-webkit-progress-bar{background:#d6e2cf;border-radius:10px}progress::-webkit-progress-value{background:#527b46;border-radius:10px}progress::-moz-progress-bar{background:#527b46;border-radius:10px}.balance-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:18px;font-size:11px;color:#66805b}.balance-bottom>span{display:flex;align-items:center;gap:5px}.balance-bottom svg{width:15px;height:15px}.balance-bottom strong{font-weight:600}.balance-card .excess{color:var(--red);margin:14px 0 0}.small-icon{width:37px;height:37px;background:#f2f5ef;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#6c8560;margin-bottom:20px}.next-card h2{font-size:27px;letter-spacing:-.9px;margin:10px 0 3px}.next-card>p{font-size:12px;color:var(--muted);margin-bottom:0}.next-card .divider{margin:19px 0 14px}.muted-label{display:block;font-size:11px;color:var(--muted)}.forecast-date{font-size:16px;display:block;margin:3px 0 6px}.next-card small{display:block;font-size:10px;max-width:270px}.contribution-row{display:flex;gap:13px;align-items:center;padding:11px 0}.contribution-row>strong{font-size:17px;font-variant-numeric:tabular-nums}.person-detail{flex:1}.person-detail strong{font-size:14px;display:block}.person-detail span{color:var(--muted);font-size:11px;display:block}.pending-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:18px;margin-top:15px;border-top:1px solid var(--line);font-size:11px}.pending-summary>span{display:flex;align-items:center;gap:6px}.pending-summary svg{width:16px;height:16px;color:#a78a43}.pending-summary strong{white-space:nowrap;font-size:13px}.monthly-person{padding:14px 0;border-bottom:1px solid #edf0eb;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.monthly-person>div>strong{font-size:13px;display:block}.monthly-person>div>span{font-size:11px;color:var(--muted)}.monthly-person small{width:100%}.monthly-person .badge{font-size:10px}.month-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:10px 0 8px}.month-empty>svg{width:28px;height:28px;color:#9aad8f;margin:10px 0}.month-empty strong{font-size:14px}.month-empty p{font-size:12px;color:var(--muted);margin:5px 0 0}.badge{display:inline-flex;align-items:center;border-radius:6px;padding:5px 9px;font-size:10px;line-height:1.4;white-space:nowrap;max-width:100%;font-weight:550}.confirmed{background:#eaf3e5;color:#4a733c}.pending{background:var(--amber-bg);color:var(--amber)}.rejected{background:var(--red-bg);color:var(--red)}.partial{background:#ebeff9;color:#556c9d}.neutral{background:#f0f2ef;color:#768274}.recent-section{margin-top:23px}.recent-section .section-title{margin-bottom:15px}.payment-item{padding:20px 0;border-top:1px solid var(--line)}.payment-main{display:flex;align-items:center;gap:12px}.payment-heading{flex:1;min-width:0}.payment-heading>strong{display:flex;align-items:center;gap:11px;font-size:14px}.payment-heading>span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.payment-type{font-size:11px;font-weight:400;color:var(--muted)}.payment-amount{font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums;margin-right:12px}.payment-note{color:#6a7a6f;font-size:12px;margin:9px 0 0 52px;overflow-wrap:anywhere;white-space:pre-wrap}.review-meta{font-size:10px;color:#80907e;margin:8px 0 0 52px}.review-meta p{color:var(--red);margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.payment-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:14px}.app-footer{max-width:1360px;margin:auto;padding:22px 42px 28px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#8a9789}.sync-status{display:flex;align-items:center;gap:7px}.sync-status .icon-button{width:38px;height:38px}.sync-status svg{width:15px;height:15px}.sync-dot{width:5px;height:5px;background:#7d9b70;flex:none;border-radius:50%}.empty-state{padding:28px 18px;text-align:center}.empty-state h3{font-size:15px;margin:12px 0 7px}.empty-state h2{margin:16px 0 8px}.empty-state p{font-size:12px;color:var(--muted);max-width:430px;margin:0 auto 15px}.empty-icon{display:inline-flex;background:var(--soft);padding:12px;border-radius:14px;color:#8da280}.summary-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:25px;border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:25px 10px}.summary-strip>div{padding:0 24px;border-right:1px solid var(--line)}.summary-strip>div:last-child{border:0}.summary-strip span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.summary-strip strong{font-size:26px;letter-spacing:-.5px;line-height:1.2;font-variant-numeric:tabular-nums}.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.history-toolbar h2{font-size:18px;margin:0}.history-toolbar h2>.subtle{margin-left:8px}.filters{display:flex;gap:10px}.filters select{font-size:12px;min-height:44px;padding:9px 28px 9px 10px}.below-note{color:var(--muted);font-size:12px;text-align:center;margin:20px 0}.plan-intro{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.plan-intro h2{font-size:27px;margin:12px 0}.plan-intro p{font-size:13px;margin-bottom:10px}.forecast-card{background:#edf3e9;border-color:#dce7d4}.schedule-card{padding-bottom:8px}.plan-help{color:var(--muted);font-size:12px;max-width:620px;margin-bottom:24px}.schedule-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}.schedule-table th,.schedule-table td{padding:18px 8px;border-top:1px solid var(--line)}.schedule-table thead th{font-size:11px;color:var(--muted);font-weight:600;padding:13px 8px;background:#f7f9f5}.schedule-table small{display:block;font-size:9px;font-weight:400}.schedule-table td{color:var(--muted);font-variant-numeric:tabular-nums}.schedule-table td strong{color:var(--text);font-weight:600}.current-row{background:#f5f8f1}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid>.card>p{color:var(--muted);font-size:13px}.password-card{grid-column:1/-1}.password-card>p{max-width:740px}.password-card form{max-width:700px}.password-card .button{margin-top:20px}.details{margin:15px 0 0}.details>div{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #edf0e9;font-size:13px}.details>div:last-child{border:0}.details dt{color:var(--muted);flex-shrink:0}.details dd{text-align:right;margin:0;font-weight:550;overflow-wrap:anywhere;min-width:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid>div{min-width:0}
/* Dialogs */
dialog{width:calc(100% - 32px);max-width:560px;max-height:90dvh;border:1px solid var(--line);padding:30px;border-radius:20px;color:var(--text);background:#fff;box-shadow:0 24px 100px #1e3c3933;overflow-y:auto}dialog::backdrop{background:#17342b60;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dialog-heading h2{font-size:25px;margin:10px 0 15px}.dialog-heading .icon-button{margin:-10px -10px 0 0}dialog>p{font-size:13px;color:var(--muted)}.type-choices{display:flex;gap:12px;margin-top:22px}.type-choices label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:12px 15px;border-radius:10px;flex:1;font-size:13px;margin:0;cursor:pointer}.type-choices label:has(input:checked){background:var(--soft);border-color:#8ea38b}.amount-input{position:relative}.amount-input input{padding-right:35px}.amount-input>span{position:absolute;right:15px;top:12px;color:var(--muted)}.unsaved-label{font-size:11px;color:var(--muted);margin:14px 0 0}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:23px}.dialog-actions>.button{flex:1}.review-details{margin-top:8px}.review-details>div{padding:12px 0}.review-amount{font-size:23px;color:var(--accent);letter-spacing:-.5px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#233f33;color:#fff;padding:15px 22px;border-radius:12px;box-shadow:0 6px 26px #20342830;max-width:calc(100% - 30px);width:max-content;z-index:30;font-size:13px;line-height:1.6}
@media(min-width:1500px){.dashboard-grid{grid-template-columns:1.55fr 1fr}.balance-value{font-size:56px}.card{padding:30px}}
@media(max-width:1180px){.sidebar{width:216px;padding-left:15px;padding-right:15px}.workspace{margin-left:216px;width:calc(100% - 216px)}#main{padding:28px 25px 12px}.topbar,.prototype-banner{padding-left:25px;padding-right:25px}.app-footer{padding:20px 25px}.card{padding:22px}.page-heading h1{font-size:30px}.dashboard-grid{gap:17px;grid-template-columns:1.2fr 1fr}.contribution-card .section-title{align-items:flex-start;flex-direction:column;gap:5px}.pending-summary{flex-wrap:wrap}.balance-value{font-size:43px}.payment-main{gap:9px}.payment-amount{margin-right:0}.payment-main>.badge{font-size:9px}.payment-heading>strong{gap:6px}.history-toolbar{flex-wrap:wrap}.schedule-table td,.schedule-table th{padding:16px 5px}}
@media(max-width:900px){.sidebar{width:180px;padding:25px 10px 18px}.sidebar .brand{font-size:18px;margin-left:6px}.brand-symbol{width:29px;height:31px;margin-right:7px}.sidebar-label{font-size:8px;letter-spacing:.7px}.sidebar nav>a{padding:14px 12px;gap:9px;font-size:12px}.sidebar-note strong{font-size:11px}.account-panel{gap:6px}.account-panel small{font-size:9px}.account-panel .avatar{width:30px;height:30px}.account-panel strong{font-size:12px}.account-panel .icon-button{width:28px}.workspace{margin-left:180px;width:calc(100% - 180px)}.page-heading{align-items:flex-start;flex-direction:column;gap:8px}.page-heading>.button{margin-top:5px}.dashboard-grid{grid-template-columns:1fr 1fr}.balance-card{grid-column:1/-1}.next-card{grid-column:1/-1;display:grid;grid-template-columns:44px 1fr 1fr;column-gap:15px}.next-card .small-icon{grid-row:1/4;margin:0}.next-card .eyebrow{grid-column:2}.next-card h2{grid-column:2;grid-row:2;margin:4px 0;font-size:23px}.next-card>p{grid-column:2;grid-row:3}.next-card .divider{display:none}.next-card .muted-label{grid-column:3;grid-row:1}.next-card .forecast-date{grid-column:3;grid-row:2}.next-card small{grid-column:3;grid-row:3;font-size:10px}.contribution-card,.month-card{grid-column:1/-1}.contribution-card .section-title{flex-direction:row}.recent-section .section-title{align-items:flex-start}.payment-main{flex-wrap:wrap}.payment-main>.badge{margin-left:49px;order:4}.payment-main>.payment-amount{margin-left:auto}.payment-heading{flex-basis:calc(100% - 145px)}.payment-note,.review-meta{margin-left:49px}.summary-strip strong{font-size:21px}.summary-strip>div{padding:0 12px}.summary-strip span{font-size:10px}.plan-intro{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.password-card{grid-column:auto}.app-footer>span{display:none}.schedule-table,.schedule-table tbody{display:block}.schedule-table thead{display:none}.schedule-table tr{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;border-top:1px solid var(--line);padding:19px 0}.schedule-table th,.schedule-table td{display:block;padding:0;border:0}.schedule-table th{grid-column:1/-1;font-size:14px;margin-bottom:5px}.schedule-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.schedule-table td:last-child{grid-column:2;grid-row:3}.schedule-table .badge{font-size:9px}.login-story{padding:34px 9%}.login-entry{padding:45px 6% 20px}.account-choices{gap:6px}.account-choice{padding:15px 3px}.account-choice small{font-size:9px}.login-card h2{font-size:26px}.login-card>p{font-size:13px}.story-content>p{font-size:15px}}
@media(max-width:640px){body{font-size:14px}.sidebar{position:fixed;inset:auto 0 0 0;height:calc(68px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);width:100%;border-right:0;border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(14px)}.sidebar .brand,.sidebar-label,.sidebar-note,.account-panel{display:none}.sidebar nav{flex-direction:row;justify-content:space-around;height:68px;gap:3px}.sidebar nav>a{display:flex;flex-direction:column;justify-content:center;gap:4px;flex:1;padding:8px 3px;border-radius:0;font-size:10px;position:relative;font-weight:550}.sidebar nav>a.active{background:transparent;color:var(--accent)}.sidebar nav>a.active::before{content:'';position:absolute;top:0;width:28px;height:3px;border-radius:0 0 5px 5px;background:var(--accent)}.sidebar nav>a svg{width:20px;height:20px}.nav-count{position:absolute;right:18%;top:7px;min-width:15px;font-size:9px;padding:0 3px}.workspace{margin:0;width:100%;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.topbar{height:69px;padding:0 20px}.topbar-title{font-size:14px}.topbar-subtitle{font-size:10px}.mobile-avatar{display:inline-flex;width:33px;height:33px;font-size:12px}.topbar .pill{font-size:8px;letter-spacing:.8px}.prototype-banner{padding:10px 20px;font-size:10px;line-height:1.55}#main{padding:25px 18px 8px}.eyebrow{font-size:9px;letter-spacing:1.5px}h1,.page-heading h1{font-size:30px;letter-spacing:-1px;margin:9px 0}.page-heading{margin-bottom:23px;gap:10px}.page-heading p{font-size:12px}.page-heading>.button{width:100%;min-height:48px;margin-top:9px}.card{padding:21px;border-radius:15px}.dashboard-grid{display:flex;flex-direction:column;gap:15px}.balance-value{font-size:43px;letter-spacing:-1.9px;margin-top:15px}.balance-card>p{font-size:11px}.balance-bottom{font-size:10px;gap:5px}.balance-bottom svg{width:13px}.progress-copy{margin-top:24px;font-size:11px}.next-card{display:block}.next-card .small-icon{float:right;margin:0}.next-card h2{margin:9px 0 3px;font-size:26px}.next-card .divider{display:block;margin:18px 0 14px}.next-card .forecast-date{margin:5px 0}.next-card small{max-width:none;font-size:11px}.next-card .muted-label{margin-top:16px}.section-title h2{font-size:16px}.section-title .subtle{font-size:10px}.contribution-card .section-title{flex-direction:row}.contribution-row{padding:10px 0}.pending-summary{font-size:10px}.pending-summary strong{font-size:12px}.monthly-person .badge{font-size:9px}.recent-section{margin-top:17px}.recent-section .section-title{flex-direction:column;gap:5px;margin-bottom:7px}.recent-section .section-title .text-link{font-size:12px;min-height:35px}.payment-item{padding:18px 0}.payment-main{gap:9px;align-items:center}.payment-main>.avatar{width:34px;height:34px;font-size:12px}.payment-heading{flex-basis:calc(100% - 135px)}.payment-heading>strong{font-size:13px;display:block}.payment-type{display:block;font-size:10px;margin-top:1px}.payment-heading>span{font-size:10px;margin-top:4px}.payment-amount{font-size:15px;align-self:flex-start;margin-top:1px}.payment-main>.badge{margin-left:43px;font-size:9px}.payment-note,.review-meta{margin-left:43px;font-size:10px}.payment-actions{justify-content:stretch;flex-wrap:wrap}.payment-actions .button{font-size:11px}.payment-actions .secondary{flex:1}.app-footer{padding:10px 19px 15px;font-size:9px}.sync-status{gap:5px}.sync-status .icon-button{width:35px;min-width:35px}.summary-strip{padding:18px 4px;gap:0;margin-bottom:17px;border-radius:15px}.summary-strip>div{padding:0 10px}.summary-strip strong{font-size:17px;white-space:nowrap}.summary-strip span{font-size:9px;min-height:28px;line-height:1.4}.history-toolbar{gap:14px;margin-bottom:15px}.history-toolbar h2{font-size:17px}.filters{width:100%;gap:7px}.filters>div:first-child{flex:1.4;min-width:0}.filters>div:last-child{flex:1;min-width:0}.filters select{width:100%;font-size:11px;padding-right:18px}.plan-intro{gap:15px;margin-bottom:17px}.plan-intro h2{font-size:25px}.plan-help{font-size:11px}.schedule-table tr{font-size:11px}.schedule-table th{font-size:14px}.settings-grid{gap:15px}.settings-grid h2{font-size:18px}.form-grid{grid-template-columns:1fr;gap:17px}.settings-loan{order:2}.password-card{order:3}.password-card p{font-size:12px}.login-layout{display:flex;flex-direction:column;min-height:100dvh}.login-story{min-height:auto;padding:23px 24px;background:#edf3e9}.login-story .brand{font-size:22px}.story-content{margin:0;padding:32px 0 9px}.story-content h1{font-size:32px;letter-spacing:-1px;margin:13px 0}.story-content>p{font-size:13px;line-height:1.7;margin:0}.story-content>.eyebrow{font-size:8px}.family-illustration,.story-foot{display:none}.login-entry{padding:29px 24px 23px}.login-card h2{font-size:26px;margin:20px 0 9px}.login-card>p{font-size:12px}.account-choices{gap:9px;margin-top:23px}.account-choice{padding:15px 5px}.account-choice small{font-size:9px}.login-hint{font-size:11px!important}.login-bottom{padding-top:20px;font-size:10px}.login-card>.pill{font-size:9px}.login-card .button{margin-top:9px}dialog{padding:23px 20px;border-radius:17px;max-height:calc(100dvh - 24px)}.dialog-heading h2{font-size:24px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{font-size:12px;min-width:100px}.type-choices{gap:8px}.type-choices label{padding:11px;font-size:12px}.review-details>div{font-size:12px}.toast{bottom:calc(83px + env(safe-area-inset-bottom));font-size:12px;padding:13px 17px}.empty-state{padding:24px 10px}.notice{font-size:12px;padding:12px}}
@media(max-width:640px){.prototype-banner{font-size:11px}.payment-heading>span{font-size:12px}.payment-type{font-size:11px}.payment-note,.review-meta{font-size:12px}.payment-main>.badge,.monthly-person .badge,.schedule-table .badge{font-size:11px;white-space:normal}.schedule-table td::before{font-size:11px}.filters select{font-size:12px}}
@media(max-width:380px){.summary-strip{grid-template-columns:1fr;padding:6px 18px}.summary-strip>div{padding:12px 0;border-right:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.summary-strip span{margin:0;min-height:0;max-width:55%;font-size:11px}.summary-strip strong{font-size:19px}.filters{flex-direction:column}.type-choices{flex-direction:column}.type-choices label{flex:none;min-width:0;min-height:48px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
