@font-face{font-family:Manrope;src:url('/static/vendor/manrope-cyrillic.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('/static/vendor/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
:root{--bg:#f7f8f5;--surface:#fff;--ink:#243c33;--muted:#748179;--green:#117665;--green-dark:#0c6152;--border:#e5eae3;--pale:#edf4ee;--red:#b94343;font-family:Manrope,'Segoe UI',sans-serif;font-size:14px;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}svg{width:21px;height:21px;flex-shrink:0}button svg,a svg{vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.22;font-weight:750;letter-spacing:-1.25px;margin-bottom:12px}h2{font-size:18px;letter-spacing:-.45px;margin-bottom:8px}h3{font-size:18px}p{line-height:1.7}strong,b{font-weight:700}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #81bcad;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px #11766512}::selection{background:#c5e6d8}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-60px;left:20px;z-index:99;background:var(--green);color:#fff;padding:12px}.skip-link:focus{top:12px}
.brand{display:inline-flex;align-items:center;font-weight:800;font-size:30px;letter-spacing:-1.5px;line-height:1;gap:9px}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;border-radius:11px;width:37px;height:37px;margin-right:2px}.brand-mark svg{width:28px;height:28px}.brand-dot{color:#d79462;margin-left:-8px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--green);margin-bottom:15px}.subtitle{color:var(--muted);font-size:14px;margin:0;line-height:1.7}.heading-dot{color:var(--green)}
.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--border);padding:38px 22px 20px;display:flex;flex-direction:column}.sidebar .brand{margin-left:8px;margin-bottom:52px}.workspace-label{font-size:9px;letter-spacing:1.65px;font-weight:700;color:#97a19b;margin:0 14px 15px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:8px;color:#718078;font-size:12px;font-weight:600;transition:background .15s,color .15s}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#f4f7f3;color:var(--green)}.nav-item.active{background:#eaf3eb;color:var(--green);font-weight:800}.sidebar-note{background:#f5f6ee;border:1px solid #edf0e6;border-radius:10px;margin:42px 4px 24px;padding:21px 17px}.note-spark{display:block;color:#b19560;font-size:26px;margin-bottom:12px}.sidebar-note strong{display:block;font-size:12px;line-height:1.7}.sidebar-note p{color:#869084;font-size:10px;line-height:1.85;margin:9px 0 0}.sidebar-bottom{margin-top:auto}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--border);margin-top:20px;padding-top:22px}.avatar{width:32px;height:32px;background:#efece2;border:1px solid #e8e2d2;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:12px;flex-shrink:0}.profile-text{min-width:0;flex:1}.profile-text strong{display:block;font-size:10px;margin-bottom:3px}.profile-text>span{display:block;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:var(--muted)}.profile .icon-button{width:25px}.profile .icon-button svg{width:17px}.main-shell{min-width:0;display:flex;flex-direction:column}.topbar{height:78px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 44px;color:#8b968e;font-size:11px}.private-badge{display:flex;align-items:center;gap:8px;font-size:10px}.private-badge>span{width:6px;height:6px;background:#76a28a;border-radius:50%}.main-content{width:100%;max-width:1510px;padding:39px 44px 25px;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading .eyebrow{font-size:9px;margin-bottom:11px}.page-heading h1{font-size:31px;margin-bottom:8px}.page-heading .button{margin-top:13px}.button{border:1px solid transparent;border-radius:7px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:700;min-height:43px;white-space:nowrap;line-height:1.4;transition:background .15s,box-shadow .15s}.button svg{width:17px;height:17px}.primary{background:var(--green);color:#fff;box-shadow:0 3px 5px #0a524312}.primary:hover{background:var(--green-dark);box-shadow:0 4px 10px #0a52431c}.secondary{background:#fff;border-color:#dde4dc;color:#4d6156}.secondary:hover{background:#f2f6f0;border-color:#bbcec1}.small{min-height:35px;padding:8px 12px;font-size:10px}.full{width:100%}.danger{background:#b94343;color:white}.danger:hover{background:#a33232}.text-link{color:var(--green);font-size:12px;font-weight:650}.back-link{display:inline-block;color:var(--muted);font-size:12px;margin:2px 0 28px}.back-link:hover{color:var(--green)}
.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:30px}.summary-card{padding:22px 24px;background:#fff;border:1px solid var(--border);border-radius:11px;min-width:0}.summary-card.featured{background:#eff5ed;border-color:#dfe8d9}.summary-label{font-size:11px;color:#708270;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px}.summary-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f2f5ef;color:#88a088}.featured .summary-icon{background:#e1ecd9}.summary-icon svg{width:16px;height:16px}.summary-value{font-size:clamp(21px,2vw,32px);font-weight:750;letter-spacing:-1.1px;margin:14px 0 9px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.summary-value>span{font-size:.68em;font-weight:500;color:#94a38f}.summary-hint{color:#8b978a;font-size:9px}.small-chip{font-size:9px;background:#f3f5f1;border-radius:5px;padding:5px 7px;color:#85907f;white-space:nowrap}
.panel{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-title{padding:25px 25px 21px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-title h2{font-size:16px;margin-bottom:6px;display:flex;align-items:center;gap:10px}.panel-title p{font-size:10px;color:#8d988e;margin:0}.count-pill{font-size:9px;letter-spacing:0;font-weight:600;border-radius:5px;background:#f0f3ed;color:#81927b;padding:4px 6px}.filter-form{display:flex;align-items:flex-end;gap:12px;padding:0 25px 22px;border-bottom:1px solid var(--border)}.filter-form>.field{flex:1}.filter-form>.field:first-child{flex:1.4}.filter-form input,.filter-form select{height:39px;font-size:11px;padding:9px 11px}.filter-form .button{min-height:39px;padding:10px 15px;font-size:11px}.filter-form label{font-size:9px;color:#869282;font-weight:600;margin-bottom:7px}.reset-link{padding-bottom:11px;font-size:10px}.field{display:flex;flex-direction:column;gap:0;min-width:0}.field label{display:block;margin-bottom:9px;font-size:12px;font-weight:650}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5dd;background:#fff;color:var(--ink);border-radius:7px;padding:12px 13px;min-width:0;transition:box-shadow .15s}.field input::placeholder,.field textarea::placeholder{color:#a9b0a5;font-weight:400}.field select{cursor:pointer}.field textarea{resize:vertical;line-height:1.6}.field [aria-invalid=true]{border-color:#d1887e;background:#fffcfa}.field-hint{font-size:10px;color:#91a08f;line-height:1.8;margin-top:7px}.field-error{font-size:11px;line-height:1.65;color:var(--red);margin-top:7px}.required{color:#9cb498}.table-scroll{position:relative;overflow-x:auto}.expense-table{width:100%;border-collapse:collapse;font-size:11px}.expense-table th{background:#fafbf8;color:#8c9988;text-align:left;font-size:9px;font-weight:600;padding:14px 12px;white-space:nowrap}.expense-table td{padding:16px 12px;border-top:1px solid #f0f2ec;vertical-align:middle}.expense-table th:first-child,.expense-table td:first-child{padding-left:25px;width:43%}.expense-table th:last-child,.expense-table td:last-child{padding-right:21px;width:75px}.expense-table tr:hover td{background:#fdfefa}.expense-name{display:flex;align-items:center;gap:11px;font-weight:650;line-height:1.7;min-width:185px}.expense-name>span:last-child{overflow-wrap:anywhere}.category-icon{width:33px;height:33px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;font-size:13px;font-weight:700}.category-tag{padding:5px 8px;border-radius:5px;font-size:9px;white-space:nowrap}.cat-1{background:#fcf1df;color:#b58235}.cat-2{background:#eaf2fa;color:#5e8db3}.cat-3{background:#f0eaf7;color:#9d79b6}.cat-4{background:#faeaf0;color:#bd6c86}.cat-5{background:#e9f4ec;color:#63977a}.cat-6{background:#eceefb;color:#7d89bc}.cat-7{background:#f7f1de;color:#a38a42}.cat-8{background:#eff1f1;color:#82908c}.date-cell{white-space:nowrap;color:#869281;font-size:10px}.expense-table .amount-cell{text-align:right;white-space:nowrap}.expense-table td.amount-cell{font-weight:750;font-size:12px;letter-spacing:-.2px;font-variant-numeric:tabular-nums}.amount-cell>span{color:#8e9a88;font-weight:450}.row-actions{display:flex;align-items:center;gap:2px;justify-content:flex-end}.icon-button{display:inline-grid;place-items:center;width:29px;height:31px;border:0;background:transparent;color:#9eaa99;border-radius:5px}.icon-button svg{width:14px;height:14px}.icon-button:hover{background:#edf5e8;color:var(--green)}.danger-icon:hover{background:#fff0eb;color:#b65343}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 25px;border-top:1px solid var(--border);font-size:9px;color:#8d9a86}.pagination{display:flex;align-items:center;gap:12px}.pagination .button{min-height:27px;padding:5px 9px}.bottom-tip{display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:#96a08e;margin-top:25px}.bottom-tip>span{color:#baa474;font-size:18px}.app-footer{padding:24px 44px;border-top:1px solid var(--border);font-size:9px;color:#a1aa99;display:flex;justify-content:space-between;gap:15px}.empty-state{text-align:center;padding:56px 24px 60px}.empty-icon{width:62px;height:62px;display:grid;place-items:center;background:#edf4e8;border-radius:18px;color:#7b9f74;margin:0 auto 22px}.empty-icon svg{width:30px;height:30px}.empty-state h3{font-size:18px;margin-bottom:10px}.empty-state p{font-size:12px;color:#8a9983;margin-bottom:22px}.alert{border-radius:7px;padding:13px 16px;margin-bottom:22px;font-size:12px;line-height:1.7}.alert.success{color:#287750;background:#e9f4e9;border:1px solid #cfe5cf}.alert.error{color:#a24e41;background:#fff4ef;border:1px solid #efdbd1}.panel-alert{margin:20px 25px}
.form-layout{display:grid;grid-template-columns:minmax(0,660px) 220px;gap:36px;align-items:start}.form-panel{padding:32px}.stack-form{display:flex;flex-direction:column;gap:24px}.stack-form .alert{margin:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.amount-input{position:relative}.amount-input input{font-size:30px;font-weight:600;letter-spacing:-1px;padding:15px 52px 15px 17px;background:#fafcf8}.amount-input>span{position:absolute;right:19px;top:20px;font-size:25px;color:#94a68b}.form-actions{display:flex;align-items:center;gap:12px;border-top:1px solid var(--border);padding-top:24px;margin-top:4px}.form-note{padding:24px 8px}.form-note h3{font-size:19px;line-height:1.5}.form-note p{font-size:12px;color:#8c9785}.form-note hr{border:0;border-top:1px solid #e0e7d9;margin:25px 0}.confirmation{max-width:550px;margin:25px auto 60px;padding:40px;text-align:center}.confirmation h1{font-size:27px}.delete-icon{background:#fcf0e8;color:#b87e61}.delete-details{display:flex;flex-direction:column;gap:8px;background:#f8f9f5;padding:24px;border-radius:8px;margin:26px 0;overflow-wrap:anywhere}.delete-details>span{font-size:12px;color:var(--muted)}.delete-details b{font-size:25px;margin-top:8px}.confirmation .form-actions{justify-content:center}
.stats-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:23px;align-items:start}.chart-panel .panel-title{align-items:flex-start}.chart-label{font-size:8px;letter-spacing:1px;color:#9ba78f;background:#f5f7f0;border-radius:4px;padding:6px;margin-top:2px}.stats-filter{flex-wrap:wrap}.stats-filter>.field:first-child{flex:1}.stats-filter>.field{min-width:105px}.stats-filter .year-field{flex:none;width:110px}.chart-status{margin:30px 26px;color:#8a9882;font-size:12px;text-align:center;min-height:180px;display:flex;align-items:center;justify-content:center;line-height:1.8}.chart-status.error-text{color:var(--red)}.donut-area{padding:30px 20px 10px}.donut-wrap{width:250px;height:250px;position:relative;margin:auto}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.donut-center>span{font-size:10px;color:#929e89;margin-bottom:9px}.donut-center strong{font-size:20px;letter-spacing:-.8px}.category-legend{padding:14px 25px 25px}.legend-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f2ec;font-size:11px}.legend-row:last-child{border-bottom:0}.legend-row strong{margin-left:auto;font-variant-numeric:tabular-nums}.legend-percent{font-size:10px;color:#96a08e;min-width:30px;text-align:right}.bar-area{height:322px;padding:30px 20px 20px}.year-summary{margin:8px 25px 20px;padding:18px 0;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.year-summary strong{font-size:18px;color:var(--ink)}.stats-data{margin:0 25px 25px;font-size:11px;color:var(--muted)}.stats-data summary{cursor:pointer}.stats-data table{width:100%;border-collapse:collapse;margin-top:15px}.stats-data th,.stats-data td{text-align:left;padding:8px;border-bottom:1px solid var(--border)}.stats-data td:last-child,.stats-data th:last-child{text-align:right}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-story{position:relative;background:#eaf0e4;padding:49px 65px 31px;display:flex;flex-direction:column;overflow:hidden}.auth-story .brand{font-size:32px}.story-body{margin:auto 0;padding:65px 0 28px}.story-body h1{font-size:clamp(39px,3.6vw,57px);letter-spacing:-2.3px;line-height:1.12;margin-bottom:23px}.story-body>.eyebrow{display:block;color:#7a9073;font-size:9px;letter-spacing:2px;margin-bottom:22px}.story-body>p{max-width:390px;font-size:13px;line-height:1.9;color:#819079;margin-bottom:26px}.story-footer{font-size:9px;color:#97a38d}.illustration{position:relative;height:245px;max-width:390px;margin-top:34px}.illustration-card{position:absolute;top:5px;left:15px;width:300px;background:#fff;border:1px solid #dee5d5;padding:25px 24px 17px;border-radius:13px;transform:rotate(-5deg);box-shadow:0 20px 40px #475f3210;z-index:1}.mini-label{font-size:7px;letter-spacing:1.5px;color:#a3ad96;font-weight:750}.illustration-title{font-size:12px;font-weight:750;margin-top:10px;display:flex;justify-content:space-between}.illustration-title>span{color:#6a8d65}.sample-bars{display:flex;gap:12px;height:92px;align-items:flex-end;margin-top:17px;border-bottom:1px solid #e8ecdf}.sample-bars i{flex:1;height:55%;border-radius:4px 4px 0 0;background:#c7d6b8}.sample-bars i:nth-child(2){height:75%;background:#adc499}.sample-bars i:nth-child(3){height:37%}.sample-bars i:nth-child(4){height:92%;background:#65976b}.sample-bars i:nth-child(5){height:64%;background:#aec69b}.sample-bars i:nth-child(6){height:43%}.sample-bars i:nth-child(7){height:82%;background:#207960}.mini-axis{display:flex;justify-content:space-between;margin-top:9px;font-size:6px;color:#a4ae96}.float-tag{position:absolute;bottom:11px;right:0;background:#fffdf7;border:1px solid #e6e6d5;box-shadow:0 7px 20px #4e56300b;border-radius:8px;padding:14px 17px;font-size:9px;font-weight:650;transform:rotate(4deg);z-index:2}.float-tag span{color:#32775b;background:#e9f3e2;display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;margin-right:8px;font-size:12px}.orbit{position:absolute;border:1px solid #d7dfcb;border-radius:50%;width:245px;height:245px;right:-12px;top:-9px}.orbit-two{width:285px;height:285px;right:-31px;top:-30px}.deco-spark{position:absolute;top:-30px;right:22px;color:#c5a778;font-size:53px;transform:rotate(-13deg)}.story-benefits{display:flex;flex-wrap:wrap;gap:9px 16px;font-size:8px;color:#8b997e;margin-top:30px}.story-benefits span::before{content:'✓';margin-right:6px;color:#709a62}.auth-form-side{display:flex;flex-direction:column;background:#fff;padding:44px 65px 30px}.auth-top{text-align:right;font-size:10px;color:#94a088}.auth-form-wrap{width:100%;max-width:365px;margin:auto;padding:65px 0}.auth-form-wrap .eyebrow{font-size:8px;letter-spacing:1.8px;color:#99a58e}.auth-form-wrap h2{font-size:31px;line-height:1.25;letter-spacing:-1.5px;margin:0 0 12px}.auth-form-wrap .subtitle{font-size:12px;margin-bottom:31px}.auth-form-wrap .stack-form{gap:21px}.auth-form-wrap .field label{font-size:11px}.auth-form-wrap .field input{font-size:12px;padding:14px}.auth-form-wrap .button{margin-top:7px;min-height:47px;justify-content:space-between;font-size:12px}.password-input{position:relative}.password-input input{padding-right:85px!important}.password-toggle{position:absolute;right:8px;top:9px;border:0;background:transparent;color:#7c9073;font-size:9px;padding:7px}.auth-switch{font-size:10px;color:#929f87;text-align:center;margin:24px 0 0}.auth-switch a{font-weight:750;color:var(--green);margin-left:4px}.auth-privacy{border-top:1px solid #edf0e6;margin-top:33px;padding-top:25px;display:flex;justify-content:center;gap:9px;font-size:9px;color:#a4ae9c;line-height:1.8}.auth-privacy svg{width:15px;height:15px;margin-top:2px}.auth-bottom{font-size:9px;text-align:center;color:#aab29f}
.about-container{max-width:960px;margin:auto;padding:12px 0 35px}.about-container>.brand{margin-bottom:65px}.about-container>h1{font-size:44px;letter-spacing:-1.8px}.about-container>.subtitle{max-width:650px;font-size:15px}.about-features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:40px 0}.about-features article{padding-right:20px}.about-features article>span{font-size:12px;color:#8ead80}.about-features h2{margin-top:16px}.about-features p{font-size:12px;color:var(--muted)}.about-tech{padding:28px 32px;margin-bottom:30px}.about-tech p{font-size:12px;color:var(--muted)}.about-tech p:last-child{margin-bottom:0}.tech-tags{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.tech-tags span{font-size:10px;background:#eff4e9;color:#658154;border-radius:5px;padding:7px 10px}body>main>.about-container{padding:45px 30px}.error-page{max-width:630px;margin:10vh auto;padding:30px;text-align:center}.error-code{display:block;font-size:105px;letter-spacing:-7px;line-height:1.2;font-weight:800;color:#b8ccb0;margin-bottom:22px}.error-page h1{font-size:30px}.error-page p{color:var(--muted);font-size:14px;margin-bottom:28px}
@media(min-width:1600px){.auth-story{padding-left:11%;padding-right:11%}.auth-form-wrap{max-width:400px}.story-body{max-width:520px}.illustration{margin-top:45px;margin-bottom:25px}}
@media(max-width:1200px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding-left:14px;padding-right:14px}.main-content{padding:30px 27px}.topbar{padding:0 27px}.summary-card{padding:18px}.summary-grid{gap:12px}.form-layout{grid-template-columns:minmax(0,1fr) 190px;gap:20px}.stats-grid{grid-template-columns:1fr}.auth-story,.auth-form-side{padding-left:40px;padding-right:40px}.story-body h1{font-size:45px}.illustration{max-width:330px}.illustration-card{left:0;width:275px}.float-tag{right:-5px}.auth-form-wrap h2{font-size:28px}}
@media(max-width:900px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:28px 10px 15px}.sidebar .brand{font-size:27px;margin-left:12px}.workspace-label{font-size:8px;letter-spacing:1px}.nav-item{font-size:10px;gap:10px;padding:12px}.sidebar-note{padding:17px 13px}.summary-grid{grid-template-columns:1fr 1fr}.summary-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 15px}.summary-card:last-child .summary-label{justify-content:flex-start;gap:15px}.summary-card:last-child .summary-value{grid-column:2;grid-row:1/3;margin:0}.page-heading h1{font-size:28px}.page-heading .button{font-size:10px;padding:11px 12px}.filter-form{flex-wrap:wrap}.filter-form>.field:first-child{flex-basis:100%}.filter-form>.field{min-width:120px}.filter-form .reset-link{padding:12px}.form-layout{display:block}.form-note{max-width:400px;padding:20px 8px}.form-note h3 br{display:none}.auth-layout{grid-template-columns:45% 55%}.auth-story,.auth-form-side{padding-left:28px;padding-right:28px}.story-body h1{font-size:37px;letter-spacing:-1.8px}.story-body>p{font-size:11px}.illustration{transform:scale(.8);transform-origin:left center;width:290px;margin-right:-50px}.story-benefits{flex-direction:column}.auth-form-wrap h2{font-size:26px}.auth-form-wrap{padding:50px 0}.auth-top{font-size:9px}.profile-text strong{font-size:9px}.profile-text>span{font-size:8px}.sidebar .profile{gap:6px}.sidebar .avatar{width:27px;height:27px}.summary-hint{font-size:8px}.summary-value{font-size:25px}.about-features{grid-template-columns:1fr;gap:12px}.about-features h2{margin-top:8px}}
@media(max-width:650px){.app-shell{display:block}.sidebar{height:auto;position:relative;padding:19px 18px 0;border-right:0;border-bottom:1px solid var(--border)}.sidebar .brand{font-size:26px;margin:0 0 20px}.sidebar .brand-mark{width:32px;height:32px;border-radius:9px}.sidebar nav{flex-direction:row;gap:5px;padding-bottom:12px}.nav-item{padding:10px 12px;font-size:10px;gap:7px}.nav-item svg{width:16px;height:16px}.sidebar nav>.nav-item:last-child{display:none}.workspace-label,.sidebar-note,.sidebar-bottom>.nav-item{display:none}.sidebar-bottom{position:absolute;top:16px;right:18px;width:auto}.profile{padding:0;margin:0;border:0;gap:7px}.profile-text{max-width:90px}.profile-text strong{font-size:9px}.profile-text>span{font-size:8px}.sidebar .avatar{width:29px;height:29px}.profile .icon-button{width:25px;height:32px}.topbar{display:none}.main-content{padding:29px 18px 25px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:24px}.page-heading h1{font-size:27px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.page-heading .subtitle{font-size:11px;max-width:200px}.page-heading .button{font-size:9px;padding:10px;min-height:38px;margin-top:24px;gap:5px}.page-heading .button svg{width:14px;height:14px}.summary-grid{gap:10px;margin-bottom:24px}.summary-card{padding:15px 14px;border-radius:9px}.summary-label{font-size:9px;min-height:23px}.summary-icon{width:23px;height:23px}.summary-icon svg{width:13px;height:13px}.summary-value{font-size:22px;letter-spacing:-1px;margin:12px 0 7px}.summary-hint{font-size:8px;line-height:1.6}.summary-card:last-child .summary-value{font-size:21px}.small-chip{font-size:8px}.panel-title{padding:21px 18px 18px}.panel-title h2{font-size:14px}.panel-title p{font-size:9px;max-width:180px}.panel-title .button{font-size:9px;padding:8px}.panel-title .button svg{width:14px}.filter-form{padding:0 18px 19px;gap:10px}.filter-form>.field{min-width:100px}.filter-form input,.filter-form select{font-size:11px}.filter-form .button{width:100%}.filter-form .reset-link{padding:4px;width:100%;text-align:center}.expense-table th:first-child,.expense-table td:first-child{padding-left:18px}.expense-table th:last-child,.expense-table td:last-child{padding-right:18px}.expense-table td{padding:15px 9px}.expense-table .expense-name{min-width:190px}.expense-table .amount-cell{min-width:100px}.table-footer{padding:14px 18px}.empty-state{padding:42px 20px}.empty-state h3{font-size:16px}.empty-state p{font-size:11px}.bottom-tip{font-size:8px;align-items:flex-start;line-height:1.7;margin:22px 10px 0}.bottom-tip>span{line-height:1}.app-footer{padding:20px 18px;font-size:8px}.app-footer>span:last-child{display:none}.form-panel{padding:22px 18px}.form-row{grid-template-columns:1fr;gap:24px}.back-link{font-size:10px;margin-bottom:24px}.form-actions{flex-wrap:wrap}.form-actions .button{font-size:11px}.form-note{padding:20px 10px 0}.form-note p{font-size:11px}.confirmation{padding:30px 22px}.confirmation h1{font-size:23px}.stats-grid{gap:20px}.stats-filter>.field:first-child{flex-basis:0}.stats-filter .year-field{flex-basis:100%!important}.stats-filter .year-field input{width:100%}.chart-label{font-size:7px}.chart-panel .panel-title{gap:8px}.chart-panel .panel-title h2{font-size:13px}.chart-panel .panel-title p{font-size:8px}.bar-area{padding-left:12px;padding-right:15px;height:290px}.stats-grid .panel-title h2{white-space:normal}.donut-wrap{width:230px;height:230px}.auth-layout{display:flex;flex-direction:column}.auth-story{padding:26px 26px 22px}.auth-story .brand{font-size:29px}.story-body{padding:32px 0 0}.story-body>.eyebrow{font-size:7px;margin-bottom:13px}.story-body h1{font-size:37px;line-height:1.12;margin-bottom:13px}.story-body h1 br{display:none}.story-body>p{font-size:11px;margin-bottom:0;line-height:1.7}.illustration,.story-footer,.story-benefits{display:none}.auth-form-side{padding:20px 26px 25px;flex:1}.auth-top{font-size:9px}.auth-form-wrap{max-width:100%;padding:25px 0 30px}.auth-form-wrap .eyebrow{font-size:7px}.auth-form-wrap h2{font-size:27px;letter-spacing:-1px}.auth-form-wrap .subtitle{font-size:11px;margin-bottom:26px}.auth-form-wrap .stack-form{gap:20px}.auth-switch{font-size:10px}.auth-privacy{margin-top:25px;padding-top:20px}.auth-bottom{font-size:8px}.about-container>h1{font-size:34px}.about-container>.subtitle{font-size:13px}.about-container .brand{margin-bottom:40px}.about-tech{padding:23px 20px}.about-tech h2{font-size:16px}.error-page{margin-top:7vh}.error-page h1{font-size:25px}.error-page p{font-size:12px}.error-code{font-size:90px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Planning tools and persistent, server-rendered color themes. */
:root{color-scheme:light;--soft:#f5f7f1;--featured:#eff5ed;--active:#eaf3eb;--primary-text:#fff;--subtle-ink:#607260;--warning-bg:#fff4df;--warning-ink:#895617;--success-bg:#e9f4e9;--success-ink:#287750;--error-bg:#fff4ef;--error-ink:#a24e41}
:root[data-theme="dark"]{color-scheme:dark;--bg:#111b17;--surface:#19251f;--ink:#e5eee6;--muted:#a4b4a7;--green:#73c7ac;--green-dark:#8ddbc1;--border:#304036;--pale:#243a2c;--soft:#1f2e24;--featured:#24372a;--active:#284638;--primary-text:#10271e;--subtle-ink:#b0c1b1;--warning-bg:#3b3020;--warning-ink:#f0c98a;--success-bg:#203a2b;--success-ink:#a3dab2;--error-bg:#3c2827;--error-ink:#f4b4a5;--red:#f2aea7}
@media(prefers-color-scheme:dark){:root[data-theme="system"]{color-scheme:dark;--bg:#111b17;--surface:#19251f;--ink:#e5eee6;--muted:#a4b4a7;--green:#73c7ac;--green-dark:#8ddbc1;--border:#304036;--pale:#243a2c;--soft:#1f2e24;--featured:#24372a;--active:#284638;--primary-text:#10271e;--subtle-ink:#b0c1b1;--warning-bg:#3b3020;--warning-ink:#f0c98a;--success-bg:#203a2b;--success-ink:#a3dab2;--error-bg:#3c2827;--error-ink:#f4b4a5;--red:#f2aea7}}
body{background:var(--bg);color:var(--ink)}
.sidebar,.panel,.summary-card,.auth-form-side,.field input,.field select,.field textarea,.secondary{background:var(--surface);border-color:var(--border);color:var(--ink)}
.summary-card.featured,.auth-story{background:var(--featured);border-color:var(--border)}
.nav-item,.secondary,.summary-label,.summary-hint,.summary-value>span,.date-cell,.amount-cell>span,.table-footer,.field label,.field-hint,.form-note p,.app-footer,.subtitle,.private-badge,.topbar,.auth-switch,.auth-privacy,.auth-bottom,.story-body>p,.story-footer,.story-benefits,.sidebar-note p,.profile-text>span,.bottom-tip,.panel-title p,.filter-form label,.year-summary,.stats-data,.about-features p,.about-tech p,.back-link,.empty-state p{color:var(--muted)}
.nav-item.active{background:var(--active);color:var(--green)}
.nav-item:hover,.secondary:hover,.expense-table tr:hover td{background:var(--soft)}
.primary,.brand-mark{color:var(--primary-text)}
.summary-icon,.small-chip,.count-pill,.chart-label,.delete-details,.expense-table th,.sidebar-note{background:var(--soft);border-color:var(--border);color:var(--subtle-ink)}
.expense-table td,.legend-row{border-color:var(--border)}
.field input,.field select,.field textarea,.form-note hr,.auth-privacy,.year-summary{border-color:var(--border)}
.field [aria-invalid=true]{background:var(--error-bg);border-color:var(--error-ink)}
.alert.success{background:var(--success-bg);color:var(--success-ink);border-color:var(--border)}
.alert.error{background:var(--error-bg);color:var(--error-ink);border-color:var(--border)}
.empty-icon{background:var(--active);color:var(--green)}
.illustration-card,.float-tag{color:#243c33}
.tech-tags span{background:var(--soft);color:var(--subtle-ink)}
.avatar{background:var(--active);border-color:var(--border);color:var(--green)}
.budget-card .cat-5{background:var(--success-bg);color:var(--success-ink)}
.chart-status,.legend-percent,.donut-center>span{color:var(--muted)}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.theme-control{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;margin:0}
.theme-control button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--border);background:var(--surface);color:var(--green);min-height:40px;padding:9px 12px;border-radius:7px;font-size:11px;font-weight:650}
.theme-control button:hover{background:var(--soft)}.theme-control button svg{width:18px;height:18px}
.theme-control button[value="dark"] .theme-sun,.theme-control button[value="light"] .theme-moon{display:none}
.theme-status{flex-basis:100%;max-width:230px;color:var(--red);font-size:10px;line-height:1.6}
.sidebar-theme{margin:18px 10px 0}.sidebar .brand{margin-bottom:35px}.sidebar-note{margin-top:24px}
.auth-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.public-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:65px}.public-bar .brand{margin-bottom:0}
.home-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:28px 0 42px}
.home-container{padding-top:35px!important}
.month-picker{display:flex;align-items:flex-end;gap:12px;margin-bottom:24px}.month-picker input{min-width:190px}
.planning-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:24px;align-items:start}
.planning-form{margin-top:24px}.planning-layout .subtitle{font-size:11px}.planning-layout .form-panel{padding:26px}
.budget-list{display:grid;gap:18px}.budget-card{padding:24px}.budget-card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.budget-card-heading h2{margin:0;font-size:16px}
.budget-values{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-bottom:16px}.budget-values strong{font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:-.8px}.budget-values>span{font-size:11px;color:var(--muted)}
.budget-card meter{display:block;width:100%;height:12px;border:0;background:var(--soft);border-radius:8px;appearance:none;overflow:hidden}
.budget-card meter::-webkit-meter-bar{background:var(--soft);border:0}.budget-card meter::-webkit-meter-optimum-value{background:var(--green)}.budget-card meter::-moz-meter-bar{background:var(--green)}
.over-budget{border-color:var(--warning-ink)}.over-budget meter::-webkit-meter-optimum-value{background:#d99056}.over-budget meter::-moz-meter-bar{background:#d99056}
.budget-over-tag{background:var(--warning-bg);color:var(--warning-ink)}.budget-detail{font-size:11px;color:var(--muted);margin:15px 0 19px}.over-budget .budget-detail{color:var(--warning-ink)}
.planning-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.planning-actions .danger-icon{margin-left:auto}
.budget-warning{background:var(--warning-bg);color:var(--warning-ink);border:1px solid var(--border)}.budget-warning a{font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.recurring-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.recurring-empty{grid-column:1/-1}.recurring-card{padding:25px}.recurring-card h2{font-size:17px;overflow-wrap:anywhere;margin:20px 0 15px}.schedule-status{font-size:9px;color:var(--muted);text-align:right}
.recurring-amount{font-size:30px;font-weight:750;letter-spacing:-.8px}.recurring-amount>span{font-size:20px;color:var(--muted)}.schedule-details{margin:23px 0;padding:16px 0;border-block:1px solid var(--border)}.schedule-details>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:10px 0}.schedule-details dt{color:var(--muted)}.schedule-details dd{margin:0;text-align:right}.planning-help{max-width:850px;font-size:11px;color:var(--muted);line-height:1.85;margin-top:27px}.planning-help p{margin-bottom:10px}.recurring-badge{display:block;font-weight:500;font-size:9px;color:var(--green);margin-top:3px}
@media(max-height:820px) and (min-width:651px){.sidebar-note{display:none}}
@media(max-width:1000px){.planning-layout{grid-template-columns:1fr}.budget-list{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-card-heading{flex-wrap:wrap}.planning-form{display:grid;grid-template-columns:1fr 1fr}.planning-form>.button{grid-column:1/-1}.recurring-grid{grid-template-columns:1fr}}
@media(max-width:650px){.sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding-bottom:8px}.sidebar-theme{margin:0 0 14px}.sidebar .brand{margin-bottom:20px}.sidebar nav>.export-nav{display:none}.theme-control button{min-height:44px;padding:10px 12px}.public-bar{flex-wrap:wrap;gap:24px;margin-bottom:35px}.public-bar .brand{margin:0}.home-actions .button{font-size:11px}.planning-form{display:flex}.budget-list{grid-template-columns:1fr}.budget-card,.recurring-card{padding:20px}.budget-values strong{font-size:25px}.budget-warning{font-size:11px}.budget-warning a{white-space:normal}.planning-layout .form-panel{padding:22px}.month-picker{gap:10px}.month-picker input{min-width:0}.month-picker .field{flex:1}.recurring-amount{font-size:27px}.planning-actions{gap:8px}.planning-help{font-size:10px}.auth-top .theme-control{order:2}.sidebar .theme-control{justify-content:flex-end}}
