:root {
  --text: #0b0f14;
  --muted: #4a5568;
  --stroke: rgba(0, 0, 0, 0.12);
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: #f5f7fb;
  padding: 18px;
}
.sheet {
  width: 680px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px;
}
h1 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 900;
}
.sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.card {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
}
.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 900;
  font-size: 12px;
}
.barcodeBox {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.barcodeBox img {
  max-width: 100%;
  height: auto;
}
.actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn {
  border: 1px solid var(--stroke);
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }
  .actions {
    display: none;
  }
  .sheet {
    border: none;
    border-radius: 0;
    padding: 0;
  }
}

/* Former inline styles moved out of HTML. */
.scan-label-title {
  font-weight: 900;
  font-size: 13px;
}
.scan-label-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
