.label-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.label { width: 100mm; min-height: 62mm; background: #fff; color: #111; border: 1.5px solid #111; border-radius: 4mm; padding: 4mm; display: grid; grid-template-columns: 1fr 30mm; gap: 3mm; font-size: 11pt; line-height: 1.35; page-break-inside: avoid; }
.label .l-brand { grid-column: 1 / -1; font-family: var(--display); letter-spacing: .16em; font-size: 14pt; direction: ltr; text-align: center; border-bottom: 1.5px solid #111; padding-bottom: 1mm; margin-bottom: 2mm; }
.label .l-name { font-weight: 700; font-size: 13pt; }
.label .l-row { display: flex; justify-content: space-between; gap: 4mm; font-size: 10pt; border-bottom: 0.5px dotted #888; }
.label .l-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1mm; }
.label .l-qr img { width: 30mm; height: 30mm; }
.label .l-code { font-family: ui-monospace, Menlo, monospace; font-size: 8.5pt; font-weight: 700; direction: ltr; }
@media print {
  @page { margin: 6mm; }
  :root { --bg: #fff; --surface: #fff; --surface-2: #fff; --ink: #111; --muted: #444; --line: #ccc; --line-2: #bbb; color-scheme: light; }
  html, body { background: #fff !important; background-image: none !important; color: #111; }
  .card, .tbl-wrap, .node, .kpi, .tline li { background: #fff !important; color: #111; }
  .tbl th { background: #eee !important; color: #111; } .tbl td { color: #111; } .tbl tbody tr td { background: #fff !important; }
  .badge { background: #fff !important; color: #111 !important; border-color: #999 !important; }
  .kpi .k-val, .hero h2, h1, h2, h3 { color: #111 !important; } .hero, .welcome, .tiles { display: none !important; }
  .side, .topbar, .scrim, .no-print, #toasts, .btn { display: none !important; }
  .app { display: block; } .view { padding: 0; max-width: none; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .label { break-inside: avoid; margin: 0 auto 4mm; }
  .tbl-wrap { border: 0; overflow: visible; } .tbl th { position: static; }
}
@media print {
  .print-only { display: block !important; }
  .print-only.sign { display: flex !important; justify-content: space-between; gap: 20mm; margin-top: 14mm; }
  .ulabels { display: flex; flex-wrap: wrap; gap: 3mm; justify-content: flex-start; }
  .label.ulabel { margin: 0; }
  .tline li { border: 1px solid #999; }
  .scan { display: none !important; }
}
