:root{color:#1e2d47;font-synthesis:none;text-rendering:optimizelegibility;--accent:#3d59c9;--muted:#5a6681;--track:#dde4f4;--glass:#ffffffa3;--glass-border:#ffffffeb;--line:#6679a529;--shadow:0 16px 48px #3d4c780f, inset 0 1px 0 #ffffffe6;background:#eef1fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{background-color:#eef1fa;background-image:radial-gradient(at 8% 12%,#dce1ff 0,#0000 48%),radial-gradient(at 85% 8%,#e4defa 0,#0000 42%),radial-gradient(at 85% 85%,#d5eee9 0,#0000 48%),none;background-position:0 0,0 0,0 0,0 0;background-repeat:repeat,repeat,repeat,repeat;background-size:auto,auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #5266d7}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;font-size:clamp(1.9rem,3.5vw,2.55rem);font-weight:720;line-height:1.12}h2{letter-spacing:-.025em;font-size:1.2rem;line-height:1.3}h3{font-size:1.05rem}a{color:inherit}::selection{background:#cbd4ff}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (prefers-reduced-transparency:reduce){:root{--glass:#f8f9fe;--glass-border:#fff}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){:root{--glass:#f8f9fe}}.money{white-space:normal;overflow-wrap:normal;word-break:normal}.money-number,.money-currency{white-space:nowrap}.icon{vertical-align:middle;flex-shrink:0}button{color:#fff;background:linear-gradient(135deg,#536bdd,#3851be);border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:.75rem 1.1rem;font-weight:600;transition:background .15s,box-shadow .15s;display:inline-flex;box-shadow:0 5px 12px #475dc51a}button:hover:not(:disabled){background:#354eb9;box-shadow:0 5px 16px #475dc52a}button.secondary{color:#3e4e78;box-shadow:none;background:#ffffff8c;border-color:#b9c5e1}button.secondary:hover:not(:disabled){background:#fff}input,select,textarea{width:100%;min-width:0;color:inherit;background:#ffffffbd;border:1px solid #bdc8df;border-radius:12px;padding:.8rem .9rem;box-shadow:inset 0 2px 3px #334b7603}input::placeholder,textarea::placeholder{color:#73809a}input:focus,select:focus,textarea:focus{outline-offset:2px;background:#fff;outline:2px solid #6175dc}input[type=file]{padding:.7rem;font-size:.875rem}input[type=file]::file-selector-button{color:#344b95;cursor:pointer;background:#e6eafb;border:0;border-radius:7px;margin-right:12px;padding:8px}textarea{resize:vertical;min-height:108px}label{gap:.5rem;font-size:.9375rem;font-weight:550;display:grid}.stack{gap:1.25rem;display:grid}.stack>*{min-width:0}.stack>h2,.stack>p{margin-bottom:0}.fields{grid-template-columns:minmax(0,1fr) 112px;gap:14px;display:grid}.actions{flex-wrap:wrap;gap:10px;display:flex}.layout{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);align-items:start;gap:24px;display:grid}.glass,.panel{background:var(--glass);border:1px solid var(--glass-border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(24px)saturate(140%);backdrop-filter:blur(24px)saturate(140%)}.panel{border-radius:24px;min-width:0;padding:28px}.panel>h2{margin-bottom:26px}.panel>.hint:last-child{margin-bottom:0}.page-heading{margin:8px 0 26px}.page-heading h1{margin:0 0 10px}.page-heading>p:last-child{color:var(--muted);margin-bottom:0;font-size:.9375rem}.eyebrow{text-transform:none;color:var(--accent);align-items:center;gap:8px;margin-bottom:12px;font-size:.8125rem;font-weight:600;display:flex}.eyebrow .icon{width:17px;height:17px}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.section-heading h2{margin:0}.section-heading>span{color:#51608a;white-space:nowrap;background:#e8ecf9;border:1px solid #fff;border-radius:9px;padding:3px 9px;font-size:.8125rem}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:12px;padding:0;font-size:.9375rem;font-weight:550}legend span{color:var(--muted);margin-top:2px;font-size:.8125rem;font-weight:400;display:block}.toggles{flex-wrap:wrap;gap:8px;display:flex}.toggles button{color:#52607e;min-height:40px;box-shadow:none;background:#ffffff82;border:1px solid #cbd3e7;border-radius:11px;padding:.5rem .85rem;font-size:.875rem}.toggles button:hover:not(:disabled){box-shadow:none;background:#eef0fd}.toggles button[aria-pressed=true]{color:#2f46ab;background:#e2e7ff;border-color:#8898e0;box-shadow:inset 0 1px #ffffffa8}.inline-form{gap:8px;margin-top:22px;display:flex}.inline-form input{font-size:.875rem}.inline-form button{flex-shrink:0;padding:.6rem .9rem;font-size:.875rem}.hint{color:var(--muted);font-size:.875rem;line-height:1.6}.error{color:#a02342}.success{color:#246246}.banner{overflow-wrap:anywhere;background:#ffffffa8;border:1px solid #fff;border-radius:16px;margin:0 0 20px;padding:16px 20px}.banner.error{background:#fff1f4;border-color:#edbac8}.banner.success{background:#edf9f3;border-color:#b7deca}.text-button{text-align:left;min-height:36px;color:var(--accent);box-shadow:none;background:0 0;border-radius:7px;justify-content:flex-start;justify-self:start;padding:4px 0;font-size:.875rem;display:inline-flex}.text-button:hover:not(:disabled){box-shadow:none;background:#e7ebff}.danger-text{color:#a02342}button.danger{background:#a62c48}.inset{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}details{margin-top:24px}summary{cursor:pointer;color:var(--muted);min-height:32px;font-size:.875rem}code{overflow-wrap:anywhere;font-size:.8125rem}.confirm-box{background:#f1f3ff;border:1px solid #ccd3ee;border-radius:16px;padding:18px}dialog{color:#1e2d47;background:#f7f8fd;border:1px solid #fff;border-radius:24px;width:min(480px,100vw - 32px);padding:28px;box-shadow:0 28px 90px #25355e45}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#25355e60}.welcome{max-width:520px;margin:48px auto 64px}.welcome h1{font-size:2.2rem}.welcome>.hint{margin-top:24px}.loading{color:var(--muted);padding:40px 0}.app-update{justify-content:space-between;align-items:center;gap:20px;display:flex}.app-update .hint{margin:5px 0 0}.app-update button{flex-shrink:0}@media (width<=1100px){.layout{gap:18px}.panel{padding:24px}}@media (width<=900px){.layout{grid-template-columns:1fr}}@media (width<=600px){.panel{border-radius:21px;padding:22px}.page-heading{margin-bottom:22px}.app-update{flex-direction:column;align-items:stretch}.fields{grid-template-columns:minmax(0,1fr) 100px;gap:12px}}.empty{text-align:center;color:var(--muted);padding:48px 12px}.empty-mark{color:#8694be;background:linear-gradient(145deg,#f7f8ff,#e7ecfc);border:1px solid #fff;border-radius:20px;place-items:center;width:62px;height:62px;margin:0 auto 20px;display:grid;box-shadow:inset 0 1px #fff}.empty-mark .icon{width:28px;height:28px}.empty h3{color:#4d5b7a;margin-bottom:7px;font-size:.9375rem;font-weight:600}.empty p{margin-bottom:0;font-size:.875rem}.app-shell{grid-template-columns:228px minmax(0,1fr);gap:36px;max-width:1480px;min-height:100dvh;margin:0 auto;padding:24px 32px 24px 24px;display:grid}.sidebar{border-radius:26px;flex-direction:column;align-self:start;height:calc(100dvh - 48px);min-height:540px;padding:26px 16px 22px;display:flex;position:sticky;top:24px}.brand{letter-spacing:-.025em;align-items:center;gap:11px;padding:0 7px;font-size:1rem;font-weight:700;text-decoration:none;display:flex}.brand small{color:var(--muted);letter-spacing:0;margin-top:3px;font-size:.6875rem;font-weight:400;display:block}.brand-icon{color:#fff;background:linear-gradient(145deg,#8d9afa,#4962d2);border:1px solid #8d9bef;border-radius:13px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid;box-shadow:0 4px 12px #5c6dd426,inset 0 1px #ffffff80}.brand-icon .icon{width:23px;height:23px}.navigation{flex-direction:column;gap:7px;margin-top:46px;display:flex}.navigation button{box-shadow:none;color:#586582;background:0 0;justify-content:start;gap:13px;min-height:48px;padding:12px 17px;font-size:.9375rem;font-weight:500}.navigation button:hover:not(:disabled){box-shadow:none;background:#ffffff90}.navigation button.active{color:#354faf;background:linear-gradient(100deg,#dfe6ff,#ecebffb8);border-color:#ffffffdf;font-weight:650;box-shadow:0 4px 10px #46588706,inset 0 1px #fff}.sidebar-note{margin:auto 8px 0;padding-top:24px}.privacy-icon{color:#7585bc;margin-bottom:10px;display:block}.sidebar-note strong{font-size:.8125rem;font-weight:600}.sidebar-note p{color:var(--muted);margin:6px 0 0;font-size:.75rem;line-height:1.7}.workspace{min-width:0}.topbar{justify-content:space-between;align-items:center;gap:20px;min-height:64px;margin:0 0 24px;display:flex}.workspace-label{color:#63708e;font-size:.8125rem}.workspace-label>span{color:#9aa4bd;padding:0 7px}.profile-chip{align-items:center;gap:10px;max-width:45%;font-size:.875rem;font-weight:550;display:flex}.profile-chip>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar{color:#4b60a6;background:linear-gradient(145deg,#eef0ff,#cfd8f9);border:1px solid #fff;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.sync-line{color:#566484;background:#fff5;border:1px solid #ffffffc2;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;padding:8px 16px;font-size:.8125rem;display:flex}.sync-message{align-items:center;gap:9px;display:flex}.status-dot{background:#3d926c;border-radius:50%;flex-shrink:0;width:7px;height:7px;box-shadow:0 0 0 4px #59ab7f12}.status-dot.error{background:#bd8440;box-shadow:0 0 0 4px #bd844012}.status-dot.syncing{background:#5774da}.sync-line.offline{color:#76531e;background:#fff7e6b0;border-color:#f1dcac}.sync-button{white-space:nowrap;gap:7px;font-size:.8125rem}.sync-button .icon{width:15px;height:15px}.spinning{animation:1.5s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}footer{color:#65708c;flex-wrap:wrap;align-items:center;gap:7px;margin-top:28px;padding:0 0 8px;font-size:.75rem;display:flex}footer .icon{width:13px;height:13px}footer>span{opacity:.95}.is-onboarding .sidebar-note{margin-top:auto}@media (width<=1100px){.app-shell{grid-template-columns:200px minmax(0,1fr);gap:24px;padding:20px}.sidebar{height:calc(100dvh - 40px);padding:24px 12px;top:20px}.brand{gap:8px;padding:0;font-size:.9375rem}}@media (width<=760px){.app-shell{padding:0 18px max(108px, calc(88px + env(safe-area-inset-bottom)));display:block}.sidebar{height:auto;min-height:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;padding:22px 0 0;position:static}.brand{padding:0;font-size:1rem}.brand small{display:none}.brand-icon{border-radius:11px;width:34px;height:34px}.brand-icon .icon{width:20px;height:20px}.sidebar-note,.workspace-label{display:none}.topbar{justify-content:flex-end;min-height:34px;margin:-34px 0 28px}.profile-chip{gap:7px;max-width:42%;font-size:.8125rem}.avatar{width:30px;height:30px}.navigation{z-index:10;left:12px;right:12px;bottom:max(12px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(24px);background:#f9faffed;border:1px solid #fff;border-radius:22px;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;margin:0;padding:7px;display:grid;position:fixed;box-shadow:0 8px 35px #40558625}.navigation button{border-radius:15px;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:60px;padding:7px 1px;font-size:.75rem}.navigation .icon{width:21px;height:21px}.sync-line{gap:10px;margin-bottom:24px;padding:7px 12px}.sync-message{font-size:.75rem}footer{line-height:1.6}footer>span{display:block}.is-onboarding{padding-bottom:24px}}@media (width<=380px){.app-shell{padding-left:12px;padding-right:12px}.profile-chip>span:last-child{display:none}.navigation{padding:5px;left:8px;right:8px}.navigation button{font-size:.6875rem}}@media (prefers-reduced-transparency:reduce){.sync-line,.navigation{-webkit-backdrop-filter:none;background:#f5f7ff}}.records{scrollbar-width:thin;scrollbar-color:#ccd3e7 transparent;max-height:630px;margin:0;padding:0;list-style:none;overflow:auto}.records li{border-top:1px solid var(--line);justify-content:space-between;align-items:start;gap:20px;padding:20px 0;display:flex}.records li:first-child{border:0;padding-top:14px}.records li:last-child{padding-bottom:0}.records li>div{overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.records strong{font-size:.9375rem;font-weight:650}.records time,.records li>div>span{color:var(--muted);font-size:.8125rem}.records time{color:#69758e}.records b{text-align:right;font-variant-numeric:tabular-nums;min-width:min-content;font-size:1rem;font-weight:650}.records .actions{gap:16px;margin-top:6px}.records .text-button{min-height:32px;font-size:.8125rem}.entry-editor>h2{margin-bottom:26px;font-size:1.4rem}.entry-editor input[name=amount]{letter-spacing:-.03em;min-height:54px;font-size:1.35rem;font-weight:550}.entry-editor .fields select{min-height:54px}@media (width<=900px){.records{max-height:none}}@media (width<=600px){.records li{gap:12px}.records b{max-width:45%}.empty{padding:36px 6px}}.statistics{gap:20px}.stats-filter h2{margin-bottom:12px}.stats-period{margin-bottom:18px}.stats-dates{flex-wrap:wrap;gap:16px;max-width:520px;display:flex}.stats-dates label{flex:190px;max-width:260px}.stats-range{margin:16px 0 8px;font-weight:600}.stats-filter>.hint:last-child{margin:0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.stats-total{letter-spacing:-.035em;overflow-wrap:anywhere;margin:6px 0 0;font-size:clamp(1.6rem,4vw,2rem);font-weight:750}.stats-currency .section-heading h3{color:var(--accent);margin:0}.stats-categories{margin:24px 0 0;padding:0;list-style:none}.stats-categories li+li{margin-top:22px}.stats-category-heading{overflow-wrap:anywhere;justify-content:space-between;gap:16px;margin-bottom:8px;display:flex}.stats-category-heading strong{min-width:0}.stats-category-heading b{text-align:right;flex-shrink:0;min-width:min-content}.stats-categories progress{appearance:none;background:var(--track);width:100%;height:9px;accent-color:var(--accent);border:0;border-radius:8px;display:block;overflow:hidden}.stats-categories progress::-webkit-progress-bar{background:var(--track);border-radius:8px}.stats-categories progress::-webkit-progress-value{background:linear-gradient(90deg,#4169dd,#8a7bdd);border-radius:8px}.stats-categories progress::-moz-progress-bar{background:linear-gradient(90deg,#4169dd,#8a7bdd);border-radius:8px}.stats-categories .hint{margin:6px 0 0}.stats-note{max-width:900px;margin:0}@media (width<=720px){.stats-grid{grid-template-columns:1fr;gap:18px}.stats-category-heading{font-size:.9375rem}.stats-category-heading b{flex-shrink:1;max-width:55%}.stats-dates label{max-width:none}}.members{margin:0;padding:0;list-style:none}.members li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;font-size:.9375rem;display:flex}.members li>span{overflow-wrap:anywhere;min-width:0}.qr img{width:260px;max-width:100%;height:auto;image-rendering:pixelated;background:#fff;border-radius:12px;margin:0 auto 20px;padding:10px;display:block}.account-id{margin:0}.account-id code{padding:8px 0;display:block}
