@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Nastaliq Urdu;font-style:normal;font-display:swap;font-weight:400;src:url(./noto-nastaliq-urdu-arabic-400-normal-BVDOj1dq.woff2) format("woff2"),url(./noto-nastaliq-urdu-arabic-400-normal-Df9iHKj9.woff) format("woff")}@font-face{font-family:Noto Nastaliq Urdu;font-style:normal;font-display:swap;font-weight:700;src:url(./noto-nastaliq-urdu-arabic-700-normal-CV4fHIsl.woff2) format("woff2"),url(./noto-nastaliq-urdu-arabic-700-normal-DLTMJhMG.woff) format("woff")}:root{--ink: #050F09;--night: #01291B;--card-dark: #0b3a26;--brand: #205735;--leaf: #34A543;--crop: #6D9343;--soil: #683912;--sand: #C9A227;--surface: #f4f7f3;--surface-2: #e8efe6;--card: #ffffff;--line: #e4e8e3;--text: #46514a;--text-strong: #1d2620;--text-soft: #5e6963;--ok: #1a7f46;--warn: #b5821a;--danger: #b3261e;--in: #1a7f46;--out: #b3261e;--jazz: #d71920;--easy: #0f9d58;--bank: #1f4e8c;--cash: #1a7f46;--r: 16px;--r-sm: 12px;--shadow: 0 1px 2px rgba(5, 15, 9, .06), 0 4px 16px rgba(5, 15, 9, .06);--font: "Inter Variable", "Inter", "Noto Nastaliq Urdu", system-ui, -apple-system, "Segoe UI", sans-serif;--nav-h: 68px;--safe-b: env(safe-area-inset-bottom, 0px);color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0}body{font-family:var(--font);font-size:16px;line-height:1.45;color:var(--text-strong);background:var(--surface);-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}html[dir=rtl] body{line-height:1.9}html[dir=rtl] .num,.num{font-family:Inter Variable,Inter,system-ui,sans-serif;line-height:1.25;direction:ltr;unicode-bidi:isolate}html[dir=rtl] .flip{transform:scaleX(-1)}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--brand);text-decoration:none}h1,h2,h3{margin:0;color:var(--text-strong)}h1{font-size:22px;font-weight:800;letter-spacing:-.01em}h2{font-size:17px;font-weight:700}h3{font-size:15px;font-weight:700}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{font-weight:700}.muted{color:var(--text-soft)}.small{font-size:13px}.tiny{font-size:12px}.bold{font-weight:700}.in{color:var(--in)}.out{color:var(--out)}.warn{color:var(--warn)}.hide{display:none!important}.app{max-width:560px;margin:0 auto;min-height:100dvh;background:var(--surface);position:relative}.page{padding:12px 16px calc(var(--nav-h) + var(--safe-b) + 88px)}.stack>*+*{margin-top:12px}.row{display:flex;align-items:center;gap:10px}.row.between{justify-content:space-between}.row.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:22px 2px 8px}.section-title h2{font-size:16px}.topbar{position:sticky;top:0;z-index:20;background:var(--night);color:#fff;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 10px;display:flex;align-items:center;gap:10px;min-height:60px}.topbar h1{color:#fff;font-size:19px}.topbar .logo{height:34px;width:auto;background:#fff;border-radius:8px;padding:3px 5px}.topbar .icon-btn{color:#fff;background:#ffffff1a}.offline-bar{background:var(--sand);color:var(--ink);font-size:13px;padding:6px 16px;text-align:center}.bottomnav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:560px;z-index:30;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding-bottom:var(--safe-b);height:calc(var(--nav-h) + var(--safe-b))}.bottomnav a,.bottomnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--text-soft);font-size:12px;font-weight:600;background:none;border:0;padding:6px 0}html[dir=rtl] .bottomnav a,html[dir=rtl] .bottomnav button{font-size:13px;line-height:1.6}.bottomnav a.active{color:var(--brand)}.bottomnav a.active svg{stroke-width:2.4}.bottomnav .plus{position:relative}.bottomnav .plus span.fab{width:58px;height:58px;border-radius:50%;margin-top:-26px;background:linear-gradient(135deg,var(--brand),var(--leaf));color:#fff;display:grid;place-items:center;box-shadow:0 6px 18px #20573573;border:4px solid #fff}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px;box-shadow:var(--shadow)}.card.flat{box-shadow:none}.card.dark{background:linear-gradient(150deg,var(--night),var(--card-dark));color:#fff;border:0}.card.dark .muted{color:#ffffffb8}.card.dark h2,.card.dark h3{color:#fff}.card.tap{cursor:pointer;transition:transform .08s}.card.tap:active{transform:scale(.985)}.list>.card+.card{margin-top:10px}.stat{padding:12px 14px}.stat .label{font-size:13px;color:var(--text-soft);display:flex;align-items:center;gap:6px}.stat .value{font-size:22px;font-weight:800;margin-top:2px}.card.dark .stat .label{color:#ffffffbf}.big-number{font-size:30px;font-weight:800;letter-spacing:-.02em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 18px;border-radius:14px;border:0;font-weight:700;font-size:16px;cursor:pointer;background:var(--brand);color:#fff;transition:filter .1s,transform .08s}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55}.btn.block{width:100%}.btn.ghost{background:var(--surface-2);color:var(--brand)}.btn.outline{background:#fff;color:var(--brand);border:1.5px solid var(--line)}.btn.danger{background:#fde8e7;color:var(--danger)}.btn.sm{min-height:40px;padding:0 12px;font-size:14px;border-radius:11px}.btn.lg{min-height:58px;font-size:18px}.icon-btn{width:42px;height:42px;border-radius:12px;border:0;background:var(--surface-2);color:var(--brand);display:grid;place-items:center;cursor:pointer;flex:none}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tile{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 6px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:13px;font-weight:700;color:var(--text-strong);cursor:pointer;box-shadow:var(--shadow)}html[dir=rtl] .tile{font-size:14px;line-height:1.7}.tile .ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#fff}.tile:active{transform:scale(.97)}.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chips.wrap{flex-wrap:wrap;overflow:visible}.chip{flex:none;min-height:42px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--text-strong);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:6px;cursor:pointer}html[dir=rtl] .chip{font-size:15px}.chip.on{background:var(--brand);border-color:var(--brand);color:#fff}.chip .count{background:#00000014;border-radius:999px;padding:0 7px;font-size:12px}.chip.on .count{background:#ffffff38}.opts{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.opts.three{grid-template-columns:repeat(3,1fr)}.opt{border:2px solid var(--line);border-radius:14px;background:#fff;padding:12px 8px;min-height:60px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;font-size:14px;text-align:start}html[dir=rtl] .opt{font-size:15px;line-height:1.7}.opt.col{flex-direction:column;justify-content:center;text-align:center;gap:4px}.opt.on{border-color:var(--brand);background:#eef6ef;color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.opt .dot{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;flex:none}.field{display:block;margin-top:14px}.field>.lbl{display:block;font-size:14px;font-weight:600;color:var(--text);margin:0 2px 6px}.field>.lbl .opt-tag{font-weight:400;color:var(--text-soft);font-size:12px}.input,select.input,textarea.input{width:100%;min-height:52px;padding:12px 14px;border-radius:12px;border:1.5px solid #d3dbd3;background:#fff;font-size:17px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}textarea.input{min-height:80px;resize:vertical}.input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #34a5432e}.amount-input{position:relative}.amount-input .input{font-size:28px;font-weight:800;padding-inline-start:56px;min-height:64px;font-family:Inter Variable,system-ui,sans-serif;direction:ltr;text-align:left}.amount-input .cur{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);font-weight:700;color:var(--text-soft)}html[dir=rtl] .amount-input .input{padding-inline-start:14px;padding-left:56px}html[dir=rtl] .amount-input .cur{left:14px;right:auto}.quick-add{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.quick-add button{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:6px 10px;font-weight:600;font-size:13px}.words{font-size:13px;color:var(--brand);margin:6px 2px 0}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#050f0980;z-index:50;animation:fade .15s}.sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:560px;z-index:51;background:var(--surface);border-radius:22px 22px 0 0;max-height:94dvh;display:flex;flex-direction:column;animation:up .2s ease-out}.sheet .sheet-head{padding:10px 16px 8px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);background:#fff;border-radius:22px 22px 0 0}.sheet .grab{width:42px;height:5px;border-radius:3px;background:#cfd6cf;margin:0 auto 8px}.sheet .sheet-body{padding:4px 16px 16px;overflow-y:auto}.sheet .sheet-foot{padding:12px 16px calc(12px + var(--safe-b));background:#fff;border-top:1px solid var(--line)}@keyframes up{0%{transform:translate(-50%,40px);opacity:.4}to{transform:translate(-50%);opacity:1}}@keyframes fade{0%{opacity:0}to{opacity:1}}.toasts{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);left:0;right:0;z-index:80;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 16px}.toast{background:var(--ink);color:#fff;padding:12px 18px;border-radius:14px;font-weight:600;box-shadow:var(--shadow);display:flex;gap:8px;align-items:center;max-width:520px;animation:fade .2s}.toast.ok{background:var(--ok)}.toast.error{background:var(--danger)}.lrow{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.lrow:last-child{border-bottom:0}.lrow .ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:none}.lrow .main{flex:1;min-width:0}.lrow .title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lrow .sub{font-size:13px;color:var(--text-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lrow .end{text-align:end;flex:none}.amount{font-weight:800;font-size:16px}.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}html[dir=rtl] .badge{font-size:13px;line-height:1.8}.badge.pending{background:#eef1f6;color:#3d4b66}.badge.scheduled{background:#fff4d8;color:#8a5b00}.badge.in_progress{background:#e5f1ff;color:#1f4e8c}.badge.done{background:#e2f4e7;color:var(--ok)}.badge.cancelled{background:#f1f1f1;color:#777}.badge.due{background:#fde8e7;color:var(--danger)}.badge.paid{background:#e2f4e7;color:var(--ok)}.badge.low{background:#fff1d6;color:var(--warn)}.bar{height:12px;border-radius:8px;background:var(--surface-2);overflow:hidden;display:flex}.bar>span{height:100%}.legend{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin-top:12px;font-size:15px}.legend .sw{width:12px;height:12px;border-radius:4px;display:inline-block;margin-inline-end:8px;vertical-align:middle}.sum-line{display:flex;justify-content:space-between;padding:10px 0;border-top:1px dashed var(--line);font-weight:700}.sum-line.big{font-size:20px;font-weight:800;border-top:2px solid var(--line)}.empty{text-align:center;color:var(--text-soft);padding:36px 16px}.empty svg{color:#b9c4bb}.steps{display:flex;gap:6px;margin:4px 0 6px}.steps span{flex:1;height:5px;border-radius:3px;background:var(--line)}.steps span.on{background:var(--leaf)}.seg{display:flex;background:var(--surface-2);border-radius:12px;padding:4px;gap:4px}.seg button{flex:1;border:0;background:none;border-radius:9px;min-height:40px;font-weight:700;color:var(--text-soft);cursor:pointer}.seg button.on{background:#fff;color:var(--brand);box-shadow:var(--shadow)}.spinner{width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--leaf);border-radius:50%;animation:spin .8s linear infinite;margin:40px auto}@keyframes spin{to{transform:rotate(360deg)}}.divider{height:1px;background:var(--line);margin:12px 0}.pill-acc{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text-soft)}.pill-acc i{width:10px;height:10px;border-radius:3px;display:inline-block}@media(min-width:561px){body{background:#e6ebe5}.app{box-shadow:0 0 0 1px var(--line)}}.input{unicode-bidi:plaintext}.btn{white-space:nowrap}.grid3>.btn.sm{padding:0 8px;font-size:13px;gap:5px}
