/* outsend UI : bundle des composants partagés (perf 2026-09-26, une requête au lieu de 4).
 * Contenu : ui/modal.css, ui/toast.css, ui/chips.css, ui/dropdown.css, dans cet ordre.
 * Sélecteurs et keyframes disjoints entre composants : l ordre interne est neutre.
 * drawer.css, tabs.css, support.css restent à part (admin / paramètres seulement). */

/* ============================================================
 * outsend UI · modal.css
 * ============================================================
 * Popup centrée avec backdrop semi-transparent.
 *
 * Utilisation HTML (Alpine.js) :
 *
 *   <div x-show="myModalOpen" x-cloak
 *        @keydown.escape.window="myModalOpen = false"
 *        class="ui-modal-backdrop"
 *        @click.self="myModalOpen = false">
 *     <div class="ui-modal" @click.stop>
 *       <div class="ui-modal-header">
 *         <h3>Titre</h3>
 *       </div>
 *       <div class="ui-modal-body">
 *         ... contenu ...
 *       </div>
 *       <div class="ui-modal-footer">
 *         <button class="btn btn-ghost" @click="myModalOpen = false">Fermer</button>
 *         <button class="btn btn-accent">Action</button>
 *       </div>
 *     </div>
 *   </div>
 *
 * Variantes de taille (overrides max-width par défaut 480px) :
 *   <div class="ui-modal ui-modal-md">  → 560px
 *   <div class="ui-modal ui-modal-lg">  → 720px
 *
 * Helpers JS (optionnels) : window.UI.modal.helpers.open / close
 * Variables CSS utilisées (style.css globaux) :
 *   --bg-card, --bg-soft, --border, --r-lg, --shadow-lg
 * ============================================================ */

.ui-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 20, 0.4);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: ui-modal-fade-in 0.18s ease-out;
}

@keyframes ui-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ui-modal {
  background: var(--bg-card, #FFFFFF);
  border-radius: var(--r-lg, 12px);
  border: 1px solid var(--border, #E7E9EC);
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.08));
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ui-modal-scale-in 0.18s ease-out;
}

@keyframes ui-modal-scale-in {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.ui-modal-md { max-width: 560px; }
.ui-modal-lg { max-width: 720px; }

.ui-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border, #E7E9EC);
  flex-shrink: 0;
}

.ui-modal-header h1,
.ui-modal-header h2,
.ui-modal-header h3,
.ui-modal-header h4 {
  margin: 0;
}

.ui-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.ui-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border, #E7E9EC);
  background: var(--bg-soft, #F5F6F7);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ui-modal-backdrop {
    padding: 12px;
    align-items: flex-start;
    padding-top: 40px;
  }
  .ui-modal {
    max-width: 100%;
    max-height: calc(100vh - 80px);
  }
  .ui-modal-header { padding: 16px 18px; }
  .ui-modal-body   { padding: 18px; }
  .ui-modal-footer { padding: 14px 18px; }
}


/* ###############################################################
   APPLE iOS-26 × TELEGRAM — raffinement (à la sauce Outsend)
   Verre / scrims froids / rayons / ombres froides. Override en fin
   de fichier : dernière règle gagnante. Tokens définis dans style.css.
   ############################################################### */
/* .ui-modal-backdrop (l.38-39) :
   AVANT  background: rgba(26, 24, 20, 0.4);  backdrop-filter: blur(2px);
   APRÈS  ↓ (scrim froid + blur un cran plus marqué) */
.ui-modal-backdrop {
    background: var(--scrim);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
/* .ui-modal (l.55, l.57) :
   AVANT  border-radius: var(--r-lg, 12px);  box-shadow: var(--shadow-lg, ...);
   APRÈS  ↓ (r-xl 18px ; shadow-lg suit déjà le token refroidi) */
.ui-modal {
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
/* Footer (l.97) : background: var(--bg-soft) → conservé, suit le nouveau gris froid.
   On explicite les hairlines pour cohérence. */
.ui-modal-header { border-bottom: 1px solid var(--border); }
.ui-modal-footer { border-top: 1px solid var(--border); background: var(--bg-soft); }


/* ============================================================
 * outsend UI · toast.css
 * ============================================================
 * Notifications transitoires top-right, stack vertical.
 * API : window.UI.toast.show(message, { type, duration, dismissable })
 *
 * Le DOM est généré par toast.js. Aucune édition côté Alpine requise.
 *
 * Types :  info | success | error | warning
 *
 * Variables CSS utilisées (style.css) :
 *   --bg-card, --border, --ink, --ink-muted, --r-md,
 *   --accent, --danger, --warning, --success
 * ============================================================ */

.ui-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 40px);
}

