:root{color-scheme:light;--background:#f5f7fa;--surface:#fff;--ink:#172434;--muted:#556576;--line:#dfe6eb;--accent:#0d6958;--accent-hover:#095647;--green-light:#e5f5ef;--negative:#a23447;--sidebar:#122131;--radius:15px;--sidebar-width:232px}*,:after,:before{box-sizing:border-box}html{min-width:300px}body{margin:0;background:var(--background);color:var(--ink);font-family:Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #4da899;outline-offset:3px}h1,h2,p{margin:0}a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-frame{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;flex-direction:column;padding:28px 15px 18px;background:var(--sidebar)}.brand,.sidebar{display:flex;color:#f4f8fb}.brand{align-items:center;gap:11px;padding:0 10px;text-decoration:none;font-weight:700;font-size:1.125rem;letter-spacing:-.035em}.brand-mark{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:#6cd5b4;color:#13392f}.brand-second{color:#b7cbd8;font-weight:550}.side-nav{display:grid;gap:6px;margin-top:45px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:45px;padding:9px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:#bacbd9;text-align:left;font-size:.91rem;line-height:1.2;font-weight:580;transition:background-color .14s ease,color .14s ease}.nav-item svg{flex:none}.nav-item:hover{background:#203448;color:#fff}.nav-item.active{border-color:#315454;background:#234341;color:#dbfaf0}.nav-item.active svg{color:#81dfc0}.side-footer{display:flex;gap:10px;align-items:center;margin-top:auto;padding:16px 9px 2px;border-top:1px solid #2b3c50;color:#dbe7ef}.local-icon{color:#89c9b9}.side-footer small,.side-footer strong{display:block}.side-footer strong{font-size:.84rem;font-weight:650}.side-footer small{margin-top:4px;color:#9bb0c1;font-size:.77rem}.workspace{min-width:0}.topbar{min-height:72px;padding:11px clamp(22px,3.1vw,49px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:var(--surface)}.topbar-label{font-weight:620;font-size:.93rem;color:#394b5d}.topbar-tools{margin-left:auto;display:flex;align-items:center;gap:10px}.topbar-session{margin:0}.topbar-logout{min-height:38px}@media (max-width:760px){.topbar-logout{width:36px}.topbar-logout>span{display:none}}.period{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:8px;font-size:.86rem;font-weight:620}.period span{min-width:142px;text-align:center;padding:0 8px;white-space:nowrap}.period button{display:grid;place-items:center;width:34px;height:36px;border:0;border-radius:7px;background:transparent;color:var(--muted)}.period button:hover{background:#edf2f5;color:var(--ink)}.currency-control select,.filter-control select{height:38px;max-width:100%;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.875rem;font-weight:620}.main-content{max-width:1460px;margin:0 auto;padding:34px clamp(22px,3.1vw,49px) 56px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px 24px;margin-bottom:25px}.page-title h1{font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.09;letter-spacing:-.055em;font-weight:720}.page-title p{margin-top:8px;color:var(--muted);font-size:.95rem}.page-actions,.start-actions{display:flex;align-items:center;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:8px 14px;border:1px solid transparent;border-radius:8px;white-space:nowrap;font-size:.875rem;line-height:1.2;font-weight:650;transition:background-color .14s ease,border-color .14s ease}.button svg{flex:none}.button.primary{background:var(--accent);color:white;box-shadow:0 1px 2px #0e38231e}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.button.secondary:hover:not(:disabled){background:#f0f5f6;border-color:#cddbdd}.button.text-button{background:transparent;color:var(--accent)}.button.text-button:hover{background:#edf6f3}.button.compact{min-height:35px;padding:6px 10px}.getting-started,.notice-banner{display:flex;align-items:center;gap:14px;padding:14px 17px;border:1px solid #cee7dd;border-radius:10px;background:#eff8f4;color:#194e43}.notice-banner{margin-bottom:18px;justify-content:space-between;font-size:.91rem}.notice-banner.problem{border-color:#f0c6ce;background:#fff1f3;color:#8a293c}.loading-state{color:var(--muted)}.getting-started>div:nth-child(2){flex:1 1;min-width:10rem}.getting-started p{color:#37655b;font-size:.875rem;margin-top:4px}.start-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;color:var(--accent);background:#d9f0e7;border-radius:9px}.toast{position:fixed;z-index:20;bottom:20px;right:20px;max-width:calc(100vw - 40px);padding:12px 18px;background:var(--sidebar);color:white;border-radius:9px;box-shadow:0 6px 22px #0c172640;font-size:.9rem}.content-stack{display:grid;min-width:0;gap:20px}.summary-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:17px}.panel,.stat{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 2px 3px #16344808}.stat{position:relative;padding:17px 20px 18px;overflow:hidden}.stat-heading{display:flex;align-items:center;gap:9px;color:#435465;font-size:.9rem;font-weight:650}.stat-icon{flex:none;display:grid;place-items:center;width:33px;height:33px;border-radius:8px}.movement-icon.income,.stat-icon.income{color:#11694f;background:#e2f4eb}.movement-icon.expense,.stat-icon.expense{color:#a74b54;background:#faeaec}.stat-value{display:block;padding-top:12px;padding-bottom:5px;overflow-wrap:anywhere;font-size:clamp(1.45rem,2.45vw,2.12rem);line-height:1.1;letter-spacing:-.045em;font-weight:730;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stat-caption{color:var(--muted);font-size:.79rem}.hero-stat{isolation:isolate;color:#fff;background:#10483e;border-color:#10483e}.hero-stat:before{position:absolute;z-index:-1;content:"";top:-50px;right:-64px;width:227px;aspect-ratio:1;border-radius:50%;border:1px solid #6dbda247;box-shadow:0 0 0 19px #6dbda21c,0 0 0 40px #6dbda214,0 0 0 62px #6dbda20d;pointer-events:none}.hero-stat .stat-heading{color:#e5fcf4}.hero-icon{color:#dcfff3;background:#377569}.hero-currency{margin-left:auto;color:#ebfcf6;padding:4px 6px;background:#285f54;border:1px solid #477d71;border-radius:5px;font-size:.73rem}.hero-stat .stat-caption{color:#c0dfd7}.analytics-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:17px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:19px 20px 0}.account-head h2,.panel-heading h2{font-size:1.06rem;line-height:1.25;letter-spacing:-.022em;font-weight:700}.account-head p,.panel-heading p{margin-top:5px;color:var(--muted);font-size:.845rem}.chart-legend{display:flex;gap:12px;margin-top:4px;font-size:.79rem;color:var(--muted)}.chart-legend span{display:inline-flex;align-items:center;gap:5px}.category-list i,.chart-legend i{width:9px;height:9px;flex:none;display:inline-block;border-radius:3px}.bar-income,.legend-income{background:#238a74}.bar-expense,.legend-expense{background:#9aace0}.cash-chart{display:grid;grid-template-columns:minmax(27px,auto) minmax(0,1fr);gap:9px;height:150px;margin:22px 20px 39px}.chart-values{display:flex;justify-content:space-between;align-items:flex-end;flex-direction:column;color:#5d6d7c;font-size:.71rem}.chart-values span{transform:translateY(-1px)}.chart-content{position:relative;min-width:0}.chart-rules{position:absolute;inset:6px 0 5px;display:flex;flex-direction:column;justify-content:space-between}.chart-rules i{height:1px;background:#edf1f5}.chart-rules i:last-child{background:#dce4ec}.chart-groups{position:absolute;inset:6px 0 5px;display:flex;justify-content:space-around}.chart-group{display:flex;position:relative;align-items:flex-end;justify-content:center;gap:4px;flex:1 1;min-width:0}.chart-bar{width:min(24%,22px);min-height:0;border-radius:4px 4px 0 0}.chart-day{position:absolute;bottom:-24px;color:var(--muted);font-size:.75rem}.chart-empty{position:absolute;inset:50% 0 auto;transform:translateY(-50%);margin:auto;width:max-content;max-width:100%;padding:6px 9px;border-radius:5px;border:1px solid #edf1f5;color:#526578;background:#fcfdfe;font-size:.79rem;text-align:center}.category-body{display:flex;align-items:center;justify-content:center;gap:14px;min-height:204px;padding:16px 20px 20px}.category-body.category-empty{flex-direction:column;gap:11px}.category-empty p{color:var(--muted);text-align:center;font-size:.85rem}.category-donut{flex:none;width:clamp(77px,8.4vw,115px);place-items:center;background:#eef2f6}.category-donut,.category-donut>div{display:grid;aspect-ratio:1;border-radius:50%}.category-donut>div{width:76%;place-items:center;color:#687a8c;background:var(--surface)}.category-donut strong{color:var(--ink);font-size:1.08rem}.category-list{display:grid;gap:8px;flex:1 1;min-width:0;max-width:230px;padding:0;margin:0;list-style:none;font-size:.765rem}.category-list li{display:flex;justify-content:space-between;align-items:center;gap:8px}.category-list li span{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}.category-list li strong{white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.activity-panel>.panel-heading{min-height:60px;padding-bottom:12px;align-items:center}.activity-panel>.panel-heading .button{min-height:34px;padding:5px 7px}.empty-state{display:flex;min-height:220px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:22px;text-align:center}.activity-panel .empty-state{min-height:164px}.empty-icon{display:grid;place-items:center;width:46px;height:46px;color:#526779;background:#eef3f6;border-radius:12px}.empty-state strong{font-size:1rem}.empty-state p{color:var(--muted);font-size:.88rem;max-width:35ch}.table-scroll{width:100%;overflow-x:auto;border-radius:0 0 var(--radius) var(--radius)}.transaction-table{width:100%;min-width:540px;border-spacing:0;text-align:left;font-size:.88rem}.transaction-table th{padding:10px 14px;background:#f7f9fb;border-top:1px solid #edf1f5;border-bottom:1px solid #e8eef3;color:#526375;font-size:.8rem;font-weight:680}.transaction-table td{padding:12px 14px;border-bottom:1px solid #edf1f5;line-height:1.3}.transaction-table tr:last-child td{border-bottom:0}.transaction-table td:first-child,.transaction-table th:first-child{padding-left:20px}.transaction-table td:last-child,.transaction-table th:last-child{padding-right:20px}.movement-title{display:flex;align-items:center;gap:10px}.movement-title strong{display:block;overflow-wrap:anywhere}.movement-icon{flex:none;display:grid;place-items:center;width:33px;height:33px;border-radius:8px}.movement-icon.transfer{color:#5666a2;background:#edf0fa}.transaction-table small{display:block;margin-top:3px;color:var(--muted);font-size:.76rem}.transaction-table .amount-column{text-align:right;white-space:nowrap}.transaction-table .edit-column{width:45px;padding-left:3px;text-align:right}.date-column{white-space:nowrap}.positive-text{color:#126047}.negative-text{color:var(--negative)}.muted-text{color:var(--muted)}.icon-button{flex:none;display:grid;place-items:center;width:33px;height:33px;padding:0;background:transparent;border:1px solid transparent;border-radius:8px;color:#526779}.icon-button:hover{background:#eff4f6;color:var(--ink);border-color:#e5ecef}.filter-bar{display:flex;flex-wrap:wrap;padding:15px 18px;gap:9px}.filter-end{margin-left:auto}.search-control{display:flex;align-items:center;gap:8px;min-width:min(100%,210px);flex:1 1 210px;max-width:370px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.search-control:focus-within{border-color:var(--accent)}.search-control input{width:100%;min-width:0;border:0;outline:none;color:var(--ink);font-size:.875rem;background:transparent}.search-control input:focus-visible{outline:none}.filter-control{max-width:min(100%,190px)}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.account-card{padding:19px}.account-head{display:flex;align-items:center;gap:10px}.account-head>div{min-width:0;overflow-wrap:anywhere}.account-head .icon-button{margin-left:auto}.account-icon{display:grid;place-items:center;width:41px;height:41px;flex:none;border-radius:9px;color:var(--account-color,var(--accent));background:color-mix(in srgb,var(--account-color,#18816c) 12%,white)}.account-balance{margin-top:20px}.account-balance span{color:var(--muted);font-size:.86rem}.account-balance strong{display:block;margin-top:4px;font-size:1.55rem;letter-spacing:-.045em;overflow-wrap:anywhere}.budget-values{display:flex;gap:4px 7px;align-items:baseline;flex-wrap:wrap;margin:18px 0 5px}.budget-values strong{font-size:1.22rem}.budget-card>span,.budget-values span{font-size:.845rem}.budget-card progress{appearance:none;display:block;width:100%;height:8px;margin-bottom:6px;border:0;border-radius:99px;overflow:hidden;background:#ebf2f1;accent-color:var(--accent)}.budget-card progress::-webkit-progress-bar{background:#ebf2f1}.budget-card progress::-webkit-progress-value{background:var(--accent);border-radius:99px}.budget-card progress::-moz-progress-bar{background:var(--accent);border-radius:99px}.budget-card progress.over-budget::-webkit-progress-value{background:var(--negative)}.budget-card progress.over-budget::-moz-progress-bar{background:var(--negative)}.bill-list{padding:0 20px}.bill-row{display:flex;align-items:center;min-height:67px;gap:10px;border-top:1px solid #e8eef3;padding:11px 0}.bill-info{flex:1 1;min-width:0;overflow-wrap:anywhere}.bill-amount strong,.bill-info strong{display:block}.bill-amount span,.bill-info span{display:block;margin-top:4px;color:var(--muted);font-size:.8rem}.bill-amount{flex:none;text-align:right}.bill-actions{display:flex;gap:3px;align-items:center}@media (max-width:1140px){:root{--sidebar-width:199px}.category-body{gap:10px;padding-left:14px;padding-right:14px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){:root{--sidebar-width:65px}.sidebar{padding:22px 8px 15px;align-items:center}.brand{padding:0}.brand>span:nth-child(2),.side-footer>span:nth-child(2){display:none}.side-nav{width:100%;margin-top:30px}.side-nav .nav-item{padding:0;justify-content:center}.side-nav .nav-item>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.side-footer{width:100%;justify-content:center}}@media (min-width:681px) and (max-width:820px){.stat{padding-left:13px;padding-right:13px}.stat-value{font-size:clamp(1.15rem,2.55vw,1.35rem)}.analytics-grid{grid-template-columns:1.45fr 1fr}.category-body:not(.category-empty){flex-direction:column;gap:12px}.category-list{width:100%;max-width:none}}@media (max-width:680px){.app-frame,.sidebar{display:block}.sidebar{position:static;height:auto;padding:13px 9px 8px}.brand{padding:0 5px}.brand>span:nth-child(2){display:block}.brand-mark{width:31px;height:31px;border-radius:8px}.brand-mark svg{width:17px}.side-nav{display:flex;overflow-x:auto;margin-top:11px;gap:3px;padding:2px 2px 3px}.side-nav .nav-item{padding:7px 9px;width:auto;min-height:34px;gap:6px;text-align:center;font-size:.81rem;white-space:nowrap}.side-nav .nav-item svg{width:15px;height:15px}.side-nav .nav-item>span{position:static;width:auto;height:auto;overflow:visible;clip:auto}.side-footer{display:none}.topbar{min-height:59px;padding:8px 13px}.topbar-label{font-size:.8rem}.topbar-tools{gap:6px}.period span{min-width:110px;padding:0 3px;font-size:.78rem}.period button{width:27px}.currency-control select{padding:0 4px}.main-content{padding:23px 13px 32px}.page-title{gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}.page-title p{font-size:.84rem}.page-title h1{font-size:1.95rem}.page-actions{flex-wrap:wrap;gap:7px}.button{min-height:37px;padding:7px 10px;font-size:.81rem;gap:5px}.content-stack{gap:13px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero-stat{grid-column:1/-1}.stat{padding:13px}.stat-heading{font-size:.8rem;gap:6px}.stat-icon{width:27px;height:27px}.stat-icon svg{width:16px}.stat-value{font-size:clamp(1.18rem,5vw,1.55rem)}.hero-stat .stat-value{font-size:1.8rem}.stat-caption{font-size:.74rem}.account-grid,.analytics-grid{grid-template-columns:1fr;gap:11px}.getting-started{flex-wrap:wrap;gap:9px;padding:12px}.start-actions{margin-left:auto;gap:4px}.getting-started p{font-size:.8rem}.category-body{min-height:148px}.panel-heading{padding-left:13px;padding-right:13px}.chart-legend{gap:5px;font-size:.72rem}.cash-chart{margin-left:13px;margin-right:13px}.bill-list{padding:0 12px}.bill-row{flex-wrap:wrap}.bill-actions{margin-left:auto}}@media (max-width:390px){.topbar-label{display:none}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important}}