:root{--red:#ec0000;--ink:var(--text-primary);--muted:var(--text-muted);--line:#ededf0;--bg:#fafafa;--green:#21896c}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffa5a5;outline-offset:3px}aside{width:238px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:33px 22px;display:flex;flex-direction:column;z-index:20}.brand{text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-size:34px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:10px}.brand-dot{color:var(--red);margin-left:-10px}.logo{display:inline-grid;place-items:center;background:var(--red);color:white;width:35px;height:38px;border-radius:11px 11px 11px 3px;font-size:31px;font-style:italic;line-height:1;letter-spacing:-4px;padding-right:5px}.workspace{margin:34px 0 34px;display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px 10px}.workspace b{font-size:12px}.workspace small,.profile-link small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.avatar{width:34px;height:34px;border:0;border-radius:50%;background:#f3eeee;color:#8d5656;display:inline-grid;place-items:center;font-weight:600;object-fit:cover;background-size:cover;background-position:center}.chevron{margin-left:auto;color:var(--muted)}.nav-label{font-size:9px;letter-spacing:1.7px;color:var(--text-muted);padding:0 14px;margin-bottom:14px}nav{display:grid;gap:6px}nav button{border:0;background:none;text-align:left;display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:9px;color:var(--text-secondary);font-weight:500}nav button svg{width:19px;height:19px}nav button.active{background:#fff0f0;color:var(--red)}nav button.active:after{content:'';width:5px;height:5px;border-radius:50%;background:var(--red);margin-left:auto}.sidebar-bottom{margin-top:auto}.note{padding:19px 13px 23px}.note>span{font-size:25px;color:var(--red);display:block;margin-bottom:12px}.note b{font-size:12px}.note p{font-size:11px;line-height:1.9;color:var(--muted)}.profile-link{border:0;border-top:1px solid var(--line);padding:22px 0 0;background:none;width:100%;display:flex;align-items:center;gap:10px;text-align:left}.profile-link>span:last-child{margin-left:auto}.shell{margin-left:238px}header{height:85px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:12px;color:var(--text-muted)}.breadcrumb span{padding:0 16px;color:var(--text-muted)}.breadcrumb b{font-weight:500;color:var(--text-secondary)}.header-right{display:flex;gap:24px;align-items:center}.local-status{font-size:11px;color:var(--text-secondary)}.local-status i{display:inline-block;background:#4aaf8a;width:5px;height:5px;border-radius:50%;margin-right:7px}.icon-button{border:0;background:none;color:var(--text-secondary);padding:7px;font-size:18px}#menu{display:none}main{max-width:1510px;margin:auto;padding:39px 42px 30px;min-height:calc(100vh - 144px)}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:var(--red);font-weight:650}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}h1{font:750 30px Manrope,sans-serif;letter-spacing:-1.2px;margin:9px 0}h1 span{font-weight:400;color:var(--text-muted)}p.subtitle{color:var(--muted);font-size:12px;margin:9px 0 0}.primary,.secondary{border:0;padding:11px 11px 11px 18px;border-radius:99px;display:inline-flex;gap:24px;align-items:center;font-weight:550;font-size:12px;transition:transform .2s,box-shadow .2s}.primary{background:var(--red);color:#fff;box-shadow:0 5px 12px #ec000019}.primary span,.secondary span{background:#ffffff25;border-radius:50%;width:27px;height:27px;display:inline-grid;place-items:center;font-size:18px;transition:transform .2s}.primary:hover{transform:translateY(-2px);box-shadow:0 7px 18px #ec000030}.primary:hover span{transform:rotate(-40deg)}.secondary{background:#fff;border:1px solid var(--line);color:var(--text-secondary)}.secondary:hover{transform:translateY(-2px)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px;flex-wrap:wrap}.segmented{display:inline-flex;background:#f0f0f2;padding:4px;border-radius:9px;gap:3px}.segmented button{border:0;background:transparent;color:var(--text-muted);border-radius:6px;padding:9px 17px;font-size:11px}.segmented .selected{background:#fff;box-shadow:0 2px 5px #00000006;color:var(--ink)}.filters{display:flex;gap:8px;flex-wrap:wrap}select,input{border:1px solid #e8e8ed;background:white;border-radius:8px;padding:10px 12px;color:var(--text-secondary);outline:none;font-size:12px}input:focus,select:focus{border-color:#ec7777}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;min-height:154px}.stat.featured{background:#28272c;color:#fff;border-color:#28272c;position:relative;overflow:hidden}.featured:after{content:'n';position:absolute;right:5px;bottom:-50px;font-size:200px;font-weight:bold;color:#ffffff04;font-style:italic}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--text-secondary)}.featured .stat-top{color:var(--text-muted)}.stat-icon{width:29px;height:29px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:16px}.featured .stat-icon{border-color:#ffffff25}.stat-value{font:700 25px Manrope,sans-serif;letter-spacing:-.8px;margin:18px 0 10px}.stat small{font-size:10px;color:var(--text-muted)}.stat small.green{color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:25px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel h2{font:700 14px Manrope,sans-serif;letter-spacing:-.3px;margin:0}.panel .muted{font-size:10px;color:var(--text-muted);margin-top:7px}.text-button{border:0;background:none;font-size:11px;color:var(--text-muted);padding:0}.text-button:hover{color:var(--red)}.chart{height:230px;margin-top:28px;position:relative;display:flex}.chart-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:var(--text-muted);padding-bottom:23px;width:48px}.plot{position:relative;flex:1;margin-bottom:23px;background:repeating-linear-gradient(to top,#eeeef2 0,#eeeef2 1px,transparent 1px,transparent 25%)}.plot svg{width:100%;height:100%;overflow:visible}.months{position:absolute;bottom:-23px;left:0;right:0;display:flex;justify-content:space-between;color:var(--text-muted);font-size:9px}.chart-empty{position:absolute;inset:30% 0 auto;text-align:center;color:var(--text-muted);font-size:11px;pointer-events:none}.chart-empty b{display:block;color:var(--text-secondary);font-weight:500;margin-bottom:7px}.legend{display:flex;gap:22px;font-size:10px;color:var(--text-muted);margin-top:22px}.legend i{width:6px;height:6px;display:inline-block;background:#3b9e80;border-radius:50%;margin-right:7px}.legend i.red{background:var(--red)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:254px;text-align:center}.empty-icon{width:48px;height:48px;display:grid;place-items:center;background:#faf6f6;border:1px solid #f3eaea;border-radius:15px;color:#d78d8d;font-size:22px;margin-bottom:17px}.empty b{font-weight:500;font-size:12px}.empty p{font-size:11px;color:var(--text-muted);line-height:1.8;max-width:235px;margin:9px 0 16px}.empty button{font-size:11px;border:0;background:none;color:var(--red)}.bottom-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;margin-top:22px}.bottom-grid .empty{min-height:160px}.bottom-grid .empty-icon{width:33px;height:33px;font-size:17px;margin:0 0 10px}.progress{height:5px;border-radius:9px;background:#f1f1f4;margin:17px 0 10px;overflow:hidden}.progress>i{height:100%;display:block;background:var(--red);border-radius:9px;transition:width .7s}.panel-link{border-top:1px solid var(--line);padding-top:17px;display:flex;justify-content:space-between;color:var(--text-secondary);font-size:10px;margin-top:12px;cursor:pointer}.panel-link span:last-child{color:var(--red)}footer{display:flex;justify-content:space-between;padding:18px 42px 25px;font-size:9px;color:var(--text-muted)}footer strong{color:var(--text-secondary);font-size:13px;margin-right:9px}dialog{border:1px solid var(--line);border-radius:20px;padding:26px;width:480px;max-width:calc(100vw - 30px);box-shadow:0 30px 100px #0002}dialog::backdrop{background:#21212666;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h2{font:700 20px Manrope,sans-serif}form{display:grid;gap:13px}label{display:grid;gap:7px;font-size:11px;color:var(--text-secondary)}form input,form select{width:100%;padding:12px}form .primary{justify-content:space-between;margin-top:10px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.list-row{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px}.list-row:last-child{border-bottom:0}.list-row small{display:block;color:var(--text-muted);margin-top:5px;font-size:10px}.list-row .amount{margin-left:auto;font-weight:600;white-space:nowrap}.income{color:var(--green)}.expense{color:var(--red)}.delete{border:0;background:none;color:var(--text-muted);cursor:pointer}.pill{padding:5px 9px;border-radius:99px;background:#f6f6f8;font-size:9px;color:var(--text-muted)}.settings{max-width:800px;margin:auto}.settings .panel{margin-bottom:20px}.profile-hero{display:flex;gap:20px;align-items:center;padding:15px 0 25px}.profile-hero .avatar{width:68px;height:68px;font-size:25px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.setting-line{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);font-size:12px}.danger{color:var(--red)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#28272c;color:white;padding:14px 22px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.25s;z-index:100}#toast.show{opacity:1;transform:translate(-50%,0)}main{animation:enter .35s ease}svg path.line{stroke-dasharray:1500;stroke-dashoffset:1500;animation:draw 1.5s forwards}@keyframes draw{to{stroke-dashoffset:0}}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.wide-empty{min-height:380px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;color:var(--text-muted);font-weight:500;padding:17px 12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid var(--line)}.budget-input{width:120px}.card-value{font:700 24px Manrope;margin:22px 0}.row-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.help{font-size:11px;color:var(--text-muted);line-height:1.8}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category{border:1px solid var(--line);border-radius:10px;padding:16px;font-size:12px}.category small{display:block;color:var(--text-muted);margin-top:7px}.upload{font-size:11px;color:var(--red);cursor:pointer}.profile-link b{font-size:12px}@media(min-width:1600px){main{padding-top:45px}.chart{height:285px}.empty{min-height:309px}}@media(max-width:1150px){aside{width:205px;padding:30px 15px}.shell{margin-left:205px}main{padding:30px 25px}header{padding:0 25px}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:21px}.dashboard-grid{grid-template-columns:1.4fr 1fr}.bottom-grid{gap:12px}.panel{padding:20px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){aside{transform:translateX(-100%);transition:.2s;box-shadow:5px 0 30px #0001}aside.open{transform:translateX(0)}.shell{margin:0}#menu{display:block}header{height:65px;padding:0 20px}.breadcrumb{margin-right:auto;margin-left:10px}.local-status{display:none}.header-right{gap:13px}main{padding:25px 20px}.page-head{align-items:flex-start}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.bottom-grid{gap:16px}.bottom-grid .empty{min-height:140px}.cards,.category-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.page-head .primary{gap:9px;white-space:nowrap;padding-left:12px}.toolbar{align-items:flex-start}.filters select{max-width:145px}footer{padding:20px;gap:20px}.stat-value{font-size:23px}footer>span:last-child{display:none}}@media (prefers-reduced-motion:reduce) and (max-width:800px){*,*:before,*:after{animation:none!important;transition:none!important}}

@font-face{font-family:Gotham;src:url('../fonts/GothamBook.ttf') format('truetype');font-weight:100 400;font-style:normal;font-display:swap}
@font-face{font-family:Gotham;src:url('../fonts/GothamMedium.ttf') format('truetype');font-weight:450 650;font-style:normal;font-display:swap}
@font-face{font-family:Gotham;src:url('../fonts/GothamBold.ttf') format('truetype');font-weight:700 900;font-style:normal;font-display:swap}
body,button,input,select,textarea,h1,h2,.brand,.stat-value,.card-value{font-family:Gotham,Arial,Helvetica,sans-serif!important}
.summary-stats{align-items:start;gap:22px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:16px;min-height:218px;padding:29px 28px 20px;box-shadow:0 2px 3px #16162704;transition:box-shadow .2s,transform .2s}.summary-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #16162707}.summary-top{display:flex;align-items:center;gap:12px;min-width:0;font-size:12px;font-weight:500;color:var(--text-secondary)}.summary-icon{display:grid;place-items:center;width:58px;height:58px;flex:0 0 58px;border-radius:11px}.summary-icon svg{width:29px;height:29px}.summary-icon.balance{background:#ffe5e5;color:#ec0000}.summary-icon.income{background:#dcfce7;color:#0aaa4d}.summary-icon.expense{background:#ffe1e3;color:#ed2029}.summary-icon.planned{background:#f2e7ff;color:#9839fa}.summary-value{font-size:27px;letter-spacing:-.7px;font-weight:700;margin-top:24px;color:var(--text-primary);white-space:nowrap}.summary-details summary{list-style:none;cursor:pointer;text-align:center;color:var(--text-secondary);margin:9px auto 0;width:32px;height:28px;display:grid;place-items:center;border-radius:50%}.summary-details summary::-webkit-details-marker{display:none}.summary-details summary:hover{background:#f8f8fa;color:var(--red)}.summary-details summary svg{width:22px;height:22px;transition:transform .2s}.summary-details[open] summary svg{transform:rotate(180deg)}.summary-details p{font-size:10px;color:var(--text-muted);line-height:1.7;margin:10px 0 0}.summary-top strong{margin-left:auto;color:var(--text-primary);font-size:12px;white-space:nowrap}.summary-planned .summary-top{gap:11px}.summary-track{height:9px;background:#f3f3f5;border-radius:99px;margin-top:20px;overflow:hidden}.summary-track i{display:block;height:100%;background:#9839fa;border-radius:99px;transition:width .7s}.summary-budget{display:flex;justify-content:space-between;margin-top:12px;font-size:10px}.summary-budget>div{display:grid;gap:5px}.summary-budget>div:last-child{text-align:right}.summary-budget span{color:var(--text-muted)}.summary-budget b{color:var(--text-secondary);font-weight:500;font-size:10px}
@media(max-width:1350px) and (min-width:801px){.summary-stats{gap:12px}.summary-card{padding:22px 16px 18px}.summary-top{gap:9px;font-size:11px}.summary-icon{width:43px;height:43px;flex-basis:43px}.summary-icon svg{width:25px;height:25px}.summary-value{font-size:24px}.summary-planned .summary-top{flex-wrap:wrap}.summary-top strong{font-size:11px}}
@media(max-width:800px){.summary-stats{gap:12px}.summary-card{min-height:192px;padding:20px 15px 15px}.summary-icon{width:42px;height:42px;flex-basis:42px}.summary-icon svg{width:25px;height:25px}.summary-top{gap:9px;font-size:10px}.summary-value{font-size:23px;margin-top:23px}.summary-planned .summary-top{flex-wrap:wrap}.summary-top strong{font-size:11px}.summary-budget b{font-size:9px}}
