/* ============================================================
   AGENDA — agenda-schedule.css
   L'emploi du temps est une feuille blanche quadrillée par les
   heures ; les créneaux prennent la couleur de leur matière.
   ============================================================ */

.schedule-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.week-label{font-size:.95rem;font-weight:600;color:var(--text);min-width:150px;text-align:center;font-feature-settings:"tnum" 1}
.schedule-wrapper{overflow-x:auto;margin-top:16px;border-radius:12px;background:var(--bg-card)}
.schedule-grid{display:grid;grid-template-columns:46px repeat(5, minmax(75px, 1fr));min-width:460px;background:var(--bg-card)}
.schedule-day-header{background:var(--bg-card);border-bottom:1px solid var(--border);padding:8px 4px;text-align:center;position:sticky;top:0;z-index:10}
.schedule-day-header .day-name{font-size:.85rem;font-weight:600;color:var(--text-muted)}
.schedule-day-header .day-date{font-size:1.1rem;font-weight:700;color:var(--text);margin-top:2px;font-feature-settings:"tnum" 1}
.schedule-day-header.today .day-date{background:var(--tab-dash);color:var(--on-tab);border-radius:var(--rs);width:32px;height:28px;display:flex;align-items:center;justify-content:center;margin:2px auto 0}
.test-day-pill{margin:3px 2px 0;padding:2px 7px;background:var(--dangerbg);border:1px solid var(--danger);border-radius:var(--rs);font-size:.68rem;font-weight:600;color:var(--danger);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}
.time-col-body{border-right:1px solid var(--border)}
.day-col{position:relative;border-left:1px solid var(--border)}
.time-label{position:absolute;right:6px;font-size:.72rem;color:var(--text-muted);transform:translateY(-50%);white-space:nowrap;font-feature-settings:"tnum" 1}
.hour-line{position:absolute;left:0;right:0;border-top:1px solid var(--border);opacity:.6}
.half-line{position:absolute;left:0;right:0;border-top:1px dashed var(--border);opacity:.3}
.creneau-block{position:absolute;left:3px;right:3px;border-radius:var(--rs);padding:4px 7px;font-size:.78rem;font-weight:600;overflow:hidden;cursor:pointer;transition:filter .15s,transform .1s;color:#fff;line-height:1.3}
.creneau-block:hover{filter:brightness(1.08)}
.creneau-block .cb-time{opacity:.85;font-weight:500;font-size:.72rem}
.schedule-add-hint{text-align:center;color:var(--text-muted);font-size:.92rem;padding:14px}
