/* Cuadrillas (backend/static/crews.js). Reutiliza .panel/.tag/.row/.actions/.chip/.tablewrap/.empty/.ops-hidden de
   v2.css/boroo.css; aquí solo lo propio: el calendario compacto de 6 semanas (fila por persona y grilla por
   semana) y el semáforo de mínimos por día. */
.cr-legend{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin:10px 0}
.cr-day{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:middle;margin-right:4px}
.cr-day-onsite{background:#3f7a52}
.cr-day-rest{background:#e4e1d6}
.cr-day-trip{background:#f9b41f}
.cr-day-loan{background:#4b7fbf}
.cr-day-absence{background:#c0433f}
.cr-day-none{background:#f1eee6;border:1px dashed #cfc9b8}
.cr-calendar-row{display:flex;flex-wrap:wrap;gap:2px;max-width:220px}
.cr-calendar-row .cr-day{width:9px;height:9px;margin-right:0;border-radius:2px}
.cr-week-grid{display:flex;flex-direction:column;gap:6px;margin:14px 0}
.cr-week-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.cr-day-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer}
.cr-day-cell-ok{background:#e3f1e3;border-color:#bcdcc0}
.cr-day-cell-alert{background:#fde2e1;border-color:#f0bcba}
.cr-day-date{font-size:11px;color:var(--muted)}
.cr-day-count{font-weight:600;font-size:14px}
tr.cr-changed{background:#fff8e6}
tr.cr-focus{outline:2px solid #f9b41f;outline-offset:-2px}
@media(max-width:720px){.cr-week-row{grid-template-columns:repeat(7,minmax(34px,1fr))}.cr-day-cell{padding:6px 2px}.cr-calendar-row{max-width:140px}}
