/* UI overrides for ClearEdge */

/* Allow badges to wrap to multiple lines without clipping/overlap.
   DaisyUI sets a fixed height on .badge which causes overflow when text wraps. */
.badge {
  /* Let height grow with content while preserving the original single-line height */
  height: auto;
  min-height: var(--size);
  /* Allow wrapping */
  white-space: normal;
  /* Comfortable multi-line spacing */
  line-height: 1.25;
  /* Ensure padding contributes to height correctly */
  box-sizing: border-box;
  /* Slight vertical padding for multi-line badges; keep existing inline padding from framework */
  padding-block: calc(0.25rem * 1);
}
