.workflow-picker-filters,.workflow-report-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.workflow-picker-filters>label{flex:1;min-width:160px}.workflow-line-discount{display:flex;gap:5px;align-items:center}.workflow-line-discount input{width:104px;min-width:80px}.workflow-line-discount select{width:72px;min-width:64px}.workflow-discount small{display:block;margin-top:5px;white-space:nowrap}.workflow-report-toolbar>label{max-width:210px}.workflow-requests{padding:16px}.workflow-requests summary{cursor:pointer;font-weight:700;margin-bottom:12px}#workflow-seller{max-width:360px}#ux-item-results{max-height:50vh;overflow:auto}@media(max-width:650px){.workflow-picker-filters>label{min-width:120px}.workflow-report-toolbar>label{width:calc(50% - 8px)}}

/* A5 quotation print is isolated from the application and other receipt templates. */
@page quotationA5{size:A5 portrait;margin:7mm}
@media print{
  html:has(body.quotation-print){background:#fff}
  body.quotation-print{margin:0;padding:0;background:#fff;color:#152b37}
  body.quotation-print>:not(#receipt-view){display:none!important}
  body.quotation-print>#receipt-view.quotation-receipt{display:block!important;padding:0!important;margin:0;width:100%;page:quotationA5}
  .quote-sheet{font-family:"IRANYekanX",Tahoma,Arial,sans-serif;font-size:9pt;line-height:1.65;direction:rtl;color:#182d36;max-width:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .quote-sheet *{box-sizing:border-box}
  .quote-sheet p{margin:0}
  .quote-heading{display:flex;align-items:center;justify-content:space-between;gap:5mm;padding:0 0 2.5mm;border-bottom:1.2pt solid #147e73;break-inside:avoid;break-after:avoid}
  .quote-brand{display:flex;align-items:center;gap:2.5mm;min-width:0}
  .quote-brand img{display:block;width:12mm;height:12mm;object-fit:contain;flex:none}
  .quote-brand strong{display:block;font-size:15pt;color:#126c63}
  .quote-brand span{display:block;font-size:8pt;overflow-wrap:anywhere}
  .quote-title{flex:none;text-align:left}
  .quote-title h1{font-size:14pt;margin:0;font-weight:700;line-height:1.8}
  .quote-title span{font-size:8pt;color:#47565b}
  .quote-meta{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:3mm;padding:2mm 0;break-inside:avoid;break-after:avoid}
  .quote-meta>div{display:flex;flex-direction:column;gap:.7mm}
  .quote-meta span{font-size:7.5pt;color:#53636a}
  .quote-meta bdi{font-size:9pt;align-self:flex-start;white-space:nowrap}
  .quote-party{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1mm 3mm;padding:2mm;margin-bottom:2mm;border:1px solid #aabbbd;border-radius:1.5mm;break-inside:avoid;break-after:avoid;overflow-wrap:anywhere}
  .quote-party-code{font-size:8pt}
  .quote-address{width:100%;font-size:8pt}
  .quote-sheet .quote-items{width:100%;table-layout:fixed;border-collapse:collapse;white-space:normal;text-align:right;font-size:8pt;overflow:visible}
  .quote-col-index{width:5%}.quote-col-description{width:29%}.quote-col-quantity{width:7%}.quote-col-price{width:20%}.quote-col-discount{width:19%}.quote-col-net{width:20%}
  .quote-items thead{display:table-header-group}
  .quote-items tr{break-inside:avoid;page-break-inside:avoid}
  .quote-sheet .quote-items th,.quote-sheet .quote-items td{padding:1.1mm 1.2mm;border:1px solid #b5c0c3;vertical-align:top;font-size:8pt;line-height:1.65}
  .quote-sheet .quote-items th{background:#eaf2f1;color:#193e3a;font-weight:700;font-size:7.5pt;text-align:center}
  .quote-sheet .quote-items tbody tr:hover{background:transparent}
  .quote-sheet .quote-items strong{color:inherit;font-weight:700;font-size:8pt}
  .quote-sheet .quote-items small{display:block;font-size:6.8pt;color:#4e5f66;margin-top:.7mm;line-height:1.5}
  .quote-description{overflow-wrap:anywhere;word-break:normal}
  .quote-device bdi{white-space:nowrap;font-size:6.3pt}
  .quote-items th:first-child,.quote-items .quote-row-number,.quote-items .quote-quantity{text-align:center;padding-inline:.6mm}
  .quote-items .quote-amount{text-align:left}
  .quote-number{display:inline-block;white-space:nowrap;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;font-size:inherit}
  .quote-totals{width:77mm;max-width:100%;margin:3mm auto 0 0;border:1px solid #aabbbd;border-radius:1.5mm;padding:1mm 2.5mm;break-inside:avoid;page-break-inside:avoid}
  .quote-totals>div{display:flex;justify-content:space-between;gap:3mm;padding:.6mm 0;font-size:8pt}
  .quote-total-final{border-top:1px solid #729a95;margin-top:1mm;padding-top:2mm!important;color:#125b53}
  .quote-total-final strong{font-size:10pt}
  .quote-note{margin-top:3mm;overflow-wrap:anywhere;orphans:3;widows:3}
  .quote-note>strong{font-size:8pt;display:block;break-after:avoid}
  .quote-note p{white-space:pre-wrap;font-size:8pt}
  .quote-closing{break-inside:avoid;page-break-inside:avoid;margin-top:2mm}
  .quote-status{padding:2mm 0;border-top:1px solid #bcc7c9;font-size:7.5pt;line-height:1.7}
  .quote-signatures{display:grid;grid-template-columns:1fr 1fr;gap:8mm;padding-top:3mm;text-align:center;font-size:8pt}
  .quote-signatures>div{min-height:13mm;border:1px solid #c5cdcf;border-radius:1mm;padding:2mm}
  .quote-sheet .quote-footer{font-size:7pt;color:#59676c;text-align:center;padding-top:1.2mm}
}
