.print-invoice{display:none}@page{size:A4;margin:11mm 12mm}@media print{.modal:has(.print-invoice) .modal-header,.modal:has(.print-invoice) .modal-footer,.modal:has(.print-invoice) .order-detail-screen{display:none!important}.modal:has(.print-invoice) .modal-body{padding:0!important;overflow:visible!important}.modal:has(.print-invoice){border:0!important;border-radius:0!important;width:100%!important;max-width:none!important}.print-invoice{display:block!important;width:100%;color:#17251a;background:#fff;font:8.5pt/1.23 Arial,Tahoma,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-invoice *{box-sizing:border-box}.invoice-header{display:flex;align-items:center;justify-content:space-between;gap:8mm;border-bottom:1.3pt solid #2a7837;padding-bottom:3mm;margin-bottom:3mm}.invoice-logo{display:block;width:33mm;height:17mm;object-fit:contain}.invoice-heading{min-width:0;text-align:end}.invoice-heading h1{margin:0 0 1.5mm;font-size:14pt;line-height:1.1;letter-spacing:0}.invoice-reference,.invoice-date{display:flex;align-items:baseline;justify-content:flex-end;gap:2mm;font-size:8.4pt}.invoice-reference{margin-bottom:1mm}.invoice-reference span,.invoice-date{color:#58685b}.invoice-reference strong,.invoice-date strong{color:#17251a}.invoice-practice-banner{background:#fff0c3;border:1px solid #a56b10;color:#593b0b;padding:1.6mm 3mm;margin:0 0 3mm;font-size:8pt;font-weight:800;text-align:center}.invoice-request-notice{background:#eef5ec;border:1px solid #cfe0ca;padding:2mm 3mm;margin:0 0 3mm;font-size:8pt}.invoice-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2mm 4mm;padding:0 0 3mm}.invoice-meta>div{min-width:0}.invoice-meta span{display:block;color:#67796a;font-size:7.3pt}.invoice-meta strong{display:block;font-size:8.2pt;overflow-wrap:anywhere}.invoice-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8.1pt}.invoice-table thead{display:table-header-group}.invoice-table th{color:#fff;background:#234d2a;padding:2.3mm 1.4mm;text-align:start;font-weight:700;vertical-align:middle}.invoice-table td{padding:.9mm 1.4mm;border-bottom:.45pt solid #dce5da;vertical-align:middle}.invoice-table tbody tr:nth-child(2n){background:#f8faf7}.invoice-table tr{break-inside:avoid;page-break-inside:avoid}.invoice-table th:nth-child(1){width:6%}.invoice-table th:nth-child(2){width:42%}.invoice-table th:nth-child(3){width:10%}.invoice-table th:nth-child(4){width:14%}.invoice-table th:nth-child(5){width:13%}.invoice-table th:nth-child(6){width:15%}.invoice-table .invoice-numeric{text-align:end;white-space:nowrap;direction:ltr}.invoice-product{min-width:0;overflow-wrap:anywhere}.invoice-product strong{display:inline;font-size:8.1pt;line-height:1.15;font-weight:650}.invoice-product small{display:inline;color:#647565;font-size:6.7pt;margin-inline-start:1mm;line-height:1.15;white-space:nowrap}.invoice-line-number{color:#657468}.invoice-line-total{font-weight:700}.invoice-summary{width:65mm;max-width:100%;margin:3mm 0 0 auto;break-inside:avoid;page-break-inside:avoid}[dir=rtl] .invoice-summary{margin:3mm auto 0 0}.invoice-summary-row{display:flex;align-items:baseline;justify-content:space-between;gap:3mm;padding:1.05mm 0}.invoice-summary-row strong{white-space:nowrap}.invoice-summary-row.invoice-cases{color:#1f6630;font-weight:700;border-bottom:.5pt solid #bcd6b8;margin-bottom:.5mm}.invoice-grand-total{border-top:1pt solid #2a7837;padding-top:1.9mm;font-size:11pt;font-weight:800}.invoice-footnote{margin:2.5mm 0 0;color:#69796c;font-size:7pt}.print-invoice .riyal-sign{width:.78em;height:.88em}}
