/* ============================================================================
   planning.css — Planning professeur (étape 4 de l'audit, 06/10/2026)
   Chargé après om-ui.css. Remplace le « Planning V2 - Toolbar Premium » de
   styles.css. Les règles d'événements sont limitées à .pl-cal (le planning du
   prof) pour ne pas toucher aux calendriers élève / parent.
   Couleur des cours = TYPE (décision du 06/10/2026) :
     individuel → teal · groupe → violet · visio → bleu ; événements perso → gris.
   Le transport (voiture / vélo) est une petite icône sur la carte.
   ============================================================================ */

/* --- Barre d'outils ------------------------------------------------------- */
.pl-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 10px 14px; margin: 0 24px 12px;
}
.pl-left, .pl-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-views { display: inline-flex; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.pl-views .planning-view-btn {
  border: 0; background: none; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 600;
  color: var(--ink-600); cursor: pointer;
}
.pl-views .planning-view-btn:hover { color: var(--ink-900); }
.pl-views .planning-view-btn.active { background: var(--surface); color: var(--brand-800); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.pl-nav { display: flex; align-items: center; gap: 4px; }
.pl-title { margin: 0 0 0 4px; font-size: 16px; font-weight: 800; color: var(--ink-900); white-space: nowrap; text-transform: capitalize; }
.pl-search { position: relative; }
.pl-search .om-ic { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--ink-500); pointer-events: none; }
.planning-search-input {
  width: 210px; height: 34px; padding: 0 28px 0 32px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 13px; color: var(--ink-900); background: var(--surface);
}
.planning-search-input:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--focus-ring); }
.planning-search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink-500); cursor: pointer; font-size: 13px; padding: 2px 4px; }
.pl-right .btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; font-size: 13px; }
.pl-menu-area { position: relative; }
.pl-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: var(--z-dropdown, 100);
  min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12); padding: 6px;
}
.pl-menu.show { display: block; }
.pl-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 7px; font-size: 13px; color: var(--ink-700); text-align: left; cursor: pointer; }
.pl-menu-item:hover { background: var(--brand-50); color: var(--brand-800); }
.pl-menu-item .om-ic { color: var(--ink-500); }
.pl-stats { margin: 0 26px 10px; font-size: 12.5px; color: var(--ink-500); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pl-stats strong { color: var(--ink-800, #1e293b); font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-legende { display: inline-flex; gap: 12px; margin-left: auto; }
.pl-legende span { display: inline-flex; align-items: center; gap: 5px; }
.pl-legende i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pl-cal-wrap { margin: 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; height: calc(100vh - 200px); height: calc(100dvh - 200px); }

/* --- Cartes de cours (planning prof uniquement) --------------------------- */
.pl-cal { --c-ind: #0f766e; --c-ind-bg: #f0fdfa; --c-grp: #7c3aed; --c-grp-bg: #f5f3ff; --c-vis: #2563eb; --c-vis-bg: #eff6ff; }
.pl-legende .ind { background: var(--c-ind, #0f766e); } .pl-legende .grp { background: #7c3aed; } .pl-legende .vis { background: #2563eb; } .pl-legende .evt { background: #94a3b8; }
.pl-cal .fc-event.cours { background-color: var(--c-ind-bg) !important; border-left: 3px solid var(--c-ind) !important; }
.pl-cal .fc-event.cours.type-groupe { background-color: var(--c-grp-bg) !important; border-left-color: var(--c-grp) !important; }
.pl-cal .fc-event.cours.type-visio { background-color: var(--c-vis-bg) !important; border-left-color: var(--c-vis) !important; }
.pl-cal .fc-event.event { background-color: #f1f5f9 !important; border-left: 3px solid #94a3b8 !important; }
.pl-cal .fc-content-custom { padding: 3px 6px; gap: 1px; overflow: hidden; }
.pl-cal .fc-time { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-600); opacity: 1; margin: 0; white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
.pl-cal .fc-time .om-ic { width: 12px; height: 12px; flex-shrink: 0; color: var(--ink-500); }
.pl-cal .fc-time .pl-h { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pl-cal .fc-time .pl-ic-sep { margin-left: auto; display: inline-flex; gap: 3px; flex-shrink: 0; }
.pl-cal .fc-title { font-size: 13px; font-weight: 700; color: var(--ink-900); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.pl-cal .fc-desc { font-size: 11px; color: var(--ink-500); opacity: 1; margin-top: 1px; }
.pl-cal .fc-timegrid-event-harness .fc-event { box-shadow: 0 1px 2px rgba(15, 23, 42, .06) !important; }
/* Créneaux courts (< 45 min) : titre seul, sans adresse */
.pl-cal .fc-timegrid-event.fc-event-short .fc-desc { display: none; }

@media (max-width: 900px) {
  .pl-bar { margin: 0 12px 10px; }
  .pl-stats { margin: 0 14px 8px; }
  .pl-cal-wrap { margin: 0 12px; }
  .planning-search-input { width: 160px; }
  .pl-legende { display: none; }
}

/* ── Gestion des stages (stage-view.js, openStageManager) ───────────────────── */
.stg-sheet { max-width: 720px !important; }
.stg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stg-actions .btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; font-size: 14px; }
.stg-actions .btn.primary { flex: 0 0 auto; }
.stg-section { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 18px 0 8px; }
.stg-section h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-500); }
.stg-section span { font-size: 12px; color: var(--ink-500); }
.stg-list { display: flex; flex-direction: column; gap: 8px; }
.stg-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stg-card:hover { border-color: var(--brand-200, #99f6e4); }
.stg-card.passe { background: var(--surface-alt); }
.stg-card.passe .stg-nom { color: var(--ink-600); }
.stg-date { width: 52px; flex-shrink: 0; text-align: center; border-radius: 10px; background: var(--brand-50); color: var(--brand-800, #115e59); padding: 6px 0; line-height: 1.1; }
.stg-card.passe .stg-date { background: #f1f5f9; color: var(--ink-500); }
.stg-date b { display: block; font-size: 18px; font-weight: 800; }
.stg-date small { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.stg-main { flex: 1; min-width: 0; }
.stg-nom { font-size: 14.5px; font-weight: 700; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stg-meta { margin-top: 2px; font-size: 12.5px; color: var(--ink-500); }
.stg-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.stg-pills:empty { display: none; }
.stg-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #f1f5f9; color: var(--ink-600); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stg-pill.ok { background: #ecfdf5; color: #047857; }
.stg-pill.warn { background: #fffbeb; color: #b45309; }
.stg-pill.ko { background: #fef2f2; color: #b91c1c; }
.stg-pill.on { background: var(--brand-50); color: var(--brand-700); }
.stg-btns { display: flex; gap: 6px; flex-shrink: 0; }
.stg-btns .btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; font-size: 13px; }
.stg-vide { padding: 28px 0; text-align: center; color: var(--ink-500); font-size: 14px; }
@media (max-width: 600px) {
  .stg-card { flex-wrap: wrap; }
  .stg-btns { width: 100%; }
  .stg-btns .btn { flex: 1; justify-content: center; }
}

/* Lignes élèves de la fiche stage (stage-view.js renderRows, 06/10/2026) */
#stg-eleve-rows { display: flex; flex-direction: column; gap: 6px; }
.stg-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stg-row-id { flex: 1 1 120px; min-width: 0; display: flex; flex-direction: column; }
.stg-row-nom { font-size: 14px; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stg-row-sous { font-size: 12px; color: var(--ink-500); }
.stg-partiel { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: #fef3c7; color: #92400e; font-weight: 600; }
.stg-row-mode { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stg-modes { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-alt); }
.stg-mode-b { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: none; font-size: 12.5px; font-weight: 600; color: var(--ink-500); cursor: pointer; white-space: nowrap; }
.stg-mode-b.on { background: var(--surface); color: var(--ink-900); box-shadow: 0 1px 2px rgba(15, 23, 42, .1); }
.om-form .stg-row .stg-pack { width: auto; max-width: 190px; min-height: 32px; padding: 4px 10px; font-size: 13px; }
.stg-montant { margin-left: auto; text-align: right; font-size: 12.5px; color: var(--ink-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stg-montant b { color: var(--ink-900); }
.stg-remove { width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--ink-500); cursor: pointer; }
.stg-remove:hover { background: #fef2f2; color: #b91c1c; }
/* Séances prévues (pastilles) */
.stg-seances { display: flex; flex-wrap: wrap; gap: 6px; }
.stg-s { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-alt); font-size: 12.5px; color: var(--ink-600); white-space: nowrap; }
.stg-s b { color: var(--ink-900); font-weight: 700; margin-right: 2px; }
.stg-s.ferie { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.stg-s.ferie b { color: #991b1b; }
.stg-s.conflit { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.stg-s.conflit b { color: #92400e; }
/* Résumé figé (édition) */
.stg-fige { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-alt); }
.stg-fige-t { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-900); }
.stg-fige-t .om-ic { color: var(--brand-700); }
/* Jauges de remplissage par séance */
.stg-jauges:empty { display: none; }
.stg-j { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 10px; padding: 3px 0; font-size: 12.5px; color: var(--ink-600); }
.stg-j-bar { position: relative; height: 8px; border-radius: 999px; background: #e2e8f0; }
.stg-j-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #16a34a; }
.stg-j.sous .stg-j-bar i { background: #dc2626; }
.stg-j.plein .stg-j-bar i { background: #d97706; }
.stg-j-bar em { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink-700); border-radius: 1px; }
.stg-j-n { text-align: right; font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .stg-montant { min-width: 0; text-align: left; flex-basis: 100%; }
  .stg-mode-b, .stg-remove { min-height: 0 !important; min-width: 0 !important; font-size: 12.5px !important; }
  .stg-mode-b { padding: 0 9px !important; height: 30px; }
  .stg-remove { padding: 0 !important; }
}

/* ── Modale cours / événement (openItemModal, 06/10/2026) ─────────────────── */
/* Type de cours : boutons aux couleurs du planning */
.it-type-seg > button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.it-dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex-shrink: 0; opacity: .55; }
.it-dot.ind { background: #0f766e; } .it-dot.grp { background: #7c3aed; } .it-dot.vis { background: #2563eb; }
.it-type-seg > button.on .it-dot { opacity: 1; }
.it-type-seg > button.on[data-type="individuel"] { color: #0f766e; }
.it-type-seg > button.on[data-type="groupe"] { color: #6d28d9; }
.it-type-seg > button.on[data-type="visio"] { color: #1d4ed8; }
/* Durée rapide + heure de fin */
.it-dur { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: -8px !important; }
.it-dur-b { height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-600); cursor: pointer; }
.it-dur-b:hover { border-color: var(--brand-300, #5eead4); color: var(--brand-800, #115e59); }
.it-dur-b.on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.it-fin { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-500); font-variant-numeric: tabular-nums; }
#it-conflit { margin-top: -8px !important; font-size: 13px; }
/* Pastilles élèves */
.it-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.it-chips:empty { display: none; }
.it-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 4px 3px 10px; border: 1px solid var(--brand-200, #99f6e4); border-radius: 10px; background: var(--brand-50); }
.it-chip.is-inclus { border-color: #cbd5e1; background: #f1f5f9; }
.it-chip-nom { font-size: 13.5px; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 2px; }
.it-chip-opt { height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 11.5px; font-weight: 600; color: var(--ink-600); cursor: pointer; white-space: nowrap; }
.it-chip-opt:hover { border-color: var(--brand-300, #5eead4); color: var(--ink-900); }
.it-chip-opt.on { background: #475569; border-color: #475569; color: #fff; }
.it-chip-opt.on.alt { background: #b45309; border-color: #b45309; }
.it-chip-x { width: 24px; height: 24px; border: 0; border-radius: 7px; background: none; color: var(--ink-500); font-size: 12px; cursor: pointer; }
.it-chip-x:hover { background: #fee2e2; color: #b91c1c; }
/* Bloc compact du bas : série / statut / notification */
.it-meta { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.it-meta:not(:has(> :not(.hidden))) { display: none; }
.it-meta > * { margin: 0 !important; }
.it-meta > :not(.hidden) ~ :not(.hidden) { border-top: 1px solid var(--line); }
.it-meta-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.it-meta-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-alt); color: var(--ink-600); }
.it-meta-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-900); }
.it-meta-txt span { font-size: 12.5px; color: var(--ink-500); }
.it-meta-row .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.it-meta #it-brouillon-zone, .it-meta #it-notif-zone { border: 0 !important; border-radius: 0; background: none !important; padding: 12px 14px; }
.it-meta #it-brouillon-label, .it-meta #it-notif-label { font-weight: 700 !important; color: var(--ink-900) !important; display: inline-flex; align-items: center; gap: 7px; }
.it-meta #it-brouillon-label::before, .it-meta #it-notif-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.it-meta #it-brouillon-zone.bg-green-50 #it-brouillon-label::before { background: #16a34a; }
.it-meta #it-brouillon-zone.bg-amber-50 #it-brouillon-label::before { background: #d97706; }
.it-meta #it-notif-zone.notif-zone-sent #it-notif-label::before { background: #16a34a; }
.it-meta #it-notif-zone.notif-zone-ready #it-notif-label::before { background: var(--brand-600, #0d9488); }
.it-meta #it-brouillon-status-text, .it-meta #it-notif-status-text { margin-left: 15px; font-size: 12.5px; }
.it-meta #it-valider-btn, .it-meta #it-brouillon-btn, .it-meta #it-notif-btn { height: 32px; padding: 0 12px; font-size: 13px; }
.it-meta #it-notif-mode-row { margin-top: 10px !important; padding-top: 10px !important; }
@media (max-width: 768px) {
  .it-dur-b, .it-chip-opt, .it-chip-x { min-height: 0 !important; min-width: 0 !important; font-size: 12.5px !important; }
  .it-dur-b { padding: 0 12px !important; height: 34px; }
  .it-chip-opt { padding: 0 8px !important; height: 28px; }
  .it-chip-x { padding: 0 !important; width: 28px; height: 28px; }
  .it-meta-row .btn, .it-meta #it-valider-btn, .it-meta #it-brouillon-btn, .it-meta #it-notif-btn { min-height: 36px !important; padding: 0 12px !important; font-size: 13.5px !important; }
}
@media (max-width: 520px) {
  /* Pied de la modale cours : boutons principaux sur toute la largeur, « Supprimer » en dessous */
  .modal-f.om-sheet-f { flex-wrap: wrap; }
  .om-sheet-f .om-sheet-f-r { width: 100%; }
  .om-sheet-f .om-sheet-f-r .btn { flex: 1; justify-content: center; }
  .om-sheet-f #it-del { order: 2; width: 100%; justify-content: center; }
  /* Lignes statut / notification : le bouton passe sous le texte si besoin */
  .it-meta #it-brouillon-zone > .flex, .it-meta #it-notif-zone > .flex { flex-wrap: wrap; gap: 8px; }
  .it-meta-row { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .stg-row { position: relative; padding-right: 40px; }
  .stg-row .stg-remove { position: absolute; top: 8px; right: 6px; width: 30px; height: 30px; }
}

/* Cours « coupé » en attente de collage (06/10/2026) */
.pl-cal .fc-event.pl-coupe { opacity: .55; outline: 2px dashed var(--brand-700, #0f766e); outline-offset: -2px; }

/* Bandeau presse-papier du planning (06/10/2026) — remplace le bouton « Coller » */
#btnPasteMode { display: none !important; }
.pl-clip { display: flex; align-items: center; gap: 10px; margin: 0 24px 10px; padding: 8px 12px; border: 1px dashed var(--brand-300, #5eead4);
  border-radius: 10px; background: var(--brand-50); font-size: 13px; color: var(--ink-700); }
.pl-clip.u-hidden { display: none; }
.pl-clip-ic { color: var(--brand-700); display: inline-flex; }
.pl-clip-txt { flex: 1; min-width: 0; }
@media (max-width: 768px) { .pl-clip { margin: 0 12px 10px; } }
/* Bloc mis en avant à l'ouverture depuis le clic droit */
@keyframes itFlash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--brand-300, #5eead4); } }
.it-flash { animation: itFlash 1.5s ease; }

/* Total d'heures par jour dans l'en-tête des colonnes (06/10/2026) */
.pl-dh { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: var(--surface-alt); font-size: 11px; font-weight: 700; color: var(--ink-600); vertical-align: 1px; }
.pl-dh:empty { display: none; }
.pl-dh.plein { background: #fef3c7; color: #92400e; }

/* Panneau « Voir la série » */
.sr-liste { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-height: 46vh; overflow-y: auto; }
.sr-l { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 4px; }
.sr-l + .sr-l { border-top: 1px solid var(--line); }
.sr-l.passe { background: var(--surface-alt); }
.sr-l.courant { box-shadow: inset 3px 0 0 var(--brand-700); }
.sr-ouvrir { flex: 1; display: flex; align-items: baseline; gap: 10px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; font-size: 13.5px; color: var(--ink-900); }
.sr-ouvrir span { font-size: 12.5px; color: var(--ink-500); }
.sr-ouvrir:hover { background: var(--brand-50); }
.sr-st { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: var(--ink-600); white-space: nowrap; }
.sr-st.v { background: #dcfce7; color: #166534; } .sr-st.b { background: #fef3c7; color: #92400e; }
.sr-st.f { background: #e0e7ff; color: #3730a3; } .sr-st.a { background: #fee2e2; color: #991b1b; }
.sr-stop, .sr-vide { width: 30px; height: 30px; flex-shrink: 0; }
.sr-stop { border: 0; border-radius: 8px; background: none; color: var(--ink-500); cursor: pointer; display: grid; place-items: center; }
.sr-stop:hover { background: #fef2f2; color: #b91c1c; }
.sr-prol-r { display: flex; gap: 8px; }
.sr-prol-r .input { flex: 1; min-width: 0; }
.sr-prol-r .btn { height: 40px; padding: 0 14px; white-space: nowrap; }
@media (max-width: 768px) { .sr-stop, .sr-ouvrir { min-height: 0 !important; min-width: 0 !important; padding: 6px 8px !important; font-size: 13.5px !important; } }

/* ── Correctifs de la revue (06/10/2026) ── */
/* Repères de statut : la couleur par type (bordure gauche) ne doit pas les effacer */
.pl-cal .fc-event.cours.cours-reporte { border-left-color: var(--streak-orange, #f97316) !important; }
.pl-cal .fc-event.cours.cours-brouillon { border-left-color: var(--warning-500, #f59e0b) !important; }
.pl-cal .fc-event.cours.cours-hors-plage { border: 2px dashed var(--warning-500, #f59e0b) !important; }
@media (max-width: 768px) {
  .planning-search-input { padding-left: 32px !important; }
  .stg-mode-b, .stg-remove { min-height: 0 !important; min-width: 0 !important; font-size: 12.5px !important; }
  .stg-mode-b { padding: 0 9px !important; height: 30px; }
  .stg-remove { padding: 0 !important; }
}
