.warehouse-article-label { margin-block: 1rem; }
.warehouse-article-label summary { cursor: pointer; font-weight: 600; padding-block: .5rem; }
.warehouse-label-preview-wrap { max-width: 100%; overflow-x: auto; padding: 1px; }
.warehouse-label-preview {
    box-sizing: border-box;
    width: 2.44in;
    height: 1.50in;
    padding: .10in .07in 0;
    background: white;
    color: black;
    outline: 1px solid #777;
}
.warehouse-label-layout {
    box-sizing: border-box;
    width: 2.30in;
    height: 1.30in;
    padding: .5mm;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: .5mm;
    background: white;
    color: black;
    font: 8pt/1.1 Arial, sans-serif;
}
.warehouse-label-brand { font-size: 8pt; white-space: nowrap; }
.warehouse-label-content { display: grid; grid-template-columns: 23mm minmax(0, 1fr); gap: 1mm; min-height: 0; }
.warehouse-label-qr { width: 23mm; height: 100%; max-height: 23mm; min-height: 0; }
.warehouse-label-qr svg { display: block; width: 100%; height: 100%; }
.warehouse-label-description { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .5mm; min-width: 0; min-height: 0; }
.warehouse-label-description strong { font-size: 8pt; overflow-wrap: anywhere; overflow: hidden;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; align-self: start; max-height: 100%; }
.warehouse-label-description span { font-size: 8pt; min-width: 0; overflow-wrap: anywhere; }
.warehouse-label-number { font: 8pt/1.1 monospace; overflow-wrap: anywhere; min-width: 0; }
#warehouse-print-sheet { display: none; }
@page warehouse-label { size: 2.44in 1.50in; margin: 0; }
@media print {
    body.warehouse-label-printing { margin: 0; padding: 0; }
    body.warehouse-label-printing > :not(#warehouse-print-sheet) { display: none !important; }
    body.warehouse-label-printing > #warehouse-print-sheet {
        display: block !important;
        page: warehouse-label;
        width: 2.44in;
        height: 1.50in;
        break-inside: avoid;
    }
    #warehouse-print-sheet .warehouse-label-preview { outline: 0; }
}
