/* ═══════════════════════════════════════════════════════════════════════
   LABEL PRINTER — tape-label sheet (ui/label-print.js)
   ─────────────────────────────────────────────────────────────────────
   The sheet that previews a 24mm-tape PNG and hands it to the phone for
   Brother Pro Label Tool. Rides the shared .callout-modal shell — this
   file only styles what is genuinely new (the preview card, the spec
   line, the numbered steps).
   ═══════════════════════════════════════════════════════════════════════ */

.lblp-modal { max-width: 460px; }

.lblp-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* The preview is a picture of what the TAPE will look like, so it stays
   white in both themes — this is printed output, not app chrome. */
.lblp-preview {
  background: #ffffff;
  /* --border-strong, not --border: in light mode the sheet itself is white,
     so the softer token leaves the preview card floating with no edge — and
     this card is the whole point of the screen. */
  border: 1px solid var(--border-strong, var(--border));
  border-radius: var(--radius-md);
  padding: 10px;
  display: grid;
  place-items: center;
  overflow-x: auto;
}
.lblp-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  /* Never smooth the modules — a soft QR is an unscannable QR. */
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.lblp-spec {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-align: center;
}

.lblp-warn {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--warning);
  background: color-mix(in srgb, var(--warning) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--warning) 34%, transparent);
  border-radius: var(--radius-md);
  padding: 8px 10px;
}

.lblp-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-secondary);
}
.lblp-steps strong { color: var(--text-primary); font-weight: 700; }

.lblp-alt {
  font-size: var(--text-xs);
  line-height: 1.45;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 11px;
}
.lblp-alt strong { color: var(--text-secondary); font-weight: 700; }

/* ─── Three-button feet ──────────────────────────────────────────────
   This sheet, and the four QR modals that now offer "Label printer"
   alongside their existing sheet-printer button, carry three actions.
   Wrap rather than overflow on a phone (§4), and meet the 44px floor. */
.lblp-foot,
.asset-qr-modal .callout-modal-foot {
  flex-wrap: wrap;
}

@media (max-width: 599px) {
  .lblp-foot .callout-btn,
  .asset-qr-modal .callout-modal-foot .callout-btn {
    flex: 1 1 auto;
    min-height: 44px;
  }
  .lblp-modal { max-width: 100%; }
}
