@import url('https://fonts.googleapis.com/css2?family=Lalezar&family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root{--bg:#f4f5ef;--paper:#fff;--paper-2:#fafbf7;--ink:#202d28;--muted:#78847d;--line:#e7ebe4;--green:#286451;--green-2:#eaf3ee;--lime:#c8de79;--red:#c6594b;--red-bg:#fbefec;--amber:#a76b23;--amber-bg:#fbf2e4;--blue:#466f91;--blue-bg:#edf3f7;--shadow:0 12px 36px #24392d0b;--radius:16px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Vazirmatn',sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #79a899;outline-offset:2px}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:flex}.sidebar{width:250px;background:#f9faf5;border-left:1px solid var(--line);padding:25px 16px 18px;display:flex;flex-direction:column;position:fixed;right:0;top:0;bottom:0;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 30px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:13px;font:26px 'Lalezar',sans-serif;box-shadow:inset 0 -4px #143f32}.brand b{display:block;font:23px 'Lalezar',sans-serif;line-height:1.1}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.side-label{font-size:10px;color:#9aa39d;font-weight:700;padding:0 13px 9px;letter-spacing:.06em}.tools-label{margin-top:24px}.main-nav{display:grid;gap:4px}.nav-item{border:0;background:transparent;text-align:right;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#69756e;transition:.2s;font-weight:500}.nav-item:hover{background:#edf1eb;color:var(--green)}.nav-item.active{background:#e8f1eb;color:var(--green);font-weight:700}.nav-icon{font-size:18px;width:22px;text-align:center;line-height:1}.nav-count{margin-right:auto;border-radius:20px;background:#e2eee6;color:var(--green);padding:0 7px;font-size:10px;font-style:normal}.sidebar-bottom{margin-top:auto}.privacy-note{border-top:1px solid var(--line);padding:17px 7px;display:flex;gap:10px;align-items:center;color:var(--green)}.privacy-note>span{font-size:22px}.privacy-note b,.privacy-note small{display:block}.privacy-note b{font-size:11px}.privacy-note small{font-size:9px;color:var(--muted);margin-top:2px}.side-add{width:100%;background:var(--green);color:white;border:0;border-radius:10px;padding:11px;font-weight:700}.main-area{width:calc(100% - 250px);margin-right:250px;min-height:100vh}.topbar{height:72px;background:#f9faf5bf;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:4;backdrop-filter:blur(14px)}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#9aa39d;font-size:12px}.breadcrumbs b{color:var(--ink);font-weight:600}.crumb-sep{color:#c6cec7}.top-actions{display:flex;align-items:center;gap:11px}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:11px;background:var(--paper);font-size:18px;color:#526159;display:grid;place-items:center;position:relative}.icon-button:hover{border-color:#adc5b8;color:var(--green)}.avatar{width:34px;height:34px;border:0;border-radius:50%;background:#e7dbc8;color:#6a4930;font-weight:700}.alert-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#d85b4d;border:1px solid var(--paper);right:5px;top:5px;display:none}.content{max-width:1240px;margin:0 auto;padding:34px 38px 70px}.mobile-brand,.mobile-nav{display:none}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:23px}.page-heading h1{font:30px 'Lalezar',sans-serif;margin:0;line-height:1.35;letter-spacing:.1px}.page-heading p{color:var(--muted);font-size:12px;margin:5px 0 0}.eyebrow{font-size:10px;color:var(--green);font-weight:700;letter-spacing:.04em}.actions{display:flex;gap:8px;align-items:center}.button{border:1px solid var(--line);padding:9px 14px;border-radius:10px;background:var(--paper);font-size:12px;font-weight:600;transition:.18s;white-space:nowrap}.button:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#214f40}.button.subtle{background:transparent}.button.danger{color:var(--red);border-color:#efd1cb}.button.small{font-size:10px;padding:6px 9px}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px 18px 16px;min-height:139px;position:relative;overflow:hidden}.stat-card:after{content:'';width:82px;height:82px;border-radius:50%;position:absolute;left:-26px;bottom:-36px;background:var(--orb,#edf3ee)}.stat-head{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-icon{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:var(--orb,#edf3ee);color:var(--accent,var(--green));font-size:16px}.stat-value{font-size:20px;font-weight:700;margin:16px 0 2px;letter-spacing:-.4px;direction:ltr;text-align:right}.stat-value small{font-size:10px;color:var(--muted);font-weight:500;margin-right:4px}.stat-foot{font-size:10px;color:var(--muted)}.stat-foot .good{color:var(--green);font-weight:600}.stat-card.red{--orb:var(--red-bg);--accent:var(--red)}.stat-card.amber{--orb:var(--amber-bg);--accent:var(--amber)}.stat-card.blue{--orb:var(--blue-bg);--accent:var(--blue)}.dashboard-main{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:16px;margin-bottom:16px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:17px 19px 12px}.panel-head h2{margin:0;font-size:13px;font-weight:700}.panel-head p{margin:2px 0 0;font-size:10px;color:var(--muted)}.text-link{border:0;background:transparent;color:var(--green);font-size:10px;font-weight:700}.balance-panel{padding-bottom:14px}.balance-total{padding:0 20px 8px;font-size:24px;font-weight:700}.balance-total small{font-size:10px;color:var(--muted);font-weight:500}.chart-wrap{height:160px;padding:2px 14px 0}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-grid{stroke:var(--line);stroke-dasharray:3 5}.chart-label{fill:#98a29b;font:9px 'Vazirmatn'}.chart-line{fill:none;stroke:var(--green);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-fill{fill:url(#fill)}.chart-dot{fill:var(--paper);stroke:var(--green);stroke-width:2}.chart-zero{stroke:#ccd4cd;stroke-dasharray:3 5}.schedule-panel{padding-bottom:8px}.schedule-list{padding:0 15px 8px;display:grid;gap:0}.schedule-item{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:11px 3px;border-top:1px solid var(--line)}.date-tile{border-radius:9px;background:var(--amber-bg);color:var(--amber);text-align:center;padding:3px 0;font-size:9px;line-height:1.25}.date-tile b{display:block;font-size:15px}.date-tile.green{background:var(--green-2);color:var(--green)}.date-tile.red{background:var(--red-bg);color:var(--red)}.schedule-item b{display:block;font-size:10px}.schedule-item small{color:var(--muted);font-size:9px}.schedule-amount{font-size:10px;font-weight:700;white-space:nowrap}.schedule-empty{color:var(--muted);font-size:11px;padding:14px}.lower-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:16px}.transactions-table{width:100%;border-collapse:collapse}.transactions-table th{text-align:right;background:var(--paper-2);color:#9aa39d;font-size:9px;font-weight:600;padding:9px 18px;white-space:nowrap}.transactions-table td{padding:11px 18px;border-top:1px solid var(--line);font-size:10px;white-space:nowrap}.transactions-table td:first-child{font-weight:600}.transactions-table tr:hover td{background:#fbfcf9}.tx-title{display:flex;align-items:center;gap:9px}.tx-icon{width:27px;height:27px;border-radius:8px;background:var(--green-2);color:var(--green);display:grid;place-items:center;font-size:14px}.tx-icon.expense{background:var(--red-bg);color:var(--red)}.amount-in{color:var(--green);font-weight:700;direction:ltr;text-align:right}.amount-out{color:var(--ink);font-weight:600;direction:ltr;text-align:right}.category-list{padding:2px 19px 17px}.category-row{margin-top:14px}.category-title{display:flex;justify-content:space-between;font-size:10px;margin-bottom:6px}.category-title span:last-child{color:var(--muted)}.progress{height:6px;border-radius:10px;background:#edf0ec;overflow:hidden}.progress i{display:block;height:100%;border-radius:10px;background:var(--bar,var(--green))}.empty-state{text-align:center;padding:40px 18px;color:var(--muted)}.empty-mark{width:55px;height:55px;border-radius:19px;background:var(--green-2);color:var(--green);display:grid;place-items:center;margin:0 auto 12px;font-size:25px}.empty-state h3{color:var(--ink);font-size:14px;margin:0 0 5px}.empty-state p{font-size:11px;margin:0 auto 15px;max-width:300px}.table-wrap{overflow:auto}.page-controls{display:flex;gap:8px;align-items:center}.search{border:1px solid var(--line);background:var(--paper);padding:8px 11px;border-radius:9px;font-size:11px;width:180px}.filter-select,.field select,.field input,.field textarea{border:1px solid var(--line);background:var(--paper);padding:9px 10px;border-radius:9px;font-size:11px;color:var(--ink);width:100%}.section-panel{margin-bottom:15px}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:16px}.mini-metric{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:14px}.mini-metric span{display:block;font-size:10px;color:var(--muted)}.mini-metric b{display:block;margin-top:5px;font-size:16px}.check-status,.status-pill{display:inline-flex;align-items:center;border-radius:30px;padding:3px 8px;font-size:9px;font-weight:600;background:var(--amber-bg);color:var(--amber)}.status-pill.paid,.check-status.paid{background:var(--green-2);color:var(--green)}.status-pill.overdue{background:var(--red-bg);color:var(--red)}.segmented{display:flex;gap:3px;background:#eef1ec;padding:3px;border-radius:9px}.segmented button{border:0;background:transparent;color:var(--muted);font-size:10px;padding:6px 10px;border-radius:7px}.segmented button.active{background:var(--paper);color:var(--green);box-shadow:0 1px 4px #20352a12}.budget-card{padding:16px 18px;margin:0 16px 12px;border:1px solid var(--line);border-radius:12px}.budget-head{display:flex;justify-content:space-between;font-size:11px}.budget-head b{font-size:12px}.budget-meta{display:flex;justify-content:space-between;margin-top:7px;color:var(--muted);font-size:9px}.alert-card{padding:14px 17px;display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--line)}.alert-symbol{width:34px;height:34px;border-radius:10px;background:var(--amber-bg);color:var(--amber);display:grid;place-items:center;flex:none}.alert-symbol.red{background:var(--red-bg);color:var(--red)}.alert-copy{flex:1}.alert-copy b{display:block;font-size:11px}.alert-copy p{margin:3px 0;color:var(--muted);font-size:10px}.alert-copy small{font-size:9px;color:#9aa39d}.alert-actions{display:flex;gap:5px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-card{padding:19px}.settings-card h2{font-size:13px;margin:0 0 5px}.settings-card>p{color:var(--muted);font-size:10px;margin:0 0 16px}.field{margin-bottom:12px}.field label{font-size:10px;font-weight:600;display:block;margin-bottom:5px}.field small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.setting-row{padding:12px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px}.setting-row small{display:block;color:var(--muted);font-size:9px}.switch{width:38px;height:21px;border:0;border-radius:20px;background:#d7ded8;padding:3px;transition:.2s}.switch:after{content:'';display:block;width:15px;height:15px;border-radius:50%;background:white;transition:.2s}.switch.on{background:var(--green)}.switch.on:after{transform:translateX(-17px)}.tip-box{background:var(--green-2);border-radius:11px;color:#466f5d;padding:12px;font-size:10px}.report-chart{height:240px;padding:12px 18px}.report-chart svg{width:100%;height:100%}.transaction-delete{border:0;background:transparent;color:#a9b0aa;font-size:16px}.transaction-delete:hover{color:var(--red)}.modal{width:min(510px,calc(100% - 24px));border:1px solid var(--line);border-radius:18px;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #15291f33}.modal::backdrop{background:#17251f75;backdrop-filter:blur(3px)}.modal form{padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:3px 0 0;font:23px 'Lalezar',sans-serif}.close-modal{font-size:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.field.wide{grid-column:1/-1}.field textarea{resize:vertical;min-height:68px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:15px;margin-top:6px}.toast{position:fixed;bottom:25px;left:25px;z-index:20;background:#24392f;color:white;border-radius:10px;padding:11px 16px;font-size:11px;box-shadow:var(--shadow);opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.install-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--green);color:white;border-radius:14px;padding:13px 16px;margin:0 0 15px}.install-banner b{font-size:11px}.install-banner small{display:block;color:#d7e6dd;font-size:9px}.install-banner .button{background:#fff;color:var(--green)}.hidden{display:none!important}.dark{--bg:#151c19;--paper:#1d2722;--paper-2:#222d27;--ink:#e8eee9;--muted:#9aa89f;--line:#2b3831;--green:#81b29b;--green-2:#263c31;--lime:#c8de79;--red:#ec8679;--red-bg:#422c29;--amber:#e2b36d;--amber-bg:#3b3326;--blue:#91b4d0;--blue-bg:#293943;--shadow:0 12px 36px #0003;color-scheme:dark}.dark .sidebar,.dark .topbar{background:#19221d}.dark .nav-item:hover{background:#26352c}.dark .nav-item.active{background:#263c31}.dark .avatar{background:#493d30;color:#f0cda6}.dark .stat-card:after{opacity:.45}.dark .privacy-note small{color:var(--muted)}.dark .transactions-table tr:hover td{background:#202b25}.dark .chart-label{fill:#91a096}.dark .progress{background:#303a34}.dark .install-banner .button{background:#fff;color:#214f40}
@media(max-width:1120px){.overview-grid{grid-template-columns:repeat(2,1fr)}.dashboard-main,.lower-grid{grid-template-columns:1fr}.schedule-panel{order:-1}.stat-card{min-height:124px}}
@media(max-width:760px){body{font-size:13px}.sidebar{display:none}.main-area{width:100%;margin:0;padding-bottom:70px}.topbar{height:60px;padding:0 17px}.mobile-brand{display:flex;align-items:center;gap:8px;font:20px 'Lalezar',sans-serif}.mobile-brand .brand-mark{width:32px;height:32px;border-radius:10px;font-size:21px}.breadcrumbs{display:none}.top-actions{gap:7px}.top-actions .icon-button{width:32px;height:32px}.content{padding:25px 15px 35px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:17px}.page-heading h1{font-size:26px}.page-heading p{font-size:10px}.page-heading .button{font-size:10px;padding:8px 10px}.overview-grid{gap:9px;margin-bottom:11px}.stat-card{padding:13px;min-height:117px;border-radius:13px}.stat-head{font-size:10px}.stat-icon{width:26px;height:26px}.stat-value{font-size:17px;margin-top:12px}.stat-foot{font-size:9px}.dashboard-main,.lower-grid{gap:11px;margin-bottom:11px}.panel{border-radius:13px}.panel-head{padding:14px 14px 10px}.chart-wrap{height:135px;padding:0 8px}.transactions-table th{padding:9px 11px}.transactions-table td{padding:10px 11px}.transactions-table .hide-mobile{display:none}.category-list{padding:2px 14px 15px}.schedule-list{padding:0 11px 7px}.schedule-item{grid-template-columns:36px 1fr auto;gap:8px;padding:10px 3px}.metric-row{gap:7px}.mini-metric{padding:11px}.mini-metric b{font-size:13px}.page-controls{flex-wrap:wrap}.page-controls .search{flex:1;min-width:125px}.settings-grid{grid-template-columns:1fr}.mobile-nav{display:flex;position:fixed;z-index:8;bottom:0;right:0;left:0;height:63px;background:var(--paper);border-top:1px solid var(--line);justify-content:space-around;align-items:center;padding:0 10px max(env(safe-area-inset-bottom),0px);box-shadow:0 -8px 25px #23392b0a}.mobile-nav button{border:0;background:transparent;color:var(--muted);font-size:9px;display:flex;flex-direction:column;align-items:center;gap:1px;min-width:48px}.mobile-nav button span{font-size:19px;line-height:1.1}.mobile-nav button.active{color:var(--green);font-weight:700}.mobile-nav .mobile-add{width:43px;height:43px;border-radius:15px;background:var(--green);color:white;font-size:24px;display:grid;place-items:center;margin-top:-22px;box-shadow:0 5px 14px #28645145}.toast{bottom:75px;left:12px;right:12px;text-align:center}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.modal form{padding:18px}.modal{max-height:88vh;overflow:auto}.install-banner{align-items:flex-start}.actions .button{white-space:normal}}
@media(max-width:360px){.content{padding-right:11px;padding-left:11px}.stat-card{padding:10px}.stat-value{font-size:15px}.top-actions{gap:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* A Persian household ledger: ink, ruled paper and a coral due-date spine. */
:root{--bg:#f0eee7;--paper:#fbfaf5;--paper-2:#f4f1e9;--ink:#1e302c;--muted:#78827a;--line:#e3e1d6;--green:#1c574a;--green-2:#e8eee7;--lime:#d5df91;--red:#cf7056;--red-bg:#f8ece6;--amber:#a97839;--amber-bg:#f6f0e2;--blue:#667f8d;--blue-bg:#e9eff0;--shadow:0 14px 40px #23372b0a;--radius:13px}
body{background-color:var(--bg);background-image:radial-gradient(#5163530a .7px,transparent .7px);background-size:8px 8px;color:var(--ink);font-size:14px;letter-spacing:-.1px}
.sidebar{background:#183d37;border:0;color:#eef3ed;padding:28px 17px 18px;box-shadow:inset -1px 0 #ffffff0b}
.brand{padding:0 8px 37px}.brand-mark{background:#cf7056;box-shadow:inset 0 -4px #a94e3b;border-radius:12px}.brand b{font-size:25px;color:#fff}.brand small{color:#a8c0b5}
.side-label{color:#78978a;font-size:10px;padding-bottom:11px}.tools-label{margin-top:28px}.main-nav{gap:6px}.nav-item{color:#afc1b8;padding:11px 12px;border-radius:9px;font-size:12px;position:relative}.nav-item:hover{background:#ffffff0d;color:#fff}.nav-item.active{background:#ffffff12;color:#fff;font-weight:700}.nav-item.active:before{content:'';position:absolute;right:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:#e28365}.nav-icon{font-size:19px;color:#a8c0b5}.nav-item.active .nav-icon{color:#f09a7e}.nav-count{background:#d98164;color:#fff}.privacy-note{border-color:#ffffff19;color:#d6e4dc;padding:18px 7px}.privacy-note small{color:#9fb5a9}.side-add{background:#d2765b;border:1px solid #e79a80;border-radius:9px;box-shadow:0 6px 16px #071b1630}.side-add:hover{background:#dd8266}
.main-area{background:transparent}.topbar{background:#f0eee7e8;border-color:#dfded5;padding:0 clamp(22px,4vw,58px);height:68px}.content{max-width:1420px;padding:34px clamp(22px,4vw,58px) 72px}.breadcrumbs{font-size:11px}.icon-button{border-radius:10px;background:var(--paper);border-color:#dfded5;color:#4f655c}.avatar{background:#d9c9aa;color:#345248}
.page-heading{margin-bottom:23px}.page-heading h1,.dashboard-intro h1{font:32px 'Lalezar',sans-serif;letter-spacing:0;color:#213a32}.page-heading p,.dashboard-intro p{font-size:12px;color:#7d8980}.eyebrow{font-size:10px;color:#a96e54}.button{border-radius:8px;border-color:#dddcd1;padding:9px 14px;font-size:11px}.button.primary{background:#1c574a;border-color:#1c574a;box-shadow:0 5px 13px #1c574a1c}.button.primary:hover{background:#15483d}.button.subtle{background:transparent}.panel,.stat-card,.mini-metric{background:var(--paper);border-color:#e2e0d7;border-radius:12px;box-shadow:0 5px 18px #27372c05}.panel-head{padding:17px 19px 12px}.panel-head h2{font-size:13px;color:#273b33}.panel-head p{font-size:10px;color:#8c958d}.text-link{color:#a85e47;font-size:10px}.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 15px}.stat-card{min-height:102px;padding:13px 16px 12px;border-radius:11px}.stat-card:after{left:-25px;bottom:-43px;width:94px;height:94px;opacity:.45}.stat-head{font-size:10px;color:#68776e}.stat-icon{width:27px;height:27px;border-radius:8px}.stat-value{font-size:19px;margin:7px 0 0;font-variant-numeric:tabular-nums}.stat-foot{font-size:9px}.stat-card.red{--orb:#f8ece6;--accent:#c56f56}.stat-card.amber{--orb:#f5efdf;--accent:#a97839}.stat-card.blue{--orb:#e9eff0;--accent:#667f8d}
.dashboard-intro{display:flex;justify-content:space-between;align-items:end;margin:0 0 19px}.dashboard-intro .eyebrow{display:flex;align-items:center;gap:8px;font-weight:700}.dashboard-intro .eyebrow i{width:4px;height:4px;border-radius:50%;background:#ce795e}.dashboard-intro h1{font-size:29px;line-height:1.3;margin:4px 0 2px}.dashboard-intro p{margin:0}.intro-action{margin-bottom:3px}
.ledger-hero{min-height:220px;position:relative;isolation:isolate;overflow:hidden;border-radius:14px;background:#1a4940;color:#f7f4e9;display:flex;align-items:center;justify-content:space-between;padding:25px 31px;margin-bottom:15px;box-shadow:0 15px 28px #183d371c}.ledger-hero:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.18;background:repeating-linear-gradient(to bottom,transparent 0 38px,#dce9df 39px,transparent 40px);mask-image:linear-gradient(90deg,#000,transparent 86%)}.ledger-hero:after{content:'';position:absolute;right:0;top:0;bottom:0;width:6px;background:#d3775a}.ledger-copy{position:relative;z-index:1}.ledger-kicker{font-size:10px;color:#b8d2c5;display:flex;align-items:center;gap:8px}.ledger-kicker i{width:7px;height:7px;border-radius:50%;background:#d68669;box-shadow:0 0 0 4px #d6866926}.ledger-balance{font:46px 'Vazirmatn',sans-serif;font-weight:700;line-height:1.35;letter-spacing:-1.4px;font-variant-numeric:tabular-nums;margin-top:6px}.ledger-balance small{font-size:12px;letter-spacing:0;font-weight:500;color:#bbd0c5;margin-right:8px}.ledger-copy>p{color:#a9c4b7;font-size:10px;margin:0 0 15px}.ledger-actions{display:flex;align-items:center;gap:18px}.hero-button{border:0;border-radius:7px;background:#f2ead7;color:#214d41;font-size:10px;font-weight:700;padding:9px 13px}.hero-button:hover{background:#fff8e9}.hero-link{border:0;background:transparent;color:#d6e3dc;font-size:10px;padding:7px}.hero-link span{color:#e69a7e;font-size:16px;vertical-align:-1px;margin-right:5px}.ledger-ornament{position:absolute;left:48px;top:50%;width:175px;height:175px;transform:translateY(-50%);border:1px solid #e6ede31c;border-radius:50%;display:grid;place-items:center;color:#e9e9d6}.ledger-ornament:before,.ledger-ornament:after{content:'';position:absolute;border:1px solid #e6ede318;border-radius:50%;inset:13px}.ledger-ornament:after{inset:27px}.ledger-seal{width:67px;height:67px;border-radius:50%;display:grid;place-items:center;border:1px solid #efd5ab68;color:#f0d3a4;font:35px 'Lalezar',sans-serif;z-index:1;background:#1a4940}.ledger-seal span{font-size:18px;margin-right:-8px}.ledger-lines{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:21px;opacity:.18;transform:rotate(-25deg)}.ledger-lines i{height:240px;width:1px;background:#f0e9d3}.ledger-ornament small{position:absolute;bottom:-17px;color:#a9c4b7;font-size:8px;letter-spacing:.5px}
.dashboard-main{grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr);gap:14px;margin:0 0 14px}.lower-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);gap:14px}.balance-panel{padding-bottom:7px}.chart-legend{display:flex;align-items:center;justify-content:space-between;padding:5px 20px 0;font-size:9px;color:#7b887e}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend span i{width:8px;height:8px;border-radius:50%;background:#1c574a}.chart-legend small{font-size:9px;color:#a16b52}.chart-wrap{height:150px;padding:2px 14px 0}.chart-line{stroke:#1c574a;stroke-width:2.4}.chart-dot{stroke:#1c574a}.schedule-list{padding:0 16px 10px}.schedule-item{grid-template-columns:43px 1fr auto;gap:11px;padding:13px 2px;border-color:#ece9df}.date-tile{border-radius:7px;background:#f7eddf;color:#a7723e;padding:5px 0}.date-tile b{font-size:16px}.schedule-item b{font-size:11px}.schedule-item small{font-size:9px}.schedule-amount{font-size:10px}.schedule-empty{padding:21px 9px 17px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;color:#68786f;font-size:10px}.schedule-empty .empty-dash{font-size:24px;color:#d17a60;line-height:1}.schedule-empty>b{font-size:11px;color:#364b41}.schedule-empty>small{font-size:9px;color:#89948a}.empty-actions{display:flex;gap:7px;margin-top:8px}.empty-actions .button{background:#f4f1e8}.empty-actions .button:first-child{color:#1c574a}.empty-actions .button:last-child{color:#b45e47}
.transactions-table th{background:#f6f4ed;color:#8b938a;font-size:9px}.transactions-table td{border-color:#edeae1;padding:11px 15px}.transactions-table tr:hover td{background:#f9f7f1}.tx-icon{border-radius:7px;background:#e8eee7}.tx-icon.expense{background:#f8ece6}.empty-state{padding:28px 15px}.empty-state .empty-mark{border-radius:15px;background:#e9eee6}.category-list{padding:2px 19px 18px}.category-row{margin-top:14px}.category-title{font-size:10px}.progress{height:5px;background:#e9e7dd}.install-banner{background:#b95e48;border-radius:9px;padding:12px 16px;margin:0 0 16px}.install-banner small{color:#f5d8cb}.install-banner .button{border:0;background:#fff5e8;color:#9d4e3c}
.mini-metric{border-radius:10px;padding:13px 15px}.mini-metric span{font-size:9px}.mini-metric b{font-variant-numeric:tabular-nums}.metric-row{gap:10px}.section-panel{margin-bottom:14px}.settings-card h2{font-size:14px}.tip-box{border-radius:8px;background:#e9eee7;color:#496658}.modal{border-radius:14px;box-shadow:0 28px 90px #12281f55}.modal-head h2{font-size:25px}.toast{border-radius:8px;background:#183d37}.status-pill{border-radius:5px}
.dark{--bg:#121b18;--paper:#1a2822;--paper-2:#202f28;--ink:#e8eee7;--muted:#9dac9f;--line:#2c3d34;--green:#89b6a1;--green-2:#243b31;--red:#e88b72;--red-bg:#3d2d28;--amber:#ddb373;--amber-bg:#393327;--blue:#9bb3bb;--blue-bg:#29383b;--shadow:0 12px 36px #0003}
.dark body{background-image:radial-gradient(#d8e5dc08 .7px,transparent .7px)}.dark .sidebar{background:#0e211d}.dark .topbar{background:#141f1bde;border-color:#2c3d34}.dark .page-heading h1,.dark .dashboard-intro h1,.dark .panel-head h2{color:#e6ede6}.dark .ledger-hero{background:#153d35}.dark .ledger-seal{background:#153d35}.dark .transactions-table th{background:#202e28}.dark .transactions-table tr:hover td{background:#202e28}.dark .schedule-empty>b{color:#e2e9e1}.dark .empty-actions .button{background:#25362e}.dark .tip-box{background:#243b31;color:#bad0c1}.dark .progress{background:#303d35}.dark .chart-legend{color:#a9b7ac}
@media(max-width:1120px){.dashboard-main,.lower-grid{grid-template-columns:1fr}.schedule-panel{order:initial}.ledger-ornament{left:35px}.ledger-hero{min-height:205px}}
@media(max-width:760px){.topbar{background:#f0eee7f2}.dark .topbar{background:#141f1bf2}.content{padding:22px 15px 35px}.dashboard-intro{align-items:flex-start;margin-bottom:14px}.dashboard-intro h1{font-size:25px}.dashboard-intro p{font-size:10px;max-width:230px}.dashboard-intro .eyebrow{font-size:9px}.intro-action{padding:8px 10px;font-size:10px}.ledger-hero{min-height:194px;padding:20px 20px 20px 17px;margin-bottom:11px;border-radius:11px}.ledger-hero:after{width:4px}.ledger-balance{font-size:37px}.ledger-copy>p{font-size:9px;max-width:240px}.ledger-ornament{left:-56px;width:150px;height:150px;opacity:.68}.ledger-ornament small{display:none}.ledger-actions{gap:8px}.hero-button{font-size:9px;padding:8px 10px}.hero-link{font-size:9px}.overview-grid{gap:8px;margin:10px 0 11px}.stat-card{padding:11px 12px;min-height:91px}.stat-value{font-size:16px}.stat-foot{font-size:8px}.dashboard-main,.lower-grid{gap:10px;margin-bottom:10px}.chart-wrap{height:130px}.chart-legend{padding-right:14px;padding-left:14px}.schedule-list{padding-right:12px;padding-left:12px}.panel-head{padding:14px 14px 10px}.panel-head h2{font-size:12px}.transactions-table td{padding:10px 11px}.page-heading h1{font-size:26px}.install-banner{padding:11px 12px}.install-banner .button{font-size:9px}.mini-metric{padding:10px}.metric-row{gap:7px}}
@media(max-width:390px){.dashboard-intro h1{font-size:22px}.dashboard-intro .eyebrow{font-size:8px}.intro-action{padding:7px 8px}.ledger-balance{font-size:33px}.ledger-ornament{left:-79px;opacity:.5}.stat-card{padding:9px}.stat-head{font-size:9px}.stat-value{font-size:15px}}
