:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20252b;background:#f4f5f7;font-synthesis:none;--border:#e0e3e7;--muted:#68727d;--ink:#20252b;--accent:#2563d6;--green:#147858;--red:#b14442}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:1px solid transparent;border-radius:6px;padding:9px 14px;font-size:14px;font-weight:600;background:transparent;color:inherit}button:disabled{opacity:.55;cursor:wait}button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible{outline:3px solid #8db3ff;outline-offset:2px}input,select,textarea{width:100%;border:1px solid #cbd1d8;border-radius:5px;background:#fff;color:var(--ink);padding:9px 11px;min-height:42px}input:focus,select:focus,textarea:focus{outline:2px solid #a2c3ff;outline-offset:1px}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.2;font-weight:650;margin-bottom:0;letter-spacing:-.6px}h2{font-size:18px;font-weight:650;margin-bottom:18px}h3{font-size:16px;margin-bottom:12px}a{color:inherit}.primary{background:var(--ink);color:white}.secondary{background:#fff;border-color:#cfd5dc}.quiet{color:var(--muted);padding:6px 9px}.danger{color:var(--red);border-color:#e8cecd}.danger.solid{color:#fff;background:var(--red)}.muted,.hint{color:var(--muted)}.hint{font-size:14px;margin-bottom:0}.error{color:#a23232;font-size:14px;margin:10px 0}.error:empty{display:none}.wordmark{text-decoration:none;font-weight:800;font-size:22px;letter-spacing:-.8px;white-space:nowrap}.wordmark span{font-weight:350}header{height:73px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:5}.header-account{display:flex;gap:12px;align-items:center;font-size:14px}.header-account #account{color:var(--muted)}.workspace{display:grid;grid-template-columns:206px minmax(0,1fr);min-height:calc(100vh - 73px)}aside{border-right:1px solid var(--border);background:#fff;padding:28px 18px;display:flex;flex-direction:column;justify-content:space-between}nav{display:grid;gap:6px;position:sticky;top:100px}nav button{text-align:left;font-size:15px;font-weight:500;padding:12px 16px;display:flex;align-items:center;justify-content:space-between}nav button.active{background:#edf1f6;font-weight:650}nav button span{font-size:12px;color:var(--muted)}.aside-note{font-size:13px;color:var(--muted);padding:25px 16px}.aside-note span{color:#828b95}main{padding:30px 36px;min-width:0;max-width:1800px;width:100%;margin:auto;margin-top:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:7px}.actions{display:flex;gap:8px}.period-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px;flex-wrap:wrap}.period-presets{display:flex;background:#e9ecf0;border-radius:6px;padding:3px}.period-presets button{font-size:13px;padding:6px 12px;font-weight:500}.period-presets .selected{background:white;box-shadow:0 1px 3px #0001}.date-fields{display:flex;gap:10px;align-items:center}.date-fields label{display:flex;flex-direction:row;align-items:center;font-size:13px;color:var(--muted)}.date-fields input{padding:6px 8px;font-size:13px;min-height:34px;width:139px}.date-fields button{padding:6px 10px}.date-fields span{color:#9aa2ad}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{background:white;border:1px solid var(--border);border-radius:8px;padding:19px 21px}.stat-label{font-size:14px;color:var(--muted);margin-bottom:9px}.stat-value{font-size:28px;line-height:1.25;letter-spacing:-.8px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.stat-value small{font-size:14px;font-weight:400;letter-spacing:0;margin-left:4px;color:var(--muted)}.stat-note{font-size:12px;color:var(--muted);margin-top:10px}.positive{color:var(--green)}.negative{color:var(--red)}.panel{background:white;border:1px solid var(--border);border-radius:8px;margin-bottom:22px;padding:23px 24px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.panel-heading h2{margin:0}.panel-heading .muted{font-size:13px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:22px}.legend{display:flex;gap:18px;align-items:center;font-size:12px;color:var(--muted);margin-top:5px}.legend span:before{content:"";width:9px;height:9px;background:#294e77;display:inline-block;margin-right:6px;border-radius:2px}.legend span:nth-child(2):before{background:#b8c3cf}.chart{height:235px;width:100%;display:block}.chart text{fill:var(--muted);font-size:13px}.chart .grid{stroke:#e8ebef;stroke-width:1}.balance-row{border-bottom:1px solid #eef0f2;padding:15px 0}.balance-row:first-of-type{padding-top:2px}.balance-row:last-child{border-bottom:0;padding-bottom:0}.balance-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.balance-name{font-weight:550;font-size:15px}.balance-number{font-weight:600;font-size:20px;font-variant-numeric:tabular-nums}.balance-detail{font-size:12px;color:var(--muted);margin-top:4px}.table-wrap{overflow:auto;margin:0 -24px}.table-wrap table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:550;color:var(--muted);padding:11px 16px;border-bottom:1px solid var(--border);background:#fafbfc}td{padding:14px 16px;border-bottom:1px solid #eef0f2}th:first-child,td:first-child{padding-left:24px}th:last-child,td:last-child{padding-right:24px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfc}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.row-name{font-weight:550}.subtext{font-size:12px;color:var(--muted);display:block;font-weight:400}.tag{display:inline-flex;padding:3px 8px;font-size:12px;background:#edf1f5;color:#4c5969;border-radius:4px;white-space:nowrap}.tag.direct{background:#fff3df;color:#8c671f}.table-button{font-weight:400;font-size:13px;color:#346497;padding:2px 0}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.filters input{max-width:260px}.filters select{max-width:180px}.filters .spacer{flex:1}.empty{text-align:center;color:var(--muted);padding:46px 20px}.panel-foot{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);padding-top:18px;border-top:1px solid var(--border);margin-top:10px}.pager{display:flex;gap:8px;align-items:center}.pager button{border-color:var(--border);background:white;padding:5px 10px}.report-tools{display:flex;gap:10px;flex-wrap:wrap}.report-tools select{min-width:180px;width:auto}.balance-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.balance-cards .stat-value{margin-bottom:20px}.breakdown{display:grid;gap:10px}.breakdown>div{display:flex;justify-content:space-between;font-size:14px;gap:14px}.breakdown .total{border-top:1px solid var(--border);padding-top:12px;font-weight:600}.notice{background:#edf1f6;border-left:3px solid #718298;padding:13px 16px;font-size:14px;margin:0 0 20px;color:#4e5c6c}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:14px}.settings-row.inactive{color:var(--muted)}.settings-row button{padding:5px 8px;font-weight:400;font-size:12px}.inline-form{display:flex;gap:8px;margin-top:20px}.settings-form{display:grid;gap:15px;max-width:620px}.settings-form button{justify-self:start}footer{display:flex;justify-content:space-between;color:#8a939d;font-size:12px;margin:30px 0 0}dialog{border:1px solid var(--border);border-radius:10px;padding:26px;max-width:600px;width:calc(100% - 32px);box-shadow:0 25px 100px #0003;color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#17243377;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-heading h2{margin:0;font-size:21px}.icon-button{font-size:24px;font-weight:300;padding:0 8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.checkbox-label{display:flex;flex-direction:row;align-items:center;font-size:14px}.checkbox-label input{width:17px;height:17px;min-height:0}.quick-amounts{display:flex;gap:7px;margin-top:3px;flex-wrap:wrap}.quick-amounts button{border-color:var(--border);padding:5px 12px;font-weight:500}.quick-amounts button.selected{border-color:#20252b;background:#eef1f4}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px}.spacer{flex:1}#password-form label{margin-bottom:15px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#20252b;color:white;padding:12px 22px;border-radius:6px;box-shadow:0 6px 22px #0002;z-index:30;font-size:14px}.login-shell{min-height:100vh;display:grid;place-items:center;background:#edf0f4;padding:20px}.login-card{width:100%;max-width:420px;padding:38px;background:white;border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 50px #25354a08}.login-card .wordmark{margin-bottom:34px}.login-card h1{font-size:26px;margin-bottom:10px}.login-card p{font-size:14px}.login-card label{margin-top:19px}.login-card>.primary{width:100%;margin-top:24px}[hidden]{display:none!important}
@media(min-width:1550px){main{padding:34px 48px}.chart{height:265px}}@media(max-width:1150px){main{padding:26px 24px}.workspace{grid-template-columns:170px minmax(0,1fr)}aside{padding:24px 12px}.stats{gap:12px}.stat{padding:17px}.stat-value{font-size:23px}.overview-grid{grid-template-columns:1fr}.date-fields{flex-wrap:wrap}.page-heading{align-items:flex-start}}@media(max-width:760px){header{height:62px;padding:0 18px}.wordmark{font-size:20px}.header-account{gap:4px;font-size:12px}.header-account #account{max-width:110px}.quiet{font-size:12px}.workspace{display:block}aside{border:0;border-bottom:1px solid var(--border);padding:6px 10px;display:block;position:sticky;top:62px;z-index:4;overflow-x:auto}nav{display:flex;position:static;gap:2px;min-width:max-content}nav button{font-size:13px;padding:9px 12px;gap:6px}.aside-note{display:none}main{padding:22px 16px}.page-heading{flex-wrap:wrap;gap:16px;margin-bottom:20px}h1{font-size:25px}.actions{width:100%}.actions button{flex:1;padding:8px;font-size:13px}.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:23px}.stat{padding:16px}.stat-label{font-size:12px}.stat-note{font-size:11px}.panel{padding:19px 17px;border-radius:7px}.table-wrap{margin:0 -17px}td:first-child,th:first-child{padding-left:17px}.panel-heading{gap:10px;flex-wrap:wrap}.panel-heading h2{font-size:17px}.date-fields{gap:6px;width:100%}.date-fields input{width:130px}.date-fields label{font-size:12px}.date-fields>span{display:none}.date-fields button{font-size:12px}.period-bar{gap:12px}.period-presets{width:100%}.period-presets button{flex:1}.settings-grid{grid-template-columns:1fr}.filters input{max-width:none;width:100%}.filters select{max-width:none;flex:1;width:45%}.form-grid{gap:13px}.dialog-heading h2{font-size:20px}dialog{padding:21px}.legend{gap:12px}.chart{height:215px}.report-tools select{width:100%}.panel-foot{gap:12px;flex-wrap:wrap}.login-card{padding:30px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,filter .12s}.panel{animation:appear .15s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}}
