:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#18304b;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-.9px;line-height:1.2;margin-bottom:10px}h2{font-size:17px;margin:0;letter-spacing:-.25px}h3{font-size:14px;margin:0 0 14px}.layout{display:flex;min-height:100vh}.sidebar{width:258px;background:#142b40;color:#dfecf6;display:flex;flex-direction:column;flex-shrink:0;padding:32px 16px 22px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 34px;white-space:nowrap}.brand-symbol{background:#d8f8ea;color:#127a69;width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:26px;font-weight:800}.brand strong{font-size:13px;letter-spacing:1px;display:block}.brand small{display:block;font-size:10px;color:#8fa6b9;margin-top:3px}.sidebar nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 13px;color:#b5c7d5;border-radius:10px;font-weight:600;font-size:13px;background:transparent;border:0;width:100%;text-align:left}.nav-link:hover{background:#213c52;color:white}.nav-link.active{color:white;background:#237a71;box-shadow:0 6px 18px #0b262a44}.nav-icon{width:22px;text-align:center;font-size:18px;font-weight:400}.sidebar-bottom{margin-top:auto;padding:15px 9px 0;border-top:1px solid #31475a;color:#96abba;font-size:12px}.sidebar-bottom form{margin-top:15px}.logout{padding:10px}.right{flex:1;min-width:0}.topbar{height:71px;display:flex;align-items:center;justify-content:flex-end;padding:0 36px;background:white;border-bottom:1px solid #e9edf2}.topright{display:flex;align-items:center;gap:15px;color:#6c7d8d;font-size:12px}.user-dot{border-radius:100%;background:#eff7f5;color:#248979;padding:9px;font-size:12px}.mobilebrand,.mobile-nav{display:none}.content{max-width:1450px;margin:0 auto;padding:37px 40px 90px}.eyebrow{color:#138c7a;font-size:11px;letter-spacing:1.9px;font-weight:800;margin-bottom:9px}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 27px}.page-heading p{color:#8090a3;margin:0;font-size:13px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:41px;padding:10px 17px;border-radius:9px;font-weight:750;font-size:13px;border:1px solid transparent;white-space:nowrap}.btn.primary{background:#168c7b;color:white;box-shadow:0 4px 11px #258c7927}.btn.primary:hover{background:#097867}.btn.secondary{background:#dff5ec;color:#1a826e}.btn.ghost{background:white;color:#46657b;border-color:#dce6ee}.btn.ghost:hover{border-color:#9fc5bd}.btn.destructive{background:#fde9e9;color:#bb4244;border-color:#f9d3d3}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:19px}.stats-three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{background:white;border:1px solid #e9edf3;border-radius:13px;padding:23px 22px 20px;min-width:0;box-shadow:0 5px 15px #1b385409}.stat:before{content:"";display:block;width:34px;height:4px;border-radius:5px;background:#118f81;margin-bottom:17px}.stat.green:before{background:#47b88a}.stat.red:before{background:#e4757a}.stat.amber:before{background:#e2ac48}.stat-title{color:#6f8195;font-size:13px;font-weight:650}.stat-number{font-size:24px;font-weight:800;color:#20374d;letter-spacing:-.9px;margin:9px 0 6px;overflow-wrap:anywhere}.stat-hint{font-size:12px;color:#8999a8}.grid-2{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:19px;margin-bottom:19px}.panel{background:white;border:1px solid #e9edf3;border-radius:13px;padding:24px 24px 25px;box-shadow:0 5px 15px #1b385409;min-width:0;margin-bottom:19px}.grid-2>.panel{margin-bottom:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.panel-heading p{font-size:12px;color:#8b9bab;margin:3px 0 0}.panel-heading>a{color:#128775;font-weight:700;white-space:nowrap;font-size:12px}.due-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0f3f6}.due-item:last-child{border:0}.due-icon{width:40px;height:40px;background:#eff7f4;color:#25887c;border-radius:11px;display:grid;place-items:center;font-size:20px;flex-shrink:0}.due-name{min-width:0;flex:1}.due-name b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.due-name span{display:block;color:#91a0ad;font-size:11px}.due-amount{text-align:right}.due-amount b{font-size:13px;display:block;margin-bottom:6px;white-space:nowrap}.chip{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;border-radius:6px;padding:4px 8px;white-space:nowrap}.chip.danger{background:#fce8e9;color:#bf555a}.chip.warn{background:#fff2db;color:#ae7b2d}.chip.success{background:#e5f7ef;color:#238c65}.chip.neutral{background:#ebf0f7;color:#728399}.focus-metric{background:#eef8f6;border:1px solid #d8f0eb;border-radius:12px;padding:22px;margin-bottom:16px}.focus-metric span{font-size:12px;color:#408d7d;display:block}.focus-metric strong{display:block;font-size:29px;color:#196b61;margin-top:5px;letter-spacing:-.7px}.split-line{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #f0f3f6}.split-line span{color:#72869a;font-size:12px}.split-line b{font-size:13px;text-align:right}.progress{height:9px;background:#e8eef4;border-radius:10px;overflow:hidden;margin-top:15px}.progress span{display:block;height:100%;background:#219b81;border-radius:10px}.small-muted{font-size:12px;color:#8c99a7;line-height:1.7;margin:10px 0 0}.category-bar{margin-bottom:20px}.category-bar:last-child{margin-bottom:0}.bar-info{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.bar-info span{font-weight:700;color:#587084}.bar-track{height:10px;border-radius:10px;background:#e9f0f4;overflow:hidden}.bar-track i{display:block;height:100%;background:linear-gradient(90deg,#1b937e,#6acbac);border-radius:9px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:15px;flex-wrap:wrap}.toolbar input,.toolbar select{border:1px solid #e1e7ef;min-height:43px;border-radius:10px;padding:10px 13px;color:#4a6078;background:white;outline:none}.toolbar input{min-width:240px;flex:1}.toolbar input:focus,.toolbar select:focus,input:focus,textarea:focus,select:focus{border-color:#1b9c88;outline:2px solid #1b9c8815}.panel-table{padding:0}.scroll-table{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:690px;text-align:left}th{background:#fafbfe;color:#8b9aab;font-size:11px;letter-spacing:.45px;text-transform:uppercase;padding:16px 20px;font-weight:750;border-bottom:1px solid #edf1f5;white-space:nowrap}td{font-size:12px;color:#41566d;padding:18px 20px;border-bottom:1px solid #f1f4f7;vertical-align:middle}td b{color:#293e56;font-size:12px}tr:last-child td{border-bottom:0}.muted-cell{display:block;color:#a1aab4;font-size:11px;margin-top:4px}.tag{display:inline-block;background:#f0f4f8;color:#657c90;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap}.textlink{color:#1e9380;font-weight:800;border:0;background:transparent;padding:0;font-size:12px;white-space:nowrap}.textlink:hover{text-decoration:underline}.danger-link{color:#c3555c}.form-panel{max-width:880px;padding:29px 30px}.form-panel h2{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid label,.form-stack label,.compact-form label{font-size:12px;font-weight:750;color:#526a7f;display:flex;flex-direction:column;gap:7px}.form-grid label span{color:#d45b57}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid textarea,.form-grid select,.form-stack input,.compact-form input,.compact-form select,.delete-form input{border:1px solid #dbe5ec;color:#294760;padding:11px 13px;min-height:42px;width:100%;border-radius:8px;background:white;outline:none;font-weight:500}.form-grid textarea{min-height:80px;resize:vertical}.form-grid input::placeholder,.form-grid textarea::placeholder,.form-stack input::placeholder{color:#aebac5}.form-divider{border-top:1px solid #edf1f5;margin:28px 0}.optional{font-size:12px;font-weight:400;color:#9daab5}.form-actions{display:flex;justify-content:flex-end;margin-top:26px}.form-stack{display:flex;flex-direction:column;gap:15px}.form-stack .btn{margin-top:7px}.notice{border-radius:10px;padding:13px 15px;margin-bottom:18px;font-size:13px;line-height:1.55}.notice.error{background:#fff0f0;color:#aa4447;border:1px solid #ffd5d6}.notice.success{background:#e8f7f1;color:#276f54;border:1px solid #ccebdc}.notice.warn{background:#fff6e6;color:#926c2b;border:1px solid #fae5ba}.inside-form{border-top:1px solid #edf1f4;padding-top:19px;margin-top:15px}.compact-form{display:grid;grid-template-columns:1fr 1fr 1.25fr auto;gap:11px;align-items:end}.compact-form .btn{min-height:43px}.inline-form{display:inline}.notes{margin-top:18px;border-radius:9px;background:#f6f9fc;padding:13px}.notes strong{font-size:12px}.notes p{color:#6b8092;font-size:12px;margin:7px 0 0;white-space:normal;overflow-wrap:anywhere}.danger-section{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #f1d9da;background:#fffafb;border-radius:12px;padding:22px;margin-top:23px}.danger-section b{color:#a84b52}.danger-section p{color:#aa8f96;font-size:12px;margin:5px 0 0}.delete-form{display:flex;gap:9px}.delete-form input{max-width:130px}.download-list{display:grid;gap:13px;margin-top:17px}.download-list a{color:#188574;border:1px solid #deeee8;background:#f7fdfa;border-radius:10px;padding:14px;font-weight:750}.empty{padding:32px 12px;color:#8c9cab;text-align:center;font-size:13px}.subtle{color:#96a3b0;font-size:12px}.guest-shell{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at top left,#dff5ed,#f5f7fb 52%)}.auth-card{background:white;width:100%;max-width:455px;padding:40px;border-radius:18px;box-shadow:0 20px 55px #244a6819;border:1px solid #e7eff2}.brand-guest{font-weight:900;letter-spacing:1px;color:#1a756a;margin-bottom:30px}.auth-card h1{font-size:25px}.auth-card p{font-size:13px;color:#7e91a1;margin-bottom:20px}.auth-card code{color:#1b7568;background:#eff7f3;padding:2px 5px;border-radius:4px}.auth-card .form-stack{margin-top:22px}.auth-card .form-stack label{color:#455f72}.auth-card .btn{min-height:45px}@media(max-width:1200px){.content{padding:30px 24px 70px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-number{font-size:22px}.sidebar{width:220px}.brand{gap:7px}.brand strong{font-size:11px}}@media(max-width:850px){.sidebar{display:none}.topbar{height:54px;padding:0 18px;justify-content:space-between}.mobilebrand{display:block;color:#126e65;font-size:12px;letter-spacing:.5px}.mobile-nav{display:flex;background:white;gap:6px;overflow-x:auto;padding:8px 12px 12px;border-bottom:1px solid #e9edf3}.mobile-nav .nav-link{flex-shrink:0;width:auto;font-size:11px;padding:10px 12px;color:#6b7e91}.mobile-nav .nav-link.active{background:#1c8c7b;color:white}.mobile-nav .nav-icon{display:none}.content{padding:24px 16px 60px}.grid-2{grid-template-columns:1fr}}@media(max-width:580px){h1{font-size:23px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px}.page-heading>.btn{width:100%}.stats{gap:9px}.stat{padding:17px 14px}.stat-title{font-size:11px}.stat-number{font-size:18px;margin:8px 0 5px}.stat-hint{font-size:10px}.stat:before{margin-bottom:12px}.panel{padding:18px 15px}.panel-table{padding:0}.form-grid{grid-template-columns:1fr}.form-panel{padding:20px 16px}.compact-form{grid-template-columns:1fr}.delete-form{flex-wrap:wrap;justify-content:stretch}.danger-section{align-items:stretch;flex-direction:column}.delete-form input{max-width:none}.delete-form .btn{flex:1}.auth-card{padding:27px 23px}.focus-metric strong{font-size:24px}.toolbar input{min-width:160px}.toolbar select{flex:1}.topright{font-size:11px;gap:6px}th,td{padding:13px 12px}.panel-heading{gap:10px}.panel-heading h2{font-size:15px}}
tr[hidden]{display:none!important}.stat-number,.focus-metric strong,table td{font-variant-numeric:tabular-nums}
