.check-receipt-stats .stat-card:nth-child(3) .stat-icon{color:var(--orange)}
.check-receipt-auto-banner{display:flex;align-items:center;gap:10px;margin-bottom:15px;padding:11px 12px;color:#687984;border:1px solid #d6e4ec;border-right:3px solid var(--blue);border-radius:9px;background:#f8fbfd}
.check-receipt-auto-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;color:#fff;border-radius:8px;background:linear-gradient(135deg,#4d9fe7,#2769bd);font-size:15px}
.check-receipt-auto-banner strong,.check-receipt-auto-banner small{display:block}.check-receipt-auto-banner strong{color:#2865af;font-size:9px}.check-receipt-auto-banner small{margin-top:2px;color:#8f9da6;font-size:7px}
.check-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.check-receipt-form-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px}.check-receipt-form-table{width:100%;min-width:1040px;border-collapse:collapse}
.check-receipt-form-table th,.check-receipt-form-table td{padding:7px 6px;border-bottom:1px solid var(--line);color:#687883;font-size:7px;text-align:right;vertical-align:middle}.check-receipt-form-table th{color:#2b6bb5;background:#f5faff;font-weight:800}.check-receipt-form-table tr:last-child td{border-bottom:0}
.check-receipt-form-table input{width:100%;min-height:30px;padding:0 6px;color:var(--ink);border:1px solid #dce6ec;border-radius:5px;background:#fff;font-family:inherit;font-size:7px}.check-receipt-form-table input:focus{border-color:var(--blue);outline:3px solid #3775c822}.check-row-number{width:34px;color:#2b6bb5!important;font-weight:800}.check-receipt-form-table .remove-line{width:25px;height:25px;font-size:14px}
.check-receipt-form-total{display:flex;align-items:center;justify-content:space-between;margin-top:9px;padding:9px 11px;color:#6d7c86;border-right:3px solid var(--blue);border-radius:7px;background:#f8fbfd;font-size:8px}.check-receipt-form-total strong{color:#2865af;font-size:11px}
.approval-routing-section{margin-top:17px}.approval-routing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.approval-routing-grid select{min-height:35px}.approval-override-check{margin-top:11px}
.invoice-status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.invoice-status-stack .status-badge{font-size:6px}
.invoice-approval-panel{margin:0 0 15px;padding:11px 12px;border:1px solid #e0e6ee;border-right:3px solid var(--purple);border-radius:10px;background:#fbfcff}
.invoice-approval-panel-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.invoice-approval-panel-head>div{min-width:160px;flex:1}.invoice-approval-panel-head strong,.invoice-approval-panel-head small{display:block}.invoice-approval-panel-head strong{color:var(--ink);font-size:9px}.invoice-approval-panel-head small{margin-top:2px;color:#8b99a4;font-size:7px}
.invoice-approval-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.invoice-approval-step{display:flex;align-items:center;gap:6px;padding:7px;border:1px solid #e1e8ee;border-radius:7px;background:#fff}.invoice-approval-step>span{width:20px;height:20px;display:grid;place-items:center;flex:0 0 20px;color:#9da9b1;border:1px solid #dfe6eb;border-radius:50%;font-size:9px}.invoice-approval-step.done>span{color:#fff;border-color:var(--green);background:var(--green)}.invoice-approval-step.active>span{color:#fff;border-color:var(--purple);background:var(--purple)}.invoice-approval-step strong,.invoice-approval-step small{display:block}.invoice-approval-step strong{color:#526572;font-size:7px}.invoice-approval-step small{margin-top:2px;color:#98a5ad;font-size:6px}.invoice-approval-hint{margin:8px 0 0;color:#8b98a2;font-size:7px;line-height:1.8}
.approval-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.invoice-approval-detail{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.invoice-approval-detail-icon{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;color:#9da9b1;border:1px solid #dfe6eb;border-radius:50%;font-size:9px}.invoice-approval-detail.done .invoice-approval-detail-icon{color:#fff;border-color:var(--green);background:var(--green)}.invoice-approval-detail.active{border-color:#cfc7ef;background:#fbfaff}.invoice-approval-detail.active .invoice-approval-detail-icon{color:#fff;border-color:var(--purple);background:var(--purple)}.invoice-approval-detail strong,.invoice-approval-detail small,.invoice-approval-detail span{display:block}.invoice-approval-detail strong{color:var(--ink);font-size:8px}.invoice-approval-detail small{margin-top:3px;color:#8f9da6;font-size:7px}.invoice-approval-detail span{margin-top:5px;color:#657783;font-size:7px}
.approval-history{display:flex;flex-direction:column;gap:6px}.approval-history-row{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:7px;padding:7px 8px;border-bottom:1px solid #eef2f4;color:#778791;font-size:7px}.approval-history-row span{color:#16875c;font-weight:800}.approval-history-row strong{color:#536673}.approval-decision-footer{justify-content:flex-start}.approval-decision-footer .button.danger{color:#c64e52;border-color:#f0c8c5;background:#fff7f7}
.check-receipt-print-wrap{padding:19px;background:#f3f6f8}.check-receipt-paper{position:relative;width:min(100%,559px);min-height:794px;margin:0 auto;padding:27px 30px 60px;overflow:hidden;color:#20282e;background:#fff;box-shadow:0 8px 25px #1b293722;font-family:'BNazanin','B Nazanin','Vazirmatn',Tahoma,sans-serif;page:check-receipt}.check-receipt-paper:before{content:"";position:absolute;top:0;right:0;left:0;height:6px;background:linear-gradient(90deg,#286dbb,#7fb5ec 55%,#286dbb)}.check-receipt-paper-no-head{padding-top:25px}
.check-receipt-paper-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:4px 0 11px;border-bottom:2px solid #3984ca}.check-receipt-paper-brand{display:flex;align-items:center;gap:7px}.check-receipt-paper-brand .brand-mark{width:31px;height:31px;flex-basis:31px;border-radius:9px 9px 9px 3px;font-size:10px}.check-receipt-paper-brand strong,.check-receipt-paper-brand small{display:block}.check-receipt-paper-brand strong{font-size:10px}.check-receipt-paper-brand small{margin-top:2px;color:#8e9aa4;font-size:6px}.check-receipt-title-block{text-align:left;direction:ltr}.check-receipt-title-block small{color:#286dbb;font-family:'Vazirmatn',sans-serif;font-size:5px;font-weight:800;letter-spacing:.7px}.check-receipt-title-block h1{margin:2px 0 0;color:var(--ink);font-size:15px;line-height:1.35;font-weight:800}.check-receipt-title-block span{display:block;margin-top:1px;color:#a0abb3;font-family:'Vazirmatn',sans-serif;font-size:5px;letter-spacing:.7px}
.check-receipt-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:10px 0 7px;padding:7px;border:1px solid #d9e7f3;border-radius:6px;background:#f6faff}.check-receipt-meta small,.check-receipt-meta strong,.check-receipt-party small,.check-receipt-party strong{display:block}.check-receipt-meta small,.check-receipt-party small{color:#6584a0;font-size:5px}.check-receipt-meta strong{margin-top:2px;color:#4d5d67;font-size:7px}.check-receipt-party{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:7px 0 10px;padding:7px;border-radius:6px;background:#f6f8fa}.check-receipt-party strong{margin-top:2px;overflow:hidden;color:var(--ink);font-size:7px;text-overflow:ellipsis;white-space:nowrap}
.check-receipt-section-title{display:flex;align-items:center;gap:5px;margin:8px 0 5px;color:var(--ink);font-size:8px;font-weight:800}.check-receipt-section-title span{width:3px;height:12px;border-radius:3px;background:#3984ca}.check-receipt-table{width:100%;border-collapse:collapse}.check-receipt-table th{padding:5px 3px;color:#58728b;border-top:1px solid #ccdce9;border-bottom:1px solid #ccdce9;background:#f5f9fc;font-size:5px;text-align:right}.check-receipt-table td{padding:6px 3px;color:#526572;border-bottom:1px solid #e3e9ed;font-size:5px;vertical-align:middle}.check-receipt-table td strong,.check-receipt-table td small{display:block}.check-receipt-table td small{margin-top:1px;color:#8797a3;font-size:4px}
.check-receipt-total{display:flex;align-items:center;justify-content:space-between;margin-top:7px;padding:6px 7px;color:#6c7c87;border-right:2px solid #3984ca;border-radius:4px;background:#f6faff;font-size:6px}.check-receipt-total strong{color:#2865af;font-size:8px}.check-receipt-note{margin-top:9px;padding:7px 8px;color:#75838c;border-radius:5px;background:#f7f9fb;font-size:6px;line-height:1.8}.check-receipt-note strong{display:block;color:#596a76;font-size:7px}.check-receipt-note p{margin:1px 0}
.check-receipt-signatures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:11px}.check-receipt-signature-box{min-height:75px;padding:6px;color:#8b98a1;border:1px dashed #cbd9e3;border-radius:5px;font-size:6px;text-align:center}.check-receipt-signature-box>span{display:block;color:#5e7382;font-weight:700}.check-receipt-signature-box>strong{display:block;margin-top:12px;color:#526371;font-size:7px}.check-receipt-signature-box>small{display:block;margin-top:2px;color:#9aa6ae;font-size:5px}.check-receipt-signature-image{display:block;width:75px;max-width:100%;height:auto;margin:2px auto -4px;mix-blend-mode:multiply}.check-receipt-signature-line{width:65px;margin:16px auto 4px;border-bottom:1px solid #4b5962;color:#9aa4aa;font-size:5px}.check-receipt-stamp-box{border-color:#f2bda6;background:#fffaf7}.check-receipt-stamp-box img{display:block;width:42px;height:42px;margin:6px auto 0;object-fit:contain}.check-receipt-footer{position:absolute;right:30px;bottom:18px;left:30px;display:flex;justify-content:space-between;padding-top:5px;border-top:1px solid #e7ecef;color:#9aa6ae;font-family:'Vazirmatn',sans-serif;font-size:5px;direction:ltr}.check-receipt-footer span:first-child{direction:ltr}
@page check-receipt{size:A5 portrait;margin:0}
@media print{.check-receipt-print-wrap{padding:0;background:#fff}.check-receipt-paper{width:148mm;height:210mm;min-height:210mm;padding:8mm 9mm 16mm;box-shadow:none;page-break-after:always}.check-receipt-paper:last-child{page-break-after:auto}.check-receipt-footer{right:9mm;bottom:6mm;left:9mm}}
@media(max-width:820px){.approval-routing-grid,.approval-detail-grid{grid-template-columns:1fr}.invoice-approval-steps{grid-template-columns:1fr}.check-receipt-paper{width:100%;min-height:calc(100vw * 1.414);height:auto;padding:6vw 5vw 14vw}.check-receipt-meta,.check-receipt-party{grid-template-columns:repeat(2,minmax(0,1fr))}.check-receipt-signatures{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.check-receipt-print-wrap{padding:0;overflow:hidden}.check-receipt-signatures{grid-template-columns:1fr}.check-receipt-paper{padding:5vw 4vw 15vw}.check-receipt-paper-head{gap:8px}.check-receipt-title-block h1{font-size:12px}.check-receipt-table th,.check-receipt-table td{padding:1.4vw 1vw;font-size:4.5px}}

.check-request-stats .stat-card:nth-child(2) .stat-icon{color:var(--blue)}
.check-request-stats .stat-card:nth-child(3) .stat-icon{color:var(--green)}
.check-request-stats .stat-card:nth-child(4) .stat-icon{color:var(--purple)}
.check-request-auto-banner{display:flex;align-items:center;gap:10px;margin-bottom:15px;padding:11px 12px;color:#687984;border:1px solid #ead9c5;border-right:3px solid #c88b42;border-radius:9px;background:#fffaf4}
.check-request-auto-icon,.check-request-preview-icon{display:grid;place-items:center;color:#fff;border-radius:8px;background:linear-gradient(135deg,#d49b53,#9b6325)}
.check-request-auto-icon{width:30px;height:30px;flex:0 0 30px;font-size:15px}.check-request-auto-banner strong,.check-request-auto-banner small{display:block}.check-request-auto-banner strong{color:#9b6325;font-size:9px}.check-request-auto-banner small{margin-top:2px;color:#8f9da6;font-size:7px}
.check-request-upload{margin-top:10px}.check-request-upload .file-upload-control{border-color:#e3d5c5;background:#fffaf5}
.check-request-preview{padding-top:0}.check-request-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 12px;border:1px solid #e6d7c5;border-right:3px solid #c88b42;border-radius:9px;background:#fffaf4}.check-request-preview-head>div{display:flex;align-items:center;gap:9px}.check-request-preview-icon{width:32px;height:32px;font-size:16px}.check-request-preview-head strong,.check-request-preview-head small{display:block}.check-request-preview-head strong{color:var(--ink);font-size:10px}.check-request-preview-head small{margin-top:2px;color:#8f9da6;font-size:7px}
.check-request-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}.check-request-detail-grid>div,.check-request-issuance>div{padding:8px;border:1px solid var(--line);border-radius:7px;background:#fff}.check-request-detail-grid small,.check-request-detail-grid strong,.check-request-issuance small,.check-request-issuance strong{display:block}.check-request-detail-grid small,.check-request-issuance small{color:#91a0aa;font-size:6px}.check-request-detail-grid strong,.check-request-issuance strong{margin-top:3px;color:var(--ink);font-size:8px}.check-request-issuance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:10px}.table-subline{display:block;margin-top:2px;color:#93a0a8;font-size:7px}
@media(max-width:820px){.check-request-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-request-issuance{grid-template-columns:1fr}}
@media(max-width:560px){.check-request-detail-grid{grid-template-columns:1fr}.check-request-preview-head{align-items:flex-start;flex-direction:column}}
.export-actions{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.export-actions .text-button{white-space:nowrap}
.check-receipt-request-banner{display:flex;align-items:center;gap:10px;margin:0 0 15px;padding:11px 12px;color:#687984;border:1px solid #cbdff1;border-right:3px solid #3984ca;border-radius:9px;background:#f5faff}.check-receipt-request-banner>span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;color:#fff;border-radius:8px;background:linear-gradient(135deg,#4d9fe7,#2769bd);font-size:15px}.check-receipt-request-banner strong,.check-receipt-request-banner small{display:block}.check-receipt-request-banner strong{color:#2865af;font-size:9px}.check-receipt-request-banner small{margin-top:2px;color:#8f9da6;font-size:7px}
.digighatte-readonly-modal .form-note{margin-bottom:14px}.digighatte-readonly-modal .table-wrap{max-height:52vh;overflow:auto}
.customer-matter-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;padding:10px 12px;border:1px solid #ead9c5;border-right:3px solid #c88b42;border-radius:9px;background:#fffaf4}.customer-matter-section-head strong,.customer-matter-section-head small{display:block}.customer-matter-section-head strong{color:#87551f;font-size:9px}.customer-matter-section-head small{margin-top:3px;color:#8f9da6;font-size:7px;line-height:1.8}.customer-matter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.customer-matter-card{padding:10px 11px;border:1px solid #eadfce;border-radius:9px;background:#fffdf9}.customer-matter-card-head{display:flex;align-items:center;gap:7px}.customer-matter-card-head>div{min-width:0;flex:1}.customer-matter-card-head strong,.customer-matter-card-head small{display:block}.customer-matter-card-head strong{color:#5b6870;font-size:8px}.customer-matter-card-head small{margin-top:2px;color:#a18f7c;font-size:6px}.customer-matter-icon{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;color:#fff;border-radius:7px;background:linear-gradient(135deg,#d49b53,#9b6325);font-size:13px}.customer-matter-card h4{margin:9px 0 5px;color:var(--ink);font-size:9px;line-height:1.7}.customer-matter-meta{display:flex;gap:9px;flex-wrap:wrap;color:#8c9aa1;font-size:6px}.customer-matter-meta span+span{padding-right:9px;border-right:1px solid #e3d8ca}.customer-matter-card p{min-height:30px;margin:8px 0;color:#74828a;font-size:7px;line-height:1.8}.customer-matter-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px solid #f0e8de}.customer-matter-card-actions .text-button{font-size:7px}.customer-matter-empty{grid-column:1/-1;padding:16px;color:#9aa6ad;border:1px dashed #decfb9;border-radius:8px;background:#fffdf9;font-size:8px;text-align:center}.customer-matter-upload{margin-top:10px}.customer-matter-upload .file-upload-control{border-color:#e3d5c5;background:#fffaf5}.customer-matter-preview .check-request-preview-head{margin-bottom:12px}.customer-matter-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:12px}.customer-matter-detail-grid>div{min-height:47px;padding:8px;border:1px solid var(--line);border-radius:7px;background:#fff}.customer-matter-detail-grid small,.customer-matter-detail-grid strong{display:block}.customer-matter-detail-grid small{color:#91a0aa;font-size:6px}.customer-matter-detail-grid strong{margin-top:3px;color:var(--ink);font-size:8px;line-height:1.7;overflow-wrap:anywhere}.customer-matter-attachments{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.customer-matter-attachments li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;color:#697983;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:7px}.customer-matter-attachments a{color:#286dbb;font-weight:800}.customer-dossier .dossier-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:820px){.customer-matter-grid{grid-template-columns:1fr}.customer-matter-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-dossier .dossier-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.customer-matter-section-head{align-items:flex-start;flex-direction:column}.customer-matter-detail-grid{grid-template-columns:1fr}.customer-dossier .dossier-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* خوانایی بیشتر فرم و خروجی A5 رسید چک و کارت موضوعات پرونده */
.check-receipt-auto-banner strong,.check-receipt-request-banner strong{font-size:11px}
.check-receipt-auto-banner small,.check-receipt-request-banner small{font-size:9px}
.check-receipt-form-table th,.check-receipt-form-table td{padding:10px 8px;font-size:9px}
.check-receipt-form-table input{min-height:36px;padding:0 8px;font-size:9px}
.check-receipt-form-total{padding:11px 13px;font-size:10px}
.check-receipt-form-total strong{font-size:13px}
.approval-routing-grid select{min-height:42px}
.invoice-status-stack .status-badge{font-size:8px}
.invoice-approval-panel-head strong{font-size:11px}
.invoice-approval-panel-head small{font-size:9px}
.invoice-approval-step strong{font-size:9px}
.invoice-approval-step small{font-size:8px}
.invoice-approval-hint{font-size:9px}
.invoice-approval-detail strong{font-size:10px}
.invoice-approval-detail small,.invoice-approval-detail span{font-size:9px}
.approval-history-row{font-size:9px}
.check-receipt-paper-head{gap:18px;padding-bottom:14px}
.check-receipt-paper-brand strong{font-size:14px}
.check-receipt-paper-brand small{font-size:9px}
.check-receipt-title-block small,.check-receipt-title-block span{font-size:7px}
.check-receipt-title-block h1{font-size:21px}
.check-receipt-meta{gap:7px;margin-top:13px;margin-bottom:9px;padding:9px}
.check-receipt-meta small,.check-receipt-party small{font-size:8px}
.check-receipt-meta strong,.check-receipt-party strong{font-size:10px}
.check-receipt-party{gap:7px;margin-top:9px;margin-bottom:13px;padding:9px}
.check-receipt-section-title{gap:6px;margin-top:11px;margin-bottom:7px;font-size:11px}
.check-receipt-section-title span{height:15px}
.check-receipt-table th{padding:7px 4px;font-size:8px}
.check-receipt-table td{padding:8px 4px;font-size:8px}
.check-receipt-table td strong{font-size:9px}
.check-receipt-table td small{font-size:7px}
.check-receipt-total{margin-top:9px;padding:8px 9px;font-size:9px}
.check-receipt-total strong{font-size:12px}
.check-receipt-note{margin-top:11px;padding:9px 10px;font-size:9px;line-height:2}
.check-receipt-note strong{font-size:10px}
.check-receipt-signatures{gap:8px;margin-top:14px}
.check-receipt-signature-box{min-height:90px;padding:8px;font-size:8px}
.check-receipt-signature-box>strong{margin-top:15px;font-size:9px}
.check-receipt-signature-box>small{font-size:7px}
.check-receipt-signature-image{width:88px}
.check-receipt-signature-line{font-size:7px}
.check-receipt-stamp-box img{width:50px;height:50px}
.check-receipt-footer{font-size:7px}
.customer-matter-section-head{gap:14px;padding:12px 14px}
.customer-matter-section-head strong{font-size:11px}
.customer-matter-section-head small{font-size:9px}
.customer-matter-card{padding:12px 13px}
.customer-matter-card-head strong{font-size:10px}
.customer-matter-card-head small{font-size:8px}
.customer-matter-icon{width:29px;height:29px;flex-basis:29px;font-size:15px}
.customer-matter-card h4{font-size:11px}
.customer-matter-meta{font-size:8px}
.customer-matter-card p{font-size:9px;line-height:2}
.customer-matter-card-actions .text-button{font-size:9px}
.customer-matter-empty{font-size:10px}
.customer-matter-detail-grid small{font-size:8px}
.customer-matter-detail-grid strong{font-size:10px}
.customer-matter-attachments li{font-size:9px}

@media screen and (min-width:561px){
  .check-receipt-print-wrap{padding:24px}
  .check-receipt-paper{padding:34px 38px 70px}
}

@media(max-width:560px){
  .check-receipt-title-block h1{font-size:16px}
  .check-receipt-title-block small,.check-receipt-title-block span{font-size:6px}
  .check-receipt-meta,.check-receipt-party{gap:5px;padding:3vw}
  .check-receipt-meta small,.check-receipt-party small{font-size:7px}
  .check-receipt-meta strong,.check-receipt-party strong{font-size:9px}
  .check-receipt-section-title{font-size:10px}
  .check-receipt-table th,.check-receipt-table td{font-size:7px}
  .check-receipt-table td strong{font-size:8px}
  .check-receipt-table td small{font-size:6px}
  .check-receipt-total,.check-receipt-note{font-size:8px}
  .check-receipt-total strong,.check-receipt-note strong{font-size:9px}
  .check-receipt-signature-box{min-height:84px;font-size:7px}
  .check-receipt-signature-box>strong{font-size:8px}
  .check-receipt-signature-box>small{font-size:6px}
  .customer-matter-section-head{padding:10px 12px}
  .customer-matter-section-head strong{font-size:10px}
  .customer-matter-section-head small{font-size:8px}
  .customer-matter-card h4{font-size:10px}
  .customer-matter-card p{font-size:8px}
}

/* نسخه خوانا برای چاپ A5: پنج سطح بزرگ‌تر از تایپوگرافی پایه */
.check-receipt-paper{font-size:15px}
.check-receipt-paper-head{gap:20px;padding-bottom:16px}
.check-receipt-paper-brand{gap:10px}
.check-receipt-paper-brand .brand-mark{width:40px;height:40px;flex-basis:40px;font-size:13px}
.check-receipt-paper-brand strong{font-size:18px}
.check-receipt-paper-brand small{font-size:10px}
.check-receipt-title-block small,.check-receipt-title-block span{font-size:9px}
.check-receipt-title-block h1{font-size:28px;line-height:1.3}
.check-receipt-meta,.check-receipt-party{gap:8px;margin:15px 0 12px;padding:11px}
.check-receipt-meta small,.check-receipt-party small{font-size:10px}
.check-receipt-meta strong,.check-receipt-party strong{font-size:13px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.check-receipt-section-title{gap:7px;margin:15px 0 8px;font-size:15px}
.check-receipt-section-title span{width:4px;height:20px}
.check-receipt-table{table-layout:fixed}
.check-receipt-table th{padding:9px 4px;font-size:10px;line-height:1.45}
.check-receipt-table td{padding:10px 4px;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.check-receipt-table td strong{font-size:12px}
.check-receipt-table td small{font-size:9px}
.check-receipt-total{margin-top:11px;padding:10px 11px;font-size:12px}
.check-receipt-total strong{font-size:16px}
.check-receipt-note{margin-top:13px;padding:11px 12px;font-size:11px;line-height:1.9}
.check-receipt-note strong{font-size:14px}
.check-receipt-signatures{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}
.check-receipt-signature-box{min-height:118px;padding:10px;font-size:11px;line-height:1.6}
.check-receipt-signature-box>span{font-size:11px}
.check-receipt-signature-box>strong{margin-top:14px;font-size:14px}
.check-receipt-signature-box>small{font-size:10px;line-height:1.7}
.check-receipt-signature-image{width:105px}
.check-receipt-signature-line{width:94px;margin:22px auto 8px;font-size:10px}
.check-receipt-stamp-box img{width:64px;height:64px}
.check-receipt-footer{font-size:9px}
.check-receipt-receiver-details{margin-top:4px}
.check-receipt-receiver-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #d9e7f3;border-radius:7px;background:#fbfdff}
.check-receipt-receiver-grid>div{min-width:0}
.check-receipt-receiver-grid small,.check-receipt-receiver-grid strong{display:block}
.check-receipt-receiver-grid small{color:#6584a0;font-size:9px}
.check-receipt-receiver-grid strong{margin-top:4px;color:var(--ink);font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.check-receipt-recipient-stamp{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:9px;color:#a16c50;font-size:10px}
.check-receipt-recipient-stamp>div{display:grid;place-items:center;width:48px;height:40px;border:1px dashed #dca98b;border-radius:5px}
.check-receipt-no-stamp{display:block;margin-top:9px;color:#9ca8b0;font-size:10px}
.check-receipt-receiver-form-note{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:10px 12px;color:#6d7d87;border:1px solid #d9e7f3;border-right:3px solid #3984ca;border-radius:7px;background:#f7fbff}
.check-receipt-receiver-form-note strong{color:#2865af;font-size:12px}
.check-receipt-receiver-form-note span{font-size:10px;line-height:1.8}
.check-receipt-receiver-fields .form-field label{font-size:11px}
.check-receipt-receiver-fields input{min-height:40px;font-size:12px}
.check-receipt-receiver-fields .check-card{min-height:40px;font-size:11px}

@media print{
  .check-receipt-signatures{grid-template-columns:repeat(2,minmax(0,1fr))}
  .check-receipt-receiver-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:560px){
  .check-receipt-paper{font-size:13px}
  .check-receipt-title-block h1{font-size:23px}
  .check-receipt-paper-brand strong{font-size:15px}
  .check-receipt-paper-brand small{font-size:9px}
  .check-receipt-title-block small,.check-receipt-title-block span{font-size:8px}
  .check-receipt-meta,.check-receipt-party{gap:6px;padding:9px}
  .check-receipt-meta small,.check-receipt-party small{font-size:9px}
  .check-receipt-meta strong,.check-receipt-party strong{font-size:11px}
  .check-receipt-section-title{font-size:13px}
  .check-receipt-table th{font-size:8px}
  .check-receipt-table td{font-size:8px;padding:7px 3px}
  .check-receipt-table td strong{font-size:10px}
  .check-receipt-table td small{font-size:7px}
  .check-receipt-receiver-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .check-receipt-signatures{grid-template-columns:1fr}
}

/* چاپ واقعی A5: خوانا، فشرده و بدون بریدگی در پایین صفحه */
@media print{
  .check-receipt-paper{
    font-size:11px;
    padding:6mm 7mm 12mm;
  }
  .check-receipt-paper-head{gap:10px;padding-bottom:8px}
  .check-receipt-paper-brand{gap:6px}
  .check-receipt-paper-brand .brand-mark{width:29px;height:29px;flex-basis:29px;font-size:9px}
  .check-receipt-paper-brand strong{font-size:13px}
  .check-receipt-paper-brand small{font-size:7px}
  .check-receipt-title-block small,.check-receipt-title-block span{font-size:6px}
  .check-receipt-title-block h1{font-size:22px}
  .check-receipt-meta,.check-receipt-party{gap:4px;margin:7px 0 6px;padding:6px}
  .check-receipt-meta small,.check-receipt-party small{font-size:7px}
  .check-receipt-meta strong,.check-receipt-party strong{font-size:9px;line-height:1.35}
  .check-receipt-section-title{gap:5px;margin:7px 0 4px;font-size:11px}
  .check-receipt-section-title span{width:3px;height:14px}
  .check-receipt-receiver-grid{gap:4px;padding:6px}
  .check-receipt-receiver-grid small{font-size:7px}
  .check-receipt-receiver-grid strong{margin-top:2px;font-size:8px;line-height:1.35}
  .check-receipt-table th{padding:5px 2px;font-size:7.5px;line-height:1.25}
  .check-receipt-table td{padding:5px 2px;font-size:7.5px;line-height:1.3}
  .check-receipt-table td strong{font-size:8.5px}
  .check-receipt-table td small{font-size:6.5px}
  .check-receipt-total{margin-top:5px;padding:6px 7px;font-size:8.5px}
  .check-receipt-total strong{font-size:11px}
  .check-receipt-note{margin-top:6px;padding:6px 7px;font-size:8px;line-height:1.55}
  .check-receipt-note strong{font-size:9px}
  .check-receipt-signatures{gap:5px;margin-top:8px}
  .check-receipt-signature-box{min-height:75px;padding:6px;font-size:8px;line-height:1.35}
  .check-receipt-signature-box>span{font-size:8px}
  .check-receipt-signature-box>strong{margin-top:7px;font-size:9px}
  .check-receipt-signature-box>small{font-size:7px;line-height:1.35}
  .check-receipt-signature-image{width:65px}
  .check-receipt-signature-line{width:58px;margin:11px auto 4px;font-size:7px}
  .check-receipt-recipient-stamp{gap:4px;margin-top:4px;font-size:7px}
  .check-receipt-recipient-stamp>div{width:35px;height:27px}
  .check-receipt-no-stamp{margin-top:4px;font-size:7px}
  .check-receipt-stamp-box img{width:38px;height:38px;margin-top:4px}
  .check-receipt-footer{font-size:6.5px}
}
