:root{color:#17352b;background:#f6fbf8;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{color:#17352b;cursor:pointer;background:#fff;border:1px solid #cbd8d0;border-radius:8px;min-height:44px;padding:8px 12px}button:disabled{opacity:.5;cursor:not-allowed}button:hover,.button:hover{border-color:#124f3c}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #56d99a}a{color:#124f3c;text-decoration:none}svg{vertical-align:middle;width:19px;height:19px}.primary{color:#fff;background:#168b60;border-color:#168b60;justify-content:center;align-items:center;gap:8px;font-weight:650;display:inline-flex}.primary:hover{color:#fff;background:#124f3c}.danger{color:#fff;background:#b91c1c;border-color:#b91c1c}.app{min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #dce5df;flex-direction:column;flex:none;width:224px;height:100vh;padding:28px 16px;display:flex;position:sticky;top:0}.brand{margin:4px 12px 44px}.brand-logo{width:100%;max-width:190px;height:auto;display:block}.brand-logo-vertical{max-width:180px}.sidebar nav{gap:6px;display:grid}.sidebar nav a,.logout{color:#50615a;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;padding:12px 14px;font-weight:600;display:flex}.sidebar nav a.current{color:#124f3c;background:#ddf9e9}.logout{margin-top:auto}.content{width:100%;min-width:0;max-width:1440px;margin:0 auto;padding:36px 32px 90px}.page-head{justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px;display:flex}.eyebrow{color:#6a7b72;letter-spacing:.1em;font-size:12px;font-weight:700}h1{letter-spacing:-.04em;margin:4px 0 0;font-size:29px}h2{letter-spacing:-.02em;margin:0 0 12px;font-size:19px}.period{flex-wrap:wrap;align-items:end;gap:8px;margin-bottom:24px;display:flex}.period label{max-width:190px}label{color:#50615a;gap:6px;font-size:14px;font-weight:600;display:grid}input:not([type=checkbox]),select,textarea{color:#17352b;background:#fff;border:1px solid #aebfb4;border-radius:8px;max-width:100%;min-height:44px;padding:9px 11px}textarea{width:100%;min-height:85px}input[type=checkbox]{accent-color:#124f3c;width:19px;height:19px}.settled-toggle{color:#17352b;align-items:center;gap:10px;display:flex}.card,.panel{background:#fff;border:1px solid #dce5df;border-radius:12px;padding:24px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.kpis .card{flex-direction:column;gap:8px;min-width:0;display:flex}.kpis .card span{color:#50615a;font-size:14px;font-weight:650}.kpis .card strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(22px,2vw,32px)}.kpis .card small{color:#50615a;font-size:13px}.hero{background:#edf9f2}.income{color:#124f3c}.expense,.error{color:#b91c1c}.quick{flex-wrap:wrap;gap:12px;margin:16px 0 24px;display:flex}.quick>*{background:#fff;border:1px solid #dce5df;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;display:flex}.dashboard-grid{grid-template-columns:2fr 1fr;gap:16px;margin:16px 0;display:grid}.dashboard-grid.two{grid-template-columns:1fr 1fr}.dashboard .card{margin-bottom:16px}.dashboard-grid .card{margin-bottom:0}.card p{color:#50615a;line-height:1.5}.chart-box{height:260px}.upcoming,.setting-row{border-bottom:1px solid #e8eeea;justify-content:space-between;gap:16px;padding:12px 0;display:flex}.upcoming small{color:#50615a;display:block}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid;overflow-x:auto}.summary-grid>*{font-variant-numeric:tabular-nums}.projection-list>div{border-bottom:1px solid #e8eeea;justify-content:space-between;padding:9px;display:flex}.filters{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:18px;display:flex}.filters label{min-width:130px}.filters .button{align-items:center;gap:7px;display:inline-flex}.list-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.list-head p{color:#50615a}.table-wrap{background:#fff;border:1px solid #dce5df;border-radius:12px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #e8eeea;padding:14px 12px}th{color:#50615a;background:#f7faf8;position:sticky;top:0}td strong{white-space:normal;max-width:300px;display:block}td small{color:#50615a;margin-top:4px;display:block}.status{color:#92400e;background:#fef3c7;border:0;min-height:36px}.status-settled{color:#124f3c;background:#ddf9e9}.status-editor{gap:8px;min-width:210px;display:grid}.status-editor-actions{gap:6px;display:flex}.status-editor-actions button{min-height:36px;padding:5px 8px;font-size:13px}.category-badge{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;max-width:100%;padding:3px 9px;font-size:12px;font-weight:650;display:inline-flex;overflow:hidden}.tx-card .status-editor,.tx-card>.status{margin-top:8px}.color-palette{flex-wrap:wrap;gap:8px;display:flex}.color-swatch{border:2px solid #fff;border-radius:50%;width:34px;height:34px;min-height:34px;padding:0;box-shadow:0 0 0 1px #aebfb4}.color-swatch[aria-pressed=true]{box-shadow:0 0 0 3px #17352b}.setting-row{flex-wrap:wrap;align-items:center}.setting-row small{color:#50615a;margin-top:5px;display:block}.category-color-details{border-top:0;flex-basis:100%;order:2;padding-top:0}.actions{gap:4px;display:flex}.actions button{min-width:44px;min-height:44px;padding:8px}.empty{text-align:center;padding:50px 20px}.pagination{justify-content:flex-end;align-items:center;gap:10px;padding:16px;display:flex}.selection-bar{color:#fff;z-index:10;background:#17352b;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex;position:fixed;bottom:20px;left:245px;right:20px;box-shadow:0 10px 30px #0002}.selection-bar button{flex:none}.notice{background:#fef3c7;border-radius:8px;margin-bottom:16px;padding:12px 16px}.notice.error{background:#fee2e2}.modal-backdrop{z-index:30;background:#124f3c88;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;flex-direction:column;width:min(640px,100%);max-height:calc(100dvh - 32px);display:flex;box-shadow:0 20px 60px #0003}.modal header,.modal footer{border-bottom:1px solid #dce5df;justify-content:space-between;align-items:center;gap:10px;padding:16px 24px;display:flex}.modal footer{border-top:1px solid #dce5df;border-bottom:0;flex-wrap:wrap;justify-content:flex-end}.modal header h2{margin:0}.ghost{border:0;font-size:28px;line-height:1}.form-body{gap:16px;padding:20px 24px;display:grid;overflow-y:auto}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.segmented{gap:8px;display:flex}.segmented button{flex:1}.segmented button.active{color:#124f3c;background:#ddf9e9;border-color:#124f3c}details{border-top:1px solid #e8eeea;padding-top:14px}summary{cursor:pointer;margin-bottom:12px;font-weight:650}.auth,.offline{place-items:center;min-height:100vh;padding:16px;display:grid}.auth .panel{gap:18px;width:min(420px,100%);display:grid}.auth .brand{margin:0}.auth .brand-logo{max-width:220px}.offline-panel{justify-items:start;gap:18px;width:min(420px,100%);display:grid}.offline-panel h1,.offline-panel p,.auth h1{margin:0}.auth p{color:#50615a;margin:0}.auth small{color:#50615a}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.settings-grid .card{align-content:start;gap:12px;display:grid}.bottom-nav,.mobile-new,.mobile-cards,.mobile-select{display:none}@media (max-width:1023px){.sidebar{display:none}.content{padding:28px 20px 100px}.selection-bar{left:20px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}}@media (max-width:767px){.content{padding:20px 16px 155px}.page-head{margin-bottom:16px}.desktop-new{display:none}.kpis{gap:10px}.kpis .card{padding:16px}.kpis .hero{grid-column:1/-1}.kpis .card strong{font-size:24px}.dashboard-grid.two,.settings-grid{grid-template-columns:1fr}.quick>*{justify-content:space-between;width:100%}.table-wrap{display:none}.mobile-select{margin:0 0 12px auto;display:block}.mobile-cards{gap:12px;display:grid}.tx-card{background:#fff;border:1px solid #dce5df;border-radius:12px;padding:14px}.tx-top{align-items:start;gap:9px;display:flex}.tx-top strong{overflow-wrap:anywhere;flex:1}.tx-top b{font-variant-numeric:tabular-nums;white-space:nowrap}.tx-card p{color:#50615a;font-size:14px}.tx-card .actions{border-top:1px solid #e8eeea;justify-content:flex-end;padding-top:8px}.bottom-nav{padding:8px 8px max(8px, env(safe-area-inset-bottom));z-index:12;background:#fff;border-top:1px solid #dce5df;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{color:#50615a;justify-items:center;gap:2px;min-width:80px;font-size:12px;display:grid}.mobile-new{z-index:11;display:flex;position:fixed;bottom:83px;right:16px;box-shadow:0 6px 20px #0003}.selection-bar{flex-wrap:wrap;font-size:13px;bottom:75px;left:8px;right:8px}.selection-bar span{width:100%}.modal-backdrop{padding:0}.modal{border-radius:0;height:100dvh;max-height:100dvh}.modal footer{padding-bottom:max(16px, env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr}.summary-grid{gap:5px;font-size:12px}.filters{grid-template-columns:1fr 1fr;display:grid}.filters label:nth-child(2){grid-column:1/-1}.list-head{flex-wrap:wrap}.pagination{flex-wrap:wrap;justify-content:center}}.series-scope{background:#f7faf8;border:1px solid #dce5df;border-radius:8px;gap:10px;padding:14px;display:grid}.series-scope p{color:#50615a;margin:0}.preview{background:#f7faf8;border:1px solid #dce5df;border-radius:8px;padding:12px}.preview p{color:#50615a;margin:6px 0}
