.ld h2 { font-size: 16px; margin: 0 0 8px; }
.ld .note-line { background: var(--warn-bg); border: 1px solid #e6c98a; border-radius: 8px; padding: 8px 10px; color: var(--ink); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; margin-top: 12px; }
.col { min-width: 0; }
.label-stage { display: flex; justify-content: center; padding: 14px; background: #efe6d2; border-radius: 12px; }
.controls { margin: 10px 0; display: grid; gap: 6px; font-size: 14px; }
.controls label { display: flex; gap: 8px; align-items: center; }
.controls select { font: inherit; padding: 4px 6px; }
.controls .reset { justify-self: start; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: inherit; cursor: pointer; }
.derived h3 { font-size: 14px; margin: 12px 0 4px; }
.tier { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.tier.sugarbush { background: var(--ok-bg); color: var(--ok); }
.tier.jurisdiction { background: var(--warn-bg); color: var(--warn); }
.tier.declared { background: var(--stop-bg); color: var(--stop); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.checklist li { display: flex; gap: 8px; }
.checklist .ok { color: var(--ok); font-weight: 700; }
.checklist .no { color: var(--stop); font-weight: 700; }
.checklist .why { display: block; color: var(--muted); font-size: 12.5px; }
.claims { margin: 0; padding-left: 18px; font-size: 13.5px; }
.claims .blocked { color: var(--stop); }
.claims .why { display: block; color: var(--muted); font-size: 12.5px; }
.derived pre { margin: 6px 0 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; font-size: 11.5px; overflow: auto; max-height: 220px; }
.derived details summary { cursor: pointer; font-size: 13.5px; }
.notes .plain { margin: 0; padding-left: 18px; font-size: 14px; }
.foot { margin-top: 12px; }
.foot button { min-height: 40px; padding: 6px 14px; border: 1px solid var(--navy); border-radius: 8px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }

/* The labels themselves: fixed light colours so they read like printed paper in any theme. */
.lbl { position: relative; width: 340px; background: #fbf3e0; color: #3b2416; border: 2px solid #3b2416; border-radius: 10px; padding: 14px 16px 12px; font-family: Georgia, "Times New Roman", serif; display: flex; flex-direction: column; gap: 6px; }
.lbl .sample-tag { position: absolute; top: 8px; right: -2px; background: #a8321f; color: #fff; font: 700 10px/1 system-ui, sans-serif; letter-spacing: .12em; padding: 4px 8px; transform: rotate(4deg); }
.lbl .brand { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-align: center; border-bottom: 1px solid #3b2416; padding-bottom: 6px; margin-right: 46px; }
.lbl .common { text-align: center; line-height: 1.05; }
.lbl .common b { display: block; font-size: 30px; }
.lbl .common span { display: block; font-size: 22px; font-style: italic; }
.lbl .grade { text-align: center; font-weight: 700; font-size: 17px; }
.lbl .colour { text-align: center; font-size: 14.5px; line-height: 1.25; }
.lbl .ribbon { text-align: center; font: 700 12px/1.3 system-ui, sans-serif; letter-spacing: .04em; padding: 6px 8px; border-radius: 4px; }
.lbl .ribbon.sugarbush { background: #a8321f; color: #fff; }
.lbl .ribbon.jurisdiction { background: #3b2416; color: #fbf3e0; }
.lbl .ribbon small { display: block; font-weight: 400; font-size: 10.5px; letter-spacing: 0; opacity: .9; }
.lbl .notes-line { text-align: center; font-size: 12.5px; font-style: italic; }
.lbl .origin { text-align: center; font-size: 13px; font-weight: 700; line-height: 1.3; }
.lbl .net { text-align: center; font-size: 20px; font-weight: 700; border-top: 1px solid #3b2416; border-bottom: 1px solid #3b2416; padding: 4px 0; }
.lbl .net small { font-size: 11px; font-weight: 400; display: block; letter-spacing: .06em; }
.lbl .packer { font: 11.5px/1.3 system-ui, sans-serif; text-align: center; }
.lbl .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 10.5px/1.3 system-ui, sans-serif; }
.lbl .qr { flex: none; width: 46px; height: 46px; border: 2px solid #3b2416; background: repeating-conic-gradient(#3b2416 0 25%, #fbf3e0 0 50%) 0 0 / 12px 12px; }
.lbl .nft { border: 1px solid #3b2416; text-align: center; font: 10.5px/1.3 system-ui, sans-serif; padding: 4px; }

@media print {
  .banner, .backnav, .controls, .derived, .notes, .foot, .ld > h1, .ld > p { display: none; }
  body { background: #fff; }
  .designer { border: 0; max-width: none; }
  .label-stage { background: none; }
}
