/* Assistants C1A et C1C (annexes du C1). Chargé après site.css, uniquement sur /onem/c1a/ et /onem/c1c/.
   Aucune couleur en dur : seulement les variables de site.css. */

/* Grille « jours × moments » */
.ac-sched {
  display: grid; grid-template-columns: minmax(64px, auto) repeat(3, minmax(0, 1fr));
  gap: 6px; align-items: center; max-width: 620px;
}
.ac-sched-head { font-size: .78rem; font-weight: 650; color: var(--muted); text-align: center; line-height: 1.2; }
.ac-sched-day { font-weight: 650; font-size: .95rem; }
.ac-slot {
  display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 10px;
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); min-height: 44px;
}
.ac-slot:hover { border-color: var(--pen); }
.ac-slot:has(input:checked) { border-color: var(--pen); background: var(--pen-soft); }
.ac-slot--cell { justify-content: center; }
.ac-slot--cell .ac-slot-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ac-weekend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-width: 620px; }
.ac-weekend .ac-slot { flex: 1 1 140px; }
@media (min-width: 560px) {
  .ac-slot--cell .ac-slot-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .86rem; }
  .ac-slot--cell { justify-content: flex-start; }
  .ac-sched { grid-template-columns: minmax(80px, auto) repeat(3, minmax(0, 1fr)); }
  .ac-sched-head { display: none; }
}

.ac-fieldset { border: 0; padding: 0; margin: 18px 0 0; max-width: 620px; display: grid; gap: 4px; }
.ac-fieldset legend { margin-bottom: 6px; }
.ac-fieldset .wz-field { margin: 4px 0 0 32px; }
.ac-warn { max-width: 620px; }
.ac-warn .callout { margin: 12px 0 0; }
