/* The same scoped rules render the designer, physical labels and downloaded PDFs. */
.label.custom-layout{padding:0!important;gap:0!important}
.ticket-layout-sheet,.ticket-layout-sheet *{box-sizing:border-box}
.ticket-layout-sheet{width:100%;display:flex;flex-direction:column;background:#fff;color:#000;font:10pt/1.15 Arial,sans-serif;letter-spacing:normal;direction:ltr;text-transform:none;overflow-wrap:anywhere}
.ticket-layout-sheet .tl-row{display:grid;align-items:start;flex:none;min-width:0}
.ticket-layout-sheet .tl-cell{display:flex;flex-direction:column;gap:.5mm;min-width:0;min-height:1mm}
.ticket-layout-sheet .tl-element{min-width:0;max-width:100%;line-height:1.15;break-inside:avoid}
.ticket-layout-sheet .tl-caption{display:block;font-size:.75em;font-weight:400;margin-bottom:.4mm}
.ticket-layout-sheet .tl-value{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.ticket-layout-sheet .tl-border-all{border:.25mm solid #000}
.ticket-layout-sheet .tl-border-bottom{border-bottom:.25mm solid #000}
.ticket-layout-sheet .tl-logo{display:inline-block;max-width:100%;object-fit:contain;vertical-align:middle}
.ticket-layout-sheet .tl-qr{display:inline-block;max-width:100%;object-fit:contain;vertical-align:middle}
.ticket-layout-sheet .tl-barcode{padding:0 1.5mm;background:#fff;width:100%;min-width:0}
.ticket-layout-sheet .tl-barcode svg{display:block;width:100%;height:100%;max-width:none;fill:#000}
.ticket-layout-sheet .tl-products{width:100%;border:.25mm solid #000;border-collapse:collapse;table-layout:fixed;font:inherit;color:#000;background:#fff;text-align:start}
.ticket-layout-sheet .tl-products th,.ticket-layout-sheet .tl-products td{padding:.5mm;border:.2mm solid #000;text-align:start;overflow-wrap:anywhere;font:inherit;color:#000;background:#fff}
.ticket-layout-sheet .tl-products th{font-weight:700}
.ticket-layout-sheet .tl-products th:last-child,.ticket-layout-sheet .tl-products td:last-child{width:9mm;text-align:center}
.ticket-layout-sheet .tl-pending{font-size:7pt;line-height:1.2;font-weight:400}
.ticket-layout-sheet .tl-empty{color:#666;font-size:8pt}
