@font-face{font-family:Vazirmatn;src:url(/assets/Vazirmatn_wght_-BeciDpKm.woff2)format("woff2 supports variations"),url(/assets/Vazirmatn_wght_-BeciDpKm.woff2)format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}:root{--primary:#0f766e;--speed:1;--dur:calc(.22s * var(--speed));--primary-soft:color-mix(in srgb, var(--primary) 14%, var(--surface));--primary-strong:color-mix(in srgb, var(--primary) 80%, black);--on-primary:#fff;--accent:var(--primary);--bg:#f6f4ef;--surface:#fff;--surface-2:#f1eee7;--text:#1d2125;--muted:#5f636a;--border:#e4e0d6;--field:#8b8e93;--future:#71757c;--ok:#166534;--warn:#92400e;--danger:#b91c1c;--on-danger:#fff;--ok-soft:#dcf3e4;--warn-soft:#fdf0d5;--danger-soft:#fee2e2;--radius:20px;--shadow:0 6px 18px #0000002e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#111418;--surface:#1a1e23;--surface-2:#22272e;--text:#e8e6e1;--muted:#a4aab2;--border:#2e343c;--field:#6b7178;--future:#8d939b;--ok:#4ade80;--warn:#fbbf24;--danger:#f87171;--on-danger:#1a1e23;--ok-soft:#14351f;--warn-soft:#3a2c12;--danger-soft:#3b1d1f;--primary-soft:color-mix(in srgb, var(--primary) 30%, var(--surface));--accent:color-mix(in srgb, var(--primary) 55%, white);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-effects=false]{--shadow:none}:root[data-motion=reduced]{--dur:1ms}:root[data-motion=none] *,:root[data-motion=none] :before{transition:none!important;animation:none!important}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-variant-numeric:tabular-nums;-webkit-tap-highlight-color:transparent;margin:0;font-family:Vazirmatn,system-ui,sans-serif;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--accent);text-decoration:none}h1,h2,h3{margin:0 0 .5rem;line-height:1.4}h1{font-size:1.35rem}h2{font-size:1rem;font-weight:700}h3{font-size:1rem}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.muted{color:var(--muted)}.small{font-size:.875rem}.num{font-variant-numeric:tabular-nums}.grow{flex:1;min-width:0}.vh{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.app{background:var(--primary);flex-direction:column;min-height:100dvh;display:flex}.main{flex-direction:column;flex:1;min-width:0;display:flex}.screen{flex-direction:column;flex:1;width:100%;max-width:960px;margin:0 auto;display:flex}.screen.narrow{max-width:560px}.head{color:var(--on-primary);padding:calc(env(safe-area-inset-top) + .5rem) 1rem .9rem}.head a:not(.btn){color:inherit}.head .btn.ghost{color:var(--on-primary);border-color:var(--on-primary)}.appbar{align-items:center;gap:.25rem;min-height:56px;display:flex}.appbar h1{flex:1;margin:0;font-size:1.25rem;font-weight:700}.appbar h1.big{font-size:1.65rem;font-weight:800}.appbar .back{margin-inline-start:-.75rem}.appbar .end{align-items:center;margin-inline-end:-.75rem;display:flex}.appbar .end:has(.btn){margin-inline-end:0}.appbar .meta{margin-inline-end:.75rem;font-size:.875rem}.brand{flex:1;align-items:center;gap:.5rem;font-size:1.15rem;font-weight:800;display:flex}.brand svg{flex:none}.icon-btn{width:48px;height:48px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.icon-btn svg{width:24px;height:24px}.icon-btn.tonal{background:var(--primary-soft);width:44px;height:44px;color:var(--accent)}.icon-btn.tonal svg{width:20px;height:20px}.head .badge-count{top:8px;background:var(--on-primary);min-width:16px;height:16px;color:var(--primary);text-align:center;border-radius:8px;padding:0 3px;font-size:11px;font-weight:800;line-height:16px;position:absolute;inset-inline-start:8px}.avatar{background:var(--surface-2);width:36px;height:36px;color:var(--text);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.avatar.lg{background:var(--primary-soft);width:52px;height:52px;color:var(--accent);font-size:1.25rem}.head .avatar{background:var(--on-primary);color:var(--primary)}.steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.steps span{background:#ffffff59;border-radius:2px;height:4px}.steps span.on{background:var(--on-primary)}.head-tabs{scrollbar-width:none;gap:2px;margin:.25rem -1rem -.9rem;padding-inline:.5rem;display:flex;overflow-x:auto}.head-tabs::-webkit-scrollbar{display:none}.head-tabs a,.head-tabs button{min-height:50px;color:var(--on-primary);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:none;align-items:center;padding:0 .75rem;font-size:.9rem;font-weight:500;display:flex}.head-tabs .on{border-bottom-color:var(--on-primary);font-weight:800}.hero{flex-direction:column;gap:.75rem;display:flex}.hero .amount{align-items:baseline;gap:.5rem;display:flex}.hero .amount b{letter-spacing:-.5px;overflow-wrap:anywhere;font-size:2.75rem;font-weight:800;line-height:1.25}.hero .amount span{font-size:1rem;font-weight:600}.hero .big-line{font-size:1.65rem;font-weight:800;line-height:1.3}.hero-mark{background:var(--on-primary);width:64px;height:64px;color:var(--primary);border-radius:50%;justify-content:center;align-items:center;display:flex}.hero-mark svg{width:32px;height:32px}.hero-row{align-items:center;gap:.85rem;display:flex}.hero-row .hero-mark{flex:none;width:56px;height:56px}.sheet{background:var(--surface);border-radius:28px 28px 0 0;flex-direction:column;flex:1;min-width:0;display:flex}.sheet-body{min-width:0;padding:1.1rem 1rem calc(env(safe-area-inset-bottom) + 1.5rem);flex:1}.has-tabs .sheet-body{padding-bottom:calc(env(safe-area-inset-bottom) + 6rem)}.action-bar{z-index:5;background:var(--surface);border-top:1px solid var(--border);padding:.75rem 1rem calc(env(safe-area-inset-bottom) + .75rem);align-items:center;gap:.75rem;display:flex;position:sticky;bottom:0}.page{animation:page-in var(--dur) ease-out both}:root[data-transition=slide] .page{--from:translateX(12px)}:root[data-transition=scale] .page{--from:scale(.98)}:root[data-transition=fade] .page{--from:none}@keyframes page-in{0%{opacity:0;transform:var(--from)}}.tabbar{inset-inline:0;z-index:10;background:var(--surface);border-top:1px solid var(--border);padding:.35rem .25rem calc(env(safe-area-inset-bottom) + .35rem);justify-content:center;display:flex;position:fixed;bottom:0}.tabbar a{max-width:140px;min-height:56px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.75rem;font-weight:500;display:flex}.tabbar .pill{width:56px;height:30px;transition:background var(--dur);border-radius:15px;justify-content:center;align-items:center;display:flex}.tabbar a.active{color:var(--accent);font-weight:700}.tabbar a.active .pill{background:var(--primary-soft)}.tabbar svg{width:22px;height:22px}.grid{gap:.75rem;display:grid}.grid.two{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.grid.halves{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.thirds{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.row.between{justify-content:space-between}.row.nowrap{flex-wrap:nowrap}.stack>*+*{margin-top:.75rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:inherit;padding:.9rem 1rem;display:block}.card.row,.card.person{display:flex}.card.tint{background:var(--surface-2);border-color:#0000}.card.soft{background:var(--primary-soft);border-color:#0000}.card.warn{background:var(--warn-soft);border-color:#0000}.card.danger{background:var(--danger-soft);border-color:#0000}button.card,a.card{text-align:start;cursor:pointer;width:100%;font:inherit}.stat .label{color:var(--muted);font-size:.8rem}.stat .value{font-size:1.15rem;font-weight:700}.btn{background:var(--primary);min-height:48px;color:var(--on-primary);cursor:pointer;text-align:center;transition:transform var(--dur), background var(--dur), opacity var(--dur);border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:0 1.25rem;font-weight:700;display:inline-flex}.btn:active{transform:scale(.97)}.btn:disabled{background:var(--border);color:var(--muted);cursor:not-allowed}.btn.lg{min-height:52px;font-size:1.05rem}.btn.light{background:var(--on-primary);color:var(--primary)}.btn.tonal{background:var(--primary-soft);color:var(--accent)}.btn.ghost{color:var(--text);border-color:var(--field);background:0 0;font-weight:600}.btn.text{color:var(--accent);background:0 0;padding-inline:.5rem;font-weight:600}.btn.danger{background:var(--danger);color:var(--on-danger)}.btn.danger-line{color:var(--danger);border:1.5px solid var(--danger);background:0 0}.btn.sm{min-height:44px;padding:0 .9rem;font-size:.875rem}.btn.block{width:100%}.btn.grow{flex:1}.fab{z-index:9;bottom:calc(env(safe-area-inset-bottom) + 5.75rem);background:var(--primary);height:56px;color:var(--on-primary);cursor:pointer;box-shadow:var(--shadow);border:0;border-radius:18px;align-items:center;gap:.5rem;padding:0 1.25rem;font-weight:700;display:inline-flex;position:fixed;inset-inline-end:1rem}.fab svg{width:22px;height:22px}.field{flex-direction:column;gap:.3rem;display:flex}.field label,.field-label{font-size:.875rem;font-weight:600}.input,select.input,textarea.input{border:1.5px solid var(--field);background:var(--surface);border-radius:14px;width:100%;min-height:52px;padding:.5rem .875rem;font-size:16px}textarea.input{resize:vertical}select.input{padding-inline:.6rem}.input:focus{outline:2px solid color-mix(in srgb, var(--primary) 50%, transparent);outline-offset:1px;border-color:var(--primary)}.date-input{grid-template-columns:1fr 1.4fr 1.1fr;gap:.5rem;display:grid}.error{color:var(--danger);font-size:.9rem}.notice{background:var(--primary-soft);border-radius:16px;padding:.75rem 1rem;font-size:.9rem}.notice.warn{background:var(--warn-soft);color:var(--warn)}.notice.danger{background:var(--danger-soft);color:var(--danger)}.notice.tint{background:var(--surface-2)}.badge{white-space:nowrap;border-radius:999px;padding:.15rem .65rem;font-size:.75rem;font-weight:600;display:inline-block}.badge.ok{background:var(--ok-soft);color:var(--ok)}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.danger{background:var(--danger-soft);color:var(--danger)}.badge.muted{background:var(--surface-2);color:var(--muted)}.list{margin:0;padding:0;list-style:none}.list>li{border-bottom:1px solid var(--border);padding:.7rem 0}.list>li:last-child{border-bottom:0}.money{align-items:baseline;gap:.25rem;font-weight:700;display:inline-flex}.facts>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;min-height:42px;font-size:.9rem;display:flex}.facts>div:last-child{border-bottom:0}.facts>div>:first-child{color:var(--muted);flex:none}.facts>div>:last-child{text-align:end;overflow-wrap:anywhere;min-width:0;font-weight:600}.line{border:0;border-bottom:1px solid var(--border);width:100%;color:inherit;text-align:start;font:inherit;cursor:pointer;background:0 0;padding:.75rem 0;display:block}.line:last-child{border-bottom:0}.person{align-items:center;gap:.75rem;display:flex}.strip{grid-template-columns:repeat(12,minmax(0,1fr));gap:3px;display:grid}.strip span{border:1.5px solid var(--border);height:26px;color:var(--future);border-radius:13px;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.strip .paid{background:var(--primary);color:var(--on-primary);border-color:#0000}.strip .pending{border:1.5px dashed var(--warn);color:var(--warn)}.strip .open{background:var(--danger-soft);border-color:var(--danger);color:var(--danger)}.strip .now{outline:2px solid var(--text);outline-offset:1px}.fund{color:inherit;border-bottom:1px solid var(--border);flex-direction:column;gap:.5rem;padding:.75rem 0;display:flex}.seg{background:var(--surface-2);border-radius:18px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;padding:4px;display:grid}.seg a,.seg button{min-height:56px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;font-size:.75rem;display:flex}.seg b{font-size:.95rem;font-weight:700}.seg .on{background:var(--surface);box-shadow:0 1px 2px #0000001f}.month{border:1.5px solid var(--border);cursor:pointer;min-height:64px;transition:border-color var(--dur);border-radius:18px;align-items:center;gap:.75rem;padding:.5rem 1rem;display:flex}.month:has(input:checked){border-color:var(--primary)}.month input{width:22px;height:22px;accent-color:var(--primary);flex:none}.month .amt{margin-inline-start:auto;font-weight:700}.sources{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.source{border:1.5px dashed var(--field);cursor:pointer;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:.4rem;min-height:96px;font-size:.875rem;font-weight:600;display:flex;position:relative}.source:focus-within{outline:2px solid var(--primary);outline-offset:1px}.source svg{width:26px;height:26px;color:var(--accent)}.source input{opacity:0;cursor:pointer;position:absolute;inset:0}.preview{border:1.5px solid var(--primary);border-radius:18px;align-items:center;gap:.75rem;padding:.6rem;display:flex}.preview img,.preview .doc{object-fit:cover;background:var(--surface-2);border-radius:10px;flex:none;justify-content:center;align-items:center;width:72px;height:96px;font-size:.8rem;font-weight:700;display:flex}.receipt-img{object-fit:contain;background:var(--surface-2);border:1px solid var(--border);border-radius:16px;width:100%;max-height:320px;display:block}.timeline{margin:0;padding:0;list-style:none}.timeline li{padding-inline-start:1.6rem;padding-bottom:.85rem;position:relative}.timeline li:last-child{padding-bottom:0}.timeline li:before{content:"";inset-inline-start:0;border:2px solid var(--field);background:var(--surface);z-index:1;border-radius:50%;width:14px;height:14px;position:absolute;top:.35rem}.timeline li:after{content:"";inset-inline-start:6px;background:var(--border);width:2px;position:absolute;top:.5rem;bottom:-.35rem}.timeline li:last-child:after{display:none}.timeline li.done:before{background:var(--primary);border-color:var(--primary)}.timeline li.done:after{background:var(--primary)}.timeline li.now:before{border:2px dashed var(--warn)}.timeline b{font-weight:700;display:block}.steps-list{counter-reset:s;margin:0;padding:0;list-style:none}.steps-list li{counter-increment:s;gap:.75rem;padding-block:.35rem;display:flex}.steps-list li:before{content:counter(s);color:var(--accent);font-weight:800}.pips{gap:4px;display:flex}.pips span{background:var(--primary);border-radius:50%;width:18px;height:18px}.pips span.off{border:1.5px dashed var(--primary);background:0 0}.progress{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:3px;display:grid}.progress span{background:#ffffff4d;border-radius:4px;height:8px}.progress span.on{background:var(--on-primary)}.panel{border-radius:var(--radius);background:var(--primary);color:var(--on-primary);flex-direction:column;gap:.5rem;padding:1rem;display:flex}details.more>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:start;border-bottom:1px solid var(--border);white-space:nowrap;padding:.55rem .5rem}th{color:var(--muted);font-size:.8rem;font-weight:600}.chips{flex-wrap:wrap;gap:.5rem;display:flex}.chips.scroll{scrollbar-width:none;flex-wrap:nowrap;margin-inline:-1rem;padding-inline:1rem;overflow-x:auto}.chips.scroll::-webkit-scrollbar{display:none}.chip{border:1px solid var(--field);background:var(--surface);cursor:pointer;border-radius:22px;flex:none;align-items:center;gap:.4rem;min-height:44px;padding:0 1rem;font-size:.875rem;font-weight:600;display:inline-flex}.chip.on{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.swatch{border:7px solid var(--surface);cursor:pointer;border-radius:50%;width:44px;height:44px;box-shadow:0 0 0 2px #0000}.swatch.on{box-shadow:0 0 0 2px var(--text)}.modal-bg{z-index:50;animation:fade var(--dur) both;background:#11141880;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{background:var(--surface);width:100%;max-width:560px;max-height:92dvh;padding:.6rem 1.25rem calc(env(safe-area-inset-bottom) + 1.25rem);animation:up var(--dur) ease-out both;border-radius:28px 28px 0 0;overflow:auto}.modal .handle{background:var(--field);opacity:.6;border-radius:2px;width:36px;height:4px;margin:0 auto .75rem;display:block}.modal h2{margin:0;font-size:1.15rem}.modal-title{margin-bottom:.75rem}@media (width>=640px){.modal-bg{align-items:center}.modal{border-radius:28px}}@keyframes fade{0%{opacity:0}}@keyframes up{0%{opacity:0;transform:translateY(24px)}}.toast{z-index:60;bottom:calc(env(safe-area-inset-bottom) + 5.5rem);background:var(--text);max-width:420px;color:var(--surface);animation:up var(--dur) both;text-align:center;border-radius:12px;margin:auto;padding:.8rem 1rem;position:fixed;inset-inline:1rem}.empty{text-align:center;color:var(--muted);padding:2rem 1rem}.report{max-width:1100px;margin:0 auto;padding:1rem}.report h1{margin:1rem 0 .25rem}.report table{border-collapse:collapse;width:100%;margin-top:1rem;font-size:.85rem}.report th,.report td{border:1px solid var(--border);text-align:start;padding:.35rem .5rem}.report th{background:var(--surface-2,var(--surface))}.report tr.total td{font-weight:700}.wrap{flex-wrap:wrap;gap:.5rem}@media print{.no-print{display:none!important}.report{color:#000;max-width:none;padding:0}.report th,.report td{border-color:#999}.report thead{display:table-header-group}.report tr{break-inside:avoid}body:has(.modal) *{visibility:hidden}.modal,.modal *{visibility:visible}.modal{max-height:none;animation:none;position:absolute;inset:0}.modal .btn,.modal textarea,.modal input{display:none}}.dot{background:var(--primary);border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}
