/* Preview-only: move the Allergen badge GlazeVariants pill into a reserved
   band ABOVE the card so it no longer covers the top-right of the note.
   Applies for every ldallergy variant, including keeper C. Production has
   no .glzv, so :has() keeps the live site unspaced.
   lane-d.css sets margin: 0 auto 2rem !important, so top spacing must also
   be !important or the pill would still overlap the card.
   Phone band is taller because long "Nov 9, NEW, refine of C" names wrap. */

#menu .unified-allergy.ld-allergy:has(> .glzv) {
  margin: 3.5rem auto 2rem !important;
}

#menu .unified-allergy.ld-allergy > .glzv {
  top: auto;
  bottom: calc(100% + 8px);
  right: 0;
  left: auto;
  max-width: 100%;
}

@media (max-width: 479.98px) {
  #menu .unified-allergy.ld-allergy:has(> .glzv) {
    margin-top: 6.75rem !important;
  }
}
