/* A physical label is white paper, independent of the application theme and type scale. */
.label-sheet.hu-label-sheet{--ui-font-scale:1;box-sizing:border-box;width:390px;max-width:100%;margin:0 auto;padding:18px;border:1.5px solid #111;background:#fff!important;color:#111!important;color-scheme:light;box-shadow:none!important;filter:none!important;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.35}
.hu-label-sheet *{box-sizing:border-box;text-shadow:none!important;box-shadow:none!important}
.hu-label-sheet .hu-label-header{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff!important;color:#111!important}
.hu-label-sheet .hu-label-warehouse{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.hu-label-sheet .hu-label-warehouse>div{min-width:0}
.hu-label-sheet .hu-label-warehouse-logo{display:block;flex:0 0 43px;width:43px;height:48px;object-fit:contain}
.hu-label-sheet .hu-label-warehouse strong{display:block;font-size:16px;line-height:1.15;font-weight:750;color:#111!important;overflow-wrap:anywhere}
.hu-label-sheet .hu-label-warehouse small{display:block;margin-top:4px;font-size:9px;color:#444!important;overflow-wrap:anywhere}
.hu-label-sheet .hu-label-platform-logo{display:block;flex:0 0 100px;width:100px;height:auto;max-height:34px;object-fit:contain}
.hu-label-sheet h2{margin:20px 0 4px;font-size:23px;line-height:1.15;color:#111!important;font-weight:750;overflow-wrap:anywhere}
.hu-label-sheet p.hu-label-set{margin:8px 0;font-size:11px;color:#333!important;overflow-wrap:anywhere}
.hu-label-sheet .barcode{height:74px;margin:15px 0 5px;background:#fff!important}
.hu-label-sheet .barcode svg{display:block;width:100%;height:100%;background:#fff!important}
.hu-label-sheet .barcode-text{font-size:13px;letter-spacing:3px;color:#111!important;overflow-wrap:anywhere}
.hu-label-sheet .label-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px;margin-top:18px;padding-top:16px;border-top:1px solid #aaa}
.hu-label-sheet .label-meta>div{min-width:0}
.hu-label-sheet .label-meta small{display:block;font-size:9px;color:#444!important}
.hu-label-sheet .label-meta b{display:block;font-size:12px;line-height:1.35;color:#111!important;overflow-wrap:anywhere}
@media(max-width:420px){.label-sheet.hu-label-sheet{padding:14px}.hu-label-sheet .hu-label-header{gap:8px}.hu-label-sheet .hu-label-warehouse{gap:6px}.hu-label-sheet .hu-label-warehouse-logo{flex-basis:33px;width:33px;height:40px}.hu-label-sheet .hu-label-warehouse strong{font-size:14px}.hu-label-sheet .hu-label-platform-logo{flex-basis:80px;width:80px}.hu-label-sheet .barcode-text{letter-spacing:2px}}
@media print{
  /* The paper edge to the label border is 5 mm. Padding inside the border is separate. */
  html:has(.hu-label-sheet),body:has(.hu-label-sheet){margin:0!important;padding:0!important;background:#fff!important;color:#000!important;color-scheme:light!important}
  dialog#modal:has(.hu-label-sheet){position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important}
  dialog#modal:has(.hu-label-sheet) #modal-content{margin:0!important;padding:0!important}
  .label-sheet.hu-label-sheet{break-inside:avoid;page-break-inside:avoid;width:100%!important;max-width:none!important;margin:0!important;padding:3mm!important;border:.3mm solid #000!important;background:#fff!important;color:#000!important;box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .hu-label-sheet .hu-label-header{gap:4mm}
  .hu-label-sheet .hu-label-warehouse{gap:2mm}
  .hu-label-sheet .hu-label-warehouse-logo{flex-basis:12mm;width:12mm;height:14mm}
  .hu-label-sheet .hu-label-warehouse strong{font-size:13pt}
  .hu-label-sheet .hu-label-warehouse small{font-size:7pt}
  .hu-label-sheet .hu-label-platform-logo{flex-basis:29mm;width:29mm;max-height:10mm}
  .hu-label-sheet h2{font-size:19pt;margin:5mm 0 1mm}
  .hu-label-sheet p.hu-label-set{font-size:8pt;margin:2mm 0}
  .hu-label-sheet .barcode{height:20mm;margin:4mm 0 1mm}
  .hu-label-sheet .barcode-text{font-size:10pt;letter-spacing:.7mm}
  .hu-label-sheet .label-meta{gap:3mm;margin-top:4mm;padding-top:3mm}
  .hu-label-sheet .label-meta small{font-size:7pt}
  .hu-label-sheet .label-meta b{font-size:9pt}
}