.ui-toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 420px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-left: 4px solid var(--ink-muted, #6b7280);
    border-radius: var(--r-md, 6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 12px 14px 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ink, #1a1a1a);
    animation: ui-toast-slide-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
    transition: opacity 200ms ease, transform 200ms ease;
}

.ui-toast.is-leaving {
    opacity: 0;
    transform: translateX(20px);
}

.ui-toast.is-success { border-left-color: var(--success, #3D6B3D); }
.ui-toast.is-error   { border-left-color: var(--danger, #A33D3D); }
.ui-toast.is-warning { border-left-color: var(--warning, #B8852E); }
.ui-toast.is-info    { border-left-color: var(--accent, #0D5D5C); }

.ui-toast-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
}

.ui-toast.is-success .ui-toast-icon { color: var(--success, #3D6B3D); }
.ui-toast.is-error   .ui-toast-icon { color: var(--danger, #A33D3D); }
.ui-toast.is-warning .ui-toast-icon { color: var(--warning, #B8852E); }
.ui-toast.is-info    .ui-toast-icon { color: var(--accent, #0D5D5C); }

.ui-toast-body {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.ui-toast-title {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 13.5px;
}

.ui-toast-message {
    color: var(--ink, #1a1a1a);
}

.ui-toast-dismiss {
    flex-shrink: 0;
    background: transparent;
    border: 0;
    color: var(--ink-muted, #6b7280);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px 4px;
    margin: -2px -4px -2px 0;
    border-radius: 4px;
    transition: background 0.12s, color 0.12s;
}

.ui-toast-dismiss:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--ink, #1a1a1a);
}

@keyframes ui-toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 600px) {
    .ui-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
    .ui-toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}


/* ###############################################################
   APPLE iOS-26 × TELEGRAM — raffinement (à la sauce Outsend)
   Verre / scrims froids / rayons / ombres froides. Override en fin
   de fichier : dernière règle gagnante. Tokens définis dans style.css.
   ############################################################### */
/* .ui-toast (l.32, l.35-36, l.44) :
   AVANT  background: var(--bg-card, #fff);
          border-radius: var(--r-md, 6px);
          box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.05);
          animation: ui-toast-slide-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
   APRÈS  ↓ (verre + ombre froide glass + spring iOS ; la barre latérale
            statut border-left:4px est CONSERVÉE, l.34 & l.53-56 inchangées) */
.ui-toast {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: var(--r-md);                    /* 10px */
    box-shadow: var(--shadow-glass);
    animation: ui-toast-slide-in 260ms var(--ease-spring); /* keyframe existant réutilisé */
}
/* Bouton fermer (l.105) : rgba(0,0,0,0.06) → hairline froid neutre */
.ui-toast-close:hover { background: var(--bg-soft); }


/* ============================================================
 * outsend UI · chips.css
 * ============================================================
 * Composant chips/tags réutilisable pour saisie multi-valeurs.
 *
 * Utilisation HTML :
 *   <div class="chips-input" @click="$refs.myInput.focus()">
 *     <template x-for="(chip, idx) in myChips" :key="idx">
 *       <span class="chip">
 *         <span x-text="chip"></span>
 *         <button class="chip-close" @click.stop="...">✕</button>
 *       </span>
 *     </template>
 *     <input type="text" x-ref="myInput" x-model="myInput" @keydown="..." @paste="...">
 *   </div>
 *
 * Variables CSS utilisées (définies globalement dans style.css) :
 *   --accent, --accent-soft, --accent-text, --border, --bg-card,
 *   --font-mono, --r-sm, --ink, --ink-muted
 * ============================================================ */

.chips-input {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  min-height: 80px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm, 4px);
  background: var(--bg-card, #fff);
  font-size: 14px;
  cursor: text;
  align-items: flex-start;
  align-content: flex-start;
}

.chips-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.chips-input .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 10px;
  background: var(--accent-soft, #DEEDED);
  color: var(--accent-text, #094543);
  border-radius: 14px;
  font-size: 13px;
  font-family: var(--font-mono, monospace);
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
}

.chips-input .chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.chips-input .chip-close {
  background: transparent;
  border: 0;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  border-radius: 50%;
}

.chips-input .chip-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}

.chips-input input[type="text"] {
  flex: 1 1 160px;
  min-width: 100px;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  padding: 4px 2px;
  color: var(--ink, #1a1a1a);
}

.chips-input input[type="text"]::placeholder {
  color: var(--ink-muted, #9aa0a6);
  opacity: 0.85;
}

/* ============================================================
 * Variante display-only : chip "cliquable pour supprimer".
 * À utiliser hors d'un chips-input pour afficher une liste éditable
 * (ex: préfixes téléphone choisis dans filtres avancés pipeline).
 *
 * Usage :
 *   <span class="chip chip--removable" @click="removeItem(x)" x-text="x"></span>
 *
 * Hover : passe en rouge soft pour indiquer la suppression.
 * ============================================================ */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}

/* Chip display-only (lecture seule, sans × ni interaction).
   Hors d'un .chips-input. Pour afficher une liste de tags figés
   (ex: requêtes/zones d'un job, tags d'article, etc.). */
.chip-list > .chip,
.chip {
  position: relative; /* anchor pour le tooltip ::before/::after */
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--accent-soft, #DEEDED);
  color: var(--accent-text, #094543);
  border-radius: 14px;
  font-size: 13px;
  font-family: var(--font-mono, monospace);
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  user-select: text;
}
/* Mobile : une puce longue (requête de 40 caractères) se replie au lieu
   d'élargir la page. Cf. bloc « ANTI-DÉBORDEMENT HORIZONTAL » de style.css. */
@media (max-width: 768px) {
  .chip-list > .chip,
  .chip {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ============================================================
 * Tooltip custom au survol — instant (pas de délai natif 500ms),
 * stylé en cohérence (au lieu du tooltip système moche). Pur CSS
 * via attribut data-tooltip → pas de JS, pas de fetch, pas de lag.
 *
 * Usage HTML :
 *   <span class="chip" data-tooltip="secrétaire BTP — 45 résultats">…</span>
 *
 * Le saut de ligne `\n` est rendu via white-space: pre-line, donc on peut
 * mettre une liste multi-ligne dans data-tooltip (ex: chip overflow "+12").
 * ============================================================ */

.chip[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f1d1a;
  color: #fff;
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-weight: 500;
  line-height: 1.45;
  white-space: pre-line;
  text-align: left;
  max-width: 380px;
  min-width: max-content;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.12);
  z-index: 999;
  pointer-events: none;
  /* Fade-in léger (80ms) pour ne pas pop trop sec, mais imperceptible côté lag. */
  animation: chip-tooltip-in 90ms ease-out;
}

.chip[data-tooltip]:hover::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1f1d1a;
  z-index: 999;
  pointer-events: none;
  animation: chip-tooltip-in 90ms ease-out;
}

@keyframes chip-tooltip-in {
  from { opacity: 0; transform: translateX(-50%) translateY(2px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.chip-count--zero {
  background: rgba(0, 0, 0, 0.18);
  color: rgba(0, 0, 0, 0.55);
}

.chip--removable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--accent-soft, #DEEDED);
  color: var(--accent-text, #094543);
  border-radius: 14px;
  font-size: 13px;
  font-family: var(--font-mono, monospace);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  user-select: none;
}

.chip--removable::after {
  content: ' ×';
  opacity: 0.6;
  margin-left: 2px;
}

.chip--removable:hover {
  background: #f8d7d4;
  color: #b00020;
}

.chip--removable:hover::after {
  opacity: 1;
}


/* ###############################################################
   APPLE iOS-26 × TELEGRAM — raffinement (à la sauce Outsend)
   Verre / scrims froids / rayons / ombres froides. Override en fin
   de fichier : dernière règle gagnante. Tokens définis dans style.css.
   ############################################################### */
/* .chips-input (conteneur, l.29 & focus l.39) :
   AVANT  border-radius: var(--r-sm, 4px);
          (focus) box-shadow: 0 0 0 3px var(--accent-soft);
   APRÈS  ↓ (rayon r-md + halo accent-ring cohérent avec les inputs) */
.chips-input {
    border-radius: var(--r-md);
    transition: border-color var(--t-snap), box-shadow var(--t-snap);
}
.chips-input:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
/* Chips (l.49, l.125, l.200) : border-radius 14px → pill (999px), cohérence Telegram */
.chips-input .chip,
.chip { border-radius: var(--r-pill); }
/* Tooltip chips (l.151 & l.177 & l.163) :
   AVANT  background: #1f1d1a;  border-top-color: #1f1d1a;
          box-shadow: 0 6px 18px rgba(0,0,0,0.22), 0 1px 3px rgba(0,0,0,0.12);
   APRÈS  ↓ (ardoise froide + ombre froide ; keyframe chip-tooltip-in conservé) */
.chip[data-tooltip]:hover::before { background: #16181C; box-shadow: 0 6px 18px rgba(20, 24, 32, 0.22), 0 1px 3px rgba(20, 24, 32, 0.12); }
.chip[data-tooltip]:hover::after { border-top-color: #16181C; }


/* ============================================================
 * outsend UI · dropdown.css
 * ============================================================
 * Composant dropdown menu réutilisable : un trigger qui toggle
 * un menu absolu d'items (liens ou boutons).
 *
 * Utilisation HTML (avec Alpine pour le toggle) :
 *   <div class="ui-dropdown" x-data="{ open: false }" @click.outside="open = false"
 *        @keydown.escape.window="open = false">
 *     <button class="ui-dropdown-trigger" @click="open = !open" type="button">
 *       Actions
 *       <span x-text="open ? '▴' : '▾'"></span>
 *     </button>
 *     <div class="ui-dropdown-menu is-right" x-show="open" x-cloak x-transition.opacity>
 *       <a href="/foo" @click="open = false">Item 1</a>
 *       <a href="/bar" @click="open = false">Item 2</a>
 *     </div>
 *   </div>
 *
 * Variants disponibles sur .ui-dropdown-menu :
 *   .is-right  → aligne le menu à droite du trigger
 *   .is-left   → aligne à gauche (défaut)
 *
 * Variables CSS utilisées (style.css) :
 *   --bg, --border, --r-md, --accent-soft, --accent-text, --ink
 * ============================================================ */

.ui-dropdown {
    position: relative;
    display: inline-block;
}

.ui-dropdown-trigger {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.ui-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--bg, #fff);
    border: 1px solid var(--border);
    border-radius: var(--r-md, 6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 6px;
    z-index: 30;
    transition: opacity 0.15s;
}

.ui-dropdown-menu.is-right {
    left: auto;
    right: 0;
}

.ui-dropdown-menu.is-left {
    left: 0;
    right: auto;
}

.ui-dropdown-menu a,
.ui-dropdown-menu button {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--ink, #1a1a1a);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.ui-dropdown-menu a:hover,
.ui-dropdown-menu button:hover {
    background: var(--accent-soft, #DEEDED);
    color: var(--accent-text, #094543);
}

.ui-dropdown-menu a strong,
.ui-dropdown-menu button strong {
    font-weight: 600;
    font-size: 13px;
}

.ui-dropdown-menu a .text-xs,
.ui-dropdown-menu button .text-xs {
    font-size: 11px;
    line-height: 1.3;
}

/* Séparateur entre items */
.ui-dropdown-menu hr,
.ui-dropdown-menu .ui-dropdown-separator {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 4px 0;
}

@media (max-width: 720px) {
    .ui-dropdown-menu {
        min-width: 200px;
    }
    .ui-dropdown-menu.is-right {
        right: -8px;
    }
}

/* ============================================================
 * Variante "split button" : action principale (lien direct vers
 * format par défaut) + caret pour ouvrir les autres formats.
 * Utilisé sur la page détail d'un job pour le téléchargement.
 * ============================================================ */

.ui-dropdown.dl-split {
    display: inline-flex;
    align-items: stretch;
    vertical-align: middle;
}

.ui-dropdown.dl-split .dl-split-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 10px;
    text-decoration: none;
}

.ui-dropdown.dl-split .dl-split-caret {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 8px;
    padding-right: 8px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Compteur de résultats dans le bouton principal */
.ui-dropdown.dl-split .dl-split-count {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.22);
    color: inherit;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    margin-left: 2px;
}

/* Petite pastille de status (live / partiel) à droite du compteur */
.ui-dropdown.dl-split .dl-split-pill {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-left: 4px;
}

.ui-dropdown.dl-split .dl-split-pill-live {
    background: #fff;
    color: var(--accent, #0D5D5C);
    animation: dl-split-live-blink 1.4s ease-in-out infinite;
}

.ui-dropdown.dl-split .dl-split-pill-partial {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@keyframes dl-split-live-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.55; }
}

/* Position du menu : à droite du caret */
.ui-dropdown.dl-split .ui-dropdown-menu.is-right {
    top: calc(100% + 6px);
    right: 0;
}


/* ###############################################################
   APPLE iOS-26 × TELEGRAM — raffinement (à la sauce Outsend)
   Verre / scrims froids / rayons / ombres froides. Override en fin
   de fichier : dernière règle gagnante. Tokens définis dans style.css.
   ############################################################### */
/* .ui-dropdown-menu (l.47, l.49-50) :
   AVANT  background: var(--bg, #fff);
          border-radius: var(--r-md, 6px);
          box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.04);
   APRÈS  ↓ (menu verre flottant, r-lg 14px, ombre glass froide) */
.ui-dropdown-menu {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-glass);
    padding: 6px;
}
/* Items (l.74) : border-radius: 6px → r-sm + press-scale iOS discret */
.ui-dropdown-menu a,
.ui-dropdown-menu button {
    border-radius: var(--r-sm);
    transition: background var(--t-fast), color var(--t-fast), transform 80ms var(--ease-out);
}
.ui-dropdown-menu a:active,
.ui-dropdown-menu button:active { transform: scale(0.985); }
/* NB : le bloc split-button "live" (l.145-190, dégradé accent + points blancs)
   NE PAS toucher — c'est de la couleur de marque, pas une ombre neutre. */


