@import "https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap";:root{color:#243a33;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#edf1ed;font-family:Tahoma,Arial,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}h1,h2,p{margin:0}strong{font-weight:600}button{touch-action:manipulation}small{font-size:11px;font-weight:400}#root{min-height:100dvh}.app-shell{background:#f7f9f6;max-width:520px;min-height:100dvh;margin:0 auto;padding-bottom:88px;box-shadow:0 0 60px #243a3309}.demo-banner{text-align:center;color:#58694f;background:#e8eee5;padding:10px 16px;font-size:11px}.app-header{justify-content:space-between;align-items:center;gap:14px;padding:28px 24px 22px;display:flex}.eyebrow{color:#567461;margin-bottom:8px;font-size:12px;display:block}h1{font-size:23px;font-weight:600;line-height:1.6}.app-header p{color:#728077;margin-top:7px;font-size:12px}.brand-mark{color:#245d44;background:#e8f0e4;border:1px solid #c9d8c8;border-radius:16px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:26px;display:grid}.row{justify-content:space-between;align-items:center;gap:10px;display:flex}.hero{color:#fff;background:#255c45;border-radius:24px;padding:23px}.hero>.row{font-size:13px}.hero-tag{white-space:nowrap;background:#ffffff18;border-radius:20px;padding:6px 9px;font-size:10px}.hero-value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:10px;margin:10px 0;font-size:36px;line-height:1.8;display:flex}.hero-value small{color:#d6e9dc;font-size:13px}progress{appearance:none;background:#e6ece6;border:0;border-radius:10px;width:100%;height:6px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#e6ece6;border-radius:10px}progress::-webkit-progress-value{background:#3f7957;border-radius:10px}progress::-moz-progress-bar{background:#3f7957;border-radius:10px}.hero progress{background:#fff2}.hero progress::-webkit-progress-bar{background:#fff2}.hero progress::-webkit-progress-value{background:#d4e8af}.hero progress::-moz-progress-bar{background:#d4e8af}.hero-details{justify-content:space-between;gap:12px;margin-top:18px;display:flex}.hero-details div{gap:7px;display:grid}.hero-details strong{font-variant-numeric:tabular-nums;font-size:15px}.balance-card{background:#fff;border:1px solid #e3e9e0;border-radius:18px;justify-content:space-between;align-items:center;gap:8px;margin:14px 0;padding:16px;display:flex}.balance-card>div{gap:9px;display:grid}.balance-card strong{overflow-wrap:anywhere;font-size:19px}.muted{color:#728077;font-size:11px}.primary{color:#fff;background:#255c45;border:0;border-radius:15px;width:100%;min-height:50px;padding:12px 16px;font-size:15px;font-weight:500}.primary:hover{background:#1b4935}.add-expense{margin-bottom:20px}.text-button{color:#316949;background:0 0;border:0;flex-shrink:0;min-height:44px;padding:8px;font-size:11px}.panel{background:#fff;border:1px solid #e3e9e0;border-radius:20px;margin-bottom:16px;padding:18px}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}h2{font-size:15px;font-weight:600;line-height:1.8}.transactions{margin:0;padding:0;list-style:none}.transactions li{border-bottom:1px solid #eef1ec;align-items:center;gap:10px;padding:16px 0;display:flex}.transactions li:last-child{border-bottom:0}.transaction-icon{color:#617754;background:#eff3eb;border-radius:12px;flex:0 0 35px;place-items:center;width:35px;height:35px;display:grid}.transaction-description{flex:1;min-width:0}.transaction-description strong{overflow-wrap:anywhere;font-size:12px;font-weight:400;line-height:1.8;display:block}.transaction-description small{color:#798579;font-size:10px;line-height:1.9;display:block}.expense-value{color:#91463e;text-align:left;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:43%;font-size:13px}.expense-value small{color:#798579;margin-top:5px;font-size:10px;display:block}.empty{text-align:center;padding:18px 8px 14px}.empty-symbol{color:#81977a;background:#f0f4ec;border-radius:16px;place-items:center;width:46px;height:46px;margin:0 auto 13px;font-size:28px;display:grid}.empty p{color:#819078;margin-top:8px;font-size:11px;line-height:2}.budget-item{border-bottom:1px solid #eef1ec;padding:14px 0}.budget-item:last-of-type{border-bottom:0}.budget-item strong,.budget-item>.row>span{font-size:12px}.budget-item progress{margin:12px 0}.budget-item>.row.muted{flex-wrap:wrap;font-size:10px}.budget-item>.row.muted>span{font-size:10px}.danger{color:#a43735}.account-row{border-bottom:1px solid #eef1ec;justify-content:space-between;align-items:center;gap:10px;padding:20px 0;display:flex}.account-row strong{font-size:13px}.account-row small{color:#728077;margin-top:7px;font-size:10px;display:block}.account-row>span{text-align:left;font-variant-numeric:tabular-nums;font-size:15px}.footnote{color:#74816d;margin-top:15px;font-size:11px;line-height:2}.local-note{color:#7d8879;text-align:center;margin:18px 8px;font-size:10px;line-height:2}.bottom-nav{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:100%;max-width:520px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:10;background:#ffffffed;border-top:1px solid #dfe7dc;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#7d8879;background:0 0;border:0;border-radius:12px;place-items:center;gap:4px;min-height:52px;font-size:11px;display:grid}.bottom-nav button>span{font-size:22px;line-height:1.1}.bottom-nav button[aria-current=page]{color:#255c45;background:#edf3e8}.alert{overflow-wrap:anywhere;border-radius:12px;margin-bottom:16px;padding:12px 15px;font-size:12px;line-height:2}.success{background:#e8f2e6;justify-content:space-between;align-items:center;gap:8px;display:flex}.error{color:#913d32;background:#fff0eb}.expense-dialog{color:#243a33;direction:rtl;background:#f9fbf8;border:0;border-radius:24px;width:calc(100% - 24px);max-width:460px;max-height:90dvh;margin:auto;padding:24px;overflow-y:auto;box-shadow:0 24px 80px #102c3330}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.close-button{color:#455e4a;background:#fff;border:1px solid #dce5d8;border-radius:13px;min-width:42px;height:42px;font-size:25px}.expense-dialog label{margin:0 0 8px;font-size:12px;display:block}.expense-dialog input,.expense-dialog select{color:#243a33;background:#fff;border:1px solid #dce5d8;border-radius:12px;width:100%;min-height:48px;margin-bottom:18px;padding:10px 12px;font-size:16px}.expense-dialog .amount-input{text-align:center;direction:ltr;min-height:80px;padding:18px 10px;font-size:32px}.amount-label{text-align:center;color:#728077}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-grid>div{min-width:0}.form-grid select{font-size:13px}.form-error{color:#a43735;margin-bottom:14px;font-size:12px;line-height:2}.submit-expense{margin-top:6px}@media (width<=380px){main{padding:0 12px}.app-header{padding:22px 16px}.hero{padding:19px}.hero-value{font-size:29px}.hero-tag{padding:5px 7px;font-size:9px}.panel{padding:14px}.form-grid{grid-template-columns:1fr;gap:0}.expense-dialog{padding:20px}.transaction-icon{display:none}.hero-details strong{font-size:14px}.row{gap:6px}}@media (width>=650px){.app-shell{border-radius:28px 28px 0 0;min-height:calc(100dvh - 24px);margin:24px auto;overflow:hidden}}.goal-card{border-bottom:1px solid #eef1ec;padding:16px 0}.goal-card:last-child{border-bottom:0}.goal-card .row>div{min-width:0}.goal-card strong{font-size:13px}.goal-card small{color:#728077;margin-top:5px;font-size:10px;line-height:1.9;display:block}.goal-status{color:#526955;white-space:nowrap;background:#eef2ec;border-radius:12px;padding:5px 8px;font-size:10px}.goal-status.completed{color:#26603f;background:#e2f0e4}.goal-status.overdue{color:#913d32;background:#fff0eb}.goal-numbers{flex-wrap:wrap;margin:14px 0 10px;font-size:11px}.goal-actions{gap:4px;margin-top:4px;display:flex}.goal-actions .danger{color:#91463e}@media (width<=380px){.bottom-nav{padding-left:5px;padding-right:5px}.bottom-nav button{font-size:9px}.bottom-nav button>span{font-size:19px}}.debt-card{border-bottom:1px solid #eef1ec;padding:17px 0}.debt-card:last-child{border-bottom:0}.debt-card .row>div{min-width:0}.debt-card strong{font-size:13px}.debt-card small{color:#728077;margin-top:5px;font-size:10px;line-height:1.9;display:block}.goal-status.paid,.goal-status.on-track{color:#26603f;background:#e2f0e4}.goal-status.behind{color:#765b15;background:#fff5dc}.debt-meta{gap:2px;margin-top:10px;display:grid}.payment-history{border-top:1px dashed #dfe7dc;margin-top:10px;padding-top:10px}.payment-history>strong{font-size:11px}.payment-history>.row{padding:7px 0}.payment-history>.row>span{font-size:11px}.payment-history .text-button{min-height:36px}.asset-row{border-bottom:1px solid #eef1ec;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 0;display:flex}.asset-row:last-child{border-bottom:0}.asset-row>div{min-width:0}.asset-row strong{font-size:13px}.asset-row small{color:#728077;margin-top:5px;font-size:10px;line-height:1.9;display:block}.asset-row>span{text-align:left;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:15px}.net-worth-list{gap:10px;display:grid}.net-worth-row{background:#f4f7f2;border-radius:14px;padding:13px}.net-worth-row>.row:first-child strong{font-size:12px}.net-worth-row>.row:first-child>span{overflow-wrap:anywhere;text-align:left;font-size:16px;font-weight:600}.net-worth-row>.row.muted{flex-wrap:wrap;margin-top:8px}.negative-value{color:#91463e}.net-worth-total{color:#fff;background:#255c45;border-radius:16px;gap:8px;margin-bottom:12px;padding:16px;display:grid}.net-worth-total>span{color:#d2e4d9;font-size:11px}.net-worth-total>strong{overflow-wrap:anywhere;font-size:20px}.net-worth-total>strong small{color:#d2e4d9}.net-worth-total.incomplete{color:#765b15;background:#fff5dc}.net-worth-total.incomplete>span{color:#8a702b}.net-worth-row>small{color:#728077;margin-top:8px;font-size:10px;display:block}.rate-list{gap:10px;display:grid}.rate-row{background:#f4f7f2;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.rate-row>div:first-child{min-width:0}.rate-row strong{font-size:12px}.rate-row small{color:#728077;margin-top:5px;font-size:10px;display:block}.rate-row>div:last-child{text-align:left}.rate-row>div:last-child>span{font-variant-numeric:tabular-nums;font-size:13px;display:block}.rate-row .text-button{min-height:34px}.recurring-card{border-bottom:1px solid #eef1ec;padding:16px 0}.recurring-card:last-child{border-bottom:0}.recurring-card .row>div{min-width:0}.recurring-card strong{font-size:13px}.recurring-card small{color:#728077;margin-top:5px;font-size:10px;line-height:1.9;display:block}.recurring-status{color:#526955;white-space:nowrap;background:#eef2ec;border-radius:12px;padding:5px 8px;font-size:10px}.recurring-status.due{color:#765b15;background:#fff5dc}.recurring-status.posted{color:#26603f;background:#e2f0e4}.recurring-status.inactive{color:#777;background:#f0f0f0}.recurring-amount{flex-wrap:wrap;margin:12px 0}.recurring-amount>span{font-size:14px;font-weight:600}.compact-button{min-height:42px;font-size:12px}.checkbox-row{align-items:center;gap:10px;margin:0 0 18px!important;display:flex!important}.expense-dialog .checkbox-row input{width:20px;min-height:20px;margin:0}.checkbox-row span{font-size:12px}.quick-actions{grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 16px;display:grid}.quick-actions button{color:#316949;background:#fff;border:1px solid #dce5d8;border-radius:13px;min-height:46px;padding:8px;font-size:11px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.metric-card{background:#f4f7f2;border-radius:14px;gap:6px;min-width:0;padding:13px;display:grid}.metric-card>span{color:#728077;font-size:10px}.metric-card>strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:16px}.metric-card>small{color:#798579}.metric-card.negative-metric{background:#fff0eb}.metric-card.negative-metric>strong{color:#91463e}.dashboard-alerts{gap:8px;display:grid}.dashboard-alerts button{text-align:right;color:#243a33;background:#f6f8f4;border:0;border-radius:14px;align-items:center;gap:10px;width:100%;padding:11px;display:flex}.dashboard-alerts button>div{flex:1;min-width:0}.dashboard-alerts button strong{font-size:11px;display:block}.dashboard-alerts button small{color:#728077;overflow-wrap:anywhere;margin-top:5px;font-size:9px;line-height:1.7;display:block}.dashboard-alerts button>b{color:#567461;font-size:13px}.alert-dot{background:#eef2ec;border-radius:10px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:11px;display:grid}.alert-dot.warning{color:#765b15;background:#fff0c9}.alert-dot.danger-dot{color:#913d32;background:#ffe2dc}.alert-dot.neutral{color:#526975;background:#e8edf0}.dashboard-ok{background:#eef6ec;border-radius:14px;align-items:center;gap:11px;padding:13px;display:flex}.dashboard-ok>span{color:#26603f;background:#d9ebd8;border-radius:11px;place-items:center;width:32px;height:32px;display:grid}.dashboard-ok strong{font-size:11px;display:block}.dashboard-ok small{color:#728077;margin-top:5px;font-size:9px;display:block}@media (width<=350px){.quick-actions,.metric-grid{grid-template-columns:1fr}}.scenario-card{border-bottom:1px solid #eef1ec;padding:16px 0}.scenario-card:last-child{border-bottom:0}.scenario-card>.row>strong{font-size:13px}.scenario-status{color:#526955;white-space:nowrap;background:#eef2ec;border-radius:12px;padding:5px 8px;font-size:10px}.scenario-status.surplus{color:#26603f;background:#e2f0e4}.scenario-status.deficit{color:#913d32;background:#fff0eb}.scenario-grid{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;display:grid}.scenario-grid>div{background:#f4f7f2;border-radius:12px;gap:5px;min-width:0;padding:10px;display:grid}.scenario-grid span{color:#728077;font-size:9px}.scenario-grid strong{overflow-wrap:anywhere;font-size:12px}.scenario-balance{justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.scenario-balance strong{overflow-wrap:anywhere;text-align:left;font-size:13px}.scenario-preview{background:#eef6ec;border-radius:13px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:13px;display:flex}.scenario-preview span{color:#728077;font-size:11px}.scenario-preview strong{overflow-wrap:anywhere;text-align:left;font-size:14px}.scenario-preview.negative-metric{background:#fff0eb}.scenario-preview.negative-metric strong{color:#91463e}@media (width<=350px){.scenario-grid{grid-template-columns:1fr}}.comparison-label{margin-bottom:7px;font-size:11px;display:block}.comparison-select{color:#243a33;background:#fff;border:1px solid #dce5d8;border-radius:12px;width:100%;min-height:46px;padding:9px 11px;font-size:13px}.comparison-note{margin:9px 0 12px}.forecast-list{gap:10px;display:grid}.forecast-card{background:#fafcf9;border:1px solid #e3e9e0;border-radius:15px;padding:13px}.forecast-card.fastest{background:#f0f7ed;border-color:#79a989}.forecast-card.infeasible{background:#fff8f5}.forecast-card>.row>strong{font-size:12px}.forecast-tag{white-space:nowrap;border-radius:11px;padding:5px 8px;font-size:9px}.forecast-tag.on-time{color:#26603f;background:#e2f0e4}.forecast-tag.late{color:#913d32;background:#fff0eb}.forecast-tag.neutral{color:#526955;background:#eef2ec}.forecast-main{grid-template-columns:1fr 1fr;gap:8px;margin:11px 0;display:grid}.forecast-main>div{gap:5px;min-width:0;display:grid}.forecast-main span,.forecast-date span{color:#728077;font-size:9px}.forecast-main strong{overflow-wrap:anywhere;font-size:13px}.forecast-main small{color:#728077}.forecast-date{justify-content:space-between;align-items:center;gap:8px;display:flex}.forecast-date strong{text-align:left;overflow-wrap:anywhere;font-size:11px}.fastest-note{color:#316949;margin-top:9px;display:block}@media (width<=350px){.forecast-main{grid-template-columns:1fr}}.risk-result{background:#f3f6f1;border-radius:16px;padding:15px}.risk-result.conservative{background:#eef2f4}.risk-result.balanced{background:#f4f4e8}.risk-result.growth{background:#edf6eb}.risk-result-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.risk-result-heading>div{gap:5px;display:grid}.risk-result-heading span{color:#728077;font-size:10px}.risk-result-heading strong{font-size:19px}.risk-result-heading>b{font-size:20px}.risk-result-heading b small{color:#728077;font-size:10px}.risk-result>p:not(.footnote){color:#667568;margin-top:10px;font-size:11px;line-height:2}.risk-dimensions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.risk-dimensions>div{background:#ffffffa8;border-radius:12px;gap:5px;padding:10px;display:grid}.risk-dimensions span{color:#728077;font-size:9px}.risk-dimensions strong{font-size:12px}.risk-dialog{max-width:520px}.risk-question{border:0;margin:0 0 22px;padding:0}.risk-question legend{margin-bottom:9px;font-size:12px;font-weight:600;line-height:1.9}.risk-question legend>span{color:#255c45;background:#e8f0e4;border-radius:8px;place-items:center;width:24px;height:24px;margin-left:7px;display:inline-grid}.risk-options{gap:7px;display:grid}.expense-dialog .risk-options label{cursor:pointer;background:#fff;border:1px solid #e0e7dd;border-radius:12px;align-items:center;gap:9px;margin:0;padding:10px;line-height:1.7;display:flex}.expense-dialog .risk-options label.selected{background:#eef6ec;border-color:#5f9877}.expense-dialog .risk-options input{flex:0 0 18px;width:18px;min-height:18px;margin:0}.risk-options label>span{font-size:11px}@media (width<=350px){.risk-dimensions{grid-template-columns:1fr}}.health-result{background:#f3f6f1;border-radius:16px;padding:15px}.health-result.insufficient{background:#f2f3f2}.health-result.weak{background:#fff0eb}.health-result.attention{background:#fff5dc}.health-result.average{background:#f4f4e8}.health-result.good,.health-result.excellent{background:#edf6eb}.health-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.health-heading>div{gap:5px;min-width:0;display:grid}.health-heading span{color:#728077;font-size:10px}.health-heading strong{font-size:19px}.health-heading>b{white-space:nowrap;font-size:24px}.health-heading b small{color:#728077;font-size:10px}.health-warning{color:#6f6650;background:#ffffffb0;border-radius:11px;margin:11px 0 0;padding:9px 10px;font-size:10px;line-height:1.9}.health-mini-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.health-mini-grid>div{background:#ffffffa8;border-radius:12px;gap:5px;min-width:0;padding:10px;display:grid}.health-mini-grid span{color:#728077;font-size:9px;line-height:1.7}.health-mini-grid strong{font-size:12px}.health-mini-grid strong small{color:#728077;font-size:8px}.health-compact-note{color:#765b15;margin:10px 0 0;font-size:10px;line-height:1.9}.health-compact-note.positive{color:#316949}.health-components{gap:10px;margin-top:13px;display:grid}.health-component{background:#ffffffa8;border-radius:13px;padding:12px}.health-component>.row>div{min-width:0}.health-component>.row strong{font-size:11px;display:block}.health-component>.row small{color:#728077;margin-top:4px;font-size:9px;display:block}.health-component>.row>b{white-space:nowrap;font-size:12px}.health-component progress{width:100%;height:6px;margin:10px 0 4px}.health-factor{margin:5px 0;font-size:9px;line-height:1.8}.health-factor.positive{color:#316949}.health-factor.negative{color:#91463e}.health-factor.missing{color:#765b15}@media (width<=350px){.health-mini-grid{grid-template-columns:1fr}.health-heading>b{font-size:21px}}.recommendation-list{gap:10px;display:grid}.recommendation-intro{background:#f4f7f2;border-radius:13px;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px;display:flex}.recommendation-intro strong{font-size:11px}.recommendation-intro small{color:#728077;text-align:left;font-size:9px;line-height:1.7}.recommendation-card{background:#fafcf9;border:1px solid #e3e9e0;border-radius:15px;min-width:0;padding:13px}.recommendation-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.recommendation-head>small{color:#728077;font-size:9px}.recommendation-priority{color:#526955;background:#eef2ec;border-radius:10px;padding:4px 8px;font-size:9px}.recommendation-priority.urgent{color:#913d32;background:#ffe2dc}.recommendation-priority.high{color:#765b15;background:#fff0c9}.recommendation-priority.medium{color:#526975;background:#e8edf0}.recommendation-priority.low{color:#26603f;background:#e2f0e4}.recommendation-card h3{margin:10px 0 7px;font-size:13px;line-height:1.8}.recommendation-card>p{color:#667568;margin:0;font-size:10px;line-height:1.9}.recommendation-card>p b{color:#334a40}.recommendation-action{background:#ffffffb8;border-radius:11px;gap:5px;margin-top:10px;padding:10px;display:grid}.recommendation-action b{color:#567461;font-size:9px}.recommendation-action span{color:#334a40;overflow-wrap:anywhere;font-size:10px;line-height:1.9}.recommendation-card>.text-button{margin-top:7px}.recommendation-more{color:#728077;text-align:center;margin:2px 0 0;font-size:9px}@media (width<=350px){.recommendation-intro{display:grid}.recommendation-intro small{text-align:right}}.recommendation-buttons{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:7px;display:flex}.recommendation-buttons>.text-button{margin-top:0}.assistant-toggle{font-weight:700}.assistant-explanation{background:#f4f8f2;border:1px solid #dce7d8;border-radius:14px;gap:10px;min-width:0;margin-top:11px;padding:12px;display:grid}.assistant-title{align-items:center;gap:9px;display:flex}.assistant-title>span{color:#2f6849;background:#dfeee0;border-radius:10px;flex:0 0 31px;place-items:center;width:31px;height:31px;display:grid}.assistant-title>div{flex:1;gap:3px;min-width:0;display:grid}.assistant-title strong{font-size:11px}.assistant-title small{color:#728077;font-size:8px}.assistant-quality{white-space:nowrap;color:#526955;background:#eef2ec;border-radius:10px;padding:5px 7px;font-size:8px;font-weight:600}.assistant-quality.limited{color:#765b15;background:#fff0c9}.assistant-quality.medium{color:#526975;background:#e8edf0}.assistant-quality.strong{color:#26603f;background:#e2f0e4}.assistant-answer{background:#ffffffb8;border-radius:11px;padding:10px}.assistant-answer>b{color:#567461;font-size:9px}.assistant-answer p{color:#334a40;margin:6px 0 0;font-size:10px;line-height:1.9}.assistant-answer ul{gap:5px;margin:7px 0 0;padding:0 16px 0 0;display:grid}.assistant-answer li{color:#4f6258;font-size:9px;line-height:1.8}.assistant-limitation{color:#765b15;margin:0;padding:0 2px;font-size:9px;line-height:1.9}.assistant-limitation b{color:#67582d}@media (width<=420px){.assistant-title{flex-wrap:wrap;align-items:flex-start}.assistant-quality{margin-right:40px}.recommendation-buttons{justify-items:start;display:grid}}.monthly-report{background:#f4f7f2;border-radius:16px;min-width:0;padding:15px}.monthly-report-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.monthly-report-head>div{gap:4px;display:grid}.monthly-report-head span{color:#728077;font-size:9px}.monthly-report-head>b{white-space:nowrap;font-size:18px}.monthly-report-head b small{color:#728077;font-size:8px}.monthly-report-grid,.monthly-plan-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.monthly-report-grid>div,.monthly-plan-grid>div{background:#ffffffb8;border-radius:12px;gap:5px;min-width:0;padding:10px;display:grid}.monthly-report-grid span,.monthly-plan-grid span{color:#728077;font-size:9px}.monthly-report-grid strong,.monthly-plan-grid strong{overflow-wrap:anywhere;font-size:11px}.monthly-report-grid strong.negative,.monthly-plan-grid small.negative,.monthly-category-row small.negative{color:#91463e}.monthly-report-grid strong.positive,.monthly-plan-grid small.positive,.monthly-category-row small.positive{color:#316949}.monthly-plan-grid small{font-size:8px;line-height:1.6}.monthly-category-list{gap:7px;margin-top:12px;display:grid}.monthly-category-row{background:#ffffffa8;border-radius:11px;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px;display:flex}.monthly-category-row>div{gap:4px;min-width:0;display:grid}.monthly-category-row>div:last-child{text-align:left}.monthly-category-row strong,.monthly-category-row b{font-size:10px}.monthly-category-row small{color:#728077;font-size:8px}.monthly-insight{margin:8px 0 0;font-size:9px;line-height:1.9}.monthly-insight.positive{color:#316949}.monthly-insight.negative{color:#91463e}.monthly-insight.missing{color:#765b15}.monthly-reminders{gap:9px;display:grid}.monthly-reminder{background:#fafcf9;border:1px solid #e3e9e0;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;padding:12px;display:flex}.monthly-reminder>div{gap:6px;min-width:0;display:grid}.monthly-reminder strong{font-size:11px;line-height:1.8}.monthly-reminder p{color:#667568;margin:0;font-size:9px;line-height:1.8}.monthly-reminder>.text-button{flex:none}.reminder-priority{color:#526955;background:#eef2ec;border-radius:9px;justify-self:start;padding:4px 7px;font-size:8px}.reminder-priority.urgent{color:#913d32;background:#ffe2dc}.reminder-priority.high{color:#765b15;background:#fff0c9}.reminder-priority.medium{color:#526975;background:#e8edf0}.reminder-priority.low{color:#26603f;background:#e2f0e4}@media (width<=420px){.monthly-reminder{display:grid}.monthly-report-head{align-items:flex-start}.monthly-report-grid,.monthly-plan-grid{grid-template-columns:1fr}.monthly-category-row{display:grid}.monthly-category-row>div:last-child{text-align:right}}:root{--bg:#f3f6f4;--surface:#fff;--surface-soft:#f7f9f7;--surface-tint:#eef4f0;--text:#172b23;--text-2:#52665c;--text-3:#7a8981;--line:#e3eae5;--line-strong:#d5dfd8;--brand:#245c45;--brand-2:#1c4b38;--brand-soft:#e8f2eb;--success:#2f6f4f;--warning:#8a681d;--danger:#9a443b;--shadow-sm:0 2px 10px #18382b0b;--shadow-md:0 12px 32px #18382b16;color:var(--text);background:var(--bg);font-feature-settings:"ss01" 1,"tnum" 1;font-family:Vazirmatn,Tahoma,Arial,sans-serif}html{background:var(--bg)}body{background:var(--bg);color:var(--text);letter-spacing:-.01em;font-family:Vazirmatn,Tahoma,Arial,sans-serif}button,input,select,textarea{font-family:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #3a7d5b3d}strong,b{font-weight:650}small{font-size:11px;line-height:1.8}.app-shell{background:linear-gradient(#fafcfb 0%,#f5f8f6 38%,#f3f6f4 100%);max-width:540px;padding-bottom:96px;box-shadow:0 0 0 1px #1f433306,0 24px 70px #1a392c12}.demo-banner{color:#60746a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#e6efe9e0;border-bottom:1px solid #ccdbd18c;padding:9px 16px;font-size:10px;font-weight:500}.app-header{padding:28px 22px 20px}.eyebrow{color:#648071;letter-spacing:.01em;margin-bottom:6px;font-size:11px;font-weight:600}h1{letter-spacing:-.035em;font-size:25px;font-weight:750;line-height:1.5}h2{letter-spacing:-.02em;font-size:15px;font-weight:700;line-height:1.8}.app-header p{color:var(--text-3);margin-top:5px;font-size:11px;line-height:1.9}.brand-mark{width:50px;height:50px;color:var(--brand);background:linear-gradient(145deg,#edf5ef,#e2eee6);border:1px solid #d4e1d8;border-radius:17px;font-size:24px;box-shadow:inset 0 1px #fffc,0 7px 18px #265b4414}main{padding:0 18px}.row{gap:12px}.hero{background:linear-gradient(140deg,#285f49 0%,#1f513d 55%,#193f31 100%);border-radius:22px;padding:22px;position:relative;overflow:hidden;box-shadow:0 16px 36px #21533e2e}.hero:after{content:"";pointer-events:none;background:#ffffff0e;border-radius:50%;width:180px;height:180px;position:absolute;top:-95px;left:-72px}.hero>.row{z-index:1;font-size:12px;position:relative}.hero-tag{background:#ffffff1f;border:1px solid #ffffff14;padding:6px 10px;font-size:9px;font-weight:600}.hero-value{letter-spacing:-.045em;z-index:1;margin:9px 0;font-size:34px;font-weight:720;line-height:1.7;position:relative}.hero-value small{color:#d5e6dc;font-size:11px;font-weight:500}.hero-details{z-index:1;margin-top:17px;position:relative}.hero-details span{color:#c9ddd2;font-size:10px}.hero-details strong{font-size:14px;font-weight:650}.hero progress{height:7px}.balance-card,.panel{border:1px solid var(--line);box-shadow:var(--shadow-sm);background:#fffffff0}.balance-card{border-radius:17px;margin:13px 0;padding:15px 16px}.balance-card>div{gap:6px}.balance-card strong{letter-spacing:-.025em;font-size:18px;font-weight:700}.muted{color:var(--text-3);font-size:10px;line-height:1.8}.panel{border-radius:19px;margin-bottom:14px;padding:17px}.section-heading{margin-bottom:13px}.section-heading>strong{font-size:11px}.primary{color:#fff;letter-spacing:-.01em;background:linear-gradient(#2a634b,#21533f);border-radius:14px;min-height:48px;padding:11px 16px;font-size:13px;font-weight:650;transition:transform .14s,box-shadow .14s,background .14s;box-shadow:0 7px 16px #22543f26}.primary:hover{background:linear-gradient(#245a44,#1b4937);box-shadow:0 9px 20px #22543f33}.primary:active{transform:translateY(1px);box-shadow:0 4px 10px #22543f24}.text-button{color:#2f684d;border-radius:10px;padding:7px 9px;font-size:10px;font-weight:600;transition:background .14s,color .14s}.text-button:hover{color:#1e553c;background:#edf4ef}.close-button{border:1px solid var(--line);color:#425b4d;box-shadow:var(--shadow-sm);background:#fff;border-radius:12px}.transactions li{border-bottom-color:#edf1ee;padding:14px 0}.transaction-icon{color:#587363;background:#f0f5f1;border-radius:11px;flex-basis:36px;width:36px;height:36px}.transaction-description strong{color:#263d33;font-size:11px;font-weight:550;line-height:1.9}.transaction-description small{color:#839088;font-size:9px}.expense-value{color:#944a41;font-size:12px;font-weight:600}.expense-value small{font-size:9px}.empty{padding:20px 8px}.empty-symbol{color:#789080;background:#f0f5f1;border-radius:15px}.empty strong{font-size:12px;font-weight:600}.empty p{color:#849188;font-size:10px}.budget-item,.account-row,.goal-card,.debt-card,.asset-row{border-bottom-color:#edf1ee}.budget-item{padding:13px 0}.account-row{padding:17px 0}.goal-card,.debt-card,.asset-row{padding:15px 0}.budget-item strong,.budget-item>.row>span,.account-row strong,.goal-card strong,.debt-card strong,.asset-row strong{font-size:11px;font-weight:600}.account-row>span,.asset-row>span{font-size:13px;font-weight:650}.goal-status,.recurring-status,.scenario-status,.forecast-tag{border-radius:999px;font-weight:600}.metric-grid,.scenario-grid,.health-mini-grid{gap:9px}.metric-card,.scenario-card,.health-component,.forecast-card{border:1px solid var(--line);background:linear-gradient(#fff,#fafcfb);border-radius:15px;box-shadow:0 2px 8px #17362908}.net-worth-row,.rate-row,.recommendation-intro,.monthly-report{background:#f6f9f7;border:1px solid #e8eee9}.net-worth-row,.rate-row{border-radius:13px}.alert{border:1px solid #0000;border-radius:13px;padding:11px 13px;font-size:10px;line-height:1.9}.success{color:#315e43;background:#edf7ef;border-color:#dcecdf}.error{color:#8b4037;background:#fff2ee;border-color:#f2dcd5}.dashboard-alerts{gap:8px}.dashboard-ok{color:#315e43;background:#edf7ef;border:1px solid #dcecdf;border-radius:13px}.expense-dialog{background:#fbfdfb;border:1px solid #dde7e0e6;border-radius:22px;padding:22px;box-shadow:0 28px 90px #122d2247}.expense-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f211a85}.dialog-heading{margin-bottom:21px}.dialog-heading h2{font-size:17px}.expense-dialog label{color:#50685b;margin-bottom:7px;font-size:10px;font-weight:600}.expense-dialog input,.expense-dialog select{min-height:47px;color:var(--text);background:#fff;border:1px solid #dce5df;border-radius:12px;margin-bottom:16px;padding:10px 12px;font-size:14px;transition:border-color .14s,box-shadow .14s}.expense-dialog input:focus,.expense-dialog select:focus{border-color:#8eb5a0;outline:none;box-shadow:0 0 0 3px #39755717}.expense-dialog .amount-input{letter-spacing:-.03em;background:#f8faf9;min-height:76px;font-size:30px;font-weight:700}.amount-label{color:#72847a;font-size:10px}.checkbox-row{font-size:10px;line-height:1.8}.health-result,.risk-result,.scenario-preview{background:linear-gradient(145deg,#f1f7f3,#edf4ef);border:1px solid #dfeae2;border-radius:16px}.health-heading>b,.risk-result-heading>b{letter-spacing:-.035em;font-weight:750}.health-component progress{height:7px}.health-factor{font-size:9px;line-height:1.9}.recommendation-list{gap:9px}.recommendation-card{background:#fbfdfb;border-color:#e2e9e4;border-radius:15px;padding:13px;box-shadow:0 2px 8px #1a3a2c06}.recommendation-card.urgent{background:#fff7f4;border-color:#efd9d2}.recommendation-card.high{background:#fffaf0;border-color:#eadfca}.recommendation-card h3{letter-spacing:-.015em;font-size:12px;font-weight:700}.recommendation-card>p,.recommendation-action span{font-size:9.5px;line-height:2}.recommendation-action{background:#ffffffd1;border:1px solid #edf1ee}.recommendation-priority,.reminder-priority{border-radius:999px;font-weight:650}.assistant-explanation{background:#f3f8f4;border-color:#dae7dd;border-radius:14px}.assistant-title>span{color:#286246;background:#dfeee3}.assistant-answer{background:#ffffffc7;border:1px solid #e8eee9}.assistant-answer p{font-size:9.5px;line-height:2}.assistant-answer li{font-size:9px;line-height:1.9}.monthly-report{border-radius:16px;padding:14px}.monthly-report-grid>div,.monthly-plan-grid>div,.monthly-category-row{background:#ffffffd1;border:1px solid #edf1ee}.monthly-report-head strong{font-size:12px}.monthly-report-head>b{font-size:17px;font-weight:700}.monthly-reminder{background:#fbfdfb;border-color:#e2e9e4;border-radius:14px}.monthly-reminder.urgent{background:#fff7f4;border-color:#efd9d2}.monthly-reminder.high{background:#fffaf0;border-color:#eadfca}progress{background:#e8eeea;height:7px}progress::-webkit-progress-bar{background:#e8eeea}progress::-webkit-progress-value{background:linear-gradient(90deg,#326d51,#4f8968)}progress::-moz-progress-bar{background:#3d7a59}.bottom-nav{max-width:540px;padding:7px 10px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;border-top:1px solid #dde6df;box-shadow:0 -8px 28px #1835290e}.bottom-nav button{color:#78877f;border-radius:13px;min-height:54px;font-size:9px;font-weight:550;transition:background .14s,color .14s}.bottom-nav button>span{font-size:20px}.bottom-nav button[aria-current=page]{color:#235a42;background:#edf4ef;font-weight:650}.local-note{color:#8a958f;margin:20px 8px;font-size:9px;line-height:2}.footnote{color:#75857c;font-size:9.5px;line-height:2}@media (width<=380px){main{padding:0 11px}.app-header{padding:22px 15px 17px}.brand-mark{border-radius:15px;width:46px;height:46px}h1{font-size:22px}.hero{border-radius:19px;padding:18px}.hero-value{font-size:28px}.panel{border-radius:17px;padding:14px}.balance-card{padding:14px}.primary{min-height:46px;font-size:12px}.bottom-nav button{font-size:8px}.bottom-nav button>span{font-size:18px}}@media (width>=650px){.app-shell{border-radius:30px 30px 0 0;margin:24px auto}}.data-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.data-actions .primary{flex:190px}.data-actions .text-button{flex:0 auto}.csv-preview-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 14px;display:grid}.csv-preview-grid>div{border:1px solid var(--line);text-align:center;background:#fff;border-radius:13px;padding:11px}.csv-preview-grid span{color:var(--text-3);margin-bottom:4px;font-size:9px;display:block}.csv-preview-grid strong{font-size:18px;font-weight:700}.csv-errors{color:#8b4037;margin:10px 0 14px;padding:0 18px 0 0;font-size:9.5px;line-height:2}.csv-errors li{margin-bottom:4px}@media (width<=380px){.csv-preview-grid{grid-template-columns:1fr}.data-actions>*{flex-basis:100%;width:100%}}.cloud-status{color:#6f7d75;background:#f0f3f1;border:1px solid #e3e9e5;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:9px;font-weight:650;display:inline-flex}.cloud-status.connected{color:#2e6647;background:#e9f5ed;border-color:#d5e9dc}.cloud-status.connected:before{content:"";background:#3c7a57;border-radius:50%;width:6px;height:6px}.cloud-form{gap:6px;margin-top:14px;display:grid}.cloud-form label{color:#52695d;margin-top:5px;font-size:9.5px;font-weight:650}.cloud-form input{width:100%;min-height:46px;color:var(--text);font:inherit;text-align:left;direction:ltr;background:#fff;border:1px solid #dce5df;border-radius:12px;padding:10px 12px;font-size:12px;transition:border-color .14s,box-shadow .14s}.cloud-form input:focus{border-color:#8eb5a0;outline:none;box-shadow:0 0 0 3px #39755717}.cloud-account{grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;display:grid}.cloud-account>div{background:#f8faf9;border:1px solid #e6ece8;border-radius:13px;min-width:0;padding:11px}.cloud-account span{color:var(--text-3);margin-bottom:5px;font-size:9px;display:block}.cloud-account strong{overflow-wrap:anywhere;font-size:10.5px;line-height:1.8;display:block}.cloud-toggle{cursor:pointer;background:#fbfdfb;border:1px solid #e2eae4;border-radius:14px;align-items:flex-start;gap:10px;margin:8px 0 12px;padding:12px;display:flex}.cloud-toggle input{accent-color:#285f49;margin-top:3px}.cloud-toggle span{gap:4px;display:grid}.cloud-toggle b{font-size:10.5px}.cloud-toggle small{color:var(--text-3);font-size:9px;line-height:1.9}.cloud-panel .data-actions .danger{color:#8f463d}@media (width<=380px){.cloud-account{grid-template-columns:1fr}.cloud-form input{font-size:11px}.cloud-panel .data-actions>*{flex-basis:100%;width:100%}}.pwa-panel{overflow:hidden}.pwa-status{color:#51675a;white-space:nowrap;background:#f6faf7;border:1px solid #dce7df;border-radius:999px;justify-content:center;align-items:center;min-height:27px;padding:4px 9px;font-size:9px;font-weight:750;display:inline-flex}.pwa-status.installable{color:#24583f;background:#eaf5ee;border-color:#cfe4d6}.pwa-status.installed{color:#1f563c;background:#e7f3eb;border-color:#c7ddcf}.pwa-status.development{color:#725d18;background:#f7f4e8;border-color:#e8dfba}.pwa-help{color:#486052;background:#f8fbf9;border:1px solid #e0e9e3;border-radius:14px;flex-direction:column;gap:5px;margin:12px 0;padding:13px 14px;line-height:1.9;display:flex}.pwa-help strong{color:var(--text);font-size:11px}.pwa-help span{font-size:10px}.pwa-help code{direction:ltr;unicode-bidi:embed;background:#edf3ef;border-radius:6px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.pwa-help.success{background:#edf7f0;border-color:#d5e8da}.pwa-install-button{width:100%;min-height:48px;margin:9px 0 4px}.pwa-update{background:#f3f8f5;border:1px solid #d8e5dc;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:12px 13px;display:flex}.pwa-update>div{flex-direction:column;gap:3px;min-width:0;display:flex}.pwa-update strong{font-size:11px}.pwa-update small{color:#6b7d72;font-size:9px;line-height:1.7}@media (width<=480px){.pwa-update{flex-direction:column;align-items:flex-start}.pwa-update .text-button{justify-content:center;width:100%}}
