:root{font-family:Helvetica,Arial,sans-serif;color:#10243d;background:#f4f8fb;font-synthesis:none;--navy:#0b2545;--ink:#132c48;--blue:#3d84c4;--muted:#7d8da1;--line:#e1eaf2;--surface:#fff;--soft:#f8fbfd;--shadow:0 14px 34px rgba(13,35,66,.07);--ease:cubic-bezier(.23,1,.32,1)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9bc9ec;outline-offset:2px}.app-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:24px 16px;background:var(--navy);color:#fff;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 25px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff url(/family-logo-77a51a07.svg) center/cover no-repeat;color:var(--navy)}.brand-mark svg{display:none}.brand strong,.brand small{display:block}.brand strong{font-size:15px}.brand small,.close-menu{display:none;margin-left:auto;border:0;background:none;color:#b9d2e9}.avatar,.profile{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#dbeafb;color:var(--navy);font-size:9px;font-weight:700}.sidebar nav{margin-top:30px}.sidebar nav p{margin:0 8px 10px;color:#7695b4;font-size:8px;font-weight:700;letter-spacing:1.3px}.sidebar nav button{display:flex;align-items:center;gap:9px;width:100%;margin:4px 0;padding:11px;border:0;border-radius:8px;background:transparent;color:#a8c0d7;font:inherit;font-size:11px;text-align:left;transition:background .18s var(--ease),color .18s var(--ease),transform .16s}.sidebar nav button.active,.sidebar nav button:hover{background:#295b8a;color:#fff}.sidebar nav button:active,.action:active,.module-grid button:active{transform:scale(.98)}.sidebar-footer{display:flex;align-items:center;gap:6px;margin-top:auto;padding:12px 8px;color:#91abc4;font-size:9px}.version{margin-left:auto;color:#607f9f}.online-dot,.status i{width:6px;height:6px;border-radius:50%;background:#45bf8d;box-shadow:0 0 0 3px #45bf8d22}.topbar{display:flex;justify-content:space-between;align-items:center;padding:19px 42px;border-bottom:1px solid var(--line);background:#ffffffeb;color:#314d6c;font-size:11px;position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.crumb{margin-right:8px;color:#a0afbf}.status{display:flex;align-items:center;gap:6px;color:#319269;font-size:10px}.topbar-actions{display:flex;align-items:center;gap:14px}.icon-button,.menu-button{display:grid;place-items:center;border:0;background:none;color:#6f8398}.menu-button{display:none}.profile{display:grid;place-items:center;width:30px;height:30px;border:1px solid #d6e4ee;border-radius:50%;background:#e7f0f7;color:var(--navy);transition:background .18s var(--ease),border-color .18s var(--ease),transform .16s}.profile:hover{border-color:#a9c9df;background:#dcecf7}.profile:active{transform:scale(.96)}.content{max-width:1160px;margin:0 auto;padding:42px}.hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.eyebrow{margin:0;color:var(--blue);font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.hero h1{margin:9px 0 7px;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:31px;letter-spacing:-1.4px}.hero>div:first-child>p:last-child{margin:0;color:var(--muted);font-size:12px}.hero-badge{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #d9e6ee;border-radius:999px;background:#fff;color:#668199;font-size:10px;white-space:nowrap}.metric-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:13px;margin:25px 0 28px}.metric-card{position:relative;min-height:126px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.metric-card span,.metric-card small{display:block;color:var(--muted);font-size:10px}.metric-card strong{display:block;margin:11px 0 5px;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:22px;letter-spacing:-.7px}.metric-card strong.positive{color:#25835c}.primary-card{overflow:hidden;background:linear-gradient(145deg,#0b2545,#1b4d76);color:#fff}.primary-card span,.primary-card small{color:#b6cce0}.primary-card strong{color:#fff}.sparkline{display:flex;align-items:end;gap:4px;height:28px;position:absolute;right:20px;bottom:20px}.sparkline i{display:block;width:5px;border-radius:5px;background:#75bde0;opacity:.55}.sparkline i:nth-child(1){height:11px}.sparkline i:nth-child(2){height:20px}.sparkline i:nth-child(3){height:14px}.sparkline i:nth-child(4){height:24px}.sparkline i:nth-child(5){height:17px}.sparkline i:nth-child(6){height:26px}.sparkline i:nth-child(7){height:21px}.balance-card{min-width:210px;padding:18px;border-radius:13px;background:linear-gradient(145deg,#0b2545,#1c527e);color:#fff;box-shadow:var(--shadow)}.balance-card span,.balance-card small{display:block;color:#b6cce0;font-size:10px}.balance-card strong{display:block;margin:6px 0;font-size:24px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:28px 0 12px}.section-head h2{margin:6px 0 0;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:17px}.section-head>span{color:var(--muted);font-size:10px}.text-button{display:flex;align-items:center;gap:3px;border:0;background:none;color:var(--blue);font-size:10px}.module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.module-grid button{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left;box-shadow:var(--shadow);transition:transform .16s}.module-grid button>span:nth-child(2){flex:1}.module-grid strong,.module-grid small{display:block}.module-grid strong{color:var(--navy);font-size:12px}.module-grid small{margin-top:4px;color:var(--muted);font-size:10px}.module-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px}.module-icon.blue{background:#e4f0fb;color:#3d84c4}.module-icon.purple{background:#eee8fb;color:#7860b4}.module-icon.green{background:#e2f4ea;color:#25835c}.module-icon.orange{background:#fff0dc;color:#bd7c22}.finance-hero{margin-bottom:2px}.finance-metrics{grid-template-columns:repeat(3,1fr);margin-top:25px}.actions{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin:24px 0 16px}.action{display:grid;grid-template-columns:44px 1fr 20px;align-items:center;column-gap:11px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left;box-shadow:var(--shadow);transition:transform .16s}.action>span{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:11px}.action b,.action small{display:block}.action b{color:var(--navy);font-size:13px}.action small{margin-top:3px;color:var(--muted);font-size:10px}.action>svg{grid-column:3;grid-row:1 / span 2;color:var(--muted)}.action.income>span{background:#d7f1e2;color:#25835c}.action.expense>span{background:#f9dfdc;color:#b15f5c}.entry-card{display:grid;grid-template-columns:1fr 180px 1fr auto;align-items:end;gap:13px;margin-bottom:18px;padding:19px;border:1px solid #b9d5e9;border-top:3px solid var(--blue);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.entry-card h2{margin:6px 0 0;color:var(--navy);font-size:17px}.entry-card label{display:grid;gap:6px;color:#5d7691;font-size:10px;font-weight:700}.entry-card input,.entry-card select{width:100%;min-height:40px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff;font:inherit;font-size:11px}.entry-actions{display:flex;gap:8px}.primary,.secondary{min-height:40px;padding:0 15px;border-radius:8px;font:inherit;font-size:10px;font-weight:700;cursor:pointer}.primary{border:0;background:var(--navy);color:#fff}.secondary{border:1px solid var(--line);background:#fff;color:#617791}.budget-list,.transactions{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.budget-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px;padding:13px 17px;border-bottom:1px solid #eef3f7}.budget-row:last-child,.transaction:last-child{border-bottom:0}.bucket-icon,.tx-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px}.bucket-icon.blue{background:#e4f0fb;color:#3d84c4}.bucket-icon.purple{background:#eee8fb;color:#7860b4}.bucket-icon.green{background:#e2f4ea;color:#25835c}.bucket-icon.orange{background:#fff0dc;color:#bd7c22}.bucket-icon.rose{background:#fde6e9;color:#ba5d69}.budget-row strong{color:var(--navy);font-size:11px}.budget-row strong small{margin-left:6px;color:var(--muted);font-size:9px}.budget-row p{margin:3px 0 7px;color:var(--muted);font-size:9px}.budget-row>b{color:var(--navy);font-size:11px}.track{height:4px;border-radius:99px;background:#eef3f7}.track i{display:block;height:100%;border-radius:inherit;background:var(--blue)}.recent{margin-top:28px}.transaction{display:flex;align-items:center;gap:10px;padding:13px 17px;border-bottom:1px solid #eef3f7}.tx-icon.income{background:#e2f4ea;color:#25835c}.tx-icon.expense{background:#fde6e9;color:#ba5d69}.transaction>div{flex:1}.transaction strong,.transaction small{display:block}.transaction strong{color:var(--navy);font-size:11px}.transaction small{margin-top:3px;color:var(--muted);font-size:9px}.transaction>b{font-size:11px;white-space:nowrap}.transaction>b.income{color:#25835c}.transaction>b.expense{color:#ba5d69}.placeholder-page{max-width:700px}.placeholder-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:22px;border-radius:16px;background:#e4f0fb;color:var(--blue)}.placeholder-page h1{margin:8px 0;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:32px}.placeholder-page>p:not(.eyebrow){max-width:520px;color:var(--muted);font-size:14px;line-height:1.7}.placeholder-note{display:flex;align-items:flex-start;gap:12px;margin:28px 0;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--blue)}.placeholder-note span{display:grid;gap:4px}.placeholder-note strong{color:var(--navy);font-size:12px}.placeholder-note small{color:var(--muted);font-size:10px;line-height:1.5}.mobile-nav,.scrim{display:none}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;width:268px;transform:translate(-105%);transition:transform .24s var(--ease);box-shadow:12px 0 36px #00000026}.sidebar.open{transform:translate(0)}.close-menu{display:block}.scrim{display:block;position:fixed;inset:0;border:0;background:#0a1c3152;z-index:20}.topbar{padding:14px 18px}.menu-button{display:grid;margin-right:10px}.topbar>div:nth-child(2){flex:1}.topbar-actions{gap:10px}.status{font-size:0}.content{padding:28px 16px 92px}.hero{display:block}.hero-badge{display:inline-flex;margin-top:18px}.hero h1{font-size:27px}.metric-grid,.finance-metrics{grid-template-columns:1fr 1fr;margin-top:21px}.metric-card:first-child{grid-column:1/-1}.metric-card{min-height:108px}.balance-card{margin-top:20px}.actions{grid-template-columns:1fr}.entry-card{grid-template-columns:1fr 1fr}.entry-card>div:first-child{grid-column:1/-1}.mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:15;justify-content:space-around;padding:9px 6px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-nav button{display:grid;gap:4px;justify-items:center;border:0;background:none;color:#8a9aac;font-size:9px}.mobile-nav button.active{color:var(--blue);font-weight:700}}@media(max-width:520px){.metric-grid,.finance-metrics{gap:9px}.metric-card{padding:14px}.metric-card strong{font-size:18px}.module-grid,.entry-card{grid-template-columns:1fr}.entry-actions{grid-column:1/-1}.page-heading h1{font-size:27px}.section-head h2{font-size:16px}.budget-row{padding:12px 11px}.budget-row>b,.transaction>b{font-size:10px}.transaction{padding:12px 11px}.topbar .crumb{display:none}.placeholder-page h1{font-size:28px}}.auth-shell{display:grid;place-items:center;width:100%;min-width:0;min-height:100vh;overflow-x:hidden;padding:24px;background:radial-gradient(circle at 15% 10%,#e5f1fa 0,transparent 35%),#f4f8fb}.auth-card{width:100%;max-width:430px;min-width:0;padding:34px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 24px 60px #0d23421c}.loading-card{text-align:center}.loading-card .brand-mark{margin:0 auto}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:38px}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{color:var(--navy);font-size:15px}.auth-brand small{margin-top:2px;color:var(--muted);font-size:9px}.auth-card h1{margin:9px 0;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:32px;letter-spacing:-1.3px}.auth-copy{margin:0 0 24px;color:var(--muted);font-size:13px;line-height:1.6}.auth-form{display:grid;min-width:0;gap:15px}.auth-form label{display:grid;min-width:0;gap:7px;color:#5d7691;font-size:11px;font-weight:700}.auth-form input{width:100%;min-width:0;min-height:44px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdff;color:var(--ink);font-size:12px}.auth-submit{width:100%;margin-top:3px}.auth-submit:disabled{cursor:wait;opacity:.65}.auth-error{padding:11px 12px;border:1px solid #f2c8c8;border-radius:9px;background:#fff4f3;color:#a44e4e;font-size:11px;line-height:1.5}.auth-footnote{display:flex;align-items:center;gap:6px;margin-top:22px;color:#8a9aac;font-size:9px;line-height:1.5}.state-page{max-width:720px}.state-page h1{margin:9px 0;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:30px;letter-spacing:-1px}.state-page>p:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.6}.state-page>small{display:block;margin-top:20px;color:#8a9aac;font-size:10px}.state-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:22px;border-radius:16px}.loading-icon{background:#e4f0fb;color:var(--blue);animation:pulse 1.6s ease-in-out infinite}.error-icon{background:#fff0ed;color:#b15f5c}@keyframes pulse{50%{opacity:.5;transform:scale(.96)}}.member-balances{margin:0 0 28px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.member-balance-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 17px;border-bottom:1px solid #eef3f7;color:var(--blue)}.member-balance-heading h2{margin:6px 0 0;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:16px}.member-balance-row{display:flex;align-items:center;gap:11px;padding:13px 17px;border-bottom:1px solid #eef3f7}.member-balance-row:last-child{border-bottom:0}.member-balance-row>span:nth-child(2){flex:1}.member-balance-row strong,.member-balance-row small{display:block}.member-balance-row strong{color:var(--navy);font-size:11px}.member-balance-row small{margin-top:3px;color:var(--muted);font-size:9px}.member-balance-row>b{color:var(--navy);font-size:12px}.member-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e4f0fb;color:var(--blue);font-size:11px;font-weight:700}.form-notice{grid-column:span 2;margin:0;color:var(--muted);font-size:10px;line-height:1.5}.scope-label{display:inline-block;margin-left:7px;padding:3px 6px;border-radius:999px;font-style:normal;font-size:8px;font-weight:600}.scope-label.personal{background:#e4f0fb;color:#3d84c4}.scope-label.family{background:#e2f4ea;color:#25835c}.shopping-groups{display:grid;gap:18px}.shopping-group-heading{display:flex;align-items:center;justify-content:space-between;margin:0 4px 8px;color:var(--navy);font-size:12px}.shopping-group-heading span{color:var(--muted);font-size:10px;font-weight:400}.completed-heading{color:#657b90}.shopping-item.completed{background:#fbfcfd}.shopping-item.completed strong{text-decoration:line-through;text-decoration-thickness:1.5px;color:#7d8da1}.shopping-item.completed small{color:#a0adba}.shopping-item.completed .check-action{border-color:#b9d8c8;background:#edf8f1;color:#25835c}.row-action{display:grid;place-items:center;width:28px;height:28px;margin-left:4px;border:1px solid #e2eaf1;border-radius:8px;background:#fff;color:#6b7f92;cursor:pointer;transition:background .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease),transform .16s var(--ease)}.row-action:hover{background:#eef5fb;color:var(--blue)}.row-action:active{transform:scale(.94)}.row-action.danger:hover{background:#fff0ed;color:#b15f5c}.turnstile-slot{display:flex;width:100%;min-width:0;max-width:100%;overflow:visible}.turnstile-slot>div{width:100%!important;max-width:100%!important}.auth-form>iframe{display:block;width:100%!important;max-width:100%;margin:2px 0}.modal-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px;background:#07192e85;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:modal-fade .18s ease-out}.confirm-modal{width:min(100%,430px);padding:28px;border:1px solid rgba(255,255,255,.7);border-radius:20px;background:#fff;box-shadow:0 26px 80px #07192e42;animation:modal-rise .2s ease-out}.confirm-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:18px;border-radius:14px;background:#fff0ed;color:#b15f5c}.confirm-modal h2{margin:8px 0 9px;color:var(--navy);font-size:24px;letter-spacing:-.6px}.confirm-copy{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.confirm-summary{display:grid;gap:12px;margin:22px 0;padding:15px;border:1px solid #e7eef4;border-radius:12px;background:#f8fbfd}.confirm-summary div{display:flex;align-items:center;justify-content:space-between;gap:20px}.confirm-summary span{color:var(--muted);font-size:10px}.confirm-summary strong{color:var(--navy);font-size:11px;text-align:right}.confirm-summary strong.income{color:#25835c}.confirm-summary strong.expense{color:#ba5d69}.confirm-actions{display:flex;justify-content:flex-end;gap:9px}.confirm-actions .secondary,.danger-primary{min-height:40px;padding:0 14px;border-radius:8px;font-size:10px;font-weight:700}.danger-primary{display:inline-flex;align-items:center;gap:7px;border:0;background:#b15f5c;color:#fff;cursor:pointer}.danger-primary:hover{background:#974b49}.danger-primary:focus-visible{outline:3px solid #f2b7b2;outline-offset:2px}@keyframes modal-fade{0%{opacity:0}to{opacity:1}}@keyframes modal-rise{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.toast{position:fixed;top:calc(env(safe-area-inset-top) + 1rem);left:50%;z-index:200;display:flex;align-items:flex-start;gap:11px;width:min(380px,calc(100vw - 32px));padding:14px 12px 14px 14px;border:1px solid var(--toast-border);border-left:4px solid var(--toast-accent);border-radius:12px;background:#fff;box-shadow:0 18px 44px #0d23422e;animation:toast-in .24s var(--ease);transform:translate(-50%)}.toast-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--toast-soft);color:var(--toast-accent)}.toast-copy{display:grid;min-width:0;gap:4px;flex:1}.toast-copy strong{color:var(--navy);font-size:11px;line-height:1.3}.toast-copy small{color:var(--muted);font-size:10px;line-height:1.45}.toast-close{display:grid;place-items:center;flex:none;width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:#8a9aac}.toast-close:hover{background:#f3f6f8;color:var(--navy)}.toast-success{--toast-accent:#25835c;--toast-soft:#e2f4ea;--toast-border:#bfe3ce}.toast-error{--toast-accent:#b15f5c;--toast-soft:#fff0ed;--toast-border:#efc9c5}.toast-warning{--toast-accent:#b7791f;--toast-soft:#fff4da;--toast-border:#efd9a6}.toast-info{--toast-accent:#3d84c4;--toast-soft:#e4f0fb;--toast-border:#c6dff2}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}@media(max-width:520px){.toast{top:calc(env(safe-area-inset-top) + .75rem);width:calc(100vw - 32px)}}@media(max-width:520px){.auth-shell{padding:16px 12px}.auth-card{padding:26px 18px;border-radius:18px}.auth-brand{margin-bottom:30px}.auth-card h1{font-size:29px}.auth-copy{font-size:12px}.turnstile-slot{transform-origin:left center}}.idle-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;background:#07192e94;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.idle-modal{width:min(100%,420px);padding:28px;border:1px solid #dbe7ef;border-radius:18px;background:#fff;box-shadow:0 24px 70px #07192e47}.idle-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:16px;border-radius:14px;background:#e4f0fb;color:#3d84c4}.idle-modal h2{margin:8px 0;color:var(--navy);font-size:22px}.idle-modal>p:not(.eyebrow){margin:0;color:var(--muted);font-size:12px;line-height:1.65}.idle-modal>p strong{color:var(--navy);font-variant-numeric:tabular-nums}.idle-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.auth-notice{display:flex;align-items:flex-start;gap:8px;margin:0 0 18px;padding:11px 12px;border:1px solid #c6dff2;border-radius:9px;background:#e4f0fb;color:#315f86;font-size:11px;line-height:1.5}.module-page{max-width:1160px}.module-add{display:flex;align-items:center;gap:7px;white-space:nowrap}.module-toolbar{display:flex;align-items:center;justify-content:space-between;margin:28px 0 12px;color:var(--muted);font-size:10px}.module-toolbar .text-button{margin-left:auto}.module-form{margin-top:26px;padding:20px;border:1px solid #b9d5e9;border-top:3px solid var(--blue);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.module-form-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.module-form-heading h2{margin:6px 0 0;color:var(--navy);font-size:17px}.module-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.module-form label{display:grid;gap:6px;color:#5d7691;font-size:10px;font-weight:700}.module-form label>span{display:block}.module-form input,.module-form select{width:100%;min-height:40px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff;color:var(--ink);font:inherit;font-size:11px}.module-form .entry-actions{justify-content:flex-end;margin-top:18px}.module-records{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.module-record{display:flex;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid #eef3f7}.module-record:last-child{border-bottom:0}.module-record-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#e4f0fb;color:var(--blue)}.module-record-copy{display:grid;gap:3px;min-width:0;flex:1}.module-record-copy strong{overflow:hidden;color:var(--navy);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.module-record-copy small{color:var(--muted);font-size:10px}.module-record-copy em{overflow:hidden;color:#7d8da1;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.module-record-actions{display:flex;align-items:center;gap:7px}.module-record-actions .row-action{width:auto;padding:0 9px;font-size:10px}.module-empty{display:grid;place-items:center;gap:8px;min-height:230px;padding:30px;border:1px dashed #cddce8;border-radius:13px;background:#fff9;color:var(--muted);text-align:center}.module-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:5px;border-radius:15px;background:#e4f0fb;color:var(--blue)}.module-empty strong{color:var(--navy);font-size:13px}.module-empty small{font-size:10px}@media(max-width:620px){.module-page .hero{display:block}.module-add{margin-top:18px}.module-form-grid{grid-template-columns:1fr}.module-form .entry-actions{justify-content:stretch}.module-form .entry-actions button{flex:1}.module-record{padding:13px 11px}.module-record-actions .row-action{padding:0 7px}.module-record-copy em{display:none}}.notification-panel{position:absolute;top:58px;right:42px;z-index:50;width:330px;max-width:calc(100vw - 32px);border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 18px 46px #0d23422e;overflow:hidden}.notification-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:16px;border-bottom:1px solid #eef3f7}.notification-heading h2{margin:5px 0 0;color:var(--navy);font-size:16px}.notification-list{max-height:360px;overflow:auto}.notification-row{display:flex;align-items:flex-start;gap:10px;width:100%;padding:13px 16px;border:0;border-bottom:1px solid #eef3f7;background:#fff;text-align:left}.notification-row:hover{background:#f8fbfd}.notification-row>span{display:grid;gap:3px;flex:1}.notification-row strong{color:var(--navy);font-size:11px}.notification-row small,.notification-row em{color:var(--muted);font-size:10px;font-style:normal;line-height:1.4}.notification-row i{width:7px;height:7px;margin-top:4px;border-radius:50%;background:var(--blue)}.notification-row.read{opacity:.68}.notification-empty{padding:28px 18px;color:var(--muted);font-size:11px;text-align:center}@media(max-width:620px){.notification-panel{top:52px;right:10px}}.splash-screen{position:relative;display:grid;place-items:center;min-height:100vh;overflow:hidden;background:#0b1220;color:#fff}.splash-content{position:relative;z-index:1;display:grid;justify-items:center;width:min(86vw,360px);text-align:center;animation:splash-rise .7s var(--ease) both}.splash-logo{display:grid;place-items:center;width:76px;height:76px;margin-bottom:28px;border:1px solid rgba(255,255,255,.22);border-radius:24px;background:#ffffff14;box-shadow:0 20px 60px #00000047}.splash-logo img{width:54px;height:54px;border-radius:15px}.splash-kicker{margin:0;color:#75bde0;font-size:8px;font-weight:800;letter-spacing:2px}.splash-content h1{margin:12px 0 10px;color:#fff;font-family:Helvetica,Arial,sans-serif;font-size:36px;letter-spacing:-1.5px}.splash-copy{max-width:290px;margin:0;color:#a8bbd2;font-size:12px;line-height:1.7}.splash-loader{display:flex;gap:6px;margin:34px 0 13px}.splash-loader i{display:block;width:6px;height:6px;border-radius:50%;background:#75bde0;animation:splash-dot 1.1s ease-in-out infinite}.splash-loader i:nth-child(2){animation-delay:.15s}.splash-loader i:nth-child(3){animation-delay:.3s}.splash-content small{color:#7288a3;font-size:9px}.splash-footer{position:absolute;right:0;bottom:25px;left:0;display:flex;align-items:center;justify-content:center;gap:7px;color:#5f7591;font-size:9px}.splash-footer svg{color:#75bde0}.splash-orbit{position:absolute;border:1px solid rgba(117,189,224,.14);border-radius:50%;transform:rotate(-22deg)}.splash-orbit-one{width:520px;height:220px}.splash-orbit-two{width:680px;height:300px;border-color:#75bde014;transform:rotate(26deg)}@keyframes splash-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes splash-dot{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}.member-private{display:flex;align-items:center;gap:9px;min-height:82px;margin-top:22px;padding:12px;border-radius:10px;background:#f7fafc;color:var(--muted)}.member-private strong,.member-private small{display:block}.member-private strong{color:var(--navy);font-size:10px}.member-private small{margin-top:4px;font-size:9px;line-height:1.45}.available-balance{display:block;margin-top:2px;color:#6f8397;font-size:9px;font-weight:500}.available-balance strong{color:#25835c;font-weight:700}.available-balance.insufficient,.available-balance.insufficient strong{color:#ba5d69}.primary:disabled{cursor:not-allowed;opacity:.5}.available-balance-card{display:flex;align-items:center;gap:9px;margin-top:3px;padding:9px 10px;border:1px solid #cfe9dc;border-radius:9px;background:#f2fbf6}.available-balance-card span{color:#47745d;font-size:9px;font-weight:600}.available-balance-card strong{margin-left:auto;color:#1f8058;font-family:Helvetica,Arial,sans-serif;font-size:13px}.available-balance-card small{color:#6e9180;font-size:8px}.available-balance-card.insufficient{border-color:#f0c5ca;background:#fff5f5}.available-balance-card.insufficient span,.available-balance-card.insufficient strong,.available-balance-card.insufficient small{color:#b04f5a}.activity-heading{align-items:flex-end}.activity-heading small{display:block;margin-top:5px;color:var(--muted);font-size:10px;font-weight:700}.activity-filters{display:flex;gap:10px;margin:-4px 0 14px;padding:11px;border:1px solid #e3ebf2;border-radius:12px;background:#f8fbfd}.activity-filters label{display:flex;flex:0 1 170px;flex-direction:column;gap:5px;color:var(--navy);font-size:10px;font-weight:800}.activity-filters select{min-height:40px;padding:0 10px;border:1px solid #b8d0e2;border-radius:9px;background:#fff;color:var(--navy);font-size:11px;font-weight:800;box-shadow:0 2px 8px #16365a0a}.activity-filters select:focus{outline:0;border-color:#3d84c4;box-shadow:0 0 0 3px #3d84c422}.activity-empty{margin:0;padding:24px 0;color:var(--muted);font-size:11px;text-align:center}@media(max-width:600px){.activity-filters{gap:8px}.activity-filters label{flex:1 1 50%;min-width:0}.activity-filters select{width:100%;min-width:0}.activity-heading>span{white-space:nowrap}}.activity-heading{align-items:center}.activity-heading h2{letter-spacing:-.4px}.activity-heading small{display:none}.activity-inline-filters{display:flex;align-items:flex-end;gap:7px}.activity-inline-filters label{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.activity-inline-filters select{min-height:30px;max-width:94px;padding:0 7px;border:1px solid #c7d8e5;border-radius:7px;background:#fff;color:var(--navy);font-size:10px;font-weight:800}.activity-inline-filters select:focus{outline:0;border-color:#3d84c4;box-shadow:0 0 0 3px #3d84c422}.activity-inline-filters em{display:grid;place-items:center;min-width:26px;height:30px;border-radius:7px;background:#edf5fb;color:var(--blue);font-size:10px;font-style:normal;font-weight:800}@media(max-width:600px){.activity-heading{align-items:flex-end}.activity-inline-filters{gap:4px}.activity-inline-filters select{max-width:82px;padding:0 5px;font-size:9px}.activity-inline-filters em{min-width:23px;height:30px}}.finance-loading-shell{min-height:calc(100vh - 72px)}.skeleton-line,.skeleton-block,.skeleton-row i,.skeleton-row b,.skeleton-row em{display:block;background:linear-gradient(90deg,#edf3f7 25%,#f8fbfd,#edf3f7 75%);background-size:200% 100%;animation:skeleton-shimmer 1.35s ease-in-out infinite;border-radius:7px}.skeleton-eyebrow{width:92px;height:10px}.skeleton-title{width:min(430px,65vw);height:31px;margin:10px 0 8px}.skeleton-copy{width:260px;height:12px}.skeleton-balance{width:210px;height:104px;border-radius:13px}.skeleton-metrics{margin-top:25px}.skeleton-label{width:86px;height:10px}.skeleton-value{width:132px;height:24px;margin:13px 0 8px}.skeleton-meta{width:112px;height:9px}.skeleton-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin:24px 0 16px}.skeleton-actions .skeleton-block{height:68px;border-radius:13px}.skeleton-transactions{padding:8px 17px}.skeleton-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #eef3f7}.skeleton-row:last-child{border-bottom:0}.skeleton-row i{width:30px;height:30px;border-radius:9px}.skeleton-row b{width:42%;height:11px}.skeleton-row em{width:78px;height:11px;margin-left:auto}@media(max-width:820px){.skeleton-balance{width:100%;margin-top:20px}.skeleton-actions{grid-template-columns:1fr}.skeleton-title{width:70vw}}@media(max-width:520px){.skeleton-metrics{grid-template-columns:1fr 1fr}.skeleton-metrics .metric-card:first-child{grid-column:1/-1}.skeleton-transactions{padding-inline:11px}}.app-recovery{display:grid;place-items:center;min-height:100vh;padding:24px;background:radial-gradient(circle at 15% 10%,#e5f1fa 0,transparent 35%),#f4f8fb}.app-recovery__card{width:min(100%,460px);padding:36px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 24px 60px #0d23421c;text-align:center}.app-recovery__icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 20px;border-radius:16px;background:#e4f0fb;color:var(--blue)}.app-recovery__card h1{margin:9px 0;color:var(--navy);font-size:26px;letter-spacing:-.7px}.app-recovery__card>p:not(.eyebrow){margin:0 0 24px;color:var(--muted);font-size:13px;line-height:1.6}.app-recovery__card .primary{display:inline-flex;align-items:center;gap:7px}html{overflow-x:hidden;text-size-adjust:100%;-webkit-text-size-adjust:100%;background:#f4f8fb}body{overflow-x:hidden;overscroll-behavior-x:none;-webkit-tap-highlight-color:transparent}.app-shell{width:100%;min-width:0}.app-shell main{min-width:0;overflow-x:clip}.content{width:100%;min-width:0}.topbar{min-width:0}.topbar>div{min-width:0}.topbar strong,.crumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}img,svg{max-width:100%}button,input,select{touch-action:manipulation}@media(max-width:820px){.sidebar{max-width:86vw}.topbar{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.content{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(92px,calc(72px + env(safe-area-inset-bottom)))}.mobile-nav{padding-bottom:max(9px,env(safe-area-inset-bottom))}}.finance-loading-shell{min-height:calc(100vh - 72px);background:linear-gradient(180deg,#f4f8fb 0,#edf4f8)}.finance-loading-panel{position:relative;overflow:hidden;display:grid;gap:12px;max-width:720px;margin:20px auto 18px;padding:30px;border:1px solid #1f4e76;border-radius:20px;background:linear-gradient(135deg,#0b2545,#123b61 68%,#1b567c);box-shadow:0 20px 45px #0b254533;color:#fff}.finance-loading-panel:after{content:"";position:absolute;width:220px;height:220px;right:-70px;top:-95px;border:1px solid rgba(176,220,242,.18);border-radius:50%;box-shadow:0 0 0 24px #b0dcf20d,0 0 0 48px #b0dcf20a}.finance-loading-orb{display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:#ffffff1f;color:#b8e1f3;animation:loading-orb-pulse 1.8s ease-in-out infinite}.finance-loading-panel .eyebrow{color:#9ed2ed}.finance-loading-panel h1{position:relative;z-index:1;margin:2px 0 0;color:#fff;font-family:Helvetica,Arial,sans-serif;font-size:26px;letter-spacing:-.7px}.finance-loading-panel>div:nth-child(2)>p:last-child{position:relative;z-index:1;max-width:470px;margin:0;color:#c4d8e8;font-size:12px;line-height:1.6}.finance-loading-status{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin-top:4px;color:#d9edf6;font-size:11px;font-weight:700}.loading-pulse{width:8px;height:8px;border-radius:50%;background:#55d0a0;box-shadow:0 0 0 5px #55d0a026;animation:loading-pulse 1.2s ease-in-out infinite}.finance-loading-track{position:relative;z-index:1;height:4px;overflow:hidden;border-radius:99px;background:#ffffff29}.finance-loading-track i{display:block;width:42%;height:100%;border-radius:inherit;background:#9ed2ed;animation:loading-track 1.6s ease-in-out infinite}@keyframes loading-pulse{50%{opacity:.45;transform:scale(.8)}}@keyframes loading-orb-pulse{50%{transform:translateY(-2px);box-shadow:0 8px 20px #0000001f}}@keyframes loading-track{0%{transform:translate(-110%)}to{transform:translate(280%)}}.finance-loading-preview{max-width:720px;margin:0 auto;padding:16px 18px;border:1px dashed #b7cddd;border-radius:13px;background:#ffffff61;color:#7890a5;font-size:10px;text-align:center}@media(max-width:520px){.finance-loading-panel{margin:8px 0 16px;padding:24px 20px;border-radius:16px}.finance-loading-panel h1{font-size:23px}.finance-loading-preview{font-size:9px}}.finance-loading-shell{display:grid;place-items:center;min-height:calc(100vh - 72px);padding-top:28px;padding-bottom:28px}.finance-loading-panel{width:min(100%,520px);margin:0 auto;padding:34px 32px;text-align:center;justify-items:center}.finance-loading-panel h1{margin-top:0}.finance-loading-copy{position:relative;z-index:1;max-width:420px;margin:0;color:#c4d8e8;font-size:12px;line-height:1.6}.finance-loading-panel small{position:relative;z-index:1;color:#9ebbd0;font-size:10px}.finance-loading-status{justify-content:center;width:100%}.finance-loading-track{width:100%}@media(max-width:520px){.finance-loading-shell{min-height:calc(100vh - 120px);padding-top:18px;padding-bottom:30px}.finance-loading-panel{width:100%;padding:30px 22px}.finance-loading-panel h1{font-size:22px}}html,body{overscroll-behavior-y:contain}html{min-height:100%}body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);min-height:100%;overflow-y:auto}.topbar{padding-top:max(19px,calc(19px + env(safe-area-inset-top)))}.auth-shell,.finance-loading-shell{padding-top:max(24px,calc(24px + env(safe-area-inset-top)));padding-bottom:max(24px,calc(24px + env(safe-area-inset-bottom)))}.app-shell main{touch-action:pan-y;min-height:100%}@media(max-width:820px){.topbar{padding-top:max(14px,calc(14px + env(safe-area-inset-top)))}}.reversal-reason{display:grid;gap:7px;margin:16px 0;color:#5d7691;font-size:10px;font-weight:700}.reversal-reason textarea{min-height:76px;width:100%;resize:vertical;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfdff;color:var(--ink);font:inherit;font-size:11px;line-height:1.5}.reversal-reason textarea:focus{border-color:#9bc9ec;outline:3px solid #9bc9ec55}@media(max-width:820px){.app-shell main{height:100dvh;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:auto}}.edit-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.edit-form label{display:grid;min-width:0;gap:7px;color:#5d7691;font-size:11px;font-weight:700}.edit-form label:last-child{grid-column:1 / -1}.edit-form input,.edit-form select{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdff;color:var(--ink);font:inherit;font-size:13px}.edit-form input:focus,.edit-form select:focus{border-color:#9bc9ec;outline:3px solid #9bc9ec55}.edit-form+.confirm-actions{margin-top:22px;padding-top:16px;border-top:1px solid #edf2f6}@media(max-width:560px){.modal-backdrop{align-items:end;padding:12px}.confirm-modal{width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;padding:24px 20px max(20px,calc(20px + env(safe-area-inset-bottom)));border-radius:24px 24px 16px 16px}.confirm-modal h2{font-size:22px}.edit-form{grid-template-columns:1fr;gap:14px;margin-top:20px}.edit-form label:last-child{grid-column:auto}.edit-form input,.edit-form select{min-height:48px;font-size:16px}.edit-form+.confirm-actions{position:sticky;bottom:0;margin-right:-20px;margin-bottom:-20px;margin-left:-20px;padding:14px 20px max(14px,calc(14px + env(safe-area-inset-bottom)));background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.confirm-actions{justify-content:stretch}.confirm-actions .secondary,.confirm-actions .primary{flex:1;min-height:48px}}.edit-modal{width:min(100%,480px);padding:24px;border-color:#dbe8f1;box-shadow:0 30px 90px #07192e3d}.modal-heading{display:flex;align-items:center;gap:12px}.modal-heading-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border:1px solid #d8e8f3;border-radius:11px;background:#f0f7fc;color:var(--blue)}.modal-heading .eyebrow{margin-bottom:4px;font-size:9px;letter-spacing:1.15px}.modal-heading h2{margin:0;font-size:21px;letter-spacing:-.45px}.modal-close{display:grid;place-items:center;width:32px;height:32px;margin-left:auto;border:1px solid #e1eaf2;border-radius:9px;background:#fff;color:#7990a3}.modal-close:hover{border-color:#b9d5e9;background:#f7fbfe;color:var(--navy)}.edit-modal>.confirm-copy{max-width:390px;margin-top:10px;font-size:11px}.edit-modal .edit-form{gap:13px;margin-top:20px}.edit-modal .edit-form label{gap:6px;color:#516b84;font-size:10px;letter-spacing:.1px}.edit-modal .edit-form input,.edit-modal .edit-form select{min-height:44px;padding:10px 11px;border-color:#dbe7ef;border-radius:8px;background:#fcfdff;font-size:12px;transition:border-color .16s,box-shadow .16s,background .16s}.edit-modal .edit-form input:hover,.edit-modal .edit-form select:hover{border-color:#b9d5e9}.edit-modal .edit-form input:focus,.edit-modal .edit-form select:focus{border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px #3d84c41f;outline:0}.amount-control>span{position:absolute;top:50%;left:12px;color:#8296a8;font-size:12px;font-weight:700;pointer-events:none;transform:translateY(-50%)}.amount-control input{padding-left:28px!important;font-weight:700}.edit-modal .confirm-actions{gap:10px;margin-top:20px;padding-top:16px}.edit-modal .confirm-actions .secondary,.edit-modal .confirm-actions .primary{min-height:42px;border-radius:8px}@media(max-width:560px){.edit-modal{padding:20px 18px max(18px,calc(18px + env(safe-area-inset-bottom)));border-radius:20px 20px 14px 14px}.edit-modal .edit-form{gap:12px;margin-top:18px}.edit-modal .edit-form input,.edit-modal .edit-form select{min-height:46px;font-size:15px}.edit-modal .edit-form+.confirm-actions{margin-right:-18px;margin-bottom:-18px;margin-left:-18px;padding:12px 18px max(12px,calc(12px + env(safe-area-inset-bottom)))}}@media(max-width:820px){html,body{overscroll-behavior-y:none}.app-shell main{height:100dvh;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:none;-webkit-overflow-scrolling:touch}}.native-refresh{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:10px;width:48px;height:48px;margin:8px auto;padding:6px;border:1px solid #c8ddea;border-radius:50%;background:#fffffff7;box-shadow:0 6px 18px #0d23421a;transform:scale(.72);opacity:.28;transition:transform .16s ease,opacity .16s ease}.native-refresh-orb{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e4f0fb;color:var(--blue)}.native-refresh-pulling .native-refresh-orb,.native-refresh-refreshing .native-refresh-orb{animation:refresh-spin 1s linear infinite}.native-refresh-refreshing{transform:scale(1);opacity:1}.native-refresh-copy{display:grid;gap:2px;min-width:0}.native-refresh-copy strong{color:var(--navy);font-size:11px}.native-refresh-copy small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.native-refresh-action{min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--blue);font-size:10px;font-weight:700}.native-refresh-error{width:min(calc(100% - 32px),360px);height:auto;min-height:42px;border-radius:12px;transform:none;opacity:1}.native-refresh-error .native-refresh-orb{background:#fff0ed;color:#b15f5c}.native-refresh-pulling.native-refresh-progress-1{transform:scale(.72);opacity:.45}.native-refresh-pulling.native-refresh-progress-2{transform:scale(.84);opacity:.8}.native-refresh-pulling.native-refresh-progress-3{transform:scale(1);opacity:1}.finance-loading-shell{min-height:calc(100dvh - 72px);padding-top:24px;padding-bottom:24px}@media(max-width:520px){.finance-loading-shell{min-height:calc(100dvh - 120px);padding-top:16px;padding-bottom:24px}}.profile-card{padding:20px}.profile-intro{display:flex;align-items:center;gap:12px;padding:2px 2px 18px;border-bottom:1px solid #eef3f7}.profile-intro>span:last-child{display:grid;gap:4px}.profile-intro strong{color:var(--navy);font-size:13px}.profile-intro small{color:var(--muted);font-size:10px}.profile-avatar{display:grid;place-items:center;width:42px;height:42px;border:1px solid #cfe1ee;border-radius:12px;background:linear-gradient(145deg,#f7fbff,#e6f2fb);color:var(--blue)}.profile-fields{display:grid;gap:14px;padding-top:18px}.profile-fields label{display:grid;gap:6px}.profile-fields input{box-sizing:border-box;width:100%;min-height:42px;padding:0 12px;border:1px solid #d6e3ec;border-radius:9px;background:#fbfdff;color:var(--ink);font:inherit;font-size:12px;outline:none}.profile-fields input:focus{border-color:#8bbfe6;box-shadow:0 0 0 3px #8bbfe633}.profile-fields input[readonly]{background:#f3f7fa;color:var(--muted)}.profile-card .preference-actions{padding:16px 0 0}.profile-signout{margin-top:4px;border-top:1px solid #eef3f7}.profile-signout .secondary{color:#547086}.edit-modal .edit-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.edit-modal .edit-form label{display:grid;min-width:0;gap:7px;color:#526b83;font-size:11px;font-weight:700;line-height:1.2}.edit-modal .edit-form label>span{display:block;min-height:13px}.edit-modal .edit-form input,.edit-modal .edit-form select{box-sizing:border-box;width:100%;min-height:46px;padding:11px 12px;border:1px solid #d6e3ec;border-radius:10px;background:#fbfdff;color:var(--ink);font-size:13px;line-height:1.2}.edit-modal .edit-form input::placeholder{color:#9aacbb}.edit-modal .edit-form input:focus,.edit-modal .edit-form select:focus{border-color:#6aa9d6;background:#fff;outline:0;box-shadow:0 0 0 3px #3d84c424}.edit-modal .edit-form input[readonly]{background:#f3f7fa;color:var(--muted)}.edit-modal .description-field{grid-column:1/-1}.edit-modal .amount-control{display:block}.edit-modal .amount-control>span{left:13px;font-size:13px}.edit-modal .amount-control input{padding-left:31px!important;font-variant-numeric:tabular-nums}.edit-modal .confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;padding-top:17px;border-top:1px solid #e8eff4}.edit-modal .confirm-actions .primary,.edit-modal .confirm-actions .secondary{width:100%;min-height:46px;border-radius:10px;font-size:11px;font-weight:700}.edit-modal .confirm-actions .primary{box-shadow:0 7px 16px #0b254524}.edit-modal .confirm-actions .secondary{background:#fff}@media(max-width:560px){.edit-modal .edit-form{grid-template-columns:1fr;gap:15px;margin-top:20px}.edit-modal .description-field{grid-column:auto}.edit-modal .edit-form input,.edit-modal .edit-form select{min-height:48px;font-size:16px}.edit-modal .confirm-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;padding:13px 18px max(13px,calc(13px + env(safe-area-inset-bottom)));border-top:1px solid #e8eff4;background:#fffffff7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.edit-modal .confirm-actions .primary,.edit-modal .confirm-actions .secondary{min-height:48px;font-size:12px}}.edit-modal{max-height:min(720px,calc(100dvh - 32px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.edit-modal .modal-heading h2{font-size:clamp(18px,2.1vw,21px);line-height:1.15}.edit-modal>.confirm-copy{font-size:clamp(10px,1.5vw,12px);line-height:1.55;color:#718397}.edit-modal .edit-form input,.edit-modal .edit-form select{font-size:clamp(13px,1.6vw,15px)}.edit-modal .edit-form label{font-size:clamp(10px,1.35vw,11px)}.edit-modal .confirm-actions .primary{background:var(--navy);color:#fff}.edit-modal .confirm-actions .secondary{border-color:#d8e4ec;color:#597188}@media(max-width:560px){.edit-modal{max-height:calc(100dvh - 16px);padding:18px 16px max(16px,calc(16px + env(safe-area-inset-bottom)));border-radius:20px 20px 14px 14px}.edit-modal .modal-heading{gap:10px}.edit-modal .modal-heading-icon{width:36px;height:36px;border-radius:10px}.edit-modal .modal-heading h2{font-size:clamp(18px,5.5vw,21px)}.edit-modal>.confirm-copy{margin-top:9px;font-size:13px;line-height:1.5}.edit-modal .edit-form{gap:13px;margin-top:18px}.edit-modal .edit-form label{font-size:11px}.edit-modal .edit-form input,.edit-modal .edit-form select{min-height:46px;font-size:clamp(14px,4vw,15px);padding:10px 11px}.edit-modal .confirm-actions{position:sticky;bottom:calc(-1*max(16px,env(safe-area-inset-bottom)));margin:18px -16px calc(-1*max(16px,env(safe-area-inset-bottom)));padding:12px 16px max(12px,calc(12px + env(safe-area-inset-bottom)));background:#fffffff7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:2}.edit-modal .confirm-actions .primary,.edit-modal .confirm-actions .secondary{min-height:46px;font-size:11px}}@media(max-width:560px){.modal-backdrop{padding:8px}.edit-modal{width:100%;max-height:calc(100dvh - 16px);padding:16px 14px max(14px,calc(14px + env(safe-area-inset-bottom)));border-radius:18px 18px 12px 12px}.edit-modal .modal-heading{gap:9px}.edit-modal .modal-heading-icon{width:34px;height:34px;border-radius:9px}.edit-modal .modal-heading .eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:3px}.edit-modal .modal-heading h2{font-size:clamp(17px,5vw,20px);letter-spacing:-.25px}.edit-modal .modal-close{width:30px;height:30px;border-radius:8px}.edit-modal>.confirm-copy{max-width:none;margin:8px 0 0;font-size:12px;line-height:1.45}.edit-modal .edit-form{gap:10px;margin-top:15px}.edit-modal .edit-form label{gap:5px;font-size:10px}.edit-modal .edit-form label>span{min-height:12px}.edit-modal .edit-form input,.edit-modal .edit-form select{min-height:42px;padding:8px 10px;border-radius:8px;font-size:14px}.edit-modal .amount-control>span{left:11px;font-size:12px}.edit-modal .amount-control input{padding-left:27px!important}.edit-modal .confirm-actions{gap:8px;margin:14px -14px calc(-1*max(14px,env(safe-area-inset-bottom)));padding:10px 14px max(10px,calc(10px + env(safe-area-inset-bottom)))}.edit-modal .confirm-actions .primary,.edit-modal .confirm-actions .secondary{min-height:44px;border-radius:8px;font-size:11px}}@media(max-width:560px){.modal-backdrop{align-items:center;padding:12px;background:#07192e8f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.edit-modal{width:min(100%,460px);max-height:calc(100dvh - 24px);overflow-y:auto;border:0;border-radius:20px;box-shadow:0 20px 58px #07192e38}.edit-modal .confirm-actions{position:static;margin:16px 0 0;padding:14px 0 0;border-top:1px solid #edf2f6;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}}@media(max-height:680px)and (max-width:560px){.modal-backdrop{align-items:flex-start;padding-top:10px;padding-bottom:10px}.edit-modal{max-height:calc(100dvh - 20px)}}.modal-backdrop{overflow:hidden;overscroll-behavior-x:none;touch-action:pan-y}.edit-modal{overflow-x:hidden;border:0;box-shadow:0 18px 44px #07192e29;touch-action:pan-y;overscroll-behavior-x:none}@media(max-width:560px){.modal-backdrop{width:100%;max-width:100%;padding:12px;overflow:hidden}.edit-modal{width:100%;max-width:460px;border:0;box-shadow:0 16px 36px #07192e24;overflow-x:hidden;overflow-y:auto}}@font-face{font-family:Pyidaungsu;src:url(/fonts/Pyidaungsu-2.5.3-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap;size-adjust:92%;ascent-override:88%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Pyidaungsu;src:url(/fonts/Pyidaungsu-2.5.3-Bold.ttf) format("truetype");font-weight:600 800;font-style:normal;font-display:swap;size-adjust:92%;ascent-override:88%;descent-override:20%;line-gap-override:0%}:root{--myanmar-font:Pyidaungsu,"Noto Sans Myanmar",sans-serif;--family-font-ui:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,var(--myanmar-font);--type-display:clamp(2rem,4vw,3rem);--type-title:clamp(1.5rem,3vw,2rem);--type-heading:1.25rem;--type-body-lg:1.125rem;--type-body:1rem;--type-body-sm:.875rem;--type-caption:.8125rem;--type-micro:.75rem;--leading-tight:1.25;--leading-body:1.5;--leading-relaxed:1.6}body,.edit-modal input,.edit-modal select,.edit-modal button{font-family:var(--family-font-ui)}.edit-modal{max-height:none;overflow-y:visible;line-height:1.45}.edit-modal .edit-form input,.edit-modal .edit-form select{line-height:1.45}@media(max-height:680px){.edit-modal{max-height:calc(100dvh - 20px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c8d6e1 transparent}}.settings-group{margin-top:20px}.settings-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px 10px;border-bottom:1px solid #e8eff4}.settings-group-heading .eyebrow{margin:0;color:var(--blue);font-size:10px;letter-spacing:1.1px}.settings-group-heading>span{color:var(--muted);font-size:10px}.settings-group .profile-fields{gap:0;padding-top:0}.settings-group .profile-fields label{display:grid;grid-template-columns:minmax(92px,.55fr) minmax(0,1fr);align-items:center;gap:16px;min-height:58px;padding:9px 2px;border-bottom:1px solid #edf2f6}.settings-group .profile-fields label:last-child{border-bottom:0}.settings-group .profile-fields label>span{color:#526b83;font-size:11px;font-weight:700}.settings-group .profile-fields input{min-height:40px;font-size:12px}.settings-group .profile-fields input[readonly]{background:#f5f8fa}.settings-group+.preference-actions{display:flex;align-items:center;gap:10px;padding-top:18px}.settings-group+.preference-actions small{color:var(--muted);font-size:10px}@media(max-width:520px){.settings-group-heading{align-items:flex-start;flex-direction:column;gap:3px;padding-bottom:8px}.settings-group .profile-fields label{grid-template-columns:92px minmax(0,1fr);gap:10px;min-height:54px}.settings-group .profile-fields label>span{font-size:10px}.settings-group .profile-fields input{min-height:38px;padding:0 10px;font-size:12px}}.settings-page>.section-head{margin-bottom:28px}.settings-page>.section-head h1{margin-bottom:7px}.settings-layout{display:grid;gap:18px}.settings-section{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow)}.settings-section-heading{padding:17px 19px 13px;border-bottom:1px solid #eef3f7;background:linear-gradient(135deg,#fff,#f8fbfd)}.settings-section-heading h2{margin:6px 0 0;color:var(--navy);font-family:Helvetica,Arial,sans-serif;font-size:16px}.settings-section-list{display:grid}.settings-row{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 17px;border:0;border-bottom:1px solid #eef3f7;background:#fff;color:inherit;text-align:left;transition:background .18s var(--ease),transform .16s}.settings-row:last-child{border-bottom:0}.settings-row:not(:disabled){cursor:pointer}.settings-row:not(:disabled):hover{background:#f8fbfd}.settings-row:not(:disabled):active{transform:scale(.995)}.settings-row:disabled{cursor:not-allowed}.settings-row-disabled{opacity:.78}.settings-row-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#e4f0fb;color:var(--blue)}.settings-row-copy{display:grid;min-width:0;gap:4px;flex:1}.settings-row-copy strong{color:var(--navy);font-size:12px}.settings-row-copy small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.settings-row-value{color:var(--muted);font-size:10px;white-space:nowrap}.settings-row-chevron{flex:0 0 auto;color:#a0afbf}.settings-profile-card{padding:19px}.settings-profile-card .profile-fields{max-width:620px}.settings-profile-card .preference-actions{padding:16px 0 0}.settings-signout{display:flex;align-items:center;gap:12px;padding:4px 2px 12px}.settings-signout .secondary{display:inline-flex;align-items:center;gap:7px;color:#7f5155;border-color:#ead7d8}.settings-signout small{color:var(--muted);font-size:10px}@media(max-width:620px){.settings-section-heading{padding:15px 14px 11px}.settings-row{min-height:64px;padding:11px 13px;gap:10px}.settings-row-copy small{white-space:normal;line-height:1.35}.settings-row-value{display:none}.settings-profile-card{padding:15px}.settings-signout{align-items:flex-start;flex-direction:column;gap:8px;padding-bottom:18px}}.settings-signout{display:grid;gap:9px;width:100%;padding:2px 0 12px}.settings-signout .secondary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:clamp(12px,2.2vw,16px) clamp(16px,4vw,28px);border-color:#ead7d8;border-radius:10px;color:#7f5155;font-size:12px;font-weight:700;line-height:1.2}.settings-signout small{display:block;padding:0 4px;color:var(--muted);font-size:10px;line-height:1.45;text-align:center}@media(max-width:520px){.settings-signout{padding-bottom:18px}.settings-signout .secondary{min-height:50px;font-size:12px}.settings-signout small{font-size:9px}}:root{--navy:#0b2545;--ink:#132c48;--blue:#2f6f9f;--muted:#60758a;--line:#dfe8ef;--surface:#fff;--soft:#f8fbfd;--success:#1f6f4b;--success-soft:#e2f4ea;--success-border:#bfe3ce;--danger:#9f4f4e;--danger-strong:#8f4546;--danger-soft:#fff0ed;--danger-border:#efc9c5;--warning:#8b6413;--warning-soft:#fff4da;--warning-border:#efd9a6;--info:#2f6f9f;--info-soft:#e4f0fb;--info-border:#c6dff2}.action.income>span,.tx-icon.income,.available-balance-card{color:var(--success)}.action.income>span{background:var(--success-soft)}.transaction>b.income,.confirm-summary strong.income{color:var(--success)}.action.expense>span,.tx-icon.expense{color:var(--danger)}.action.expense>span,.tx-icon.expense{background:var(--danger-soft)}.transaction>b.expense,.confirm-summary strong.expense{color:var(--danger)}.row-action.danger:hover,.confirm-icon,.native-refresh-error .native-refresh-orb{background:var(--danger-soft);color:var(--danger)}.danger-primary{background:var(--danger);color:#fff}.danger-primary:hover{background:var(--danger-strong)}.danger-primary:focus-visible{outline-color:#f2b7b2}.settings-signout .secondary{border-color:var(--danger-border);color:var(--danger)}.toast-success{--toast-accent:var(--success);--toast-soft:var(--success-soft);--toast-border:var(--success-border)}.toast-error{--toast-accent:var(--danger);--toast-soft:var(--danger-soft);--toast-border:var(--danger-border)}.toast-warning{--toast-accent:var(--warning);--toast-soft:var(--warning-soft);--toast-border:var(--warning-border)}.toast-info{--toast-accent:var(--info);--toast-soft:var(--info-soft);--toast-border:var(--info-border)}.auth-error{border-color:var(--danger-border);background:var(--danger-soft);color:var(--danger-strong)}.auth-notice{border-color:var(--info-border);background:var(--info-soft);color:#285c83}.primary{background:var(--navy)}.primary:focus-visible,.danger-primary:focus-visible{outline-offset:3px}.profile-fields input:focus,.edit-modal .edit-form input:focus,.edit-modal .edit-form select:focus{border-color:var(--info);box-shadow:0 0 0 3px #2f6f9f29}:root{--content-max:1180px;--page-gutter:clamp(16px,3.4vw,42px);--page-top:clamp(28px,4.2vw,48px);--page-bottom:clamp(40px,5vw,64px);--space-1:6px;--space-2:10px;--space-3:14px;--space-4:18px;--space-5:24px;--space-6:32px;--radius-control:10px;--radius-card:16px;--radius-modal:20px;--shadow-card:0 14px 34px rgba(13,35,66,.065);--shadow-elevated:0 22px 64px rgba(7,25,46,.18)}.content{width:100%;max-width:var(--content-max);padding:var(--page-top) var(--page-gutter) var(--page-bottom)}.section-head{align-items:flex-end;gap:var(--space-5);margin:0 0 var(--space-5)}.section-head>div{min-width:0}.section-head h1{margin:8px 0 7px;color:var(--navy);font-family:Helvetica,Arial,var(--myanmar-font),sans-serif;font-size:clamp(26px,3vw,32px);letter-spacing:-1.2px;line-height:1.12}.section-head>div>span{display:block;color:var(--muted);font-size:12px;line-height:1.55}.hero{gap:var(--space-6);margin:0 0 var(--space-6)}.hero h1{font-size:clamp(27px,3.2vw,34px);line-height:1.12}.hero>div:first-child{min-width:0}.hero>div:first-child>p:last-child{max-width:58ch;line-height:1.55}.balance-card,.action,.budget-list,.transactions,.settings-section{border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.metric-grid,.finance-metrics{gap:var(--space-3);margin-top:0;margin-bottom:var(--space-6)}.actions{gap:var(--space-3);margin:0 0 var(--space-5)}.action{min-height:82px;padding:var(--space-4)}.entry-card,.module-form{gap:var(--space-4);margin:0 0 var(--space-5);padding:var(--space-5);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.entry-card h2,.module-form-heading h2{line-height:1.2}.section-head+.budget-list,.section-head+.transactions{margin-top:0}.recent{margin-top:var(--space-6)}.module-toolbar{margin:var(--space-6) 0 var(--space-3)}.module-records{border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.profile-fields input,.edit-modal .edit-form input,.edit-modal .edit-form select,.module-form input,.module-form select{min-height:44px;border-radius:var(--radius-control)}.profile-fields,.preference-actions{gap:var(--space-3)}.primary,.secondary{min-height:42px;border-radius:var(--radius-control)}.confirm-modal,.edit-modal{border-radius:var(--radius-modal);box-shadow:var(--shadow-elevated)}.confirm-modal{width:min(100%,460px);padding:clamp(22px,3vw,30px)}.confirm-actions{gap:var(--space-2);margin-top:var(--space-5)}.toast{border-radius:var(--radius-control);box-shadow:var(--shadow-elevated)}.state-page{max-width:720px;padding-top:clamp(36px,8vw,90px)}.state-page h1{font-size:clamp(27px,3.2vw,34px);line-height:1.12}.settings-page{max-width:900px}.settings-page>.section-head{margin-bottom:var(--space-5)}.settings-layout{gap:var(--space-4)}.settings-section{border-radius:var(--radius-card)}.settings-section-heading{padding:var(--space-4) var(--space-5) var(--space-3)}.settings-profile-card{padding:var(--space-5)}.settings-signout{padding-top:var(--space-1)}@media(max-width:820px){.content{padding-top:clamp(24px,6vw,34px)}.section-head{gap:var(--space-3);margin-bottom:var(--space-4)}.hero,.metric-grid,.finance-metrics{margin-bottom:var(--space-5)}.action{min-height:76px}}@media(max-width:620px){.section-head{display:block}.section-head>div>span{font-size:11px}.hero{display:block}.hero>div:first-child>p:last-child{font-size:12px}.balance-card{margin-top:var(--space-4)}.entry-card,.module-form,.settings-section-heading,.settings-profile-card{padding:var(--space-4)}}@media(max-width:520px){.content{padding-top:24px}.section-head h1,.hero h1{letter-spacing:-.8px}.metric-grid,.finance-metrics,.actions{margin-bottom:var(--space-4)}.action{min-height:72px;padding:var(--space-3)}.confirm-actions{margin-top:var(--space-4)}}:root{--surface-raised: #ffffff;--surface-hover: #f7fbfe;--shadow-soft: 0 10px 28px rgba(13, 35, 66, .06);--shadow-hover: 0 16px 34px rgba(13, 35, 66, .11);--focus-ring: 0 0 0 4px rgba(61, 132, 196, .18)}html{min-width:320px;background:var(--soft);scroll-behavior:smooth}body{color:var(--ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}button,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:0;box-shadow:var(--focus-ring)}main{min-width:0;background:linear-gradient(180deg,#f8fbfdb8,#f4f8fbfa)}.content{min-height:calc(100vh - 60px)}.metric-card,.module-grid button,.action,.budget-list,.transactions,.member-balances,.placeholder-note,.entry-card{background:var(--surface-raised);box-shadow:var(--shadow-soft)}@media(hover:hover)and (pointer:fine){.metric-card,.module-grid button,.action,.placeholder-note{transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease),background-color .18s var(--ease)}.metric-card:hover,.module-grid button:hover,.action:hover,.placeholder-note:hover{border-color:#c7dce9;box-shadow:var(--shadow-hover);transform:translateY(-2px)}.module-grid button:hover,.action:hover{background:var(--surface-hover)}}.primary,.secondary,.action,.module-grid button,.sidebar nav button,.mobile-nav button,.icon-button,.menu-button,.profile,.close-menu{min-height:40px}.primary:hover{background:#16385d}.secondary:hover{border-color:#b9d5e5;background:var(--surface-hover)}.topbar{box-shadow:0 1px #e1eaf2b3,0 8px 24px #0d234206}.auth-card{box-shadow:0 24px 60px #0d234217,0 2px 8px #0d23420a}@media(max-width:820px){.topbar{padding-top:max(14px,env(safe-area-inset-top))}.content{min-height:calc(100vh - 58px);padding-bottom:max(92px,calc(78px + env(safe-area-inset-bottom)))}.mobile-nav{padding-bottom:max(9px,env(safe-area-inset-bottom))}}@media(max-width:520px){.auth-shell{padding:16px}.auth-card{padding:26px 20px;border-radius:18px}}.activity-heading{align-items:flex-end;gap:var(--space-4)}.activity-heading>div:first-child{min-width:0}.activity-context{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}.activity-inline-filters{display:flex;align-items:flex-end;gap:var(--space-2);flex-wrap:nowrap;margin-left:auto;justify-content:flex-end}.activity-inline-filters .form-field{flex:0 1 148px;min-width:138px}.activity-inline-filters label{gap:5px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.activity-inline-filters select{min-height:40px;border-color:#d5e3ec;border-radius:var(--radius-control);background:var(--surface-raised);color:var(--ink);font-size:11px;font-weight:600}@media(max-width:700px){.activity-heading{align-items:flex-start;flex-direction:column}.activity-inline-filters{width:100%;margin-left:0;justify-content:stretch}.activity-inline-filters .form-field{flex:1 1 0;min-width:0}}@media(max-width:420px){.activity-inline-filters{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:7px}.activity-inline-filters .form-field{width:auto}.activity-inline-filters select{min-width:0;padding-inline:8px;font-size:10px}}.finance-hero{align-items:stretch}.finance-hero>div:first-child{display:grid;align-content:center;min-height:128px}.balance-card{display:grid;align-content:center;gap:4px;min-width:min(100%,260px)}.balance-card strong{line-height:1}.action{grid-template-columns:44px minmax(0,1fr) 20px;min-height:86px}.action b,.action small{overflow:hidden;text-overflow:ellipsis}.activity-empty{display:grid;place-items:center;min-height:132px;padding:var(--space-5);color:var(--muted);text-align:center}.activity-empty p{margin:0;font-size:12px;line-height:1.5}.transactions:has(.activity-empty){border-style:dashed;background:linear-gradient(180deg,#fff,#fbfdff)}@media(max-width:820px){.finance-hero>div:first-child{min-height:0}.balance-card{min-width:0}}.skip-link{position:fixed;top:10px;left:10px;z-index:100;padding:10px 14px;border-radius:8px;background:#fff;color:var(--navy);font-size:12px;font-weight:700;transform:translateY(-160%);transition:transform .18s var(--ease)}.skip-link:focus{transform:translateY(0);outline:3px solid #9bc9ec;outline-offset:2px}.auth-password-field{position:relative;display:block;min-width:0}.auth-password-field input{padding-right:46px}.auth-password-field .password-toggle{position:absolute;top:50%;right:6px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#7d8da1;transform:translateY(-50%);transition:background .18s var(--ease),color .18s var(--ease)}.auth-password-field .password-toggle:hover{background:#edf5fb;color:var(--navy)}.auth-password-field .password-toggle:focus-visible{outline:3px solid #9bc9ec;outline-offset:1px}.auth-footnote{justify-content:center;text-align:center}.auth-footnote{width:100%;margin-inline:auto;justify-content:center;align-items:center;flex-wrap:wrap;text-align:center}.auth-shell{min-height:100dvh;overflow-y:auto;overscroll-behavior-y:contain}@supports not (height:100dvh){.auth-shell{min-height:100vh}}.turnstile-slot{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;padding:0;margin:0;border:0;background:transparent;overflow:visible}.turnstile-slot>div{display:block;width:100%!important;max-width:100%!important;min-width:0;margin:0 auto}.turnstile-slot iframe{display:block;width:100%!important;max-width:100%!important;border:0}@media(max-width:520px){.turnstile-slot>div{max-width:100%!important}}.turnstile-region{display:grid;gap:8px}.turnstile-retry{justify-self:start;min-height:32px;padding:0 12px;font-size:11px;color:var(--ink-muted);background:transparent;border:1px solid var(--line);border-radius:8px}.turnstile-retry:hover{color:var(--ink);border-color:var(--ink-muted)}.auth-card{--auth-radius:12px;--auth-control-height:48px}.auth-form{gap:16px}.auth-form label{gap:8px}.auth-form input{min-height:var(--auth-control-height);padding:12px 14px;border-color:#d8e4ed;border-radius:var(--auth-radius);background:#fff;transition:border-color .18s var(--ease),box-shadow .18s var(--ease),background .18s var(--ease)}.auth-form input:hover{border-color:#b9cfdf;background:#fcfeff}.auth-form input:focus{border-color:#6ba8d1;background:#fff;box-shadow:0 0 0 4px #3d84c41f}.auth-password-field .password-toggle{right:7px;width:34px;height:34px;border-radius:9px}.auth-submit{min-height:var(--auth-control-height);margin-top:0;border-radius:var(--auth-radius);letter-spacing:.01em;box-shadow:0 8px 18px #0b25451f;transition:background .18s var(--ease),box-shadow .18s var(--ease),transform .16s var(--ease),opacity .18s var(--ease)}.auth-submit:hover:not(:disabled){background:#16385d;box-shadow:0 10px 22px #0b254529}.auth-submit:active:not(:disabled){transform:translateY(1px) scale(.99)}.auth-error{border-radius:var(--auth-radius)}.turnstile-region{width:100%;min-width:0;gap:7px}.turnstile-slot{width:100%;min-width:0;display:flex;justify-content:center;align-items:center}.turnstile-slot>div{width:100%!important;min-width:0;max-width:100%!important}.turnstile-slot iframe{width:100%!important;max-width:100%!important}@media(max-width:520px){.auth-card{--auth-control-height:46px}.auth-form input{padding-inline:13px}.auth-submit{min-height:var(--auth-control-height)}}.activity-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,auto);align-items:end;gap:24px}.activity-context{display:block;margin-top:7px;color:#71869a;font-size:9px;font-weight:700;letter-spacing:.01em}.activity-context i{display:none}.activity-toolbar{display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;align-self:end;padding:12px 13px;border:1px solid #dce9f0;border-radius:16px;background:linear-gradient(145deg,#fffffffa,#f7fbfdf0);box-shadow:0 10px 24px #0d23420e}.activity-toolbar-caption{display:flex;align-items:center;gap:8px;align-self:center;color:#5f778d;white-space:nowrap}.activity-toolbar-caption>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d8ebf4;border-radius:9px;background:#edf7fb;color:#347fa8}.activity-toolbar-caption strong{font-size:10px;font-weight:800;letter-spacing:.02em}.activity-inline-filters{display:flex;align-items:flex-end;gap:9px}.activity-inline-filters .form-field{flex:0 0 132px;min-width:132px}.activity-inline-filters label{gap:5px;padding-inline:2px;color:#71869a;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.activity-inline-filters select{width:100%;min-width:0;min-height:40px;padding:0 12px;border:1px solid #d4e2ec;border-radius:10px;background:#fff;color:var(--navy);font-size:11px;font-weight:700;box-shadow:0 2px 5px #0d234206;transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .16s var(--ease)}.activity-inline-filters select:hover{border-color:#b8cfdf}.activity-inline-filters select:focus{outline:0;border-color:#6ba8d1;box-shadow:0 0 0 4px #3d84c41f}.activity-inline-filters select:active{transform:scale(.99)}.activity-title-row{display:flex;align-items:center;gap:10px}.activity-title-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #d6e8f2;border-radius:11px;background:linear-gradient(145deg,#eef8fc,#dceef7);color:#2c7aa8}.activity-title-row h2{margin:0;color:var(--navy);font-size:22px;letter-spacing:-.6px;line-height:1.1}.activity-description{max-width:430px;margin:9px 0 10px;color:#71869a;font-size:11px;line-height:1.5}.transaction{min-height:76px;padding:14px 17px;gap:12px;transition:background .18s var(--ease),transform .16s var(--ease)}.transaction:hover{background:#fbfdff}.transaction-main{min-width:0;flex:1}.transaction-main strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.transaction-main small{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.transaction-amount{display:grid;justify-items:end;gap:3px;min-width:92px;text-align:right}.transaction-amount small{color:#8b9cac;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.transaction-amount b{font-size:12px;white-space:nowrap}.transaction-amount.income b{color:#25835c}.transaction-amount.expense b{color:#ba5d69}.transaction-actions{display:flex;align-items:center;gap:7px;margin-left:2px}.transaction-actions .row-action{flex:0 0 38px;width:38px;height:38px;border-radius:11px}@media(max-width:900px){.activity-heading{grid-template-columns:minmax(0,1fr) minmax(230px,.85fr);gap:16px}.activity-toolbar{align-items:stretch;justify-content:flex-start;gap:9px}.activity-toolbar-caption{align-self:flex-start}.activity-inline-filters{width:100%}.activity-inline-filters .form-field{flex:1 1 0;min-width:0}}@media(max-width:700px){.activity-heading{grid-template-columns:minmax(0,1fr) minmax(148px,.92fr);align-items:start;margin-top:26px;gap:10px}.activity-description{display:none}.activity-toolbar{align-self:start;padding:0;border:0;background:transparent;box-shadow:none}.activity-toolbar-caption{display:none}.activity-inline-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.activity-inline-filters label{font-size:7px;letter-spacing:.07em}.activity-inline-filters select{min-height:38px;padding-inline:8px;font-size:9px}.transaction{padding:13px 12px;gap:9px}.transaction-amount{min-width:78px}.transaction-actions{gap:5px}.transaction-actions .row-action{flex-basis:35px;width:35px;height:35px}}@media(max-width:420px){.activity-heading{grid-template-columns:minmax(0,1fr) minmax(145px,.95fr);gap:8px}.activity-title-icon{flex-basis:30px;width:30px;height:30px;border-radius:9px}.activity-title-icon svg{width:16px;height:16px}.activity-title-row{gap:8px}.activity-title-row h2{font-size:18px;letter-spacing:-.35px}.activity-title-row .eyebrow{font-size:8px;letter-spacing:.8px}.activity-context{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-inline-filters{gap:5px}.activity-inline-filters .form-field{min-width:0}.activity-inline-filters select{padding-inline:7px;font-size:9px}.transaction{align-items:flex-start;min-height:72px}.transaction .tx-icon{margin-top:2px}.transaction-main small{white-space:normal;line-height:1.35}.transaction-amount{min-width:67px;margin-top:1px}.transaction-amount small{font-size:7px}.transaction-amount b{font-size:10px}.transaction-actions{margin-top:0}.transaction-actions .row-action{flex-basis:32px;width:32px;height:32px}}:root{--color-brand-950: #071b33;--color-brand-900: #0b2545;--color-brand-700: #174f80;--color-brand-600: #1d70b8;--color-action-primary: #135f9e;--color-action-primary-hover: #0f4f86;--color-action-secondary: #ffffff;--color-text-strong: #10243d;--color-text-body: #314d6c;--color-text-muted: #5f7388;--color-border: #c9d7e3;--color-surface: #ffffff;--color-surface-soft: #f4f8fb;--color-income: #176b45;--color-income-surface: #e6f5ed;--color-expense: #b42318;--color-expense-surface: #fdeceb;--color-warning: #8a5a00;--color-warning-surface: #fff5d6;--color-focus: #0b69b7;--color-shadow: rgba(7, 27, 51, .14)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}.primary{background:var(--color-action-primary);color:#fff}.primary:hover{background:var(--color-action-primary-hover)}.secondary{border-color:var(--color-border);background:var(--color-action-secondary);color:var(--color-brand-700)}.secondary:hover{border-color:var(--color-brand-600);background:#eef6fc}.danger-primary{border:0;background:var(--color-expense);color:#fff}.danger-primary:hover{background:#941d14}.action.income>span,.tx-icon.income,.income .modal-heading-icon{background:var(--color-income-surface);color:var(--color-income)}.action.expense>span,.tx-icon.expense,.expense .modal-heading-icon{background:var(--color-expense-surface);color:var(--color-expense)}.transaction>b.income{color:var(--color-income)}.transaction>b.expense{color:var(--color-expense)}.available-balance-card.insufficient{border-color:#e7aaa5;background:var(--color-expense-surface);color:var(--color-expense)}.auth-error{border-color:#e7aaa5;background:var(--color-expense-surface);color:#8d1c15}.error-icon{background:var(--color-expense-surface);color:var(--color-expense)}.status,.online-dot,.status i{color:var(--color-income)}.online-dot,.status i{background:var(--color-income);box-shadow:0 0 0 3px #176b4524}.reversal-reason textarea:focus,.edit-form input:focus,.edit-form select:focus{border-color:var(--color-focus);outline-color:#0b69b747}.topbar{border-bottom-color:var(--color-border)}.content>.hero .balance-card,.balance-card,.primary-card{background:linear-gradient(145deg,var(--color-brand-900),var(--color-brand-700))}.sidebar{background:var(--color-brand-900)}.sidebar nav button.active,.sidebar nav button:hover{background:var(--color-brand-700)}@media(prefers-contrast:more){:root{--color-border: #8da4b7;--color-text-muted: #40586d}.primary,.danger-primary{border:2px solid currentColor}}.bucket-icon.purple,.bucket-icon.orange,.bucket-icon.rose{background:#edf4f9;color:var(--color-brand-700)}.danger-secondary{min-height:40px;padding:0 15px;border:1px solid #e7aaa5;border-radius:8px;background:var(--color-expense-surface);color:var(--color-expense);font-size:10px;font-weight:700}.danger-secondary:hover{border-color:var(--color-expense);background:#fbdedb}.toast-copy strong,.toast-copy small{overflow-wrap:anywhere}.toast-close:focus-visible{outline-color:var(--color-focus)}.settings-signout{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:18px 2px 4px;border-top:1px solid var(--line)}.settings-signout-copy{display:grid;gap:4px;min-width:0}.settings-signout-copy strong{color:var(--text-strong);font-size:12px}.settings-signout-copy small{color:var(--text-muted);font-size:10px;line-height:1.45}.settings-signout .danger-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;min-height:40px;border:1px solid #d98b84;border-radius:10px;background:var(--color-surface);color:var(--color-expense);box-shadow:0 4px 12px #b423180f}.settings-signout .danger-secondary:hover{border-color:var(--color-expense);background:var(--color-expense-surface);box-shadow:0 6px 16px #b423181f}@media(max-width:520px){.settings-signout{align-items:stretch;flex-direction:column;gap:12px;padding-top:16px}.settings-signout .danger-secondary{width:100%}}.entry-form-shell{animation:entry-form-in .18s var(--ease) both}.entry-form-shell.is-closing{animation:entry-form-out .18s ease both;pointer-events:none}@keyframes entry-form-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes entry-form-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}.warning-icon{background:var(--color-warning-surface);color:var(--color-warning)}@media(prefers-reduced-motion:reduce){.entry-form-shell,.entry-form-shell.is-closing{animation:none}}.topbar-actions{gap:8px}.topbar-actions .status{display:inline-flex;min-height:30px;padding:0 10px;border:1px solid var(--color-income-surface);border-radius:999px;background:var(--color-income-surface);color:var(--color-income);font-size:10px;font-weight:700}.topbar-actions .icon-button,.topbar-actions .profile{display:grid;place-items:center;width:44px;height:44px;min-height:44px;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface);color:var(--color-brand-700);box-shadow:0 3px 10px #071b330f;transition:border-color .18s var(--ease),background .18s var(--ease),color .18s var(--ease),transform .16s var(--ease)}.topbar-actions .icon-button:hover,.topbar-actions .profile:hover{border-color:var(--color-brand-600);background:#eef6fc;color:var(--color-brand-900)}.topbar-actions .icon-button:active,.topbar-actions .profile:active{transform:scale(.96)}.header-icon-wrap{position:relative;display:inline-flex}.notification-badge{position:absolute;top:4px;right:4px;width:9px;height:9px;border:2px solid var(--color-surface);border-radius:50%;background:var(--color-expense);box-shadow:0 1px 4px #b4231847}@media(max-width:520px){.topbar-actions .status{max-width:none;min-height:28px;padding:0 8px;gap:5px;font-size:9px;letter-spacing:0}.topbar-actions .status i{flex:0 0 6px;width:6px;height:6px}.topbar-actions .icon-button,.topbar-actions .profile{width:44px;height:44px}}.topbar-actions .status.connecting{border-color:var(--color-warning-surface);background:var(--color-warning-surface);color:var(--color-warning)}.topbar-actions .status.offline{border-color:var(--color-expense-surface);background:var(--color-expense-surface);color:var(--color-expense)}.topbar-actions .status.connecting i{background:var(--color-warning);box-shadow:0 0 0 3px #8a5a0024}.topbar-actions .status.offline i{background:var(--color-expense);box-shadow:0 0 0 3px #b4231824}.topbar-actions .icon-button,.topbar-actions .profile{position:relative;width:44px;height:44px;min-height:44px;border:1px solid transparent;background:transparent;box-shadow:none}.topbar-actions .icon-button:before,.topbar-actions .profile:before{content:"";position:absolute;inset:5px;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface);box-shadow:0 2px 7px #071b330d;transition:border-color .18s var(--ease),background .18s var(--ease),box-shadow .18s var(--ease)}.topbar-actions .icon-button>svg,.topbar-actions .profile>svg{position:relative;z-index:1}.topbar-actions .icon-button:hover:before,.topbar-actions .profile:hover:before{border-color:var(--color-brand-600);background:#eef6fc;box-shadow:0 3px 9px #071b3314}.topbar-actions .icon-button:active,.topbar-actions .profile:active{transform:scale(.97)}@media(max-width:520px){.topbar-actions .icon-button,.topbar-actions .profile{width:44px;height:44px}.topbar-actions .icon-button:before,.topbar-actions .profile:before{inset:6px}}.splash-screen{background:#f4f8fb;color:var(--color-brand-900)}.splash-content{animation:splash-rise .42s var(--ease) both}.splash-logo{border-color:#0b25451a;background:#fff;box-shadow:0 14px 38px #0b25451f}.splash-content h1{color:var(--color-brand-900)}.splash-kicker{color:var(--color-brand-600)}.splash-copy{color:var(--color-muted)}.splash-loader i{background:var(--color-brand-600)}.splash-content small,.splash-footer{color:var(--color-muted)}.splash-footer svg{color:var(--color-brand-600)}.splash-orbit{border-color:#135f9e1a}.splash-orbit-two{border-color:#135f9e0f}@media(prefers-reduced-motion:reduce){.splash-content,.splash-loader i{animation:none}}.refresh-indicator{position:absolute;top:calc(100% + 8px);right:42px;z-index:12;display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:5px 9px;border:1px solid #dbe8f1;border-radius:999px;background:#fffffff5;color:#5d7691;box-shadow:0 6px 18px #0d23421a;font-size:10px;font-weight:700;pointer-events:none;animation:refresh-indicator-in .18s var(--ease) both}.refresh-indicator button{margin-left:2px;padding:2px 5px;border:0;border-radius:5px;background:transparent;color:var(--color-brand-700, #135f9e);font-size:10px;font-weight:700;pointer-events:auto}.refresh-indicator button:hover{background:#eef6fc}.refresh-indicator button.ds-button{min-height:0;transition:none}.refresh-indicator button.ds-button:active:not(:disabled){transform:none}.refresh-spinner{width:12px;height:12px;flex:0 0 12px;border:2px solid #d9e8f2;border-top-color:var(--color-brand-600, #3d84c4);border-radius:50%;animation:refresh-spin .72s linear infinite}.refresh-pulling{color:var(--color-brand-700, #135f9e)}.refresh-pulling .refresh-spinner{animation:none;border-color:var(--color-brand-600, #3d84c4)}.refresh-error{border-color:#f1cccc;background:#fff8f7;color:var(--color-expense, #b42318)}.refresh-error .refresh-spinner{border-color:#f1cccc;border-top-color:var(--color-expense, #b42318);animation:none}@keyframes refresh-spin{to{transform:rotate(360deg)}}@keyframes refresh-indicator-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:820px){.refresh-indicator{right:16px}}@media(prefers-reduced-motion:reduce){.refresh-indicator,.refresh-spinner{animation:none}}.finance-skeleton{display:grid;gap:24px}.skeleton-hero{display:flex;align-items:end;justify-content:space-between;gap:24px}.skeleton-line,.skeleton-hero>.skeleton-balance,.skeleton-metrics i,.skeleton-actions i,.skeleton-list i{display:block;border-radius:8px;background:linear-gradient(90deg,#edf3f7 25%,#f8fbfd,#edf3f7 65%);background-size:240% 100%;animation:skeleton-shimmer 1.35s ease-in-out infinite}.skeleton-eyebrow{width:116px;height:10px}.skeleton-title{width:min(430px,70vw);height:34px;margin-top:12px}.skeleton-copy{width:min(330px,58vw);height:12px;margin-top:12px}.skeleton-balance{width:210px;height:116px;border-radius:14px!important}.skeleton-metrics{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:13px}.skeleton-metrics i{height:126px}.skeleton-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.skeleton-actions i{height:72px;border-radius:13px}.skeleton-list{display:grid;gap:1px;padding:8px 0;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}.skeleton-list i{height:48px;border-radius:0}@keyframes skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(max-width:820px){.skeleton-hero{align-items:start;flex-direction:column}.skeleton-balance{width:100%;height:92px}.skeleton-metrics{grid-template-columns:1fr 1fr}.skeleton-metrics i:first-child{grid-column:1 / -1}}@media(max-width:520px){.skeleton-actions{grid-template-columns:1fr}}.topbar-actions .icon-button:before,.topbar-actions .profile:before{inset:9px}.topbar-actions .icon-button>svg,.topbar-actions .profile>svg{width:16px;height:16px}@media(max-width:520px){.topbar-actions .icon-button:before,.topbar-actions .profile:before{inset:10px}.topbar-actions .icon-button>svg,.topbar-actions .profile>svg{width:15px;height:15px}}@media(prefers-reduced-motion:reduce){.skeleton-line,.skeleton-hero>.skeleton-balance,.skeleton-metrics i,.skeleton-actions i,.skeleton-list i{animation:none}}.shopping-skeleton{display:grid;gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.shopping-skeleton i{display:block;height:56px;background:linear-gradient(90deg,#edf3f7 25%,#f8fbfd,#edf3f7 65%);background-size:240% 100%;animation:skeleton-shimmer 1.35s ease-in-out infinite}.shopping-skeleton i:nth-child(2){width:92%}.shopping-skeleton i:nth-child(3){width:86%}.shopping-skeleton i:nth-child(4){width:78%}.shopping-error{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:12px 14px;border:1px solid #f1cccc;border-radius:10px;background:#fff8f7;color:var(--color-expense, #b42318)}.shopping-error p{margin:0;font-size:11px;line-height:1.5}.shopping-error .secondary{flex:0 0 auto;min-height:36px}@media(max-width:520px){.shopping-error{align-items:stretch;flex-direction:column;gap:10px}.shopping-error .secondary{width:100%}}@media(prefers-reduced-motion:reduce){.shopping-skeleton i{animation:none}}.module-loading{display:grid;align-content:start;gap:18px}.module-loading-bar,.module-loading-panel{border-radius:12px;background:linear-gradient(90deg,#edf3f7 25%,#f8fbfd,#edf3f7 65%);background-size:240% 100%;animation:skeleton-shimmer 1.35s ease-in-out infinite}.module-loading-bar{width:min(360px,64vw);height:30px}.module-loading-panel{width:100%;max-width:780px;height:190px}@media(prefers-reduced-motion:reduce){.module-loading-bar,.module-loading-panel{animation:none}}:root{--motion-fast: .14s;--motion-standard: .18s;--motion-slow: .22s;--motion-ease: cubic-bezier(.23, 1, .32, 1)}button,.action,.module-grid button,.mobile-nav button,.shopping-item,.shopping-item strong,.shopping-item small,.shopping-item .row-action{-webkit-tap-highlight-color:transparent}button,.action,.module-grid button,.mobile-nav button{transition:transform var(--motion-fast) var(--motion-ease),background-color var(--motion-standard) ease,border-color var(--motion-standard) ease,color var(--motion-standard) ease}button:active,.action:active,.module-grid button:active{transform:scale(.98)}.topbar-actions .icon-button:active,.topbar-actions .profile:active,.toast-close:active{transform:scale(.96)}.page-transition{animation:page-content-in .15s ease-out both}@keyframes page-content-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.shopping-item{transition:background-color var(--motion-standard) ease,border-color var(--motion-standard) ease,color var(--motion-standard) ease,transform var(--motion-fast) var(--motion-ease)}.shopping-item strong,.shopping-item small,.shopping-item .row-action{transition:color var(--motion-standard) ease,opacity var(--motion-standard) ease,border-color var(--motion-standard) ease,background-color var(--motion-standard) ease}.shopping-item.completed strong{text-decoration-color:currentColor}.entry-form-shell{animation-duration:var(--motion-standard)}@keyframes entry-form-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes entry-form-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}.modal-backdrop{animation-duration:var(--motion-standard)}.confirm-modal{animation-duration:var(--motion-slow)}.toast{animation-duration:var(--motion-standard)}@media(max-width:820px){.app-shell.navigation-locked .topbar{min-height:0;height:0;padding-block:0;border-bottom-width:0;opacity:0;overflow:hidden;pointer-events:none;transform:translateY(-100%)}.app-shell.navigation-locked .mobile-nav{opacity:0;pointer-events:none;transform:translateY(110%)}main:has(.entry-card input:focus) .mobile-nav,main:has(.entry-card textarea:focus) .mobile-nav,main:has(.entry-card select:focus) .mobile-nav{opacity:0;pointer-events:none;transform:translateY(110%)}.mobile-nav{transition:transform .18s var(--motion-ease),opacity .14s ease}}.entry-scope-hint{display:inline-flex;align-items:center;width:fit-content;margin-top:7px;padding:4px 8px;border-radius:999px;background:#eef5fb;color:#5d7691;font-size:10px;font-weight:700}.entry-scope-hint.is-shared{background:#eef8f2;color:#287a56}.field-error{display:block;margin-top:6px;color:var(--color-expense, #b42318);font-size:10px;font-weight:700;line-height:1.4}.entry-card [aria-invalid=true]{border-color:var(--color-expense, #b42318);box-shadow:0 0 0 3px #b423181a}.entry-form-shell[role=dialog]{position:relative;z-index:1000}.entry-sheet-header{grid-column:1 / -1}.entry-form-body{display:contents}@media(max-width:820px){.entry-form-shell[role=dialog]{position:fixed;inset:0;height:100dvh;display:flex;align-items:flex-end;min-height:0;z-index:1000;padding:0;background:#07192e6b;touch-action:none;overscroll-behavior:contain}.entry-form-shell[role=dialog] .entry-sheet-header{flex:0 0 auto}.entry-form-shell[role=dialog] .entry-form-body{display:grid;flex:1 1 auto;gap:16px;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:4px 0 20px;scroll-padding-block:24px 116px}.entry-form-shell[role=dialog] .entry-sheet-header{padding-bottom:16px;border-bottom:1px solid #edf2f6}.entry-form-shell[role=dialog] .entry-form-body label:last-child{scroll-margin-block:24px 116px}.entry-form-shell[role=dialog] .entry-form-body input[name=note]{min-height:48px;border:1px solid var(--color-border, #c9d7e3);background:#fff}.entry-form-shell[role=dialog] .entry-form-body>label{gap:8px;color:var(--color-text-body, #314d6c);font-size:12px;line-height:1.2}.entry-form-shell[role=dialog] .entry-form-body input,.entry-form-shell[role=dialog] .entry-form-body select{min-height:48px;padding:12px 14px;border:1px solid var(--color-border, #c9d7e3);border-radius:10px;background:#fff;color:var(--color-text-strong, #10243d);font-size:16px;line-height:1.25}.entry-form-shell[role=dialog] .entry-form-body .amount-control input{padding-left:46px}.entry-form-shell[role=dialog] .entry-form-body .amount-prefix{top:0;left:14px;display:grid;place-items:center;height:48px;transform:none;font-size:14px}.entry-form-shell[role=dialog] .entry-card{width:100%;height:min(calc(var(--finance-visual-viewport-height, 100dvh) - 16px),760px);max-height:calc(var(--finance-visual-viewport-height, 100dvh) - 16px);display:flex;flex-direction:column;align-items:stretch;margin:0;overflow:hidden;min-height:0;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:max(20px,env(safe-area-inset-top)) 20px 0;border:0;border-radius:22px 22px 0 0;background:#fff;box-shadow:0 -18px 60px #07192e38;animation:finance-sheet-in var(--motion-standard) var(--motion-ease) both}.entry-form-shell[role=dialog] .entry-actions{position:sticky;bottom:0;flex:0 0 auto;z-index:1;align-items:stretch;margin-inline:-20px;padding:16px 20px max(20px,env(safe-area-inset-bottom));border-top:1px solid #edf2f6;background:#fffffffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.entry-form-shell.is-closing .entry-card{animation:finance-sheet-out var(--motion-standard) ease both}}.amount-control{position:relative}.amount-prefix{position:absolute;z-index:1;top:50%;left:14px;transform:translateY(-50%);pointer-events:none;color:var(--muted);font-size:14px;font-weight:800}.amount-control input{padding-left:34px}@keyframes finance-sheet-in{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes finance-sheet-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}@media(prefers-reduced-motion:reduce){.entry-form-shell[role=dialog] .entry-card,.entry-form-shell.is-closing .entry-card{animation:none}}@supports (height: 100svh){.auth-shell,.splash-screen{min-height:100svh}}@supports not (height: 100dvh){.entry-form-shell[role=dialog]{top:0;height:100vh;min-height:0}}@media(max-width:820px){.entry-form-shell[role=dialog] .entry-card{scroll-padding-bottom:max(24px,env(safe-area-inset-bottom))}}.shopping-conflict{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:13px 14px;border:1px solid #e7c98a;border-radius:10px;background:#fffaf0;color:#684d12}.shopping-conflict strong{display:block;font-size:12px;line-height:1.4}.shopping-conflict p{margin:4px 0 0;font-size:11px;line-height:1.45;color:#80652b}.shopping-conflict .secondary{flex:0 0 auto;min-height:36px}@media(max-width:520px){.shopping-conflict{align-items:stretch;flex-direction:column;gap:10px}.shopping-conflict .secondary{width:100%}}.settings-feedback-list{display:grid}.settings-feedback-row{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 17px;border-bottom:1px solid #eef3f7;cursor:pointer}.settings-feedback-row:last-child{border-bottom:0}.settings-feedback-row:hover{background:#f8fbfd}.settings-feedback-row .settings-row-icon{flex:0 0 36px}.settings-feedback-row .settings-row-copy{gap:4px}.settings-feedback-row .settings-row-copy small{white-space:normal;line-height:1.4}.settings-feedback-row input[type=checkbox]{flex:0 0 auto;width:21px;height:21px;accent-color:var(--blue)}@media(max-width:620px){.settings-feedback-row{align-items:flex-start;min-height:82px;padding:12px 13px}.settings-feedback-row input[type=checkbox]{margin-top:7px}}.settings-feedback-test{display:flex;align-items:center;gap:10px;padding:12px 17px;border-top:1px solid #eef3f7}.settings-feedback-test .secondary{display:inline-flex;align-items:center;gap:7px;min-height:38px}.settings-feedback-test small{color:var(--muted);font-size:10px;line-height:1.4}.settings-feedback-test .secondary:disabled{cursor:not-allowed;opacity:.55}@media(max-width:620px){.settings-feedback-test{align-items:flex-start;flex-direction:column;padding:12px 13px}.settings-feedback-test .secondary{width:100%;justify-content:center}}.toast{top:calc(var(--topbar-height, 64px) + env(safe-area-inset-top) + 12px);right:auto;bottom:auto;left:50%;z-index:1200;transform:translate(-50%);animation:toast-drop-in var(--motion-standard) var(--motion-ease)}@keyframes toast-drop-in{0%{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%)}}@media(max-width:520px){.toast{top:calc(68px + env(safe-area-inset-top));right:auto;bottom:auto;width:calc(100vw - 32px)}}@media(prefers-reduced-motion:reduce){.toast{animation:none}}.entry-form-shell[role=dialog]{overflow-anchor:none}:root{--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--radius-control: 8px;--radius-card: 12px;--radius-panel: 16px;--radius-sheet: 22px;--control-height-sm: 36px;--control-height-md: 40px;--control-height-lg: 44px;--shadow-card: 0 8px 24px rgba(13, 35, 66, .07);--shadow-sheet: 0 -18px 60px rgba(7, 25, 46, .22)}.icon-button,.menu-button,.profile,.row-action,.mobile-nav button{min-width:44px;min-height:44px}.budget-row p,.transaction small,.member-balance-row small,.sidebar-footer,.version{font-size:10px}.auth-card,.metric-card,.balance-card,.action,.entry-card,.budget-list,.transactions,.member-balances,.placeholder-note{border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.primary,.secondary,.entry-card input,.entry-card select,.auth-form input{min-height:var(--control-height-md);border-radius:var(--radius-control)}@media(min-width:521px)and (max-width:820px){.content{padding:var(--space-8) var(--space-6) 96px}.hero{display:flex;align-items:flex-end;gap:var(--space-6)}.balance-card{margin-top:0;min-width:200px}.actions,.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}}@media(max-width:520px){.content{padding-inline:var(--space-4)}.action{min-height:var(--control-height-lg)}}@media(prefers-reduced-motion:reduce){.action,.module-grid button,.mobile-nav button{transition:none}}.entry-form-shell[role=dialog] .entry-card{border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;box-shadow:var(--shadow-sheet)}:root{--section-gap: 32px;--list-row-gap: 12px}.section-head{margin:var(--section-gap) 0 var(--space-4)}.actions{gap:var(--space-4)}.budget-row{grid-template-columns:40px minmax(0,1fr) auto;gap:var(--space-4);padding:var(--space-4)}.transaction{gap:var(--list-row-gap);padding:var(--space-4)}.skeleton-metrics,.skeleton-actions{gap:var(--space-4)}.skeleton-list,.shopping-skeleton{border-radius:var(--radius-card)}@media(max-width:520px){.section-head{margin-top:var(--space-6)}.actions{gap:var(--space-3)}.budget-row{grid-template-columns:34px minmax(0,1fr) auto;gap:var(--space-3);padding:var(--space-3) var(--space-2)}.transaction{gap:var(--space-3);padding:var(--space-3) var(--space-2)}}:root{--mobile-nav-height: 68px;--mobile-inline-gutter: clamp(14px, 4vw, 24px);--mobile-control-height: 48px}html,body,#root{min-width:0;min-height:100%}body{overflow-x:hidden;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}.app-shell{min-height:100svh;min-height:100dvh}.app-shell main{min-width:0;padding-bottom:env(safe-area-inset-bottom)}.content,.topbar>div,.section-head,.module-toolbar,.settings-layout,.placeholder-page,.state-page{min-width:0}.content :where(h1,h2,h3,p,small,strong,span){overflow-wrap:anywhere}.mobile-nav{min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button,.topbar-actions .icon-button,.topbar-actions .profile,.menu-button,.close-menu,.primary,.secondary,.danger-primary,.danger-secondary,.row-action{min-width:44px;min-height:44px}.auth-shell{min-height:100svh;min-height:100dvh;overflow-x:hidden;padding-inline:var(--mobile-inline-gutter)}.auth-card{width:min(100%,440px);min-width:0}.auth-form input,.auth-form button,.auth-password-field{min-width:0}.auth-password-field{display:flex;align-items:stretch}.auth-password-field input{min-width:0;flex:1 1 auto}.auth-password-field .password-toggle{flex:0 0 48px;min-width:48px;min-height:48px}.auth-form input{min-height:48px;font-size:16px;line-height:1.25}.auth-shell{min-height:100svh;min-height:100dvh;height:100svh;max-height:100svh;width:100%;max-width:100vw;place-items:center;padding-top:max(16px,env(safe-area-inset-top));padding-right:max(var(--mobile-inline-gutter),env(safe-area-inset-right));padding-bottom:max(16px,env(safe-area-inset-bottom));padding-left:max(var(--mobile-inline-gutter),env(safe-area-inset-left));overscroll-behavior:contain}.auth-card{max-width:440px;overflow:visible}@media(max-width:820px){.auth-form input,.finance-entry-form .edit-form input,.finance-entry-form .edit-form select{font-size:16px!important;line-height:1.25;-webkit-text-size-adjust:100%}}@media(max-width:520px){.auth-card{width:100%;padding-inline:18px}}.settings-layout,.settings-profile-card,.profile-fields,.preference-actions,.settings-signout,.settings-feedback-test{min-width:0}.settings-profile-card .profile-intro,.settings-signout,.preference-actions{flex-wrap:wrap}.profile-fields input,.profile-fields select,.settings-feedback-row input[type=checkbox]{min-height:var(--mobile-control-height)}.shopping-error,.shopping-conflict,.shopping-error p,.shopping-conflict p,.shopping-error button,.shopping-conflict button{min-width:0}.module-toolbar{align-items:stretch}.module-toolbar>*{min-width:0}.entry-form-shell[role=dialog],.modal-backdrop{overscroll-behavior:contain}.entry-form-shell[role=dialog] .entry-card,.confirm-modal,.edit-modal{max-width:100%}@media(max-width:820px){.app-shell main{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom))}.topbar{min-height:58px;padding-inline:var(--mobile-inline-gutter)}.topbar>div:nth-child(2){min-width:0;overflow:hidden}.topbar>div:nth-child(2) .crumb{display:none}.topbar>div:nth-child(2) strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex:0 0 auto;gap:2px}.content{width:100%;padding-inline:var(--mobile-inline-gutter)}.hero,.section-head,.module-toolbar{min-width:0}.hero>*,.section-head>*,.module-toolbar>*{min-width:0;max-width:100%}.actions,.module-grid,.metric-grid,.finance-metrics,.skeleton-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.action,.metric-card,.module-grid button,.budget-row,.transaction,.shopping-item,.settings-section,.settings-signout{min-width:0}.budget-row,.transaction,.shopping-item{overflow-wrap:anywhere}.shopping-item .row-action{flex:0 0 auto}}@media(max-width:520px){.content{padding-inline:14px}.actions,.module-grid,.metric-grid,.finance-metrics,.skeleton-metrics{grid-template-columns:1fr}.hero h1,.section-head h1,.placeholder-page h1,.state-page h1{font-size:clamp(24px,8vw,32px);line-height:1.08}.section-head,.module-toolbar{gap:10px}.section-head>aside,.module-toolbar>.toolbar-actions,.module-toolbar>button{width:100%}.section-head>aside>*,.module-toolbar>.toolbar-actions>*,.module-toolbar>button{width:100%}.auth-shell{place-items:center;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:calc(20px + env(safe-area-inset-bottom))}.auth-card{padding:24px 18px;border-radius:18px}.auth-submit,.turnstile-retry{width:100%}.preference-actions,.settings-signout,.settings-feedback-test{align-items:stretch;flex-direction:column}.preference-actions>.primary,.settings-signout .danger-secondary,.settings-feedback-test .secondary{width:100%;justify-content:center}.shopping-error,.shopping-conflict{align-items:stretch;flex-direction:column}.shopping-error button,.shopping-conflict button{width:100%;justify-content:center}.entry-form-shell[role=dialog] .entry-card{width:100%;max-width:100%}.entry-form-shell[role=dialog] .entry-actions{gap:10px}.entry-form-shell[role=dialog] .entry-actions>button{min-width:0;flex:1 1 0}.toast{width:calc(100% - 28px);max-width:none}}@media(orientation:landscape)and (max-width:820px){.mobile-nav{min-height:calc(58px + env(safe-area-inset-bottom))}.app-shell main{padding-bottom:calc(58px + env(safe-area-inset-bottom))}.auth-shell{align-items:start;padding-block:12px}.auth-card{margin-block:0}.entry-form-shell[role=dialog] .entry-card{max-height:calc(100svh - 12px);max-height:calc(100dvh - 12px)}}@media(prefers-reduced-motion:reduce){.page-transition,.entry-form-shell,.modal-backdrop,.toast{animation:none!important;transition:none!important}}@media(max-width:820px){body:has(.finance-entry-form) .mobile-nav{opacity:0;pointer-events:none;transform:translateY(110%)}}@media(max-width:560px){.modal-backdrop:has(.finance-entry-form){align-items:flex-start;overflow-y:auto;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}.finance-entry-form{display:flex;flex-direction:column;overflow:hidden!important}.finance-entry-form>form{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.finance-entry-form>form>.modal-heading,.finance-entry-form>form>.confirm-copy{flex:0 0 auto}.finance-entry-form .edit-form{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none}.finance-entry-form .edit-form input:focus,.finance-entry-form .edit-form select:focus{scroll-margin-block:16px}.finance-entry-form .confirm-actions{position:static;flex:0 0 auto}}.auth-form.uniform-form{gap:16px}.auth-form.uniform-form label{display:grid;min-width:0;gap:7px;color:#526b83;font-size:11px;font-weight:700;line-height:1.2}.auth-form.uniform-form input{box-sizing:border-box;width:100%;min-height:46px;padding:11px 12px;border:1px solid #d6e3ec;border-radius:10px;background:#fbfdff;color:var(--ink);font-size:13px;line-height:1.2;transition:border-color .18s var(--ease),box-shadow .18s var(--ease),background .18s var(--ease)}.auth-form.uniform-form input:hover{border-color:#b9cfdf;background:#fcfeff}.auth-form.uniform-form input:focus{border-color:#6aa9d6;background:#fff;outline:0;box-shadow:0 0 0 3px #3d84c424}.auth-form.uniform-form .auth-password-field{display:block;min-width:0}.auth-form.uniform-form .auth-password-field input{padding-right:46px}.auth-form.uniform-form .password-toggle{right:6px;width:34px;height:34px;border-radius:8px}.auth-actions{margin-top:2px;padding-top:16px;border-top:1px solid #e8eff4}.auth-form.uniform-form .auth-submit{width:100%;min-height:46px;margin:0;border-radius:10px;font-size:11px;font-weight:700;box-shadow:0 7px 16px #0b254524}@media(max-width:520px){.auth-form.uniform-form{gap:15px}.auth-form.uniform-form input{min-height:46px;font-size:16px}.auth-form.uniform-form .auth-submit{min-height:48px;font-size:12px}.auth-actions{padding-top:14px}}@media(max-width:560px){.finance-entry-form .edit-form{padding-bottom:12px;scroll-padding-bottom:16px}.finance-entry-form .confirm-actions{margin:22px -14px calc(-1*max(14px,env(safe-area-inset-bottom)))}}:root{--family-navy-950: #071a31;--family-navy-900: #0b2545;--family-navy-800: #123b63;--family-blue-700: #2f73ad;--family-blue-600: #3d84c4;--family-blue-100: #e4f0fb;--family-green-700: #237b59;--family-green-600: #2f9a6c;--family-green-100: #e2f4ea;--family-lilac-700: #725aa8;--family-lilac-100: #eee8fb;--family-amber-700: #a46d1c;--family-amber-100: #fff0dc;--family-red-700: #a94f50;--family-red-100: #fde6e9;--family-ink: #132c48;--family-ink-muted: #5d7691;--family-ink-subtle: #7d8da1;--family-canvas: #f4f8fb;--family-surface: #fff;--family-surface-soft: #f8fbfd;--family-line: #e1eaf2;--family-line-strong: #b9d5e9;--family-focus: #2f73ad;--family-shadow-card: 0 8px 24px rgba(13, 35, 66, .06);--family-shadow-modal: 0 24px 60px rgba(13, 35, 66, .16);--family-radius-input: 6px;--family-radius-button: 8px;--family-radius-card: 12px;--family-radius-card-large: 16px;--family-motion: cubic-bezier(.2, .8, .2, 1)}html{background:var(--family-canvas)}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--family-ink);background:var(--family-canvas)}button,input,select,textarea{font-family:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=button]:focus-visible{outline:3px solid rgba(47,115,173,.42);outline-offset:2px}.ds-button{min-height:44px;transition:background-color .18s var(--family-motion),border-color .18s var(--family-motion),color .18s var(--family-motion),box-shadow .18s var(--family-motion),transform .12s var(--family-motion)}.ds-button:active:not(:disabled){transform:translateY(1px)}.ds-button:disabled{cursor:not-allowed;opacity:.58}.ds-input,.ds-select{min-height:44px;border-color:var(--family-line-strong);border-radius:var(--family-radius-input);background:var(--family-surface);color:var(--family-ink);transition:border-color .18s var(--family-motion),box-shadow .18s var(--family-motion),background-color .18s var(--family-motion)}.ds-input:hover:not(:disabled),.ds-select:hover:not(:disabled){border-color:var(--family-blue-600)}.ds-input:focus,.ds-select:focus{border-color:var(--family-focus);box-shadow:0 0 0 3px #2f73ad24;outline:0}.ds-badge{min-height:24px;display:inline-flex;align-items:center;gap:4px}.app-shell{grid-template-columns:240px minmax(0,1fr);background:var(--family-canvas)}.sidebar{padding:24px 14px;background:var(--family-navy-900);box-shadow:8px 0 24px #071a3114}.brand{min-height:44px;padding-inline:10px}.brand-mark{width:36px;height:36px;border-radius:10px;box-shadow:0 3px 8px #0000001f}.sidebar nav button{min-height:44px;margin:3px 0;padding:10px 12px;border-radius:var(--family-radius-button);color:#c0d1e2;font-size:13px}.sidebar nav button.active,.sidebar nav button:hover{background:#ffffff21;color:#fff}.sidebar nav button.active{box-shadow:inset 3px 0 #8dc6ee}.sidebar nav p{margin-top:28px;color:#91abc4;font-size:10px}.sidebar-footer{font-size:11px}.topbar{min-height:68px;padding:12px clamp(18px,4vw,48px);background:#ffffffe6;border-bottom-color:var(--family-line);box-shadow:0 1px #0d234205}.content{max-width:1200px;padding:clamp(24px,4vw,48px)}.eyebrow{color:var(--family-blue-700);font-size:11px;letter-spacing:.12em}.hero h1,.placeholder-page h1,.state-page h1,.auth-card h1{color:var(--family-navy-900);font-weight:650;letter-spacing:-.035em}.hero>div:first-child>p:last-child,.placeholder-page>p:not(.eyebrow),.state-page>p:not(.eyebrow){color:var(--family-ink-muted);line-height:1.6}.hero-badge{min-height:44px;border-color:var(--family-line);border-radius:var(--family-radius-button);background:var(--family-surface);color:var(--family-ink-muted)}.metric-card,.balance-card,.budget-list,.transactions,.member-balances,.module-grid button,.action,.entry-card,.placeholder-note{border-color:var(--family-line);border-radius:var(--family-radius-card);box-shadow:var(--family-shadow-card)}.metric-card,.budget-list,.transactions,.member-balances,.module-grid button,.action,.entry-card,.placeholder-note{background:var(--family-surface)}.metric-card{min-height:136px;padding:20px}.metric-card strong{color:var(--family-navy-900);font-variant-numeric:tabular-nums}.primary-card,.balance-card{background:linear-gradient(145deg,var(--family-navy-900),var(--family-navy-800))}.module-grid{gap:14px}.module-grid button{min-height:76px;padding:16px}.module-grid button:hover,.action:hover{border-color:var(--family-line-strong);box-shadow:0 12px 28px #0d23421a;transform:translateY(-1px)}.module-grid strong,.action b,.budget-row strong,.transaction strong{color:var(--family-navy-900)}.module-grid small,.action small,.budget-row p,.transaction small{color:var(--family-ink-muted)}.module-icon.blue,.bucket-icon.blue,.tx-icon.income{background:var(--family-blue-100);color:var(--family-blue-700)}.module-icon.green,.bucket-icon.green,.tx-icon.expense.income{background:var(--family-green-100);color:var(--family-green-700)}.module-icon.purple,.bucket-icon.purple{background:var(--family-lilac-100);color:var(--family-lilac-700)}.module-icon.orange,.bucket-icon.orange{background:var(--family-amber-100);color:var(--family-amber-700)}.section-head{margin-block:32px 14px}.section-head h2{color:var(--family-navy-900);font-size:19px;letter-spacing:-.02em}.section-head>span,.activity-description,.activity-context{color:var(--family-ink-muted)}.text-button{min-height:44px;padding:8px 10px;border-radius:var(--family-radius-button);color:var(--family-blue-700)}.text-button:hover{background:var(--family-blue-100)}.action{min-height:72px}.primary,.secondary,.danger-secondary,.auth-submit{min-height:44px;border-radius:var(--family-radius-button);font-size:13px}.primary{background:var(--family-navy-900)}.primary:hover{background:var(--family-navy-800)}.secondary{border-color:var(--family-line-strong);color:var(--family-ink)}.secondary:hover{border-color:var(--family-blue-600);background:var(--family-blue-100)}.entry-card{padding:20px}.entry-card input,.entry-card select{min-height:44px;border-radius:var(--family-radius-input)}.budget-row,.transaction,.member-balance-row{min-height:64px;padding-block:14px;border-bottom-color:var(--family-line)}.budget-row strong,.transaction strong{font-size:13px}.budget-row p,.transaction small{font-size:12px}.track{width:100%;height:6px;accent-color:var(--family-blue-600)}.transaction-amount b{font-variant-numeric:tabular-nums}.scope-label.personal{background:var(--family-blue-100);color:var(--family-blue-700)}.scope-label.family{background:var(--family-green-100);color:var(--family-green-700)}.state-icon,.placeholder-icon{border-radius:var(--family-radius-card-large)}.auth-shell{background:radial-gradient(circle at 15% 10%,#e5f1fa 0,transparent 35%),var(--family-canvas)}.auth-card{border-color:var(--family-line);border-radius:var(--family-radius-card-large);box-shadow:var(--family-shadow-modal)}.auth-form label,.entry-card label{color:var(--family-ink-muted);font-size:12px}.auth-form input{min-height:48px;border-radius:var(--family-radius-input)}.auth-submit{box-shadow:0 8px 18px #0b254524}.mobile-nav{min-height:calc(64px + env(safe-area-inset-bottom));padding:8px 8px max(8px,env(safe-area-inset-bottom));background:#fffffff0;border-top-color:var(--family-line);box-shadow:0 -8px 24px #0d23420f}.mobile-nav button{min-width:64px;min-height:44px;padding:6px 8px;border-radius:var(--family-radius-button);color:var(--family-ink-subtle);font-size:11px}.mobile-nav button.active{background:var(--family-blue-100);color:var(--family-blue-700)}@media(max-width:820px){.sidebar{width:min(300px,86vw)}.content{padding:28px 16px calc(96px + env(safe-area-inset-bottom))}.topbar{min-height:64px}.menu-button{min-width:44px;min-height:44px;border-radius:var(--family-radius-button)}.menu-button:hover{background:var(--family-blue-100)}.metric-card{min-height:116px}.module-grid button{min-height:80px}.entry-card{padding:16px}}@media(max-width:520px){.content{padding-inline:14px}.hero h1{font-size:clamp(1.75rem,8vw,2rem)}.metric-card{padding:16px}.section-head{align-items:flex-start;gap:12px;flex-direction:column}.activity-toolbar,.activity-inline-filters{width:100%}.activity-inline-filters{gap:8px}.activity-inline-filters>*{min-width:0;flex:1}.transaction{gap:8px}.transaction-amount{min-width:92px}}#root,.app-shell,.app-shell main,.page-transition,.page-transition>.content{width:100%;max-width:none}#root{display:block;min-width:0}.app-shell{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:100%}.app-shell main{grid-column:1;min-width:0;width:100%}@media(min-width:821px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.app-shell main{grid-column:2}}@media(max-width:820px){.app-shell main{overflow-x:hidden}.app-shell{grid-template-columns:minmax(0,1fr)}.mobile-nav{box-sizing:border-box;inset-inline:0;width:100%}.topbar{display:flex;align-items:center;gap:8px;min-height:72px;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:10px;box-shadow:0 1px #0d23420a}.topbar>div:nth-child(2){flex:1 1 auto;width:auto;max-width:none;overflow:hidden}.topbar>div:nth-child(2) strong{display:block;max-width:12ch;overflow:hidden;color:var(--family-navy-900);font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex:0 0 auto;gap:4px}.topbar-actions .status{display:inline-flex;min-height:32px;padding:5px 9px;border-radius:999px;background:var(--family-green-100);color:var(--family-green-700);font-size:11px;font-weight:650}.topbar-actions .status i{width:7px;height:7px;box-shadow:0 0 0 3px #2f9a6c24}.topbar-actions .icon-button,.topbar-actions .profile,.menu-button{width:44px;height:44px;min-width:44px;border:1px solid var(--family-line);border-radius:50%;background:var(--family-surface);color:var(--family-navy-800)}.menu-button{border:0;border-radius:var(--family-radius-button);background:transparent}.content{box-sizing:border-box;padding:32px max(20px,env(safe-area-inset-left)) calc(104px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-right))}.hero.finance-hero{display:block;margin:0}.finance-hero .eyebrow,.section-head .eyebrow{font-size:11px;letter-spacing:.1em}.finance-hero h1{max-width:19ch;margin-top:12px;font-size:clamp(2rem,7.6vw,2.75rem);line-height:1.08;letter-spacing:-.045em}.finance-hero>div:first-child>p:last-child{max-width:34ch;margin-top:14px;font-size:15px;line-height:1.55}.finance-hero .balance-card{width:100%;min-width:0;margin-top:28px;padding:22px;border-radius:var(--family-radius-card-large);box-shadow:0 12px 28px #0b25451f}.finance-hero .balance-card span,.finance-hero .balance-card small{font-size:14px}.finance-hero .balance-card strong{margin:12px 0 6px;font-size:clamp(2rem,8vw,2.75rem);font-variant-numeric:tabular-nums}.actions{gap:12px;margin-top:24px}.action{min-height:88px;padding:16px;border-radius:var(--family-radius-card);box-shadow:0 5px 16px #0d23420d}.action>span{width:44px;height:44px;border-radius:12px}.action b{font-size:15px}.action small{margin-top:5px;font-size:12px}.section-head{margin-top:42px;margin-bottom:16px}.section-head h2{margin-top:8px;font-size:24px;line-height:1.15;letter-spacing:-.035em}.section-head>span{font-size:13px}.budget-list,.transactions{box-shadow:0 5px 16px #0d23420d}.budget-row,.transaction{min-height:72px;padding:16px}.mobile-nav{min-height:calc(76px + env(safe-area-inset-bottom));padding:8px max(12px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-right))}.mobile-nav button{min-width:76px;min-height:52px;border-radius:12px;font-size:12px;line-height:1.2}.mobile-nav button.active{background:var(--family-blue-100);color:var(--family-blue-700)}}@media(max-width:520px){.content{padding-right:20px;padding-left:20px}.topbar-actions .status{padding-inline:7px}.topbar-actions .status:not(.live){font-size:0}.topbar-actions .status:not(.live) i{margin:0}.finance-hero h1{max-width:17ch}.finance-hero .balance-card{margin-top:24px}.section-head h2{font-size:22px}}.finance-transaction{position:relative;display:block;min-width:0;overflow:hidden;isolation:isolate}.finance-transaction .transaction-surface{position:relative;z-index:1;display:grid;grid-template-columns:36px minmax(0,1fr) max-content 36px;grid-template-areas:"icon main amount more";align-items:start;gap:var(--space-2) var(--space-3);min-width:0;padding:12px 16px;background:var(--family-surface);touch-action:pan-y}.finance-transaction>.tx-icon{grid-area:icon;align-self:start;margin-top:1px;width:36px;height:36px;border-radius:12px}.finance-transaction .transaction-main{grid-area:main;min-width:0;display:grid;gap:var(--space-1);align-self:center}.finance-transaction .transaction-title{min-width:0;overflow-wrap:break-word;word-break:normal;font-size:var(--text-body-sm);line-height:1.35}.finance-transaction .transaction-meta{min-width:0;overflow-wrap:anywhere;white-space:normal!important;font-size:var(--text-caption);line-height:1.35}.finance-transaction .transaction-amount{grid-area:amount;align-self:start;min-width:max-content;padding-top:1px;text-align:right}.finance-transaction .transaction-amount small{font-size:var(--text-micro);line-height:1.2}.finance-transaction .transaction-amount b{font-size:var(--text-body-sm);line-height:1.25}.finance-transaction .transaction-more{grid-area:more;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid transparent;border-radius:var(--radius-button);background:transparent;color:var(--family-ink-muted);transition:none}.finance-transaction .transaction-more:hover,.finance-transaction .transaction-more:focus-visible{border-color:var(--family-line-strong);background:var(--family-blue-100);color:var(--family-blue-700)}.finance-transaction .transaction-more:active:not(:disabled){transform:none}.finance-transaction .transaction-action-tray{position:absolute;z-index:3;top:8px;right:8px;display:none;align-items:center;gap:var(--space-1);width:max-content;max-width:calc(100% - 16px);padding:var(--space-1);border:1px solid var(--family-line);border-radius:var(--radius-card);background:var(--family-surface);box-shadow:var(--shadow-card)}.finance-transaction.actions-open .transaction-action-tray{display:flex}.finance-transaction .transaction-action-tray .row-action{min-width:88px;min-height:44px;gap:var(--space-1);border:1px solid transparent;border-radius:var(--radius-button);background:transparent;color:var(--family-ink-muted);box-shadow:none}.finance-transaction .transaction-action-tray .row-action:hover,.finance-transaction .transaction-action-tray .row-action:focus-visible{border-color:var(--family-line-strong);background:var(--family-blue-100);color:var(--family-blue-700)}.finance-transaction .transaction-action-tray .row-action.danger:hover{border-color:var(--family-red-700);background:var(--family-red-100);color:var(--family-red-700)}.finance-transaction .transaction-action-tray .row-action span{font-size:var(--text-caption);font-weight:650}@media(max-width:700px){.activity-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(148px,.92fr);align-items:start;margin-top:26px;gap:10px}.activity-heading-copy{min-width:0}.activity-title-row h2{font-size:clamp(20px,6vw,28px)}.activity-description{display:none}.activity-context{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-toolbar{align-self:start;margin-top:0;padding:0;border:0;background:transparent;box-shadow:none}.activity-inline-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.activity-inline-filters .form-field{min-width:0;width:100%}.activity-inline-filters select{min-height:44px;padding-inline:10px;font-size:11px}.finance-activity-list{overflow:hidden}.finance-transaction{min-height:0}.finance-transaction .transaction-surface{grid-template-columns:32px minmax(0,1fr) max-content 36px;gap:var(--space-2);padding:12px 14px}.finance-transaction>.tx-icon{width:32px;height:32px}.finance-transaction .transaction-main{gap:var(--space-1);align-self:start}.finance-transaction .transaction-title{font-size:var(--text-body-sm)!important}.finance-transaction .transaction-meta{font-size:var(--text-caption)!important}.finance-transaction .transaction-amount{min-width:72px}.finance-transaction .transaction-amount small{font-size:var(--text-micro)}.finance-transaction .transaction-amount b{font-size:var(--text-body-sm)}.finance-transaction .transaction-more{width:36px;height:36px}.finance-transaction .transaction-action-tray{top:8px;right:8px}}@media(max-width:420px){.activity-title-row{align-items:flex-start}.activity-title-row h2{font-size:21px}.activity-heading{grid-template-columns:minmax(0,1fr) minmax(145px,.95fr);gap:8px}.activity-inline-filters{gap:5px}.activity-inline-filters select{padding-inline:7px;font-size:9px}.finance-transaction .transaction-surface{grid-template-columns:30px minmax(0,1fr) max-content 32px;padding-inline:10px}.finance-transaction>.tx-icon{width:30px;height:30px;border-radius:10px}.finance-transaction .transaction-amount{min-width:68px}.finance-transaction .transaction-more{width:32px;height:32px;min-height:32px}.finance-transaction .transaction-action-tray{top:6px;right:6px}}.auth-shell{min-height:100dvh;padding:32px 24px;background:#f5f5f5;color:#173b91}.auth-card{display:grid;justify-items:center;width:min(100%,255px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.auth-logo{width:72px;height:72px;margin:0 0 22px;border-radius:17px}.auth-card h1{margin:0;color:#173b91;font-family:var(--font-ui);font-size:27px;font-weight:750;letter-spacing:-.045em}.auth-copy{margin:7px 0 18px;color:#53658b;font-size:13px;line-height:1.4}.auth-form.uniform-form{width:100%;gap:13px;text-align:left}.auth-form.uniform-form label{gap:6px;color:#173b91;font-size:10px;font-weight:750;letter-spacing:.08em}.auth-form.uniform-form input{min-height:41px;padding:10px 12px;border:1px solid #e1e4ee;border-radius:10px;background:#e9edf5;color:#243d70;font-size:12px}.auth-form.uniform-form input::placeholder{color:#53658b;opacity:1}.auth-form.uniform-form input:focus{border-color:#173b91;background:#fff;box-shadow:0 0 0 3px #173b911f}.auth-password-field{position:relative;display:block}.auth-form.uniform-form .auth-password-field input{padding-right:42px}.auth-form.uniform-form .password-toggle{top:50%;right:7px;width:30px;height:30px;color:#173b91;transform:translateY(-50%)}.security-check{display:grid;place-items:center;min-height:34px;border:1px solid #e1e4ee;border-radius:10px;background:#fff;color:#53658b;font-size:11px;text-align:center}.turnstile-region{width:100%}.turnstile-slot{min-height:34px}.auth-actions{margin-top:2px;padding-top:9px;border-top:0}.auth-form.uniform-form .auth-submit{min-height:43px;border-radius:10px;background:#173b91;box-shadow:none;font-size:12px;letter-spacing:0}.forgot-password{display:block;width:100%;margin-top:9px;border:0;background:transparent;color:#53658b;font:inherit;font-size:12px;text-align:center;cursor:pointer}.forgot-password:hover{color:#173b91}.auth-footnote{display:none}.splash-screen{min-height:100dvh;background:#f5f5f5;color:#173b91}.splash-content{width:min(86vw,250px);animation:splash-rise .42s var(--ease) both}.splash-logo{width:72px;height:72px;margin:0 0 22px;border-radius:17px}.splash-content h1{margin:0;color:#173b91;font-family:var(--font-ui);font-size:20px;font-weight:750;letter-spacing:-.035em}.splash-copy{max-width:none;margin:4px 0 0;color:#53658b;font-size:10px;line-height:1.4}.splash-loader{width:62px;height:2px;margin:34px auto 0;background:#173b91;border-radius:99px;animation:splash-line 1.1s ease-in-out infinite}.splash-orbit,.splash-kicker,.splash-content small,.splash-footer{display:none}@keyframes splash-line{0%,to{transform:scaleX(.72);opacity:.7}50%{transform:scaleX(1);opacity:1}}@media(max-width:520px){.auth-shell{padding:24px 18px}.auth-card{width:min(100%,255px)}}:root{--ds-content-gutter: clamp(16px, 4vw, 48px);--ds-touch: 44px;--ds-safe-bottom: max(12px, env(safe-area-inset-bottom));--ds-safe-top: max(0px, env(safe-area-inset-top));--ds-ease-standard: cubic-bezier(.2, .8, .2, 1)}html{min-width:320px;overflow-x:hidden}body{min-width:320px;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}#root{min-height:100dvh}.brand-logo{display:block;width:36px;height:36px;border-radius:10px;object-fit:cover}.sidebar .brand>span:first-child{flex:0 0 auto}.sidebar .brand>span:nth-child(2){min-width:0}.sidebar .brand strong,.sidebar .brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content,.page-transition,.page-transition>*{min-width:0}button,input,select,textarea{touch-action:manipulation}@media(max-width:820px){.sidebar{padding-top:calc(18px + var(--ds-safe-top));padding-bottom:var(--ds-safe-bottom)}.topbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.topbar-actions .status{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.mobile-nav{padding-bottom:var(--ds-safe-bottom)}.mobile-nav button{flex:1 1 0;min-width:0}.entry-card,.action,.metric-card,.module-grid button{min-width:0}.entry-card input,.entry-card select,.activity-toolbar input,.activity-toolbar select{max-width:100%}}@media(max-width:600px){.topbar{gap:6px}.topbar>div:nth-child(2) strong{font-size:13px}.topbar-actions .status{padding-inline:7px;font-size:10px}.topbar-actions .icon-button,.topbar-actions .profile,.menu-button{width:44px;min-width:44px}.content{padding-top:24px}.hero h1{max-width:100%;overflow-wrap:anywhere}.metric-grid,.finance-metrics{grid-template-columns:1fr}.metric-card:first-child{grid-column:auto}.metric-card{min-height:0}.module-grid{grid-template-columns:1fr}.section-head{margin-top:26px}.entry-card{grid-template-columns:1fr;align-items:stretch;gap:12px}.entry-card>div:first-child{grid-column:auto}.entry-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.entry-actions>*{width:100%}.activity-toolbar,.activity-inline-filters,.settings-feedback-test{flex-direction:column;align-items:stretch}.activity-toolbar>*,.activity-inline-filters>*,.settings-feedback-test>*{width:100%;max-width:none}.transaction-amount{min-width:0}}@media(max-width:420px){.content{padding-inline:14px}.topbar>div:nth-child(2) strong{max-width:10ch}.topbar-actions .status{max-width:76px}.topbar-actions .profile,.topbar-actions .icon-button{width:40px;min-width:40px}.menu-button{width:42px;min-width:42px}.mobile-nav button{font-size:10px}.mobile-nav button svg{width:18px;height:18px}.auth-shell{padding-inline:16px}.auth-card{width:min(100%,300px)}}@media(orientation:landscape)and (max-width:820px){.content{padding-bottom:calc(84px + var(--ds-safe-bottom))}.mobile-nav{min-height:56px}.mobile-nav button{min-height:40px}}:root{--font-ui: var(--family-font-ui);--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;--text-display: var(--type-display);--text-title: var(--type-title);--text-heading: var(--type-heading);--text-body-lg: var(--type-body-lg);--text-body: var(--type-body);--text-body-sm: var(--type-body-sm);--text-caption: var(--type-caption);--text-micro: var(--type-micro)}html,body,button,input,select,textarea{font-family:var(--font-ui);font-size-adjust:from-font}body{font-size:var(--text-body);line-height:var(--leading-body);font-weight:400;letter-spacing:0}h1,h2,h3,p,ul,ol{text-wrap:pretty}.hero h1,.placeholder-page h1,.state-page h1,.auth-card h1{font-size:var(--text-display);line-height:var(--leading-tight);letter-spacing:-.025em}.section-head h1,.activity-title-row h2{font-size:var(--text-title);line-height:var(--leading-tight);letter-spacing:-.02em}.hero>div:first-child>p:last-child,.placeholder-page>p:not(.eyebrow),.state-page>p:not(.eyebrow),.auth-copy,.activity-description,.finance-transaction .transaction-meta{font-size:var(--text-body-sm);line-height:var(--leading-relaxed)}.eyebrow,.sidebar nav p,.auth-form label,.entry-card label,.activity-inline-filters label,.transaction-amount small{font-size:var(--text-caption);line-height:var(--leading-body);letter-spacing:.02em}.sidebar nav button,.topbar,.module-grid strong,.action b,.budget-row strong,.transaction strong,.settings-row-copy strong,.primary,.secondary,.auth-submit,.text-button{font-size:var(--text-body-sm);line-height:var(--leading-body)}.sidebar-footer,.topbar .status,.metric-card span,.metric-card small,.module-grid small,.action small,.budget-row p,.transaction small,.settings-row-copy small,.settings-row-value,.auth-footnote,.splash-copy,.mobile-nav button{font-size:var(--text-caption);line-height:var(--leading-body)}.metric-card strong,.balance-card strong,.transaction-amount b{font-variant-numeric:tabular-nums}.metric-card strong{font-size:1.5rem;line-height:1.2}.balance-card strong{font-size:1.625rem;line-height:1.2}.entry-card input,.entry-card select,.auth-form input,.activity-inline-filters select,.finance-transaction .transaction-title{font-size:var(--text-body);line-height:var(--leading-body)}.finance-transaction .transaction-meta{font-size:var(--text-caption)}@media(max-width:600px){body{font-size:var(--text-body-sm)}.hero h1,.placeholder-page h1,.state-page h1,.auth-card h1{font-size:clamp(1.75rem,8vw,2.25rem)}.section-head h1,.activity-title-row h2{font-size:clamp(1.375rem,6vw,1.75rem)}.finance-transaction .transaction-title{font-size:var(--text-body-sm)!important}.finance-transaction .transaction-meta{font-size:var(--text-caption)!important}.finance-transaction .transaction-amount b{font-size:var(--text-body-sm)}}@media(max-width:420px){.mobile-nav button{font-size:var(--text-micro)}}.modal-backdrop{top:var(--modal-visual-viewport-top, 0px);bottom:auto;height:var(--modal-visual-viewport-height, 100dvh)}@media(max-width:560px){.finance-entry-form{max-height:calc(var(--modal-visual-viewport-height, 100dvh) - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom)))!important;min-height:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
