:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4f6f5;--surface:#fff;--surface-2:#eaefec;--text:#17201c;--muted:#55615b;--border:#d3dbd7;--border-strong:#78837d;--accent:#1f6f5c;--accent-text:#1f6f5c;--on-accent:#fff;--focus:#1a56c9;--money-in:#1b6b3a;--money-out:#b3261e;--danger:#b3261e;--on-danger:#fff;--error-bg:#fdeceb;--error-text:#7a1712;--warn-bg:#fff3d1;--warn-text:#553f00;--ok-bg:#e2f3ea;--ok-text:#11503a;--info-bg:#e3edfb;--info-text:#17407f;--scrim:#00000073;--radius:10px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--bg:#101412;--surface:#1a201d;--surface-2:#252e2a;--text:#e9eeeb;--muted:#a6b1ab;--border:#333d38;--border-strong:#7f8b85;--accent:#4fb596;--accent-text:#6cd0b0;--on-accent:#06211a;--focus:#8ab4ff;--money-in:#6fd49a;--money-out:#ff9a90;--danger:#ff9a90;--on-danger:#3b0906;--error-bg:#3d1a18;--error-text:#ffd4cf;--warn-bg:#3b2f0d;--warn-text:#ffe3a0;--ok-bg:#153327;--ok-text:#b4ead0;--info-bg:#17294a;--info-text:#c6dcff;--scrim:#000000a6}}*{box-sizing:border-box}html,body,#root{height:100%}body{min-width:360px;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;margin:0;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow-x:hidden}h1{letter-spacing:-.01em;margin:0 0 1rem;font-size:1.5rem;line-height:1.2}h2{margin:1.25rem 0 .5rem;font-size:1.1rem;line-height:1.25}p{margin:0 0 .75rem}small{color:var(--muted);font-size:.85rem}a{color:var(--accent-text);text-underline-offset:.15em}hr{border:0;border-top:1px solid var(--border)}code{overflow-wrap:anywhere}img{max-width:100%;height:auto}details{margin:0 0 1rem}summary{cursor:pointer;align-items:center;min-height:44px;display:flex}output{font-variant-numeric:tabular-nums}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}dl{grid-template-columns:1fr auto;gap:.35rem 1rem;margin:0 0 1rem;display:grid}dt{color:var(--muted)}dd{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0}ul,ol{margin:0 0 1rem;padding:0;list-style:none}ul ul{margin:.5rem 0 0}.spinner{color:var(--muted);padding:1rem 0}label{margin:0 0 .75rem;font-weight:500;display:block}:where(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%;min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:8px;margin-top:.25rem;padding:.5rem .75rem;font-weight:400;display:block}input[aria-invalid=true]{border-color:var(--danger);border-width:2px}input[type=checkbox],input[type=radio]{width:1.25rem;height:1.25rem;accent-color:var(--accent);flex:none;margin:0}:is(label:has(>input[type=checkbox]),label:has(>input[type=radio])){align-items:center;gap:.6rem;min-height:44px;font-weight:400;display:flex}fieldset{border:0;min-width:0;margin:0 0 .75rem;padding:0}fieldset>legend{padding:0;font-weight:500}fieldset>label:has(>input[type=radio]){margin:0 1.5rem 0 0;display:inline-flex}select:disabled,input:disabled{opacity:.6}button{min-width:44px;min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;margin:.25rem .5rem .25rem 0;padding:.5rem 1rem;font-weight:600;line-height:1.2;display:inline-flex}button:hover:not(:disabled){background:var(--surface-2)}button:disabled{opacity:.55;cursor:not-allowed}button[type=submit],.btn-primary{color:var(--on-accent);background:var(--accent);border-color:var(--accent)}button[type=submit]:hover:not(:disabled),.btn-primary:hover:not(:disabled){background:var(--accent);filter:brightness(.92)}.btn-danger{color:var(--danger);border-color:var(--danger)}.confirm .btn-danger{color:var(--on-danger);background:var(--danger);border-color:var(--danger)}.confirm .btn-danger:hover:not(:disabled){background:var(--danger);filter:brightness(.92)}button[aria-pressed=true]{color:var(--on-accent);background:var(--accent);border-color:var(--accent)}.field-msg{min-height:0;color:var(--danger);margin:-.5rem 0 .75rem;font-size:.9rem}.field-msg:empty{margin:0}.shell{flex-direction:column;min-height:100%;display:flex}.shell-header{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 1rem;display:flex}.shell-header>button{margin:0}.shell-header>[role=alert]{flex-basis:100%;margin:0}.shell-main{flex:1;width:100%;max-width:48rem;margin:0 auto;padding:1rem 1rem 1.5rem}.shell-nav{z-index:10;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);display:flex;position:sticky;bottom:0}.shell-nav a{min-width:0;min-height:52px;color:var(--muted);text-align:center;border-top:3px solid #0000;flex:1;justify-content:center;align-items:center;padding:.25rem;font-size:.72rem;font-weight:600;text-decoration:none;display:flex}.shell-nav a.active{color:var(--accent-text);border-top-color:var(--accent)}.budget-switcher{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:.5rem;min-width:0;display:flex}.budget-switcher select{flex:5rem;width:auto;min-width:0;max-width:100%;margin:0}.budget-switcher button{margin:0}.auth-page{max-width:24rem;margin:0 auto;padding:1.5rem 1rem}.auth-page button{margin-top:.5rem}.banner,[role=alert],[role=status]:not(.spinner){border:1px solid #0000;border-left-width:5px;border-radius:8px;margin:0 0 .75rem;padding:.65rem .85rem}[role=alert]>p{margin:0 0 .25rem}[role=alert]>button{margin-bottom:0}[role=alert]{color:var(--error-text);background:var(--error-bg);border-color:var(--danger)}[role=status]:not(.spinner){color:var(--ok-text);background:var(--ok-bg);border-color:var(--accent)}.banner-warning{color:var(--warn-text);background:var(--warn-bg);border-color:#b58300}span[role=alert]{margin-top:.25rem;padding:.35rem .6rem;font-size:.9rem;display:block}.badge,.txn-badge{color:var(--text);background:var(--surface-2);border:1px solid var(--border-strong);border-radius:999px;padding:.05rem .5rem;font-size:.75rem;font-weight:600;line-height:1.5;display:inline-block}.badge-pending{color:var(--warn-text);background:var(--warn-bg)}.badge-review{color:var(--info-text);background:var(--info-bg)}.badge-closed{color:var(--ok-text);background:var(--ok-bg)}li{border-bottom:1px solid var(--border)}li li{border-bottom:0;padding:.15rem 0}li:has(>output){justify-content:space-between;gap:.75rem;padding:.6rem 0;display:flex}.row{flex-wrap:wrap;align-items:baseline;gap:.15rem .75rem;padding:.6rem 0;display:flex}.row>strong,.row>.row-name{overflow-wrap:anywhere;flex:8rem;min-width:0}.row>small,.row>p,.row>ul,.row>select,.row>form,.row>[role=group]{flex-basis:100%;margin:0}.row>button,.row>select{align-self:center}.row>select{margin:.25rem 0}.row>p{margin:.15rem 0 .35rem}.money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;font-weight:600}.nav-list li{padding:0}.nav-list a{min-height:52px;color:var(--text);justify-content:space-between;align-items:center;font-weight:600;text-decoration:none;display:flex}.nav-list a:after{content:"›";color:var(--muted);font-size:1.4rem}.rule-list{counter-reset:rule}.rule-list>li{counter-increment:rule}.rule-list>li:before{content:counter(rule) ".";float:left;width:1.75rem;color:var(--muted);font-variant-numeric:tabular-nums;margin:.6rem 0 0}.rule-list>li>*{margin-left:1.75rem}.panel,.create-budget,[role=dialog]:not(.txn-sheet),.confirm,div[role=group][aria-label]{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);margin:.5rem 0 1rem;padding:.85rem}.panel>:last-child,[role=dialog]>:last-child,.confirm>:last-child{margin-bottom:0}[role=dialog] [role=dialog]{box-shadow:none}div[role=group][aria-label],.confirm{background:var(--warn-bg);color:var(--warn-text);border-color:#b58300}.create-budget{flex-basis:100%;display:block}.txn-sheet{z-index:20;max-width:40rem;max-height:88vh;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom));color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:0 0 0 100vmax var(--scrim);border-bottom:0;border-radius:16px 16px 0 0;margin:0 auto;position:fixed;inset:auto 0 0;overflow-y:auto}.txn-sheet h2{overflow-wrap:anywhere;margin-top:0}.txn-sheet [role=dialog]{background:var(--surface-2)}.split-line{border-bottom:1px solid var(--border);margin:0 0 .75rem;padding:0 0 .5rem}.txn-line{margin:0 0 .75rem}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:100%;margin:0 0 1rem;overflow-x:auto}table{border-collapse:collapse;width:100%}caption{text-align:left;padding:.6rem .6rem .25rem;font-weight:700}th,td{font-variant-numeric:tabular-nums}thead th{color:var(--muted);border-bottom:1px solid var(--border-strong);font-size:.72rem;font-weight:600}.filters{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:0 .5rem;margin:.5rem 0;display:grid}.filters>label:first-child,.filters>label:nth-last-child(2),.filters>label:last-child{grid-column:1/-1}.txn-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:.5rem 0}.txn-list>li:last-child{border-bottom:0}.txn-list>li{border-bottom:1px solid var(--border)}.txn-row{text-align:left;width:100%;min-height:56px;color:inherit;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:flex-start;gap:.75rem;margin:0;padding:.6rem .85rem;font-weight:400;display:flex}.txn-main{flex-direction:column;align-items:flex-start;min-width:0;display:flex}.txn-name{overflow-wrap:anywhere;font-weight:600}.txn-meta{color:var(--muted);font-size:.8rem}.txn-meta .txn-badge{margin-left:.4rem}.txn-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;font-weight:600}.txn-out{color:var(--money-out)}.txn-in{color:var(--money-in)}.pager{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem .5rem;font-size:.9rem;display:flex}.pager button{margin:0}.pager span{text-align:center;flex:100%;order:-1}.to-assign{font-variant-numeric:tabular-nums;color:var(--ok-text);background:var(--ok-bg);border-radius:var(--radius);border:1px solid var(--accent);padding:.75rem .85rem;font-size:1.15rem;font-weight:700}.to-assign.over{color:var(--error-text);background:var(--error-bg);border-color:var(--danger)}.budget-table{table-layout:auto}.budget-table th,.budget-table td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--border);padding:.2rem .3rem;font-size:.8rem}.budget-table thead th{padding-left:.2rem;padding-right:.2rem}.budget-table th[scope=row],.budget-table thead th:first-child{text-align:left;padding-left:.6rem;font-weight:400}.budget-table th[scope=row]{white-space:normal;overflow-wrap:normal}.budget-table tbody tr:last-child th,.budget-table tbody tr:last-child td{background:var(--surface-2);border-bottom:0;font-weight:700}.budget-input{text-align:right;font-variant-numeric:tabular-nums;width:100%;min-width:5rem;min-height:44px;margin:0;padding:.25rem .35rem;font-size:.85rem}.yearly-picker{flex-wrap:wrap;align-items:end;gap:.5rem;margin-bottom:.5rem;display:flex}.yearly-picker button{margin:0 0 .75rem}.yearly-picker label{margin:0}.yearly-picker input{width:6rem}.yearly-scroll{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:100%;margin-top:.75rem;overflow-x:auto}.yearly-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.yearly-table th,.yearly-table td{text-align:right;white-space:nowrap;border-bottom:1px solid var(--border);padding:.4rem .6rem;font-size:.85rem}.yearly-table th[scope=row],.yearly-table thead th:first-child{z-index:1;text-align:left;text-overflow:ellipsis;background:var(--surface);border-right:1px solid var(--border-strong);min-width:8rem;max-width:10rem;position:sticky;left:0;overflow:hidden}.yearly-table thead th{background:var(--surface-2)}.yearly-table tbody th[scope=row]{font-weight:400}.yearly-table tr.yearly-group th,.yearly-table tr.yearly-group td{background:var(--surface-2);font-weight:700}.yearly-table tr.yearly-total th,.yearly-table tr.yearly-total td{border-top:2px solid var(--border-strong);font-weight:600}.yearly-table tr.yearly-net th,.yearly-table tr.yearly-net td{font-weight:700}@media (width>=40rem){.shell-main{padding:1.5rem}.budget-table th,.budget-table td{font-size:.95rem}}
