:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-bg:#f6f7f4;--page-glow:#e5f0e3;--surface:#fff;--surface-muted:#fafbf9;--text-primary:#14231d;--text-strong:#1b2f22;--text-body:#35463a;--text-muted:#67776e;--text-subtle:#819087;--text-faint:#a2aea2;--border:#dfe6dd;--border-soft:#e4eae2;--border-table:#eff2ec;--accent:#17432c;--accent-hover:#245d3b;--accent-contrast:#fff;--accent-soft:#e8f1e9;--accent-pale:#eaf5ec;--accent-border:#d9ebdc;--eyebrow-text:#45835a;--pill-text:#367049;--focus-ring:#a7d9b3;--input-bg:#fff;--table-hover:#fbfdfa;--table-head:#fafbf9;--featured-start:#204e32;--featured-end:#123321;--featured-label:#bbd2c1;--success-text:#285f3b;--success-bg:#e7f4e8;--success-border:#d3e9d5;--danger-text:#a13c3a;--danger-bg:#fff0ef;--danger-border:#f5d5d1;--shadow-soft:#203f2908;--shadow-panel:#2543310a;--shadow-featured:#17432c1b;background:var(--page-bg);color:var(--text-primary);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-bg:#0e1511;--page-glow:#1a2d21;--surface:#151e18;--surface-muted:#18231d;--text-primary:#e7f0e9;--text-strong:#e0ede4;--text-body:#c6d2c9;--text-muted:#9bab9f;--text-subtle:#87988d;--text-faint:#718178;--border:#2b3a30;--border-soft:#26362c;--border-table:#25352b;--accent:#8bdba2;--accent-hover:#a0e9b3;--accent-contrast:#102117;--accent-soft:#20382a;--accent-pale:#1d3326;--accent-border:#304a38;--eyebrow-text:#86cc98;--pill-text:#a7dfb4;--focus-ring:#72bd86;--input-bg:#111a14;--table-hover:#1a2720;--table-head:#18231d;--featured-start:#21452e;--featured-end:#152f20;--featured-label:#c0ddc8;--success-text:#a5dfb2;--success-bg:#1b3324;--success-border:#2d4b36;--danger-text:#f1a8a3;--danger-bg:#382323;--danger-border:#573535;--shadow-soft:#0002;--shadow-panel:#0000002a;--shadow-featured:#00000035}@media (prefers-color-scheme:dark){:root:not([data-theme]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-bg:#0e1511;--page-glow:#1a2d21;--surface:#151e18;--surface-muted:#18231d;--text-primary:#e7f0e9;--text-strong:#e0ede4;--text-body:#c6d2c9;--text-muted:#9bab9f;--text-subtle:#87988d;--text-faint:#718178;--border:#2b3a30;--border-soft:#26362c;--border-table:#25352b;--accent:#8bdba2;--accent-hover:#a0e9b3;--accent-contrast:#102117;--accent-soft:#20382a;--accent-pale:#1d3326;--accent-border:#304a38;--eyebrow-text:#86cc98;--pill-text:#a7dfb4;--focus-ring:#72bd86;--input-bg:#111a14;--table-hover:#1a2720;--table-head:#18231d;--featured-start:#21452e;--featured-end:#152f20;--featured-label:#c0ddc8;--success-text:#a5dfb2;--success-bg:#1b3324;--success-border:#2d4b36;--danger-text:#f1a8a3;--danger-bg:#382323;--danger-border:#573535;--shadow-soft:#0002;--shadow-panel:#0000002a;--shadow-featured:#00000035}}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.dashboard{background:radial-gradient(circle at 90% 0%, var(--page-glow) 0, transparent 31%), var(--page-bg);min-height:100vh;color:var(--text-primary);transition:background-color .2s,color .2s}.dashboard-inner{max-width:1180px;margin:auto;padding:0 28px}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:86px;display:flex}.brand{letter-spacing:-.08em;align-items:center;gap:10px;font-size:25px;font-weight:760;display:inline-flex}.brand-dot{color:#51aa68}.brand-mark{color:#fff;background:#163d2a;border-radius:17px;place-items:center;width:54px;height:54px;display:grid;box-shadow:0 12px 24px #163d2a23}.brand-mark.small{border-radius:11px;width:36px;height:36px}.topbar-right{align-items:center;gap:10px;display:flex}.user-email{color:var(--text-muted);margin-right:4px;font-size:13px}.icon-button{color:var(--text-muted);background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;transition:background .15s,color .15s;display:inline-grid}.icon-button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.icon-button.danger:hover:not(:disabled){color:var(--danger-text);background:var(--danger-bg)}.intro{justify-content:space-between;align-items:end;gap:24px;padding:52px 0 32px;display:flex}.eyebrow{color:var(--eyebrow-text);letter-spacing:.16em;margin:0 0 12px;font-size:11px;font-weight:800}h1,h2,p{margin-top:0}.intro h1{letter-spacing:-.055em;margin-bottom:12px;font-size:clamp(34px,5vw,52px);font-weight:760;line-height:1.08}.muted{color:var(--text-muted);line-height:1.5}.intro .muted{margin:0;font-size:15px}.button{border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:0 17px;font-size:13px;font-weight:700;transition:transform .15s,background .15s;display:inline-flex}.button:not(:disabled):hover{transform:translateY(-1px)}.button.primary{border:1px solid var(--accent);color:var(--accent-contrast);background:var(--accent);box-shadow:0 7px 18px var(--shadow-featured)}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{border:1px solid var(--border);background:var(--surface);color:var(--text-body)}.button.secondary:hover:not(:disabled){background:var(--surface-muted)}.button.wide{width:100%}.button-loader{border:2px solid;border-right-color:#0000;border-radius:50%;width:17px;height:17px;animation:.8s linear infinite spin}.login-button[aria-busy=true]{opacity:1;cursor:wait}.login-loader{border:2px solid #0000;border-color:currentColor #0000 #0000 currentColor;border-radius:50%;flex-shrink:0;width:18px;height:18px;animation:1s cubic-bezier(.5,.1,.5,.9) infinite spin;position:relative}.login-loader:after{content:"";opacity:.4;border:1px solid;border-radius:50%;position:absolute;inset:3px}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:0 0 29px;display:grid}.summary-card{border:1px solid var(--border-soft);background:var(--surface);min-height:152px;box-shadow:0 9px 35px var(--shadow-soft);border-radius:16px;padding:24px 25px}.summary-card-featured{color:#fff;border-color:var(--featured-start);background:linear-gradient(128deg, var(--featured-start), var(--featured-end));box-shadow:0 14px 32px var(--shadow-featured)}.summary-label{color:var(--text-subtle);margin-bottom:19px;font-size:12px;font-weight:700}.summary-card-featured .summary-label,.summary-card-featured span{color:var(--featured-label)}.summary-card strong{letter-spacing:-.045em;white-space:nowrap;font-size:clamp(26px,3vw,34px);line-height:1;display:block}.summary-card span{color:var(--text-subtle);margin-top:15px;font-size:12px;display:block}.records,.form-panel{border:1px solid var(--border);background:var(--surface);box-shadow:0 12px 36px var(--shadow-panel);border-radius:17px}.records{overflow:hidden}.records-heading,.panel-heading{justify-content:space-between;align-items:center;padding:25px 27px 18px;display:flex}.records-heading .eyebrow,.panel-heading .eyebrow{margin-bottom:7px}.records h2,.form-panel h2{letter-spacing:-.035em;margin:0;font-size:23px}.filters{gap:12px;padding:0 27px 24px;display:flex}.search-box{border:1px solid var(--border);background:var(--input-bg);min-width:0;height:46px;color:var(--text-subtle);border-radius:10px;flex:1;align-items:center;gap:9px;padding:0 13px;display:flex}.search-box:focus-within{border-color:#6cae80}.search-box svg{flex:none}.search-box input{width:100%;min-width:0;height:100%;color:var(--text-primary);background:0 0;border:0;outline:none;padding:0;font-size:13px}.search-box input:focus-visible{outline:none}.search-box input::placeholder{color:var(--text-subtle)}.filter-select-wrap{flex:0 0 190px;min-width:0;position:relative}.filter-select{appearance:none;border:1px solid var(--border);width:100%;height:46px;color:var(--text-body);background:var(--input-bg);cursor:pointer;border-radius:10px;padding:0 40px 0 13px;font-size:13px}.filter-select-icon{pointer-events:none;color:var(--text-muted);position:absolute;top:50%;right:14px;transform:translateY(-50%)}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:730px}th{border-block:1px solid var(--border-soft);background:var(--table-head);color:var(--text-subtle);text-align:left;letter-spacing:.11em;text-transform:uppercase;padding:13px 27px;font-size:10px;font-weight:800}td{border-bottom:1px solid var(--border-table);color:var(--text-body);padding:18px 27px;font-size:13px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--table-hover)}.description-cell{color:var(--text-strong);font-weight:650}.date-cell{white-space:nowrap;color:var(--text-muted)}.amount-cell{white-space:nowrap;color:var(--text-strong);font-variant-numeric:tabular-nums;font-weight:750}.category-pill{color:var(--pill-text);background:var(--accent-pale);border:1px solid var(--accent-border);border-radius:99px;padding:5px 10px;font-size:11px;font-weight:700;display:inline-block}.actions-col,.actions-cell{text-align:right}.actions-cell{white-space:nowrap}.table-footer{border-top:1px solid var(--border-soft);min-height:64px;color:var(--text-subtle);justify-content:space-between;align-items:center;padding:0 27px;font-size:12px;display:flex}.pager{gap:3px;display:flex}.empty-state{min-height:240px;color:var(--text-subtle);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:25px;display:flex}.empty-state p{color:var(--text-strong);margin:4px 0 0;font-weight:750}.empty-state span{max-width:420px;font-size:13px;line-height:1.5}.empty-state .button{margin-top:12px}.inline-error{padding:0 27px 16px}.form-panel{margin-bottom:28px}.form-panel form{padding:0 27px 26px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.form-grid label,.stack label{color:var(--text-body);flex-direction:column;gap:8px;font-size:12px;font-weight:750;display:flex}.form-grid input,.form-grid select,.form-grid textarea,.stack input{border:1px solid var(--border);background:var(--input-bg);width:100%;min-height:43px;color:var(--text-primary);border-radius:9px;padding:10px 12px;font-weight:500}.form-grid textarea{resize:vertical}.form-grid .full-span{grid-column:1/-1}.form-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.notice{border-radius:10px;align-items:center;gap:9px;margin-bottom:20px;padding:13px 16px;font-size:13px;font-weight:650;display:flex}.notice.success{color:var(--success-text);background:var(--success-bg);border:1px solid var(--success-border)}.notice.failure{color:var(--danger-text);background:var(--danger-bg);border:1px solid var(--danger-border)}.notice .icon-button{margin-left:auto}.notice .button{flex-shrink:0}.error-text{color:var(--danger-text);font-size:12px;font-weight:650;line-height:1.4}.site-footer{color:var(--text-faint);letter-spacing:.09em;justify-content:space-between;gap:20px;padding:32px 0 38px;font-size:10px;display:flex}.auth-shell{min-height:100vh;color:var(--text-primary);background:radial-gradient(circle at 15% 12%, var(--page-glow) 0, transparent 30%), radial-gradient(circle at 84% 83%, var(--page-glow) 0, transparent 26%), var(--page-bg);place-items:center;padding:30px;display:grid}.auth-card{border:1px solid var(--border);background:var(--surface);width:min(100%,420px);box-shadow:0 25px 75px var(--shadow-panel);border-radius:20px;padding:36px}.auth-card-top{justify-content:space-between;align-items:flex-start;margin-bottom:36px;display:flex}.auth-card .brand-mark{margin:0}.auth-card h1{letter-spacing:-.055em;margin:0 0 9px;font-size:38px;line-height:1.1}.auth-card .muted{margin-bottom:30px;font-size:14px}.stack{flex-direction:column;gap:17px;display:flex}.stack .button{margin-top:5px}.auth-footnote{border-top:1px solid var(--border-soft);color:var(--text-subtle);margin:25px 0 0;padding-top:20px;font-size:11px;line-height:1.55}.centered-state{text-align:center;min-height:100vh;color:var(--text-muted);background:var(--page-bg);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:30px;display:flex}.centered-state h1{color:var(--text-primary);margin:0}.centered-state p{max-width:500px;color:var(--text-muted)}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:760px){.dashboard-inner{padding:0 16px}.topbar{min-height:70px}.user-email{display:none}.intro{flex-direction:column;align-items:flex-start;padding:35px 0 25px}.intro h1{font-size:37px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-card{min-height:130px;padding:19px}.summary-card-featured{grid-column:1/-1;min-height:120px}.summary-card strong{font-size:25px}.filters{flex-direction:column}.search-box{flex:none;width:100%}.filter-select-wrap{flex-basis:auto;width:100%}.form-grid{grid-template-columns:1fr}.site-footer{flex-direction:column}}@media (max-width:480px){.summary-grid{grid-template-columns:1fr}.summary-card-featured{grid-column:auto}.summary-card{min-height:110px}.summary-label{margin-bottom:14px}.records-heading,.panel-heading{padding:22px 18px 15px}.filters{padding:0 18px 18px}.form-panel form{padding:0 18px 20px}.table-footer{padding:0 18px}.auth-card{padding:27px}.notice.failure{flex-wrap:wrap;align-items:flex-start}}@media (prefers-reduced-motion:reduce){.login-loader{animation:none}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
