/* VÉO — direction graphique à angles droits.
   Supprime les arrondis décoratifs sur cartes, panneaux, boutons,
   champs, filtres, menus et modales. Ne change ni couleurs ni fonds. */

/* Même règle pour l'accueil, les pages publiques, les espaces,
   la démonstration et l'authentification. */
html body *,
html body *::before,
html body *::after {
  border-radius: 0 !important;
}

/* Seuls les éléments réellement circulaires gardent leur forme :
   portraits/avatars, contrôles radio, pastilles d'état et animations. */
html body :is(
  .message-v2-thread-avatar,
  .message-v2-chat-avatar,
  .message-v3-thread-avatar,
  .message-v3-chat-avatar,
  .message-v3-info-identity i,
  .thread-avatar,
  .chat-avatar,
  .inst56-avatar,
  .inst64-avatar,
  .team-avatar,
  .citizen-overview-message-avatar,
  .inst-mobile-account-avatar,
  .citizen-account-user > summary i,
  .institution-v3-logo,
  .institution-v3-explore > article > a
) {
  border-radius: 50% !important;
}

/* Les radios doivent rester identifiables et les voyants restent ronds. */
html body input[type="radio"],
html body :is(
  .notification-v3-unread-dot,
  .impact-v584-dot,
  .territory-v3-map-legend i,
  .territory-v3-map-pin > span,
  .territory-alert-switch i,
  .message-v3-verified,
  .message-v2-verified,
  .institution-v3-verified
) {
  border-radius: 50% !important;
}

/* Écran de bienvenue : ses deux anneaux font partie de l'animation
   graphique, pas d'une bordure de carte. */
html body .welcome::before,
html body .welcome::after {
  border-radius: 50% !important;
}