/* Icônes professionnelles (27/11/2026) : mise en forme des <svg class="dsi"> posés par public/shared/icons.js à la place des émojis.
   Rien d'autre : les couleurs, les polices et la mise en page restent celles du site. Les icônes prennent la couleur du texte. */
svg.dsi { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* menu latéral et onglets du menu */
.sidebar nav button .i svg.dsi, .side-tabs button svg.dsi { width: 18px; height: 18px; }
/* petites icônes d'état sur les rendez-vous de l'agenda */
.ev .ev-i svg.dsi { width: 12px; height: 12px; stroke-width: 2.2; vertical-align: -2px; }
/* pastilles d'état, favoris, annulation */
svg[class*="dsi-dot"] { width: .9em; height: .9em; }
svg.dsi-heartOn { color: #e02070; }
svg.dsi-xCircle { color: #b91c1c; }
/* site Patients : champs de recherche et tuiles */
.sf-ic svg.dsi { width: 18px; height: 18px; vertical-align: middle; }
.tile-ic svg.dsi { width: 26px; height: 26px; }
/* champs de recherche dont le texte d'aide commençait par une loupe émoji : loupe au trait à gauche */
/* (:not(#_) : seulement pour passer devant les règles « background … !important » du site, sans rien changer d'autre) */
input.dsi-search:not(#_):not(#__) { padding-left: 36px !important; background-repeat: no-repeat !important; background-position: 12px 50% !important; background-size: 16px 16px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important; }
html[data-theme="dark"] input.dsi-search:not(#_):not(#__) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4ba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important; }
/* bouton actif à fond coloré (onglets du menu latéral : Menu / Semaines / Mois) : icône blanche */
/* (les traits de l'icône sont des éléments à part : sans « * », la règle « textes foncés » du menu les laissait foncés) */
.sidebar .side-tabs button.active, .sidebar .side-tabs button.active * { color: #fff !important; }
/* agenda : la loupe de la recherche patient (dessinée par le site avec un émoji) devient une loupe au trait, de la couleur du texte */
.cal-bar .cal-ps:not(#_)::before { content: ''; width: 16px; height: 16px; background-color: currentColor; opacity: .75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat; }
/* en-têtes de colonnes et rendez-vous vidéo de l'agenda */
.cal-wrap .hcell svg.dsi { width: 14px; height: 14px; vertical-align: -2px; }
/* (l'en-tête est une colonne « flex » : l'icône reste sur la ligne du titre, la 2e ligne garde toute la largeur) */
.cal-wrap .hcell:has(> svg.dsi) { flex-direction: row; flex-wrap: wrap; align-items: center; align-content: center; justify-content: center; column-gap: 5px; }
.cal-wrap .hcell:has(> svg.dsi) > :not(svg) { flex-basis: 100%; }
.ev .ev-n svg.dsi { width: 13px; height: 13px; vertical-align: -2px; stroke-width: 2.2; }
/* salle de vidéo-consultation (visio.html) : boutons du bas et écran d'attente */
body.dsi-all footer button svg.dsi { width: 24px; height: 24px; }
body.dsi-all #wait svg.dsi { stroke-width: 1.6; }
/* bouton « Fermer le menu » (téléphone) : la croix n'est pas un logo — la règle du site qui habille le logo de l'en-tête du menu
   (38 px, fond blanc, ombre) ne doit pas s'y appliquer */
.sidebar .brand .side-close svg.dsi { width: 18px !important; height: 18px !important; padding: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; stroke-width: 2.2; }
/* téléphone : pas d'icône dans les en-têtes de colonnes de l'agenda (trop étroits, le titre serait coupé) */
@media (max-width: 860px) { .cal-wrap .hcell svg.dsi { display: none; } }
