/* ==========================================================================
   Exports du planning des tireurs (lot 10b) — boutons « Planning complet (PDF) » et « Planning par
   tireur (PDF) » (public/js/planning-export.js), et « Ajouter à mon calendrier » sur l'accueil.
   Aucune animation de place : la ligne d'état a sa place réservée, la roue tourne DANS le bouton.
   ========================================================================== */
.planning-export-boutons .btn { flex: 1 1 250px; }
/* L'icône et la roue occupent exactement la même place : le bouton ne change pas de taille. */
.planning-export-icone { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; }
.planning-export-icone .roue { width: 20px; height: 20px; }
.planning-export [aria-disabled="true"] { pointer-events: none; }
.planning-export [aria-busy="true"] { opacity: 1; }
/* Place réservée pour deux lignes : « Planning créé (3 pages). Rien ne s'est téléchargé ? Ouvrir le PDF ». */
.planning-export-etat { margin: 12px 0 0; min-height: 3em; color: var(--texte-doux); overflow-wrap: anywhere; }
.planning-export-etat.est-succes { color: var(--texte); }
.planning-export-etat.est-erreur { color: var(--rouge); font-weight: 600; }
.planning-export-etat a { font-weight: 600; }

/* Accueil, vue « Mes tirs » : « Ajouter à mon calendrier » sous la liste de mes tirs. */
.mes-tirs-calendrier { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--surface-2); }
.mes-tirs-calendrier .btn { width: 100%; }
.mes-tirs-calendrier .muet { margin: 10px 0 0; font-size: 1rem; }
@media (min-width: 640px) {
  .mes-tirs-calendrier .btn { width: auto; }
}
