/*
 * Two people never in one card, and the leaders-only Send (lane t22-lock4, 16 Oct 2026; js/v3_lock4.js 1.0.0). Only
 * the desk's own tokens, so every theme follows. Nothing here draws while desk.lock4 is off: the rules hang off
 * .l4-* (which only that file adds) or :root[data-lock4="on"] (which only that file sets).
 */

/* the leaders' Take over in a job's top bar */
.l4-take { margin-left: 8px; }

/* Phone width (the findings' "Left" list: client cards 468 px wide against a 400 px screen). The card's foot keeps the
   counts and the buttons on one row and its buttons never shrink, so a narrow screen pushed the card past the edge.
   Below 520 px the counts and the buttons wrap onto their own lines and nothing in a card is wider than the card. */
@media (max-width: 520px) {
  :root[data-lock4="on"] .cc-card { min-width: 0; max-width: 100%; }
  :root[data-lock4="on"] .cc-card > * { min-width: 0; max-width: 100%; }
  :root[data-lock4="on"] .cc-foot { flex-wrap: wrap; row-gap: 8px; }
  :root[data-lock4="on"] .cc-chips { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  :root[data-lock4="on"] .cc-btns { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  :root[data-lock4="on"] .cc-btns .btn { flex: 0 1 auto; min-width: 0; white-space: normal; }
  :root[data-lock4="on"] .cc-name, :root[data-lock4="on"] .cc-meta, :root[data-lock4="on"] .cc-needs li { overflow-wrap: anywhere; }
}
