:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--bg);--bg: #f6f8f8;--panel: #fff;--ink: #202c2b;--sub: #637471;--line: #dfe7e4;--field: #f7f9f8;--accent: #14765c;--pale: #e6f4ec;color-scheme:light;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5da98d;outline-offset:2px}button{border:0;background:none}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.72rem,2.5vw,2.25rem);letter-spacing:-.055em;font-weight:680;line-height:1.2}h2{font-size:1.11rem;letter-spacing:-.035em;font-weight:665}h3{font-size:1rem}p{font-size:.9rem;color:var(--sub);line-height:1.55}small{font-size:.78rem;color:var(--sub)}b,strong{font-weight:620}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#102d29;color:#e5eee9;display:flex;flex-direction:column;z-index:5;border-right:1px solid #23453e}.brand{height:83px;display:flex;align-items:center;gap:11px;padding:0 23px;font-size:1.24rem;font-weight:680;letter-spacing:-.055em}.brand-mark{width:35px;height:35px;display:grid;place-items:center;background:#b5ecc8;color:#134a39;border-radius:10px}.sidebar nav{padding:8px 13px;overflow:auto}.navgroup{margin-bottom:27px}.navgroup>small{display:block;text-transform:uppercase;font-size:.64rem;letter-spacing:.14em;font-weight:650;color:#a2bab0;margin:0 13px 10px}.navgroup button{display:flex;align-items:center;width:100%;gap:12px;text-align:left;height:39px;border-radius:7px;padding:0 13px;margin:3px 0;color:#c9d9d2;font-weight:490;font-size:.87rem}.navgroup button svg{stroke-width:1.65}.navgroup button:hover,.profile:hover{background:#1b3e35}.navgroup .current{background:#245543;color:#d5ffe1;font-weight:620;box-shadow:inset 3px 0 #9adeb4}.side-bottom{margin-top:auto;padding:0 15px 15px}.profile{display:flex;width:100%;align-items:center;gap:10px;color:#fff;text-align:left;border-top:1px solid #355047;padding:17px 4px 12px}.profile span:nth-child(2){min-width:0;flex:1}.profile b,.profile small{display:block;overflow:hidden;text-overflow:ellipsis}.profile b{font-size:.84rem}.profile small,.dev{color:#a4bbb1;font-size:.72rem}.avatar,.top-avatar{display:grid;place-items:center;background:#c4e4d1;color:#24513e;border-radius:50%;font-weight:650;font-size:.86rem;width:34px;height:34px}.dev{display:block;padding-left:6px;letter-spacing:.03em}.app main{margin-left:226px}header{height:65px;border-bottom:1px solid var(--line);background:var(--panel);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.crumb,.header-right,.today,.actions,.legend,.stat-top,.primary,.secondary,.period,.safe,.search,.view-list,.round-icon{display:flex;align-items:center}.crumb{gap:11px;color:var(--sub);font-size:.82rem}.crumb b{color:var(--ink);font-weight:550}.header-right,.today{gap:12px}.header-right>i{height:20px;border-left:1px solid var(--line)}.today{font-size:.8rem;color:var(--sub);gap:7px}.top-avatar{width:31px;height:31px;font-size:.8rem}.icon{display:inline-grid;place-items:center;width:28px;height:30px;padding:0;color:var(--sub);border-radius:6px}.icon:hover{background:var(--field)}.bell{position:relative}.bell em{position:absolute;right:4px;top:3px;background:#64ac83;width:6px;height:6px;border-radius:50%;border:1px solid var(--panel)}.content{padding:31px 32px 16px;max-width:1700px;margin:auto}.page-head,.panel-head,.setting,.rule,.reminder,.detail-lines p{display:flex;align-items:center;justify-content:space-between;gap:14px}.page-head{margin-bottom:26px}.page-head p{margin-top:6px}.actions{gap:9px;flex-wrap:wrap}.primary,.secondary,.period,select{border-radius:7px;font-size:.82rem;font-weight:560;height:37px;gap:7px;white-space:nowrap}.primary{background:#176b50;color:#fff;justify-content:center;padding:0 14px;border:1px solid #176048}.primary:hover{background:#10563e}.secondary,.period,select{background:var(--panel);border:1px solid var(--line);padding:0 12px}.secondary:hover,.period:hover,.view-list:hover{background:var(--field)}.period{position:relative;cursor:pointer;overflow:hidden}.period input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.stats,.three{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat,.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 5px #1c453807}.stat{padding:19px 19px 18px;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden;min-height:139px}.stat-top{gap:9px;font-size:.83rem;font-weight:550;z-index:1}.stat-icon,.entry-icon,.round-icon{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:9px;background:var(--pale);color:var(--accent)}.stat>strong{font-size:clamp(1.45rem,2.1vw,2.1rem);letter-spacing:-.055em;margin:14px 0 5px;line-height:1.05;z-index:1}.stat>small{font-size:.76rem;z-index:1}.stat.hero{color:#fff;background:linear-gradient(110deg,#164c3c,#205d47);border-color:#21523e}.hero small{color:#c2dace}.hero .stat-icon{background:#ffffff20;color:#d9f6df}.orange .stat-icon,.sand{background:#fcf0de;color:#986321}.purple .stat-icon,.lilac{background:#eeeafa;color:#7754a7}.blue{background:#e7effa;color:#5078a2}.waves{position:absolute;right:-5px;bottom:-12px;height:120%;width:61%;opacity:.37}.waves path{stroke:#8ccea9;stroke-width:.85;fill:none}.overview-mid{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(276px,1fr);gap:17px;margin:19px 0}.panel-head{align-items:flex-start}.panel-head p{margin-top:4px;font-size:.8rem}.chart,.upcoming{padding:21px 21px 15px;min-width:0}.chart select{height:30px;font-size:.76rem}.legend{gap:7px;color:var(--sub);font-size:.72rem;margin:22px 0 10px}.legend i{width:17px;border-top:3px solid #2e906a;border-radius:2px}.legend .dashed{border-top:2px dashed #78ae98;margin-left:10px}.graph{display:block;width:100%;height:auto;min-height:150px;overflow:visible}.graph text{font-family:inherit;font-size:11px;fill:var(--sub)}.gridline{stroke:var(--line);stroke-width:1;stroke-dasharray:3 4}.line{fill:none;stroke:#2c906b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.line.forecast{stroke:#70a48e;stroke-dasharray:5 5}.upcoming{display:flex;flex-direction:column}.round-icon{background:var(--field);color:var(--sub)}.up-list{margin-top:11px;flex:1}.up-list button,.entry-name,.reminder{display:flex;align-items:center;text-align:left;gap:10px}.up-list button{width:100%;padding:11px 0;border-bottom:1px solid var(--line)}.up-list button:last-child{border:0}.entry-icon{width:35px;height:35px;flex-shrink:0}.up-list b,.entry-name b,.reminder b,.setting b,.rule b{font-size:.85rem;display:block}.up-list small,.entry-name small,.reminder small,.setting small,.rule small{display:block;margin-top:3px;font-size:.74rem}.up-list strong{margin-left:auto;font-size:.86rem;letter-spacing:-.025em}.view-list{width:100%;justify-content:center;gap:7px;color:var(--accent);background:var(--field);border:1px solid var(--line);height:33px;font-size:.78rem;font-weight:600;border-radius:7px;margin-top:11px}.trans{overflow:hidden}.trans .panel-head{padding:20px 21px 17px}.trans .secondary{height:31px;font-size:.78rem}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:.83rem}th{background:var(--field);color:var(--sub);font-weight:550;font-size:.73rem;padding:9px 14px}td{border-top:1px solid var(--line);padding:10px 14px;color:var(--sub)}td:first-child,th:first-child{padding-left:21px}td:last-child{width:25px;padding:0 8px 0 0}.entry-name{padding:0;color:var(--ink)}.right{text-align:right}.amount{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}.positive,.safe{color:var(--accent)}.badge{font-size:.72rem;background:var(--field);color:var(--sub);padding:3px 8px;border-radius:20px;font-weight:530}.badge.received,.badge.paid{color:#21694c;background:#e9f5ec}.badge.overdue,.warn,.error{color:#a14e26;background:#fff1e6}.badge.partial,.badge.reserved{background:#f6ecd4;color:#87601d}.table-scroll{overflow:auto}footer{display:flex;justify-content:space-between;margin:20px 1px 3px;color:var(--sub);font-size:.72rem}footer span:first-child{display:flex;align-items:center;gap:6px}.live-dot{width:6px;height:6px;background:#5ca780;border-radius:50%}.pad{padding:22px;margin-bottom:18px}.pad>p,.modal-head~p{margin:9px 0 16px}.pad>.panel-head{margin-bottom:14px}.pad .table-scroll{margin:0 -22px -12px}.three+.panel{margin-top:18px}.three .stat{min-height:120px}.empty{padding:22px;text-align:center}.setting,.rule,.reminder{padding:16px 0;border-bottom:1px solid var(--line);justify-content:flex-start}.setting:last-child,.rule:last-child{border:0}.setting>span,.rule>span,.reminder>span:nth-child(2){flex:1}.setting>svg,.rule>svg{color:var(--accent);width:20px}.reminder{width:100%}.seg{display:flex;gap:2px;padding:3px;background:var(--field);border:1px solid var(--line);border-radius:8px;width:fit-content}.seg button{padding:6px 10px;font-size:.82rem;color:var(--sub);border-radius:5px}.seg button.active{background:var(--panel);color:var(--accent);box-shadow:0 1px 3px #0002}.search{flex-direction:row!important;gap:6px}.search input{max-width:200px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:16px 0 22px}.calendar>b{font-size:.8rem;color:var(--sub);padding:8px}.calendar button{height:55px;background:var(--field);border:1px solid var(--line);border-radius:6px;text-align:left;padding:6px;display:flex;flex-direction:column}.calendar button.selected{border-color:var(--accent);background:var(--pale)}.calendar small{color:var(--accent)}.simulation,.fields{display:grid;gap:12px;grid-template-columns:1fr 1fr}.simulation{grid-template-columns:minmax(150px,2fr) 1fr auto;align-items:end}.simulation label{min-width:0}.simulation select{max-width:100%}.detail-lines p{padding:11px 0;border-bottom:1px solid var(--line);font-size:.85rem}.detail-lines b{color:var(--ink)}.detail-lines .negative{color:#ac4934}.detail-lines h3{margin-top:20px}.goal{background:var(--field);padding:17px;border-radius:9px;margin:12px 0}.goal>*{margin-bottom:10px}.goal>svg{color:var(--accent)}progress{display:block;width:100%;accent-color:var(--accent);height:9px}.goal small{font-weight:400}.error,.warn{padding:10px;border-radius:6px}.safe{gap:7px;padding-top:10px}dialog{border:1px solid var(--line);border-radius:15px;padding:23px;width:min(455px,calc(100% - 28px));max-height:86dvh;overflow:auto;background:var(--panel);color:var(--ink);box-shadow:0 15px 70px #10252230}dialog::backdrop{background:#13272266;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px}form{display:grid;gap:14px}form label,.simulation label{font-size:.82rem;font-weight:550;display:flex;flex-direction:column;gap:6px}form input,form select,.simulation input,.simulation select,.search input{width:100%;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:6px;height:38px;padding:6px 10px;font-size:.88rem}.check{display:flex!important;flex-direction:row;align-items:center}.check input{width:16px;height:16px;accent-color:var(--accent)}.form-submit{margin-top:4px}.detail-total{display:grid;gap:5px}.detail-total strong{font-size:1.9rem;letter-spacing:-.05em}.detail-total span{font-size:.8rem;color:var(--sub)}dialog .seg{margin:14px 0}.textbtn{color:var(--accent);margin:14px 0 0}.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%);background:#183b30;color:#fff;z-index:12;border-radius:9px;padding:12px 15px;font-size:.85rem;display:flex;align-items:center;gap:15px;box-shadow:0 5px 20px #0002}.toast button{color:#fff;display:grid;place-items:center}.mobilebtn,.scrim{display:none}:root[data-theme=dark]{--bg: #101b19;--panel: #192724;--ink: #e7eeeb;--sub: #adc0b8;--line: #34453f;--field: #21302b;--accent: #8edbb2;--pale: #274535;color-scheme:dark}@media(min-width:1600px){.content{padding-top:42px}.stat{min-height:156px}.graph{max-height:270px}.up-list button{padding:18px 0}}@media(max-width:1200px){.sidebar{width:202px}.brand{padding:0 17px}.app main{margin-left:202px}.content{padding:25px 21px 15px}header{padding:0 21px}.page-head{align-items:flex-start;gap:10px}.stat{padding:15px}.stats{gap:10px}.overview-mid{gap:12px;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr)}.chart,.upcoming{padding:17px 15px 13px}.graph{min-height:162px}.page-head p{font-size:.83rem}}@media(max-width:990px){.sidebar{width:185px}.brand{font-size:1.07rem}.app main{margin-left:185px}.page-head{flex-wrap:wrap}.overview-mid{grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr)}.stat-top{gap:6px;font-size:.78rem}.stat-icon{width:26px;height:26px}.stat>small{font-size:.7rem}.stat{min-height:120px}.stat>strong{font-size:1.4rem}.up-list b{font-size:.78rem}.up-list button{gap:6px}.legend{gap:5px}.graph{min-height:145px}.simulation{grid-template-columns:1fr 1fr}.stats{gap:8px}}@media(max-width:780px){.sidebar{transform:translate(-100%);width:224px;transition:transform .18s}.sidebar.shown{transform:none}.scrim{display:block;position:fixed;inset:0;background:#10271c60;z-index:4}.app main{margin:0}.mobilebtn{display:grid}.crumb>svg:first-of-type{display:none}.brand{font-size:1.2rem}.header-right{gap:7px}.content{padding:22px 17px}.navgroup{margin-bottom:17px}.sidebar nav{padding-top:0}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{min-height:119px}.stat-top{font-size:.84rem}.stat>strong{font-size:1.7rem}.stat>small{font-size:.76rem}.page-head{gap:15px}.overview-mid{grid-template-columns:1fr 1fr}.three{gap:7px}.three .stat>strong{font-size:1.35rem}}@media(max-width:620px){header{height:53px;padding:0 12px}.today,.header-right>i{display:none}.content{padding:21px 13px}.overview-mid,.three{grid-template-columns:1fr}.page-head{margin-bottom:17px}.chart,.upcoming{padding:17px}.chart .graph{min-height:128px}.stat{padding:13px}.actions .primary,.period{height:35px}.trans .panel-head,.pad{padding:16px}.pad .table-scroll{margin:0 -16px}.panel-head{flex-wrap:wrap}.chart .panel-head,.upcoming .panel-head,.trans .panel-head{flex-wrap:nowrap}.fields,.simulation{grid-template-columns:1fr}.setting{flex-wrap:wrap}.setting>span{min-width:135px}.legend{margin-top:18px}.toast{width:max-content;max-width:92%}.calendar{gap:2px}.calendar>b{padding:4px}.calendar button{height:44px}.graph text{font-size:13px}.page-head p{font-size:.86rem}.three .stat{min-height:95px}.three .stat>strong{margin-top:8px}}.edit-entry{float:right;height:30px;font-size:.76rem}.debt-groups{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.debt-groups>div{background:var(--field);border:1px solid var(--line);padding:12px;border-radius:8px;display:grid;gap:5px;min-width:145px}.debt-groups b{font-size:.82rem}.debt-groups strong{font-size:1.14rem}.daily-actions{margin-bottom:18px}.three+.trans{margin-top:20px}
