.cm-label{width:150mm;height:100mm;padding:4mm;background:#fff;color:#000;font-family:Tahoma,Arial,sans-serif;font-size:13px;line-height:1.35;display:grid;grid-template-rows:18mm 14mm minmax(17mm,1fr) 13mm 14mm 6mm;gap:1mm;box-sizing:border-box;overflow:hidden;direction:rtl;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.cm-label *{box-sizing:border-box}.cm-label section,.cm-label header,.cm-label footer{margin:0;min-width:0;min-height:0;border-radius:0;background:#fff;color:#000;box-shadow:none}.cm-label-head{display:grid;grid-template-columns:minmax(0,1fr) 62mm;gap:5mm;align-items:center;border-bottom:2px solid #000;padding:0 0 2mm}.cm-label-brand{display:flex;align-items:center;justify-content:flex-start;min-width:0}.cm-label-brand img{width:48mm;height:auto;max-width:100%;max-height:16mm;object-fit:contain;filter:brightness(0);display:block}.cm-label-refs{border-right:1px solid #000;padding-right:3mm;min-width:0}.cm-label-code{font:bold 16px/1.3 Arial,sans-serif;margin-bottom:1mm;text-align:left;overflow-wrap:anywhere}.cm-ref-line{display:flex;justify-content:space-between;gap:2mm;font-size:11px;line-height:1.6}.cm-ref-line span{white-space:nowrap}.cm-ref-line b{font-family:Arial,sans-serif;overflow-wrap:anywhere}.cm-caption{display:block;font-size:10px;font-weight:normal;line-height:1.35;margin-bottom:1mm}.cm-customer{display:grid;grid-template-columns:minmax(0,1fr) 53mm;gap:3mm;border-bottom:1px solid #000;padding:1mm 0 2mm}.cm-customer-name,.cm-customer-phone{min-width:0;min-height:0;display:flex;flex-direction:column}.cm-customer-name strong{display:block;font-size:19px;line-height:1.25;overflow:hidden;overflow-wrap:anywhere;flex:1}.cm-customer-phone{border-right:1px solid #000;padding-right:3mm}.cm-customer-phone strong{font:bold 18px/1.4 Arial,sans-serif;display:block;text-align:left;overflow:hidden;flex:1}.cm-address{display:flex;flex-direction:column;padding:1mm 0 2mm;border-bottom:1px solid #000}.cm-fit-address{font-weight:bold;font-size:15px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line;flex:1;min-height:0;overflow:hidden}.cm-payment{display:grid;grid-template-columns:minmax(0,1fr) 65mm;gap:3mm;padding:1mm 0 2mm;border-bottom:2px solid #000;align-items:center}.cm-payment>div>strong{font-size:15px}.cm-payment .cm-collect{border-right:1px solid #000;padding-right:3mm}.cm-payment .cm-collect>strong{font:bold 25px/1.15 Arial,Tahoma,sans-serif;display:block}.cm-collect strong span{font-size:12px}.cm-dispatch{display:grid;grid-template-columns:53mm minmax(0,1fr);gap:3mm;padding:1mm 0}.cm-route,.cm-note{display:flex;flex-direction:column;min-height:0;min-width:0}.cm-note{border-right:1px solid #000;padding-right:3mm}.cm-fit-route,.cm-fit-notes{font-size:11px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line;flex:1;min-height:0;overflow:hidden}.cm-label-footer{border-top:1px solid #000;padding-top:1mm;display:flex;justify-content:space-between;gap:2mm;align-items:center;font-size:10px;overflow:hidden}.cm-label-footer strong{font-size:12px;white-space:nowrap}.cm-label-footer span{overflow-wrap:anywhere}.cm-label-footer span:last-child{white-space:nowrap}
#label-preview{padding:0;background:#fff;overflow:hidden}#label-preview .cm-label{max-width:100%}#label-preview .cm-label-head{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:3mm}#label-preview .cm-customer{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#label-preview .cm-payment{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#label-preview .cm-dispatch{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
