.products-overview{color:#fff;background:linear-gradient(125deg,#172237,#253853 64%,#4a1f2b);border-radius:26px;grid-template-columns:1.2fr .8fr;gap:18px;margin-bottom:18px;padding:24px;display:grid;box-shadow:0 20px 48px #1622362e}.products-overview-copy{align-items:center;gap:16px;display:flex}.products-overview-copy>span,.product-detail-icon{color:#7db4ff;background:#ffffff1f;border-radius:19px;place-items:center;width:58px;height:58px;display:grid}.products-overview-copy h2{margin:2px 0;font-size:21px}.products-overview-copy p,.products-overview-copy small{color:#c3cedc;margin:0}.products-overview-stats{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.products-overview-stats article{background:#ffffff12;border:1px solid #ffffff1a;border-radius:16px;gap:2px;padding:13px;display:grid}.products-overview-stats svg{color:#74adff;width:19px}.products-overview-stats span{color:#cbd4df;font-size:12px}.products-overview-stats strong{font-size:20px}.products-overview-stats .is-warning svg,.products-overview-stats .is-warning strong{color:#ffbd57}.product-create-card,.product-manage-panel{padding:0;overflow:hidden}.product-create-card:hover,.product-manage-panel:hover{transform:none}.product-section-title{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:17px 20px;display:flex}.product-section-title>span{width:43px;height:43px;color:var(--info);background:#eaf3ff;border-radius:14px;place-items:center;display:grid}.product-section-title h2{margin:0;font-size:17px}.product-section-title p,.product-list-head p{color:var(--muted);margin:1px 0 0;font-size:12px}.product-create-grid{grid-template-columns:1.4fr repeat(4,1fr);align-items:start;gap:14px;padding:20px;display:grid}.product-create-submit{align-self:center;min-height:48px;margin-top:27px}.product-list-head>span{color:var(--muted);background:#fff;border-radius:12px;padding:7px 12px}.product-catalog-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.product-catalog-toolbar>label{border:1px solid var(--line);background:#fff;border-radius:16px;flex:1;align-items:center;gap:10px;max-width:650px;min-height:52px;padding:0 15px;display:flex;box-shadow:0 8px 25px #1d23330d}.product-catalog-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0}.product-catalog-toolbar kbd{color:var(--muted);background:#f2f4f7;border-radius:8px;padding:4px 8px;font-family:inherit}.product-catalog-toolbar>div{background:#e9edf3;border-radius:14px;padding:4px;display:flex}.product-catalog-toolbar button{cursor:pointer;color:#69717e;background:0 0;border:0;border-radius:11px;align-items:center;gap:6px;padding:9px 13px;display:flex}.product-catalog-toolbar button.active{color:#202631;background:#fff;box-shadow:0 5px 15px #1d233314}.product-catalog-toolbar button.warning svg{width:17px;color:var(--warning)}.product-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.inventory-product-card{border:1px solid #fff;border-top:3px solid var(--info);background:#ffffffdb;border-radius:21px;transition:all .18s;overflow:hidden;box-shadow:0 12px 35px #1d233312}.inventory-product-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px #1d23331c}.inventory-product-card.low-stock{border-top-color:var(--warning)}.inventory-product-card header{align-items:center;gap:12px;padding:17px;display:flex}.inventory-product-card header>span{width:43px;height:43px;color:var(--info);background:#eaf3ff;border-radius:14px;place-items:center;display:grid}.inventory-product-card header>div{flex:1;display:grid}.inventory-product-card header strong{font-size:16px}.inventory-product-card header small{color:var(--muted)}.inventory-product-card header i{color:#a96700;background:#fff4dd;border-radius:99px;align-items:center;gap:4px;padding:5px 9px;font-size:11px;font-style:normal;font-weight:800;display:flex}.inventory-product-card header i svg{width:15px}.inventory-product-values{grid-template-columns:repeat(3,1fr);gap:8px;padding:0 17px 16px;display:grid}.inventory-product-values span{background:#f6f8fb;border-radius:13px;padding:11px}.inventory-product-values small,.inventory-product-values strong{display:block}.inventory-product-values small{color:var(--muted);font-size:11px}.inventory-product-card footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 17px;display:flex}.inventory-product-card footer>span,.inventory-product-card footer a{align-items:center;gap:6px;font-size:12px;font-weight:800;display:flex}.inventory-product-card footer svg{width:17px}.inventory-product-card footer a{color:var(--accent);background:var(--accent-soft);border-radius:10px;padding:8px 11px}.product-search-empty,.product-cardex-empty{color:var(--muted);background:#ffffffa6;border:1px dashed #cfd5de;border-radius:20px;grid-column:1/-1;place-items:center;gap:5px;padding:45px;display:grid}.product-back{color:#5f6875;align-items:center;gap:7px;margin-bottom:12px;font-weight:700;display:inline-flex}.product-detail-hero{color:#fff;background:linear-gradient(125deg,#18243a,#28466d);border-radius:25px;justify-content:space-between;align-items:center;gap:20px;padding:24px 26px;display:flex;box-shadow:0 18px 45px #17273f2e}.product-detail-hero>div{align-items:center;gap:15px;display:flex}.product-detail-hero h1{margin:1px 0;font-size:23px}.product-detail-hero p,.product-detail-hero small{color:#c5d2e2;margin:0}.product-stock-pill{color:#087943;background:#e5f9ee;border-radius:13px;align-items:center;gap:7px;padding:10px 14px;font-weight:900;display:flex}.product-stock-pill.low{color:#a96600;background:#fff1da}.product-detail-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0;display:grid}.product-detail-stats article{background:#fff;border-radius:16px;gap:3px;padding:15px 17px;display:grid;box-shadow:0 8px 25px #1d23330d}.product-detail-stats span{color:var(--muted);font-size:12px}.product-management-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.product-edit-form,.stock-adjust-form{grid-template-columns:repeat(2,1fr);gap:13px;padding:18px;display:grid}.product-edit-form .btn,.stock-adjust-form .btn{align-self:end}.stock-adjust-form .field:nth-of-type(3){grid-column:1/-1}.product-cardex{box-shadow:var(--shadow);background:#ffffffd1;border-radius:22px;margin-top:20px;overflow:hidden}.product-cardex-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:17px 20px;display:flex}.product-cardex-head>div{align-items:center;gap:11px;display:flex}.product-cardex-head>div>span{width:42px;height:42px;color:var(--info);background:#eaf3ff;border-radius:13px;place-items:center;display:grid}.product-cardex-head h2{margin:0;font-size:18px}.product-cardex-head p{color:var(--muted);margin:0;font-size:12px}.product-cardex-list article{border-bottom:1px solid var(--line);grid-template-columns:42px minmax(180px,1.3fr) 120px 120px minmax(180px,1fr);align-items:center;gap:12px;padding:14px 20px;display:grid}.movement-icon{border-radius:13px;place-items:center;width:40px;height:40px;display:grid}.movement-in .movement-icon{color:var(--success);background:#e7f8ef}.movement-out .movement-icon{color:var(--danger);background:#ffeaed}.movement-main,.movement-quantity,.product-cardex-list article>a,.movement-manual{display:grid}.movement-main small,.movement-quantity small,.product-cardex-list article>a small,.movement-manual small{color:var(--muted);font-size:11px}.movement-in .movement-quantity>strong{color:var(--success)}.movement-out .movement-quantity>strong{color:var(--danger)}.product-cardex-list article>a{color:#225fae;background:#eef5ff;border-radius:11px;padding:8px 11px}@media (max-width:1150px){.products-overview{grid-template-columns:1fr}.product-create-grid{grid-template-columns:repeat(3,1fr)}.product-name-field{grid-column:span 2}.product-management-grid{grid-template-columns:1fr}}@media (max-width:820px){.product-create-grid{grid-template-columns:1fr 1fr}.product-name-field{grid-column:1/-1}.product-card-grid{grid-template-columns:1fr}.product-catalog-toolbar,.product-detail-hero{flex-direction:column;align-items:stretch}.product-catalog-toolbar>label{max-width:none}.product-detail-stats{grid-template-columns:repeat(2,1fr)}.product-edit-form,.stock-adjust-form{grid-template-columns:1fr}.stock-adjust-form .field:nth-of-type(3){grid-column:auto}.product-cardex-list article{grid-template-columns:42px 1fr auto}.product-cardex-list time{grid-column:2}.movement-quantity{grid-area:1/3/3}.product-cardex-list article>a,.movement-manual{grid-column:2/4}}@media (max-width:520px){.products-overview-stats,.product-create-grid{grid-template-columns:1fr}.product-name-field{grid-column:auto}.product-create-submit{width:100%;margin-top:4px}.inventory-product-values{grid-template-columns:1fr 1fr}.inventory-product-values span:last-child{grid-column:1/-1}.inventory-product-card footer{flex-direction:column;align-items:stretch;gap:10px}.inventory-product-card footer a{justify-content:center}.product-catalog-toolbar>div{overflow:auto}.product-cardex-list article{padding:13px}.product-cardex-head p{display:none}}
.reference-invoice{color:#111;background:#fff;border:1px solid #d8d8d8;border-radius:0;width:min(100%,900px);max-width:900px;min-height:1273px;margin:0 auto;padding:54px 24px 34px;font-size:14px;position:relative;box-shadow:0 18px 55px #1b24301c}.reference-invoice-header{grid-template-columns:1fr 1.15fr 1fr;align-items:center;min-height:200px;padding:0 24px;display:grid}.reference-invoice-meta{text-align:right;direction:rtl;justify-self:start}.reference-invoice-meta p{gap:6px;margin:5px 0;line-height:1.5;display:flex}.reference-invoice-meta span{font-weight:500}.reference-invoice-meta strong{font-weight:900}.reference-invoice-brand{text-align:center;justify-items:center;display:grid}.reference-logo{border:5px solid #f20b15;border-radius:50%;place-items:center;width:112px;height:112px;padding:8px;display:grid}.reference-logo span{color:#fff;background:#f20b15;border-radius:50%;place-items:center;width:100%;height:100%;font-family:Arial,sans-serif;font-size:62px;font-weight:900;line-height:1;display:grid}.reference-invoice-brand h1{margin:14px 0 0;font-size:20px}.reference-invoice-brand h2{margin:1px 0;font-size:17px;font-weight:800}.reference-gold-line{background:#ef9e5e;height:5px;margin:8px 0 23px}.reference-customer{background:#f2f2f2;border:1px solid #d9d9d9;grid-template-columns:1fr 1fr 1.35fr;gap:18px;padding:18px 22px;display:grid}.reference-customer p{gap:6px;margin:0;display:flex}.reference-customer strong{white-space:nowrap}.reference-table-wrap{border:1px solid #d5d5d5;margin-top:22px;overflow:hidden}.reference-table-wrap table{table-layout:fixed;min-width:0;font-size:13px}.reference-table-wrap th,.reference-table-wrap td{text-align:center;white-space:normal;border-bottom:1px solid #d5d5d5;border-left:1px solid #d5d5d5;height:64px;padding:9px 7px}.reference-table-wrap th{color:#111;background:#efefef;height:70px;font-size:12px}.reference-table-wrap th:first-child{width:7%}.reference-table-wrap th:nth-child(2){width:38%}.reference-table-wrap th:nth-child(3){width:7%}.reference-table-wrap th:nth-child(4){width:10%}.reference-table-wrap th:nth-child(5){width:13%}.reference-table-wrap th:nth-child(6){width:14%}.reference-table-wrap th:nth-child(7){width:11%}.reference-table-wrap tr:last-child td{border-bottom:0}.reference-table-wrap tbody tr:hover{background:0 0}.reference-financial-row{grid-template-columns:1fr 52%;align-items:start;gap:44px;margin-top:26px;display:grid}.reference-payment{padding:4px 12px;line-height:1.9}.reference-payment p{margin:1px 0}.reference-payment bdi{direction:ltr;font-weight:800;display:inline-block}.reference-totals{border:1px solid #d5d5d5}.reference-totals p{border-bottom:1px solid #d5d5d5;justify-content:space-between;align-items:center;min-height:38px;margin:0;padding:7px 14px;display:flex}.reference-totals p:last-child{border-bottom:0}.reference-totals span{font-weight:800}.reference-totals .reference-final{color:#e11925;background:#f0f0f0;font-weight:900}.reference-installments{border:1px solid #d5d5d5;margin-top:22px}.reference-installments h3{background:#efefef;margin:0;padding:9px 13px;font-size:14px}.reference-installments>div{grid-template-columns:repeat(3,1fr);display:grid}.reference-installments p{border-top:1px solid #ddd;border-left:1px solid #ddd;gap:2px;margin:0;padding:9px 12px;display:grid}.reference-installments time{color:#666;font-size:12px}.reference-note{margin:20px 10px 0;line-height:1.9}.reference-signatures{text-align:center;grid-template-columns:1fr 1fr;gap:130px;min-height:315px;margin-top:25px;padding:0 110px;display:grid}.reference-signatures>div{flex-direction:column;align-items:center;display:flex}.reference-signatures>div>span{border-bottom:1px dotted #777;width:130px;margin-top:150px}.reference-stamp{color:#203a89;border:5px double #203a89;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:142px;height:142px;margin-top:24px;display:flex;transform:rotate(-7deg)}.reference-stamp b{font:900 52px/1 Arial,sans-serif}.reference-stamp span{max-width:105px;font-size:11px;font-weight:900}.reference-stamp small{font-size:9px}.reference-footer{text-align:center;border-top:2px solid #777;justify-content:center;align-items:center;gap:10px;min-height:54px;padding:15px 18px;display:flex;position:absolute;bottom:24px;left:24px;right:24px}.reference-footer span{direction:ltr}.reference-footer strong{font-weight:500}.reference-invoice .money-in-words{display:none}@media (max-width:760px){.content:has(.reference-invoice){overflow-x:auto}.reference-invoice{transform-origin:100% 0;width:900px;max-width:none;min-height:1273px}.invoice-actions{width:max-content;position:sticky;right:0}}@media print{@page{size:A4 portrait;margin:0}.reference-invoice{width:210mm;max-width:none;min-height:297mm;box-shadow:none;page-break-inside:avoid;border:0;margin:0;padding:12mm 6mm 9mm;font-size:10pt}.reference-invoice-header{min-height:47mm}.reference-logo{width:28mm;height:28mm}.reference-customer{padding:4mm 5mm}.reference-table-wrap{margin-top:6mm}.reference-table-wrap th,.reference-table-wrap td{height:15mm;padding:2mm 1.5mm;font-size:8.5pt}.reference-financial-row{margin-top:6mm}.reference-signatures{min-height:68mm}.reference-footer{bottom:6mm;left:6mm;right:6mm}.invoice-actions{display:none!important}}.reference-logo{background:0 0;border:0;padding:0;overflow:hidden}.reference-logo img{object-fit:contain;width:100%;height:100%;display:block}.reference-store-meta{text-align:right;direction:rtl;justify-self:end;max-width:235px}.reference-store-meta p{grid-template-columns:auto 1fr;gap:6px;margin:5px 0;line-height:1.55;display:grid}.reference-store-meta span{color:#555;white-space:nowrap;font-weight:600}.reference-store-meta strong{overflow-wrap:anywhere;font-weight:850}.reference-stamp{border:0;overflow:visible;transform:rotate(-3deg)}.reference-stamp img{object-fit:contain;filter:saturate(1.08)contrast(1.04);width:100%;height:100%;display:block}.reference-footer strong:first-child{white-space:nowrap;font-weight:900}
.financial-report-toolbar{box-shadow:var(--shadow);background:#fff;border-radius:17px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:12px 14px;display:flex}.financial-report-toolbar>a,.financial-report-actions,.financial-report-toolbar form,.financial-report-toolbar label{align-items:center;gap:8px;display:flex}.financial-report-toolbar>a{font-weight:800}.financial-report-toolbar svg{width:18px}.financial-report-toolbar input{border:1px solid var(--line);border-radius:10px;min-height:40px;padding:7px 9px}.financial-report-paper{color:#16191f;background:#fff;border:1px solid #d8dbe1;width:min(100%,1180px);margin:auto;padding:36px;box-shadow:0 18px 55px #1b24301c}.financial-report-paper>header{border-bottom:4px solid #e22535;grid-template-columns:70px 1fr auto;align-items:center;gap:16px;padding-bottom:20px;display:grid}.financial-report-logo{color:#fff;background:#ed172c;border-radius:50%;place-items:center;width:64px;height:64px;font:900 36px Arial;display:grid}.financial-report-paper h1{margin:0;font-size:24px}.financial-report-paper header p{color:#626b78;margin:2px 0}.financial-report-meta{text-align:left;grid-template-columns:auto auto;gap:2px 12px;display:grid}.financial-report-meta span{color:#747c87;font-size:12px}.financial-report-summary{grid-template-columns:repeat(5,1fr);gap:9px;margin:18px 0 26px;display:grid}.financial-report-summary article{background:#f3f5f8;border-radius:11px;gap:3px;padding:12px;display:grid}.financial-report-summary span{color:#69717d;font-size:11px}.financial-report-summary strong{font-size:13px}.financial-report-title{break-after:avoid;background:#f3f4f6;border-right:4px solid #ed172c;align-items:center;gap:9px;margin:25px 0 8px;padding:9px 11px;display:flex}.financial-report-title span{color:#ed172c;place-items:center;display:grid}.financial-report-title svg{width:18px}.financial-report-title h2{flex:1;margin:0;font-size:16px}.financial-report-title>strong{color:#666f7b;font-size:11px}.financial-report-table{border:1px solid #d9dce2;overflow:auto}.financial-report-table table{min-width:850px;font-size:11px}.financial-report-table th,.financial-report-table td{text-align:right;vertical-align:top;white-space:normal;border-bottom:1px solid #dfe2e7;border-left:1px solid #dfe2e7;padding:8px}.financial-report-table th{color:#262b33;background:#e9ebef}.financial-report-table tr{break-inside:avoid}.financial-report-table td>strong,.financial-report-table td>small,.report-line-item{display:block}.financial-report-table td>small{color:#747c87}.report-line-item{border-bottom:1px dotted #ccd0d7;padding:2px 0}.report-line-item:last-child{border-bottom:0}.report-in{color:#07824a;font-weight:900}.report-out{color:#cf1c32;font-weight:900}.financial-report-paper>footer{text-align:center;border-top:2px solid #747b85;margin-top:30px;padding-top:13px;font-size:11px}.export-pdf{background:linear-gradient(135deg,#fff,#fff1f3);border:1px solid #ffd2d7;grid-column:1/-1}.export-pdf .export-icon{color:#e51d33;background:#ffe5e9}@media (max-width:850px){.financial-report-toolbar{flex-direction:column;align-items:stretch}.financial-report-toolbar form{flex-wrap:wrap}.financial-report-actions .btn{flex:1}.financial-report-summary{grid-template-columns:1fr 1fr}.financial-report-paper{padding:18px}.financial-report-paper>header{grid-template-columns:55px 1fr}.financial-report-meta{text-align:right;grid-column:1/-1}}@media print{@page{size:A4 landscape;margin:8mm}.sidebar,.bottom-nav,.topbar,.financial-report-toolbar{display:none!important}.content{max-width:none!important;margin:0!important;padding:0!important}.financial-report-paper{width:100%;max-width:none;box-shadow:none;border:0;margin:0;padding:0;font-size:8pt}.financial-report-paper>header{padding-bottom:4mm}.financial-report-summary{gap:2mm;margin:4mm 0}.financial-report-summary article{padding:2.5mm}.financial-report-title{margin:5mm 0 2mm;padding:2mm 3mm}.financial-report-table{overflow:visible}.financial-report-table table{width:100%;min-width:0;font-size:7pt}.financial-report-table th,.financial-report-table td{padding:1.5mm}.financial-report-paper>footer{margin-top:7mm}}
body{color:#171a20;font-size:15.5px;line-height:1.7}.content{line-height:1.7}.topbar h1{font-size:24px}.topbar .eyebrow,.page-header p{color:#626a76;font-size:14px;line-height:1.7}.brand b,.brand-text strong{font-size:16px}.brand small,.brand-text small{font-size:12.5px;line-height:1.55}.nav a{min-height:48px;font-size:14px}.nav svg{width:20px;height:20px}.section-head h2,.panel-title h2,.finance-section-head h2,.sales-list-heading h2,.reports-heading h2{font-size:20px;line-height:1.45}.section-head p,.panel-title p{font-size:13.5px}.card h2,.card h3,.finance-form-card h2,.purchase-section h2,.sale-step h2{font-size:19px;line-height:1.5}.card p,.finance-form-card p,.purchase-section p,.sale-step p{font-size:13.5px;line-height:1.7}.field>span,.field>label,.field label{color:#404751;font-size:14px;line-height:1.55}.field input,.field select,.field textarea,.table-wrap input,.table-wrap select,.searchable-trigger,.persian-date-trigger{min-height:48px;padding-block:10px;font-size:15px}.field textarea{min-height:96px}.searchable-search{height:44px}.searchable-search input{height:40px;font-size:14px}.searchable-option{min-height:44px;font-size:14px}.searchable-no-result{font-size:13px}.money-in-words,.input-hint{font-size:12.5px;line-height:1.65}.btn{min-height:48px;padding:11px 18px;font-size:14.5px}.btn svg{width:19px;height:19px}table:not(.reference-invoice table):not(.financial-report-paper table) th{font-size:13.5px;line-height:1.5}table:not(.reference-invoice table):not(.financial-report-paper table) td{font-size:14px;line-height:1.65}.badge,.pill,.metric-trend,.transaction-type{font-size:12.5px}.muted,.hint{color:#626a76;font-size:13.5px;line-height:1.65}.kpi strong,.finance-stat strong,.metric-body>strong{font-size:20px}.kpi .muted,.finance-stat small,.metric-body>span{font-size:13px}.empty,.product-search-empty,.finance-empty-wide{font-size:14px}.bottom-nav a{font-size:11.5px}.bottom-nav svg{width:22px;height:22px}@media (max-width:820px){body{font-size:16px}.content{padding:14px 13px 104px}.topbar{min-height:68px;padding:14px 16px}.topbar h1{font-size:22px}.topbar .eyebrow{font-size:13px}.section-head{margin-top:24px}.section-head h2,.panel-title h2,.finance-section-head h2,.sales-list-heading h2,.reports-heading h2{font-size:19px}.card h2,.card h3,.finance-form-card h2,.purchase-section h2,.sale-step h2{font-size:18px}.card p,.finance-form-card p,.purchase-section p,.sale-step p,.muted,.hint,.field>span,.field>label,.field label{font-size:14px}.field input,.field select,.field textarea,.searchable-trigger,.persian-date-trigger{min-height:52px;font-size:16px}.searchable-option{min-height:48px;font-size:15px}.btn{min-height:50px;font-size:15px}.bottom-nav{height:76px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.bottom-nav a{min-width:62px;height:60px;font-size:12px}}@media print{.reference-invoice,.financial-report-paper{line-height:normal}.reference-invoice table,.financial-report-paper table{line-height:1.45}}
.checks-hero{color:#fff;background:linear-gradient(125deg,#182338,#2d3e5d 62%,#51212d);border-radius:25px;grid-template-columns:minmax(280px,1fr) 1.5fr;gap:18px;margin-bottom:18px;padding:24px;display:grid;box-shadow:0 18px 45px #1d2a411f}.checks-hero>div:first-child{align-items:center;gap:14px;display:flex}.checks-hero>div:first-child>span{color:#8fbeff;background:#ffffff17;border-radius:18px;place-items:center;width:56px;height:56px;display:grid}.checks-hero small,.checks-hero p{color:#c8d1df}.checks-hero h2{margin:2px 0;font-size:21px}.checks-hero p{margin:0}.checks-hero-stats{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.checks-hero-stats article{background:#ffffff10;border:1px solid #ffffff17;border-radius:15px;gap:3px;padding:12px;display:grid}.checks-hero-stats svg{color:#82b8ff;width:19px}.checks-hero-stats span{color:#cbd4e0;font-size:12.5px}.checks-hero-stats strong{font-size:16px}.checks-hero-stats .warning svg,.checks-hero-stats .warning strong{color:#ffc05f}.checks-hero-stats .danger svg,.checks-hero-stats .danger strong{color:#ff8290}.issued-check-create{padding:0;overflow:hidden}.issued-check-create:hover{transform:none}.issued-check-create>header{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:18px 20px;display:flex}.issued-check-create>header>span{width:44px;height:44px;color:var(--accent);background:#fff0f2;border-radius:14px;place-items:center;display:grid}.issued-check-create h2{margin:0}.issued-check-create p{color:var(--muted);margin:2px 0 0}.issued-check-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:14px;padding:20px;display:grid}.check-purpose{grid-column:span 2}.check-notes{grid-column:span 3}.issued-check-submit{align-self:end}.issued-check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.issued-check-card{background:#ffffffdc;border:1px solid #fff;border-top:3px solid #3d83ed;border-radius:21px;overflow:hidden;box-shadow:0 12px 34px #1d233312}.issued-check-card.near{border-top-color:#f1a10d}.issued-check-card.overdue,.issued-check-card.bounced{border-top-color:#e7283d}.issued-check-card.cleared{border-top-color:#16a05d}.issued-check-card.cancelled{opacity:.72;border-top-color:#9299a4}.issued-check-card>header{align-items:center;gap:12px;padding:17px 18px;display:flex}.check-card-icon{color:#2877e7;background:#eaf3ff;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.overdue .check-card-icon,.bounced .check-card-icon{color:#d91d34;background:#ffeaed}.cleared .check-card-icon{color:#0c8b50;background:#e6f8ee}.issued-check-card header>div{flex:1}.issued-check-card h3{margin:1px 0;font-size:17px}.issued-check-card header p{color:var(--muted);margin:0;font-size:13px}.check-status{color:#2267bb;background:#edf4ff;border-radius:99px;padding:6px 10px;font-size:12px;font-weight:900}.near .check-status{color:#a66600;background:#fff4df}.overdue .check-status,.bounced .check-status{color:#c7142b;background:#ffeaed}.cleared .check-status{color:#087943;background:#e8faef}.check-card-data{grid-template-columns:repeat(4,1fr);gap:8px;padding:0 17px 15px;display:grid}.check-card-data>span{background:#f5f7fa;border-radius:13px;padding:11px;position:relative}.check-card-data svg{color:#7b8491;width:16px}.check-card-data small,.check-card-data strong,.check-card-data em{display:block}.check-card-data small{color:#777f8b;font-size:11.5px}.check-card-data strong{font-size:13.5px}.check-card-data em{color:#a66500;font-size:11px;font-style:normal}.check-sayad,.check-card-notes{color:#555d68;background:#f5f7fa;border-radius:11px;margin:0 17px 12px;padding:9px 11px}.check-sayad bdi{direction:ltr}.issued-check-card>footer{border-top:1px solid var(--line);gap:8px;padding:12px 17px;display:flex}.issued-check-card>footer form:first-child{margin-left:auto}.issued-check-card>footer .btn{min-height:42px;padding:8px 12px;font-size:12.5px}.checks-empty{color:var(--muted);grid-column:1/-1;place-items:center;gap:6px;padding:45px;display:grid}.checks-empty svg{color:#8792a1}@media (max-width:1200px){.checks-hero{grid-template-columns:1fr}.issued-check-form{grid-template-columns:repeat(3,1fr)}.check-notes{grid-column:span 2}.issued-check-list{grid-template-columns:1fr}}@media (max-width:820px){.issued-check-form{grid-template-columns:1fr 1fr}.check-purpose,.check-notes{grid-column:1/-1}.checks-hero-stats,.check-card-data{grid-template-columns:1fr 1fr}}@media (max-width:520px){.checks-hero{padding:17px}.issued-check-form{grid-template-columns:1fr}.check-purpose,.check-notes{grid-column:auto}.checks-hero-stats{grid-template-columns:1fr 1fr}.issued-check-card>header{align-items:flex-start}.check-status{font-size:11px}.issued-check-card>footer{grid-template-columns:1fr;display:grid}.issued-check-card>footer form,.issued-check-card>footer button{width:100%}.issued-check-card>footer form:first-child{margin-left:0}}.issued-check-create:has(.persian-datepicker.open){z-index:190;position:relative;overflow:visible}
.dashboard-hero{background:linear-gradient(125deg,#111b2b 0%,#1d2a3d 72%,#263449 100%);border:1px solid #24334a;border-radius:24px;min-height:190px;margin-bottom:18px;padding:30px 32px;box-shadow:0 20px 48px #17223626}.dashboard-hero:after{background:radial-gradient(circle,#ffffff14,#0000 66%);width:360px;height:360px;top:-210px;left:-130px}.dashboard-hero:before{content:"";pointer-events:none;clip-path:polygon(42% 0,100% 0,100% 100%,0 100%);background:linear-gradient(135deg,#0000,#ffffff05);width:52%;height:100%;position:absolute;bottom:0;right:0}.dashboard-hero-copy,.dashboard-hero-side{z-index:1;position:relative}.dashboard-hero-label{color:#c9d4e4;background:#ffffff0b;border:1px solid #ffffff1f;border-radius:9px;align-items:center;gap:7px;width:max-content;margin-bottom:13px;padding:5px 9px;font-size:12px;font-weight:700;display:flex}.dashboard-hero-label svg{width:15px}.dashboard-hero h2{letter-spacing:-.3px;margin:0 0 7px;font-size:25px}.dashboard-hero p{color:#b9c4d4;font-size:14px}.dashboard-hero-side{align-items:center;gap:22px;display:flex}.dashboard-hero-side>span{border-left:1px solid #ffffff1c;padding-left:22px;display:grid}.dashboard-hero-side small{color:#99a8bc;font-size:11px}.dashboard-hero-side strong{font-size:14px}.dashboard-hero .hero-action{background:#ef263b;border:1px solid #ffffff1f;border-radius:13px;align-items:center;gap:8px;min-height:50px;padding:11px 17px;display:flex;box-shadow:0 10px 24px #ef263b33}.dashboard-hero+.grid.grid-4{gap:12px}.dashboard-hero+.grid.grid-4 .kpi{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:1px solid #e2e6ec;border-radius:18px;min-height:126px;padding:19px;box-shadow:0 8px 24px #1e2b3d0d}.dashboard-hero+.grid.grid-4 .kpi:hover{border-color:#cdd4de;transform:translateY(-2px);box-shadow:0 14px 30px #1e2b3d17}.dashboard-hero+.grid.grid-4 .kpi:after{display:none}.dashboard-hero+.grid.grid-4 .iconbox{color:#31445f;width:43px;height:43px;box-shadow:none;background:#f3f6f9;border:1px solid #dfe5ed;border-radius:12px}.dashboard-hero+.grid.grid-4 .kpi .muted{color:#6b7481;font-size:13px}.dashboard-hero+.grid.grid-4 .kpi strong{color:#182130;margin-top:12px;font-size:20px}.dashboard-hero~.section-head{margin-top:28px}.dashboard-hero~.section-head h2{color:#1b2432;font-size:19px}.quick.quick-actions{gap:10px}.quick-actions .quick-card,.quick-actions .quick-sale,.quick-actions .quick-purchase,.quick-actions .quick-finance,.quick-actions .quick-rental{--quick-color:#33465f;--quick-soft:#f2f5f8;background:#fff;border:1px solid #e0e5eb;border-radius:17px;min-height:84px;padding:14px 15px;box-shadow:0 7px 22px #1e2b3d0c}.quick-actions .quick-card:after{display:none}.quick-actions .quick-card:hover{color:#172235;background:#fafbfc;border-color:#bcc6d2;box-shadow:0 12px 28px #1e2b3d15}.quick-actions .quick-icon{color:#344a67;width:44px;height:44px;box-shadow:none;background:#f2f5f8;border:1px solid #dfe5eb;border-radius:12px;flex-basis:44px}.quick-actions .quick-copy strong{color:#1e2734;font-size:14px}.quick-actions .quick-copy small{color:#747d89;font-size:12px}.quick-actions .quick-arrow{color:#7a8593}.dashboard-details{gap:12px;margin-top:20px}.dashboard-panel{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border:1px solid #e1e5eb;border-radius:19px;min-height:250px;padding:0;overflow:hidden;box-shadow:0 9px 26px #1e2b3d0d}.dashboard-panel:hover{border-color:#e1e5eb;transform:none;box-shadow:0 9px 26px #1e2b3d0d}.dashboard-panel .panel-title{border-bottom:1px solid #e7eaee;min-height:64px;margin:0;padding:13px 17px}.dashboard-panel .panel-icon{color:#3a4d66;background:#f3f5f8;border:1px solid #e1e6ec;border-radius:11px;width:38px;height:38px}.dashboard-panel .panel-icon.warning{color:#b67712;background:#fff8ea;border-color:#f6e7c9}.dashboard-panel .dashboard-alert{color:#6f501b;background:#fffbf2;border:1px solid #ebe1cd;border-radius:12px;min-height:50px;margin:9px 13px 0;padding:10px 12px}.dashboard-panel .dashboard-alert:last-child{margin-bottom:13px}.dashboard-panel .dashboard-alert:hover{background:#fff8e9}.dashboard-panel .activity-row{border-bottom:1px solid #edf0f3;margin:0 16px;padding:12px 2px;font-size:13.5px}.dashboard-panel .activity-row:last-child{border-bottom:0}.dashboard-panel .activity-dot{background:#8995a4;box-shadow:0 0 0 4px #eef1f4}.dashboard-panel .activity-row small{font-size:12px}.dashboard-empty{min-height:180px}.dashboard-empty svg{color:#6d7d91}@media (max-width:900px){.dashboard-hero{flex-direction:column;align-items:stretch}.dashboard-hero-side{justify-content:space-between}.dashboard-hero+.grid.grid-4{grid-template-columns:1fr 1fr}}@media (max-width:520px){.dashboard-hero{border-radius:20px;min-height:0;padding:20px 18px}.dashboard-hero h2{font-size:21px}.dashboard-hero p{font-size:14px}.dashboard-hero-side{flex-direction:column;align-items:stretch;gap:13px}.dashboard-hero-side>span{border-bottom:1px solid #ffffff1c;border-left:0;padding:0 0 10px}.dashboard-hero .hero-action{justify-content:center;width:100%;font-size:14px}.dashboard-hero+.grid.grid-4{gap:9px}.dashboard-hero+.grid.grid-4 .kpi{min-height:118px;padding:14px}.dashboard-hero+.grid.grid-4 .kpi strong{white-space:normal;font-size:16px}.quick.quick-actions{grid-template-columns:1fr 1fr}.quick-actions .quick-card{grid-template-columns:42px 1fr;min-height:100px;padding:12px;display:grid}.quick-actions .quick-copy small{white-space:normal;font-size:11.5px}.dashboard-details{grid-template-columns:1fr}.dashboard-panel .panel-title h2{font-size:17px}}.dashboard-action-list{padding:4px 0 13px;display:grid}.dashboard-panel .dashboard-action-list .dashboard-alert{color:#49391f;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;text-decoration:none;display:grid}.dashboard-alert-icon{color:#a66b09;background:#fff1d3;border-radius:11px;align-self:start;place-items:center;width:40px;height:40px;display:grid}.dashboard-alert-copy{gap:3px;min-width:0;display:grid}.dashboard-alert-copy strong{color:#3c311f;font-size:13.5px}.dashboard-alert-copy small{color:#765f38;font-size:12px;line-height:1.75}.dashboard-alert-copy em{color:#9a650d;font-size:11.5px;font-style:normal;font-weight:750;line-height:1.7}.dashboard-alert-link{color:#9a650d;white-space:nowrap;align-items:center;gap:4px;font-size:11.5px;font-weight:850;display:flex}.dashboard-alert-link svg{width:15px}.rental-contract:target{outline-offset:4px;outline:3px solid #2878e847;scroll-margin-top:20px}@media (max-width:620px){.dashboard-panel .dashboard-action-list .dashboard-alert{grid-template-columns:36px minmax(0,1fr);align-items:start}.dashboard-alert-icon{width:36px;height:36px}.dashboard-alert-link{grid-column:2;margin-top:4px}.dashboard-alert-copy strong{font-size:13px}.dashboard-alert-copy small,.dashboard-alert-copy em{font-size:11.5px}}
.mobile-more-overlay{display:none}@media (max-width:820px){html,body,.app{max-width:100%;overflow-x:hidden}.content{width:100%;padding:10px 10px calc(102px + env(safe-area-inset-bottom));margin:0}.topbar{border-radius:18px;min-height:72px;margin-bottom:12px;padding:14px 15px;position:relative;top:0}.topbar h1{font-size:21px}.topbar .eyebrow{font-size:13px;line-height:1.55}.card,.table-wrap,.finance-form-card,.sale-step,.purchase-section,.person-form-card{border-radius:18px}.section-head{align-items:flex-start;gap:10px;margin:22px 2px 10px}.section-head>div{min-width:0}.section-head h2{font-size:18px}.section-head .muted{font-size:13px}.form-grid,.finance-form-grid,.account-create-form,.people-form-grid,.rental-form-grid,.purchase-fields,.purchase-cost-fields,.purchase-line-fields,.product-create-grid,.issued-check-form{grid-template-columns:1fr!important}.field.wide,.finance-wide,.check-purpose,.check-notes{grid-column:auto!important}.field input,.field select,.field textarea,.searchable-trigger,.persian-date-trigger{min-height:52px;font-size:16px}.btn{min-height:50px}.actions,.actions .btn,.finance-submit,.rental-submit,.people-submit,.product-create-submit,.issued-check-submit{width:100%}.actions .btn,.finance-submit,.rental-submit,.people-submit,.product-create-submit,.issued-check-submit{justify-content:center}.table-wrap,.modern-invoice-table,.financial-report-table,.purchase-detail-panel.items{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.table-wrap:after,.financial-report-table:after{content:"برای مشاهده ستون‌های بیشتر، جدول را به طرفین بکشید";color:#6d7581;background:#f5f7fa;width:max-content;padding:7px 11px;font-size:12px;display:block;position:sticky;right:0}.bottom-nav{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));border-radius:22px;height:76px;padding:7px;display:flex}.bottom-nav a,.bottom-nav button{color:#606a77;width:20%;min-width:0;height:61px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px 2px;font-size:11.5px;display:flex}.bottom-nav a.active,.bottom-nav button.active{color:var(--accent);background:var(--accent-soft)}.bottom-nav-icon{place-items:center;display:grid}.bottom-nav svg{width:22px;height:22px}.mobile-more-overlay{z-index:80;padding:12px 10px calc(92px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#11182773;align-items:flex-end;display:flex;position:fixed;inset:0}.mobile-more-overlay>section{background:#fff;border:1px solid #fff;border-radius:24px;width:100%;max-height:72dvh;padding:14px;overflow:auto;box-shadow:0 24px 60px #1118273d}.mobile-more-overlay header{justify-content:space-between;align-items:center;padding:3px 4px 13px;display:flex}.mobile-more-overlay header>div{display:grid}.mobile-more-overlay header small{color:var(--muted);font-size:12.5px}.mobile-more-overlay header button{color:#4f5865;background:#f2f4f7;border:0;border-radius:13px;place-items:center;width:44px;height:44px;display:grid}.mobile-more-overlay section>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mobile-more-overlay section>div>a{background:#fafbfc;border:1px solid #e6e9ee;border-radius:15px;align-items:center;gap:10px;min-height:64px;padding:10px;font-size:13.5px;font-weight:800;display:flex}.mobile-more-overlay section>div>a.active{color:var(--accent);background:#fff1f3;border-color:#ffd4d9}.mobile-more-overlay section>div>a>span{background:#f0f3f7;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.mobile-more-overlay section>div>a svg{width:19px}.rental-return-overlay{padding:10px 10px calc(88px + env(safe-area-inset-bottom));align-items:flex-end}.rental-return-dialog{width:100%;max-height:calc(100dvh - 112px - env(safe-area-inset-bottom));border-radius:24px 24px 18px 18px;overflow:auto}.persian-calendar{max-height:60dvh;overflow:auto}.sale-builder,.purchase-bottom-grid,.finance-workspace,.product-management-grid,.purchase-detail-grid{grid-template-columns:1fr!important}.sale-summary{width:100%;position:static!important}.sales-page-layout{display:block}.sale-step,.purchase-section{overflow:visible}.sale-lines,.purchase-lines{padding:10px}.sale-line-fields,.purchase-line-fields{grid-template-columns:1fr!important}.sale-date-row,.rental-list-head,.purchase-detail-top,.installment-detail-top{flex-direction:column;align-items:stretch}.finance-accounts,.reports-grid,.report-exports,.person-card-grid,.product-card-grid,.purchase-invoices,.issued-check-list{grid-template-columns:1fr!important}.finance-transaction{grid-template-columns:42px minmax(0,1fr) auto!important}.transaction-type{display:none}.transaction-source{grid-column:auto}.reference-invoice{width:100%;max-width:100%;min-height:auto;padding:20px 12px 95px}.reference-invoice-header{grid-template-columns:1fr;gap:12px;min-height:auto;padding:5px}.reference-invoice-header>div[aria-hidden]{display:none}.reference-invoice-meta{background:#f4f5f7;border-radius:12px;order:2;width:100%;padding:10px}.reference-logo{width:82px;height:82px}.reference-logo span{font-size:44px}.reference-customer{grid-template-columns:1fr;padding:13px}.reference-table-wrap table{min-width:760px}.reference-financial-row{grid-template-columns:1fr;gap:14px}.reference-signatures{gap:28px;min-height:250px;padding:0 14px}.reference-footer{flex-direction:column;align-items:center;gap:2px;bottom:12px;left:12px;right:12px}.financial-report-toolbar form,.financial-report-actions{flex-direction:column;align-items:stretch}.financial-report-toolbar .field{width:100%}.financial-report-actions .btn{justify-content:center;width:100%}.financial-report-paper{padding:14px}.financial-report-summary{grid-template-columns:1fr 1fr}.financial-report-table table{min-width:850px}.checks-hero-stats,.product-detail-stats,.installment-detail-stats,.purchase-detail-stats,.check-card-data,.contract-meta,.installment-card-metrics{grid-template-columns:1fr 1fr!important}.issued-check-card>footer{grid-template-columns:1fr!important}.issued-check-card>footer form,.issued-check-card>footer button{width:100%}.purchase-summary{grid-template-columns:1fr!important}.purchase-summary>svg{display:none}.purchase-summary>div{grid-template-columns:1fr 1fr!important}.purchase-submit{grid-column:1/-1;justify-content:center;width:100%}.content small:not(.reference-invoice small):not(.financial-report-paper small){font-size:12.5px;line-height:1.55}}@media (max-width:390px){.content{padding-inline:8px}.mobile-more-overlay section>div{grid-template-columns:1fr}.checks-hero-stats,.product-detail-stats,.installment-detail-stats,.purchase-detail-stats{grid-template-columns:1fr!important}.dashboard-hero+.grid.grid-4{grid-template-columns:1fr 1fr}.quick.quick-actions{grid-template-columns:1fr}.reference-signatures{grid-template-columns:1fr;gap:28px}.reference-signatures>div>span{margin-top:55px}.reference-stamp{width:115px;height:115px}}@media (max-width:820px){.searchable-field:has(.searchable-select.open){z-index:230;position:relative}.content :is(.card,.sale-step,.purchase-section,.finance-form-card,.person-form-card,.rental-builder,.issued-check-create):has(.searchable-select.open){z-index:220;position:relative;overflow:visible}.searchable-select.open{z-index:231}.searchable-panel,.sale-builder .searchable-panel{z-index:232;border-radius:18px;width:100%;max-height:min(52dvh,420px);padding:10px;position:absolute;inset:calc(100% + 8px) 0 auto}.searchable-select.open-up .searchable-panel,.sale-builder .searchable-select.open-up .searchable-panel{top:auto;bottom:calc(100% + 8px)}.searchable-options,.sale-builder .searchable-options{max-height:min(40dvh,320px)}}
.invoice-return-panel{background:#fff;border:1px solid #e11d3633;border-radius:26px;max-width:1180px;margin:28px auto;padding:0;overflow:hidden;box-shadow:0 18px 55px #1f263617}.invoice-return-head{border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fff 55%,#fff5f6);align-items:center;gap:14px;padding:22px 24px;display:flex}.invoice-return-icon{color:#e21d35;background:#ffecef;border-radius:17px;flex:none;place-items:center;width:52px;height:52px;display:grid}.invoice-return-icon svg{width:26px;height:26px}.invoice-return-head>div{flex:1}.invoice-return-head small{color:#e21d35;font-weight:800}.invoice-return-head h2{margin:1px 0 2px;font-size:22px}.invoice-return-head p{color:var(--muted);margin:0}.invoice-return-status{color:#b51226;white-space:nowrap;background:#ffe9ec;border-radius:999px;align-items:center;gap:6px;padding:8px 12px;font-size:12px;font-weight:800;display:flex}.invoice-return-status svg{width:17px}.invoice-return-warning{color:#81450a;background:#fff8eb;border:1px solid #ffd19d;border-radius:16px;align-items:center;gap:12px;margin:18px 24px;padding:14px 16px;display:flex}.invoice-return-warning>svg{color:#e5790c;flex:none;width:23px}.invoice-return-warning>div{display:grid}.invoice-return-warning span{color:#986027;font-size:13px}.invoice-return-overview{grid-template-columns:repeat(3,1fr);gap:10px;padding:0 24px 18px;display:grid}.invoice-return-overview>div{background:#f8f9fc;border:1px solid #edf0f5;border-radius:15px;align-items:center;gap:11px;padding:13px 14px;display:flex}.invoice-return-overview svg{color:#e21d35;width:21px}.invoice-return-overview span{display:grid}.invoice-return-overview small{color:var(--muted)}.invoice-return-panel form{padding:0 24px 24px}.invoice-return-products{background:#fbfcfe;border:1px solid #edf0f5;border-radius:18px;padding:16px}.invoice-return-products h3{margin:0 0 10px;font-size:14px}.invoice-return-products>div{border-top:1px dashed #e0e4eb;align-items:center;gap:16px;padding:10px 2px;display:flex}.invoice-return-products>div>span{margin-left:auto;display:grid}.invoice-return-products small{color:var(--muted)}.invoice-return-products b{color:#334155;background:#eef3fb;border-radius:10px;padding:5px 10px;font-size:13px}.invoice-return-form-card{border:1px solid #edf0f5;border-radius:18px;margin-top:12px;padding:16px}.invoice-return-form-title{align-items:center;gap:10px;margin-bottom:13px;display:flex}.invoice-return-form-title>span{color:#fff;background:#263143;border-radius:10px;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.invoice-return-form-title>div{display:grid}.invoice-return-form-title small{color:var(--muted)}.invoice-return-settlement{grid-template-columns:1fr 1fr;gap:12px;display:grid}.invoice-return-confirm{cursor:pointer;background:#fafbfc;border:1px solid #e5e8ee;border-radius:16px;margin-top:14px;padding:14px;display:block}.invoice-return-confirm>input{opacity:0;pointer-events:none;position:absolute}.invoice-return-confirm>span{align-items:center;gap:11px;display:flex}.invoice-return-confirm>span>svg{color:#9aa2ae;width:24px}.invoice-return-confirm>span>span{display:grid}.invoice-return-confirm small{color:var(--muted)}.invoice-return-confirm:has(input:checked){background:#f0fbf5;border-color:#45b77c}.invoice-return-confirm:has(input:checked)>span>svg{color:#139557}.invoice-return-footer{color:#fff;background:#252b36;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;margin-top:15px;padding:16px;display:flex}.invoice-return-footer>div{display:grid}.invoice-return-footer small{color:#bdc3cc}.invoice-return-submit{justify-content:center;align-items:center;gap:8px;min-width:250px;display:flex}.invoice-return-submit:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.2)}.invoice-cancelled-banner{color:#b51226;background:#fff1f3;border:1px solid #ffc4ca;border-radius:16px;justify-content:center;align-items:center;max-width:1100px;margin:16px auto;padding:14px;font-size:16px;font-weight:800;display:flex}@media (max-width:820px){.rental-assets{grid-template-columns:1fr!important}.invoice-return-panel{border-radius:20px;margin:18px 0}.invoice-return-head{align-items:flex-start;padding:18px}.invoice-return-status{display:none}.invoice-return-head h2{font-size:19px}.invoice-return-warning{margin:14px 16px}.invoice-return-overview{grid-template-columns:1fr;padding:0 16px 14px}.invoice-return-panel form{padding:0 16px 16px}.invoice-return-settlement{grid-template-columns:1fr}.invoice-return-products>div{align-items:flex-start}.invoice-return-footer{flex-direction:column;align-items:stretch}.invoice-return-submit{width:100%;min-width:0;min-height:48px}}
@media print{@page{size:A4 portrait;margin:0}html,body{background:#fff!important;width:210mm!important;min-width:210mm!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}body:before,.sidebar,.topbar,.bottom-nav,.no-print{display:none!important}body:has(.reference-invoice) .content>:not(.reference-invoice){display:none!important}.app,.content{width:210mm!important;min-width:210mm!important;max-width:210mm!important;min-height:297mm!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important;transform:none!important}.reference-invoice{box-sizing:border-box!important;width:210mm!important;min-width:210mm!important;max-width:210mm!important;min-height:297mm!important;box-shadow:none!important;page-break-before:avoid!important;page-break-after:avoid!important;page-break-inside:avoid!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;direction:rtl!important;border:0!important;border-radius:0!important;margin:0!important;padding:10mm 8mm 19mm!important;font-size:8.8pt!important;line-height:1.45!important;display:block!important;position:relative!important;inset:auto!important;overflow:hidden!important;transform:none!important}.reference-invoice-header{grid-template-columns:1fr 1.15fr 1fr!important;gap:3mm!important;min-height:38mm!important;padding:0 4mm!important;display:grid!important}.reference-invoice-header>div[aria-hidden]{display:block!important}.reference-invoice-meta{background:0 0!important;width:auto!important;padding:0!important}.reference-logo{width:23mm!important;height:23mm!important}.reference-logo span{font-size:36pt!important}.reference-invoice-brand h1{margin-top:3mm!important;font-size:14pt!important}.reference-invoice-brand h2{font-size:11pt!important}.reference-gold-line{height:1.2mm!important;margin:2mm 0 5mm!important}.reference-customer{grid-template-columns:1fr 1fr 1.35fr!important;gap:3mm!important;padding:3.5mm 4mm!important;display:grid!important}.reference-table-wrap{width:100%!important;max-width:100%!important;margin-top:5mm!important;overflow:visible!important}.reference-table-wrap table{table-layout:fixed!important;width:100%!important;min-width:0!important;max-width:100%!important}.reference-table-wrap th,.reference-table-wrap td{white-space:normal!important;overflow-wrap:break-word!important;height:auto!important;min-height:11mm!important;padding:1.8mm 1mm!important;font-size:7.2pt!important}.reference-financial-row{grid-template-columns:1fr 52%!important;gap:7mm!important;margin-top:5mm!important;display:grid!important}.reference-payment{padding:1mm 3mm!important}.reference-totals p{min-height:8mm!important;padding:1.5mm 3mm!important}.reference-installments{break-inside:avoid!important;margin-top:4mm!important}.reference-installments>div{grid-template-columns:repeat(3,1fr)!important;display:grid!important}.reference-installments p{padding:2mm 3mm!important}.reference-signatures{grid-template-columns:1fr 1fr!important;gap:24mm!important;min-height:55mm!important;margin-top:4mm!important;padding:0 20mm!important;display:grid!important}.reference-signatures>div>span{margin-top:32mm!important}.reference-stamp{width:32mm!important;height:32mm!important;margin-top:5mm!important}.reference-stamp b{font-size:32pt!important}.reference-footer{flex-direction:row!important;min-height:11mm!important;padding:2mm 3mm!important;position:absolute!important;bottom:5mm!important;left:8mm!important;right:8mm!important}}
.reference-collaterals{border:1px solid #d5d5d5;margin-top:22px;overflow:hidden}.reference-collaterals>header{background:#efefef;align-items:center;gap:8px;min-height:52px;padding:9px 13px;display:flex}.reference-collaterals>header>svg{color:#b87918;width:20px}.reference-collaterals>header>div{display:grid}.reference-collaterals h3{margin:0;font-size:14px}.reference-collaterals header small{color:#666;font-size:11px}.reference-collaterals>div{display:grid}.reference-collaterals article{border-top:1px solid #ddd;grid-template-columns:28px minmax(0,1.8fr) minmax(120px,.8fr) minmax(95px,.65fr);align-items:center;gap:10px;min-height:70px;padding:9px 12px;display:grid}.reference-collaterals article:first-child{border-top:0}.reference-collateral-number{color:#8d5b0c;background:#fff2d9;border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;font-weight:900;display:grid}.reference-collaterals article>div{display:grid}.reference-collaterals article small{color:#777;font-size:10px}.reference-collaterals article strong{font-size:12px}.reference-collateral-description p{color:#333;margin:2px 0 0;font-size:11px;line-height:1.7}@media print{.reference-collaterals{break-inside:avoid!important;margin-top:4mm!important}.reference-collaterals>header{min-height:11mm!important;padding:2mm 3mm!important}.reference-collaterals article{min-height:14mm!important;padding:2mm 3mm!important}.reference-collaterals h3{font-size:9pt!important}.reference-collaterals article strong{font-size:8pt!important}.reference-collaterals article small,.reference-collateral-description p{font-size:7pt!important}}
.invoice-notes-editor{background:#fff;border:1px solid #e4e8ee;border-radius:18px;width:min(100%,900px);margin:14px auto;padding:16px 18px;box-shadow:0 10px 28px #1d23330f}.invoice-notes-editor>header{align-items:center;gap:9px;margin-bottom:12px;display:flex}.invoice-notes-editor>header>svg{color:#ef233c;width:22px}.invoice-notes-editor h2{margin:0;font-size:17px}.invoice-notes-editor header p{color:#747d89;margin:1px 0;font-size:12px}.invoice-notes-editor form{grid-template-columns:1fr auto;align-items:end;gap:10px;display:grid}.invoice-notes-editor textarea{resize:vertical;width:100%;min-height:92px;font:inherit;background:#fafbfc;border:1px solid #dfe4eb;border-radius:13px;padding:12px 14px;font-size:14px;line-height:1.8}.invoice-notes-editor textarea:focus{border-color:#ff8997;outline:0;box-shadow:0 0 0 4px #fff0f2}.invoice-notes-editor .btn{min-height:48px}.sale-notes-step textarea{resize:vertical;min-height:105px}.reference-manual-note{break-inside:avoid;background:#fffdf7;border:1px solid #d5d5d5;margin-top:18px;padding:12px 14px}.reference-manual-note>header{align-items:center;gap:6px;display:flex}.reference-manual-note header svg{color:#b87918;width:17px}.reference-manual-note h3{margin:0;font-size:13px}.reference-manual-note p{white-space:pre-wrap;margin:7px 0 0;font-size:11.5px;line-height:1.9}@media (max-width:700px){.invoice-notes-editor form{grid-template-columns:1fr}.invoice-notes-editor .btn{justify-content:center;width:100%}}@media print{.reference-manual-note{margin-top:4mm!important;padding:3mm!important}.reference-manual-note h3{font-size:9pt!important}.reference-manual-note p{font-size:8pt!important;line-height:1.75!important}}
