.product-label-dialog { width: min(540px, calc(100vw - 24px)); padding: 24px; background: #faf9f7; color: #101e3f; border: 0; border-radius: 6px; }
.product-label-dialog::backdrop { background: rgba(10,20,40,.65); }
.product-label-dialog > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.product-label-dialog h2 { margin: 0; font-size: 1.4rem; }
.product-label { padding: 16px; margin-block: 20px; border: 1px solid #bbb; background: white; color: #000; }
.product-label small { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.product-label h3 { font-family: Arial, sans-serif; font-size: 15px; line-height: 1.3; margin: 8px 0; }
.product-label__barcode { display: block; width: 100%; height: auto; max-height: 100px; }
.product-label__price { font-weight: bold; margin-top: 4px; }
.product-label-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.product-label-actions label { display: grid; gap: 6px; }
.product-label-actions select { padding: 10px; min-height: 44px; font: inherit; }
.product-label-error { color: #a12d25; }
@media print {
  body.printing-product-label > *:not(.product-label-dialog) { display: none !important; }
  body.printing-product-label { padding: 0 !important; margin: 0 !important; background: white !important; }
  .product-label-dialog[open] { position: static; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: white; }
  .product-label-dialog > header, .product-label-actions, .product-label-error { display: none !important; }
  .product-label { margin: 0; padding: 0; border: 0; break-inside: avoid; }
  .product-label-dialog::backdrop { display: none; }
}
