.jalali-picker{width:100%;font-family:Vazirmatn,Tahoma,sans-serif;position:relative}.jalali-input{color:#173f35;background:#fffefa;border:1px solid #d6ddd8;border-radius:13px 5px;outline:0;justify-content:space-between;align-items:center;width:100%;height:54px;padding:0 14px;font-weight:800;display:flex}.jalali-input:hover{border-color:#a8bdb4}.jalali-picker.open .jalali-input{border-color:#4d8a75;box-shadow:0 0 0 4px #2f765e15}.jalali-input svg{fill:none;stroke:#b18234;stroke-width:1.7px;stroke-linecap:round;width:21px;height:21px}.jalali-popover{z-index:260;background:#fffdf8;border:1px solid #d7ddd8;border-radius:22px 7px;width:310px;padding:15px;animation:.16s ease-out jalali-open;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 24px 65px #153c3028}.jalali-popover:before{content:"";background:#fffdf8;border-top:1px solid #d7ddd8;border-right:1px solid #d7ddd8;width:11px;height:11px;position:absolute;top:-6px;right:28px;transform:rotate(-45deg)}.jalali-popover header{border-bottom:1px solid #e8e7e0;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;padding-bottom:11px;display:grid}.jalali-popover header>button{color:#174c3f;background:#edf3ef;border:0;border-radius:11px 4px;width:34px;height:34px;font-size:24px;line-height:1}.jalali-popover header>button:hover{background:#dcebe3}.jalali-popover header>button:disabled{opacity:.3;cursor:not-allowed}.jalali-popover header div{text-align:center}.jalali-popover header b{font-size:14px;display:block}.jalali-popover header strong{color:#b27631;margin-top:1px;font-size:10px;display:block}.jalali-weekdays,.jalali-days{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.jalali-weekdays{padding:11px 0 6px}.jalali-weekdays span{text-align:center;color:#8a9690;font-size:9px;font-weight:800}.jalali-weekdays span:last-child{color:#b05240}.jalali-days i,.jalali-days button{aspect-ratio:1}.jalali-days button{color:#32473e;background:0 0;border:0;border-radius:12px 4px;font:700 11px Vazirmatn}.jalali-days button:hover{color:#155944;background:#edf4f0}.jalali-days button.today{color:#9a6a20;box-shadow:inset 0 0 0 1px #d2a54e}.jalali-days button.selected{color:#fff;background:#174c3f;box-shadow:0 6px 14px #174c3f30}.jalali-popover footer{border-top:1px solid #e8e7e0;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;display:flex}.jalali-popover footer span{color:#89958f;font-size:8px}.jalali-popover footer button{color:#795b25;background:#f5ead2;border:0;border-radius:10px 3px;padding:7px 12px;font:900 9px Vazirmatn}.jalali-popover footer button:disabled{opacity:.4}@keyframes jalali-open{0%{opacity:0;transform:translateY(-5px)scale(.98)}to{opacity:1;transform:none}}@media (max-width:600px){.jalali-popover{z-index:1400;width:min(340px,100vw - 28px);animation:none;position:fixed;top:50%;right:50%;transform:translate(50%,-50%);box-shadow:0 0 0 100vmax #09281f99,0 24px 70px #09281f55}.jalali-popover:before{display:none}.jalali-days button{font-size:13px}}.jalali-input{gap:7px;padding:0 8px 0 12px}.jalali-input input{color:#173f35;text-align:center;letter-spacing:.6px;flex:1;min-width:0;height:100%;padding:0 7px;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important;font:800 13px Vazirmatn!important}.jalali-input input::placeholder{color:#9aa49f;font-weight:600}.jalali-calendar-button{background:#f5edda!important;border:0!important;border-radius:10px 4px!important;place-items:center!important;width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;display:grid!important}.dashboard-range .jalali-picker{width:12.5rem;min-width:12.5rem}.dashboard-range .jalali-input{height:2.75rem}@media (max-width:560px){.dashboard-range .jalali-picker{width:100%;min-width:0}}@media (max-width:650px){body>.jalali-popover{overscroll-behavior:contain;max-height:min(560px,100dvh - 24px);overflow:auto;z-index:3200!important;width:min(340px,100vw - 24px)!important;position:fixed!important;inset:50% 50% auto auto!important;transform:translate(50%,-50%)!important;box-shadow:0 0 0 100vmax #09281f99,0 24px 70px #09281f55!important}body>.jalali-popover:before{display:none!important}}body>.jalali-popover{z-index:3200!important;position:fixed!important}.subscription-price-admin{background:#f8f5ec;border:1px solid #d9ded8;border-radius:22px 7px;margin:22px 0;padding:20px}.subscription-price-admin>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.subscription-price-admin>header h3{color:#174c3f;margin:3px 0}.subscription-price-admin>header p{color:#718079;margin:0;font-size:11px}.subscription-price-admin>header>span{color:#174c3f;background:#e7bd54;border-radius:12px 4px;padding:9px 14px;font-size:11px;font-weight:900}.subscription-price-grid{gap:12px;display:grid}.subscription-price-grid article{background:#fff;border:1px solid #dde3de;border-radius:17px 5px;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px;padding:15px;display:grid}.subscription-price-name h4{color:#174c3f;margin:2px 0;font-size:16px}.subscription-price-name p{color:#7a8781;margin:0;font-size:10px}.subscription-price-grid label{color:#425b53;gap:6px;font-size:10px;font-weight:900;display:grid}.subscription-price-grid input{text-align:left;color:#173f35;background:#fff;border:1px solid #cbd8d2;border-radius:12px 4px;width:100%;height:44px;padding:0 12px;font:800 14px Vazirmatn,Tahoma,sans-serif}.subscription-price-grid button{color:#fff;cursor:pointer;background:#174c3f;border:0;border-radius:12px 4px;min-width:116px;height:44px;padding:0 16px;font:900 11px Vazirmatn,Tahoma,sans-serif}.subscription-price-grid button:disabled{cursor:wait;opacity:.65}.subscription-price-message{color:#155b49;background:#e4f2ec;border-radius:12px 4px;margin-top:14px;padding:11px 14px;font-size:11px;font-weight:800}.subscription-price-message.error{color:#a34937;background:#fff0eb}@media (max-width:900px){.subscription-price-grid article{grid-template-columns:1fr 1fr}.subscription-price-name{grid-column:1/-1}.subscription-price-grid button{width:100%}}@media (max-width:580px){.subscription-price-admin{padding:14px}.subscription-price-admin>header{align-items:flex-start}.subscription-price-grid article{grid-template-columns:1fr}.subscription-price-name{grid-column:auto}.subscription-price-grid button{width:100%}}.subscription-company-lookup>b{font-size:11px}.subscription-company-lookup>span{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.subscription-company-lookup>span input{min-width:0}.subscription-company-lookup>span button{color:#174c3f;cursor:pointer;background:#e8bd55;border:0;border-radius:13px 4px;min-width:124px;height:48px;padding:0 14px;font:900 11px Vazirmatn,Tahoma,sans-serif}.subscription-company-lookup>span button:disabled{cursor:not-allowed;opacity:.55}.subscription-company-lookup.used>span button:disabled{color:#687972;opacity:1;background:#dbe3df}.subscription-company-lookup>small{color:#a34937;min-height:18px;font-size:10px}.subscription-company-lookup>small.success{color:#17705a}.subscription-company-lookup.found input{border-color:#2d806a;box-shadow:0 0 0 3px #2d806a18}@media (max-width:620px){.subscription-company-lookup>span{grid-template-columns:1fr}.subscription-company-lookup>span button{width:100%}}.subscription-result>section{width:min(900px,100%)}.subscription-status{grid-template-columns:1fr auto}.subscription-status b,.subscription-status strong{font-size:24px}.subscription-status strong{grid-area:1/2/4;align-self:center}.subscription-steps{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;display:grid}.subscription-steps span{text-align:center;color:#7c8982;border:1px solid #d9dfda;border-radius:12px 4px;padding:11px;font-size:11px;font-weight:900}.subscription-steps .done{color:#176047;background:#e6f2ec;border-color:#b9d9c9}.subscription-steps .current{color:#785b19;background:#fff5d9;border-color:#e5c568}.subscription-secret{background:linear-gradient(135deg,#174c3f,#0e332b);padding:22px;box-shadow:0 18px 45px #174c3f24}.subscription-secret b{overflow-wrap:anywhere}.subscription-secret p{text-align:center;color:#d9e8e2;margin:0;font-size:11px}.sub-success{color:#176047;background:#e4f2eb;border-radius:12px;padding:12px}.subscription-connecting{background:#fff7df;border:1px solid #ead18a;border-radius:16px 5px;grid-template-columns:1fr auto;gap:6px;padding:20px;display:grid}.subscription-connecting span{color:#756a4f;font-size:11px}.subscription-connecting button{color:#173f35;background:#e7bd54;border:0;border-radius:10px;grid-area:1/2/3;padding:0 16px;font:900 11px Vazirmatn}.subscription-order-list article{grid-template-columns:minmax(0,1fr) repeat(4,auto)}.order-status.connecting{color:#795a11;background:#fff2ca}.provision-form{background:linear-gradient(145deg,#fbf8f0,#f0f6f2);border:1px solid #d4dfd8;border-radius:22px 7px;padding:24px}.provision-form.buyer{margin-top:24px}.provision-form header{border-bottom:1px solid #d9dfda;padding-bottom:12px}.provision-form header p{color:#718078;margin:6px 0 0;font-size:11px}.provision-form>.provision-privacy{grid-column:1/-1}.provision-privacy{background:#fff;border-right:3px solid #27816a;border-radius:10px;gap:3px;padding:12px 14px;display:grid}.provision-privacy span{color:#6f7d76;font-size:10px;font-weight:500}.admin-secret{color:#fff;background:#173f35;border-radius:9px;align-items:center;gap:8px;margin-top:8px;padding:8px;display:flex}.admin-secret code{overflow-wrap:anywhere;direction:ltr}.admin-secret button{color:#173f35;background:#e7bd54;margin-right:auto}.provision-form input:disabled{color:#7c8882;background:#edf0ee}.provision-form button:disabled{cursor:wait;opacity:.7}@media (max-width:800px){.subscription-result>section{padding:22px 16px}.subscription-status,.subscription-steps,.subscription-connecting{grid-template-columns:1fr}.subscription-status strong,.subscription-connecting button{grid-area:auto}.subscription-connecting button{height:42px}.provision-form>*{grid-column:1!important}}.webmarket-activation-link{text-align:center;background:#e7bd54;border-radius:12px 4px;place-items:center;min-height:48px;padding:0 18px;display:grid;color:#173f35!important}.gateway-admin{color:#173f35;background:#fff;border:1px solid #d9ded8;border-radius:26px 8px;margin:28px clamp(18px,4vw,60px);padding:24px}.gateway-admin .list-head{align-items:center;gap:12px;display:flex}.gateway-admin .list-head>div{flex:1}.gateway-admin .list-head h2,.gateway-admin .list-head p{margin:2px 0}.gateway-state{border-radius:10px;padding:8px 12px;font-size:10px;font-weight:900}.gateway-state.active{color:#176047;background:#def0e7}.gateway-state.inactive{color:#a24736;background:#fae8e2}.gateway-bank-list{grid-template-columns:repeat(7,minmax(105px,1fr));gap:8px;margin-top:20px;padding:2px;display:grid;overflow-x:auto}.gateway-bank-list button{color:#536a63;white-space:nowrap;background:#fff;border:1px solid #d8e0db;border-radius:15px 5px;align-items:center;gap:8px;min-height:58px;padding:9px;font-family:inherit;display:flex}.gateway-bank-list button i{color:#176252;background:#edf2ef;border-radius:11px;place-items:center;width:34px;height:34px;font-style:normal;font-weight:900;display:grid}.gateway-bank-list button span{text-align:right;display:grid}.gateway-bank-list button small{color:#89968f;font-size:9px}.gateway-bank-list button.enabled small{color:#23745f}.gateway-bank-list button.selected{color:#fff;background:#174c3f;border-color:#174c3f}.gateway-bank-list button.selected i{color:#173f35;background:#e7bd54}.gateway-bank-list button.selected small{color:#dce9e4}.gateway-admin form{background:#f8f5ec;border-radius:18px 6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;padding:20px;display:grid}.gateway-admin form>header{grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.gateway-admin form>header h3,.gateway-admin form>header small{margin:2px 0}.gateway-admin form>header>span{color:#173f35;background:#e8bd62;border-radius:9px;padding:7px 10px;font-weight:900}.gateway-admin label{gap:7px;font-size:11px;font-weight:900;display:grid}.gateway-admin label small{color:#7d8b84;font-weight:600}.gateway-admin input{box-sizing:border-box;color:#173f35;background:#fff;border:1px solid #ccd8d2;border-radius:13px 4px;outline:0;width:100%;height:48px;padding:0 13px;font:700 12px Vazirmatn,Tahoma,sans-serif}.gateway-admin input:focus{border-color:#2e8975;box-shadow:0 0 0 4px #2e89751a}.gateway-admin input[readonly]{color:#677871;background:#edf1ee}.gateway-check{background:#fff;border:1px solid #d8dfda;border-radius:13px;align-items:center;gap:9px;padding:12px;display:flex!important}.gateway-check input,.gateway-enabled>input{flex:none;width:19px;height:19px}.gateway-wide,.gateway-enabled,.gateway-message,.gateway-save{grid-column:1/-1}.gateway-enabled{background:#fff;border:1px solid #d8dfda;border-radius:13px;align-items:center;gap:11px;padding:13px;display:flex!important}.gateway-enabled>span{gap:2px;display:grid}.gateway-message{border-radius:12px;padding:12px 14px;font-size:12px;font-weight:800}.gateway-message.success{color:#176047;background:#e2f1e9}.gateway-message.error{color:#a34937;background:#fff0eb}.gateway-save{color:#fff;background:#174c3f;border:0;border-radius:15px 5px;height:52px;font:900 13px Vazirmatn,Tahoma,sans-serif}.gateway-save:disabled{opacity:.55}@media (max-width:900px){.gateway-bank-list{grid-template-columns:repeat(7,145px)}}@media (max-width:800px){.gateway-admin{margin:18px 12px;padding:16px}.gateway-admin .list-head{flex-wrap:wrap;align-items:flex-start}.gateway-admin form{grid-template-columns:1fr;padding:15px}.gateway-admin form>header,.gateway-wide,.gateway-enabled,.gateway-message,.gateway-save{grid-column:auto}}.system-sms-admin{color:#173f35;background:#fffdf7;border:1px solid #ccd9d2;border-radius:26px 8px;margin:28px clamp(18px,4vw,60px);padding:24px}.system-sms-admin>header,.system-sms-jobs>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.system-sms-admin h2,.system-sms-admin h3{margin:6px 0}.system-sms-admin p{color:#61746b;margin:8px 0;font-size:12px;line-height:1.9}.system-sms-badge{color:#795e24;background:#f7e8cb;border-radius:12px;padding:9px 15px;font-size:12px;font-weight:900}.system-sms-badge.active{color:#195e4b;background:#deeee5}.system-sms-flow{grid-template-columns:1fr 1fr;gap:12px;margin:22px 0;display:grid}.system-sms-flow article{background:#eef5ef;border:1px solid #dbe3d8;border-radius:16px;padding:17px}.system-sms-flow article+article{background:#faf0d8}.system-sms-flow b{font-size:13px}.system-sms-admin fieldset{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;margin:0;padding:0;display:grid}.system-sms-admin label{gap:8px;font-size:12px;font-weight:800;display:grid}.system-sms-admin input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;font:inherit;color:#173f35;background:#fff;border:1px solid #baccc3;border-radius:12px 4px;padding:10px 12px}.system-sms-admin input:focus-visible,.system-sms-admin button:focus-visible{outline-offset:3px;outline:3px solid #d1a342}.system-sms-admin small{color:#61746b;font-size:11px;font-weight:500;line-height:1.8;display:block}.system-sms-admin .system-sms-check{background:#fff;border:1px solid #dbe3d8;border-radius:14px;grid-column:1/-1;align-items:center;gap:12px;padding:14px;display:flex}.system-sms-check input{accent-color:#175746;flex-shrink:0;width:20px;height:20px;min-height:20px}.system-sms-check span{min-width:0}.system-sms-admin .system-sms-warning{background:#fff4e7;border-color:#e2c9a8}.system-sms-note{grid-column:1/-1}.system-sms-admin button{font:inherit;cursor:pointer}.system-sms-save{color:#fff;background:#175343;border:0;border-radius:14px 5px;grid-column:1/-1;min-height:50px;padding:12px;font-weight:900!important}.system-sms-admin fieldset:disabled{opacity:.6}.system-sms-admin fieldset:disabled button{cursor:wait}.system-sms-admin .system-sms-error{color:#9a402e;overflow-wrap:anywhere;background:#fff0ea;border-radius:12px;padding:13px}.system-sms-admin .system-sms-success{color:#175343;background:#e7f2eb;border-radius:12px;padding:13px}.system-sms-jobs{border-top:1px solid #dbe3d8;margin-top:24px;padding-top:18px}.system-sms-jobs button{color:#175343;background:#fff;border:1px solid #baccc3;border-radius:10px;min-height:44px;padding:10px 14px;font-size:12px}.system-sms-jobs ul{gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.system-sms-jobs li{overflow-wrap:anywhere;background:#f1f5f0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px;font-size:11px;display:flex}.system-sms-jobs li>span{text-align:end}@media (max-width:700px){.system-sms-admin{margin:18px 12px;padding:16px}.system-sms-flow,.system-sms-admin fieldset{grid-template-columns:1fr}.system-sms-jobs li{flex-direction:column;align-items:flex-start}.system-sms-jobs li>span{text-align:start}}.legacy-lookup-admin{background:#fff;border:1px solid #d9ded8;border-radius:26px 8px;margin:28px clamp(18px,4vw,60px);padding:24px}.legacy-lookup-admin .list-head{align-items:center;gap:14px;margin-bottom:20px;display:flex}.legacy-lookup-admin .list-head>div{flex:1}.legacy-lookup-admin .list-head h2{color:#174c3f;margin:0}.legacy-lookup-admin .list-head p{color:#72817a;margin:4px 0 0;font-size:11px}.legacy-lookup-badge{color:#174c3f;background:#e7bd54;border-radius:13px 4px;place-items:center;min-width:54px;height:44px;padding:0 10px;font-size:11px;font-weight:900;display:grid}.legacy-lookup-state{color:#9a4938;background:#fff0eb;border-radius:10px 4px;padding:8px 12px;font-size:10px;font-weight:900}.legacy-lookup-state.active{color:#17604d;background:#e5f2ed}.legacy-lookup-admin form{background:#f8f5ec;border-radius:19px 6px;grid-template-columns:1fr 1fr;gap:14px;padding:20px;display:grid}.legacy-lookup-admin label{color:#3f5a52;gap:7px;font-size:11px;font-weight:900;display:grid}.legacy-lookup-admin input:not([type=checkbox]){color:#173f35;background:#fff;border:1px solid #cdd9d3;border-radius:12px 4px;width:100%;height:46px;padding:0 13px;font:700 12px Vazirmatn,Tahoma,sans-serif}.legacy-lookup-endpoint,.legacy-lookup-insecure,.legacy-lookup-message,.legacy-lookup-admin form>button{grid-column:1/-1}.legacy-lookup-insecure{background:#fff;border:1px solid #ead6a4;border-radius:13px 4px;align-items:center;gap:10px;padding:13px;display:flex!important}.legacy-lookup-insecure input{width:20px;height:20px}.legacy-lookup-insecure span{gap:3px;display:grid}.legacy-lookup-insecure small{color:#8b7251;font-weight:500}.legacy-lookup-message{color:#155b49;background:#e4f2ec;border-radius:11px 4px;padding:11px 13px;font-size:11px;font-weight:800}.legacy-lookup-message.error{color:#a34937;background:#fff0eb}.legacy-lookup-admin form>button{color:#fff;cursor:pointer;background:#174c3f;border:0;border-radius:13px 4px;height:48px;font:900 12px Vazirmatn,Tahoma,sans-serif}.legacy-lookup-admin form>button:disabled{cursor:wait;opacity:.65}@media (max-width:680px){.legacy-lookup-admin{padding:16px}.legacy-lookup-admin .list-head{flex-wrap:wrap;align-items:flex-start}.legacy-lookup-state{margin-right:auto}.legacy-lookup-admin form{grid-template-columns:1fr;padding:14px}.legacy-lookup-endpoint,.legacy-lookup-insecure,.legacy-lookup-message,.legacy-lookup-admin form>button{grid-column:auto}}.tenant-form .admin-customer-lookup-controls{flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0;display:flex}.tenant-form .admin-customer-lookup-controls input{flex:100px;width:0;min-width:0}.tenant-form .admin-customer-lookup-controls button{color:#153f35;min-height:48px;font:inherit;cursor:pointer;background:#edc45c;border:1px solid #d5b35d;border-radius:12px 4px;flex:none;padding:8px 12px;font-weight:800}.tenant-form .admin-customer-lookup-controls button:disabled{opacity:.55;cursor:default}.tenant-form .admin-customer-lookup-controls button:focus-visible{outline-offset:2px;outline:3px solid #a77914}.tenant-form .admin-customer-lookup .lookup-error{color:#a04431;overflow-wrap:anywhere}.tenant-form .admin-customer-lookup .lookup-success{color:#166249}.tenant-form .form-pair{align-items:start}.tenant-form .admin-database-picker{gap:12px;min-width:0;display:grid}.tenant-form .admin-database-picker button{white-space:normal;min-height:48px;padding:12px}.tenant-form .admin-database-picker select{width:100%;min-width:0;min-height:48px;font:inherit;color:#153f35;background:#fff;border:1px solid #cbdad4;border-radius:12px 4px;padding:12px}.tenant-form .admin-database-picker .lookup-error{color:#a04431;overflow-wrap:anywhere}.voice-search-button{color:#175743;cursor:pointer;touch-action:manipulation;background:#edf5f1;border:1px solid #cbd9d3;border-radius:12px 4px;flex:none;place-items:center;width:40px;height:40px;padding:0;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;display:grid;position:relative}.voice-search-button:hover{background:#deeee7;border-color:#63a38e;transform:translateY(-1px)}.voice-search-button:focus-visible{outline:0;box-shadow:0 0 0 4px #2e806c24}.voice-search-button:disabled{cursor:wait;opacity:.72}.voice-search-button svg{z-index:2;fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px;position:relative}.voice-search-pulse{pointer-events:none;border-radius:50%;position:absolute;inset:7px}.voice-search-button.is-requesting{color:#8a6417;background:#fff5da;border-color:#dfc477}.voice-search-button.is-listening{color:#fff;background:#b65340;border-color:#b65340;box-shadow:0 0 0 6px #b6534021}.voice-search-button.is-listening .voice-search-pulse{animation:1.15s ease-out infinite voiceSearchPulse}.voice-search-button.has-error{color:#a44a38;background:#fff0ec;border-color:#e3b9af}.voice-search-feedback{z-index:5005;color:#fff;white-space:normal;background:#173f35;border:1px solid #cbd9d3;border-radius:10px 3px;max-width:min(310px,82vw);padding:7px 10px;font:800 10px/1.7 Vazirmatn,Tahoma,sans-serif;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 26px #0b302733}.voice-search-feedback.is-error{background:#9d4937;border-color:#e2b9af}@keyframes voiceSearchPulse{0%{box-shadow:0 0 #ffffff6b}75%,to{box-shadow:0 0 0 14px #fff0}}@media (max-width:650px){.voice-search-button{width:44px;height:44px}.voice-search-feedback{font-size:11px}}@media (prefers-reduced-motion:reduce){.voice-search-button,.voice-search-button:hover{transition:none;transform:none}.voice-search-button.is-listening .voice-search-pulse{animation:none}}@media print{.voice-search-button,.voice-search-feedback{display:none!important}}.customer-field-control{width:100%;position:relative}.customer-field-control>input{padding-left:86px!important}.customer-field-control>button{color:#1d5a48;background:#edf3ef;border:0;border-radius:10px 3px;align-items:center;gap:5px;height:38px;padding:0 9px;font:900 8px Vazirmatn;display:flex;position:absolute;top:50%;left:6px;transform:translateY(-50%)}.customer-field-control>button span{font-size:17px}.customer-picker-overlay{z-index:1450;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#08271fbd;place-items:center;padding:25px;display:grid;position:fixed;inset:0}.customer-picker{background:#fffdf8 radial-gradient(#173f3508 1px,#0000 1px) 0 0/18px 18px;border:1px solid #fff5;border-radius:34px 10px;flex-direction:column;width:min(850px,100%);max-height:calc(100vh - 50px);padding:24px;display:flex;box-shadow:0 38px 110px #001b1266}.customer-picker>header{border-bottom:1px solid #dfded7;justify-content:space-between;align-items:center;padding-bottom:17px;display:flex}.customer-picker-title{align-items:center;gap:13px;display:flex}.customer-picker-title>span{background:#fff;border-radius:18px 5px;width:52px;height:52px;padding:0;overflow:hidden}.customer-picker-title h3{color:#173f35;margin:2px 0;font-size:23px}.customer-picker-title small{color:#b45e43;font-size:8px;font-weight:900}.customer-picker-title p{color:#85918b;margin:0;font-size:8px}.customer-picker-close{color:#7d8982;background:#fff;border:1px solid #ddd9ce;border-radius:14px 4px;width:40px;height:40px;font-size:22px}.customer-picker-tools{grid-template-columns:1fr auto;gap:10px;margin-top:16px;display:grid}.customer-picker-tools label{background:#fff;border:1px solid #ccd8d2;border-radius:15px 5px;align-items:center;gap:9px;height:52px;padding:0 13px;display:flex}.customer-picker-tools label:focus-within{border-color:#5d8e7b;box-shadow:0 0 0 4px #2e735f12}.customer-picker-tools label span{color:#a77a32;font-size:21px}.customer-picker-tools input{background:0 0;border:0;outline:0;width:100%;height:100%;font:700 11px Vazirmatn}.customer-picker-tools>button{color:#fff;background:#174c3f;border:0;border-radius:15px 5px;align-items:center;gap:8px;padding:0 17px;font:900 10px Vazirmatn;display:flex}.customer-picker-tools>button i{color:#e5bd65;font-size:18px;font-style:normal}.customer-picker-caption{color:#7d8a84;justify-content:space-between;padding:13px 4px 8px;font-size:8px;display:flex}.customer-picker-caption span{color:#9a6b27;font-weight:900}.customer-picker-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;background:#fff;border:1px solid #e0e3df;border-radius:18px 6px;min-height:250px;max-height:430px;overflow:auto}.customer-picker-list>button{color:#18372e;text-align:right;background:#fff;border:0;border-bottom:1px solid #eceeea;grid-template-columns:32px 1fr auto 30px;align-items:center;gap:10px;width:100%;min-height:68px;padding:9px 13px;font-family:Vazirmatn;display:grid}.customer-picker-list>button:hover{background:#f1f7f3}.customer-picker-list>button:last-child{border-bottom:0}.customer-picker-no{color:#8a6929;background:#f2ead7;border-radius:9px 3px;place-items:center;width:27px;height:27px;font-size:8px;font-weight:900;display:grid}.customer-picker-person{gap:3px;display:grid}.customer-picker-person b{font-size:11px}.customer-picker-person small{color:#89958f;font-size:8px}.customer-tax{border-radius:10px;padding:5px 8px;font-size:7px;font-weight:900}.customer-tax.subject{color:#176047;background:#e4f1ea}.customer-tax.exempt{color:#856525;background:#f3ead7}.customer-picker-list>button>i{color:#b88b3c;font-size:17px;font-style:normal}.customer-picker-state{color:#718078;align-content:center;place-items:center;gap:10px;min-height:250px;font-size:10px;display:grid}.customer-picker-state>i{border:3px solid #dce4df;border-top-color:#b3863b;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite customer-spin}.customer-picker-state.empty span{font-size:8px}.quick-customer-form{padding-top:17px;overflow:auto}.quick-customer-grid{grid-template-columns:1fr 1fr;gap:13px;display:grid}.quick-customer-grid label{color:#53675e;gap:7px;font-size:9px;font-weight:900;display:grid}.quick-customer-grid label.wide{grid-column:1/-1}.quick-customer-grid label span b{color:#b24e3b}.quick-customer-grid input,.quick-customer-grid select,.quick-customer-grid textarea{box-sizing:border-box;color:#173c31;background:#fff;border:1px solid #cfd9d3;border-radius:14px 5px;outline:0;width:100%;font:700 11px Vazirmatn}.quick-customer-grid input,.quick-customer-grid select{height:50px;padding:0 13px}.quick-customer-grid textarea{resize:vertical;min-height:83px;padding:12px}.quick-customer-grid input:focus,.quick-customer-grid select:focus,.quick-customer-grid textarea:focus{border-color:#5c8f7b;box-shadow:0 0 0 4px #2e735f10}.quick-customer-note{color:#5f7169;background:#edf3ef;border-radius:14px 5px;align-items:center;gap:9px;margin-top:13px;padding:11px 13px;display:flex}.quick-customer-note span{color:#176047;background:#d8e8df;border-radius:8px 3px;padding:5px 8px;font-size:7px;font-weight:900}.quick-customer-note p{margin:0;font-size:8px}.quick-customer-form footer{border-top:1px solid #e1e3df;justify-content:flex-end;gap:9px;margin-top:16px;padding-top:14px;display:flex}.quick-customer-form footer button{color:#52675d;background:#fff;border:1px solid #d0d9d4;border-radius:14px 5px;height:48px;padding:0 17px;font:900 9px Vazirmatn}.quick-customer-form footer button[type=submit]{color:#fff;background:#174c3f;border:0;justify-content:space-between;align-items:center;min-width:190px;display:flex}.quick-customer-form footer button[type=submit] i{color:#e5bd65;font-size:17px;font-style:normal}.quick-customer-form footer button:disabled{opacity:.5}.customer-picker-error{color:#984b38;background:#faebe6;border:1px solid #e7c8be;border-radius:13px 4px;margin-top:12px;padding:11px 13px;font-size:9px}@keyframes customer-spin{to{transform:rotate(360deg)}}@media (max-width:650px){.customer-field-control>button small{display:none}.customer-field-control>input{padding-left:50px!important}.customer-picker-overlay{align-items:end;padding:0}.customer-picker{border-radius:28px 28px 0 0;max-height:94svh;padding:18px 12px}.customer-picker-title h3{font-size:19px}.customer-picker-tools{grid-template-columns:1fr}.customer-picker-tools>button{justify-content:center;height:46px}.customer-picker-list{max-height:45svh}.customer-picker-list>button{grid-template-columns:28px 1fr 25px}.customer-tax{display:none}.quick-customer-grid{grid-template-columns:1fr}.quick-customer-grid label.wide{grid-column:auto}.quick-customer-form footer{display:grid}.quick-customer-form footer button[type=submit]{min-width:0}}.customer-field-entry{flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.customer-field-entry>.customer-field-control{flex:230px;min-width:0}.customer-field-entry>.customer-quick-create{color:#173f35;cursor:pointer;background:#fff3cf;border:1px solid #d7bc75;border-radius:12px 4px;flex:none;justify-content:center;align-items:center;gap:6px;min-height:48px;padding:10px 12px;font:800 12px Vazirmatn,sans-serif;display:flex;position:static;transform:none}.customer-quick-create>span{font-size:20px}.quick-customer-fields{border:0;min-width:0;margin:0;padding:0}.quick-customer-more{border-top:1px solid #d9dfda;margin-top:14px;padding-top:8px}.quick-customer-more>summary{cursor:pointer;color:#52665d;min-height:44px;padding:10px 0;font-size:12px}.quick-customer-existing{color:#173f35;min-height:44px;font:inherit;background:#fff3cf;border:1px solid #d7bc75;border-radius:10px;padding:10px}.quick-customer-form{overscroll-behavior:contain;min-height:0;overflow-y:auto}.quick-customer-form footer{background:#fffdf8;padding-top:12px;position:sticky;bottom:0}@media (max-width:650px){.customer-field-entry>.customer-quick-create{min-height:44px}.quick-customer-grid input{font-size:16px!important}}.customer-picker-title small{font-size:10px}.customer-picker-title p{color:#74827b;font-size:10px}.customer-picker-tools input{font-size:13px}.customer-picker-tools>button{font-size:12px}.customer-picker-caption{color:#6e7c75;font-size:10px}.customer-picker-list>button{gap:13px;min-height:82px;padding-top:12px;padding-bottom:12px}.customer-picker-no{color:#76581f;width:34px;height:34px;font-size:12px}.customer-picker-person{gap:5px;min-width:0}.customer-picker-person b{color:#123d31;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:900;line-height:1.6;overflow:hidden}.customer-picker-person small{color:#65766e;font-size:13px;font-weight:700}.customer-tax{white-space:nowrap;padding:8px 11px;font-size:12px}.customer-field-control>button small{font-size:13px;font-weight:900;line-height:1}.customer-picker-list>button{cursor:pointer;touch-action:pan-y}.customer-field-control>button{cursor:pointer;touch-action:manipulation}@media (max-width:650px){.customer-field-control>input{padding-left:82px!important}.customer-field-control>.customer-field-list{border-radius:12px 4px;justify-content:center;gap:4px;width:72px;height:44px;padding:0 7px;left:5px}.customer-field-control>.customer-field-list small{font-size:10px;font-weight:900;display:inline!important}.customer-field-control>.customer-field-list span{font-size:17px}.customer-picker-tools>button{min-height:50px;font-size:14px}}.customer-field-control.has-clear>input{padding-left:142px!important}.customer-field-control>.customer-field-list{left:6px}.customer-field-control>.customer-field-clear{color:#a64f3b;background:#fff0ec;justify-content:center;width:43px;padding:0;font-size:9px;left:94px}.customer-picker-tools label .customer-picker-clear{color:#a54d39;cursor:pointer;background:#fff1ed;border:1px solid #edcfc6;border-radius:9px 3px;flex:none;height:32px;padding:0 10px;font:900 10px Vazirmatn}@media (max-width:650px){.customer-field-control.has-clear>input{padding-left:132px!important}.customer-field-control>.customer-field-clear{width:44px;height:44px;font-size:10px;left:82px}}.customer-picker-search{background:#fff;border:1px solid #ccd8d2;border-radius:15px 5px;align-items:center;gap:7px;min-width:0;height:52px;padding:0 7px 0 8px;display:flex;position:relative}.customer-picker-search:focus-within{border-color:#5d8e7b;box-shadow:0 0 0 4px #2e735f12}.customer-picker-search>.customer-picker-search-icon{color:#a77a32;flex:none;padding-right:6px;font-size:21px;line-height:1}.customer-picker-search>input{color:#173f35;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;padding:0;font:700 12px Vazirmatn,Tahoma,sans-serif}.customer-picker-search>.customer-picker-clear{color:#a54d39;cursor:pointer;touch-action:manipulation;background:#fff1ed;border:1px solid #edcfc6;border-radius:10px 3px;flex:none;height:36px;padding:0 10px;font:900 10px Vazirmatn,Tahoma,sans-serif}.customer-picker-search>.customer-picker-clear:hover{background:#ffe5dd}.customer-picker-search>.customer-picker-voice{border-radius:11px 4px}.customer-picker-search>.voice-search-feedback{top:calc(100% + 8px);left:7px}@media (max-width:650px){.customer-picker-search{height:56px;padding-left:6px}.customer-picker-search>input{font-size:14px}.customer-picker-search>.customer-picker-clear{height:44px;padding:0 9px;font-size:11px}.customer-picker-caption small{max-width:70%;line-height:1.7}}.customer-picker-state.offline a{color:#604814;background:#fff2c7;border:1px solid #c7a954;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-top:12px;padding:8px 14px;font:900 11px/1.8 Vazirmatn,Tahoma,sans-serif;text-decoration:none;display:inline-flex}.customer-picker-tools>button:disabled{cursor:not-allowed;opacity:.5}.payment-dialog .payment-card-transfer{color:#224c40;background:#fcf7e9;border:1px solid #d8bf7b;border-radius:16px;min-width:0;margin-top:16px;padding:14px}.payment-dialog .payment-card-transfer h4{justify-content:space-between;gap:8px;margin:0 0 8px;font-size:14px;display:flex}.payment-dialog .payment-card-transfer p,.payment-dialog .payment-card-transfer small{color:#53685f;overflow-wrap:anywhere;margin:8px 0;font-size:11px;line-height:1.9;display:block}.payment-dialog .payment-card-transfer label{background:0 0;border:0;height:auto;min-height:0;margin:12px 0 5px;padding:0;font-size:12px;font-weight:700;display:block}.payment-dialog .payment-card-transfer input,.payment-dialog .payment-card-transfer textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:#183f33;background:#fff;border:1px solid #c9d7cf;border-radius:10px;padding:10px;font-size:12px;line-height:1.9;display:block}.payment-dialog .payment-card-transfer input{text-align:left;height:44px}.payment-dialog .payment-card-transfer textarea{resize:vertical;min-height:170px}.payment-dialog .payment-card-transfer button,.payment-dialog .payment-card-transfer a,.public-card-transfer button{box-sizing:border-box;color:#174e3c;min-width:0;min-height:44px;font:inherit;cursor:pointer;white-space:normal;background:#edf5ef;border:1px solid #b7cfc1;border-radius:10px;justify-content:center;align-items:center;padding:8px 10px;font-size:12px;font-weight:700;text-decoration:none;display:flex}.payment-dialog .payment-card-transfer>button{width:100%}.payment-card-transfer .transfer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.payment-dialog .transfer-actions a{color:#fff;background:#184e3e}.payment-card-transfer [aria-disabled=true],.payment-card-transfer button:disabled{opacity:.5;cursor:not-allowed}.payment-card-transfer :is(input,textarea,button,a):focus-visible,.public-card-transfer button:focus-visible{outline-offset:2px;outline:3px solid #bd922c}.payment-card-transfer .transfer-destination,.public-card-transfer .transfer-destination{text-align:center;overflow-wrap:anywhere;background:#fffdf7;border:1px solid #d4decf;border-radius:12px;gap:6px;min-width:0;padding:12px;display:grid}.transfer-destination>b{letter-spacing:1px;unicode-bidi:isolate;font-size:16px}.payment-dialog .payment-card-transfer .transfer-error{color:#9d3c2c}.public-card-transfer{box-sizing:border-box;color:#164534;overflow-wrap:anywhere;background:linear-gradient(135deg,#f9f1d9,#f1f7f2);border:1px solid #cbb570;border-radius:22px;max-width:740px;margin:20px auto;padding:24px;line-height:2}.public-card-transfer h2{margin:4px 0 12px;font-size:24px}.public-card-transfer>span{color:#796128;font-size:12px}.public-card-transfer .transfer-destination{max-width:420px;margin:18px auto}.public-card-transfer .transfer-destination>b{font-size:22px}.public-card-transfer small{color:#586c60;font-size:12px}@media (max-width:480px){.public-card-transfer{border-radius:16px;margin:12px 0;padding:16px}.public-card-transfer h2{font-size:20px}.public-card-transfer .transfer-destination>b{font-size:18px}}@media print{.public-card-transfer{display:none}}.park-sale-button,.parked-sales-trigger{color:#17483d;cursor:pointer;white-space:nowrap;background:#fffdf8;border:1px solid #d2ddd7;border-radius:15px;justify-content:center;align-items:center;gap:8px;height:50px;padding:0 13px;font:800 11px Vazirmatn,sans-serif;display:flex}.park-sale-button{color:#765719;background:#fff7e2;border-color:#dccb9e}.park-sale-button>span{color:#17483d;background:#e5bd5c;border-radius:9px;place-items:center;width:27px;height:27px;font-size:15px;display:grid}.parked-sales-trigger>b{color:#17483d;background:#e9efec;border-radius:9px;place-items:center;min-width:27px;height:27px;display:grid}.parked-sales-trigger.has-items{background:#edf7f2;border-color:#2d816b}.parked-sales-trigger.has-items>b{color:#edc45e;background:#17483d}.parked-sales-overlay{z-index:1950;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#072720b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.parked-sales-dialog{color:#153f35;background:#fbfaf5;border:1px solid #e7c36f80;border-radius:30px;grid-template-rows:auto minmax(0,1fr) auto;width:min(880px,100%);max-height:calc(100dvh - 36px);font-family:Vazirmatn,sans-serif;display:grid;overflow:hidden;box-shadow:0 35px 110px #00000057}.parked-sales-dialog>header{border-bottom:1px solid #e1e1d9;justify-content:space-between;align-items:center;padding:22px 24px;display:flex}.parked-sales-heading{align-items:center;gap:14px;display:flex}.parked-sales-heading>span{color:#edc45e;background:#17483d;border-radius:18px;place-items:center;width:58px;height:58px;font-size:24px;font-weight:900;display:grid}.parked-sales-heading small{color:#af6345;font-size:10px;font-weight:900}.parked-sales-heading h3{margin:2px 0;font-size:24px}.parked-sales-heading p{color:#7d8a85;margin:0;font-size:11px}.parked-sales-dialog>header>button{color:#64736e;cursor:pointer;background:#fff;border:1px solid #d8ddd9;border-radius:13px;width:42px;height:42px;font-size:25px}.parked-sales-list{gap:10px;padding:17px;display:grid;overflow:auto}.parked-sales-list article{background:#fff;border:1px solid #dce2de;border-radius:18px;grid-template-columns:42px minmax(0,1fr) 150px auto;align-items:center;gap:13px;padding:14px;display:grid;box-shadow:0 8px 24px #1043360d}.parked-sales-number{color:#86621c;background:#f6ecd3;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.parked-sales-customer,.parked-sales-amount{gap:2px;display:grid}.parked-sales-customer small,.parked-sales-amount small{color:#8a9691;font-size:9px}.parked-sales-customer strong{font-size:16px}.parked-sales-customer span{color:#77847f;font-size:10px}.parked-sales-amount{text-align:left;direction:rtl}.parked-sales-amount b{color:#ad5d40;font-size:16px}.parked-sales-amount span{color:#8a9691;font-size:9px}.parked-sales-actions{gap:7px;display:flex}.parked-sales-actions button{cursor:pointer;border-radius:11px;height:40px;padding:0 13px;font:800 10px Vazirmatn,sans-serif}.parked-sales-actions .resume{color:#fff;background:#17483d;border:0}.parked-sales-actions .discard{color:#a64b35;background:#fff4f0;border:1px solid #edc9bf}.parked-sales-empty{color:#71817b;align-content:center;place-items:center;gap:7px;min-height:280px;display:grid}.parked-sales-empty>span{color:#17483d;background:#eef3f0;border-radius:22px;place-items:center;width:70px;height:70px;font-size:29px;display:grid}.parked-sales-empty b{color:#17483d;font-size:18px}.parked-sales-empty small{font-size:11px}.parked-sales-dialog>footer{background:#f5f4ee;border-top:1px solid #e1e1d9;justify-content:space-between;align-items:center;gap:15px;padding:14px 20px;display:flex}.parked-sales-dialog>footer span{color:#7d8a85;font-size:10px}.parked-sales-dialog>footer button{color:#17483d;cursor:pointer;background:#e7ece9;border:0;border-radius:11px;padding:10px 16px;font:800 10px Vazirmatn,sans-serif}@media (max-width:760px){.parked-sales-overlay{align-items:end;padding:0}.parked-sales-dialog{border-radius:27px 27px 0 0;max-height:94dvh}.parked-sales-dialog>header{padding:16px}.parked-sales-heading>span{width:48px;height:48px}.parked-sales-heading h3{font-size:20px}.parked-sales-heading p{display:none}.parked-sales-list article{grid-template-columns:38px minmax(0,1fr);gap:10px}.parked-sales-amount{text-align:right;grid-column:2}.parked-sales-actions{grid-column:1/-1}.parked-sales-actions .resume{flex:1}.parked-sales-dialog>footer{display:grid}.parked-sales-dialog>footer button{width:100%}}@media (max-width:520px){.park-sale-button{padding:0 9px}.park-sale-button>b{display:none}.parked-sales-trigger>span{font-size:0}.parked-sales-trigger>span:after{content:"صف";font-size:11px}.parked-sales-list{padding:10px}.parked-sales-dialog>header>button{width:38px;height:38px}}:is(main:not(:has(.invoice-sheet))>.topbar .parked-sales-trigger,main:has(.invoice-final-lock)>.topbar .parked-sales-trigger){display:none!important}.invoice-share-overlay{padding:16px;overflow-y:auto}.invoice-share-dialog{min-width:0;max-height:calc(100dvh - 32px);overflow-y:auto}.share-recipient{background:#f7f6f0;border:1px solid #d7ded9;border-radius:17px 6px;margin-top:13px;padding:14px}.share-recipient>label{color:#173f35;margin-bottom:8px;font-size:13px;font-weight:800;display:block}.share-recipient-controls{flex-wrap:wrap;gap:8px;display:flex}.share-recipient-controls input{width:0;min-width:0;min-height:48px;font:inherit;color:#173f35;background:#fff;border:1px solid #ccd7d1;border-radius:10px 4px;flex:160px;padding:10px 12px;font-size:16px}.share-recipient-controls button{color:#173f35;min-height:48px;font:inherit;cursor:pointer;background:#e5f1eb;border:1px solid #ccd7d1;border-radius:10px 4px;padding:8px 12px;font-size:12px}.share-recipient small{color:#62736b;margin-top:8px;font-size:11px;line-height:1.8;display:block}.share-recipient .share-recipient-error{color:#a04431}.share-channels>a[aria-disabled=true]{opacity:.5;cursor:not-allowed}.invoice-share-dialog .share-channels{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:650px){.invoice-share-dialog .share-channels{grid-template-columns:1fr}}.share-print-action{color:#fff;cursor:pointer;background:#174b3e;border:0;border-radius:17px 6px;justify-content:center;align-items:center;gap:11px;width:100%;min-height:58px;margin-top:13px;padding:10px 16px;font-family:Vazirmatn,sans-serif;display:flex}.share-print-action>i{color:#173f35;background:#e6be67;border-radius:12px 4px;place-items:center;width:36px;height:36px;font-size:18px;font-style:normal;display:grid}.share-print-action>span{text-align:right;gap:2px;display:grid}.share-print-action b{font-size:13px}.share-print-action small{color:#d7e6df;font-size:8px}@media print{.invoice-share-overlay{display:none!important}}@media (max-width:600px){.payment-dialog{padding-bottom:calc(118px + env(safe-area-inset-bottom))!important}.payment-dialog>footer{z-index:140;padding:11px 18px calc(11px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffdf8f5;border-top:1px solid #d5ddd8;grid-template-columns:minmax(0,.72fr) minmax(0,1fr);gap:10px;margin:0;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -14px 36px #08271f2e}.payment-dialog>footer>button{width:100%;min-width:0;min-height:56px;margin:0}.payment-dialog>footer .payment-confirm{order:2;font-size:15px;box-shadow:0 9px 24px #173f3540}.payment-dialog>footer>button:not(.payment-confirm){color:#29483f;background:#fff;border:1px solid #d7ddd9;border-radius:17px 6px;order:1;padding:0 10px;font-family:Vazirmatn,sans-serif;font-size:12px;font-weight:900}}.payment-methods .payment-zero-button{z-index:2;color:#175542;cursor:pointer;touch-action:manipulation;pointer-events:auto;background:#edf4f0;border:1px solid #d5dfda;border-radius:10px 4px;flex:none;min-width:42px;height:34px;padding:0 8px;font-family:Vazirmatn,sans-serif;font-size:10px;font-weight:900;position:relative}.payment-methods .method>label>input{min-width:0}.payment-methods .payment-zero-button:disabled{opacity:.4;cursor:not-allowed}@media (max-width:600px){.payment-methods .payment-zero-button{min-width:48px;height:40px;font-size:11px}}@media (min-width:901px){.payment-overlay{overflow:hidden;padding:10px 18px!important}.payment-dialog{scrollbar-width:none;border-radius:25px 8px;width:min(1200px,100vw - 36px)!important;max-height:none!important;padding:13px 16px!important;overflow:visible!important}.payment-dialog::-webkit-scrollbar{display:none}.payment-dialog>header{padding-bottom:8px}.payment-title{gap:10px}.payment-title>span{border-radius:14px 5px;width:42px;height:42px}.payment-title h3{font-size:21px}.payment-title small{font-size:8px}.payment-close{width:36px;height:36px}.payment-invoice{border-radius:15px 5px;grid-template-columns:140px 1fr 245px;margin:9px 0}.payment-invoice>div{min-height:56px;padding:8px 13px}.payment-invoice strong{font-size:17px}.payment-methods{gap:9px!important}.payment-methods .method{border-radius:17px 6px;padding:10px 12px!important}.payment-methods .method-head{gap:8px;margin-bottom:7px}.payment-methods .method-head>span{width:32px;height:32px}.payment-methods .method-head h4{font-size:13px}.payment-methods .method label{height:43px}.payment-methods .method input{font-size:14px}.payment-methods .method>button{margin-top:5px;padding-block:3px}.payment-methods .method>p{margin-top:4px}.payment-methods .method select{min-height:42px}.payment-methods .full-payment-button{min-height:34px!important;margin-top:6px!important}.payment-totals{border-radius:14px 5px;margin-top:8px;padding:8px 10px}.payment-totals>div{padding:3px 8px}.payment-totals .remaining{padding:8px 12px}.payment-warning,.payment-result,.pcpos-response{margin-top:6px;padding:7px 10px}.payment-dialog>footer{margin-top:8px}.payment-confirm{min-width:200px;min-height:44px}}.invoice-autosave-state{z-index:40;color:#44645b;background:#f4f9f7;border:1px solid #cfe0d9;border-radius:13px;align-items:center;gap:7px;min-height:42px;padding:0 12px;font-size:11px;font-weight:800;display:flex;position:fixed;bottom:92px;left:26px;box-shadow:0 10px 28px #143d3318}.invoice-autosave-state i{background:#2a8b70;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 5px #2a8b7014}.invoice-autosave-state.is-saving i{background:#d5a63e;animation:1s infinite operational-pulse}.invoice-autosave-state.is-error{color:#a44a35;background:#fff2ee;border-color:#edc8bd}.invoice-autosave-state.is-error i{background:#bb5942}.invoice-history-trigger{z-index:40;color:#174b3f;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d7e0db;border-radius:14px;align-items:center;gap:7px;padding:0 14px;font-size:11px;font-weight:900;display:flex;position:fixed;bottom:92px;left:26px;box-shadow:0 10px 28px #143d3318}.invoice-history-trigger span{color:#8b671b;background:#f7edcf;border-radius:8px;place-items:center;width:27px;height:27px;font-size:17px;display:grid}.invoice-history-overlay{z-index:650;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#092c256e;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.invoice-history-dialog{color:#173f35;direction:rtl;background:#fffdf8;border:1px solid #d6ddd8;border-radius:28px;flex-direction:column;width:min(720px,96vw);max-height:min(760px,92vh);display:flex;overflow:hidden;box-shadow:0 30px 90px #062a2255}.invoice-history-dialog>header{border-bottom:1px solid #e1e5e1;justify-content:space-between;gap:20px;padding:24px 26px 19px;display:flex}.invoice-history-dialog header small{color:#ac5e40;font-weight:900}.invoice-history-dialog h3{margin:4px 0;font-size:24px}.invoice-history-dialog header p{color:#7c8984;margin:0;font-size:12px}.invoice-history-dialog header button{color:#65756f;background:#fff;border:1px solid #d8ddd9;border-radius:13px;width:42px;height:42px;font-size:24px}.invoice-history-list{gap:10px;padding:20px 26px;display:grid;overflow:auto}.invoice-history-list article{background:#fff;border:1px solid #dde4df;border-radius:17px;grid-template-columns:12px minmax(150px,.7fr) 1.4fr;align-items:center;gap:13px;padding:14px;display:grid}.invoice-history-list article>i{background:#25836b;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 6px #25836b15}.invoice-history-list article>div{display:grid}.invoice-history-list article span{color:#a4563a;font-size:11px;font-weight:900}.invoice-history-list article b{font-size:14px}.invoice-history-list article small{color:#81908a}.invoice-history-list dl{grid-template-columns:repeat(3,1fr);gap:7px;margin:0;display:grid}.invoice-history-list dl div{background:#f3f7f5;border-radius:11px;gap:3px;padding:9px;display:grid}.invoice-history-list dt{color:#7e8c87;font-size:9px}.invoice-history-list dd{margin:0;font-size:11px;font-weight:900}.invoice-history-state{text-align:center;color:#74847e;border:1px dashed #d5ddd8;border-radius:17px;margin:24px;padding:34px}.invoice-history-state.error{color:#a44832;background:#fff1ed;border-color:#edc7bb}.invoice-history-dialog>footer{border-top:1px solid #e1e5e1;padding:15px 26px 22px}.invoice-history-dialog>footer button{color:#fff;width:100%;min-height:48px;font:inherit;background:#124b3e;border:0;border-radius:14px;font-weight:900}@keyframes operational-pulse{50%{opacity:.45;transform:scale(.8)}}@media (max-width:700px){.invoice-autosave-state,.invoice-history-trigger{bottom:82px;left:14px}.invoice-history-overlay{align-items:end;padding:0}.invoice-history-dialog{border-radius:27px 27px 0 0;width:100%;max-height:92dvh}.invoice-history-list article{grid-template-columns:10px 1fr}.invoice-history-list dl{grid-column:2;grid-template-columns:1fr 1fr}.invoice-history-list dl div:last-child{grid-column:1/-1}}.empty-product-row .quantity-stepper,.empty-product-row .money-input,.empty-product-row .discount-mobile-entry,.empty-product-row .tax-readonly{opacity:.55}.empty-product-row input:disabled,.empty-product-row button:disabled{cursor:not-allowed}.empty-product-row .net{color:#81908a}.payment-overlay{box-sizing:border-box;overflow:hidden;padding:16px!important}.payment-overlay>.payment-dialog{box-sizing:border-box;flex-direction:column;max-width:100%;min-height:0;display:flex;max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;padding:14px 16px!important;overflow:hidden!important}.payment-overlay>.payment-dialog>header{flex:none}.payment-dialog>.payment-dialog-body{scrollbar-width:thin;scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-width:0;min-height:0;scroll-padding-block:12px;overflow:hidden auto}.payment-overlay>.payment-dialog>footer{z-index:2;background:#fbf8f0;border-top:1px solid #d5ddd8;flex-wrap:wrap;flex:none;gap:10px;box-shadow:0 -8px 16px #173f350b;padding:12px 0 max(0px, env(safe-area-inset-bottom))!important;flex-direction:row!important;margin:0!important;display:flex!important;position:relative!important;inset:auto!important}.payment-overlay>.payment-dialog>footer>button{white-space:normal;min-width:0;min-height:52px}@media (max-width:600px){.payment-overlay{padding:8px!important}.payment-overlay>.payment-dialog{width:100%!important;max-height:calc(100vh - 16px)!important;max-height:calc(100dvh - 16px)!important;padding:10px!important}.payment-overlay>.payment-dialog>footer{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:stretch;gap:8px;display:grid!important}.payment-overlay>.payment-dialog>footer>button{width:100%;min-height:56px}}.offline-sales{color:#194c3c;box-sizing:border-box;background:#f4f0e5;max-width:1180px;min-height:100vh;margin:auto;padding:24px 18px 60px;font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.9}.offline-sales *{box-sizing:border-box;overflow-wrap:anywhere;min-width:0}.offline-sales>header{color:#fff;background:#174d3f;border-radius:24px;justify-content:space-between;align-items:center;gap:18px;padding:24px;display:flex}.offline-sales h1{margin:4px 0;font-size:26px}.offline-sales h2{margin:0 0 12px;font-size:20px}.offline-sales h3{margin:0;font-size:15px}.offline-sales p{font-size:13px}.offline-sales small{color:#66766d;font-size:12px;display:block}.offline-sales>header a{color:#fff}.offline-card{background:#fffdf8;border:1px solid #d9ded1;border-radius:22px;margin:18px 0;padding:22px;box-shadow:0 5px 22px #254b3510}.offline-setup{max-width:700px;margin:24px auto}.offline-sales label{gap:6px;margin:12px 0;font-size:13px;display:grid}.offline-sales input,.offline-sales select{color:#194c3c;width:100%;height:46px;font:inherit;background:#fff;border:1px solid #c3d1c7;border-radius:10px;padding:8px 12px}.offline-sales input[type=file]{height:auto}.offline-sales button,.offline-sales summary{color:#194c3c;min-height:44px;font:inherit;cursor:pointer;background:#eef5ee;border:1px solid #bed0c5;border-radius:12px;padding:8px 14px;font-size:12px;font-weight:700}.offline-sales button:disabled{opacity:.5;cursor:not-allowed}.offline-sales button:focus-visible,.offline-sales input:focus-visible,.offline-sales select:focus-visible,.offline-sales summary:focus-visible{outline-offset:2px;outline:3px solid #b9912a}.offline-actions{flex-wrap:wrap;gap:10px;margin:14px 0;display:flex}.offline-actions>button:first-child{color:#fff;background:#1a5642}.offline-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.offline-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:240px;padding:4px;display:grid;overflow-y:auto}.offline-results button{text-align:right;background:#f6f6ed}.offline-rows{gap:12px;margin:20px 0;display:grid}.offline-rows>article{border:1px solid #d8dfd4;border-radius:14px;padding:16px}.offline-error{color:#923e2b;background:#fff0eb;border:1px solid #ebc9bc;border-radius:12px;padding:12px}.offline-notice{background:#e8f4e9;border-radius:12px;padding:12px}.offline-sale{border:1px solid #d1dbd1;border-inline-start:4px solid #d0ad51;border-radius:14px;margin:14px 0;padding:18px}.offline-sale header{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.offline-sale.synced{border-inline-start-color:#2d875d}.offline-sale.conflict{border-inline-start-color:#b1543d}.offline-sale.cancelled{opacity:.65}.offline-sale>small{text-align:right;font-size:10px}.offline-sales details{margin:14px 0}.offline-sales summary{background:#fbf0cc}.offline-setup>button{width:100%;margin:8px 0}@media (max-width:700px){.offline-sales{padding:10px 10px 60px}.offline-sales>header{flex-direction:column;align-items:stretch;padding:18px}.offline-sales h1{font-size:22px}.offline-card{border-radius:16px;padding:16px}.offline-results{grid-template-columns:repeat(2,minmax(0,1fr))}.offline-form-grid{grid-template-columns:minmax(0,1fr)}.offline-actions>button{flex:140px}.offline-results{max-height:200px}}body:has(.offline-sales) .skip-to-content:not(:focus){visibility:hidden}.offline-online-look{--offline-green:var(--theme-primary,#17614f);--offline-green-dark:var(--theme-primary-hover,#10493c);--offline-gold:var(--theme-accent,#e2b747);--offline-paper:var(--theme-surface,#fffdf8);--offline-raised:var(--theme-surface-strong,#fff);--offline-soft:var(--theme-surface-soft,#f7f2e8);--offline-line:var(--theme-border,#d9e1dc);--offline-text:var(--theme-text,#173c34);--offline-muted:var(--theme-muted,#687c76);width:100%;max-width:1440px;color:var(--offline-text);background:var(--theme-page,#f4efe3);padding:0 26px 72px}.offline-online-look>header{z-index:40;border:0;border-bottom:1px solid var(--offline-line);background:color-mix(in srgb, var(--offline-paper) 95%, transparent);min-height:92px;color:var(--offline-text);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:0;margin:0 -26px 24px;padding:15px 32px;position:sticky;top:0;box-shadow:0 10px 30px #14382e14}.offline-online-look>header>div{gap:2px;display:grid}.offline-online-look>header>div:before{content:"فاکتور فروش · حالت پایدار دستگاه";color:var(--offline-muted);font-size:11px;font-weight:800}.offline-online-look>header>div>span,.offline-online-look>header>div>p{display:none}.offline-online-look>header h1{color:var(--offline-text);margin:0;font-size:29px;line-height:1.55}.offline-online-look>header a{border:1px solid var(--offline-line);background:var(--offline-raised);min-height:46px;color:var(--offline-text);border-radius:15px 5px;justify-content:center;align-items:center;padding:0 18px;font-size:12px;font-weight:900;text-decoration:none;display:inline-flex}.offline-online-look .offline-global-message{max-width:1180px;margin:12px auto}.offline-online-look .offline-card{border:1px solid var(--offline-line);background:var(--offline-paper);max-width:1180px;color:var(--offline-text);box-shadow:var(--theme-shadow,0 18px 48px #1e372f1a);border-radius:30px 9px;margin:18px auto;padding:24px}.offline-online-look .offline-control-panel{border-radius:22px 7px;grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:14px 26px;padding:19px 22px;display:grid}.offline-online-look .offline-control-panel h2{color:var(--offline-text);margin:0;font-size:18px}.offline-online-look .offline-control-panel>p{color:var(--offline-muted);margin:5px 0 0}.offline-online-look .offline-control-panel>.offline-actions{grid-area:1/2/span 2;justify-content:flex-end;margin:0}.offline-online-look .offline-control-panel>small{border-top:1px solid var(--offline-line);grid-column:1/-1;padding-top:12px}.offline-online-look button,.offline-online-look summary{border-color:var(--offline-line);background:var(--offline-soft);color:var(--offline-text)}.offline-online-look .offline-actions>button:first-child,.offline-online-look .offline-register-action{background:var(--offline-green);border-color:var(--offline-green);color:#fff}.offline-online-look input,.offline-online-look select{border-color:var(--offline-line);background:var(--offline-raised);min-height:50px;color:var(--offline-text);border-radius:14px 5px}.offline-online-look .offline-invoice-sheet{background:radial-gradient(circle at 100% 0, color-mix(in srgb, var(--offline-gold) 8%, transparent), transparent 23%), radial-gradient(circle at 0 100%, color-mix(in srgb, var(--offline-green) 8%, transparent), transparent 27%), var(--offline-paper);padding:28px;position:relative;overflow:visible}.offline-online-look .offline-invoice-sheet:before{content:"فاکتور فروش کارما";color:var(--offline-green);margin-bottom:3px;font-size:11px;font-weight:900;display:block}.offline-online-look .offline-invoice-sheet>h2{border-bottom:1px solid var(--offline-line);color:var(--offline-text);margin:0 0 22px;padding:0 0 20px;font-size:25px}.offline-online-look .offline-invoice-sheet>h2:after{content:"شماره محلی · پس از همگام‌سازی شماره رسمی می‌گیرد";float:left;border:1px solid color-mix(in srgb, var(--offline-gold) 35%, var(--offline-line));background:color-mix(in srgb, var(--offline-gold) 12%, var(--offline-soft));color:color-mix(in srgb, var(--offline-gold) 75%, var(--offline-text));border-radius:12px 4px;margin-top:4px;padding:7px 11px;font-size:10px}.offline-online-look .offline-invoice-sheet>.offline-form-grid:first-of-type{border:1px solid var(--offline-line);background:color-mix(in srgb, var(--offline-raised) 72%, transparent);border-radius:22px 7px;grid-template-columns:minmax(180px,.7fr) minmax(280px,1.5fr);padding:18px}.offline-online-look .offline-invoice-sheet>p{margin:10px 0}.offline-online-look .offline-invoice-sheet>details{border:1px solid var(--offline-line);background:var(--offline-soft);border-radius:17px 6px;padding:0;overflow:hidden}.offline-online-look .offline-invoice-sheet>details>summary{background:0 0;border:0;border-radius:0;min-height:49px;padding:10px 16px}.offline-online-look .offline-invoice-sheet>details[open]>:not(summary){margin-inline:16px}.offline-online-look .offline-invoice-sheet>label{border-top:1px solid var(--offline-line);color:var(--offline-text);margin-top:28px;padding-top:22px;font-size:16px;font-weight:900}.offline-online-look .offline-invoice-sheet>label:before{content:"اقلام فاکتور";color:var(--offline-green);font-size:11px;display:block}.offline-online-look .offline-results{z-index:5;border:1px solid var(--offline-line);background:var(--offline-soft);border-radius:18px 6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:270px;margin-top:8px;padding:8px;position:relative}.offline-online-look .offline-results:empty{display:none}.offline-online-look .offline-results button{background:var(--offline-raised);min-height:58px;color:var(--offline-text);border-radius:14px 5px;padding:10px 13px}.offline-online-look .offline-results button small{color:var(--offline-muted)}.offline-online-look .offline-rows{gap:9px;margin:18px 0 24px}.offline-online-look .offline-rows:empty:before{content:"هنوز کالایی اضافه نشده است؛ نام، کد یا بارکد کالا را جستجو کنید.";border:1px dashed var(--offline-line);background:var(--offline-soft);min-height:110px;color:var(--offline-muted);text-align:center;border-radius:19px 6px;place-items:center;padding:18px;display:grid}.offline-online-look .offline-rows>article{border-color:var(--offline-line);background:var(--offline-raised);border-radius:17px 5px;grid-template-columns:minmax(240px,1.5fr) minmax(420px,2fr) auto;align-items:center;gap:14px;padding:13px 15px;display:grid}.offline-online-look .offline-rows>article>h3{color:var(--offline-text);line-height:1.7}.offline-online-look .offline-rows>article>.offline-form-grid{grid-template-columns:repeat(3,minmax(110px,1fr));gap:8px}.offline-online-look .offline-rows>article label{color:var(--offline-muted);margin:0;font-size:10px}.offline-online-look .offline-rows>article input{text-align:center;direction:ltr;height:43px;min-height:43px;font-weight:900}.offline-online-look .offline-rows>article>small{grid-column:1;margin-top:-10px}.offline-online-look .offline-rows>article>button{border-color:color-mix(in srgb, var(--theme-danger,#b84e3e) 30%, var(--offline-line));background:color-mix(in srgb, var(--theme-danger,#b84e3e) 10%, var(--offline-raised));width:42px;min-height:42px;color:var(--theme-danger,#b84e3e);grid-area:1/3/span 2;padding:0;font-size:0}.offline-online-look .offline-rows>article>button:before{content:"×";font-size:20px}.offline-online-look .offline-invoice-sheet>.offline-form-grid:last-of-type{border-top:1px solid var(--offline-line);grid-template-columns:1fr 1fr;max-width:720px;margin-top:25px;padding-top:24px}.offline-online-look .offline-invoice-sheet>.offline-form-grid:last-of-type+p{border:1px solid var(--offline-line);background:var(--offline-soft);color:var(--offline-muted);border-radius:18px 6px;justify-content:flex-end;gap:18px;margin-top:20px;padding:16px 18px;display:flex}.offline-online-look .offline-invoice-sheet>.offline-form-grid:last-of-type+p b{color:var(--offline-green);font-size:18px}.offline-online-look .offline-invoice-sheet>.offline-actions:last-child{bottom:max(10px, env(safe-area-inset-bottom,0px));z-index:20;border:1px solid var(--offline-line);background:color-mix(in srgb, var(--offline-paper) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:20px 7px;grid-template-columns:minmax(210px,1fr) auto;margin:22px 0 0;padding:12px;display:grid;position:sticky;box-shadow:0 15px 40px #0c282029}.offline-online-look .offline-invoice-sheet>.offline-actions:last-child>button{min-height:54px}.offline-online-look .offline-invoice-sheet>.offline-actions:last-child>button:first-child{font-size:14px}.offline-online-look .offline-ledger>h2{margin-bottom:2px;font-size:24px}.offline-online-look .offline-sale{border-color:var(--offline-line);background:var(--offline-raised);border-inline-start-width:5px;border-radius:18px 6px;padding:17px 18px}.offline-online-look .offline-sale>header>b{color:var(--offline-text)}.offline-online-look .offline-sale>header>span{background:var(--offline-soft);color:var(--offline-muted);border-radius:999px;padding:4px 10px;font-size:10px;font-weight:900}.offline-online-look .offline-sale>p{color:var(--offline-text);font-weight:800}.offline-online-look .offline-sale .offline-actions{margin-bottom:0}:root[data-theme=night] .offline-online-look{--offline-paper:var(--theme-neutral-recessed);--offline-raised:var(--theme-neutral-surface);--offline-soft:var(--theme-neutral-raised)}:root[data-theme=night] .offline-online-look .offline-invoice-sheet,:root[data-theme=night] .offline-online-look .offline-card,:root[data-theme=night] .offline-online-look .offline-control-panel{background-color:var(--offline-paper)!important}@media (max-width:900px){.offline-online-look{padding-inline:15px}.offline-online-look>header{margin-inline:-15px;padding-inline:18px}.offline-online-look .offline-control-panel{grid-template-columns:1fr}.offline-online-look .offline-control-panel>.offline-actions{grid-area:auto/1;justify-content:stretch}.offline-online-look .offline-control-panel>.offline-actions button{flex:150px}.offline-online-look .offline-results{grid-template-columns:repeat(2,minmax(0,1fr))}.offline-online-look .offline-rows>article{grid-template-columns:minmax(180px,1fr) minmax(360px,2fr) auto}}@media (max-width:700px){.offline-online-look{padding:0 9px calc(94px + env(safe-area-inset-bottom,0px))}.offline-online-look>header{flex-direction:row;align-items:center;min-height:84px;margin:0 -9px 13px;padding:11px 13px}.offline-online-look>header h1{font-size:21px}.offline-online-look>header>div:before{font-size:9px}.offline-online-look>header a{min-height:43px;padding:0 11px;font-size:10px}.offline-online-look .offline-card{border-radius:23px 7px;margin:12px auto;padding:15px}.offline-online-look .offline-control-panel{gap:9px;padding:15px}.offline-online-look .offline-control-panel h2{font-size:16px}.offline-online-look .offline-control-panel>p{font-size:11px}.offline-online-look .offline-control-panel>.offline-actions{grid-template-columns:1fr 1fr;display:grid}.offline-online-look .offline-control-panel>.offline-actions button{min-width:0;font-size:10px}.offline-online-look .offline-invoice-sheet{padding:17px 13px}.offline-online-look .offline-invoice-sheet>h2{padding-bottom:48px;font-size:21px}.offline-online-look .offline-invoice-sheet>h2:after{float:none;position:absolute;top:72px;left:auto;right:13px}.offline-online-look .offline-invoice-sheet>.offline-form-grid:first-of-type{grid-template-columns:1fr;padding:12px}.offline-online-look .offline-invoice-sheet>label{font-size:14px}.offline-online-look .offline-results{grid-template-columns:1fr;max-height:245px}.offline-online-look .offline-rows>article{grid-template-columns:1fr;gap:10px;padding:15px 12px;position:relative}.offline-online-look .offline-rows>article>h3{padding-left:48px;font-size:14px}.offline-online-look .offline-rows>article>.offline-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.offline-online-look .offline-rows>article>small{grid-column:1;margin:0}.offline-online-look .offline-rows>article>button{grid-area:auto;position:absolute;top:12px;left:12px}.offline-online-look .offline-rows>article input{padding-inline:5px;font-size:12px}.offline-online-look .offline-invoice-sheet>.offline-form-grid:last-of-type{grid-template-columns:1fr}.offline-online-look .offline-invoice-sheet>.offline-form-grid:last-of-type+p{justify-content:stretch;gap:4px;display:grid}.offline-online-look .offline-invoice-sheet>.offline-actions:last-child{bottom:calc(8px + env(safe-area-inset-bottom,0px));grid-template-columns:1fr auto}.offline-online-look .offline-invoice-sheet>.offline-actions:last-child>button{min-width:0;padding-inline:10px}.offline-online-look .offline-ledger>h2{font-size:20px}.offline-online-look .offline-sale .offline-actions{grid-template-columns:1fr 1fr;display:grid}}@media (max-width:390px){.offline-online-look .offline-control-panel>.offline-actions,.offline-online-look .offline-sale .offline-actions{grid-template-columns:1fr}.offline-online-look .offline-rows>article>.offline-form-grid{grid-template-columns:1fr 1fr}.offline-online-look .offline-rows>article>.offline-form-grid label:first-child{grid-column:1/-1}.offline-online-look .offline-invoice-sheet>.offline-actions:last-child{grid-template-columns:1fr}}@media print{.offline-online-look>header,.offline-online-look .offline-control-panel,.offline-online-look .offline-invoice-sheet{box-shadow:none!important}}.offline-online-look .offline-selected-customer{border:1px solid var(--offline-line);background:var(--offline-soft);border-radius:15px 5px;justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin:10px 0;padding:9px 13px;font-size:13px;display:flex}.offline-online-look .offline-selected-customer button{min-height:36px;padding:5px 11px}.offline-online-look .offline-rows>article{grid-template-columns:minmax(190px,1.05fr) minmax(510px,2.5fr) minmax(150px,.75fr) auto;align-items:start}.offline-online-look .offline-row-title{padding-top:7px}.offline-online-look .offline-row-title h3{color:var(--offline-text);line-height:1.65}.offline-online-look .offline-row-title small{color:var(--offline-muted);margin-top:4px}.offline-online-look .offline-row-fields{grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;display:grid}.offline-online-look .offline-row-fields label{color:var(--offline-muted);margin:0;font-size:10px}.offline-online-look .offline-row-fields input{text-align:center;direction:ltr;height:44px;min-height:44px;font-weight:900}.offline-online-look .offline-row-description{grid-column:1/-1}.offline-online-look .offline-row-description input{text-align:right;direction:rtl;font-weight:500}.offline-online-look .offline-stepper,.offline-online-look .offline-discount-input{grid-template-columns:44px minmax(58px,1fr) 44px;align-items:center;gap:5px;display:grid}.offline-online-look .offline-discount-input{grid-template-columns:minmax(90px,1fr) 54px}.offline-online-look .offline-stepper button,.offline-online-look .offline-discount-input button{border-radius:12px 4px;min-height:44px;padding:0;font-size:16px}.offline-online-look .offline-stepper button:last-child,.offline-online-look .offline-discount-input button.active{background:color-mix(in srgb, var(--offline-green) 13%, var(--offline-soft));color:var(--offline-green)}.offline-online-look .offline-discount-input button{font-size:10px}.offline-online-look .offline-row-totals{border:1px solid var(--offline-line);background:var(--offline-soft);color:var(--offline-muted);border-radius:14px 5px;gap:6px;padding:9px 11px;font-size:10px;display:grid}.offline-online-look .offline-row-totals span{justify-content:space-between;gap:8px;display:flex}.offline-online-look .offline-row-totals b{color:var(--offline-text)}.offline-online-look .offline-rows>article>.offline-remove-row{grid-area:1/4;width:44px;min-height:44px;position:static}.offline-online-look .offline-payment-panel{border:1px solid var(--offline-line);background:var(--offline-soft);border-radius:22px 7px;margin-top:26px;padding:20px}.offline-online-look .offline-payment-panel>h3{margin-bottom:13px;font-size:18px}.offline-online-look .offline-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.offline-online-look .offline-summary-grid>span,.offline-online-look .offline-payment-breakdown>span{border:1px solid var(--offline-line);background:var(--offline-raised);color:var(--offline-muted);border-radius:15px 5px;gap:4px;padding:11px 13px;font-size:10px;display:grid}.offline-online-look .offline-summary-grid b,.offline-online-look .offline-payment-breakdown b{color:var(--offline-text);font-size:13px}.offline-online-look .offline-summary-grid .grand{border-color:color-mix(in srgb, var(--offline-green) 40%, var(--offline-line));background:color-mix(in srgb, var(--offline-green) 10%, var(--offline-raised))}.offline-online-look .offline-summary-grid .grand b{color:var(--offline-green);font-size:15px}.offline-online-look .offline-amount-words{color:var(--offline-muted);margin:11px 0}.offline-online-look .offline-amount-words b{color:var(--offline-text)}.offline-online-look .offline-payment-fields{grid-template-columns:minmax(260px,1fr) minmax(220px,.8fr)}.offline-online-look .offline-payment-fields label{margin-bottom:0}.offline-online-look .offline-quick-values{gap:6px;display:flex}.offline-online-look .offline-quick-values button{min-height:38px;padding:5px 12px}.offline-online-look .offline-payment-breakdown{grid-template-columns:1fr 1fr;gap:8px;margin:13px 0;display:grid}.offline-online-look .offline-payment-breakdown>span{justify-content:space-between;align-items:center;display:flex}.offline-online-look .offline-draft-actions{bottom:max(10px, env(safe-area-inset-bottom,0px));z-index:20;border:1px solid var(--offline-line);background:color-mix(in srgb, var(--offline-paper) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:20px 7px;grid-template-columns:minmax(210px,1fr) auto;margin:22px 0 0;padding:12px;display:grid;position:sticky;box-shadow:0 15px 40px #0c282029}.offline-online-look .offline-draft-actions>button{min-height:54px}@media (max-width:1050px){.offline-online-look .offline-rows>article{grid-template-columns:minmax(170px,.9fr) minmax(430px,2fr) minmax(145px,.7fr) auto}}@media (max-width:900px){.offline-online-look .offline-rows>article{grid-template-columns:1fr;padding-left:66px;position:relative}.offline-online-look .offline-row-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.offline-online-look .offline-row-totals{grid-template-columns:repeat(3,1fr)}.offline-online-look .offline-rows>article>.offline-remove-row{grid-column:auto;position:absolute;top:13px;left:13px}.offline-online-look .offline-summary-grid{grid-template-columns:1fr 1fr}}@media (max-width:700px){.offline-online-look .offline-rows>article{padding:15px 12px 15px 58px}.offline-online-look .offline-row-fields{grid-template-columns:1fr 1fr}.offline-online-look .offline-row-description{grid-column:1/-1}.offline-online-look .offline-row-totals{grid-template-columns:1fr}.offline-online-look .offline-payment-panel{padding:14px 11px}.offline-online-look .offline-payment-fields{grid-template-columns:1fr}.offline-online-look .offline-draft-actions{bottom:calc(8px + env(safe-area-inset-bottom,0px));grid-template-columns:1fr auto}}@media (max-width:480px){.offline-online-look .offline-row-fields,.offline-online-look .offline-summary-grid,.offline-online-look .offline-payment-breakdown,.offline-online-look .offline-draft-actions{grid-template-columns:1fr}.offline-online-look .offline-selected-customer{flex-direction:column;align-items:stretch}}.wm-help{color:#183d34;font-family:inherit}.wm-help button,.wm-help input,.wm-help select{font:inherit;box-sizing:border-box}.wm-help button{cursor:pointer;color:#183d34;background:#fff;border:1px solid #c6d5cf;border-radius:10px;min-height:44px;padding:8px 12px}.wm-help button:focus-visible,.wm-help input:focus-visible,.wm-help select:focus-visible{outline-offset:2px;outline:3px solid #b78116}.wm-help button:disabled{opacity:.45;cursor:default}.wm-help-launch{inset-inline-end:18px;z-index:1500;position:fixed;top:8px;box-shadow:0 3px 12px #0002;color:#fff!important;background:#174c3f!important}.wm-help-panel{inset-inline-end:0;z-index:11000;background:#fffdf7;border-inline-start:1px solid #c6d5cf;flex-direction:column;width:min(460px,100vw);max-height:100dvh;display:flex;position:fixed;top:0;bottom:0;box-shadow:0 0 35px #0003}.wm-help-panel>header{border-bottom:1px solid #d6dfda;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.wm-help-panel h2{margin:0;font-size:20px}.wm-help-panel nav{flex-wrap:wrap;gap:6px;padding:10px 16px;display:flex}.wm-help-panel nav button{font-size:12px}.wm-help-body{overscroll-behavior:contain;min-height:0;padding:0 20px 20px;line-height:1.95;overflow:auto}.wm-help-body label{gap:5px;margin:10px 0;display:grid}.wm-help input,.wm-help select{color:#183d34;background:#fff;border:1px solid #b8cbc2;border-radius:8px;width:100%;min-height:44px;padding:9px}.wm-help-articles{gap:10px;display:grid}.wm-help-articles button{text-align:right;gap:4px;display:grid}.wm-help-articles small{color:#596d63}.wm-help-articles span{font-size:13px}.wm-help-body h3{font-size:21px}.wm-help-body li{padding-bottom:10px}.wm-help-body ol,.wm-help-body ul{padding-inline-start:24px}.wm-help-note{background:#edf4ef;border-radius:10px;padding:12px}.wm-help-buttons{flex-wrap:wrap;gap:8px;display:flex}.wm-help-panel footer{padding:10px 16px;padding-bottom:max(10px,env(safe-area-inset-bottom));border-top:1px solid #d6dfda;font-size:11px;line-height:1.8}@media (max-width:600px){.wm-help-panel{width:100%;padding-top:env(safe-area-inset-top)}.wm-help-launch{top:auto;bottom:calc(205px + env(safe-area-inset-bottom));inset-inline-end:12px}.wm-help-body{padding-inline:16px}}@media print{.wm-help{display:none!important}}:root{--ink:#14231c;--muted:#718078;--paper:#fffdf8;--canvas:#f2f0e8;--green:#096b4b;--green2:#0e8760;--line:#dfe3dc;--red:#b83d36;--shadow:0 18px 55px #1c2a221a}*{box-sizing:border-box}body{background:var(--canvas);color:var(--ink);margin:0;font-family:Vazirmatn,Segoe UI,Tahoma,sans-serif}.hidden{display:none!important}button,input{font:inherit}.login-page{background:var(--paper);grid-template-columns:1.15fr .85fr;min-height:100vh;display:grid}.login-art{color:#fff;background:linear-gradient(145deg,#062f24,#087050);align-items:flex-end;padding:8vw;display:flex;position:relative;overflow:hidden}.login-art:after{content:"";background-image:radial-gradient(#ffffff24 1px,#0000 1px);background-size:24px 24px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.login-copy{z-index:2;max-width:620px;position:relative}.eyebrow{letter-spacing:3px;color:#e9bd6b;font-size:11px;font-weight:800}.login-copy h1{margin:20px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(52px,7vw,100px);line-height:.95}.login-copy h1 em{color:#f0c978;font-weight:400}.login-copy p{color:#d5e8df;max-width:480px;font-size:18px;line-height:2}.orbit{border:1px solid #ffffff38;border-radius:50%;position:absolute}.orbit-one{width:55vw;height:55vw;top:-30vw;right:-15vw}.orbit-two{width:34vw;height:34vw;top:-20vw;right:-5vw}.login-card{width:min(410px,80%);margin:auto}.mark{background:var(--green);color:#fff;border-radius:15px;place-items:center;width:52px;height:52px;font-family:Georgia;font-size:28px;display:grid;box-shadow:0 9px 24px #096b4b44}.login-card h2{margin:30px 0 8px;font-size:32px}.login-card>p{color:var(--muted);margin-bottom:30px}.login-card label,.invoice-meta label,.payments label{gap:8px;margin-bottom:18px;font-size:13px;font-weight:700;display:grid}.login-card input,.invoice-meta input,.payments input{border:1px solid var(--line);background:#fff;border-radius:11px;outline:none;width:100%;padding:13px 14px;transition:all .2s}.login-card input:focus,.invoice-meta input:focus,.payments input:focus{border-color:var(--green);box-shadow:0 0 0 4px #0e876014}.primary,.secondary,.danger,.back,.icon-btn{border:0;border-radius:10px;padding:11px 17px;font-weight:700}.primary{background:var(--green);color:#fff;box-shadow:0 7px 16px #096b4b30}.wide{width:100%;padding:14px}.secondary{border:1px solid var(--line);color:var(--ink);background:#fff}.danger{color:var(--red);background:#fff0ef}.login-card small{text-align:center;color:var(--muted);margin-top:20px;display:block}.app-page{grid-template-columns:245px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;z-index:20;background:#10271e;flex-direction:column;width:245px;padding:26px 18px;display:flex;position:fixed;inset:0 0 0 auto}.logo{border-bottom:1px solid #ffffff17;align-items:center;gap:12px;padding:0 9px 28px;display:flex}.logo>span{color:#163326;background:#e9bd6b;border-radius:11px;place-items:center;width:38px;height:38px;font-family:Georgia;font-size:23px;display:grid}.logo div{display:grid}.logo b{letter-spacing:2px}.logo small{color:#9bb3a8;margin-top:3px}.sidebar nav{gap:7px;margin-top:26px;display:grid}.nav{color:#b6c8bf;text-align:right;background:0 0;border:0;border-radius:10px;padding:13px;font-weight:700}.nav i{margin-left:9px;font-size:19px;font-style:normal}.nav:hover,.nav.active{color:#fff;background:#ffffff12}.side-foot{border-top:1px solid #ffffff17;grid-template-columns:38px 1fr 30px;align-items:center;gap:9px;margin-top:auto;padding-top:18px;display:grid}.side-foot div:nth-child(2){display:grid}.side-foot small{color:#91a99e}.avatar{color:#1c3529;background:#e9bd6b;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.side-foot button{color:#c3d1ca;background:0 0;border:0;font-size:19px}.app-page main{grid-column:2;min-width:0}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#f9f8f3;align-items:center;gap:15px;height:88px;padding:0 38px;display:flex;position:sticky;top:0}.topbar h2{margin:4px 0 0;font-size:20px}.top-actions{align-items:center;gap:12px;margin-right:auto;display:flex}.db-badge{color:var(--green);background:#e1f0e8;border-radius:20px;padding:7px 10px;font-size:11px}.icon-btn{background:#fff;display:none}.hero{color:#fff;min-height:205px;box-shadow:var(--shadow);background:linear-gradient(115deg,#102d22,#0b704e);border-radius:20px;justify-content:space-between;align-items:center;padding:38px 42px;display:flex;position:relative;overflow:hidden}.hero:after{content:"";border:60px solid #ffffff0c;border-radius:50%;width:350px;height:350px;position:absolute;top:-150px;left:-90px}.hero h3{margin:12px 0;font-family:Georgia,Times New Roman,serif;font-size:34px}.hero p{color:#c5dbd1}.hero-number{z-index:2;text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff0e;border:1px solid #fff2;border-radius:18px;padding:24px 35px;position:relative}.hero-number span{color:#bcd0c7;font-size:12px;display:block}.hero-number strong{margin-top:8px;font-size:42px;display:block}.toolbar{justify-content:space-between;gap:12px;margin:24px 0 15px;display:flex}.search{border:1px solid var(--line);background:#fff;border-radius:11px;flex:1;align-items:center;max-width:540px;padding:0 13px;display:flex}.search span{color:var(--muted);font-size:23px}.search input{background:0 0;border:0;outline:0;width:100%;padding:12px}.table-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;overflow:auto;box-shadow:0 9px 30px #25342c0b}table{border-collapse:collapse;white-space:nowrap;width:100%}th{color:var(--muted);text-align:right;border-bottom:1px solid var(--line);background:#f7f6f1;padding:14px 17px;font-size:11px}td{border-bottom:1px solid #e8eae6;padding:14px 17px;font-size:13px}tbody tr:hover{background:#fafbf7}.row-actions{justify-content:flex-end;gap:5px;display:flex}.mini{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:7px;padding:6px 9px}.empty{text-align:center;color:var(--muted);padding:60px}.editor-head{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.editor-head h3{margin:10px 0;font-size:25px}.back{color:var(--muted);background:0 0;padding:0}.editor-actions{gap:9px;display:flex}.invoice-sheet{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:27px}.invoice-meta{border-bottom:1px solid var(--line);grid-template-columns:180px 180px minmax(250px,1fr);gap:16px;padding-bottom:20px;display:grid}.customer-field,.combo{position:relative}.results{z-index:15;border:1px solid var(--line);width:100%;box-shadow:var(--shadow);background:#fff;border-radius:10px;max-height:230px;position:absolute;top:49px;overflow:auto}.result{text-align:right;background:#fff;border:0;border-bottom:1px solid #eee;width:100%;padding:11px 13px;display:block}.result:hover{background:#eff7f2}.items-head{justify-content:space-between;align-items:center;margin:24px 0 13px;display:flex}.items-head h4,.payments h4{margin:0}.items-head p{color:var(--muted);margin:5px 0;font-size:12px}.items-wrap{overflow:visible}.items{white-space:nowrap}.items th,.items td{padding:8px}.items input{border:1px solid var(--line);background:#fff;border-radius:8px;outline:none;width:100%;min-width:76px;padding:9px}.items .product-cell{min-width:230px;position:relative}.items .product-cell input{min-width:220px}.items .row-results{top:43px}.items .net{color:var(--green);font-weight:800}.remove{color:var(--red);background:#fff0ef;border:0;border-radius:8px;padding:7px 10px}.invoice-bottom{border-top:1px solid var(--line);grid-template-columns:1fr 400px;gap:40px;margin-top:25px;padding-top:25px;display:grid}.payments>div{gap:12px;margin-top:16px;display:flex}.payments label{max-width:180px}.summary>div{border-bottom:1px solid var(--line);justify-content:space-between;padding:9px 12px;font-size:13px;display:flex}.summary .grand{background:#e7f2ec;border:0;border-radius:10px;margin-top:8px;padding:15px;font-size:16px}.toast{z-index:99;color:#fff;box-shadow:var(--shadow);opacity:0;background:#15291f;border-radius:11px;padding:13px 18px;transition:all .3s;position:fixed;bottom:24px;left:24px;transform:translateY(100px)}.toast.show{opacity:1;transform:none}.toast.error{background:#8f302b}@media (max-width:900px){.login-page{grid-template-columns:1fr}.login-art{display:none}.login-card{padding:60px 0}.app-page{grid-template-columns:1fr}.app-page main{grid-column:1}.sidebar{transition:all .25s;transform:translate(100%)}.sidebar.open{transform:none}.topbar{padding:0 18px}.icon-btn{display:block}.db-badge{display:none}.view{padding:20px 15px}.hero{min-height:180px;padding:26px}.hero h3{font-size:25px}.hero-number{display:none}.invoice-meta{grid-template-columns:1fr 1fr}.customer-field{grid-column:1/-1}.invoice-bottom{grid-template-columns:1fr}.top-actions .primary{display:none}}@media (max-width:580px){.editor-head{align-items:flex-start;gap:15px}.editor-actions{flex-wrap:wrap;justify-content:flex-end}.invoice-sheet{padding:16px}.invoice-meta{grid-template-columns:1fr}.customer-field{grid-column:auto}.payments>div{display:grid}.topbar{height:78px}.hero{min-height:210px}.hero h3{line-height:1.4}.items-head{align-items:flex-start}.toolbar{display:grid}.summary{width:100%}}.login-page{background:#fbfaf5;grid-template-columns:minmax(560px,1.18fr) minmax(430px,.82fr)}.login-art{background:radial-gradient(circle at 18% 12%,#16825d 0,#0000 30%),linear-gradient(145deg,#061f18 0%,#073d2d 46%,#09694a 100%);align-items:center;min-height:100vh;padding:110px clamp(48px,7vw,110px)}.login-grid{opacity:.035;background-image:linear-gradient(#fff 1px,#0000 1px),linear-gradient(90deg,#fff 1px,#0000 1px);background-size:64px 64px;position:absolute;inset:0}.login-brand{z-index:3;align-items:center;gap:11px;display:flex;position:absolute;top:38px;right:clamp(36px,6vw,90px)}.brand-sign{color:#173328;background:#f0c978;border-radius:13px;place-items:center;width:42px;height:42px;font:700 25px Georgia;display:grid;box-shadow:0 12px 30px #001a1050}.login-brand div:last-child{display:grid}.login-brand b{letter-spacing:3px;font-size:14px}.login-brand small{color:#9bc4b3;margin-top:4px}.login-copy{max-width:540px;margin-bottom:55px}.login-copy h1{letter-spacing:-3px;font-size:clamp(58px,6.7vw,104px)}.login-copy p{max-width:500px;font-size:16px}.feature-row{flex-wrap:wrap;gap:20px;margin-top:25px;display:flex}.feature-row span{color:#d5e8df;font-size:11px}.feature-row span:before{content:"✓";color:#14382a;background:#f0c978;border-radius:50%;place-items:center;width:18px;height:18px;margin-left:6px;font-weight:900;display:inline-grid}.invoice-preview{z-index:3;color:#17251e;direction:rtl;background:#fffdf8;border-radius:17px;width:285px;padding:20px;animation:.8s cubic-bezier(.2,.8,.2,1) both preview-in;position:absolute;bottom:55px;left:clamp(25px,4vw,70px);transform:rotate(-3deg);box-shadow:0 35px 90px #001d1460}.preview-top{border-bottom:1px solid #dfe5df;justify-content:space-between;align-items:center;padding-bottom:13px;display:flex}.preview-top>div{align-items:center;gap:8px;display:flex}.preview-logo{background:var(--green);color:#fff;border-radius:7px;place-items:center;width:25px;height:25px;font:700 15px Georgia;display:grid}.preview-top small{color:#74827b;font-size:9px}.preview-customer{gap:4px;padding:13px 0;display:grid}.preview-customer span{color:#89958f;font-size:8px}.preview-customer b{font-size:11px}.preview-lines{gap:6px;display:grid}.preview-lines i{background:linear-gradient(90deg,#edf1ed 22%,#0000 22% 25%,#edf1ed 25% 61%,#0000 61% 64%,#edf1ed 64%);border-radius:4px;height:17px}.preview-total{background:#e7f2ec;border-radius:8px;grid-template-columns:1fr auto;align-items:end;margin-top:12px;padding:10px;display:grid}.preview-total span{font-size:8px}.preview-total strong{color:var(--green);font-size:15px}.preview-total small{font-size:7px}.preview-stamp{color:#bd5a48;border:2px solid #d77a6855;border-radius:50%;place-items:center;width:51px;height:51px;font-size:9px;font-weight:900;display:grid;position:absolute;top:77px;left:18px;transform:rotate(13deg)}.floating-note{z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#073527b8;border:1px solid #ffffff24;border-radius:12px;align-items:center;gap:9px;padding:10px 13px;display:flex;position:absolute;bottom:34px;left:clamp(255px,20vw,350px);box-shadow:0 15px 35px #001a1030}.floating-note>span{color:#173528;background:#f0c978;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.floating-note div{display:grid}.floating-note b{font-size:10px}.floating-note small{color:#a9c7ba;margin-top:3px;font-size:8px}.login-card{width:min(420px,78%);position:relative}.mobile-brand{align-items:center;gap:12px;display:none}.welcome-label{color:var(--green);font-size:12px;font-weight:900}.login-card h2{letter-spacing:-1px;margin:10px 0;font-size:34px}.login-card>p{margin:0 0 31px;font-size:14px;line-height:1.9}.login-card label{gap:9px;margin-bottom:17px}.login-input{background:#fff;border:1px solid #d9ded9;border-radius:12px;align-items:center;height:52px;transition:all .2s;display:flex;box-shadow:0 4px 16px #1d30260a}.login-input:focus-within{border-color:var(--green);box-shadow:0 0 0 4px #0e876012}.login-input>span{text-align:center;color:#7f8c85;width:47px;font-size:18px}.login-input input{background:0 0;border-radius:0;height:100%;padding:0;box-shadow:none!important;border:0!important}.login-input input::placeholder{color:#adb5b0}.login-input button{color:var(--green);background:0 0;border:0;padding:0 14px;font-size:10px;font-weight:800}.login-submit{border-radius:12px;justify-content:space-between;align-items:center;height:54px;margin-top:7px;padding:0 20px;display:flex}.login-submit i{font-size:20px;font-style:normal;transition:all .2s}.login-submit:hover i{transform:translate(-5px)}.connection-state{color:#6c7b73;background:#f0f3ef;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin:21px 0 0;padding:10px 12px;font-size:10px;display:flex}.connection-state i{background:#d49b38;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #d49b3820}.connection-state.connected{color:#247052;background:#eaf4ee}.connection-state.connected i{background:#169261;box-shadow:0 0 0 4px #16926120}.connection-state.failed{color:#9f4039;background:#f9edeb}.connection-state.failed i{background:#c75148;box-shadow:0 0 0 4px #c7514820}.login-help{color:#929d97;justify-content:space-between;margin-top:16px;font-size:9px;display:flex}.login-help span:first-child:before{content:"●";color:#40a17b;margin-left:5px}.login-page:not(.hidden) .login-card{animation:.65s cubic-bezier(.2,.8,.2,1) both card-in}@keyframes card-in{0%{opacity:0}to{opacity:1}}@keyframes preview-in{0%{opacity:0;transform:rotate(-3deg)}to{opacity:1;transform:rotate(-3deg)}}@media (max-width:1180px){.login-page{grid-template-columns:1fr 470px}.invoice-preview{width:245px}.floating-note{display:none}.login-copy{margin-bottom:170px}}@media (max-width:900px){.login-page{background:radial-gradient(circle at 90% 5%,#dcefe5,#0000 35%),#fbfaf5;justify-content:center;align-items:center;min-height:100svh;display:flex}.login-art{display:none}.login-card{width:min(420px,100% - 38px);padding:45px 0}.mobile-brand{margin-bottom:48px;display:flex}.mobile-brand .mark{border-radius:12px;width:42px;height:42px;font-size:23px}.mobile-brand b{letter-spacing:2px}.login-card h2{font-size:29px}.login-help{padding-bottom:15px}}.items input.money-input,.items input.tax-readonly,.items td.net{text-align:right;font-variant-numeric:tabular-nums;direction:ltr}.login-version{color:#68776f;background:#fbfcf9;border:1px solid #e2e6e1;border-radius:10px;justify-content:center;align-items:center;gap:9px;margin-top:11px;padding:8px 11px;display:flex}.login-version>i{color:#247052;background:#eaf4ee;border-radius:8px;flex:0 0 25px;place-items:center;width:25px;height:25px;font-size:14px;font-style:normal;display:grid}.login-version>span{justify-content:center;align-items:center;gap:6px;min-width:0;font-size:9px;display:flex}.login-version b{color:#405149;white-space:nowrap;font-size:9px}.login-version small{color:#78867f;text-align:right;white-space:nowrap;margin:0;font-size:9px;display:inline}@media (max-width:420px){.login-version>span{gap:2px;display:grid}.login-version small{text-align:center}}:root{--forest:#17382f;--forest-deep:#0d241f;--clay:#a6583e;--champagne:#d8b16b;--ivory:#f4efe6}.login-page,.app-page{font-family:Vazirmatn,Tahoma,sans-serif}.login-copy h1,.hero h3,.login-card h2,.editor-head h3{font-family:Noto Serif Arabic,Vazirmatn,serif}.login-art{background:radial-gradient(circle at 18% 12%,#2b6755 0,transparent 31%),linear-gradient(145deg,var(--forest-deep),var(--forest) 48%,#245a4b)}.brand-sign,.preview-logo,.mark,.logo>span,.avatar{background:var(--champagne);color:var(--forest)}.primary{background:var(--forest)}.primary:hover{background:#245a4b}.welcome-label,.db-badge,.items .net{color:var(--clay)}.hero{background:radial-gradient(circle at 10% 15%,#d8b16b2e,transparent 25%),linear-gradient(125deg,var(--forest),#245a4b)}.sidebar{background:var(--forest-deep)}.invoice-sheet,.table-card{border-radius:28px 9px}.lookup{position:relative}.lookup-menu{z-index:40;background:#fff;border:1px solid #d5ddd8;border-radius:14px;max-height:240px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 20px 50px #18382f24}.lookup-menu button{text-align:right;background:#fff;border:0;border-bottom:1px solid #edf0ed;gap:3px;width:100%;padding:11px 13px;display:grid}.lookup-menu button:hover{background:#f1f6f3}.lookup-menu small{color:#718078}.loading-screen{min-height:100vh;min-height:100svh;color:var(--forest);background:#f3f0e8;place-items:center;display:grid}.loading-screen span{border:3px solid #cddbd4;border-top-color:var(--clay);border-radius:50%;width:42px;height:42px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.invoice-message{color:#914b38;background:#f7ece8;border-radius:12px;padding:14px}.tech-note{z-index:4;color:#bcd0c7;letter-spacing:.08em;font-size:9px;position:absolute;top:28px;left:28px}.product-cell .lookup-menu{top:45px}.login-submit:disabled,.primary:disabled{opacity:.55;cursor:not-allowed}@font-face{font-family:Market Nazanin;src:url(/fonts/BNazanin.ttf)format("truetype");font-weight:400;font-style:normal;font-display:block}@font-face{font-family:Market Nazanin;src:url(/fonts/BNazanin-Bold.ttf)format("truetype");font-weight:700 900;font-style:normal;font-display:block}:root{--lapis:#163f5a;--jade:#173f35;--jade-2:#245b4d;--saffron:#cda85e;--terracotta:#a65b45;--warm-paper:#fbf8f0;--warm-canvas:#eeeae0;--ink-fa:#172b25}.app-page{background:var(--warm-canvas);color:var(--ink-fa);background-image:radial-gradient(#173f3509 1px,#0000 1px);background-size:22px 22px;grid-template-columns:264px 1fr}.app-page main{background:linear-gradient(#f8f6ef 0,#efebe2 520px)}.sidebar{background:linear-gradient(#102d26,#173f35 68%,#102d26);width:264px;padding:27px 18px;box-shadow:-14px 0 50px #102d261f}.logo{border-bottom-color:#ffffff18;padding:0 8px 25px}.logo>span{background:var(--saffron);border-radius:15px 5px;width:44px;height:44px;font-family:Noto Serif Arabic,serif;font-size:24px}.logo b{letter-spacing:0;font-family:Noto Serif Arabic,serif;font-size:16px}.logo small{color:#a8c1b7;font-size:9px}.logo>div{display:grid}.logo em{color:#d8b76e;margin-top:3px;font-size:8px;font-style:normal;font-weight:800}.login-brand b{align-items:center;gap:9px;display:flex}.login-brand b i{color:#e1bd72;letter-spacing:0;border-right:1px solid #ffffff2e;padding-right:9px;font-size:13px;font-style:normal}.login-brand em{color:#d8b76e;margin-top:4px;font-size:8px;font-style:normal;font-weight:700}.maker-signature{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff08;border:1px solid #ffffff1c;border-radius:17px 5px;align-items:center;gap:10px;width:max-content;margin-top:26px;padding:10px 13px;display:flex}.maker-signature>i{color:#173f35;background:#d5ad5d;border-radius:11px 4px;place-items:center;width:32px;height:32px;font-size:17px;font-style:normal;font-weight:900;display:grid}.maker-signature>span{gap:1px;display:grid}.maker-signature small{color:#9eb7ad;font-size:7px}.maker-signature b{color:#f4eee1;font-size:9px}.mobile-brand>span{gap:1px;display:grid}.mobile-brand small{color:#87958f;font-size:8px}.preview-logo{font-family:Vazirmatn,sans-serif!important}.sidebar .logo{gap:13px}.sidebar .logo>span{width:52px;height:52px;font-size:28px}.sidebar .logo b{font-weight:950;color:#df5a46!important;font-size:25px!important}.sidebar .logo small{color:#c1d2cb;line-height:1.8;font-size:11px!important}.sidebar .logo em{color:#e3bd68;margin-top:4px;font-size:10px;font-weight:900}.sidebar .side-caption{letter-spacing:.04em;font-size:12px}.sidebar .nav{padding:18px 15px;font-size:15px;font-weight:850}.sidebar .nav i{font-size:19px}.sidebar .side-quote span{font-size:13px;line-height:1.8}.sidebar .side-quote small{font-size:10px;line-height:1.8}.sidebar .side-foot b{font-size:12px}.sidebar .side-foot small{font-size:9px}.login-copy{width:min(760px,70%);max-width:760px}.login-copy .eyebrow{letter-spacing:.18em;font-size:11px}.login-copy h1{letter-spacing:-.035em;margin:18px 0 15px;font-size:clamp(52px,4.2vw,78px);font-weight:900;line-height:1.14}.login-copy h1 em{white-space:nowrap;margin-top:5px;font-size:.72em;line-height:1.42;display:inline-block}.login-copy>p{color:#d2dfda;max-width:700px;margin:0;font-size:14px;line-height:2.05}.feature-row{gap:22px;margin-top:24px}.feature-row span{font-size:11px;line-height:1.8}.maker-signature{margin-top:20px;padding:9px 12px}.maker-signature small{font-size:8px}.maker-signature b{font-size:10px}.login-brand .brand-sign{width:56px;height:56px;font-size:28px}.login-brand b{font-size:19px;line-height:1.35}.login-brand b i{font-size:14px}.login-brand small{font-size:12px;line-height:1.7}.login-brand em{font-size:9px}.tech-note{letter-spacing:.12em;font-size:9px}@media (max-width:1250px){.login-copy{width:min(680px,76%)}.login-copy h1{font-size:clamp(46px,5.2vw,66px)}.login-copy h1 em{white-space:normal}.login-copy>p{font-size:13px}.feature-row{gap:14px}.feature-row span{font-size:10px}}.side-caption{color:#d4b56f;letter-spacing:.1em;margin:25px 12px 8px;font-size:9px;font-weight:800}.nav{color:#b7c9c2;padding:14px 13px;font-size:12px;position:relative}.nav.active{color:#fff;background:linear-gradient(90deg,#ffffff12,#ffffff08)}.nav.active:after{content:"";background:var(--saffron);border-radius:4px;width:3px;position:absolute;top:9px;bottom:9px;right:-18px}.side-quote{text-align:center;background:#ffffff08;border:1px solid #ffffff14;border-radius:22px 7px;gap:6px;margin:auto 4px 20px;padding:18px 12px;display:grid}.side-quote span{color:#e4ca8f;font-family:Noto Serif Arabic,serif;font-size:11px}.side-quote small{color:#819f93;font-size:8px}.side-foot{margin-top:0}.avatar{background:#d5b36b;border-radius:14px 5px}.topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fbf9f3eb;border-bottom-color:#d9ddd6;gap:20px;height:108px;padding:0 35px 0 42px}.topbar:after{content:"";background:linear-gradient(90deg,transparent,var(--saffron),var(--jade));width:220px;height:3px;position:absolute;bottom:-1px;right:0}.top-title h2{margin:4px 0 0;font-family:Noto Serif Arabic,serif;font-size:25px}.crumb{color:#89958f;font-size:9px}.crumb i{color:var(--terracotta);margin:0 4px;font-style:normal}.top-date{border-right:1px solid #dddcd4;gap:3px;margin-right:auto;padding-right:22px;display:grid}.top-date small{color:#9a9f9b;font-size:8px}.top-date b{color:#50635b;font-size:10px}.top-actions{margin-right:0}.db-badge{color:#537168;background:#e9f0eb;border:1px solid #d9e5de;align-items:center;gap:7px;padding:9px 13px;font-size:9px;display:flex}.db-badge i{background:#3aa474;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #3aa47415}.new-invoice-btn{background:var(--jade);border-radius:16px 6px;min-height:48px;padding:0 19px;font-size:12px}.new-invoice-btn span{color:#e6c77e;margin-left:5px;font-size:18px}.fiscal-year-badge{text-align:center;background:linear-gradient(145deg,#fff8e6,#f2e3b8);border:1px solid #ddc787;border-radius:18px 6px;place-content:center;min-width:108px;height:58px;padding:7px 15px;display:grid;box-shadow:0 8px 22px #89682a1f}.fiscal-year-badge small{color:#8b7440;font-size:8px;font-weight:800}.fiscal-year-badge strong{color:var(--jade);letter-spacing:.04em;font-size:23px;font-weight:950;line-height:1.15}.view{padding:30px 38px 55px}.hero{background:radial-gradient(circle at 13% 22%,#3d7563 0,#0000 29%),linear-gradient(125deg,#112f28,#1c4b40);border-radius:42px 12px;min-height:260px;padding:42px 48px;box-shadow:0 25px 65px #14362d2b}.hero:before{content:"";pointer-events:none;border:1px solid #d9b87029;border-radius:34px 8px;position:absolute;inset:12px}.hero:after{border:1px solid #d8b16b22;width:420px;height:420px;top:-210px;left:-120px;box-shadow:0 0 0 38px #d8b16b08,0 0 0 78px #d8b16b06}.hero-pattern{opacity:.075;background-image:linear-gradient(30deg,#fff 12%,#0000 12.5% 87%,#fff 87.5%,#fff),linear-gradient(150deg,#fff 12%,#0000 12.5% 87%,#fff 87.5%,#fff),linear-gradient(30deg,#fff 12%,#0000 12.5% 87%,#fff 87.5%,#fff),linear-gradient(150deg,#fff 12%,#0000 12.5% 87%,#fff 87.5%,#fff);background-position:0 0,0 0,27px 47px,27px 47px;background-size:54px 94px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000,#000);mask-image:linear-gradient(90deg,#0000,#000)}.hero-copy-fa{z-index:2;position:relative}.hero-copy-fa .eyebrow{color:#e1bd72;letter-spacing:.05em}.hero-copy-fa h3{margin:8px 0 3px;font-family:Noto Serif Arabic,serif;font-size:38px;line-height:1.55}.hero-copy-fa h3 em{color:#e7c77d;font-style:normal}.hero-copy-fa p{color:#bad0c7;max-width:520px;margin:8px 0 0;font-size:12px}.hero-seal{z-index:2;text-align:center;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#ffffff09;border:1px solid #e2c17655;border-radius:50%;place-content:center;width:150px;height:150px;display:grid;position:relative;box-shadow:0 0 0 8px #ffffff08,0 0 0 9px #d5b56c22}.hero-seal:before,.hero-seal:after{content:"◆";color:#dabb75;font-size:8px;position:absolute;left:50%;transform:translate(-50%)}.hero-seal:before{top:12px}.hero-seal:after{bottom:12px}.hero-seal span,.hero-seal small{color:#a9c2b8;font-size:8px}.hero-seal strong{color:#f5e7c7;margin:4px 0;font-family:Noto Serif Arabic,serif;font-size:35px}.stats-strip{z-index:3;background:#fffdf8f5;border:1px solid #deddd5;border-radius:24px 8px;grid-template-columns:repeat(3,1fr);width:calc(100% - 70px);margin:-28px auto 30px;display:grid;position:relative;overflow:hidden;box-shadow:0 16px 45px #1d372e14}.stats-strip article{border-left:1px solid #e4e2da;align-items:center;gap:13px;padding:20px 24px;display:flex}.stats-strip article:last-child{border:0}.stat-icon{width:43px;height:43px;color:var(--jade);background:#e5eee9;border-radius:15px 5px;place-items:center;font-size:8px;font-weight:900;display:grid}.stat-icon.gold{color:#84672d;background:#f4ead3}.stat-icon.clay{color:#914c39;background:#f4e5df}.stats-strip article div{gap:4px;display:grid}.stats-strip small{color:#8b9690;font-size:8px}.list-section-head{justify-content:space-between;align-items:end;margin:0 0 14px;display:flex}.list-section-head>div:first-child span{color:var(--terracotta);font-size:9px;font-weight:800}.list-section-head h3{margin:3px 0;font-family:Noto Serif Arabic,serif;font-size:22px}.list-section-head .toolbar{width:min(580px,55%);margin:0}.search{background:#fffefa;border-color:#dadfd9;border-radius:15px 6px;height:46px}.search:focus-within{border-color:#75988b;box-shadow:0 0 0 4px #507f6e0c}.toolbar .secondary{color:var(--jade);border-color:#ccd7d1;border-radius:13px 5px}.table-card{background:#fffdf8;border-color:#dcddd7;border-radius:28px 8px;box-shadow:0 18px 50px #1d372e0f}.table-card th{color:#697871;background:#f1eee6;padding:16px 18px;font-size:9px}.table-card td{padding:15px 18px}.invoice-no{min-width:45px;height:32px;color:var(--jade);background:#edf3ef;border:1px solid #d6e0da;border-radius:11px 4px;place-items:center;padding:0 9px;font-weight:900;display:inline-grid}.date-cell{color:#66736d;direction:ltr;font-size:11px;display:inline-block}.customer-cell{align-items:center;gap:10px;display:flex}.customer-cell>i{color:#8d6b30;background:#eee5d4;border-radius:12px 4px;place-items:center;width:34px;height:34px;font-style:normal;font-weight:900;display:grid}.customer-cell>span{gap:3px;display:grid}.customer-cell small{color:#909a95;font-size:8px}.amount-cell{color:var(--jade);font-size:12px}.amount-cell small{color:#7d8983;font-size:8px}.issuer-cell{color:#6e7974;background:#f0f1ed;border-radius:99px;padding:6px 9px;font-size:9px}.row-open{color:var(--terracotta);background:0 0;border:0;font-size:9px}.row-open span{margin-right:5px}.empty{justify-items:center;gap:8px;display:grid}.empty>span{width:55px;height:55px;color:var(--jade);background:#e9eee9;border-radius:20px 6px;place-items:center;font-family:Noto Serif Arabic,serif;font-size:22px;display:grid}.empty>b{font-family:Noto Serif Arabic,serif;font-size:15px}.invoice-sheet{background:var(--warm-paper);background-image:radial-gradient(#173f3508 1px,#0000 1px);background-size:18px 18px;border-color:#d9d7cf;border-radius:32px 9px;padding:32px;position:relative}.document-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.document-brand{align-items:center;gap:15px;display:flex}.document-brand>span{background:var(--jade);color:#e2c178;border-radius:21px 7px;place-items:center;width:58px;height:58px;font-family:Noto Serif Arabic,serif;font-size:27px;display:grid;box-shadow:0 10px 25px #173f3522}.document-brand div{display:grid}.document-brand small{color:var(--terracotta);font-size:8px;font-weight:800}.document-brand h4{margin:2px 0;font-family:Noto Serif Arabic,serif;font-size:22px}.document-brand p{color:#8a948f;margin:0;font-size:8px}.document-mark{text-align:center;background:#fffdf7;border:1px solid #d9d4c9;border-radius:20px 6px;min-width:150px;padding:12px 16px;display:grid}.document-mark span,.document-mark small{color:#8b958f;font-size:8px}.document-mark b{color:var(--jade);margin:3px 0;font-family:Noto Serif Arabic,serif;font-size:20px}.ornament-line{color:#c29b50;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;margin:22px 0;font-size:8px;display:grid}.ornament-line i{background:linear-gradient(90deg,#0000,#d6bd8b);height:1px}.ornament-line i:last-child{background:linear-gradient(90deg,#d6bd8b,#0000)}.invoice-meta{background:#ffffffa8;border:1px solid #dfddd5;border-radius:22px 7px;padding:17px}.invoice-meta label>span{color:#6d7b74;font-size:9px}.invoice-meta input{background:#fffefa;border-radius:13px 5px}.items-head h4,.payments h4{font-family:Noto Serif Arabic,serif;font-size:16px}.items th{background:var(--jade);color:#f5eddb}.items td{background:#fffdf8}.items input{border-radius:10px 4px}.summary .grand{color:var(--jade);background:linear-gradient(90deg,#e3eee8,#edf2e9);border-radius:16px 5px}.invoice-message{border:1px solid #e2cfc7;border-radius:16px 5px;margin:0 0 14px}.mobile-menu,.menu-backdrop{display:none}.items{table-layout:fixed;width:100%}.items th:first-child{width:3%}.items th:nth-child(2){width:31%}.items th:nth-child(3),.items th:nth-child(4){width:7%}.items th:nth-child(5){width:13%}.items th:nth-child(6){width:11%}.items th:nth-child(7){width:8%}.items th:nth-child(8){width:16%}.items th:nth-child(9){width:4%}.items td:nth-child(3) input,.items td:nth-child(4) input{text-align:center}.items .money-input{text-align:left;direction:ltr;font-weight:800}.items input[readonly]{cursor:default;color:#68766f;background:#f0f1ec;border-color:#e0e2dc}.items .tax-readonly{color:var(--jade);text-align:center;font-weight:900}.amount-in-words{background:#fcf7e9;border:1px dashed #d8c38f;border-radius:14px 5px;margin-top:5px;padding:11px 13px;grid-template-columns:auto 1fr!important;gap:6px 14px!important;display:grid!important}.amount-in-words span{font-size:9px;color:#8a7445!important}.amount-in-words b{color:#3a5148;font-weight:800;line-height:1.9;font-size:10px!important}.payment-action{background:linear-gradient(120deg,#edf4f0,#f8f3e7);border:1px solid #d2ddd7;border-radius:24px 7px;justify-content:space-between;align-items:center;gap:24px;margin-top:28px;padding:20px 22px;display:flex;box-shadow:0 13px 34px #173f3514}.payment-action>div{grid-template-columns:auto auto;align-items:baseline;gap:3px 12px;display:grid}.payment-action small{color:#70827a;grid-column:1/-1;font-size:11px}.payment-action b{color:var(--jade);font-size:23px}.payment-action b span{font-size:11px}.payment-action p{color:#8b9691;grid-column:1/-1;margin:0;font-size:10px}.payment-submit{background:var(--jade);color:#fff;border:0;border-radius:19px 6px;justify-content:space-between;align-items:center;min-width:240px;min-height:58px;padding:0 22px;font-size:14px;font-weight:900;transition:all .2s;display:flex;box-shadow:0 12px 27px #173f3538}.payment-submit:hover{background:var(--jade-2);transform:translateY(-2px)}.payment-submit:disabled{opacity:.55;cursor:not-allowed;transform:none}.payment-submit i{color:#e6c77e;font-size:22px;font-style:normal}.payment-open{color:var(--jade);background:#e7f0eb;border:1px solid #c9d8d0;border-radius:14px 5px;padding:10px 16px;font-weight:900}.invoice-summary-only{align-items:stretch}.invoice-save-note{background:#fcf6e7;border:1px dashed #d5c38f;border-radius:20px 6px;align-content:center;gap:5px;min-width:250px;padding:20px;display:grid}.invoice-save-note span{color:#75591f;background:#efe0b8;border-radius:99px;width:max-content;padding:4px 9px;font-size:9px;font-weight:900}.invoice-save-note b{color:var(--jade);font-size:15px}.invoice-save-note p{color:#7f8984;margin:0;font-size:10px}.invoice-register-action{z-index:5;position:sticky;bottom:12px}.payment-overlay{z-index:80;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#091f19b8;place-items:center;padding:28px;animation:.22s ease-out payment-fade;display:grid;position:fixed;inset:0}.payment-dialog{background:#fbf8f0 radial-gradient(#173f3508 1px,#0000 1px) 0 0/18px 18px;border:1px solid #fff5;border-radius:34px 10px;width:min(1040px,100%);max-height:calc(100vh - 56px);padding:26px;animation:.3s ease-out payment-rise;overflow:auto;box-shadow:0 30px 90px #03140f59}.payment-dialog>header{border-bottom:1px solid #ddd9cd;justify-content:space-between;align-items:center;padding-bottom:19px;display:flex}.payment-title{align-items:center;gap:14px;display:flex}.payment-title>span{background:var(--jade);color:#e3c373;border-radius:18px 6px;place-items:center;width:52px;height:52px;font-size:11px;font-weight:900;display:grid}.payment-title div{gap:1px;display:grid}.payment-title small{color:var(--terracotta);font-size:9px;font-weight:800}.payment-title h3{color:var(--ink-fa);margin:0;font-size:24px}.payment-close{color:#7b8580;background:#fffdf8;border:1px solid #ddd8cb;border-radius:14px 5px;width:40px;height:40px;font-size:22px}.payment-invoice{background:#fffdfa;border:1px solid #dedbd1;border-radius:21px 7px;grid-template-columns:150px 1fr 260px;margin:20px 0;display:grid;overflow:hidden}.payment-invoice>div{border-left:1px solid #e5e1d8;gap:4px;padding:15px 18px;display:grid}.payment-invoice>div:last-child{border:0}.payment-invoice small{color:#849089;font-size:9px}.payment-invoice strong{color:var(--jade);font-size:19px}.payment-invoice strong i{font-size:10px;font-style:normal}.payment-methods{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.method{background:#fffdfa;border:1px solid #dcded8;border-radius:24px 8px;padding:18px;position:relative;overflow:hidden}.method:before{content:"";height:4px;position:absolute;top:0;left:0;right:0}.cash-method:before{background:#3b8169}.card-method:before{background:#c29a4c}.credit-method:before{background:#ae6651}.method-head{align-items:center;gap:10px;margin-bottom:15px;display:flex}.method-head>span{color:#27604f;background:#e6f0eb;border-radius:13px 4px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.card-method .method-head>span{color:#82642d;background:#f5ecd6}.credit-method .method-head>span{color:#944f3d;background:#f4e5df}.method-head h4{margin:0;font-size:14px}.method-head small{color:#8b9690;font-size:8px}.method label{background:#fff;border:1px solid #d7ddd8;border-radius:14px 5px;align-items:center;gap:8px;height:53px;padding:0 12px;display:flex}.method label:focus-within{border-color:#6c9485;box-shadow:0 0 0 4px #4d7c6b10}.method input{width:100%;height:100%;color:var(--ink-fa);text-align:left;direction:ltr;background:0 0;border:0;outline:0;font:800 16px Vazirmatn,sans-serif}.method label span{color:#7d8983;font-size:9px}.method>button{color:var(--terracotta);background:0 0;border:0;margin-top:10px;padding:5px 0;font-size:9px;font-weight:800}.method>p{color:#9a8c6a;margin:7px 0 0;font-size:8px}.payment-totals{background:#f0eee7;border-radius:20px 6px;grid-template-columns:1fr 1fr 1.25fr;gap:10px;margin-top:17px;padding:16px;display:grid}.payment-totals>div{gap:3px;padding:4px 10px;display:grid}.payment-totals span{color:#7d8983;font-size:9px}.payment-totals .remaining{color:#8d4635;background:#f3e2dc;border-radius:15px 5px;padding:12px 16px}.payment-totals .remaining.paid{color:#205c48;background:#dfece5}.payment-warning,.payment-result{border-radius:14px 5px;margin-top:12px;padding:11px 14px;font-size:10px}.payment-warning{color:#954c38;background:#faeae5;border:1px solid #e8c7bc}.payment-result{color:#285f4e;background:#eaf4ee;border:1px solid #c9ddd2}.payment-dialog>footer{justify-content:flex-end;align-items:center;gap:10px;margin-top:18px;display:flex}.payment-confirm{background:var(--jade);color:#fff;border:0;border-radius:17px 6px;justify-content:space-between;align-items:center;min-width:210px;min-height:52px;padding:0 18px;font-weight:900;display:flex;box-shadow:0 10px 24px #173f3533}.payment-confirm span{color:#e8c979;font-size:19px}.payment-confirm:disabled{opacity:.5}@keyframes payment-fade{0%{opacity:0}to{opacity:1}}@keyframes payment-rise{0%{opacity:0;transform:translateY(22px)scale(.985)}to{opacity:1;transform:none}}@media (max-width:1050px){.top-date{display:none}.stats-strip{width:calc(100% - 30px)}.list-section-head{align-items:stretch;gap:12px;display:grid}.list-section-head .toolbar{width:100%;max-width:none}}@media (max-width:900px){.app-page{grid-template-columns:1fr}.sidebar{width:264px}.mobile-menu{width:40px;height:40px;color:var(--jade);background:#fff;border:1px solid #dadfd9;border-radius:13px 5px;place-items:center;display:grid}.menu-backdrop{z-index:19;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b211b88;border:0;position:fixed;inset:0}.menu-backdrop.show{display:block}.topbar{height:90px;padding:0 16px}.view{padding:20px 15px 45px}.stats-strip{grid-template-columns:1fr;width:100%;margin-top:14px}.stats-strip article{border-bottom:1px solid #e4e2da;border-left:0}.hero{min-height:250px;padding:30px}.hero-copy-fa h3{font-size:30px}.hero-seal{display:none}.document-head{align-items:flex-start}.document-brand h4{font-size:17px}.payment-methods{grid-template-columns:1fr}.payment-invoice{grid-template-columns:1fr 1fr}.payment-invoice>div:last-child{border-top:1px solid #e5e1d8;grid-column:1/-1}.payment-totals{grid-template-columns:1fr 1fr}.payment-totals .remaining{grid-column:1/-1}}@media (max-width:600px){.top-actions .db-badge{display:none}.hero{border-radius:28px 8px}.stats-strip article{padding:14px 18px}.document-head{display:grid}.document-mark{width:100%}.invoice-sheet{padding:18px}.list-section-head .toolbar{display:grid}.customer-cell>i{display:none}.table-card{border-radius:20px 6px}.editor-actions{gap:5px}.editor-actions button{padding:9px 10px;font-size:9px}.payment-action{align-items:stretch;padding:17px;display:grid}.payment-submit{width:100%;min-width:0}.invoice-bottom.invoice-summary-only{display:grid}.invoice-save-note{min-width:0}.payment-overlay{align-items:end;padding:0}.payment-dialog{border-radius:28px 28px 0 0;max-height:94vh;padding:18px}.payment-title h3{font-size:19px}.payment-invoice{grid-template-columns:1fr}.payment-invoice>div,.payment-invoice>div:last-child{border:0;border-bottom:1px solid #e5e1d8;grid-column:auto}.payment-dialog>footer{align-items:stretch;display:grid}.payment-confirm{min-width:0}.payment-totals{grid-template-columns:1fr}.fiscal-year-badge{min-width:84px;height:50px;padding:5px 10px}.fiscal-year-badge strong{font-size:19px}}@media print{html,body,body *,input,button,table,th,td{font-variant-numeric:normal!important;font-family:Market Nazanin,B Nazanin,Nazanin,serif!important}.sidebar,.topbar,.editor-head,.invoice-message,.payment-action{display:none!important}.app-page,.app-page main{background:#fff;display:block}.view{padding:0}.invoice-sheet{box-shadow:none;border:0;padding:0}.document-head,.items th,.summary .grand{-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact}}.invoice-payment-breakdown{background:#edf4f0;border:1px solid #cbdcd3;border-radius:16px 5px;margin-top:8px;padding:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important;gap:8px!important;display:grid!important}.invoice-payment-breakdown>span{border-left:1px solid #d6e2dc;gap:3px;min-width:0;padding:8px 11px;display:grid}.invoice-payment-breakdown>span:last-child{border-left:0}.invoice-payment-breakdown small{color:#6f8178;font-size:9px;font-weight:700}.invoice-payment-breakdown b{color:var(--jade);font-weight:900;font-size:12px!important}@media (max-width:600px){.invoice-payment-breakdown{grid-template-columns:1fr!important}.invoice-payment-breakdown>span{border-bottom:1px solid #d6e2dc;border-left:0}.invoice-payment-breakdown>span:last-child{border-bottom:0}}.remember-login{cursor:pointer;background:#f2f6f3;border:1px solid #d8e1dc;border-radius:13px 4px;align-items:center;gap:10px;margin:2px 0 5px;padding:11px 13px;display:flex!important}.remember-login input{width:19px;height:19px;accent-color:var(--jade);cursor:pointer;margin:0}.remember-login span{gap:2px;display:grid}.remember-login b{color:var(--ink);font-size:11px}.remember-login small{color:#74837c;font-size:8px}.payment-bank{background:#fffdf8;border:1px solid #d7dfda;border-radius:13px 4px;gap:6px;margin-top:9px;padding:10px;display:grid}.payment-bank>span{color:#6e7d76;font-size:9px;font-weight:800}.payment-bank select{width:100%;min-height:43px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd7d0;border-radius:10px 3px;outline:0;padding:0 12px;font-family:Vazirmatn,sans-serif;font-size:10px;font-weight:800}.payment-bank select:focus{border-color:#bf943d;box-shadow:0 0 0 3px #bf943d21}.payment-bank select:disabled{cursor:not-allowed;opacity:.55}.payment-bank small{color:#9a7022;font-size:8px;font-weight:700}.payment-bank.required{background:#fff7f3;border-color:#c86c56}.payment-cash-account select:focus{border-color:#33836a;box-shadow:0 0 0 3px #33836a21}.payment-methods .method .full-payment-button{border-radius:12px 4px;width:100%;min-height:45px;margin:8px 0 2px;padding:9px 12px;font-family:Vazirmatn,sans-serif;font-size:12px;font-weight:900;line-height:1.7}.cash-method .full-payment-button{color:#17634f;background:#e7f2ed;border-color:#bcd8cc}.card-method .full-payment-button{color:#855f19;background:#f8efd8;border-color:#dfc98f}.table-card .issuer-cell{color:var(--jade);background:#edf3ef;border:1px solid #d6e0da;font-weight:900}@font-face{font-family:Vazirmatn;src:url(/fonts/Vazirmatn-Variable.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:optional}html[lang=fa],html[lang=fa] body,html[lang=fa] body *,html[lang=fa] button,html[lang=fa] input,html[lang=fa] select,html[lang=fa] textarea,html[lang=fa] table,html[lang=fa] .lookup-menu,html[lang=fa] .lookup-menu *{font-language-override:"FAR";font-feature-settings:"locl" 1,"ss01" 1;font-variant-numeric:normal;font-family:Vazirmatn,Tahoma,sans-serif!important}.app-page,.app-page button,.app-page input,.app-page select,.app-page textarea,.app-page table{font-family:Vazirmatn,Tahoma,sans-serif!important}.app-page h1,.app-page h2,.app-page h3,.app-page h4,.logo b,.side-quote span,.hero-copy-fa h3,.hero-seal strong,.list-section-head h3,.document-brand h4,.document-mark b,.items-head h4,.payments h4,.empty>b{font-weight:900;font-family:Vazirmatn,Tahoma,sans-serif!important}.logo small{line-height:1.8;font-size:11px!important}.side-caption{font-size:11px!important}.nav{font-size:14px!important}.side-quote span{font-size:13px!important}.side-foot b{font-size:13px}.top-title h2{font-size:27px!important}.top-date small{font-size:10px!important}.db-badge{font-size:11px!important}.new-invoice-btn{font-size:14px!important}.hero-copy-fa h3{font-size:42px!important;line-height:1.5!important}.hero-copy-fa p{font-size:14px!important;line-height:2!important}.stats-strip small{line-height:1.8;font-size:12px!important}.stats-strip b{line-height:1.8;font-size:16px!important}.stat-icon{font-size:10px!important}.toolbar .secondary{font-size:13px}.table-card thead th{white-space:nowrap;line-height:1.8;color:#263f36!important;letter-spacing:0!important;padding:19px 18px!important;font-size:14px!important;font-weight:900!important}.items thead th{line-height:1.7;color:#fff8e9!important;padding:14px 10px!important;font-size:13px!important;font-weight:900!important}.table-card tbody td{font-size:14px!important}.invoice-no,.date-cell,.amount-cell{font-size:15px!important}.empty>small,.document-brand small,.document-brand p,.document-mark span,.document-mark small{font-size:11px!important}.invoice-meta input,.items input,.payments input{font-size:14px!important}.summary>div{font-size:14px!important}.items .product-cell input::placeholder{opacity:1;color:#9ba59f!important;font-size:11px!important;font-weight:500!important}@media (max-width:700px){.top-title h2{font-size:21px!important}.hero-copy-fa h3{font-size:32px!important}.hero-copy-fa p{font-size:13px!important}.stats-strip small{font-size:11px!important}.stats-strip b{font-size:14px!important}.table-card thead th{padding:15px 12px!important;font-size:12px!important}.items thead th{font-size:11px!important}.table-card tbody td{font-size:12px!important}.document-brand h4{font-size:19px!important}}.hub-loading{min-height:100vh;background:#f3f0e8;place-items:center;min-height:100svh;display:grid}.hub-loading span{border:4px solid #d7dfd9;border-top-color:#174c3f;border-radius:50%;width:45px;height:45px;animation:.8s linear infinite hub-spin}@keyframes hub-spin{to{transform:rotate(360deg)}}.tenant-entry,.admin-login{color:#102d26;background:#f3f0e8;min-height:100vh;font-family:Vazirmatn,sans-serif}.tenant-entry{grid-template-columns:minmax(0,1.3fr) minmax(390px,.7fr);display:grid}.tenant-story{color:#fff;background:radial-gradient(circle at 15% 12%,#2d7160 0,#0000 28%),linear-gradient(145deg,#0d3129,#164f41);padding:8vh 8vw;position:relative;overflow:hidden}.tenant-story:after{content:"";background-image:linear-gradient(#ffffff0a 1px,#0000 1px),linear-gradient(90deg,#ffffff0a 1px,#0000 1px);background-size:42px 42px;position:absolute;inset:0}.tenant-story>*{z-index:1;position:relative}.tenant-edition{color:#e2ba64;letter-spacing:3px;font-size:12px}.tenant-monogram{color:#103b31;background:#dfb45b;border-radius:26px 7px;place-items:center;width:84px;height:84px;margin:12vh 0 4vh;font-size:42px;font-weight:900;display:grid}.tenant-story h1{margin:0;font-size:clamp(48px,6vw,92px);line-height:1.25}.tenant-story h1 em{color:#f1c66d;font-style:normal}.tenant-story p{color:#c9ddd7;max-width:740px;font-size:18px;line-height:2}.tenant-points{flex-wrap:wrap;gap:12px;margin-top:45px;display:flex}.tenant-points span{color:#dce9e5;border:1px solid #ffffff2b;border-radius:20px;padding:10px 14px}.tenant-key-card{background:#fffdf8;border:1px solid #d8ddd7;border-radius:35px 9px;align-self:center;margin:5vw;padding:44px;box-shadow:0 30px 80px #173d3020}.tenant-key-card .overline{color:#b65f43;font-size:12px;font-weight:900}.tenant-key-card h2{margin:8px 0;font-size:31px}.tenant-key-card>p{color:#6c7b74;line-height:1.9}.tenant-key-card label:not(.tenant-remember){gap:8px;margin:30px 0 15px;font-weight:800;display:grid}.tenant-key-card input[type=text],.tenant-key-card label:not(.tenant-remember) input{text-align:left;direction:ltr;border:1px solid #ccd8d2;border-radius:15px 5px;height:58px;padding:0 16px;font:800 13px Vazirmatn}.tenant-remember{color:#62736b;align-items:center;gap:9px;font-size:12px;display:flex}.tenant-submit{color:#fff;background:#123f34;border:0;border-radius:16px 5px;justify-content:space-between;align-items:center;width:100%;height:58px;margin-top:22px;padding:0 20px;font:900 15px Vazirmatn;display:flex}.tenant-key-card>a,.admin-login a{text-align:center;color:#687870;margin-top:20px;text-decoration:none;display:block}.hub-error,.hub-success{border-radius:10px;margin:14px 0;padding:12px;font-size:12px}.hub-error{color:#a4412d;background:#fff0eb}.hub-success{color:#146248;background:#e5f4ec}.tenant-chip{z-index:1000;background:#fffdf8ef;border:1px solid #cbd9d2;border-radius:15px 5px;align-items:center;gap:12px;padding:9px 12px;font-family:Vazirmatn;display:flex;position:fixed;bottom:20px;left:22px;box-shadow:0 10px 35px #123b2e25}.tenant-chip span{display:grid}.tenant-chip small{color:#74827b;font-size:7px}.tenant-chip b{font-size:10px}.tenant-chip button{color:#174c3f;background:#e9f1ed;border:0;border-radius:8px;padding:7px;font:700 8px Vazirmatn}.admin-login{background:radial-gradient(circle at 20% 15%,#2c6c5b,#103b31 40%,#09241f);place-items:center;display:grid}.admin-login form{background:#fffdf8;border-radius:32px 8px;width:min(420px,100% - 35px);padding:40px}.admin-mark{background:#ddb35b;border-radius:20px 5px;place-items:center;width:65px;height:65px;font-size:34px;font-weight:900;display:grid}.admin-login p{color:#6c7b74}.admin-login input{box-sizing:border-box;direction:ltr;border:1px solid #ccd7d1;border-radius:13px;width:100%;height:55px;padding:0 15px}.admin-login button{color:#fff;background:#123f34;border:0;border-radius:13px;width:100%;height:52px;margin-top:15px;font:900 14px Vazirmatn}.admin-page{color:#102d26;background:#f3f0e8;min-height:100vh;padding:30px clamp(20px,5vw,80px);font-family:Vazirmatn}.admin-page>header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.admin-page>header>div{align-items:center;gap:14px;display:flex}.admin-page>header>div>span{background:#ddb35b;border-radius:18px 5px;place-items:center;width:58px;height:58px;font-size:30px;font-weight:900;display:grid}.admin-page h1,.admin-page h2,.admin-page h3{margin:0}.admin-page header a{color:#174c3f}.admin-grid{grid-template-columns:minmax(380px,.75fr) minmax(500px,1.25fr);gap:24px;display:grid}.tenant-form,.tenant-list{background:#fffdf8;border:1px solid #d7ddd8;border-radius:28px 7px;padding:28px}.section-no{color:#c18b36;font-size:12px;font-weight:900}.tenant-form>label,.form-pair label{color:#53665d;gap:6px;margin-top:15px;font-size:10px;font-weight:800;display:grid}.tenant-form input{box-sizing:border-box;border:1px solid #d1dad5;border-radius:10px 3px;width:100%;height:45px;padding:0 12px;font:700 11px Vazirmatn}.form-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.tls-check{align-items:center;grid-template-columns:auto 1fr!important;display:flex!important}.tls-check input{width:18px;height:18px}.form-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:22px;display:grid}.form-actions button,.tenant-list article button{color:#174c3f;background:#fff;border:1px solid #c8d6cf;border-radius:10px 3px;padding:11px;font:800 10px Vazirmatn}.form-actions button:last-child{color:#fff;background:#123f34}.issued-secret{background:#fff5d9;border:1px solid #d8bd7f;border-radius:18px 5px;justify-content:space-between;align-items:center;margin-bottom:22px;padding:18px 24px;display:flex}.issued-secret div{display:grid}.issued-secret small{color:#896a28}.issued-secret b{letter-spacing:1px;direction:ltr;font-size:17px}.issued-secret button{color:#fff;background:#174c3f;border:0;border-radius:9px;padding:10px 18px}.list-head{align-items:start;gap:12px;margin-bottom:18px;display:flex}.list-head p{color:#718078;margin:4px 0}.tenant-list article{border-bottom:1px solid #e3e6e2;grid-template-columns:auto 1fr auto auto auto;align-items:center;gap:12px;padding:14px 0;display:grid}.tenant-list article.disabled{opacity:.55}.tenant-avatar{color:#174c3f;background:#e6efe9;border-radius:14px 4px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.tenant-list article small,.tenant-list article p{color:#74827b;font-size:9px}.tenant-list article p{margin:3px 0}.tenant-status{color:#176147;background:#e3f1ea;border-radius:12px;padding:5px 8px;font-size:8px;font-weight:800}@media (max-width:900px){.tenant-entry{grid-template-columns:1fr}.tenant-story{padding:40px 24px}.tenant-story h1{font-size:45px}.tenant-monogram{margin:45px 0 20px}.tenant-key-card{margin:20px}.admin-grid{grid-template-columns:1fr}.tenant-list article{grid-template-columns:auto 1fr auto}.tenant-list article button{grid-column:auto}.tenant-chip{bottom:10px;left:10px}}@media (max-width:560px){.tenant-story p{font-size:14px}.tenant-key-card{padding:28px}.form-pair,.form-actions{grid-template-columns:1fr}.admin-page{padding:18px 10px}.tenant-list article{grid-template-columns:auto 1fr}.tenant-status{grid-column:2}.issued-secret{flex-direction:column;align-items:stretch;gap:10px}.issued-secret b{font-size:12px}}.tenant-form.editing{border-color:#d0aa58;box-shadow:0 0 0 4px #d0aa5815}.form-actions .cancel-edit{color:#a34a34;background:#fff4ee;border-color:#e4b9aa;grid-column:1/-1}.tenant-list article .edit-tenant{color:#125c46;background:#e7f1ec;border-color:#bdd5ca}.tenant-list article .delete-tenant{color:#a23d2c;background:#fff2ed;border-color:#e1b5aa}.tenant-header-badge{color:#183d33;background:linear-gradient(135deg,#fff8e6,#f3e4bb);border:1px solid #d5bd82;border-radius:14px 4px;grid-template-columns:1fr auto;align-items:center;column-gap:9px;min-width:150px;padding:7px 12px;display:grid}.tenant-header-badge small{color:#95712d;grid-column:1;font-size:7px;font-weight:800}.tenant-header-badge strong{text-overflow:ellipsis;white-space:nowrap;grid-column:1;max-width:190px;font-size:10px;overflow:hidden}.tenant-header-badge button{color:#fff;cursor:pointer;background:#174c3f;border:0;border-radius:8px 3px;grid-area:1/2/3;padding:7px 8px;font:800 7px Vazirmatn}@media (max-width:1100px){.tenant-header-badge{order:-1;min-width:130px}.tenant-header-badge strong{max-width:140px}}@media (max-width:700px){.tenant-header-badge{box-sizing:border-box;width:100%}.tenant-header-badge strong{max-width:220px}}.tenant-form label>small{color:#947233;margin-top:1px;font-size:8px}.tenant-form .expiry-input{text-align:center;letter-spacing:1px;direction:ltr}.tenant-list article .expiry{color:#33735f;font-weight:800}.tenant-list article .expiry.expired{color:#a13e2e}.tenant-status.expired{color:#a13e2e;background:#fff0ea}.tenant-header-badge em{color:#8b6b2c;grid-column:1;font-size:7px;font-style:normal;font-weight:800}.tenant-form .expiry-input .jalali-input{margin-top:6px}.tenant-form .expiry-input input{text-align:center;direction:ltr}.sms-review-admin{background:#fffdf8;border:1px solid #d7ddd8;border-radius:28px 7px;margin-top:24px;padding:28px}.sms-review-admin>.list-head{justify-content:flex-start}.sms-review-admin>article{background:#fff;border:1px solid #dce3df;border-radius:17px;margin-top:13px;padding:18px}.sms-review-admin>article>header,.sms-review-admin>article>footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.sms-review-admin>article>header small,.sms-review-admin>article>footer small{color:#718078}.sms-review-admin>article>header span{color:#7f5a10;background:#fff0c8;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900}.sms-review-admin pre{color:#193f35;white-space:pre-wrap;background:#f4f6f4;border-radius:12px;margin:14px 0;padding:15px;font:500 13px/2 Vazirmatn}.sms-review-admin footer>div{gap:8px;display:flex}.sms-review-admin button{cursor:pointer;border:0;border-radius:10px;padding:10px 15px;font:800 11px Vazirmatn}.sms-review-admin .approve{color:#fff;background:#155c49}.sms-review-admin .reject{color:#a34832;background:#fff0eb;border:1px solid #e8c0b5}.sms-review-empty{text-align:center;color:#718078;border:1px dashed #cbd5d0;border-radius:14px;padding:30px}@media (max-width:620px){.sms-review-admin{padding:18px 13px}.sms-review-admin>article>header,.sms-review-admin>article>footer{flex-direction:column;align-items:stretch}.sms-review-admin footer>div,.sms-review-admin button{width:100%}}:root{--karma-ink:#102f27;--karma-green:#12483b;--karma-green-2:#1d6652;--karma-gold:#dbae55;--karma-red:#b63d32;--karma-paper:#fffdf8;--karma-canvas:#f3f0e8;--karma-line:#d9dfda;--karma-muted:#687b73;--karma-focus:#2071582e;--karma-shadow:0 18px 55px #11352b17;--karma-radius:24px 7px 24px 7px}html{scrollbar-gutter:stable}body{color:var(--karma-ink);background:radial-gradient(circle at 10% 8%, #dbae5517, transparent 26rem), linear-gradient(145deg, #f8f5ee, var(--karma-canvas));margin:0}body,button,input,select,textarea,table,.tenant-entry,.admin-login,.admin-page{font-family:Vazirmatn,Tahoma,sans-serif!important}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}button,a,input,select,textarea{transition:border-color .18s,box-shadow .18s,background-color .18s,color .18s,transform .18s}button{cursor:pointer}button:disabled{cursor:not-allowed}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid var(--karma-focus)!important}.app-page{background:0 0;min-height:100vh}.sidebar{border-left:1px solid #ffffff14;box-shadow:-12px 0 40px #071f1817}.logo b{color:#fff!important;font-size:22px!important}.logo b:first-letter{color:var(--karma-red)}.side-caption{margin-top:32px;letter-spacing:0!important;font-size:12px!important}.nav{border-radius:16px 5px;min-height:54px;margin:4px 0;padding:15px 16px!important;font-size:15px!important}.nav.active{box-shadow:inset 0 0 0 1px #ffffff0d}.side-quote span{line-height:1.9;font-size:15px!important}.side-quote small,.side-foot small{font-size:11px!important}.topbar{z-index:30;background:#fdfbf6e8;height:auto;min-height:96px;padding:14px clamp(22px,3vw,46px);position:sticky;top:0;box-shadow:0 8px 30px #11352b0b}.top-title h2{line-height:1.5;font-size:clamp(25px,2vw,31px)!important}.crumb{font-size:12px!important}.top-date small,.db-badge{font-size:11px!important}.top-date b{font-size:13px!important}.tenant-header-badge{border-radius:14px 5px;min-height:44px;padding-inline:14px}.fiscal-year-badge{min-width:124px;height:64px;box-shadow:0 9px 24px #89682a21}.fiscal-year-badge small{font-size:10px}.fiscal-year-badge strong{font-size:25px}.fiscal-year-selector{box-sizing:border-box;background:linear-gradient(145deg,#fff8e6,#f2e3b8);border:1px solid #ddc787;border-radius:18px 6px;align-content:center;min-width:142px;height:64px;padding:7px 13px;display:grid;position:relative;box-shadow:0 9px 24px #89682a21}.fiscal-year-selector small{color:#8b7440;padding-left:20px;font-size:10px;font-weight:800}.fiscal-year-selector select{appearance:none;width:100%;color:var(--karma-green);cursor:pointer;background:0 0;border:0;outline:0;padding:0 0 0 22px;font-size:22px;font-weight:950;line-height:1.25}.fiscal-year-selector i{color:#8b7440;pointer-events:none;font-size:15px;font-style:normal;position:absolute;bottom:11px;left:12px}.fiscal-year-selector:hover,.fiscal-year-selector:focus-within{border-color:#b88c35;box-shadow:0 0 0 4px #dbae5524,0 9px 24px #89682a21}.fiscal-year-selector.has-error{border-color:var(--karma-red);background:#fff0e9}.fiscal-year-selector select:disabled{cursor:wait;opacity:.65}.new-invoice-btn{min-height:52px;padding-inline:22px;font-size:15px!important}.view{box-sizing:border-box;width:min(100%,1760px);margin-inline:auto;padding:30px clamp(22px,3vw,48px) 72px}.hero{border-radius:34px 10px;min-height:228px;padding:38px clamp(34px,4vw,62px)}.hero-copy-fa .eyebrow{font-size:13px!important}.hero-copy-fa h3{letter-spacing:-.025em;margin:5px 0 2px;font-size:clamp(34px,3.7vw,52px)!important;line-height:1.45!important}.hero-copy-fa p{max-width:670px;margin-top:8px;font-size:15px!important;line-height:2!important}.hero-seal{width:138px;height:138px}.hero-seal strong{font-size:42px!important}.hero-seal span,.hero-seal small{font-size:12px!important}.stats-strip{width:calc(100% - 76px);box-shadow:var(--karma-shadow);border-radius:26px 8px;margin-top:-25px;margin-bottom:38px}.stats-strip article{min-height:84px;padding:19px clamp(18px,2.2vw,30px)}.stat-icon{width:48px;height:48px;font-size:11px!important}.stats-strip small{font-size:13px!important}.stats-strip b{font-size:18px!important}.list-section-head{gap:24px;margin-bottom:18px}.list-section-head h3{font-size:30px!important}.search{min-height:52px}.table-card{box-shadow:var(--karma-shadow);border-radius:26px 8px;overflow:auto}.table-card table{min-width:900px}.table-card thead th{z-index:2;background:#eeece4;position:sticky;top:0;padding:20px 19px!important;font-size:15px!important}.table-card tbody td{border-bottom-color:#e7e8e3;padding:18px 19px!important;font-size:15px!important}.table-card tbody tr{transition:background-color .16s}.table-card tbody tr:hover{background:#fbf7ed}.row-open{border-radius:10px 4px;min-height:38px;padding:7px 11px}.row-open:hover{background:#f5e8df}.editor-head{margin-bottom:22px}.editor-head h2{font-size:clamp(26px,2.5vw,36px)}.editor-actions{gap:10px}.editor-actions button,.back{min-height:48px;padding-inline:18px}.document-brand>span{width:64px;height:64px}.document-brand small,.document-brand p,.document-mark span,.document-mark small{font-size:12px!important}.document-mark{min-width:168px}.invoice-meta{grid-template-columns:minmax(170px,.55fr) minmax(190px,.65fr) minmax(340px,2fr);gap:16px;padding:20px;display:grid}.invoice-meta label{min-width:0}.invoice-meta label>span{margin-bottom:8px;font-size:13px!important}.invoice-meta input,.items input,.payments input,.payment-bank select{box-sizing:border-box;min-height:48px;font-size:16px!important}.items-head h4,.payments h4{font-size:21px!important}.items-wrap{background:var(--karma-paper);border:1px solid #d8ded9;border-radius:18px 6px;overflow:auto}.items{min-width:1180px}.items thead th{z-index:4;position:sticky;top:0;box-shadow:inset 0 -1px #ffffff1a;padding:17px 11px!important;font-size:14px!important}.items tbody tr:focus-within td{background:#fbf4df}.items input{padding-inline:10px}.items .product-cell input{font-weight:850}.items tbody td:nth-child(4) input{text-align:center;font-variant-numeric:tabular-nums;font-weight:900;line-height:1;font-size:20px!important}.quantity-stepper{direction:rtl;grid-template-columns:28px minmax(22px,1fr) 28px;align-items:stretch;gap:3px;display:grid}.items .quantity-stepper input{min-width:0;padding-inline:2px}.items .quantity-stepper button{color:#125747;background:#e9f3ef;border:1px solid #c9dbd3;border-radius:9px;width:28px;min-width:28px;min-height:48px;padding:0;font-size:21px;font-weight:900;line-height:1}.items .quantity-stepper .quantity-decrease{color:#8a651d;background:#fbf3df;border-color:#e3d3af}.items .quantity-stepper button:disabled{opacity:.38;cursor:not-allowed}.items .money-input{font-weight:900;font-size:16px!important}.remove{width:40px;height:40px}.lookup-menu{z-index:70;background:#fffefa;border:1px solid #cad8d1;border-radius:16px 5px;max-height:330px;overflow:auto;box-shadow:0 22px 55px #0c30252e}.lookup-menu button{text-align:right;min-height:50px;padding:10px 14px;font-size:14px}.lookup-menu button:hover,.lookup-menu button:focus-visible{color:var(--karma-green);background:#eaf2ed}.summary{margin-top:24px}.summary .grand{padding:14px 16px;font-size:19px!important}.invoice-payment-breakdown{margin-top:14px}.invoice-payment-breakdown small{font-size:11px}.invoice-payment-breakdown b{font-size:17px}.payment-action{z-index:8;margin-top:30px;padding:18px 22px;position:sticky;bottom:14px;box-shadow:0 18px 48px #11352b24}.payment-submit{min-width:250px;min-height:60px;font-size:15px}.payment-overlay{padding:clamp(14px,3vw,32px)}.payment-dialog{width:min(1120px,100%);padding:clamp(20px,3vw,34px)}.payment-title h3{font-size:28px}.payment-title small,.payment-invoice small{font-size:11px}.payment-invoice b{font-size:15px}.payment-invoice strong{font-size:22px}.payment-methods{gap:16px}.method{padding:21px}.method-head h4{font-size:17px}.method-head small,.method>p{font-size:10px}.method label{height:58px}.method input{font-size:18px!important}.payment-bank>span,.payment-bank small{font-size:11px}.payment-bank select{min-height:50px}.full-payment-button{min-height:38px;font-size:12px!important}.payment-totals span{font-size:11px}.payment-totals b{font-size:15px}.payment-totals strong{font-size:21px}.payment-warning,.payment-result{font-size:12px;line-height:1.9}.payment-confirm{min-width:230px;min-height:56px;font-size:15px}.tenant-entry{grid-template-columns:minmax(0,1.15fr) minmax(430px,.85fr)}.tenant-story{padding:clamp(48px,7vh,90px) clamp(45px,7vw,110px)}.tenant-monogram{margin:clamp(60px,10vh,110px) 0 30px}.tenant-story h1{max-width:860px;font-size:clamp(48px,5.3vw,80px)}.tenant-story p{font-size:17px}.tenant-points span{align-items:center;min-height:22px;font-size:13px;display:inline-flex}.tenant-key-card{box-sizing:border-box;width:min(470px,100% - 48px);margin-inline:auto;padding:clamp(30px,4vw,48px)}.tenant-key-card h2{font-size:34px}.tenant-key-card>p,.tenant-key-card label:not(.tenant-remember){font-size:14px}.tenant-key-card input[type=text],.tenant-key-card label:not(.tenant-remember) input{height:62px;font-size:15px}.tenant-remember{font-size:13px}.tenant-submit{height:60px;font-size:16px}.hub-error,.hub-success{padding:14px 16px;font-size:13px;line-height:1.8}.admin-page{padding:34px clamp(22px,4vw,72px) 70px}.admin-page>header{border-bottom:1px solid var(--karma-line);padding-bottom:20px}.admin-page>header h1{font-size:29px}.admin-grid{grid-template-columns:minmax(390px,.8fr) minmax(520px,1.2fr);align-items:start}.tenant-form,.tenant-list{box-shadow:0 15px 45px #11352b0e}.tenant-form{position:sticky;top:22px}.tenant-form>label,.form-pair label{font-size:12px}.tenant-form input{height:49px;font-size:13px}.form-actions button,.tenant-list article button{min-height:42px;font-size:12px}.tenant-list article{gap:13px;padding-block:18px}.tenant-list article h3{font-size:16px}.tenant-list article p,.tenant-list article small,.tenant-status{font-size:11px}.admin-login form{box-shadow:0 30px 90px #03140f47}.admin-login h1{font-size:32px}.admin-login input{height:60px;font-size:16px}.admin-login button{height:57px;font-size:16px}@media (max-width:1180px){.topbar{padding-inline:22px}.view{padding-inline:24px}.hero{padding-inline:36px}.stats-strip{width:calc(100% - 42px)}.invoice-meta{grid-template-columns:1fr 1fr}.invoice-meta label:last-child{grid-column:1/-1}.payment-methods{grid-template-columns:1fr 1fr}.credit-method{grid-column:1/-1}.admin-grid{grid-template-columns:1fr}.tenant-form{position:static}}@media (max-width:900px){.tenant-entry{display:block}.tenant-story{min-height:auto;padding:46px 28px 76px}.tenant-monogram{margin:50px 0 25px}.tenant-story h1{font-size:clamp(42px,10vw,64px)}.tenant-key-card{margin-top:-38px;margin-bottom:40px;position:relative}.top-date,.db-badge{display:none}.hero-seal{width:118px;height:118px}.stats-strip article{padding-inline:16px}.list-section-head{flex-direction:column;align-items:stretch}.list-section-head .toolbar{width:100%}.payment-invoice{grid-template-columns:1fr 1fr}.payment-invoice>div:last-child{border-top:1px solid #e5e1d8;grid-column:1/-1}}@media (max-width:680px){.topbar{gap:10px;min-height:78px;padding:10px 15px}.top-title h2{font-size:22px!important}.crumb{font-size:10px!important}.fiscal-year-badge{min-width:88px;height:53px;padding-inline:8px}.fiscal-year-badge strong{font-size:20px}.fiscal-year-selector{min-width:112px;height:54px;padding:5px 9px}.fiscal-year-selector small{font-size:8px}.fiscal-year-selector select{font-size:18px}.new-invoice-btn{min-height:45px;padding-inline:13px;font-size:13px!important}.view{padding:18px 14px 50px}.hero{border-radius:27px 8px;min-height:250px;padding:28px 24px 54px}.hero-copy-fa h3{font-size:34px!important}.hero-copy-fa p{font-size:13px!important}.hero-seal{display:none}.stats-strip{grid-template-columns:1fr;width:calc(100% - 24px);margin-bottom:30px}.stats-strip article{border-bottom:1px solid #e4e2da;border-left:0;min-height:72px}.list-section-head h3{font-size:25px!important}.toolbar{grid-template-columns:1fr auto;display:grid}.search{min-width:0}.table-card{margin-inline:-2px}.editor-head{flex-direction:column;align-items:stretch;gap:14px}.editor-actions{grid-template-columns:1fr 1fr;display:grid}.invoice-sheet{padding:20px 14px}.document-head{flex-direction:column;align-items:stretch}.document-mark{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-width:0}.invoice-meta{grid-template-columns:1fr;padding:15px}.invoice-meta label:last-child{grid-column:auto}.items-wrap{border-radius:12px 4px;margin-inline:-8px}.payment-action{flex-direction:column;align-items:stretch;position:static}.payment-submit{width:100%;min-width:0}.payment-dialog{border-radius:24px 7px;max-height:calc(100vh - 20px);padding:18px 14px}.payment-title h3{font-size:22px}.payment-invoice,.payment-methods{grid-template-columns:1fr}.payment-invoice>div,.payment-invoice>div:last-child{border-bottom:1px solid #e5e1d8;border-left:0;grid-column:auto}.credit-method{grid-column:auto}.payment-totals{grid-template-columns:1fr}.payment-dialog>footer{flex-direction:column-reverse;align-items:stretch}.payment-confirm{width:100%}.tenant-story{padding:34px 22px 66px}.tenant-story h1{font-size:39px}.tenant-story p{font-size:14px}.tenant-points{margin-top:28px}.tenant-key-card{border-radius:27px 8px;width:calc(100% - 28px);padding:27px 20px}.tenant-key-card h2{font-size:28px}.admin-page{padding:20px 13px 50px}.admin-page>header{align-items:flex-start;gap:16px}.admin-grid{display:block}.tenant-form,.tenant-list{margin-bottom:18px;padding:20px 15px}.form-pair,.form-actions{grid-template-columns:1fr}.tenant-list article{grid-template-columns:auto 1fr}.tenant-list article button,.tenant-status{grid-column:auto}.tenant-chip{justify-content:space-between;bottom:10px;left:12px;right:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.pwa-install{z-index:1200;left:max(16px, env(safe-area-inset-left));bottom:max(16px, env(safe-area-inset-bottom));box-sizing:border-box;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#10352bf5;border:1px solid #dbae556b;border-radius:22px 7px;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;width:min(430px,100vw - 32px);padding:14px 14px 14px 42px;animation:.35s ease-out pwa-enter;display:grid;position:fixed;box-shadow:0 22px 65px #051e174d}.pwa-mark{background:var(--karma-gold);width:48px;height:48px;color:var(--karma-green);border-radius:16px 5px;place-items:center;font-size:25px;font-weight:950;display:grid}.pwa-install>div{gap:3px;min-width:0;display:grid}.pwa-install b{font-size:13px}.pwa-install small{color:#c3d5ce;font-size:10px;line-height:1.7}.pwa-action{min-height:40px;color:var(--karma-green);white-space:nowrap;background:#fff8e9;border:0;border-radius:12px 4px;padding:0 13px;font-size:11px;font-weight:900}.pwa-dismiss{color:#9db7ad;background:0 0;border:0;width:25px;height:25px;padding:0;font-size:19px;position:absolute;top:8px;left:10px}@keyframes pwa-enter{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@media (max-width:560px){body{padding-bottom:env(safe-area-inset-bottom)}.topbar{padding-top:max(10px, env(safe-area-inset-top))}.payment-overlay{padding-top:max(10px, env(safe-area-inset-top));padding-bottom:max(10px, env(safe-area-inset-bottom))}.pwa-install{left:10px;right:10px;bottom:max(10px, env(safe-area-inset-bottom));grid-template-columns:44px 1fr;width:auto}.pwa-mark{width:44px;height:44px}.pwa-action{grid-column:1/-1;width:100%}}.app-page{--calm-border:#e1e4df;--calm-soft:#f7f5ef;background:#f5f3ed}.sidebar{background:#113e34;padding:24px 18px 18px}.logo{border-bottom:1px solid #ffffff1a;padding-bottom:21px}.logo>span{border-radius:15px 5px;width:48px;height:48px}.logo b{font-size:21px!important}.logo small{font-size:11px!important}.logo em{font-size:9px}.side-caption{color:#d9b867;margin:25px 10px 8px;font-size:10px!important}.nav{min-height:48px;margin:2px 0;padding:12px 13px!important;font-size:14px!important}.nav i{opacity:.7}.side-tenant{background:#ffffff0b;border:1px solid #ffffff1a;border-radius:18px 6px;gap:5px;margin-top:auto;padding:15px;display:grid}.side-tenant>span{color:#9eb9af;align-items:center;gap:7px;font-size:9px;display:flex}.side-tenant>span i{background:#70c49f;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #70c49f1a}.side-tenant b{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.side-tenant small{color:#9eb4ac;font-size:9px}.side-tenant button{color:#ddbc70;background:0 0;border:0;width:max-content;margin-top:5px;padding:5px 0;font-size:10px;font-weight:800}.side-product{color:#78988c;justify-content:space-between;padding:15px 4px 11px;font-size:9px;display:flex}.side-product span{color:#d3b469;font-weight:900}.side-foot{border-top:1px solid #ffffff17;margin-top:0;padding-top:14px}.topbar{min-height:82px;box-shadow:none;border-bottom:1px solid #e2e4df;padding:10px clamp(20px,2.5vw,38px)}.topbar:after{display:none}.top-title{min-width:0}.top-title h2{margin-top:1px;font-size:clamp(23px,2vw,29px)!important}.crumb{color:#72817a;text-overflow:ellipsis;white-space:nowrap;max-width:48vw;display:block;overflow:hidden;font-size:11px!important}.top-actions{gap:10px;margin-right:auto}.fiscal-year-selector{min-width:128px;height:54px;box-shadow:none;background:#fbf6e8;border-color:#ded3b5;border-radius:15px 5px;padding:5px 11px}.fiscal-year-selector small{font-size:8px}.fiscal-year-selector select{font-size:18px}.fiscal-year-selector i{bottom:8px}.new-invoice-btn{min-height:52px;box-shadow:none;border-radius:15px 5px}.view{width:min(100%,1480px);padding-top:26px}.daily-overview{background:linear-gradient(120deg,#103f35,#176250);border:1px solid #226354;border-radius:20px 7px;justify-content:space-between;align-items:center;gap:14px;min-height:78px;padding:13px 17px;display:flex;box-shadow:0 12px 30px #0f3d321f}.daily-title{gap:0;display:grid}.daily-title>span{color:#e4bd68;font-size:9px;font-weight:850}.daily-title h3{color:#fff;margin:0;font-size:21px}.daily-title p{color:#c4d7d0;margin:0;font-size:9px}.refresh-dashboard{color:#536c62;background:#fff;border:1px solid #d9dfda;border-radius:11px 4px;min-height:39px;padding:0 12px;font-size:10px;font-weight:800}.refresh-dashboard i{margin-left:4px;font-size:15px;font-style:normal}.calm-stats{width:100%;box-shadow:none;background:0 0;border:0;border-radius:0;gap:13px;margin:13px 0 34px;overflow:visible}.calm-stats article{background:#fffdf9;border-radius:18px 6px;min-height:76px;padding:16px 18px;border:1px solid var(--calm-border)!important}.calm-stats .stat-icon{border-radius:13px 4px;width:42px;height:42px}.calm-stats small{font-size:10px!important}.calm-stats b{font-size:17px!important}.calm-stats b em{color:#829089;font-size:9px;font-style:normal;font-weight:600}.list-section-head{align-items:center;margin-bottom:13px}.list-section-head>div:first-child span{font-size:9px!important}.list-section-head h3{margin:0;font-size:23px!important}.list-section-head .toolbar{width:min(600px,55%)}.search{border-radius:12px 4px;min-height:45px}.search input{font-size:13px!important}.toolbar .secondary{min-height:45px;font-size:12px!important}.table-card{border-radius:20px 6px;box-shadow:0 8px 30px #11352b0b}.table-card thead th{background:#efeee9;color:#63716b!important;padding:15px 17px!important;font-size:12px!important}.table-card tbody td{padding:14px 17px!important;font-size:13px!important}.invoice-no,.date-cell,.amount-cell{font-size:14px!important}.customer-cell b{font-size:13px!important}.customer-cell small,.issuer-cell,.row-open{font-size:10px!important}.editor-head{justify-content:space-between;align-items:center;min-height:46px;margin-bottom:12px;display:flex}.back{color:#60716a!important;background:0 0!important;border:0!important;min-height:40px!important;padding:0 10px!important}.editor-actions button{font-size:10px;min-height:40px!important;padding-inline:13px!important}.invoice-sheet{border-radius:25px 7px;padding:clamp(20px,2.5vw,34px);box-shadow:0 10px 38px #11352b0b}.document-head{border-bottom:1px solid #e3e1d9;padding-bottom:18px}.document-brand>span{border-radius:16px 5px;width:52px;height:52px;font-size:23px}.document-brand small,.document-brand p{font-size:9px!important}.document-brand h4{font-size:22px!important}.document-mark{border-radius:15px 5px;min-width:142px;padding:9px 13px}.document-mark span,.document-mark small{font-size:9px!important}.document-mark b{font-size:18px!important}.invoice-meta{border-radius:17px 5px;grid-template-columns:minmax(180px,.45fr) minmax(360px,1.55fr);gap:13px;margin-top:18px;padding:15px}.invoice-meta label:last-child{grid-column:auto}.invoice-meta label>span{font-size:10px!important}.invoice-meta input{min-height:44px;font-size:13px!important}.items-head{margin-top:25px}.items-head h4{font-size:18px!important}.items-head p{font-size:10px!important}.items-head .secondary{min-height:39px;font-size:10px}.items-wrap{border-radius:14px 4px}.items thead th{padding:13px 9px!important;font-size:11px!important}.items td{padding:7px 6px}.items input{min-height:42px;font-size:13px!important}.items .money-input{font-size:13px!important}.product-lookup input{background-image:radial-gradient(circle at 15px,#d5b35f 0 3px,#0000 4px);padding-left:30px}.lookup-portal{box-sizing:border-box;overscroll-behavior:contain;background:#fffdf9;border:1px solid #c7d5ce;border-radius:19px 6px;flex-direction:column;padding:0;display:flex;box-shadow:0 28px 80px #08251c42;z-index:4000!important;position:fixed!important;overflow:hidden!important}.product-lookup-head{background:linear-gradient(100deg,#eef5f1,#fbf7eb);border-bottom:1px solid #dce3de;flex:none;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;min-height:58px;padding:9px 12px;display:grid}.product-lookup-mark{color:#e4bf6c;background:#174c3f;border-radius:12px 4px;place-items:center;width:38px;height:38px;font-size:19px;font-weight:950;display:grid}.product-lookup-head>div{gap:1px;display:grid}.product-lookup-head b{color:#173f35;font-size:13px}.product-lookup-head small{color:#78867f;font-size:9px}.product-lookup-head>kbd,.product-lookup-help kbd{color:#718078;background:#fff;border:1px solid #d0d8d3;border-bottom-width:2px;border-radius:6px;padding:3px 6px;font:700 8px Vazirmatn,sans-serif}.product-results{scrollbar-width:thin;scrollbar-color:#9fb3aa transparent;min-height:80px;padding:5px;overflow:auto}.lookup-portal .product-option{text-align:right;background:0 0;border:0;border-bottom:1px solid #edf0ed;border-radius:11px 4px;grid-template-columns:30px minmax(0,1fr) 105px;align-items:center;gap:10px;width:100%;min-height:62px;padding:8px 9px;display:grid}.lookup-portal .product-option:hover,.lookup-portal .product-option:focus-visible{background:#eaf3ee;box-shadow:inset 3px 0 #d3a84e;outline:0!important}.product-option-no{color:#78857f;background:#f0ede4;border-radius:9px 3px;place-items:center;width:27px;height:27px;font-size:9px;font-weight:800;display:grid}.product-option-main{gap:5px;min-width:0;display:grid}.product-option-main>b{color:#173f35;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.product-option-main>small{gap:5px;display:flex;overflow:hidden}.product-option-main>small i{color:#74827b;white-space:nowrap;background:#f2f2ed;border-radius:99px;padding:2px 6px;font-size:8px;font-style:normal}.product-option-price{direction:ltr;justify-items:end;line-height:1.2;display:grid}.product-option-price small{color:#8b9690;font-size:7px}.product-option-price strong{color:#9b5a35;font-size:12px}.product-option-price em{color:#8b9690;font-size:7px;font-style:normal}.product-lookup-help{color:#7b8881;background:#f5f4ee;border-top:1px solid #e0e4df;flex:none;align-items:center;gap:14px;min-height:31px;padding:5px 11px;font-size:8px;display:flex}.product-lookup-help span{align-items:center;gap:4px;display:flex}.product-lookup-state{color:#718078;place-content:center;justify-items:center;gap:8px;min-height:100px;font-size:10px;display:grid}.product-lookup-state>i{border:2px solid #d4ddd8;border-top-color:#174c3f;border-radius:50%;width:23px;height:23px;animation:.7s linear infinite spin}.product-lookup-state.empty-result span{color:#173f35;font-size:12px;font-weight:850}.product-lookup-state.empty-result small{font-size:9px}.invoice-bottom{margin-top:20px}.invoice-summary-only{justify-content:flex-end}.summary{width:min(620px,100%);margin-top:0}.summary>div{min-height:42px;font-size:12px!important}.summary .grand{font-size:15px!important}.amount-in-words{padding:11px 13px}.amount-in-words span{font-size:9px!important}.amount-in-words b{font-size:11px!important}.payment-action{background:#f7faf7f7;border-radius:18px 6px;padding:13px 16px;box-shadow:0 10px 30px #11352b1a}.payment-action small{font-size:9px}.payment-action b{font-size:20px}.payment-submit{min-width:210px;min-height:52px;box-shadow:none;border-radius:15px 5px;font-size:13px}.tenant-story{background:radial-gradient(circle at 15% 12%,#276453 0,#0000 27%),#123f34}.tenant-story h1{font-size:clamp(45px,4.8vw,72px)}.tenant-story p{max-width:650px;font-size:15px}.tenant-points{margin-top:30px}.tenant-points span{padding:7px 11px;font-size:10px}.tenant-key-card{border-radius:26px 8px;box-shadow:0 18px 60px #11352b14}.admin-page{background:#f5f3ed}.tenant-form,.tenant-list{border-radius:21px 6px;box-shadow:0 8px 28px #11352b0a}@media (max-width:900px){.topbar{min-height:74px}.crumb{max-width:42vw}.daily-overview{min-height:82px}.calm-stats{grid-template-columns:repeat(3,1fr)}.calm-stats article{flex-direction:column;align-items:flex-start}.invoice-meta{grid-template-columns:190px 1fr}}@media (max-width:680px){.topbar{padding-inline:12px}.top-title h2{font-size:19px!important}.crumb{max-width:38vw;font-size:9px!important}.fiscal-year-selector{min-width:95px;height:48px}.fiscal-year-selector select{font-size:16px}.new-invoice-btn{min-height:48px;padding-inline:11px;font-size:11px!important}.new-invoice-btn span{font-size:15px}.daily-overview{align-items:flex-start;padding:17px}.daily-title h3{font-size:20px}.daily-title p{font-size:9px}.refresh-dashboard{width:38px;min-height:38px;padding:0;font-size:0;overflow:hidden}.refresh-dashboard i{margin:0;font-size:17px}.calm-stats{grid-template-columns:1fr;gap:8px}.calm-stats article{flex-direction:row;min-height:65px}.list-section-head .toolbar{width:100%}.editor-actions{gap:5px}.editor-actions button{padding-inline:9px!important}.invoice-meta{grid-template-columns:1fr}.document-brand h4{font-size:18px!important}.document-mark{grid-template-columns:auto 1fr auto}.summary{width:100%}.payment-action{bottom:max(8px,env(safe-area-inset-bottom));position:sticky}.lookup-portal .product-option{grid-template-columns:25px minmax(0,1fr)}.product-option-price{grid-column:2;grid-template-columns:auto auto auto;justify-content:start;gap:4px}.product-option-main>small i:nth-child(3){display:none}.product-lookup-help{justify-content:space-between;gap:4px}}@page{size:A4 portrait;margin:6mm}@media print{html,body,#root,.app-page,.app-page>main,.view{background:#fff!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}.app-page{grid-template-columns:none!important;min-height:0!important;display:block!important}.app-page>main{isolation:auto!important;grid-column:auto!important;max-width:none!important;display:block!important;position:static!important;overflow:visible!important}.invoice-editor-view,.invoice-sheet,.fr-official{max-width:none!important;overflow:visible!important}.invoice-sheet{isolation:auto!important}.fr-official{width:100%!important;margin:0!important}body{-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact}.sidebar,.topbar,.editor-head,.invoice-message,.payment-action,.items-head button,.remove,.lookup-menu,.lookup-portal,.pwa-install{display:none!important}.invoice-sheet{width:100%!important;box-shadow:none!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important}.document-head{break-inside:avoid;padding-bottom:3mm!important}.invoice-meta{break-inside:avoid;grid-template-columns:32mm 1fr!important;gap:3mm!important;margin-top:2.5mm!important;padding:2.5mm!important}.invoice-meta label{margin:0!important}.invoice-meta input{height:auto!important;min-height:0!important;box-shadow:none!important;color:#111!important;background:#fff!important;border:1px solid #d8ddd8!important;padding:1.2mm!important}.items-head{margin:3mm 0 1mm!important}.items-head p{display:none!important}.items-wrap{border:0!important;border-radius:0!important;overflow:visible!important}.items{table-layout:fixed!important;white-space:normal!important;width:100%!important;min-width:0!important}.items thead{display:table-header-group}.items tr{break-inside:avoid}.items th,.items td{background:#fff!important;border:1px solid #d8ddd8!important;padding:1.1mm .8mm!important;font-size:8.5pt!important}.items th{color:#fff!important;background:#174c3f!important}.items th:first-child{width:5%!important}.items th:nth-child(2){width:32%!important}.items th:nth-child(3),.items th:nth-child(4){width:8%!important}.items th:nth-child(5){width:13%!important}.items th:nth-child(6){width:10%!important}.items th:nth-child(7){width:9%!important}.items th:nth-child(8){width:15%!important}.items th:last-child,.items td:last-child,.empty-product-row{display:none!important}.items input{width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;box-shadow:none!important;color:#111!important;background:0 0!important;border:0!important;padding:0!important;font-size:8.5pt!important}.items .product-cell input{min-width:0!important}.invoice-bottom{break-inside:avoid;border-top:1px solid #d8ddd8!important;margin-top:2.5mm!important;padding-top:2mm!important}.invoice-summary-only{display:block!important}.summary{width:80mm!important;margin-inline-start:auto!important}.summary>div{min-height:0!important;padding:1mm 2mm!important;font-size:8.5pt!important}.amount-in-words{width:100%!important}.document-head,.document-mark{min-height:0!important}.document-mark{gap:2mm!important;padding:0!important}.document-brand h1{margin:0!important;font-size:18pt!important;line-height:1.25!important}.document-brand h4,.document-brand p,.document-brand small{margin-block:.5mm!important;line-height:1.3!important}.invoice-meta span,.items-head h3{margin-bottom:.5mm!important}.items th,.items td,.items input{line-height:1.25!important}.amount-in-words{margin-top:2mm!important;padding:1.5mm 2mm!important;line-height:1.35!important}}.items th{text-align:center!important;vertical-align:middle!important}.editor-actions>button{justify-content:center;align-items:center;gap:.55rem;display:inline-flex}.editor-actions .action-icon{border-radius:11px;flex:0 0 2.15rem;place-items:center;width:2.15rem;height:2.15rem;transition:transform .18s,background-color .18s;display:inline-grid}.editor-actions .action-icon svg{stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:1.22rem;height:1.22rem}.editor-actions .secondary .action-icon{color:#9a6b19;background:#c9973824}.editor-actions>button:hover .action-icon{transform:translateY(-2px)rotate(-3deg)}.invoice-summary-only .summary{margin-left:0;margin-right:auto}@media (max-width:720px){.invoice-summary-only .summary{width:100%;margin-inline:0}}.table-card thead th{text-align:center;vertical-align:middle}.table-card tbody td:last-child{text-align:center}.table-card .row-open{color:#a65335;background:#fff5ed;border:1px solid #b26f454d;border-radius:13px;justify-content:center;align-items:center;gap:.55rem;min-width:7.25rem;min-height:2.85rem;padding:.65rem 1rem;font-size:1rem;font-weight:800;transition:transform .16s,border-color .16s,background-color .16s,box-shadow .16s;display:inline-flex;box-shadow:0 7px 18px #a6533514}.table-card .row-open span{font-size:1.2rem;line-height:1;transition:transform .16s}.table-card .row-open:hover{background:#ffede2;border-color:#b26f458c;transform:translateY(-2px);box-shadow:0 10px 22px #a6533524}.table-card .row-open:hover span{transform:translate(-3px)}.dashboard-range{box-shadow:none;background:#ffffff14;border:1px solid #ffffff29;border-radius:15px;align-items:flex-end;gap:.65rem;padding:.45rem;display:flex}.dashboard-range>label{gap:.35rem;display:grid}.dashboard-range>label>span{color:#d2e1dc;padding-inline:.25rem;font-size:.78rem;font-weight:750}.dashboard-range input{color:#123f34;text-align:center;direction:ltr;background:#fff;border:1px solid #cedbd6;border-radius:13px;outline:none;width:100%;min-width:0;min-height:2.75rem;padding:.65rem .9rem;font-family:Vazirmatn,sans-serif;font-size:1rem;font-weight:800}.dashboard-range input:focus{border-color:#c79b48;box-shadow:0 0 0 4px #c79b4821}.dashboard-range>i{color:#a07a35;align-self:center;margin-top:1.1rem;font-size:.82rem;font-style:normal;font-weight:800}.dashboard-range .refresh-dashboard{color:#123f35;background:#e1ba64;border-color:#e1ba64;min-height:2.75rem;margin:0}.dashboard-range .refresh-dashboard b{font-size:1.25rem;line-height:1}@media (max-width:900px){.daily-overview{align-items:stretch}.dashboard-range{flex-wrap:wrap}}@media (max-width:560px){.dashboard-range>label{flex:8rem}.dashboard-range input,.dashboard-range .refresh-dashboard{width:100%}}.manual-card-payment{color:#185f4e;text-align:right;background:#edf8f3;border:1px solid #19705838;border-radius:15px;gap:.35rem;margin-top:.85rem;padding:.9rem 1rem;display:grid}.manual-card-payment b{font-size:.98rem;font-weight:850}.manual-card-payment span{color:#57756d;font-size:.82rem;line-height:1.8}.payment-dialog{width:min(76rem,100vw - 2rem);max-height:calc(100vh - .75rem);padding:.9rem 1rem;overflow-y:auto}.payment-dialog>header{margin-bottom:.5rem;padding-bottom:.5rem}.payment-dialog .payment-title>span{width:3.25rem;height:3.25rem}.payment-dialog .payment-title h3{margin-top:.1rem;font-size:1.55rem}.payment-dialog .payment-close{width:2.55rem;height:2.55rem}.payment-dialog .payment-invoice{margin:.55rem 0 .65rem}.payment-dialog .payment-invoice>div{min-height:4rem;padding:.5rem .8rem}.payment-dialog .payment-methods{align-items:start;gap:.65rem}.payment-dialog .payment-methods>.method{height:auto;min-height:0;padding:.7rem}.payment-dialog .method-head{margin-bottom:.45rem}.payment-dialog .method-head>span{width:2.5rem;height:2.5rem}.payment-dialog .method-head h4{margin-bottom:.1rem;font-size:1.15rem}.payment-dialog .method>label,.payment-dialog .method>label input{min-height:3rem}.payment-dialog .full-payment-button,.payment-dialog .credit-method>button{min-height:2.3rem;margin-top:.4rem}.payment-dialog .payment-bank{margin-top:.45rem;padding:.5rem}.payment-dialog .payment-bank select{min-height:2.55rem}.payment-dialog .manual-card-payment{margin-top:.45rem;padding:.5rem .65rem}.payment-dialog .pcpos-panel{margin-top:.45rem;padding:.55rem}.payment-dialog .payment-totals{margin-top:.6rem;padding:.55rem .75rem}.payment-dialog>footer{margin-top:.55rem;padding-top:.55rem}@media (max-width:1050px){.payment-dialog{width:min(48rem,100vw - 1.25rem)}.payment-dialog .payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-dialog .credit-method{grid-column:1/-1}}@media (max-width:680px){.payment-dialog{width:calc(100vw - .75rem);max-height:calc(100vh - .75rem);padding:.85rem}.payment-dialog .payment-methods{grid-template-columns:1fr}.payment-dialog .credit-method{grid-column:auto}}.invoice-navigation{background:#fffdf8;border:1px solid #d7ded9;border-radius:14px 5px;align-items:center;gap:.35rem;padding:.3rem;display:flex;box-shadow:0 5px 18px #173f3508}.invoice-navigation button{color:#245b4c;white-space:nowrap;background:#edf3ef;border:0;border-radius:10px 3px;justify-content:center;align-items:center;gap:.3rem;min-height:36px;padding:0 .7rem;font:850 11px Vazirmatn;transition:background-color .16s,color .16s,transform .16s;display:flex}.invoice-navigation button:hover:not(:disabled){color:#fff;background:#174c3f;transform:translateY(-1px)}.invoice-navigation button i{color:#b58735;font-size:17px;font-style:normal;line-height:1}.invoice-navigation button:hover:not(:disabled) i{color:#e6c26d}.invoice-navigation button:disabled{opacity:.38;cursor:not-allowed}@media (max-width:680px){.editor-leading{flex-direction:column;align-items:stretch;width:100%}.invoice-navigation{grid-template-columns:repeat(4,1fr);width:100%;display:grid}.invoice-navigation button{padding:0 .35rem}.invoice-navigation button span{font-size:10px}}.invoice-lock-fields{border:0;min-width:0;margin:0;padding:0}.invoice-lock-fields:disabled{opacity:1}.invoice-sheet.finalized input,.invoice-sheet.finalized button{cursor:not-allowed}.invoice-sheet.finalized input:disabled{color:#173c34;-webkit-text-fill-color:#173c34;opacity:1}.invoice-final-lock{color:#6e5111;background:#fff8e5;border:1px solid #e2c77e;border-radius:16px;align-items:center;gap:14px;margin:0 0 14px;padding:13px 18px;display:flex}.invoice-final-lock b{font-size:17px}.invoice-final-lock span{color:#7b6a43}@media print{.invoice-final-lock{display:none!important}}.pcpos-panel{background:linear-gradient(145deg,#f6faf8,#fffdf8);border:1px solid #d9e2dd;border-radius:16px;margin-top:14px;padding:14px}.pcpos-panel-title{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:9px;display:flex}.pcpos-panel-title span{color:#173f35;font-weight:800}.pcpos-panel-title small{color:#87938e}.pcpos-panel select{background:#fff;border:1px solid #cfdbd5;border-radius:12px;width:100%;min-height:46px;padding-inline:12px;font-family:inherit}.pcpos-hint{font-size:12px;line-height:1.7;margin:8px 2px 0!important}.pcpos-hint.ready{color:#34715e}.pcpos-hint.error{color:#a05846}.pcpos-terminal-state{color:#245f4f;text-align:right;background:#eef8f3;border:1px solid #c9ddd4;border-radius:12px;gap:7px;margin-top:10px;padding:11px 12px;display:grid}.pcpos-terminal-state.configuration-error{color:#80591e;background:#fff8e9;border-color:#ecd3a7}.pcpos-terminal-state>div,.pcpos-health{gap:3px;display:grid}.pcpos-terminal-state span,.pcpos-terminal-state p,.pcpos-health span{margin:0;font-size:12px;line-height:1.8}.pcpos-terminal-state small{font-variant-numeric:tabular-nums;direction:ltr;background:#ffffffb8;border-radius:999px;width:-moz-fit-content;width:fit-content;padding:2px 8px}.pcpos-actions{grid-template-columns:minmax(112px,.42fr) minmax(180px,1fr);gap:8px;margin-top:12px;display:grid}.pcpos-actions .pcpos-send{margin-top:0}.pcpos-health-button{color:#245f4f;background:#fff;border:1px solid #b8cec4;border-radius:13px;min-height:50px;font-family:inherit;font-weight:800}.pcpos-health-button:disabled{color:#8a9590;background:#f2f4f3;border-color:#dce3df}.pcpos-health-button i,.pcpos-send i{vertical-align:-3px;border:2px solid;border-top-color:#0000;border-radius:50%;width:15px;height:15px;margin-inline-end:7px;animation:.8s linear infinite pcpos-spin;display:inline-block}.pcpos-health{color:#175b47;text-align:right;background:#eaf7f1;border:1px solid #b9dccc;border-radius:12px;margin-top:10px;padding:10px 12px}.pcpos-health.offline{color:#954a39;background:#fff0ec;border-color:#ecc8c0}.pcpos-health.busy,.pcpos-response.busy{color:#775b12;background:#fff8df;border:1px solid #ead28d}.manual-card-payment.terminal-unavailable{color:#80591e;background:#fff8e9;border-color:#ecd3a7}.manual-card-payment.terminal-unavailable span{color:#886d43}.pcpos-send{color:#fff;background:#164f40;border:0;border-radius:13px;width:100%;min-height:50px;margin-top:12px;font-size:15px;font-weight:850;box-shadow:0 10px 22px #164f4026}.pcpos-send:disabled{color:#7f8a85;box-shadow:none;background:#dce3df}.pcpos-response{border-radius:12px;gap:4px;margin-top:10px;padding:11px 12px;font-size:13px;display:grid}.pcpos-response.approved{color:#175b47;background:#eaf7f1;border:1px solid #b9dccc}.pcpos-response.unknown{color:#775b12;background:#fff8df;border:1px solid #ead28d}.pcpos-response.failed,.pcpos-response.declined,.pcpos-response.cancelled{color:#954a39;background:#fff0ec;border:1px solid #ecc8c0}.pcpos-response small{overflow-wrap:anywhere;line-height:1.8}@keyframes pcpos-spin{to{transform:rotate(360deg)}}@media (max-width:720px){.pcpos-panel-title{flex-direction:column;align-items:flex-start;gap:2px}.pcpos-actions{grid-template-columns:1fr}}.invoice-register-action{flex-wrap:wrap}.invoice-register-action .invoice-submit-message{color:#8f432f;text-align:right;background:#fff3ef;border:1px solid #e4bdb1;border-right:4px solid #b45f45;border-radius:14px;flex:100%;order:10;width:auto;max-width:none;margin:.8rem 0 0 clamp(190px,16vw,220px);padding:.9rem 1rem;font-size:1rem;font-weight:750;line-height:1.9;box-shadow:0 10px 24px #8f432f14}@media (max-width:760px){.invoice-register-action .invoice-submit-message{margin-left:76px}}.print-karma-signature,.fast-report-print{display:none}.print-layout-indicator{color:#765a21;white-space:nowrap;background:#fbf4df;border:1px solid #d9cba8;border-radius:12px 4px;align-content:center;gap:1px;min-height:40px;padding:5px 12px;display:grid}.print-layout-indicator small{color:#8b7954;font-size:8px}.print-layout-indicator b{font-size:10px}@page fr-official{size:A4 portrait;margin:8mm 10mm}@page fr-receipt{size:80mm 297mm;margin:4mm}@media print{.screen-invoice-content,.print-karma-signature{display:none!important}.invoice-sheet{background:#fff!important;padding:0!important}.fast-report-print{box-sizing:border-box;color:#111;direction:rtl;background:#fff;position:relative;font-family:Market Nazanin,B Nazanin,Nazanin,serif!important;display:block!important}.fr-official{page:fr-official;width:100%}.fr-receipt{page:fr-receipt;width:72mm;min-width:0;max-width:72mm;margin:0 auto;font-size:9pt;overflow:visible}.fr-receipt,.fr-receipt *{box-sizing:border-box;min-width:0}.fr-software-mark{z-index:2;writing-mode:vertical-rl;color:#68776f;white-space:nowrap;font-size:7pt;position:absolute;top:0;left:-7mm;transform:rotate(180deg)}.fr-software-mark b{color:#a45f40;direction:ltr}.fr-header{border-bottom:1.2pt solid #222;grid-template-columns:1fr 1.3fr 1fr;align-items:center;gap:4mm;min-height:25mm;padding-bottom:3mm;display:grid}.fr-company{align-items:center;gap:2.5mm;display:flex}.fr-company>div{gap:1mm;display:grid}.fr-company b{font-size:10pt}.fr-company small{color:#555;font-size:7pt}.fr-logo{color:#e4bd68;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;background:#164d3f;border-radius:3mm;place-items:center;width:13mm;height:13mm;font-size:20pt;font-weight:900;display:grid}.fr-header h1{text-align:center;margin:0;font-size:15pt}.fr-number{border:.8pt solid #aaa;border-radius:2mm;place-items:center;min-height:18mm;padding:1.5mm 3mm;display:grid}.fr-number span,.fr-number small{color:#555;font-size:7pt}.fr-number b{color:#174a3e;font-size:14pt}.fr-parties{border:.8pt solid #777;margin-top:3mm}.fr-parties section+section{border-top:.8pt solid #777}.fr-parties h2,.fr-items-title{text-align:center;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;background:#e8eeea;margin:0;padding:1.2mm 2mm;font-size:9pt}.fr-parties section>div{grid-template-columns:repeat(3,1fr);display:grid}.fr-parties section span{border-left:.5pt solid #bbb;align-content:center;gap:.7mm;min-height:11mm;padding:1mm 2mm;display:grid}.fr-parties section span.wide{grid-column:span 2}.fr-parties small{color:#555;font-size:6.5pt}.fr-parties b{font-size:8.5pt}.fr-items-title{border:.8pt solid #777;border-bottom:0;margin-top:3mm}.fr-items{table-layout:fixed;border-collapse:collapse;width:100%}.fr-items thead{display:table-header-group}.fr-items th,.fr-items td{text-align:center;border:.6pt solid #777;padding:1.3mm 1mm;font-size:7.7pt;line-height:1.35}.fr-items th{-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;background:#dfe8e3;font-weight:900}.fr-items td.fr-name{text-align:right;font-weight:700}.fr-items tr{break-inside:avoid}.fr-template-32 .fr-items th:nth-child(3),.fr-template-32 .fr-items td:nth-child(3),.fr-template-34 .fr-items th:nth-child(3),.fr-template-34 .fr-items td:nth-child(3){width:32%}.fr-template-33 .fr-items th,.fr-template-33 .fr-items td{padding-inline:.45mm;font-size:6.1pt}.fr-template-33 .fr-items th:nth-child(3),.fr-template-33 .fr-items td:nth-child(3){width:20%}.fr-footer{break-inside:avoid;margin-top:2.5mm}.fr-totals{width:55%;margin-right:auto}.fr-totals p{border-bottom:.5pt solid #aaa;justify-content:space-between;align-items:center;gap:5mm;min-height:7mm;margin:0;padding:.7mm 2mm;display:flex}.fr-totals p span{font-size:8pt}.fr-totals p b{font-size:9pt}.fr-totals .payable{color:#164d3f;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;background:#e5efea;border:1pt solid #6b8e82;margin-top:1mm}.fr-totals .words{border:.8pt dashed #ba9654;gap:.6mm;display:grid}.fr-totals .words b{font-size:8pt}.fr-payments{border:.7pt solid #9cb2aa;grid-template-columns:repeat(3,1fr);margin-top:2mm;display:grid}.fr-payments span{text-align:center;border-left:.5pt solid #9cb2aa;padding:1.5mm;font-size:7pt}.fr-payments span:last-child{border-left:0}.fr-signatures{border-top:.7pt solid #999;grid-template-columns:1fr 1fr;min-height:23mm;margin-top:4mm;display:grid}.fr-signatures span{text-align:center;padding-top:2mm;font-size:8pt}.fr-contact{text-align:center;border-top:.7pt solid #777;gap:1mm;margin-top:3mm;padding-top:2mm;font-size:7pt;display:grid}.fr-receipt .fr-header{grid-template-columns:minmax(0,1fr) 23mm;gap:2mm;min-height:18mm}.fr-receipt .fr-company{text-align:center;grid-column:1/-1;justify-content:center}.fr-receipt .fr-logo{width:9mm;height:9mm;font-size:14pt}.fr-receipt .fr-header h1{text-align:right;font-size:12pt}.fr-receipt .fr-number{width:23mm;min-height:13mm;padding:1mm;overflow:hidden}.fr-receipt .fr-number b{font-size:11pt}.fr-receipt .fr-number span,.fr-receipt .fr-number small{white-space:nowrap;max-width:100%;font-size:6.2pt}.fr-receipt-meta{border:.7pt solid #777;grid-template-columns:1fr 1fr;margin:2mm 0;display:grid}.fr-receipt-meta span{border-left:.5pt solid #aaa;align-content:center;min-height:10mm;padding:1mm 2mm;display:grid}.fr-receipt-meta span:last-child{border-left:0}.fr-receipt-meta small{color:#555;font-size:6.5pt}.fr-receipt-meta b{font-size:8pt}.fr-receipt .fr-items-title{display:none}.fr-receipt .fr-items{max-width:100%;table-layout:fixed!important;width:100%!important}.fr-receipt .fr-items th,.fr-receipt .fr-items td{white-space:normal;overflow-wrap:anywhere;word-break:break-word;max-width:0;padding:.9mm .35mm;font-size:6.2pt;line-height:1.45;overflow:hidden}.fr-receipt .fr-items td:not(.fr-name){direction:ltr;font-size:5.8pt}.fr-template-31 .fr-items th:first-child,.fr-template-31 .fr-items td:first-child{width:8%}.fr-template-31 .fr-items th:nth-child(2),.fr-template-31 .fr-items td:nth-child(2){width:50%}.fr-template-31 .fr-items th:nth-child(3),.fr-template-31 .fr-items td:nth-child(3){width:15%}.fr-template-31 .fr-items th:nth-child(4),.fr-template-31 .fr-items td:nth-child(4){width:27%}.fr-template-31 .fr-receipt-item b,.fr-template-31 .fr-receipt-item small{display:block}.fr-template-31 .fr-receipt-item b{font-size:6.5pt;line-height:1.5}.fr-template-31 .fr-receipt-item small{color:#444;margin-top:.6mm;font-size:5.2pt;font-weight:400;line-height:1.55}.fr-template-35 .fr-items th:first-child,.fr-template-35 .fr-items td:first-child{width:7%}.fr-template-35 .fr-items th:nth-child(2),.fr-template-35 .fr-items td:nth-child(2){width:31%}.fr-template-35 .fr-items th:nth-child(3),.fr-template-35 .fr-items td:nth-child(3){width:12%}.fr-template-35 .fr-items th:nth-child(4),.fr-template-35 .fr-items td:nth-child(4),.fr-template-35 .fr-items th:nth-child(5),.fr-template-35 .fr-items td:nth-child(5){width:16%}.fr-template-35 .fr-items th:nth-child(6),.fr-template-35 .fr-items td:nth-child(6){width:18%}.fr-receipt .fr-totals{width:100%}.fr-receipt .fr-totals p{gap:1mm;padding-inline:1mm}.fr-receipt .fr-totals p span{font-size:7pt}.fr-receipt .fr-totals p b{text-align:left;overflow-wrap:anywhere;direction:ltr;min-width:22mm;font-size:7.5pt}.fr-receipt .fr-totals .words b{text-align:right;direction:rtl;min-width:0;font-size:7pt}.fr-receipt .fr-payments span{overflow-wrap:anywhere;padding-inline:.5mm;font-size:5.8pt}.fr-receipt .fr-software-mark{display:none}.fr-receipt .fr-contact{font-size:6.3pt}.invoice-sheet{box-sizing:border-box;padding-left:0!important}.print-karma-signature{z-index:20;color:#6c7b75;letter-spacing:.1pt;white-space:nowrap;writing-mode:vertical-rl;align-items:center;gap:1.5mm;font-size:7pt;font-weight:700;position:fixed;top:7mm;left:1.5mm;right:auto;transform:rotate(180deg);display:none!important}.print-karma-signature span{color:#ad7048;direction:ltr;font-family:Nazanin,serif;font-size:7.5pt}}.brand-logo{object-fit:contain;border-radius:inherit;width:100%;height:100%;display:block}.brand-sign,.preview-logo,.mark,.logo>span,.document-brand>span,.product-lookup-mark,.tenant-monogram,.admin-mark,.admin-page>header>div>span,.shared-mark,.shared-brand>span{overflow:hidden;background:#fff!important;padding:0!important}.brand-sign .brand-logo,.mark .brand-logo,.logo .brand-logo,.document-brand .brand-logo,.product-lookup-mark .brand-logo,.tenant-monogram .brand-logo,.admin-mark .brand-logo,.admin-page>header .brand-logo{filter:drop-shadow(0 5px 12px #ff0f5b29)}@media print{.fr-logo{overflow:hidden;background:#fff!important;padding:0!important}.fr-logo .brand-logo{object-fit:contain;filter:none;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact;width:100%;height:100%}}@media (min-width:901px){.app-page{grid-template-columns:220px minmax(0,1fr)!important}.sidebar{width:220px!important;padding-left:14px!important;padding-right:14px!important}.sidebar .logo{gap:10px!important}.sidebar .logo>span{flex:0 0 46px;width:46px!important;height:46px!important}.sidebar .logo b{font-size:21px!important}.sidebar .logo small{font-size:9px!important}.sidebar .nav{padding-left:10px!important;padding-right:12px!important;font-size:13px!important}.view{padding-left:26px!important;padding-right:26px!important}.invoice-sheet{padding-left:24px!important;padding-right:24px!important}.items-wrap{width:100%;overflow-x:visible!important}.items{table-layout:fixed!important;width:100%!important;min-width:0!important}.items th,.items td{overflow:hidden;box-sizing:border-box!important;min-width:0!important;padding-left:4px!important;padding-right:4px!important}.items th{white-space:nowrap;text-align:center!important;font-size:clamp(9px,.72vw,11px)!important}.items td{font-size:clamp(9px,.76vw,12px)!important}.items th:first-child,.items td:first-child{width:3.5%}.items th:nth-child(2),.items td:nth-child(2){width:34%}.items th:nth-child(3),.items td:nth-child(3){width:7%}.items th:nth-child(4),.items td:nth-child(4){width:6.5%}.items th:nth-child(5),.items td:nth-child(5){width:13%}.items th:nth-child(6),.items td:nth-child(6){width:10%}.items th:nth-child(7),.items td:nth-child(7){width:8%}.items th:nth-child(8),.items td:nth-child(8){width:13%}.items th:nth-child(9),.items td:nth-child(9){width:5%}.items input,.items .product-cell input{width:100%!important;min-width:0!important;padding-left:6px!important;padding-right:6px!important;font-size:clamp(9px,.78vw,12px)!important}.items .product-cell{width:auto!important;min-width:0!important}.items .product-lookup{width:100%;min-width:0}.items .product-cell input{text-overflow:ellipsis}.items .net{white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}.items .remove{width:30px;max-width:100%;padding-left:0!important;padding-right:0!important}}@media (min-width:901px) and (max-width:1120px){.app-page{grid-template-columns:205px minmax(0,1fr)!important}.sidebar{width:205px!important}.view{padding-left:18px!important;padding-right:18px!important}.invoice-sheet{padding-left:16px!important;padding-right:16px!important}.items th,.items td{padding-left:2px!important;padding-right:2px!important}.items input,.items .product-cell input{padding-left:4px!important;padding-right:4px!important}}.product-lookup-close{color:#687870;cursor:pointer;background:#fff;border:1px solid #d5ddd8;border-radius:10px 3px;align-items:center;gap:5px;height:34px;padding:0 7px;font:800 8px Vazirmatn;transition:background .16s,border-color .16s,color .16s,transform .16s;display:flex}.product-lookup-close kbd,.product-lookup-close span{pointer-events:none}.product-lookup-close:hover{color:#9c4635;background:#fff0ec;border-color:#d6aaa0;transform:translateY(-1px)}.product-lookup-close:focus-visible{outline:0;box-shadow:0 0 0 4px #b45d4317}.items th.discount-heading{line-height:1.25!important}.items th.discount-heading small{color:#dfc985;margin-top:2px;font-size:7px;font-weight:700;display:block}.items .discount-input{background-image:linear-gradient(90deg,#0000 calc(100% - 4px),#d2a548 calc(100% - 4px));border-color:#d8cba9!important}.items .discount-input:focus{border-color:#ba8a35!important;box-shadow:0 0 0 4px #ba8a3514!important}.discount-mobile-entry{grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;gap:5px;display:grid}.discount-mobile-entry .discount-input{width:100%;min-width:0}.discount-mobile-entry>button{color:#76551b;cursor:pointer;touch-action:manipulation;background:#f7edcf;border:1px solid #d8c78f;border-radius:10px 4px;min-width:38px;padding:0;font:900 18px Vazirmatn}.discount-mobile-entry>button:active{background:#ead49a;transform:translateY(1px)}@media (max-width:650px){.discount-mobile-entry{grid-template-columns:minmax(0,1fr) 42px}.discount-mobile-entry>button{min-width:42px;font-size:20px}}.mobile-menu-close{display:none}@media (max-width:900px){.mobile-menu-close{z-index:4;color:#fff;cursor:pointer;touch-action:manipulation;background:#ffffff12;border:1px solid #ffffff38;border-radius:13px 4px;place-items:center;width:42px;height:42px;padding:0;font:500 28px/1 Vazirmatn;display:grid;position:absolute;top:14px;left:14px}.mobile-menu-close:active{background:#ffffff25;transform:scale(.96)}.mobile-menu.active{color:#fff;background:#174c3f}.menu-backdrop.show{visibility:visible!important;pointer-events:auto!important}.menu-backdrop{z-index:19;opacity:0;visibility:hidden;pointer-events:none;-webkit-backdrop-filter:blur();backdrop-filter:blur();background:#0a2b226e;border:0;transition:opacity .2s,visibility .2s,-webkit-backdrop-filter .2s,backdrop-filter .2s;position:fixed;inset:0;display:block!important}.menu-backdrop.show{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:1!important;visibility:visible!important;pointer-events:auto!important}.topbar{isolation:isolate;z-index:120!important;min-height:80px!important;position:sticky!important;top:0!important}.sidebar{overscroll-behavior:contain;z-index:110!important;width:min(84vw,320px)!important;height:auto!important;min-height:0!important;padding:14px 16px 18px!important;position:fixed!important;inset:80px 0 0 auto!important;overflow:hidden auto!important}.sidebar:not(.open){visibility:hidden!important;pointer-events:none!important;transform:translate(105%)!important}.sidebar.open{visibility:visible!important;pointer-events:auto!important;transform:translate(0)!important}.menu-backdrop{z-index:105!important;position:fixed!important;inset:80px 0 0!important}.sidebar .logo,.sidebar .side-caption{display:none!important}.mobile-menu-close{z-index:3!important;color:#fff!important;background:#ffffff14!important;border:1px solid #ffffff2e!important;border-radius:13px!important;justify-content:center!important;align-items:center!important;width:42px!important;height:42px!important;margin:0 0 10px auto!important;font-size:25px!important;display:flex!important;position:sticky!important;top:0!important}.sidebar nav{gap:8px!important;margin:0!important;padding:0!important;display:grid!important}.sidebar .nav{border-radius:16px!important;min-height:58px!important;margin:0!important;padding:12px 16px!important}.sidebar .side-tenant{margin-top:18px!important}.sidebar .side-product{margin-top:14px!important}.sidebar .side-foot{margin-top:14px!important;position:static!important}}@media (max-width:430px){.topbar{gap:8px!important;min-height:76px!important;padding:10px 12px!important}.sidebar{width:min(86vw,310px)!important;top:76px!important}.menu-backdrop{inset:76px 0 0!important}.top-title h2{font-size:1.35rem!important;line-height:1.35!important}.top-title .crumb{font-size:.72rem!important}.top-actions{gap:6px!important}.top-actions>button,.mobile-menu{width:48px!important;min-width:48px!important;height:48px!important;padding:0!important}.fiscal-year-selector{min-width:132px!important;max-width:142px!important;height:54px!important}}.excel-export{color:#17503f;white-space:nowrap;background:#e7f2ec;border:1px solid #b9d3c7;border-radius:16px 5px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:0 17px;font:900 11px Vazirmatn;transition:all .18s;display:inline-flex;box-shadow:0 8px 22px #174c3f0b}.excel-export:hover{background:#dcece4;border-color:#78aa94;transform:translateY(-1px)}.excel-export span{color:#fff;letter-spacing:.7px;background:#1f6b54;border-radius:8px 3px;min-width:34px;padding:5px 6px;font:900 8px sans-serif}.excel-export:disabled{opacity:.45;cursor:not-allowed;transform:none}@media (max-width:680px){.list-section-head .toolbar{width:100%;grid-template-columns:minmax(0,1fr) auto!important;display:grid!important}.list-section-head .toolbar .search{grid-column:1/-1!important;width:100%!important}.list-section-head .toolbar .secondary,.list-section-head .toolbar .excel-export{width:100%!important;min-height:48px!important}}@media (max-width:900px){html,body,#root{max-width:100%;overflow-x:hidden}.app-page{width:100%!important;min-width:0!important;max-width:100%!important}.app-page>main{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.view.cashier-dashboard{box-sizing:border-box;overflow:hidden;width:100%!important;min-width:0!important;max-width:100%!important;padding-inline:12px!important}.app-page .sidebar:not(.open){opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translate(105%)!important}.app-page .sidebar.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(0)!important}.app-page .mobile-menu{touch-action:manipulation;z-index:150!important;pointer-events:auto!important;position:relative!important}.app-page .mobile-menu.active{color:#fff!important;background:#174c3f!important;border-color:#174c3f!important;font-size:28px!important;line-height:1!important}}.product-lookup{position:relative}.product-list-trigger{display:none}@media (max-width:650px){.product-lookup input{padding-left:96px!important}.product-list-trigger{z-index:2;color:#1d5a48;cursor:pointer;touch-action:manipulation;background:#edf3ef;border:0;border-radius:12px 4px;justify-content:center;align-items:center;gap:7px;width:88px;height:42px;padding:0 10px;font:900 12px Vazirmatn,sans-serif;display:flex;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.product-list-trigger span{font-size:20px;line-height:1}.product-list-trigger small{font-size:12px;font-weight:900}}@media print{.product-list-trigger{display:none!important}}.sidebar nav{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff2b transparent;flex:auto;min-height:0;overflow-y:auto}.report-nav-group{gap:6px;display:grid}.report-nav-toggle{text-align:right;align-items:center;width:100%;display:flex}.report-nav-toggle>span:not(.report-nav-chevron){flex:1}.report-nav-chevron{margin-right:auto;font-size:18px;line-height:1;transition:transform .2s}.report-nav-group.open .report-nav-chevron{transform:rotate(180deg)}.report-nav-submenu{border-right:1px solid #e3bd686b;gap:3px;margin:0 6px 5px 0;padding:4px 6px 4px 0;display:grid}.report-nav-submenu[hidden]{display:none}.sidebar .report-nav-item{background:#ffffff06;min-height:38px;padding:8px 7px;line-height:1.35;font-size:10.5px!important}.sidebar .report-nav-item i{text-align:center;color:#e3bd68;min-width:20px;margin-left:5px;font-size:12px}.sidebar .report-nav-item span{white-space:nowrap;min-width:0}.sidebar .report-nav-item.active{background:#ffffff1c}.side-foot{flex:none;grid-template-columns:38px minmax(0,1fr) 42px}.side-foot .logout-btn{color:#d8e5df;background:#ffffff0b;border:1px solid #ffffff24;border-radius:13px 4px;place-items:center;width:42px;height:42px;padding:0;transition:background .18s,color .18s,transform .18s;display:grid}.side-foot .logout-btn svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.side-foot .logout-btn:hover,.side-foot .logout-btn:focus-visible{color:#fff;background:#ffffff1a;outline:none}.side-foot .logout-btn:active{transform:scale(.95)}@media screen and (min-width:901px){.app-page{height:100vh!important;min-height:0!important;overflow:hidden!important}.app-page>main{overscroll-behavior-y:contain;scrollbar-gutter:stable;height:100vh!important;min-height:0!important;overflow:hidden auto!important}.app-page>.sidebar{height:100vh!important}}@media screen and (max-width:900px){.app-page{height:auto!important;min-height:100vh!important;min-height:100svh!important;overflow:visible!important}.app-page>main{scrollbar-gutter:auto;height:auto!important;overflow:visible!important}}@media print{html,body,#root,.app-page,.app-page>main,.view,.invoice-sheet,.fast-report-print,.fr-receipt,.report-center,.report-table-card,.report-table-wrap,.cashier-report-page,.cashier-print-sheet,.shared-paper{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.app-page,.app-page>main,.report-center,.cashier-report-page{scrollbar-gutter:auto!important;display:block!important}.report-table-card{break-inside:auto!important;page-break-inside:auto!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;padding:0!important}.report-table-card>header{break-inside:avoid;page-break-inside:avoid}.report-table-wrap thead,.cashier-report-table thead{display:table-header-group}.report-table-wrap tr,.cashier-report-table tr,.fr-items tr{break-inside:avoid;page-break-inside:avoid}.basket-suggestion-launcher,.basket-suggestion-backdrop,.smart-guide-launcher,.smart-guide-backdrop,.voice-invoice-trigger,.voice-invoice-overlay,.invoice-autosave-state,.invoice-history-trigger,.invoice-history-overlay,.realtime-notices,.parked-sales-overlay,.menu-backdrop,.payment-overlay,.customer-picker-overlay,.invoice-share-overlay,.barcode-overlay,.pwa-install{display:none!important}}.customer-balance-badge{background:#fffdf8;border:1px solid #d6ded9;border-radius:16px 5px;align-content:center;gap:1px;min-width:145px;height:50px;padding:7px 12px;display:grid}.customer-balance-badge span{color:#7d8983;font-size:8px}.customer-balance-badge b{font-size:11px}.customer-balance-badge.debtor{color:#984b38;background:#fbede8;border-color:#e4c3b9}.customer-balance-badge.creditor{color:#176149;background:#e7f3ed;border-color:#bad8cb}.customer-balance-badge.settled{color:#53675e}.invoice-share-trigger{color:#74561f;background:#fff8e6;border:1px solid #d7c898;border-radius:16px 5px;align-items:center;gap:8px;height:50px;padding:0 13px;font-family:Vazirmatn;font-weight:900;display:flex}.invoice-share-trigger span{color:#173f35;background:#e6be67;border-radius:9px 3px;place-items:center;width:27px;height:27px;font-size:16px;display:grid}.invoice-share-trigger b{font-size:10px}.invoice-share-overlay{z-index:1200;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#08271fbb;place-items:center;padding:25px;display:grid;position:fixed;inset:0}.invoice-share-dialog{background:#fffdf8 radial-gradient(#173f3509 1px,#0000 1px) 0 0/18px 18px;border:1px solid #fff5;border-radius:32px 9px;width:min(680px,100%);padding:25px;box-shadow:0 35px 100px #001b1255}.invoice-share-dialog>header{border-bottom:1px solid #e0ded6;justify-content:space-between;gap:20px;padding-bottom:18px;display:flex}.invoice-share-dialog header small{color:#b15e45;font-size:9px;font-weight:900}.invoice-share-dialog h3{color:#173f35;margin:3px 0;font-size:23px}.invoice-share-dialog header p{color:#85918b;margin:4px 0 0;font-size:9px}.invoice-share-dialog header button{color:#7d8882;background:#fff;border:1px solid #ddd9ce;border-radius:13px 4px;width:38px;height:38px;font-size:20px}.share-loading{color:#687870;align-content:center;place-items:center;gap:13px;min-height:210px;font-size:11px;display:grid}.share-loading i,.shared-spinner{border:3px solid #d9e2dd;border-top-color:#b68d3e;border-radius:50%;width:38px;height:38px;animation:.8s linear infinite share-spin}.secure-link{background:#f7f6f0;border:1px solid #d7ded9;border-radius:19px 6px;margin-top:18px;padding:17px}.secure-link>span{color:#52665d;margin-bottom:7px;font-size:9px;font-weight:900;display:block}.secure-link>div{direction:ltr;height:46px;display:flex}.secure-link input{color:#596a62;background:#fff;border:1px solid #ccd7d1;border-radius:10px 0 0 10px;flex:1;min-width:0;padding:0 12px;font:600 9px sans-serif}.secure-link button{color:#fff;background:#174b3e;border:0;border-radius:0 10px 10px 0;width:72px;font:900 10px Vazirmatn}.secure-link small{color:#8b9690;margin-top:8px;font-size:8px;display:block}.share-channels{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:13px;display:grid}.share-channels>a,.share-channels>button{color:#173f35;text-align:right;background:#fff;border:1px solid #d9dfda;border-radius:17px 5px;align-items:center;gap:10px;min-height:78px;padding:12px;font-family:Vazirmatn;text-decoration:none;display:flex}.share-channels i{color:#176b4c;background:#e5f1eb;border-radius:13px 4px;place-items:center;width:37px;height:37px;font-style:normal;font-weight:900;display:grid}.share-channels .sms i{color:#426778;background:#e8eef3}.share-channels .copy-channel i{color:#806126;background:#f4ead3}.share-channels span{display:grid}.share-channels b{font-size:11px}.share-channels small{color:#89958f;margin-top:3px;font-size:7px}.share-message{color:#21624d;background:#e7f2ec;border-radius:13px 4px;margin-top:12px;padding:11px 14px;font-size:9px}.shared-invoice-state{color:#173f35;text-align:center;background:#f2f0e8;align-content:center;place-items:center;gap:12px;min-height:100vh;padding:30px;font-family:Vazirmatn;display:grid}.shared-mark{background:#ddb45d;border-radius:23px 7px;place-items:center;width:70px;height:70px;font-size:36px;font-weight:900;display:grid}.shared-invoice-state h1{margin:5px 0 0}.shared-invoice-state p{color:#7c8983}.shared-invoice-state small{color:#aa7a38}.shared-invoice-page{color:#172b24;background:#eaeae5;min-height:100vh;padding:28px;font-family:Vazirmatn}.shared-toolbar{color:#fff;background:#173f35;border-radius:18px 6px;justify-content:space-between;align-items:center;gap:15px;width:min(1100px,100%);margin:0 auto 14px;padding:12px 16px;display:flex}.shared-toolbar>div{display:grid}.shared-toolbar span{color:#d9bb75;font-size:8px}.shared-toolbar b{font-size:12px}.shared-toolbar nav{gap:7px;display:flex}.shared-toolbar a,.shared-toolbar button{color:#fff;background:#ffffff10;border:1px solid #ffffff25;border-radius:10px 3px;padding:9px 12px;font:800 9px Vazirmatn;text-decoration:none}.shared-toolbar .print{color:#173f35;background:#ddb45d}.shared-paper{background:#fffdf8;border-radius:24px 7px;width:min(1100px,100%);min-height:730px;margin:auto;padding:38px 44px 50px;position:relative;overflow:hidden;box-shadow:0 25px 75px #173f3520}.shared-paper>header{border-bottom:2px solid #d8c189;justify-content:space-between;align-items:center;padding-bottom:22px;display:flex}.shared-brand{align-items:center;gap:13px;display:flex}.shared-brand>span{color:#e2bc64;background:#174b3e;border-radius:19px 6px;place-items:center;width:58px;height:58px;font-size:29px;font-weight:900;display:grid}.shared-brand small{color:#b55f44;font-size:8px;font-weight:900}.shared-brand h1{margin:2px 0;font-size:24px}.shared-brand p{color:#87938d;margin:0;font-size:9px}.shared-number{text-align:center;border:1px solid #d9d5ca;border-radius:17px 5px;min-width:155px;padding:11px;display:grid}.shared-number span,.shared-number small{color:#87928d;font-size:8px}.shared-number b{color:#17483b;font-size:19px}.shared-customer{border:1px solid #dde1dc;border-radius:17px 5px;grid-template-columns:1fr 210px;gap:12px;margin:18px 0 24px;padding:14px;display:grid}.shared-customer span{gap:4px;display:grid}.shared-customer small{color:#849089;font-size:8px}.shared-customer b{font-size:11px}.shared-paper h2{margin:0 0 10px;font-size:17px}.shared-table-wrap{overflow:auto}.shared-paper table{border-collapse:collapse;width:100%}.shared-paper th{color:#fff7e8;text-align:center;background:#174b3e;padding:11px;font-size:9px}.shared-paper td{text-align:center;border:1px solid #dde2dd;padding:10px;font-size:9px}.shared-paper td:nth-child(2){text-align:right;font-weight:800}.shared-paper>footer{grid-template-columns:1fr 390px;align-items:end;gap:30px;margin-top:18px;display:grid}.shared-security{color:#62736b;align-items:center;gap:9px;display:flex}.shared-security>span{color:#17654b;background:#e3f0e9;border-radius:12px 4px;place-items:center;width:35px;height:35px;display:grid}.shared-security>div{display:grid}.shared-security b{font-size:9px}.shared-security small{font-size:7px}.shared-totals p{border-bottom:1px solid #e1e4df;justify-content:space-between;margin:0;padding:8px 10px;font-size:9px;display:flex}.shared-totals .payable{color:#174d3e;background:#e4f0e9;border:0;border-radius:14px 4px;margin-top:5px;padding:13px;font-size:13px}.shared-totals>div{color:#6f7e77;justify-content:space-between;padding:10px;font-size:8px;display:flex}.shared-signature{writing-mode:vertical-rl;color:#77877f;font-size:7px;position:absolute;top:275px;left:9px}.shared-signature b{color:#b25f45;direction:ltr}@keyframes share-spin{to{transform:rotate(360deg)}}@media (max-width:760px){.customer-balance-badge,.invoice-share-trigger b{display:none}.invoice-share-dialog{padding:19px 14px}.share-channels{grid-template-columns:1fr}.shared-invoice-page{padding:10px}.shared-toolbar{flex-direction:column;align-items:stretch}.shared-toolbar nav{grid-template-columns:1fr 1fr;display:grid}.shared-paper{padding:24px 16px}.shared-paper>header,.shared-paper>footer{flex-direction:column;grid-template-columns:1fr;align-items:stretch;gap:15px}.shared-customer{grid-template-columns:1fr}.shared-table-wrap table{min-width:760px}.shared-signature{display:none}}@media print{@page{size:A4 portrait;margin:10mm}.shared-invoice-page{background:#fff;padding:0}.shared-toolbar{display:none}.shared-paper{width:100%;min-height:0;box-shadow:none;border-radius:0;padding:0 8mm}.shared-table-wrap{overflow:visible}.shared-paper table{min-width:0}.shared-signature{left:0}.shared-security{display:none}}.barcode-trigger{color:#174d3e;background:#e9f3ee;border:1px solid #c9d9d1;border-radius:16px 5px;align-items:center;gap:7px;height:50px;padding:0 10px;font-family:Vazirmatn;display:flex}.barcode-trigger>span{background:#174b3e;border-radius:9px 3px;justify-content:space-between;align-items:stretch;width:28px;height:28px;padding:6px;display:flex}.barcode-trigger>span i{background:#e2bd67;width:2px}.barcode-trigger b{font-size:10px}.barcode-trigger small{color:#85918b;background:#fff;border-radius:5px;padding:2px 5px;font-size:6px}.barcode-overlay{z-index:1250;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#08261fbd;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.barcode-dialog{background:#fffdf8 radial-gradient(#173f3509 1px,#0000 1px) 0 0/18px 18px;border:1px solid #fff5;border-radius:34px 10px;width:min(760px,100%);max-height:calc(100vh - 40px);padding:24px;overflow:auto;box-shadow:0 35px 100px #001b1266}.barcode-dialog>header{border-bottom:1px solid #dedcd4;justify-content:space-between;align-items:center;padding-bottom:17px;display:flex}.barcode-title{align-items:center;gap:13px;display:flex}.barcode-title>span{background:#174b3e;border-radius:18px 5px;justify-content:space-between;width:52px;height:52px;padding:13px;display:flex}.barcode-title>span i{background:#e3bd67;width:2px}.barcode-title small{color:#b45f44;font-size:8px;font-weight:900}.barcode-title h3{color:#173f35;margin:2px 0;font-size:23px}.barcode-title p{color:#84908a;margin:0;font-size:8px}.barcode-dialog>header>button{color:#7d8882;background:#fff;border:1px solid #ddd9ce;border-radius:13px 4px;width:39px;height:39px;font-size:21px}.camera-stage{color:#fff;background:radial-gradient(circle,#214f42,#0b2e25);border:1px solid #d8dfda;border-radius:23px 7px;place-items:center;min-height:245px;margin-top:16px;display:grid;position:relative;overflow:hidden}.camera-placeholder{justify-items:center;gap:5px;display:grid}.camera-placeholder>span{color:#e1bd68;font-size:43px}.camera-placeholder b{font-size:15px}.camera-placeholder small{color:#b8cdc5;font-size:8px}.camera-placeholder button{color:#173f35;background:#e0b85f;border:0;border-radius:13px 4px;margin-top:12px;padding:10px 18px;font:900 10px Vazirmatn}.camera-stage video{object-fit:cover;width:100%;height:330px}.camera-stage>p{background:#08251dc9;border-radius:10px;margin:0;padding:6px 10px;font-size:8px;position:absolute;bottom:11px}.scan-frame{width:min(72%,430px);height:125px;position:absolute}.scan-frame i{border-color:#e3bd67;width:35px;height:35px;position:absolute}.scan-frame i:first-child{border-top:3px solid;border-right:3px solid;top:0;right:0}.scan-frame i:nth-child(2){border-top:3px solid;border-left:3px solid;top:0;left:0}.scan-frame i:nth-child(3){border-bottom:3px solid;border-right:3px solid;bottom:0;right:0}.scan-frame i:nth-child(4){border-bottom:3px solid;border-left:3px solid;bottom:0;left:0}.scan-frame span{background:#e15f4d;height:2px;animation:1.8s ease-in-out infinite scanner-line;position:absolute;top:50%;left:5px;right:5px;box-shadow:0 0 12px #e15f4d}.barcode-divider{color:#89958f;align-items:center;gap:10px;margin:15px 0;font-size:8px;display:flex}.barcode-divider i{background:#dfe2de;flex:1;height:1px}.barcode-entry label{gap:6px;display:grid}.barcode-entry label>span{color:#53675e;font-size:9px;font-weight:900}.barcode-entry label>div{direction:ltr;height:54px;display:flex}.barcode-entry input{color:#173f35;letter-spacing:1px;background:#fff;border:1px solid #ccd8d2;border-radius:12px 0 0 12px;outline:0;flex:1;min-width:0;padding:0 14px;font:900 16px Vazirmatn}.barcode-entry input:focus{border-color:#6c9c89;box-shadow:0 0 0 4px #2e735f12}.barcode-entry button{color:#fff;background:#174b3e;border:0;border-radius:0 12px 12px 0;width:135px;font:900 10px Vazirmatn}.barcode-entry button:disabled{opacity:.5}.barcode-entry label>small{color:#9ba49f;font-size:7px}.barcode-message{border-radius:14px 5px;align-items:center;gap:8px;margin-top:12px;padding:11px 13px;font-size:9px;display:flex}.barcode-message span{border-radius:8px 3px;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.barcode-message.success{color:#1d674d;background:#e3f1e9}.barcode-message.success span{background:#bfdfd0}.barcode-message.error{color:#974b38;background:#f8e8e3}.barcode-message.error span{background:#efc9bd}.barcode-dialog>footer{color:#87938d;border-top:1px solid #e1e3df;justify-content:space-between;gap:15px;margin-top:14px;padding-top:12px;font-size:7px;display:flex}.barcode-dialog>footer b{color:#a2742f}@keyframes scanner-line{0%,to{transform:translateY(-45px)}50%{transform:translateY(45px)}}@media (max-width:760px){.barcode-trigger b,.barcode-trigger small{display:none}.barcode-overlay{padding:8px}.barcode-dialog{max-height:calc(100svh - 16px);padding:18px 12px}.barcode-title h3{font-size:19px}.barcode-title p{max-width:210px}.camera-stage video{height:320px}.barcode-entry label>div{height:auto;display:grid}.barcode-entry input{border-radius:12px;height:54px}.barcode-entry button{border-radius:12px;width:100%;height:48px;margin-top:7px}.barcode-dialog>footer{display:grid}}@media print{.barcode-trigger,.barcode-overlay{display:none!important}}:root{--mobile-safe-top:env(safe-area-inset-top,0px);--mobile-safe-right:env(safe-area-inset-right,0px);--mobile-safe-bottom:env(safe-area-inset-bottom,0px);--mobile-safe-left:env(safe-area-inset-left,0px);--touch-size:44px}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;min-width:320px;max-width:100%;overflow-x:hidden}body,#root{min-width:320px;max-width:100%;min-height:100%;overflow-x:clip}body.mobile-nav-open,body.modal-open{overscroll-behavior:none;overflow:hidden!important}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}img,svg,canvas{max-width:100%}.app-page,.app-page>main,.view,.invoice-sheet,.report-page,.cashier-dashboard{min-width:0;max-width:100%}@media (hover:none),(pointer:coarse){button,[role=button],select,input,textarea{touch-action:manipulation}}@media (max-width:1280px) and (min-width:721px){.items{table-layout:fixed;width:100%!important;min-width:0!important}.items th,.items td{padding-inline:6px!important}.items th:first-child,.items td:first-child{width:38px}.items th:nth-child(2),.items td:nth-child(2){width:34%}.items th:nth-child(3),.items td:nth-child(3),.items th:nth-child(4),.items td:nth-child(4){width:8%}.items th:nth-child(5),.items td:nth-child(5){width:14%}.items th:nth-child(6),.items td:nth-child(6){width:11%}.items th:nth-child(7),.items td:nth-child(7){width:9%}.items th:nth-child(8),.items td:nth-child(8){width:12%}.items th:nth-child(9),.items td:nth-child(9){width:42px}.items input,.items select,.items button{width:100%;min-width:0!important}}@media (max-width:980px){.app-page{min-height:100dvh;width:100%!important;display:block!important}.app-page>main{width:100%!important;margin:0!important;padding:0!important}.sidebar{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;visibility:hidden;pointer-events:none;z-index:1600!important;width:min(86vw,328px)!important;height:100dvh!important;min-height:100dvh!important;padding-top:max(18px, var(--mobile-safe-top))!important;padding-right:max(18px, var(--mobile-safe-right))!important;padding-bottom:max(18px, var(--mobile-safe-bottom))!important;transition:transform .24s,visibility 0s linear .24s!important;position:fixed!important;inset:0 0 0 auto!important;overflow:hidden auto!important;transform:translate(110%)!important}.sidebar.open{visibility:visible;pointer-events:auto;transition:transform .24s,visibility!important;transform:translate(0,0)!important}.sidebar nav{gap:7px!important;display:grid!important}.sidebar .nav{width:100%;min-height:50px;margin:0!important}.mobile-menu-close{z-index:2;place-items:center;margin-inline-start:auto;top:0;width:var(--touch-size)!important;height:var(--touch-size)!important;display:grid!important;position:sticky!important}.menu-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility 0s linear .2s;z-index:1590!important;background:#081f1a8c!important;border:0!important;width:100vw!important;height:100dvh!important;padding:0!important;display:block!important;position:fixed!important;inset:0!important}.menu-backdrop.show{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .2s,visibility}.mobile-menu{z-index:1610;flex:none;place-items:center;position:relative;width:48px!important;min-width:48px!important;height:48px!important;display:grid!important}.topbar{width:100%;min-width:0;top:0;z-index:1000!important;padding-top:max(12px, var(--mobile-safe-top))!important;padding-inline:max(14px, var(--mobile-safe-right)) max(14px, var(--mobile-safe-left))!important;position:sticky!important}.top-title,.top-actions{min-width:0;max-width:100%}.top-title h2{overflow-wrap:anywhere;max-width:100%;font-size:clamp(1.35rem,4.4vw,1.85rem)!important;line-height:1.35!important}.view,.invoice-sheet,.report-page,.cashier-dashboard{width:100%!important;margin-inline:0!important}.payment-overlay,.customer-picker-overlay,.invoice-share-overlay,.barcode-overlay,.barcode-scanner-overlay{z-index:1900!important;padding:max(10px, var(--mobile-safe-top)) max(10px, var(--mobile-safe-right)) max(10px, var(--mobile-safe-bottom)) max(10px, var(--mobile-safe-left))!important}.payment-dialog,.customer-picker,.invoice-share-dialog,.barcode-dialog,.barcode-scanner-dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:min(100%,920px)!important;max-width:100%!important;max-height:calc(100dvh - 20px)!important;overflow:hidden auto!important}.customer-picker-list,.product-results{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y!important;overflow-y:auto!important}.customer-picker-list>button,.product-option{touch-action:pan-y!important}}@media (max-width:720px){.topbar{grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:9px 10px!important;display:grid!important}.topbar .mobile-menu{grid-area:1/1}.topbar .top-title{grid-area:1/2}.topbar .top-actions{overscroll-behavior-inline:contain;scrollbar-width:none;grid-area:2/1/auto/-1;width:100%;padding-bottom:3px;overflow-x:auto;flex-wrap:nowrap!important;gap:8px!important;display:flex!important}.topbar .top-actions::-webkit-scrollbar{display:none}.topbar .top-actions>*{flex:none!important}.top-title .crumb{font-size:.72rem!important}.view,.invoice-sheet,.report-page,.cashier-dashboard{padding-inline:12px!important}.items-wrap{max-width:100%!important;overflow:visible!important}.items{width:100%!important;min-width:0!important;display:block!important}.items thead{display:none!important}.items tbody{gap:12px;display:grid!important}.items tbody tr{background:#fffdf9;border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;position:relative;box-shadow:0 8px 24px #1843390f;border:1px solid #dbe3de!important;padding:48px 10px 12px!important;display:grid!important}.items tbody td{grid-template-rows:auto minmax(44px,auto);gap:5px;border:0!important;width:auto!important;min-width:0!important;padding:0!important;display:grid!important;overflow:visible!important}.items tbody td:before{color:#72827d;font-size:.72rem;font-weight:700;line-height:1.2}.items tbody td:first-child{color:#745516;background:#f6ead1;place-items:center;height:30px;position:absolute;top:10px;right:10px;border-radius:9px!important;width:30px!important;display:grid!important}.items tbody td:first-child:before,.items tbody td:nth-child(9):before{display:none}.items tbody td:nth-child(2){grid-column:1/-1}.items tbody td:nth-child(2):before{content:"نام کالا"}.items tbody td:nth-child(3):before{content:"واحد"}.items tbody td:nth-child(4):before{content:"تعداد"}.items tbody td:nth-child(5):before{content:"فی فروش"}.items tbody td:nth-child(6):before{content:"تخفیف"}.items tbody td:nth-child(7):before{content:"مالیات %"}.items tbody td:nth-child(8):before{content:"خالص"}.items tbody td:nth-child(8){background:#eef7f2;align-content:center;border-radius:12px!important;padding:8px 10px!important}.items tbody td:nth-child(9){height:34px;position:absolute;top:9px;left:9px;width:34px!important;display:block!important}.items input,.items select,.items button,.items .product-cell,.items .lookup-anchor{width:100%!important;min-width:0!important;max-width:100%!important}.items .product-list-trigger{width:88px!important;min-width:88px!important;max-width:88px!important}.items .quantity-stepper{grid-template-columns:46px minmax(0,1fr) 46px;gap:8px}.items .quantity-stepper button{touch-action:manipulation;min-height:52px;font-size:25px;width:46px!important;min-width:46px!important;max-width:46px!important}.items .quantity-stepper input{min-height:52px;font-size:22px!important}.floating-lookup{z-index:2100!important;border-radius:24px 24px 0 0!important;width:100%!important;max-width:100%!important;max-height:min(78dvh,680px)!important;position:fixed!important;inset:auto 0 0!important;overflow:hidden!important;transform:none!important;box-shadow:0 -20px 70px #07241d4d!important}.product-results{max-height:calc(78dvh - 112px)!important}.product-option{min-height:68px!important;padding:10px!important}.payment-overlay,.customer-picker-overlay,.invoice-share-overlay,.barcode-overlay,.barcode-scanner-overlay{padding:var(--mobile-safe-top) 0 0!important;align-items:flex-end!important}.payment-dialog,.customer-picker,.invoice-share-dialog,.barcode-dialog,.barcode-scanner-dialog{width:100%!important;max-height:calc(100dvh - var(--mobile-safe-top))!important;padding-bottom:max(16px, var(--mobile-safe-bottom))!important;border-radius:26px 26px 0 0!important;margin:0!important}.payment-methods{grid-template-columns:1fr!important;gap:12px!important;display:grid!important}.payment-methods>article{min-height:0!important;padding:16px!important}.payment-summary,.payment-invoice{grid-template-columns:1fr!important;display:grid!important}.payment-actions,.quick-customer-form footer{z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffdf9f5;position:sticky;bottom:0;padding-bottom:max(8px, var(--mobile-safe-bottom))!important}.customer-picker{min-height:min(88dvh,760px)}.customer-picker>header{padding:14px!important}.customer-picker-tools{grid-template-columns:1fr!important;gap:9px!important;display:grid!important}.customer-picker-tools>button{min-height:48px}.customer-picker-list{max-height:50dvh!important}.customer-picker-list>button{min-height:82px!important;padding:12px 10px!important}.customer-picker-person b{font-size:1.05rem!important}.customer-picker-person small{font-size:.82rem!important}.jalali-popover{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:2300!important;inset:auto 10px max(10px, var(--mobile-safe-bottom)) 10px!important;border-radius:22px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 20px)!important;padding:14px!important;position:fixed!important;overflow-y:auto!important;transform:none!important}.jalali-days button{aspect-ratio:1;min-width:0!important;min-height:40px!important}.daily-overview,.dashboard-range,.toolbar,.list-section-head{min-width:0!important;max-width:100%!important}.dashboard-range{grid-template-columns:1fr!important;width:100%!important;display:grid!important}.dashboard-range>i{display:none!important}.dashboard-range>label,.dashboard-range>button{width:100%!important;min-width:0!important}.dashboard-range .jalali-calendar-button{width:38px!important;min-width:38px!important}.table-card{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}}@media (max-width:430px){.view,.invoice-sheet,.report-page,.cashier-dashboard{padding-inline:8px!important}.topbar{padding-inline:10px!important}.top-title h2{font-size:1.3rem!important}.fiscal-year-selector{max-width:174px}.new-invoice-btn{padding-inline:12px!important}.items tbody tr{grid-template-columns:minmax(0,1fr)}.items tbody td:nth-child(2),.items tbody td{grid-column:1}.customer-picker-title h3{font-size:1.45rem!important}.customer-picker-title p{display:none}.customer-picker-list{max-height:53dvh!important}}@media (display-mode:standalone){body{padding-bottom:var(--mobile-safe-bottom)}.topbar{padding-top:max(14px, var(--mobile-safe-top))!important}}@media (prefers-reduced-motion:reduce){.sidebar,.menu-backdrop{transition:none!important}}:root{--invoice-forest:#0f4a3d;--invoice-forest-2:#176454;--invoice-gold:#dfb654;--invoice-gold-soft:#fbf2d8;--invoice-paper:#fffdf8;--invoice-line:#d9e2dd;--invoice-muted:#73847d;--invoice-danger:#b8533f;--invoice-focus:#1e7e6724}.editor-head{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffdf8e0;border:1px solid #d2dcd6e6;border-radius:20px;min-height:64px;margin-bottom:16px;padding:10px 12px;box-shadow:0 10px 32px #1340340f}.editor-leading{align-items:center;gap:12px;min-width:0;display:flex}.editor-head .back{color:#526a62!important;background:#fff!important;border:1px solid #dce4df!important;border-radius:13px!important;min-height:42px!important;padding:0 14px!important}.editor-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-actions>button{min-height:44px!important;box-shadow:none!important;border-radius:14px!important;padding:5px 12px!important;font-size:12px!important;transition:transform .18s,border-color .18s,background .18s!important}.editor-actions>button:hover{transform:translateY(-2px)}.editor-actions .action-icon{background:#f2f6f4!important;border-radius:11px!important;width:34px!important;height:34px!important}.editor-actions .payment-open .action-icon{color:var(--invoice-forest-2)!important;background:#dfeee9!important}.editor-actions .secondary .action-icon{background:var(--invoice-gold-soft)!important;color:#9a721a!important}.editor-actions .danger .action-icon{color:var(--invoice-danger)!important;background:#fae8e3!important}.print-layout-indicator{border-right:1px solid #e2e6e2;padding:4px 10px}.invoice-sheet{isolation:isolate;overflow:visible;background:radial-gradient(circle at 100% 0,#dfb65417,transparent 23%), radial-gradient(circle at 0 100%,#0f4a3d0e,transparent 26%), var(--invoice-paper)!important;border:1px solid #d7dfda!important;border-radius:28px!important;box-shadow:0 18px 55px #11382e14!important}.document-head{min-height:92px;position:relative;border-bottom:1px solid #e1e5df!important;padding:4px 4px 20px!important}.document-head:after{content:"";background:linear-gradient(90deg,var(--invoice-forest),var(--invoice-gold));border-radius:99px;width:92px;height:3px;position:absolute;bottom:-2px;right:0}.document-brand>span{background:var(--invoice-forest)!important;border-radius:18px!important;width:58px!important;height:58px!important;box-shadow:0 10px 24px #0f4a3d2e!important}.document-brand h4{letter-spacing:-.03em}.document-mark{box-shadow:inset 0 0 0 1px #ffffffbf;background:linear-gradient(145deg,#fffdf8,#faf4e5)!important;border-color:#ded8c8!important;border-radius:17px!important;min-width:168px!important}.invoice-meta{background:0 0!important;border:0!important;grid-template-columns:minmax(230px,.45fr) minmax(390px,1.55fr)!important;gap:14px!important;margin-top:18px!important;padding:0!important;display:grid!important}.invoice-meta label{border:1px solid var(--invoice-line);background:#ffffffd6;border-radius:18px;min-width:0;padding:13px 14px 14px;transition:border-color .18s,box-shadow .18s,transform .18s;position:relative;box-shadow:0 7px 20px #18403509;margin:0!important}.invoice-meta label:focus-within{z-index:3;box-shadow:0 0 0 4px var(--invoice-focus),0 10px 25px #18403512;border-color:#65a895;transform:translateY(-1px)}.invoice-meta .jalali-picker.open{z-index:31;position:relative}.invoice-meta label>span{align-items:center;gap:8px;font-weight:900;display:flex;color:#536b63!important;margin:0 0 9px!important;font-size:12px!important}.invoice-meta label>span:before{content:"◷";background:var(--invoice-gold-soft);color:#9b731d;border-radius:9px;place-items:center;width:27px;height:27px;font-size:14px;display:grid}.invoice-meta .customer-field>span:before{content:"⌕";color:var(--invoice-forest-2);background:#e5f1ed;font-size:17px}.invoice-meta input,.invoice-meta .jalali-date-picker input{color:#153f35!important;min-height:50px!important;box-shadow:none!important;background:#fff!important;border-color:#d9e1dd!important;border-radius:13px!important;padding-inline:14px!important;font-size:14px!important}.invoice-meta input:focus{box-shadow:none!important;border-color:#559b88!important}.customer-field input{font-weight:900!important}.items-head{min-height:58px;padding:0 3px;margin:28px 0 12px!important}.items-head>div{gap:3px;display:grid}.items-head h4{color:#173f35;align-items:center;gap:9px;display:flex;margin:0!important}.items-head h4:before{content:"≡";background:var(--invoice-forest);width:33px;height:33px;color:var(--invoice-gold);border-radius:11px;place-items:center;font-size:19px;display:grid}.items-head p{color:var(--invoice-muted)!important;margin:0!important}.items-head .secondary{min-height:42px!important;color:var(--invoice-forest)!important;background:#f6faf8!important;border-color:#cddbd5!important;border-radius:13px!important;font-weight:900!important}.items-wrap{box-shadow:0 10px 30px #1840350b;background:#fff!important;border:1px solid #d7e0db!important;border-radius:18px!important;overflow:visible!important}.items{border-collapse:separate!important;border-spacing:0!important}.items thead th{vertical-align:middle;height:54px;color:#fff8e7!important;text-align:center!important;background:linear-gradient(#155345,#103f35)!important;border:0!important;padding:10px 8px!important;font-size:11px!important}.items thead th:first-child{border-radius:0 16px 0 0}.items thead th:last-child{border-radius:16px 0 0}.items tbody tr{transition:background .15s,box-shadow .15s}.items tbody tr:hover td{background:#fbfaf4!important}.items tbody tr:not(:last-child) td{border-bottom:1px solid #e5e9e6!important}.items td{vertical-align:middle;background:#fff!important;padding:9px 6px!important}.items td:first-child{color:#927126;text-align:center;font-weight:900}.items input{transition:border-color .16s,box-shadow .16s,background .16s;color:#183f36!important;background:#fff!important;border:1px solid #d9e0dc!important;border-radius:11px!important;min-height:45px!important;padding:8px 10px!important}.items input:hover{border-color:#bfcfc8!important}.items input:focus{box-shadow:0 0 0 4px var(--invoice-focus)!important;background:#fff!important;border-color:#4e9a86!important}.items input[readonly]{color:#66766f!important;cursor:not-allowed!important;background:#eef2ef!important;border-style:dashed!important;box-shadow:inset 0 0 0 1px #d9e1dc!important}.items input[readonly]:hover{border-color:#c7d1cb!important}.items input[readonly]:focus{border-color:#c7d1cb!important;box-shadow:inset 0 0 0 1px #d9e1dc!important}.items th.automatic-field-heading{background:#12483d!important}.items th.automatic-field-heading small{color:#e4cf91;margin-top:2px;font-size:7px;font-weight:700;line-height:1.2;display:block}.items .product-cell input{padding-left:96px!important;font-weight:900!important}.product-list-trigger{height:auto!important;color:var(--invoice-forest)!important;background:#e7f1ed!important;border-radius:9px!important;top:6px!important;bottom:6px!important;left:6px!important}.discount-mobile-entry>button{background:var(--invoice-gold-soft)!important;color:#8a6417!important;border-radius:10px!important}.invoice-editor-view .items .discount-mobile-entry{grid-template-columns:minmax(0,1fr) 28px;gap:3px;min-width:0}.invoice-editor-view .items .discount-mobile-entry>.discount-input{font-variant-numeric:tabular-nums;width:100%!important;min-width:0!important;padding-inline:4px!important}.invoice-editor-view .items .discount-mobile-entry>button{font-size:14px;width:28px!important;min-width:0!important;padding:0!important}@media screen and (min-width:901px){.invoice-editor-view .items th.discount-heading{width:160px!important}.invoice-editor-view .items td:has(>.discount-mobile-entry){width:160px!important}}@media (pointer:coarse){.invoice-editor-view .items .discount-mobile-entry{grid-template-columns:minmax(0,1fr) 40px}.invoice-editor-view .items .discount-mobile-entry>button{min-height:44px;width:40px!important}}.items .net{font-variant-numeric:tabular-nums;color:var(--invoice-danger)!important;text-align:center!important;font-weight:900!important}.items .remove{width:35px;height:35px;font-size:17px;color:var(--invoice-danger)!important;background:#fff1ed!important;border:1px solid #f0d0c7!important;border-radius:11px!important;padding:0!important}.items .remove:hover{transform:scale(1.04);background:#f8ded7!important}.invoice-bottom.invoice-summary-only{border:0!important;margin-top:22px!important;padding-top:0!important}.invoice-summary-only .summary{background:#ffffffd1;border:1px solid #dbe3de;border-radius:20px;padding:16px;box-shadow:0 8px 28px #1840350b;width:min(100%,620px)!important}.invoice-summary-only .summary>div{align-items:center;min-height:42px;padding:9px 11px!important}.invoice-summary-only .summary .grand{min-height:62px;background:linear-gradient(120deg,#e4f1ec,#f8f0d9)!important;border-radius:15px!important;margin-top:8px!important;padding:13px 15px!important}.invoice-summary-only .summary .grand b{color:var(--invoice-forest)!important;font-size:21px!important}.amount-in-words{background:#fffaf0!important}.payment-action.invoice-register-action{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f8fbf8f5!important;border:1px solid #b0cbc1f2!important;border-radius:19px!important;margin-top:18px!important;padding:14px 16px!important;box-shadow:0 14px 38px #113e3321!important}.invoice-register-action>div:first-child{padding-inline:6px}.invoice-register-action small{color:#71857d!important;font-size:10px!important}.invoice-register-action b{color:var(--invoice-forest)!important;font-size:22px!important}.invoice-register-action .payment-submit{background:linear-gradient(135deg,var(--invoice-forest),var(--invoice-forest-2))!important;border-radius:15px!important;min-width:230px!important;min-height:54px!important;box-shadow:0 10px 24px #0f4a3d33!important}.invoice-register-action .payment-submit:hover{box-shadow:0 14px 28px #0f4a3d40!important}@media (max-width:900px){.editor-head{flex-direction:column;align-items:stretch}.editor-leading{justify-content:space-between}.editor-actions{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid!important}.editor-actions>button{justify-content:flex-start!important}.print-layout-indicator{display:none}.invoice-meta{grid-template-columns:1fr!important}}@media (max-width:650px){.view{padding-inline:10px!important}.editor-head{border-radius:16px;margin:0 2px 10px;padding:8px}.editor-head .back{justify-content:center;width:100%}.editor-actions{grid-template-columns:1fr 1fr!important}.editor-actions>button{min-width:0!important;padding:5px 8px!important;font-size:10px!important}.editor-actions .action-icon{width:31px!important;height:31px!important}.editor-actions .danger .action-icon{border-radius:8px!important;width:25px!important;height:25px!important}.editor-actions .danger .action-icon svg{width:14px!important;height:14px!important}.invoice-sheet{border-radius:20px!important;padding:12px 10px!important}.document-head{min-height:0;padding-bottom:14px!important}.document-brand{gap:10px!important}.document-brand>span{border-radius:15px!important;width:48px!important;height:48px!important}.document-brand h4{line-height:1.6;font-size:17px!important}.document-mark{border-radius:14px!important;min-width:0!important;padding:10px 12px!important}.invoice-meta{gap:10px!important;margin-top:13px!important}.invoice-meta label{border-radius:15px;padding:10px}.invoice-meta label>span{margin-bottom:7px!important}.invoice-meta input,.invoice-meta .jalali-date-picker input{min-height:50px!important}.items-head{min-height:52px;margin-top:20px!important}.items-head h4:before{width:30px;height:30px}.items-head .secondary{min-height:38px!important;padding-inline:10px!important}.items-wrap{box-shadow:none;background:0 0!important;border:0!important;border-radius:0!important;margin-inline:0!important}.items tbody tr{background:#fff!important;border:1px solid #d7e0db!important;border-radius:18px!important;margin-bottom:12px!important;box-shadow:0 8px 24px #1840350e!important}.items td{background:0 0!important}.items input{border-radius:12px!important;min-height:50px!important}.items .product-cell input{padding-left:102px!important}.product-list-trigger{width:88px!important;min-width:88px!important}.invoice-summary-only .summary{border-radius:17px;padding:12px}.payment-action.invoice-register-action{bottom:max(8px,env(safe-area-inset-bottom))!important;z-index:18!important;border-radius:18px!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px!important;display:grid!important;position:sticky!important}.invoice-register-action>div:first-child{justify-content:space-between;align-items:center;padding:0 5px;display:flex!important}.invoice-register-action .payment-submit{width:100%!important;min-width:0!important;min-height:56px!important}}.items .product-lookup{position:relative}.product-list-trigger{touch-action:manipulation;z-index:3!important;width:88px!important;min-width:88px!important;height:auto!important;color:var(--invoice-forest)!important;cursor:pointer!important;background:#e7f1ed!important;border:0!important;border-radius:9px!important;justify-content:center!important;align-items:center!important;gap:6px!important;padding:0 10px!important;display:flex!important;position:absolute!important;top:6px!important;bottom:6px!important;left:6px!important}.product-list-trigger span{font-size:18px;line-height:1}.product-list-trigger small{font-size:12px;font-weight:900;display:inline!important}.product-list-trigger:hover{background:#d8e9e2!important}.product-list-trigger:focus-visible{box-shadow:0 0 0 4px var(--invoice-focus);outline:0}.product-search-clear{touch-action:manipulation;z-index:4!important;color:#a64f3b!important;cursor:pointer!important;background:#fff0ec!important;border:1px solid #edcfc6!important;border-radius:9px 3px!important;width:52px!important;padding:0!important;font:900 10px Vazirmatn,sans-serif!important;position:absolute!important;top:6px!important;bottom:6px!important;left:100px!important}.product-search-clear:hover{background:#ffe6df!important}.product-search-clear:focus-visible{outline:0;box-shadow:0 0 0 4px #b45d4317}@media print{.editor-head,.product-list-trigger{display:none!important}.invoice-sheet{box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important}.invoice-meta label,.invoice-summary-only .summary{box-shadow:none!important;border:0!important}.invoice-meta label>span:before,.items-head h4:before{display:none!important}}.new-invoice-btn .new-invoice-label{white-space:nowrap;font-weight:900}@media (max-width:430px){.top-actions>.new-invoice-btn.editing-invoice{z-index:70!important;right:16px!important;bottom:calc(96px + env(safe-area-inset-bottom))!important;color:#fff!important;background:#174c3f!important;border:2px solid #fff7e7!important;border-radius:18px 6px!important;justify-content:center!important;align-items:center!important;gap:9px!important;width:auto!important;min-width:178px!important;height:56px!important;padding:0 17px!important;font-size:13px!important;display:flex!important;position:fixed!important;box-shadow:0 14px 32px #0d30265c!important}.new-invoice-btn.editing-invoice>span:first-child{color:#174c3f;background:#e5b84e;border-radius:10px 4px;place-items:center;width:30px;height:30px;line-height:1;display:grid;font-size:22px!important}.new-invoice-btn.editing-invoice .new-invoice-label{font-size:13px!important;display:inline!important}}.items .product-cell input{padding-left:150px!important}.product-voice-search{z-index:4!important;border-radius:9px 3px!important;width:44px!important;height:auto!important;position:absolute!important;top:6px!important;bottom:6px!important;left:100px!important}.items .product-lookup.has-clear input{padding-left:208px!important}.product-search-clear{left:150px!important}.product-lookup>.voice-search-feedback{top:calc(100% + 6px);left:96px}@media (max-width:430px){.items .product-lookup>.product-list-trigger{width:46px!important;min-width:46px!important;max-width:46px!important;height:auto!important;padding:0 6px!important;left:6px!important;transform:none!important}.product-list-trigger small{display:none!important}.items .product-lookup>.product-voice-search{width:44px!important;min-width:44px!important;max-width:44px!important;height:auto!important;left:58px!important}.items .product-lookup>.product-search-clear{width:46px!important;min-width:46px!important;max-width:46px!important;height:auto!important;left:108px!important}.items .product-cell input{padding-left:108px!important}.items .product-lookup.has-clear input{padding-left:160px!important}.product-lookup>.voice-search-feedback{max-width:min(280px,78vw);left:58px}}@media (max-width:650px){.invoice-editor-view{--invoice-keyboard-inset:0px;scroll-padding-top:88px;scroll-padding-bottom:calc(116px + env(safe-area-inset-bottom) + var(--invoice-keyboard-inset));padding-bottom:calc(120px + env(safe-area-inset-bottom) + var(--invoice-keyboard-inset))!important}.invoice-editor-view .payment-action.invoice-register-action{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:1250!important;left:10px!important;right:10px!important;bottom:calc(max(8px,env(safe-area-inset-bottom)) + var(--invoice-keyboard-inset))!important;box-sizing:border-box!important;background:#fafdfbf7!important;width:auto!important;margin:0!important;position:fixed!important;box-shadow:0 16px 44px #092f2638!important}.invoice-editor-view.mobile-keyboard-open .payment-action.invoice-register-action{grid-template-columns:minmax(0,1fr)!important;padding:8px 10px!important}.invoice-editor-view.mobile-keyboard-open .invoice-register-action>div:first-child{min-height:30px}.invoice-editor-view.mobile-keyboard-open .invoice-register-action .payment-submit{min-height:50px!important}.invoice-editor-view input,.invoice-editor-view select,.invoice-editor-view textarea{scroll-margin-top:96px;scroll-margin-bottom:150px}.invoice-editor-view .items .product-lookup{min-width:0}.invoice-editor-view .items .product-cell input{box-sizing:border-box!important;width:100%!important;padding-left:108px!important;padding-right:12px!important}.invoice-editor-view .items .product-lookup.has-clear input{padding-left:160px!important}.invoice-editor-view .product-list-trigger,.invoice-editor-view .product-voice-search,.invoice-editor-view .product-search-clear{min-height:38px!important;max-height:none!important;top:6px!important;bottom:6px!important}}@media (max-width:380px){.invoice-editor-view .payment-action.invoice-register-action{left:6px!important;right:6px!important}.invoice-editor-view .invoice-register-action>div:first-child small{font-size:9px!important}.invoice-editor-view .invoice-register-action>div:first-child b{font-size:17px!important}}@media (max-width:430px){.top-actions>.new-invoice-btn.editing-invoice{z-index:auto!important;color:#fff!important;width:72px!important;min-width:72px!important;height:58px!important;min-height:58px!important;box-shadow:none!important;background:#145b4c!important;border:1px solid #0f5547!important;border-radius:18px!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;padding:4px 7px!important;position:relative!important;inset:auto!important}.top-actions>.new-invoice-btn.editing-invoice>span:first-child{color:#123f35!important;background:#efbc46!important;border-radius:10px!important;width:32px!important;min-width:32px!important;height:32px!important;font-size:23px!important}.top-actions>.new-invoice-btn.editing-invoice .new-invoice-label{color:#fff!important;margin:0!important;font-size:10px!important;line-height:1.2!important;display:block!important}}.subscription-page,.subscription-result{color:#173f35;background:#f7f3e9 radial-gradient(circle at 12% 8%,#e4be5824 0 8rem,#0000 8.2rem);min-height:100vh;font-family:Vazirmatn,Tahoma,sans-serif}.subscription-page>header{border-bottom:1px solid #d9ddd5;justify-content:space-between;align-items:center;padding:22px clamp(20px,6vw,90px);display:flex}.subscription-page a,.subscription-result a{color:#174c3f;font-weight:900;text-decoration:none}.sub-brand{align-items:center;gap:10px;font-size:22px;display:flex}.sub-brand img{object-fit:contain;width:48px;height:48px}.subscription-hero{text-align:center;max-width:850px;margin:55px auto 30px;padding:0 20px}.sub-kicker{color:#ae5a3f;font-size:12px;font-weight:900;display:block}.subscription-hero h1{margin:10px 0;font:900 clamp(32px,5vw,62px)/1.35 Noto Serif Arabic,Vazirmatn}.subscription-hero p{color:#6e7b74}.billing-switch{background:#fff;border:1px solid #d8ddd7;border-radius:17px 5px;gap:5px;margin-top:20px;padding:5px;display:inline-flex}.billing-switch button{color:#5d6d65;background:0 0;border:0;border-radius:13px 4px;padding:12px 22px;font:900 12px Vazirmatn}.billing-switch button.active{color:#fff;background:#174c3f}.billing-switch small{color:#e8c461}.plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1180px;margin:auto;padding:18px;display:grid}.plan-grid article{cursor:pointer;background:#fffdf8;border:1px solid #d8ddd6;border-radius:30px 9px;padding:28px;transition:all .2s;position:relative}.plan-grid article:hover,.plan-grid article.selected{transform:translateY(-5px);box-shadow:0 24px 60px #173f3517}.plan-grid article.selected{border:2px solid #20745e}.plan-grid article.popular{color:#fff;background:#174c3f}.popular-label{color:#173f35;background:#e7bd54;border-radius:12px 4px;padding:7px 14px;font-size:10px;font-weight:900;position:absolute;top:-13px;right:25px}.plan-grid h2{min-height:58px;font-size:20px}.plan-price{align-items:end;gap:8px;margin:24px 0;display:flex}.plan-price b{font-size:35px}.plan-price span{opacity:.7;font-size:10px}.plan-grid ul{padding:0;font-size:12px;line-height:2.5;list-style:none}.plan-grid li:before{content:"✓";color:#d3a737;margin-left:8px;font-weight:900}.plan-grid article>button{color:#174c3f;background:#edf4f0;border:1px solid #2a6555;border-radius:14px 4px;width:100%;height:48px;font:900 12px Vazirmatn}.popular>button{background:#e7bd54;border:0}.subscription-checkout{background:#fff;border:1px solid #d7ddd6;border-radius:32px 10px;grid-template-columns:1.3fr 1fr 1fr;gap:16px;max-width:960px;margin:50px auto;padding:30px;display:grid}.subscription-checkout>div{grid-row:span 2}.subscription-checkout label,.provision-form label{gap:7px;font-size:11px;font-weight:900;display:grid}.subscription-checkout input,.provision-form input{border:1px solid #ccd8d2;border-radius:13px 4px;height:48px;padding:0 13px;font:700 13px Vazirmatn}.subscription-checkout>button,.provision-form>button{color:#fff;background:#174c3f;border:0;border-radius:15px 5px;height:52px;font:900 13px Vazirmatn}.sub-error{color:#a34937;background:#fff0eb;border-radius:12px;grid-column:1/-1;padding:12px}.subscription-result{place-items:center;padding:20px;display:grid}.subscription-result>section{background:#fff;border:1px solid #d8ddd6;border-radius:34px 10px;width:min(680px,100%);padding:34px}.subscription-status{background:#edf4f0;border-radius:18px 6px;gap:8px;margin:25px 0;padding:22px;display:grid}.subscription-status strong{font-size:28px}.subscription-secret{color:#fff;background:#174c3f;border-radius:18px 6px;gap:12px;margin-top:20px;padding:20px;display:grid}.subscription-secret b{text-align:center;direction:ltr;font-size:20px}.subscription-secret button,.delivery-link button{background:#e7bd54;border:0;border-radius:11px;height:42px;font:900 11px Vazirmatn}.subscription-admin{background:#fff;border:1px solid #d9ded8;border-radius:26px 8px;margin:28px clamp(18px,4vw,60px);padding:24px}.subscription-order-list{gap:10px;margin-top:18px;display:grid}.subscription-order-list article{border:1px solid #e0e4df;border-radius:16px 5px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:15px;display:grid}.subscription-order-list h3,.subscription-order-list p{margin:2px 0}.subscription-order-list button{color:#174c3f;background:#edf4f0;border:0;border-radius:10px;padding:10px;font:900 10px Vazirmatn}.order-status{color:#89631f;background:#f4ecd7;border-radius:9px;padding:7px 10px;font-size:9px;font-weight:900}.order-status.active{color:#176047;background:#dfefe7}.order-status.failed,.order-status.suspended{color:#a24736;background:#fae7e1}.delivery-link{background:#e4f0ea;border-radius:14px;grid-template-columns:1fr auto;gap:8px;margin:15px 0;padding:14px;display:grid}.delivery-link span{grid-column:1/-1}.delivery-link b{overflow-wrap:anywhere;direction:ltr}.provision-form{background:#f8f5ec;border-radius:18px;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px;padding:20px;display:grid}.provision-form header{grid-column:1/-1;justify-content:space-between;display:flex}.provision-form header h3{margin:3px 0}.provision-form header button{background:#fff;border:0;border-radius:10px;width:38px;height:38px}.provision-form>.tls-check,.provision-form>button{grid-column:1/-1}.provision-form .tls-check{display:flex}.provision-form .tls-check input{width:18px;height:18px}@media (max-width:800px){.plan-grid{grid-template-columns:1fr}.subscription-checkout{grid-template-columns:1fr;margin:30px 12px;padding:20px}.subscription-checkout>div{grid-row:auto}.subscription-order-list article{grid-template-columns:1fr auto}.provision-form{grid-template-columns:1fr}.subscription-hero{margin-top:35px}}.subscription-checkout{grid-template-columns:minmax(280px,1.3fr) repeat(2,minmax(220px,1fr));grid-template-areas:"intro lookup company""intro customer mobile""intro email submit";align-items:start}.subscription-checkout>div{grid-area:intro}.subscription-checkout>label:first-of-type{grid-area:lookup}.subscription-checkout>label:nth-of-type(2){grid-area:company}.subscription-checkout>label:nth-of-type(3){grid-area:customer}.subscription-checkout>label:nth-of-type(4){grid-area:mobile}.subscription-checkout>label:nth-of-type(5){grid-area:email}.subscription-checkout label{grid-template-rows:minmax(18px,auto) 52px auto;align-content:start;min-width:0}.subscription-checkout input,.subscription-company-lookup>span,.subscription-company-lookup>span button,.subscription-checkout>button{box-sizing:border-box;height:52px;min-height:52px}.subscription-checkout input,.subscription-checkout>button{width:100%}.subscription-checkout>button{grid-area:submit;align-self:end}@media (max-width:800px){.subscription-checkout{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro""lookup""company""customer""mobile""email""submit";align-items:stretch}.subscription-checkout>button{align-self:stretch}}.top-actions{direction:rtl;border-radius:22px;align-items:center;gap:6px;padding:4px}.top-actions>*{flex:none;order:50;margin:0!important}.top-actions>.new-invoice-btn{order:60}.topbar .top-actions>.new-invoice-btn{direction:rtl;flex-flow:row!important;flex:none!important;justify-content:center!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:82px!important;max-width:none!important;padding:5px 9px!important;display:inline-flex!important}.topbar .top-actions>.new-invoice-btn>span:first-child{flex-shrink:0;margin:0!important}.topbar .top-actions>.new-invoice-btn>.new-invoice-label{color:inherit;white-space:nowrap;margin:0!important;font-size:12px!important;line-height:1.2!important;display:inline!important}@media (min-width:721px) and (max-width:980px){.app-page .topbar{flex-wrap:wrap!important;height:auto!important;display:flex!important}.app-page .topbar>.top-title{flex:auto!important}.app-page .topbar>.top-actions{flex-wrap:wrap!important;flex:100%!important;width:100%!important;min-width:0!important;overflow:visible!important}}.top-actions>.fiscal-year-selector{order:11;margin-inline-start:2px!important}.top-actions>.barcode-trigger{order:20;margin-inline-start:12px!important}.top-actions>.smart-invoice-top-button{order:59}.top-actions>.parked-sales-trigger{order:30;margin-inline-start:12px!important}.top-actions>.park-sale-button{order:31}.top-actions>.customer-balance-badge,.top-actions>.invoice-share-actions{order:40}.top-actions>.new-invoice-btn,.top-actions>.fiscal-year-selector,.top-actions>.barcode-trigger,.top-actions>.smart-invoice-top-button,.top-actions>.parked-sales-trigger,.top-actions>.park-sale-button{border-radius:18px;min-height:64px}.top-actions>.barcode-trigger,.top-actions>.smart-invoice-top-button{background:#edf7f3;border-color:#bdd9d0}.top-actions>.parked-sales-trigger,.top-actions>.park-sale-button{background:#fff7df;border-color:#ead299}.top-actions .new-invoice-btn>span:first-child,.top-actions .smart-invoice-top-button>span:first-child,.top-actions .barcode-trigger>span,.top-actions .parked-sales-trigger>b,.top-actions .park-sale-button>span{border-radius:14px;place-items:center;width:44px;min-width:44px;height:44px;font-style:normal;line-height:1;display:grid}.top-actions .new-invoice-btn>span:first-child{color:#113f34;background:#efbc46;font-size:25px}.top-actions .barcode-trigger>span,.top-actions .smart-invoice-top-button>span:first-child{color:#f0bd49;background:#105749}.top-actions .parked-sales-trigger>b,.top-actions .park-sale-button>span{color:#124f43;background:#ebbd52}.top-actions .barcode-trigger>b,.top-actions .smart-invoice-top-button b,.top-actions .parked-sales-trigger>span,.top-actions .park-sale-button>b,.top-actions .new-invoice-label{white-space:nowrap}@media (min-width:901px){.smart-guide-launcher{border-radius:18px;min-height:58px;padding:7px 8px 7px 18px;bottom:24px;left:24px;right:auto;box-shadow:0 14px 34px #09372d33}.smart-guide-launcher>span{border-radius:13px;width:44px;height:44px}.realtime-notices{gap:8px;width:min(286px,100vw - 48px);bottom:94px;left:24px;right:auto}body:has(.basket-suggestion-launcher) .realtime-notices{gap:8px;width:min(286px,100vw - 48px);bottom:94px;left:24px;right:auto}body:has(.invoice-register-action) .smart-guide-launcher{bottom:112px}:is(body:has(.invoice-register-action) .realtime-notices,body:has(.invoice-register-action):has(.basket-suggestion-launcher) .realtime-notices){bottom:180px}.realtime-notices .connection-quality{border-width:1px;border-radius:16px;grid-template-columns:38px minmax(0,1fr);gap:10px;min-height:54px;padding:8px 10px;box-shadow:0 12px 30px #09372d24}.connection-quality .wifi-symbol{border-radius:12px;width:38px;height:38px}.connection-quality .wifi-symbol svg{width:24px;height:24px}.connection-quality strong{font-size:13px}.connection-quality span{font-size:10px;line-height:1.55}}@media (max-width:1180px){.top-actions{scroll-snap-type:x proximity;scrollbar-width:none;overflow-x:auto}.top-actions::-webkit-scrollbar{display:none}.top-actions>*{scroll-snap-align:start}}@media (max-width:700px){.top-actions{gap:5px;padding-inline:2px}.top-actions>.barcode-trigger,.top-actions>.parked-sales-trigger{margin-inline-start:6px!important}.top-actions>.new-invoice-btn,.top-actions>.fiscal-year-selector,.top-actions>.barcode-trigger,.top-actions>.smart-invoice-top-button,.top-actions>.parked-sales-trigger,.top-actions>.park-sale-button{min-height:58px}}:is(body:not(:has(.app-page)) .smart-guide-launcher,body:not(:has(.app-page)) .smart-guide-overlay,body:not(:has(.app-page)) .smart-guide-panel),.smart-guide-launcher{display:none!important}.sidebar .smart-reports-nav{color:#f4cc70;margin-top:-4px}.sidebar .smart-reports-nav i{color:#124b3e;background:#efbd4d;box-shadow:0 8px 20px #efbd4d33}.sidebar .smart-reports-nav:hover,.sidebar .smart-reports-nav:focus-visible{color:#fff8e5;background:#efbd4d1c}.invoice-realtime-status-slot{align-items:center;min-width:0;display:flex}.invoice-realtime-status-slot:empty{display:none}.invoice-realtime-status-slot .connection-quality{direction:rtl;background:#fffdf8;border:1px solid #bdd8cf;border-radius:17px;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:9px;width:214px;min-height:62px;padding:7px 9px;display:grid;box-shadow:0 8px 22px #09372d17}.invoice-realtime-status-slot .connection-quality>div{gap:1px;min-width:0;display:grid}.invoice-realtime-status-slot .connection-quality strong{color:#125d4a;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.invoice-realtime-status-slot .connection-quality span:not(.wifi-symbol){color:#73827c;white-space:nowrap;text-overflow:ellipsis;font-size:9px;line-height:1.5;overflow:hidden}.invoice-realtime-status-slot .connection-quality .wifi-symbol{border-radius:12px;width:38px;height:38px}.invoice-realtime-status-slot .connection-quality .wifi-symbol svg{width:24px;height:24px}.invoice-realtime-status-slot .connection-quality.good{border-color:#8bc9b4}.invoice-realtime-status-slot .connection-quality.slow{border-color:#e5c978}.invoice-realtime-status-slot .connection-quality.offline{border-color:#e3a092}.invoice-realtime-status-slot .connection-quality.slow strong{color:#795712}.invoice-realtime-status-slot .connection-quality.offline strong{color:#96382e}@media (max-width:700px){.invoice-realtime-status-slot .connection-quality{grid-template-columns:36px minmax(0,1fr);width:168px;min-height:56px;padding:6px 8px}.invoice-realtime-status-slot .connection-quality .wifi-symbol{width:34px;height:34px}}.items th:nth-child(4),.items td:nth-child(4){width:190px;min-width:190px}.items .quantity-stepper{grid-template-columns:48px minmax(74px,1fr) 48px;gap:6px;width:100%;min-width:178px}.items .quantity-stepper input{min-width:74px;font-size:21px;font-weight:850}.product-cell .product-lookup{width:100%;min-width:0;position:relative;align-items:center!important;gap:4px!important;display:flex!important}.product-cell .product-lookup>input{text-overflow:ellipsis;direction:rtl;text-align:right!important;background-image:none!important;flex:auto!important;width:0!important;min-width:0!important;padding-left:12px!important;padding-right:12px!important}.product-cell .product-field-actions{z-index:3;background:#e7f2ee;border:1px solid #c9dbd5;visibility:visible!important;opacity:1!important;border-radius:8px!important;flex:none!important;align-items:center!important;gap:0!important;width:max-content!important;min-width:56px!important;height:28px!important;margin:0 2px 0 0!important;display:inline-flex!important;position:relative!important;inset:auto!important;overflow:hidden!important;transform:none!important}.product-cell .product-field-actions .product-search-clear,.product-cell .product-field-actions .product-voice-search,.product-cell .product-field-actions .product-list-trigger{box-sizing:border-box;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;box-shadow:none!important;visibility:visible!important;opacity:1!important;border:0!important;border-radius:0!important;flex:0 0 28px!important;place-items:center!important;margin:0!important;padding:0!important;display:grid!important;position:static!important;inset:auto!important;transform:none!important}.product-field-actions>*+*{border-inline-start:1px solid #c9dbd5!important}.product-field-actions .product-search-clear{order:1;background:#fff0ec!important}.product-field-actions .product-voice-search{order:2;background:#e7f2ee!important}.product-field-actions .product-list-trigger{order:3;background:#e7f2ee!important}.product-field-actions .product-search-clear>span,.product-field-actions .product-list-trigger>span{place-items:center;margin:0;line-height:1;display:grid;font-size:14px!important}.product-field-actions .product-search-clear>span{color:#b44938;font-size:17px!important}.product-field-actions .product-voice-search svg{width:15px!important;height:15px!important}.product-field-actions .product-list-trigger small{display:none!important}@media (max-width:700px){.items th:nth-child(4),.items td:nth-child(4){width:auto;min-width:0}.items .quantity-stepper{grid-template-columns:52px minmax(92px,1fr) 52px;min-width:0}.product-cell .product-field-actions{min-width:64px!important;height:32px!important}.product-cell .product-field-actions .product-search-clear,.product-cell .product-field-actions .product-voice-search,.product-cell .product-field-actions .product-list-trigger{flex-basis:32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important}}.invoice-editor-view .items .product-cell .product-lookup>input,.invoice-editor-view .items .product-cell .product-lookup.has-clear>input{box-sizing:border-box!important;text-indent:0!important;text-align:right!important;direction:rtl!important;background-image:none!important;flex:1 1 0!important;width:0!important;min-width:0!important;padding-left:12px!important;padding-right:12px!important}@media (min-width:901px) and (max-height:820px){.sidebar{padding-top:13px!important;padding-bottom:10px!important;overflow:hidden!important}.sidebar .logo{gap:8px!important;padding-bottom:11px!important}.sidebar .logo>span{flex-basis:42px!important;width:42px!important;height:42px!important}.sidebar .side-caption{margin:11px 8px 4px!important}.sidebar nav{scrollbar-width:none!important;-ms-overflow-style:none!important;gap:2px!important;margin-top:7px!important}.sidebar nav::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.sidebar .nav{min-height:42px!important;margin:0!important;padding:8px 10px!important;font-size:12.5px!important}.sidebar .nav svg{width:17px!important;height:17px!important}.sidebar .side-tenant{gap:2px!important;padding:9px 11px!important}.sidebar .side-tenant button{margin-top:2px!important;padding:3px 0!important}.sidebar .side-product{padding:7px 3px 5px!important}.sidebar .side-foot{gap:7px!important;padding-top:8px!important}.sidebar .side-foot .logout,.sidebar .side-foot .avatar{width:36px!important;height:36px!important}}@media (min-width:901px) and (max-height:680px){.sidebar{padding-top:9px!important;padding-bottom:7px!important}.sidebar .logo{padding-bottom:7px!important}.sidebar .side-caption{margin-top:7px!important}.sidebar nav{margin-top:4px!important}.sidebar .nav{min-height:38px!important;padding-top:6px!important;padding-bottom:6px!important}.sidebar .side-tenant{padding-top:7px!important;padding-bottom:7px!important}.sidebar .side-product{padding-top:4px!important;padding-bottom:3px!important}.sidebar .side-foot{padding-top:5px!important}}@media (min-width:901px){.topbar>.top-title{z-index:2;max-width:280px;position:relative;flex:0 0 clamp(190px,18vw,280px)!important;min-width:190px!important}.topbar>.top-title h2{overflow-wrap:anywhere;max-width:100%}.topbar>.top-actions{width:0;max-width:none;overflow:auto hidden;flex:1 1 0!important;min-width:0!important}.invoice-meta{grid-template-columns:220px minmax(0,620px)!important;width:min(100%,860px)!important;margin-left:auto!important;margin-right:0!important}}.invoice-list-print{color:#174d3f;white-space:nowrap;background:#fff7df;border:1px solid #d8c58e;border-radius:16px 5px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:0 16px;font:900 12px Vazirmatn,Tahoma,sans-serif;display:inline-flex}.invoice-list-print svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.invoice-list-print:disabled{cursor:not-allowed;opacity:.45}@media print{.list-section-head .toolbar,.daily-overview button,.invoice-list-print{display:none!important}.app-page main,.view{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.table-card{box-shadow:none!important;border:1px solid #d7ddd8!important;overflow:visible!important}.table-card tr{break-inside:avoid;page-break-inside:avoid}}.top-actions .barcode-trigger>.barcode-trigger-icon{box-sizing:border-box;padding:7px}.top-actions .barcode-trigger>.barcode-trigger-icon svg{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%;display:block}.top-actions .barcode-trigger>.barcode-trigger-icon .qr-fill{fill:currentColor;stroke:none}@media (max-width:760px){.top-actions>.parked-sales-trigger{gap:0!important;padding-inline:8px!important}.top-actions>.parked-sales-trigger>span{display:none!important}}.daily-overview .summary-print-action{color:#145447;min-height:44px;box-shadow:none;background:#fffaf0;border-color:#ffffff57;align-self:end;padding-inline:16px}.daily-overview .summary-print-action:hover:not(:disabled){background:#fff;transform:translateY(-1px)}@media (max-width:760px){.daily-overview .summary-print-action{justify-content:center;width:100%;min-height:48px}}@media print{.daily-overview .summary-print-action{display:none!important}}@media (min-width:901px){.topbar{gap:10px!important;padding-inline:clamp(14px,1.6vw,24px)!important;overflow:visible!important}.topbar>.top-title{flex:0 285px!important;min-width:220px!important}.topbar>.top-actions{scrollbar-width:none;flex:auto!important;gap:7px!important;width:auto!important;min-width:0!important;padding:0!important;overflow:visible!important}.topbar>.top-actions::-webkit-scrollbar{display:none!important}.top-actions>.fiscal-year-selector{width:104px!important;min-width:104px!important;max-width:104px!important;height:52px!important;min-height:52px!important;margin-inline-start:0!important;padding:4px 9px!important}.fiscal-year-selector small{font-size:7px!important}.fiscal-year-selector select{font-size:16px!important}.top-actions>.new-invoice-btn,.top-actions>.barcode-trigger,.top-actions>.smart-invoice-top-button,.top-actions>.parked-sales-trigger,.top-actions>.park-sale-button{border-radius:15px 5px!important;gap:7px!important;height:52px!important;min-height:52px!important;padding:5px 9px!important}.top-actions>.barcode-trigger,.top-actions>.parked-sales-trigger{margin-inline-start:0!important}.top-actions>.new-invoice-btn{flex-direction:row!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:82px!important}.top-actions .new-invoice-btn>span:first-child,.top-actions .smart-invoice-top-button>span:first-child,.top-actions .barcode-trigger>span,.top-actions .parked-sales-trigger>b,.top-actions .park-sale-button>span{border-radius:11px 4px!important;width:36px!important;min-width:36px!important;height:36px!important;font-size:20px!important}.top-actions .new-invoice-label{margin:0!important;font-size:12px!important;line-height:1!important;display:inline!important}.top-actions .smart-invoice-top-button b,.top-actions .parked-sales-trigger>span,.top-actions .park-sale-button>b,.top-actions .barcode-trigger>b{font-size:10px!important}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--k-color-ink:#12372e;--k-color-ink-strong:#0b2b23;--k-color-muted:#6f8079;--k-color-subtle:#91a099;--k-color-canvas:#f4f1e9;--k-color-paper:#fffdf8;--k-color-paper-raised:#fff;--k-color-green:#125847;--k-color-green-strong:#0d483a;--k-color-green-soft:#e7f2ed;--k-color-gold:#dfb653;--k-color-gold-soft:#fbf1d9;--k-color-danger:#b94f3b;--k-color-danger-soft:#fbece7;--k-color-line:#d8e0db;--k-color-line-strong:#c7d4ce;--k-focus-ring:0 0 0 4px #1d715824;--k-shadow-xs:0 3px 12px #103a2f0b;--k-shadow-sm:0 10px 28px #103a2f13;--k-shadow-md:0 18px 48px #103a2f1a;--k-shadow-float:0 26px 70px #0a2b2329;--k-radius-xs:9px;--k-radius-sm:13px 5px 13px 5px;--k-radius-md:18px 6px 18px 6px;--k-radius-lg:26px 8px 26px 8px;--k-radius-xl:34px 10px 34px 10px;--k-space-1:4px;--k-space-2:8px;--k-space-3:12px;--k-space-4:16px;--k-space-5:20px;--k-space-6:24px;--k-space-7:32px;--k-space-8:40px;--k-control-sm:38px;--k-control-md:46px;--k-control-lg:54px;--k-motion-fast:.14s ease;--k-motion-base:.22s cubic-bezier(.2, .8, .2, 1);--ink:var(--k-color-ink);--muted:var(--k-color-muted);--paper:var(--k-color-paper);--canvas:var(--k-color-canvas);--green:var(--k-color-green);--green2:#1c725b;--line:var(--k-color-line);--red:var(--k-color-danger);--shadow:var(--k-shadow-md);--karma-ink:var(--k-color-ink);--karma-green:var(--k-color-green);--karma-green-2:#1c725b;--karma-gold:var(--k-color-gold);--karma-red:var(--k-color-danger);--karma-paper:var(--k-color-paper);--karma-canvas:var(--k-color-canvas);--karma-line:var(--k-color-line);--karma-muted:var(--k-color-muted);--karma-focus:#1d715824;--karma-shadow:var(--k-shadow-md);--karma-radius:var(--k-radius-lg)}html{background:var(--k-color-canvas);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}body{color:var(--k-color-ink);background:radial-gradient(circle at 8% 2%, #dfb65317, transparent 27rem), radial-gradient(circle at 92% 18%, #12584711, transparent 32rem), var(--k-color-canvas);line-height:1.75}::selection{color:var(--k-color-ink-strong);background:#dfb65359}.app-page{background:linear-gradient(#ffffff7a,#0000 260px),0 0}.app-page main{isolation:isolate;position:relative}.view{width:100%;max-width:1740px;margin-inline:auto}.topbar{-webkit-backdrop-filter:blur(16px)saturate(1.15);backdrop-filter:blur(16px)saturate(1.15);background:#fffdf8eb;border-bottom-color:#1258471f;height:auto;min-height:94px;padding-block:14px;box-shadow:0 7px 24px #12372e0b}.topbar h2,.editor-head h3,.list-section-head h3,.items-head h4,.dashboard-card h4{color:var(--k-color-ink-strong);letter-spacing:-.025em;text-wrap:balance}.topbar h2{font-size:clamp(22px,2vw,32px);line-height:1.35}.crumb,.app-page :where(.section-kicker,.sub-kicker,.eyebrow){color:var(--k-color-muted);font-size:11px;font-weight:700}.app-page :where(.section-kicker,.sub-kicker,.eyebrow){color:#aa653e;font-weight:900}.app-page :where(h1,h2,h3,h4){line-height:1.45}.app-page :where(.editor-head,.list-section-head,.items-head,.dashboard-card>header){position:relative}.app-page :where(.editor-head,.list-section-head,.items-head)>:where(div,section):first-child{min-width:0}.app-page :where(.editor-head,.list-section-head,.items-head) p,.app-page :where(.dashboard-card>header) small{color:var(--k-color-muted);line-height:1.9}.app-page :where(.invoice-sheet,.invoice-document,.daily-overview,.dashboard-card,.table-card,.list-section-head,.report-card,.summary-card,.payment-method,.cashier-kpis article){border-color:var(--k-color-line);box-shadow:var(--k-shadow-sm)}.app-page :where(.invoice-sheet,.invoice-document,.daily-overview,.dashboard-card){background-color:var(--k-color-paper)}.app-page :where(.daily-overview,.cashier-hero){box-shadow:var(--k-shadow-md)}.app-page :where(.stats-strip,.cashier-kpis)>:where(article,div){transition:border-color var(--k-motion-fast), box-shadow var(--k-motion-base), transform var(--k-motion-base)}@media (hover:hover){.app-page :where(.stats-strip,.cashier-kpis)>:where(article,div):hover{border-color:var(--k-color-line-strong);box-shadow:var(--k-shadow-md);transform:translateY(-2px)}}.app-page :where(input,select,textarea){color:var(--k-color-ink);border-color:var(--k-color-line);transition:border-color var(--k-motion-fast), box-shadow var(--k-motion-fast), background-color var(--k-motion-fast)}.app-page :where(input,select,textarea)::placeholder{color:var(--k-color-subtle);opacity:1}.app-page :where(input,select,textarea):hover:not(:disabled){border-color:var(--k-color-line-strong)}.app-page :where(input,select,textarea):focus,.app-page :where(input,select,textarea):focus-visible{box-shadow:var(--k-focus-ring);border-color:#39846f;outline:0}.app-page button,.app-page [role=button]{-webkit-tap-highlight-color:transparent;transition:color var(--k-motion-fast), background-color var(--k-motion-fast), border-color var(--k-motion-fast), box-shadow var(--k-motion-base), transform var(--k-motion-fast), opacity var(--k-motion-fast)}.app-page button:focus-visible,.app-page [role=button]:focus-visible,.app-page a:focus-visible{outline-offset:3px;outline:3px solid #dfb653b8}.app-page button:disabled,.app-page [aria-disabled=true]{cursor:not-allowed;opacity:.52;filter:saturate(.65)}.app-page :where(.primary,.refresh-dashboard,.voice-apply,.barcode-entry button){min-height:var(--k-control-md);font-weight:900}.primary{background:linear-gradient(135deg, var(--k-color-green), var(--k-color-green-strong));box-shadow:0 9px 20px #0d483a33}@media (hover:hover){.primary:hover:not(:disabled){background:linear-gradient(135deg, #176b56, var(--k-color-green));box-shadow:0 12px 26px #0d483a3d}}.app-page :where(.secondary,.mini,.icon-btn){border-color:var(--k-color-line);background-color:var(--k-color-paper-raised)}.app-page :where(.danger,.remove,.error){color:var(--k-color-danger)}.app-page :where(.table-card,.recent-table,.items-wrap){scrollbar-color:#12584747 transparent;scrollbar-width:thin}.app-page table thead th{color:#50665d;border-bottom-color:var(--k-color-line-strong);background:#f2f3ee;font-weight:900}.app-page table tbody tr{transition:background-color var(--k-motion-fast)}.app-page table tbody tr:hover{background:#f7faf7}.app-page table td{border-bottom-color:#e5eae6}.app-page :where(.empty,.chart-empty){color:var(--k-color-muted)}.app-page :where(.toast,.voice-message,.barcode-message,.cashier-error){box-shadow:var(--k-shadow-sm)}.app-page :where(.results,.row-results,.lookup-menu){border-color:var(--k-color-line);box-shadow:var(--k-shadow-float)}.app-page :where(.smart-guide-dialog,.voice-invoice-dialog,.barcode-dialog){box-shadow:var(--k-shadow-float);border-color:#c7d4cee6}.sidebar{background:radial-gradient(circle at 50% 0,#dfb65317,#0000 220px),linear-gradient(#10483b,#0b392f);box-shadow:-10px 0 35px #07282021}.sidebar .nav{transition:color var(--k-motion-fast), background-color var(--k-motion-fast), border-color var(--k-motion-fast), transform var(--k-motion-fast);border:1px solid #0000}.sidebar .nav:hover{background:#ffffff13;border-color:#ffffff14}.sidebar .nav.active{color:#fff;background:linear-gradient(90deg,#dfb65326,#ffffff13);border-color:#dfb65333}@media (max-width:900px){:root{--k-space-6:20px;--k-space-7:24px;--k-space-8:30px;--k-radius-lg:22px 7px 22px 7px;--k-radius-xl:28px 9px 28px 9px}body{background:radial-gradient(circle at 10% 0, #dfb65314, transparent 18rem), var(--k-color-canvas)}.topbar{gap:11px;min-height:86px;padding:12px 16px}.topbar h2{font-size:clamp(21px,7vw,28px)}.view{padding:20px 14px}.app-page :where(.invoice-sheet,.invoice-document,.daily-overview,.dashboard-card){box-shadow:var(--k-shadow-xs)}.app-page :where(.editor-head,.list-section-head,.items-head){gap:12px}}@media (max-width:580px){.topbar{align-items:flex-start;min-height:80px}.view{padding:16px 10px}.app-page :where(.invoice-sheet,.invoice-document,.dashboard-card){border-radius:var(--k-radius-md)}.app-page :where(.primary,.refresh-dashboard,.voice-apply,.barcode-entry button){min-height:48px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{body,.app-page{background:#fff!important}.app-page :where(.invoice-sheet,.invoice-document,.dashboard-card,.table-card){box-shadow:none!important}}:root{--mobile-header-gap:10px;--mobile-content-gutter:12px;--mobile-action-clearance:126px}@media (max-width:980px){.topbar{-webkit-backdrop-filter:blur(18px)saturate(1.2);backdrop-filter:blur(18px)saturate(1.2);background:#fffdf8f5!important;border-bottom:1px solid #1258471f!important;box-shadow:0 8px 28px #0d413414!important}.topbar .top-title{overflow:hidden}.topbar .top-title .crumb{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden;color:#71827b!important}.topbar .top-title h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:#0d352b!important;margin:2px 0 0!important}.mobile-menu{color:#164d3f!important;background:#fff!important;border:1px solid #d6e0db!important;border-radius:16px 5px!important;box-shadow:0 7px 18px #113e3312!important}.sidebar{padding-bottom:calc(18px + var(--mobile-safe-bottom))!important}.sidebar .nav{min-height:48px!important}}@media (max-width:720px){:root{--mobile-content-gutter:10px;--mobile-action-clearance:132px}html{scroll-padding-top:92px;scroll-padding-bottom:calc(var(--mobile-action-clearance) + var(--invoice-keyboard-inset,0px))}.topbar{min-height:0!important;padding:max(9px, var(--mobile-safe-top)) var(--mobile-content-gutter) 9px!important;gap:7px var(--mobile-header-gap)!important;grid-template-rows:auto auto!important;grid-template-columns:50px minmax(0,1fr)!important;align-items:center!important}.topbar .mobile-menu{grid-area:1/1!important;width:48px!important;min-width:48px!important;height:48px!important}.topbar .top-title{padding-inline:2px;grid-area:1/2!important}.topbar .top-title h2{font-size:clamp(20px,6.2vw,27px)!important;line-height:1.35!important}.topbar .top-title .crumb{font-size:10px!important}.topbar .top-actions{scroll-snap-type:none;overscroll-behavior-inline:auto;-webkit-overflow-scrolling:auto;scrollbar-width:none;scroll-padding-inline:0;flex-wrap:wrap!important;grid-area:2/1/auto/-1!important;justify-content:flex-start!important;align-items:stretch!important;gap:5px!important;width:calc(100% + 2px)!important;margin:0 -1px!important;padding:5px 1px 3px!important;display:flex!important;overflow:visible!important}.topbar .top-actions::-webkit-scrollbar{display:none}.topbar .top-actions>*{scroll-snap-align:none;flex:none!important}.top-actions :where(.new-invoice-btn,.fiscal-year-selector,.smart-invoice-top-button,.barcode-trigger,.parked-sales-trigger,.park-sale-button){min-height:52px!important;max-height:52px!important;box-shadow:none!important;margin:0!important}.top-actions .fiscal-year-selector{width:104px!important;min-width:104px!important;max-width:104px!important;height:52px!important;min-height:52px!important;max-height:52px!important;padding:4px 8px!important}.top-actions .new-invoice-btn{position:relative!important;inset:auto!important;overflow:hidden!important}.top-actions .new-invoice-btn,.top-actions .smart-invoice-top-button,.top-actions .barcode-trigger,.top-actions .parked-sales-trigger,.top-actions .park-sale-button{flex-basis:48px!important;gap:0!important;width:48px!important;min-width:48px!important;max-width:48px!important;padding:3px!important}.top-actions .new-invoice-label{display:none!important}.top-actions .new-invoice-btn>span:first-child,.top-actions .smart-invoice-top-button>span:first-child,.top-actions .barcode-trigger>span,.top-actions .parked-sales-trigger>b,.top-actions .park-sale-button>span{width:40px!important;min-width:40px!important;height:40px!important}.view.invoice-editor-view{scroll-padding-top:92px;scroll-padding-bottom:calc(var(--mobile-action-clearance) + var(--mobile-safe-bottom) + var(--invoice-keyboard-inset,0px));padding:12px var(--mobile-content-gutter) calc(var(--mobile-action-clearance) + var(--mobile-safe-bottom) + var(--invoice-keyboard-inset,0px))!important}.invoice-editor-view .editor-head{border-radius:17px 6px!important;gap:8px!important;margin:0 0 10px!important;padding:9px!important;display:grid!important}.invoice-editor-view .editor-leading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid!important}.invoice-editor-view .editor-leading :where(h2,h3){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden;margin:0!important;font-size:18px!important}.invoice-editor-view .editor-head .back{width:auto!important;min-width:46px!important;min-height:42px!important;padding:0 11px!important}.invoice-editor-view .editor-actions{scroll-snap-type:inline proximity;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;padding:1px 0 3px;overflow-x:auto;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:7px!important;display:flex!important}.invoice-editor-view .editor-actions::-webkit-scrollbar{display:none}.invoice-editor-view .editor-actions>button{scroll-snap-align:start;flex:none!important;justify-content:flex-start!important;min-width:108px!important;min-height:44px!important}.invoice-editor-view .invoice-sheet{border-radius:21px 7px!important;padding:11px 9px!important}.invoice-editor-view .document-head{gap:10px!important;min-height:0!important;padding:2px 2px 13px!important}.invoice-editor-view .document-brand{min-width:0}.invoice-editor-view .document-brand h4{font-size:clamp(16px,5vw,19px)!important;line-height:1.55!important}.invoice-editor-view .document-brand p{margin-top:2px!important}.invoice-editor-view .document-mark{min-width:0!important;padding:9px 11px!important}.invoice-editor-view .invoice-meta{gap:9px!important;margin-top:12px!important}.invoice-editor-view .invoice-meta label{min-width:0;box-shadow:none!important;border-radius:15px 5px!important;padding:10px!important}.invoice-editor-view .invoice-meta label>span{margin-bottom:7px!important;font-size:12px!important}.invoice-editor-view :where(input,select,textarea){font-size:max(16px,1em)!important}.invoice-editor-view :where(input,select,textarea,button){touch-action:manipulation}.invoice-editor-view :where(input,select,textarea){scroll-margin-top:96px;scroll-margin-bottom:calc(var(--mobile-action-clearance) + 36px + var(--invoice-keyboard-inset,0px))}.invoice-editor-view .items-head{min-height:48px!important;margin:18px 1px 9px!important}.invoice-editor-view .items-head p{display:none}.invoice-editor-view .items tbody{gap:10px!important}.invoice-editor-view .items tbody tr{border-radius:18px 6px!important;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:9px!important;margin:0!important;padding:48px 10px 12px!important}.invoice-editor-view .items tbody td:nth-child(2){grid-column:1/-1!important}.invoice-editor-view .items tbody td:nth-child(n+3):nth-child(-n+8){grid-column:auto!important}.invoice-editor-view .items tbody td:before{min-height:15px;font-size:10px!important}.invoice-editor-view .items input,.invoice-editor-view .items select{border-radius:12px 4px!important;min-height:50px!important;padding-block:8px!important}.invoice-editor-view .items .quantity-stepper{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:6px!important}.invoice-editor-view .items .quantity-stepper button{width:44px!important;min-width:44px!important;min-height:50px!important;font-size:23px!important}.invoice-editor-view .items .quantity-stepper input{min-width:0!important;font-size:21px!important}.invoice-editor-view .items .product-lookup{min-width:0!important}.invoice-editor-view .items .product-cell input{min-width:0!important;padding-right:12px!important}.invoice-editor-view .invoice-summary-only .summary{border-radius:17px 5px!important;padding:11px!important}.invoice-editor-view .invoice-summary-only .summary>div{min-height:40px!important}.invoice-editor-view .payment-action.invoice-register-action{max-width:680px;right:var(--mobile-content-gutter)!important;left:var(--mobile-content-gutter)!important;bottom:calc(max(7px, var(--mobile-safe-bottom)) + var(--invoice-keyboard-inset,0px))!important;border-radius:19px 7px!important;gap:8px!important;width:auto!important;margin-inline:auto!important;padding:10px!important}.invoice-editor-view .invoice-register-action>div:first-child{min-width:0;min-height:32px}.invoice-editor-view .invoice-register-action>div:first-child b{font-size:clamp(18px,6vw,22px)!important}.invoice-editor-view .invoice-register-action .payment-submit{min-height:54px!important}.invoice-editor-view.mobile-keyboard-open .payment-action.invoice-register-action{gap:6px!important;padding:7px 8px!important}.invoice-editor-view.mobile-keyboard-open .invoice-register-action>div:first-child small{display:none}.invoice-editor-view.mobile-keyboard-open .invoice-register-action .payment-submit{min-height:48px!important}body:has(.invoice-editor-view.mobile-keyboard-open) .topbar{position:relative!important}body:has(.invoice-editor-view.mobile-keyboard-open) :where(.voice-invoice-trigger,.smart-guide-trigger,.realtime-status){opacity:0!important;pointer-events:none!important}.payment-dialog,.customer-picker,.invoice-share-dialog,.barcode-dialog,.barcode-scanner-dialog,.smart-guide-dialog,.voice-invoice-dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:calc(100dvh - var(--mobile-safe-top))!important}.payment-dialog>footer{padding-inline:var(--mobile-content-gutter)!important;padding-bottom:calc(10px + var(--mobile-safe-bottom))!important}}@media (max-width:430px){:root{--mobile-content-gutter:8px}.topbar{padding-inline:8px!important}.top-actions .fiscal-year-selector{width:104px!important;min-width:104px!important;max-width:104px!important}.invoice-editor-view .document-head{grid-template-columns:1fr!important}.invoice-editor-view .document-mark{width:100%!important}.invoice-editor-view .items tbody tr{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important}.invoice-editor-view .items tbody td,.invoice-editor-view .items tbody td:nth-child(n+3):nth-child(-n+8){grid-column:auto!important}.invoice-editor-view .items tbody td:nth-child(2){grid-column:1/-1!important}.invoice-editor-view .items .quantity-stepper{grid-template-columns:40px minmax(0,1fr) 40px!important}.invoice-editor-view .items .quantity-stepper button{width:40px!important;min-width:40px!important}.invoice-editor-view .invoice-register-action>div:first-child b{font-size:18px!important}}@media (max-width:360px){.topbar .top-title h2{font-size:19px!important}.top-actions .fiscal-year-selector{width:104px!important;min-width:104px!important;max-width:104px!important}.topbar .top-actions{gap:4px!important}.top-actions .new-invoice-btn,.top-actions .smart-invoice-top-button,.top-actions .barcode-trigger,.top-actions .parked-sales-trigger,.top-actions .park-sale-button{flex-basis:44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;padding:1px!important}.top-actions .new-invoice-btn>span:first-child,.top-actions .smart-invoice-top-button>span:first-child,.top-actions .barcode-trigger>span,.top-actions .parked-sales-trigger>b,.top-actions .park-sale-button>span{width:40px!important;min-width:40px!important;height:40px!important}.invoice-editor-view .items tbody tr{padding-inline:8px!important}.invoice-editor-view .items .quantity-stepper{grid-template-columns:38px minmax(0,1fr) 38px!important;gap:4px!important}.invoice-editor-view .items .quantity-stepper button{width:38px!important;min-width:38px!important}}@media (display-mode:standalone) and (max-width:720px){.topbar{padding-top:max(11px, var(--mobile-safe-top))!important}}@media (prefers-reduced-motion:reduce){.topbar .top-actions,.invoice-editor-view .editor-actions{scroll-behavior:auto!important}}.ux-feedback{z-index:2800;top:max(18px, env(safe-area-inset-top));left:max(18px, env(safe-area-inset-left));color:#7e3f31;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffaf7fa;border:1px solid #dfc0b6;border-radius:19px 7px;grid-template-columns:40px minmax(0,1fr) 34px;align-items:center;gap:10px;width:min(460px,100vw - 36px);min-height:68px;padding:12px 13px;animation:.24s cubic-bezier(.2,.8,.2,1) ux-feedback-in;display:grid;position:fixed;box-shadow:0 22px 60px #2b1f1a33}.ux-feedback.is-offline{color:#72561e;background:#fff9e8fa;border-color:#dfc07d}.ux-feedback.is-online{color:#185442;background:#f0faf5fa;border-color:#aed5c5}.ux-feedback-icon{background:#f5dfd7;border-radius:13px 5px;place-items:center;width:40px;height:40px;font-size:20px;font-weight:900;display:grid}.ux-feedback.is-offline .ux-feedback-icon{background:#f5e4b8}.ux-feedback.is-online .ux-feedback-icon{background:#d9eee5}.ux-feedback p{overflow-wrap:anywhere;white-space:pre-line;margin:0;font-size:12px;font-weight:750;line-height:1.9}.ux-feedback>button{width:34px;height:34px;color:inherit;opacity:.7;background:0 0;border:1px solid;border-radius:11px 4px;padding:0;font:800 20px/1 Vazirmatn,sans-serif}.invoice-editor-view .invoice-message,.app-page :where(.hub-error,.smart-guide-error,.voice-message--error,.barcode-message.error){overflow-wrap:anywhere;white-space:pre-line;line-height:1.9}@keyframes ux-feedback-in{0%{opacity:0;transform:translateY(-12px)scale(.98)}to{opacity:1;transform:none}}@media (max-width:720px){.ux-feedback{top:auto;right:10px;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:17px 6px;grid-template-columns:36px minmax(0,1fr) 32px;width:auto;min-height:62px;padding:10px;left:10px}.ux-feedback-icon{width:36px;height:36px}.ux-feedback p{font-size:11px}.invoice-editor-view .editor-head:after{content:"۱  انتخاب مشتری    ←    ۲  افزودن کالا    ←    ۳  ثبت و پرداخت";color:#41675b;text-align:center;white-space:nowrap;background:linear-gradient(90deg,#edf6f2,#fff8e8);border:1px solid #d8e5df;border-radius:12px 4px;grid-column:1/-1;width:100%;padding:8px 10px;font-size:9px;font-weight:900;line-height:1.6}body:has(.invoice-editor-view.mobile-keyboard-open) .ux-feedback:not(.is-error){display:none}}@media (max-width:380px){.invoice-editor-view .editor-head:after{content:"۱ مشتری  ←  ۲ کالا  ←  ۳ ثبت و پرداخت";font-size:8px}}@media (prefers-reduced-motion:reduce){.ux-feedback{animation:none}}@media print{.ux-feedback,.invoice-editor-view .editor-head:after{display:none!important}}.page-is-hidden *,.page-is-hidden :before,.page-is-hidden :after{animation-play-state:paused!important}img[loading=lazy]{background-color:var(--surface-muted,#f2f5f1)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{*,:before,:after{transition:none!important;animation:none!important}[data-performance-region=true]{content-visibility:visible!important;contain:none!important}}.stability-fallback{color:#123f35;direction:rtl;background:radial-gradient(circle at 15% 15%,#e5ba4d29,#0000 34%),linear-gradient(145deg,#f9f7ef,#edf4f0);place-items:center;min-height:100dvh;padding:24px;display:grid}.stability-fallback section{text-align:center;background:#ffffffe6;border:1px solid #125e4c33;border-radius:32px;width:min(100%,560px);padding:clamp(28px,6vw,48px);box-shadow:0 24px 70px #11463a24}.stability-fallback__mark{color:#0b4d40;background:#f1bd45;border-radius:20px;place-items:center;width:64px;height:64px;margin:0 auto 18px;font-size:34px;font-weight:900;display:grid}.stability-fallback small,.stability-fallback em{color:#8b6850;font-style:normal;display:block}.stability-fallback h1{margin:10px 0;font-size:clamp(24px,5vw,36px)}.stability-fallback p{color:#687a74;margin:0 auto 24px;line-height:2}.stability-fallback button{color:#fff;width:100%;min-height:56px;font:inherit;cursor:pointer;background:#0b5b4a;border:0;border-radius:17px;font-weight:800}.stability-fallback button:disabled{cursor:wait;opacity:.7}.stability-fallback em{margin-top:16px;font-size:12px}.sr-only,.a11y-live-region{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:fixed!important;overflow:hidden!important}.skip-to-content{z-index:100000;color:#fff;background:#0b4f41;border:3px solid #efbf4d;border-radius:12px;padding:12px 18px;font-weight:900;text-decoration:none;transition:transform .16s;position:fixed;inset-block-start:12px;inset-inline-start:12px;transform:translateY(-180%)}.skip-to-content:focus{transform:translateY(0)}:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline-offset:3px!important;outline:3px solid #d89d13!important;box-shadow:0 0 0 6px #ffffffeb!important}:where(h1,h2,h3,h4,main)[tabindex="-1"]:focus{outline-offset:6px;outline:3px solid #d89d13b8}.topbar .top-title h2{color:#0d352b;text-shadow:0 1px #ffffffd1;max-inline-size:100%;margin-block-end:0;padding-block-end:8px;display:inline-block;position:relative}.topbar .top-title h2:after{content:"";background:linear-gradient(90deg,#0d6a56 0 58%,#d5a52b 58% 100%);border-radius:999px;block-size:3px;inline-size:clamp(48px,32%,92px);position:absolute;inset-block-end:0;inset-inline-start:0;box-shadow:0 4px 12px #0d6a5629}.topbar .top-title h2[tabindex="-1"]:focus,.topbar .top-title h2[tabindex="-1"]:focus-visible{outline-offset:0!important;box-shadow:none!important;outline:none!important}@media (max-width:700px){.topbar .top-title h2{padding-block-end:6px}.topbar .top-title h2:after{block-size:2px;inline-size:52px}}button,input,select,textarea,[role=button]{min-block-size:44px}button:disabled,[aria-disabled=true]{cursor:not-allowed}[aria-invalid=true]{border-color:#b33f2e!important;box-shadow:0 0 0 3px #b33f2e2e!important}[data-a11y-scroll-region=true]{overscroll-behavior-inline:contain;scrollbar-gutter:stable;max-inline-size:100%;overflow-x:auto}[data-a11y-scroll-region=true]:focus-visible{outline-offset:-3px!important}@media (prefers-contrast:more){:root{--ink:#082f27;--muted:#45544f;--line:#60716b}button,input,select,textarea,article,section{border-color:currentColor}::placeholder{color:#4a5753;opacity:1}}@media (forced-colors:active){.skip-to-content,button,input,select,textarea,[role=dialog]{forced-color-adjust:auto;border:2px solid buttontext}:where(a,button,input,select,textarea,[tabindex]):focus-visible{box-shadow:none!important;outline:3px solid highlight!important}}@media (prefers-reduced-transparency:reduce){.payment-overlay,.barcode-overlay,.report-picker-backdrop,.voice-invoice-overlay{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fffffffa!important}}@media print{.skip-to-content,.a11y-live-region{display:none!important}}:root{--karma-layer-sticky-action:850;--karma-layer-header:1000;--karma-layer-sidebar:1100;--karma-layer-dropdown:1400;--karma-layer-floating-picker:3200;--karma-layer-modal:6000;--karma-layer-feedback:8000}body.modal-open{overflow:hidden!important}.topbar{z-index:var(--karma-layer-header)!important}.sidebar,.menu-backdrop{z-index:var(--karma-layer-sidebar)!important}.invoice-register-action{z-index:var(--karma-layer-sticky-action)!important}.lookup-menu{z-index:var(--karma-layer-dropdown)!important}.lookup-portal{z-index:var(--karma-layer-floating-picker)!important;position:fixed!important}.invoice-meta{z-index:auto!important;position:relative!important;top:auto!important}.customer-field,.customer-field .lookup{z-index:auto;position:relative}.payment-overlay,.report-picker-backdrop,.parked-sales-overlay,.invoice-share-overlay,.barcode-scanner-overlay,.voice-invoice-overlay{z-index:var(--karma-layer-modal)!important}.customer-picker-overlay{isolation:isolate;z-index:calc(var(--karma-layer-modal) + 100)!important}.ux-feedback,.toast{z-index:var(--karma-layer-feedback)!important}@page fr-official{size:A4 portrait;margin:8mm}@media print{body.printing-invoice,body.printing-invoice #root,body.printing-invoice .app-page,body.printing-invoice .app-page main,body.printing-invoice .invoice-editor-view,body.printing-invoice .invoice-sheet{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important;transform:none!important}body.printing-invoice{background:#fff!important}body.printing-invoice .sidebar,body.printing-invoice .topbar,body.printing-invoice .invoice-editor-view>:not(.invoice-sheet),body.printing-invoice .invoice-sheet>:not(.fast-report-print){display:none!important}body.printing-invoice .fast-report-print{min-width:0!important;margin:0!important;display:block!important;overflow:visible!important}body.printing-invoice .fr-official{page:fr-official;width:100%!important;max-width:none!important}body.printing-invoice:has(.fr-receipt){page:fr-receipt}body.printing-invoice:has(.fr-official){page:fr-official}body.printing-invoice .fr-receipt{page:fr-receipt;width:72mm!important;max-width:100%!important}body.printing-invoice .fr-header,body.printing-invoice .fr-parties,body.printing-invoice .fr-footer,body.printing-invoice .fr-contact{break-inside:avoid;page-break-inside:avoid}body.printing-invoice .fr-items{table-layout:fixed!important;width:100%!important}body.printing-invoice .fr-items thead{display:table-header-group!important}body.printing-invoice .fr-items tr{break-inside:avoid;page-break-inside:avoid}body.printing-invoice .fr-items th,body.printing-invoice .fr-items td{overflow-wrap:anywhere;white-space:normal!important;min-width:0!important;overflow:visible!important}}:root,:root[data-theme=karma]{--theme-page:#f4efe3;--theme-surface:#fffdf8;--theme-surface-strong:#fff;--theme-surface-soft:#f7f2e8;--theme-sidebar:#174c3f;--theme-sidebar-soft:#205b4c;--theme-primary:#17614f;--theme-primary-hover:#10493c;--theme-accent:#e2b747;--theme-text:#173c34;--theme-muted:#687c76;--theme-border:#d9e1dc;--theme-focus:#c89221;--theme-success:#24785e;--theme-danger:#b84e3e;--theme-shadow:0 18px 48px #1e372f1f}:root[data-theme=light]{--theme-page:#f5f7fa;--theme-surface:#fff;--theme-surface-strong:#fff;--theme-surface-soft:#eef3f7;--theme-sidebar:#18324a;--theme-sidebar-soft:#24455f;--theme-primary:#246fa9;--theme-primary-hover:#1c5b8d;--theme-accent:#1a8c82;--theme-text:#172b3b;--theme-muted:#637586;--theme-border:#d8e1e8;--theme-focus:#2079bb;--theme-success:#16806f;--theme-danger:#bd4f4a;--theme-shadow:0 18px 46px #1e3e571c}:root[data-theme=night]{--theme-page:#101923;--theme-surface:#17232e;--theme-surface-strong:#1b2a36;--theme-surface-soft:#21323f;--theme-sidebar:#0b141d;--theme-sidebar-soft:#152633;--theme-primary:#319775;--theme-primary-hover:#3caf87;--theme-accent:#f2b84b;--theme-text:#edf5f2;--theme-muted:#aabcc5;--theme-border:#334754;--theme-focus:#f2b84b;--theme-success:#42b98e;--theme-danger:#ec7668;--theme-shadow:0 20px 56px #00000057;--theme-neutral-surface:#2a3035;--theme-neutral-raised:#333a40;--theme-neutral-recessed:#23292e;--invoice-forest:#237c62;--invoice-forest-2:#319775;--invoice-gold:#f2b84b;--invoice-gold-soft:#3a352b;--invoice-paper:#17232e;--invoice-line:#334754;--invoice-muted:#aabcc5;--invoice-danger:#ec7668;--invoice-focus:#f2b84b33}@media screen{html[data-theme] body{background:var(--theme-page);color:var(--theme-text);transition:background-color .2s,color .2s}html[data-theme] :focus-visible{outline-color:var(--theme-focus)!important}html[data-theme] .theme-settings-trigger{color:#fff;text-align:right;cursor:pointer;background:#ffffff14;border:1px solid #ffffff26;border-radius:13px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;width:calc(100% - 24px);min-height:48px;margin:8px 12px 5px;padding:7px 10px;transition:background .18s,border-color .18s,transform .18s;display:grid}html[data-theme] .theme-settings-trigger:hover{background:#ffffff24;border-color:#ffffff42}html[data-theme] .theme-settings-trigger:active{transform:translateY(1px)}html[data-theme] .theme-settings-trigger>span{text-align:center;font-size:21px;line-height:1}html[data-theme] .theme-settings-trigger b{font-size:12px;font-weight:800}html[data-theme] .theme-settings-trigger small{color:#ffffffb3;font-size:10px}html[data-theme=light] .app-page,html[data-theme=night] .app-page,html[data-theme=light] .app-page>main,html[data-theme=night] .app-page>main{color:var(--theme-text);background:var(--theme-page)!important}html[data-theme=light] .sidebar,html[data-theme=night] .sidebar{background:linear-gradient(170deg, var(--theme-sidebar-soft), var(--theme-sidebar) 55%, color-mix(in srgb, var(--theme-sidebar) 80%, #000))!important;border-color:color-mix(in srgb, var(--theme-sidebar-soft) 75%, #fff 8%)!important}html[data-theme=light] .sidebar .nav.active,html[data-theme=night] .sidebar .nav.active{background:color-mix(in srgb, var(--theme-primary) 72%, #fff 12%)!important;color:#fff!important}html[data-theme=light] .topbar,html[data-theme=night] .topbar{background:color-mix(in srgb, var(--theme-surface) 94%, transparent)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:0 8px 24px color-mix(in srgb, var(--theme-sidebar) 9%, transparent)!important}html[data-theme=light] .app-page :where(.view,.daily-overview,.table-card,.list-section-head,.editor-shell,.editor-section,.invoice-head,.invoice-body,.invoice-summary,.stats-strip article,.dashboard-card,.report-card,.report-panel,.report-summary,.management-card,.cashier-card,.sms-card,.sms-panel,.calendar-panel,.jalali-calendar,.payment-dialog,.parked-sales-dialog,.invoice-history-dialog,.share-dialog,.lookup-panel,.customer-picker,.product-picker,.smart-guide-panel,.voice-invoice-dialog),html[data-theme=night] .app-page :where(.view,.daily-overview,.table-card,.list-section-head,.editor-shell,.editor-section,.invoice-head,.invoice-body,.invoice-summary,.stats-strip article,.dashboard-card,.report-card,.report-panel,.report-summary,.management-card,.cashier-card,.sms-card,.sms-panel,.calendar-panel,.jalali-calendar,.payment-dialog,.parked-sales-dialog,.invoice-history-dialog,.share-dialog,.lookup-panel,.customer-picker,.product-picker,.smart-guide-panel,.voice-invoice-dialog){box-shadow:var(--theme-shadow);background-color:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=light] .app-page :where(input,select,textarea),html[data-theme=night] .app-page :where(input,select,textarea),html[data-theme=light] body>:where(.theme-dialog-backdrop,.floating-lookup-root) :where(input,select,textarea),html[data-theme=night] body>:where(.theme-dialog-backdrop,.floating-lookup-root) :where(input,select,textarea){caret-color:var(--theme-primary);background:var(--theme-surface-strong)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-theme=night] :where(input,textarea)::placeholder{opacity:1;color:#81949f!important}html[data-theme=light] :where(input,textarea)::placeholder{opacity:1;color:#8594a0!important}html[data-theme=light] .app-page :where(table,thead,tbody,tr,th,td),html[data-theme=night] .app-page :where(table,thead,tbody,tr,th,td){border-color:var(--theme-border)!important}html[data-theme=light] .app-page :where(thead,th),html[data-theme=night] .app-page :where(thead,th){background:var(--theme-surface-soft)!important;color:var(--theme-text)!important}html[data-theme=light] .app-page tbody tr,html[data-theme=night] .app-page tbody tr{background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme=light] .app-page tbody tr:hover,html[data-theme=night] .app-page tbody tr:hover{background:var(--theme-surface-soft)!important}html[data-theme=light] .app-page :where(.primary,.refresh-dashboard,.row-open,.new-invoice-btn),html[data-theme=night] .app-page :where(.primary,.refresh-dashboard,.row-open,.new-invoice-btn){background:var(--theme-primary)!important;border-color:var(--theme-primary)!important;color:#fff!important}html[data-theme=light] .app-page :where(.secondary,.mini,.excel-export),html[data-theme=night] .app-page :where(.secondary,.mini,.excel-export){background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=light] .app-page :where(h1,h2,h3,h4,label,.amount-cell,.invoice-no),html[data-theme=night] .app-page :where(h1,h2,h3,h4,label,.amount-cell,.invoice-no){color:var(--theme-text)!important}html[data-theme=light] .app-page :where(.crumb,p,small,.muted,.date-cell,.issuer-cell),html[data-theme=night] .app-page :where(.crumb,p,small,.muted,.date-cell,.issuer-cell){color:var(--theme-muted)!important}html[data-theme=light] .app-page .sidebar :where(small,p,.muted),html[data-theme=night] .app-page .sidebar :where(small,p,.muted){color:#ffffffa8!important}html[data-theme=light] .app-page :where(.stat-icon,.customer-cell>i,.avatar),html[data-theme=night] .app-page :where(.stat-icon,.customer-cell>i,.avatar){background:color-mix(in srgb, var(--theme-primary) 15%, var(--theme-surface))!important;color:var(--theme-primary)!important}html[data-theme=light] .app-page :where(.invoice-message,.success-message),html[data-theme=night] .app-page :where(.invoice-message,.success-message){background:color-mix(in srgb, var(--theme-success) 13%, var(--theme-surface))!important;color:var(--theme-success)!important;border-color:color-mix(in srgb, var(--theme-success) 35%, var(--theme-border))!important}html[data-theme=light] .app-page :where(.error,.error-message,.hub-error),html[data-theme=night] .app-page :where(.error,.error-message,.hub-error){background:color-mix(in srgb, var(--theme-danger) 13%, var(--theme-surface))!important;color:var(--theme-danger)!important;border-color:color-mix(in srgb, var(--theme-danger) 38%, var(--theme-border))!important}html[data-theme=night] .app-page :where(.recharts-text,.recharts-cartesian-axis-tick-value){fill:var(--theme-muted)!important}html[data-theme=night] .app-page :where(.recharts-cartesian-grid line,.recharts-cartesian-axis line){stroke:var(--theme-border)!important}html[data-theme=night] .app-page .recharts-default-tooltip{background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}}.theme-dialog-open{overflow:hidden}.theme-dialog-backdrop{z-index:10020;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0812189e;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.theme-dialog{border:1px solid var(--theme-border);background:var(--theme-surface);width:min(880px,100%);max-height:min(820px,100dvh - 44px);color:var(--theme-text);border-radius:24px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden;box-shadow:0 34px 90px #00000047}.theme-dialog>header{border-bottom:1px solid var(--theme-border);background:linear-gradient(135deg, var(--theme-surface), var(--theme-surface-soft));justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 27px 20px;display:flex}.theme-dialog>header span,.theme-section-heading small{color:var(--theme-primary);letter-spacing:.02em;font-size:11px;font-weight:900}.theme-dialog>header h2{color:var(--theme-text);margin:5px 0 4px;font-size:clamp(19px,2.5vw,25px)}.theme-dialog>header p{color:var(--theme-muted);margin:0;font-size:12px;line-height:1.8}.theme-dialog-close{border:1px solid var(--theme-border);background:var(--theme-surface-strong);width:44px;height:44px;color:var(--theme-text);cursor:pointer;border-radius:13px;flex:0 0 44px;font:25px/1 inherit}.theme-dialog-scroll{overscroll-behavior:contain;min-height:0;padding:23px 27px 26px;overflow:auto}.theme-personal-section,.theme-store-section{gap:15px;display:grid}.theme-store-section{border-top:1px solid var(--theme-border);margin-top:24px;padding-top:22px}.theme-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.theme-section-heading h3{color:var(--theme-text);margin:4px 0 0;font-size:16px}.theme-section-heading p{color:var(--theme-muted);margin:5px 0 0;font-size:11px}.theme-saving{color:var(--theme-muted);font-size:11px}.theme-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.theme-card{border:2px solid var(--theme-border);background:var(--theme-surface-strong);min-width:0;color:var(--theme-text);text-align:right;cursor:pointer;border-radius:17px;padding:9px;transition:transform .18s,border-color .18s,box-shadow .18s;position:relative}.theme-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #142d341f}.theme-card.selected{border-color:var(--theme-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-primary) 15%, transparent)}.theme-card:disabled{cursor:wait;opacity:.72}.theme-preview{border:1px solid color-mix(in srgb, var(--preview-side) 22%, #d7dedb);background:var(--preview-bg);direction:ltr;border-radius:11px;grid-template-columns:31% 1fr;height:112px;display:grid;overflow:hidden}.preview-sidebar{background:var(--preview-side);align-content:start;gap:8px;padding:13px 7px;display:grid}.preview-sidebar em{background:#ffffff52;border-radius:5px;height:5px;display:block}.preview-sidebar em:first-child{background:var(--preview-accent);border-radius:6px;width:18px;height:18px;margin:0 auto 8px}.preview-main{align-content:start;gap:9px;padding:12px 10px;display:grid}.preview-main .preview-head{background:var(--preview-side);opacity:.8;border-radius:6px;width:65%;height:7px;margin-left:auto;display:block}.preview-main>span{background:var(--preview-card);border-radius:7px;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px;display:grid;box-shadow:0 3px 9px #00000014}.preview-main>span:last-child{grid-template-columns:1fr 1fr}.preview-main b{background:color-mix(in srgb, var(--preview-side) 13%, var(--preview-bg));border-radius:4px;height:16px}.theme-card-copy{gap:3px;min-height:54px;margin-top:10px;display:grid}.theme-card-copy b{font-size:14px}.theme-card-copy small{color:var(--theme-muted);font-size:10px;line-height:1.65}.theme-card-check{background:var(--theme-primary);color:#fff;border:2px solid #ffffffd9;border-radius:50%;place-items:center;width:23px;height:23px;font-size:12px;font-style:normal;display:grid;position:absolute;top:16px;right:16px;box-shadow:0 3px 8px #0000002e}.theme-card:not(.selected) .theme-card-check{color:#0000;background:#ffffff80}.follow-store-option{border:1px solid var(--theme-border);background:var(--theme-surface-soft);min-height:58px;color:var(--theme-text);text-align:right;cursor:pointer;border-radius:14px;align-items:center;gap:11px;padding:10px 13px;display:flex}.follow-store-option.selected{border-color:var(--theme-primary);background:color-mix(in srgb, var(--theme-primary) 10%, var(--theme-surface))}.theme-radio{border:2px solid var(--theme-primary);color:#fff;background:var(--theme-surface);border-radius:50%;flex:0 0 24px;place-items:center;width:24px;height:24px;display:grid}.follow-store-option.selected .theme-radio{background:var(--theme-primary)}.follow-store-option>span:last-child{gap:2px;display:grid}.follow-store-option b{font-size:12px}.follow-store-option small{color:var(--theme-muted);font-size:10px}.store-theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.store-theme-options button{border:1px solid var(--theme-border);background:var(--theme-surface-strong);min-height:48px;color:var(--theme-text);text-align:right;cursor:pointer;border-radius:12px;grid-template-columns:15px 1fr auto;align-items:center;gap:8px;padding:8px 10px;display:grid}.store-theme-options button.selected{border-color:var(--theme-primary)}.store-theme-options i{border-radius:50%;width:13px;height:13px}.store-theme-options span{color:var(--theme-muted);font-size:9px}.store-theme-options button.selected span{color:var(--theme-primary);font-weight:900}.theme-dialog-message,.theme-dialog-loading{border:1px solid var(--theme-border);background:var(--theme-surface-soft);color:var(--theme-muted);border-radius:12px;margin-top:15px;padding:11px 13px;font-size:11px}.theme-dialog-message{color:var(--theme-primary)}.theme-dialog>footer{border-top:1px solid var(--theme-border);background:var(--theme-surface-soft);justify-content:space-between;align-items:center;gap:15px;min-height:67px;padding:11px 27px;display:flex}.theme-dialog>footer span{color:var(--theme-muted);font-size:10px}.theme-dialog>footer button{background:var(--theme-primary);color:#fff;cursor:pointer;border:0;border-radius:12px;min-width:94px;min-height:44px;padding:0 20px;font:800 12px/1 inherit}@media (max-width:720px){.theme-dialog-backdrop{align-items:end;padding:0}.theme-dialog{border-width:1px 0 0;border-radius:22px 22px 0 0;width:100%;max-height:min(92dvh,850px)}.theme-dialog>header{padding:19px 17px 15px}.theme-dialog>header p{max-width:270px}.theme-dialog-scroll{padding:17px}.theme-card-grid{grid-template-columns:1fr}.theme-card{grid-template-columns:126px minmax(0,1fr);align-items:center;gap:10px;display:grid}.theme-preview{width:126px;height:81px}.theme-card-copy{min-height:0;margin:0}.theme-card-check{top:14px;right:14px}.store-theme-options{grid-template-columns:1fr}.theme-dialog>footer{padding:10px 17px}.theme-dialog>footer span{max-width:220px}}@media (max-width:390px){.theme-dialog>header p,.theme-dialog>footer span{display:none}.theme-card{grid-template-columns:108px minmax(0,1fr)}.theme-preview{width:108px}}@media (prefers-reduced-motion:reduce){html[data-theme] body,.theme-card,.theme-settings-trigger{transition:none!important}}@media print{:root[data-theme]{--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important}.theme-settings-trigger,.theme-dialog-backdrop{display:none!important}}@media screen{html:is([data-theme=light],[data-theme=night]) :is(.invoice-sheet,.document-mark,.invoice-meta>label,.totals,.invoice-register-action,.invoice-share-dialog,.payment-dialog,.customer-picker,.customer-picker-dialog,.parked-sales-dialog,.invoice-history-dialog,.basket-suggestion-panel,.voice-invoice-dialog,.smart-guide-panel,.offline-card,.management-kpis article,.management-card,.report-panel,.cashier-card){background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html:is([data-theme=light],[data-theme=night]) .offline-sales{background:var(--theme-page)!important;color:var(--theme-text)!important}html:is([data-theme=light],[data-theme=night]) :is(.secure-link,.share-recipient,.share-channels>a,.share-channels>button,.basket-suggestion-panel>header,.basket-suggestion-panel>footer,.basket-suggestion-list>article,.smart-guide-panel>header,.smart-guide-panel>footer,.smart-guide-examples button,.smart-guide-topics button,.smart-guide-answer,.customer-picker-dialog>header,.customer-picker-dialog>footer){background:var(--theme-surface-soft)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html:is([data-theme=light],[data-theme=night]) :is(.invoice-sheet,.invoice-share-dialog,.payment-dialog,.basket-suggestion-panel,.customer-picker-dialog,.smart-guide-panel,.voice-invoice-dialog,.offline-sales,.management-kpis) :is(h1,h2,h3,h4,label,strong){color:var(--theme-text)!important}html:is([data-theme=light],[data-theme=night]) :is(.invoice-share-dialog,.payment-dialog,.basket-suggestion-panel,.customer-picker-dialog,.smart-guide-panel,.voice-invoice-dialog,.offline-sales) :is(input,select,textarea){caret-color:var(--theme-text);background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html:is([data-theme=light],[data-theme=night]) :is(.invoice-share-dialog,.basket-suggestion-panel,.customer-picker-dialog,.smart-guide-panel,.voice-invoice-dialog,.offline-sales) :is(p,small){color:var(--theme-muted)!important}html:is([data-theme=light],[data-theme=night]) :is(.document-mark b,.document-brand h4,.secure-link>span,.share-recipient>span,.basket-suggestion-list b,.invoice-register-action b,.totals b){color:var(--theme-text)!important}.theme-dialog-message{margin:0 0 15px}html[data-theme=night] .theme-dialog-message{color:var(--theme-text)}html[data-theme=night] .topbar .mobile-menu,html[data-theme=night] .topbar .fiscal-year-selector,html[data-theme=night] .topbar .top-actions>:is(.barcode-trigger,.smart-invoice-top-button,.parked-sales-trigger,.park-sale-button){background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .topbar .fiscal-year-selector :is(small,i){color:var(--theme-muted)!important}html[data-theme=night] .topbar .fiscal-year-selector select{color:var(--theme-text)!important;background:0 0!important}html[data-theme=night] .topbar .workspace-help-slot .wm-help-launch{background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:none!important}html[data-theme=night] .top-actions :is(.new-invoice-btn>span:first-child,.barcode-trigger>span,.smart-invoice-top-button>span:first-child,.parked-sales-trigger>b,.park-sale-button>span){border:1px solid color-mix(in srgb, var(--theme-accent) 42%, var(--theme-border))!important;background:color-mix(in srgb, var(--theme-accent) 18%, var(--theme-surface-soft))!important;color:var(--theme-accent)!important}html[data-theme=night] .top-actions :is(.barcode-trigger small,.smart-invoice-top-button small,.parked-sales-trigger>span,.park-sale-button>b){color:var(--theme-muted)!important}html[data-theme=night] .invoice-editor-view .editor-head{background:color-mix(in srgb, var(--theme-surface) 92%, transparent)!important;border-color:var(--theme-border)!important;box-shadow:var(--theme-shadow)!important}html[data-theme=night] .invoice-editor-view .editor-head .back,html[data-theme=night] .invoice-editor-view .editor-actions>button{background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .editor-actions .action-icon{background:color-mix(in srgb, var(--theme-primary) 17%, var(--theme-surface-soft))!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .invoice-editor-view .editor-actions .secondary .action-icon{background:color-mix(in srgb, var(--theme-accent) 16%, var(--theme-surface-soft))!important;color:var(--theme-accent)!important}html[data-theme=night] .invoice-editor-view .editor-actions .danger .action-icon{background:color-mix(in srgb, var(--theme-danger) 15%, var(--theme-surface-soft))!important;color:var(--theme-danger)!important}html[data-theme=night] .invoice-editor-view .invoice-sheet{background:radial-gradient(circle at 100% 0, color-mix(in srgb, var(--theme-accent) 8%, transparent), transparent 24%), radial-gradient(circle at 0 100%, color-mix(in srgb, var(--theme-primary) 10%, transparent), transparent 28%), var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .document-head{border-color:var(--theme-border)!important}html[data-theme=night] .invoice-editor-view .document-brand>span{background:color-mix(in srgb, var(--theme-primary) 78%, var(--theme-sidebar))!important;box-shadow:0 10px 24px #0000003d!important}html[data-theme=night] .invoice-editor-view .document-mark,html[data-theme=night] .invoice-editor-view .invoice-meta label,html[data-theme=night] .invoice-editor-view .invoice-summary-only .summary{background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:none!important}html[data-theme=night] .invoice-editor-view :is(.document-brand h4,.document-mark b,.items-head h4,.invoice-meta label>span,.invoice-summary-only .summary b){color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view :is(.document-brand p,.document-mark span,.document-mark small,.items-head p,.invoice-register-action small){color:var(--theme-muted)!important}html[data-theme=night] .invoice-editor-view .invoice-meta label>span:before{background:color-mix(in srgb, var(--theme-accent) 15%, var(--theme-surface-soft))!important;color:var(--theme-accent)!important}html[data-theme=night] .invoice-editor-view .invoice-meta .customer-field>span:before{background:color-mix(in srgb, var(--theme-primary) 18%, var(--theme-surface-soft))!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .invoice-editor-view .items-head h4:before{border:1px solid color-mix(in srgb, var(--theme-primary) 55%, var(--theme-border));background:color-mix(in srgb, var(--theme-primary) 24%, var(--theme-surface-soft))!important;color:var(--theme-accent)!important}html[data-theme=night] .invoice-editor-view .items-head .secondary{background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .items-wrap,html[data-theme=night] .invoice-editor-view .items tbody tr{background:var(--theme-surface-strong)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:0 10px 28px #0000002e!important}html[data-theme=night] .invoice-editor-view .items thead th{background:linear-gradient(180deg, color-mix(in srgb, var(--theme-primary) 72%, var(--theme-sidebar)), color-mix(in srgb, var(--theme-primary) 45%, var(--theme-sidebar)))!important;color:#fff!important}html[data-theme=night] .invoice-editor-view .items thead th.automatic-field-heading{background:color-mix(in srgb, var(--theme-primary) 38%, var(--theme-sidebar))!important}html[data-theme=night] .invoice-editor-view .items :is(td,tbody tr:hover td){color:var(--theme-text);border-color:var(--theme-border)!important;background:0 0!important}html[data-theme=night] .invoice-editor-view .items td:before{color:var(--theme-muted)!important}html[data-theme=night] .invoice-editor-view .items :is(input,select),html[data-theme=night] .invoice-editor-view .invoice-meta :is(input,select,textarea){-webkit-text-fill-color:var(--theme-text);background:var(--theme-surface-soft)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .items :is(input,select):focus,html[data-theme=night] .invoice-editor-view .invoice-meta :is(input,select,textarea):focus{background:var(--theme-surface-strong)!important;border-color:var(--theme-focus)!important;box-shadow:0 0 0 4px color-mix(in srgb, var(--theme-focus) 18%, transparent)!important}html[data-theme=night] .invoice-editor-view .items :is(input:disabled,input[readonly],select:disabled){opacity:1!important;background:color-mix(in srgb, var(--theme-surface-soft) 76%, var(--theme-muted) 8%)!important;border-color:color-mix(in srgb, var(--theme-border) 78%, var(--theme-muted))!important;color:var(--theme-muted)!important;-webkit-text-fill-color:var(--theme-muted)!important}html[data-theme=night] .invoice-editor-view .product-field-actions{background:var(--theme-surface-soft)!important;border-color:var(--theme-border)!important}html[data-theme=night] .invoice-editor-view .product-field-actions>*+*{border-inline-start-color:var(--theme-border)!important}html[data-theme=night] .invoice-editor-view .product-field-actions :is(.product-voice-search,.product-list-trigger),html[data-theme=night] .invoice-editor-view .customer-field-control>.customer-field-list{background:color-mix(in srgb, var(--theme-primary) 16%, var(--theme-surface-soft))!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .invoice-editor-view .customer-field-entry>.customer-quick-create{background:color-mix(in srgb, var(--theme-accent) 15%, var(--theme-surface-soft))!important;border-color:color-mix(in srgb, var(--theme-accent) 38%, var(--theme-border))!important;color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .product-field-actions .product-search-clear,html[data-theme=night] .invoice-editor-view .customer-field-control>.customer-field-clear,html[data-theme=night] .invoice-editor-view .items .remove{background:color-mix(in srgb, var(--theme-danger) 14%, var(--theme-surface-soft))!important;border-color:color-mix(in srgb, var(--theme-danger) 42%, var(--theme-border))!important;color:var(--theme-danger)!important}html[data-theme=night] .invoice-editor-view .items .quantity-stepper button,html[data-theme=night] .invoice-editor-view .discount-mobile-entry>button{background:color-mix(in srgb, var(--theme-accent) 14%, var(--theme-surface-soft))!important;border-color:color-mix(in srgb, var(--theme-accent) 35%, var(--theme-border))!important;color:var(--theme-accent)!important}html[data-theme=night] .invoice-editor-view .items .quantity-stepper button:disabled,html[data-theme=night] .invoice-editor-view .discount-mobile-entry>button:disabled{opacity:.48!important;background:var(--theme-surface-soft)!important;border-color:var(--theme-border)!important;color:var(--theme-muted)!important}html[data-theme=night] .invoice-editor-view .items .net{color:var(--theme-success)!important}html[data-theme=night] .invoice-editor-view .invoice-summary-only .summary>div{border-color:var(--theme-border)!important}html[data-theme=night] .invoice-editor-view .invoice-summary-only .summary .grand,html[data-theme=night] .invoice-editor-view .amount-in-words{background:color-mix(in srgb, var(--theme-primary) 13%, var(--theme-surface-soft))!important;border-color:color-mix(in srgb, var(--theme-primary) 36%, var(--theme-border))!important;color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .invoice-summary-only .summary .grand b,html[data-theme=night] .invoice-editor-view .amount-in-words :is(span,b){color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .payment-action.invoice-register-action{background:color-mix(in srgb, var(--theme-surface-strong) 94%, transparent)!important;border-color:var(--theme-border)!important;box-shadow:0 16px 42px #00000057!important}html[data-theme=night] .invoice-editor-view .invoice-register-action b{color:var(--theme-text)!important}html[data-theme=night] .invoice-editor-view .invoice-register-action .payment-submit{background:linear-gradient(135deg, var(--theme-primary), var(--theme-primary-hover))!important;color:#fff!important}}@media screen and (max-width:720px){html[data-theme=night] .invoice-editor-view .items tbody td:first-child{background:color-mix(in srgb, var(--theme-accent) 16%, var(--theme-surface-soft))!important;border:1px solid color-mix(in srgb, var(--theme-accent) 36%, var(--theme-border))!important;color:var(--theme-accent)!important}html[data-theme=night] .invoice-editor-view .items tbody td:nth-child(8){background:color-mix(in srgb, var(--theme-success) 11%, var(--theme-surface-soft))!important;border:1px solid color-mix(in srgb, var(--theme-success) 28%, var(--theme-border))!important}}@media screen{html[data-theme=night] .management-insights{--mi-green:var(--theme-primary);--mi-green-2:var(--theme-primary-hover);--mi-gold:var(--theme-accent);--mi-cream:var(--theme-neutral-surface);--mi-line:var(--theme-border);--mi-muted:var(--theme-muted);background:var(--theme-page)!important;color:var(--theme-text)!important}html[data-theme=night] .management-insights :is(.management-kpis>article,.recommendation-list>article,.insight-alert,.daily-brief li){background:var(--theme-neutral-surface)!important;border-color:color-mix(in srgb, var(--theme-border) 78%, #7b848b)!important;color:var(--theme-text)!important;box-shadow:0 10px 28px #0003!important}html[data-theme=night] .management-insights .management-card{background:var(--theme-surface)!important;border-color:var(--theme-border)!important}html[data-theme=night] .management-insights .daily-brief{background:linear-gradient(155deg, var(--theme-surface), var(--theme-neutral-recessed))!important}html[data-theme=night] .management-insights :is(.management-card>header h3,.management-kpis strong,.recommendation-list>article>div>b,.insight-alert b,.daily-brief li b,.management-empty b){color:var(--theme-text)!important}html[data-theme=night] .management-insights :is(.management-card>header p,.management-card>header small,.management-kpis small,.management-kpis p,.recommendation-list p,.insight-alert p,.management-empty,.management-empty span,.forecast-card>footer,.forecast-card>footer small,.chart-touch-hint){color:var(--theme-muted)!important}html[data-theme=night] .management-insights .insight-alert.critical{background:color-mix(in srgb, var(--theme-danger) 9%, var(--theme-neutral-surface))!important;border-right-color:var(--theme-danger)!important}html[data-theme=night] .management-insights .insight-alert.warning{background:color-mix(in srgb, var(--theme-accent) 8%, var(--theme-neutral-surface))!important;border-right-color:var(--theme-accent)!important}html[data-theme=night] .management-insights .insight-alert.success{background:color-mix(in srgb, var(--theme-success) 8%, var(--theme-neutral-surface))!important;border-right-color:var(--theme-success)!important}html[data-theme=night] .management-insights :is(.management-calculation-note,.management-calculation-note[open],.forecast-confidence,.alert-filters,.chart-value-panel){background:var(--theme-neutral-recessed)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .management-insights .management-calculation-note[open]{background:var(--theme-neutral-raised)!important;border-color:color-mix(in srgb, var(--theme-accent) 42%, var(--theme-border))!important}html[data-theme=night] .management-insights .management-calculation-note>summary>span,html[data-theme=night] .management-insights .recommendations-card>header em{background:color-mix(in srgb, var(--theme-accent) 16%, var(--theme-neutral-recessed))!important;color:var(--theme-accent)!important}html[data-theme=night] .management-insights .management-calculation-content p,html[data-theme=night] .management-insights .management-calculation-content li{color:var(--theme-muted)!important}html[data-theme=night] .management-insights .calculation-formula{background:color-mix(in srgb, var(--theme-accent) 10%, var(--theme-neutral-recessed))!important;border-inline-start-color:var(--theme-accent)!important;color:var(--theme-text)!important}html[data-theme=night] .management-insights .calculation-example{background:color-mix(in srgb, var(--theme-success) 8%, var(--theme-neutral-recessed))!important;border-color:color-mix(in srgb, var(--theme-success) 30%, var(--theme-border))!important}html[data-theme=night] .management-insights .calculation-caution{border-top-color:color-mix(in srgb, var(--theme-accent) 35%, var(--theme-border))!important;color:color-mix(in srgb, var(--theme-accent) 75%, var(--theme-text))!important}html[data-theme=night] .management-insights :is(.recommendation-list>article>div>span small,.alert-filters button,.recommendation-list footer button,.insight-alert>button){background:var(--theme-neutral-recessed)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .management-insights .alert-filters button.active,html[data-theme=night] .management-insights .recommendation-list footer button:first-child{background:color-mix(in srgb, var(--theme-primary) 18%, var(--theme-neutral-recessed))!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .management-insights .recommendation-list footer .dismiss-recommendation{background:color-mix(in srgb, var(--theme-accent) 10%, var(--theme-neutral-recessed))!important;color:color-mix(in srgb, var(--theme-accent) 72%, var(--theme-text))!important}html[data-theme=night] .management-insights :is(.management-kpi-icon,.alert-mark,.daily-brief li>i){background:color-mix(in srgb, var(--theme-primary) 15%, var(--theme-neutral-recessed))!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .management-insights :is(.forecast-kpi .management-kpi-icon,.warning .alert-mark){background:color-mix(in srgb, var(--theme-accent) 15%, var(--theme-neutral-recessed))!important;color:var(--theme-accent)!important}html[data-theme=night] .management-insights :is(.alert-kpi .management-kpi-icon,.critical .alert-mark){background:color-mix(in srgb, var(--theme-danger) 15%, var(--theme-neutral-recessed))!important;color:var(--theme-danger)!important}html[data-theme=night] .management-insights .success .alert-mark{background:color-mix(in srgb, var(--theme-success) 15%, var(--theme-neutral-recessed))!important;color:var(--theme-success)!important}html[data-theme=night] .management-insights .recommendation-list>article>i{background:color-mix(in srgb, var(--theme-primary) 34%, var(--theme-neutral-recessed))!important;color:var(--theme-accent)!important}html[data-theme=night] .management-insights .brief-score>span{background:conic-gradient(var(--theme-primary) 0 var(--score), var(--theme-neutral-raised) var(--score) 360deg)!important;box-shadow:inset 0 0 0 14px var(--theme-neutral-recessed)!important}html[data-theme=night] .management-insights .chart-value-panel.forecast{background:color-mix(in srgb, var(--theme-accent) 10%, var(--theme-neutral-recessed))!important;border-color:color-mix(in srgb, var(--theme-accent) 36%, var(--theme-border))!important;color:var(--theme-accent)!important}html[data-theme=night] .management-insights :is(.chart-grid-line,.chart-axis-line,.chart-axis-tick){stroke:color-mix(in srgb, var(--theme-border) 78%, var(--theme-muted))!important}html[data-theme=night] .management-insights :is(.chart-label,.chart-axis-title,.chart-axis-label){fill:var(--theme-muted)!important}html[data-theme=night] .management-insights .actual-point{fill:var(--theme-neutral-raised)!important;stroke:var(--theme-primary-hover)!important}html[data-theme=night] .management-insights .forecast-card>footer,html[data-theme=night] .management-insights :is(.alerts-card,.recommendations-card)>header{border-color:var(--theme-border)!important}html[data-theme=night] .app-page .list-section-head .search{background:var(--theme-neutral-recessed)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .app-page .table-card .invoice-no{box-shadow:inset 0 0 0 1px #ffffff06;background:color-mix(in srgb, var(--theme-accent) 14%, var(--theme-neutral-raised))!important;border-color:color-mix(in srgb, var(--theme-accent) 38%, var(--theme-border))!important;color:var(--theme-accent)!important}html[data-theme=night] .cashier-dashboard{--cashier-paper:var(--theme-neutral-surface);color:var(--theme-text)!important}html[data-theme=night] .cashier-dashboard :is(.cashier-kpis article:not(.primary-kpi),.dashboard-card,.settlement-legend p,.customers-card p){background:var(--theme-neutral-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .cashier-dashboard .cashier-kpis .primary-kpi{border-color:color-mix(in srgb, var(--theme-primary) 70%, var(--theme-border))!important;color:#fff!important;background:linear-gradient(140deg,#17493d,#216453)!important}html[data-theme=night] .cashier-dashboard .cashier-kpis .primary-kpi :is(strong,small,p){color:#fff!important}html[data-theme=night] .cashier-dashboard :is(.cashier-kpis strong,.dashboard-card h4,.settlement-ring b,.settlement-legend b,.rank-list p>b,.rank-list>div>strong,.finance-summary p b,.customers-card b,.customers-card strong,.recent-table td strong){color:var(--theme-text)!important}html[data-theme=night] .cashier-dashboard :is(.cashier-kpis small,.cashier-kpis p,.dashboard-card header>b,.dashboard-card header>small,.settlement-ring small,.settlement-legend span,.settlement-legend small,.rank-list p>small,.finance-summary p,.customers-card small,.recent-table td){color:var(--theme-muted)!important}html[data-theme=night] .cashier-dashboard :is(.kpi-icon,.rank-no,.recent-table td b){background:var(--theme-neutral-recessed)!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .cashier-dashboard :is(.daily-bars,.hour-bars,.recent-table th,.recent-table td,.finance-summary p){border-color:var(--theme-border)!important}html[data-theme=night] .cashier-dashboard .recent-table th{background:var(--theme-neutral-recessed)!important;color:var(--theme-muted)!important}html[data-theme=night] .cashier-dashboard :is(.finance-summary .net-row,.settlement-legend p,.customers-card p){background:var(--theme-neutral-recessed)!important}html[data-theme=night] .report-center{color:var(--theme-text)!important}html[data-theme=night] .report-center :is(.report-type-panel,.report-filter-panel,.report-chart-card,.report-table-card,.report-metrics article){background:var(--theme-neutral-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:0 12px 32px #0003!important}html[data-theme=night] .report-center :is(.report-type-selector,.report-tabs button:not(.active),.report-type-chips button:not(.active),.report-actions button:not(.primary),.report-table-wrap){background:var(--theme-neutral-recessed)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme=night] .report-center :is(.report-type-copy strong,.report-type-selector select,.report-filter-panel header strong,.report-chart-card header strong,.report-table-card header strong,.report-filters label,.report-metrics article strong,.report-bar>div>span b,.report-bar>div>strong,.report-table-wrap td,.report-table-wrap .cell-money){color:var(--theme-text)!important}html[data-theme=night] .report-center :is(.report-type-copy small,.report-type-selector small,.report-filter-panel header small,.report-chart-card header small,.report-table-card header small,.report-metrics article span,.report-bar>div,.report-bar>div>span small){color:var(--theme-muted)!important}html[data-theme=night] .report-center :is(.report-metrics article i,.report-type-chips button:not(.active) i){background:var(--theme-neutral-raised)!important;color:var(--theme-primary-hover)!important}html[data-theme=night] .report-center .report-table-wrap tbody tr{background:var(--theme-neutral-surface)!important}html[data-theme=night] .report-center .report-table-wrap tbody tr:nth-child(2n){background:var(--theme-neutral-recessed)!important}html[data-theme=night] .report-center .report-table-wrap tbody tr:hover{background:var(--theme-neutral-raised)!important}html[data-theme=night] .report-center :is(.report-table-wrap td,.report-table-wrap,.report-bar p){border-color:var(--theme-border)!important}html[data-theme=night] .report-center .report-bar p{background:var(--theme-neutral-recessed)!important}html[data-theme=light] .app-page .table-card .issuer-cell{color:var(--theme-text)!important}html[data-theme=night] .app-page .table-card :is(.invoice-no,.issuer-cell){box-shadow:inset 0 0 0 1px #ffffff06;background:color-mix(in srgb, var(--theme-accent) 14%, var(--theme-neutral-raised))!important;border-color:color-mix(in srgb, var(--theme-accent) 38%, var(--theme-border))!important;color:var(--theme-accent)!important}}.invoice-editor-view .customer-identity-row{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.invoice-editor-view .customer-identity-row>.lookup{flex:270px;min-width:0;max-width:100%}.invoice-editor-view .customer-identity-row>.customer-balance-badge{overflow-wrap:anywhere;flex:0 auto;min-width:100px;max-width:100%;height:auto;min-height:50px;margin:0;padding:6px 10px;display:grid}.invoice-editor-view .customer-identity-row .customer-balance-badge span{font-size:10px}.invoice-editor-view .customer-identity-row .customer-balance-badge b{font-size:12px}.topbar .top-actions>.workspace-help-slot{order:70;align-items:center;width:auto;display:flex;flex:none!important}.wm-help .wm-help-launch{z-index:auto;white-space:nowrap;min-width:64px;min-height:44px;margin:12px;position:static;inset:auto}.workspace-help-slot .wm-help-launch{border-radius:15px 5px;height:52px;margin:0}.workspace-help-slot .wm-help-launch-icon{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:21px;height:21px}.workspace-help-slot .wm-help-launch-label{white-space:nowrap}@media (max-width:760px){.topbar .top-actions{flex-wrap:nowrap!important;gap:2px!important}.topbar .top-actions>.fiscal-year-selector{width:88px!important;min-width:88px!important;max-width:88px!important}.topbar .top-actions>:is(.new-invoice-btn,.barcode-trigger,.smart-invoice-top-button,.parked-sales-trigger,.park-sale-button),.topbar .top-actions>.workspace-help-slot,.topbar .top-actions>.workspace-help-slot .wm-help-launch{border-radius:13px 5px!important;flex-basis:40px!important;gap:0!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:2px!important}.topbar .top-actions>.workspace-help-slot{justify-content:center;align-items:center;display:flex!important}.topbar .top-actions .new-invoice-label,.topbar .top-actions .wm-help-launch-label{display:none!important}.topbar .top-actions>.workspace-help-slot .wm-help-launch-icon{width:25px;height:25px}.topbar .top-actions .new-invoice-btn>span:first-child,.topbar .top-actions .smart-invoice-top-button>span:first-child,.topbar .top-actions .barcode-trigger>span,.topbar .top-actions .parked-sales-trigger>b,.topbar .top-actions .park-sale-button>span{width:36px!important;min-width:36px!important;height:36px!important}}@media print{.workspace-help-slot,.customer-identity-row>.customer-balance-badge{display:none!important}}
