 /* ============================================= */
  /* 1. ÉLÉMENT SELECT PRINCIPAL - Styles spéciaux uniquement */
  /* (Les styles de base sont gérés par Tailwind) */
  /* ============================================= */
  #toneSelect, #intensitySelect {
    /* Suppression de l'apparence native pour contrôle total */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Espacement spécial pour le chevron - responsive */
    padding-right: 1.8rem !important; /* Force l'espace pour le chevron - mobile */
    
    /* Transitions pour smooth effects */
    transition: all 0.2s ease-in-out;
    
    /* Chevron personnalisé - mode light */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236366f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.3rem center;
    background-repeat: no-repeat;
    background-size: 1em 1em;
    
    /* Bordures subtiles */
    border-radius: 0.25rem; /* rounded-sm */
  }
  
  /* ============================================= */
  /* 2. ÉTATS DU SELECT - Effets visuels avancés */
  /* ============================================= */
  
  /* État HOVER - Survol du sélecteur avec effets avancés */
  #toneSelect:hover, #intensitySelect:hover {
    background-color: rgba(238, 242, 255, 0.5) !important; /* indigo-50/50 */
    color: rgb(55, 48, 163) !important; /* indigo-800 */
    transform: translateY(-1px); /* Léger effet de lift */
    box-shadow: 0 2px 4px rgba(67, 56, 202, 0.1);
  }
  
  /* État FOCUS - Ring et ombres avancées */
  #toneSelect:focus, #intensitySelect:focus {
    background-color: rgba(238, 242, 255, 0.5) !important; /* indigo-50/50 */
    color: rgb(55, 48, 163) !important; /* indigo-800 */
    box-shadow: 0 0 0 2px rgba(67, 56, 202, 0.2) !important; /* Ring indigo */
    outline: none !important;
  }
  
  /* État ACTIVE/OPEN - Quand la liste est ouverte */
  #toneSelect:active, #intensitySelect:active {
    transform: translateY(0);
    box-shadow: 0 0 0 2px rgba(67, 56, 202, 0.3) !important;
  }
  
  /* ============================================= */
  /* 3. MODE SOMBRE - Chevron et effets visuels avancés */
  /* ============================================= */
  
  /* Select principal en mode sombre - chevron adapté */
  .dark #toneSelect, .dark #intensitySelect {
    /* Chevron adapté au mode sombre */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23a5b4fc' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  }
  
  /* Hover en mode sombre - effets avancés */
  .dark #toneSelect:hover, .dark #intensitySelect:hover {
    background-color: rgba(55, 48, 163, 0.2) !important; /* indigo-800/20 */
    color: rgb(196, 181, 253) !important; /* indigo-200 */
    box-shadow: 0 2px 4px rgba(165, 180, 252, 0.1);
  }
  
  /* Focus en mode sombre - ring adapté */
  .dark #toneSelect:focus, .dark #intensitySelect:focus {
    background-color: rgba(55, 48, 163, 0.2) !important; /* indigo-800/20 */
    color: rgb(196, 181, 253) !important; /* indigo-200 */
    box-shadow: 0 0 0 2px rgba(165, 180, 252, 0.3) !important;
  }
  
  /* Active en mode sombre */
  .dark #toneSelect:active, .dark #intensitySelect:active {
    box-shadow: 0 0 0 2px rgba(165, 180, 252, 0.4) !important;
  }
  
  /* ============================================= */
  /* 4. TITRES DE SECTIONS (OPTGROUP) - Groupes de ton */
  /* ============================================= */
  
  /* Titres de sections en mode light */
  #toneSelect optgroup {
    /* Fond distinctif pour séparer des options */
    background-color: rgb(249, 250, 251); /* gray-50 */
    color: rgb(67, 56, 202); /* indigo-700 */
    
    /* Typographie des titres */
    font-weight: 600; /* font-semibold */
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    
    /* Espacement et bordures */
    padding: 8px 12px;
    margin: 0;
    border-bottom: 1px solid rgb(224, 231, 255); /* indigo-100 */
    
    /* Empêche la sélection du titre */
    cursor: default;
    user-select: none;
  }
  
  /* Titres de sections en mode sombre */
  .dark #toneSelect optgroup {
    background-color: rgb(17, 24, 39); /* gray-900 */
    color: rgb(165, 180, 252); /* indigo-300 */
    border-bottom: 1px solid rgba(55, 48, 163, 0.3); /* indigo-800/30 */
  }
  
  /* ============================================= */
  /* 5. OPTIONS INDIVIDUELLES - Éléments cliquables */
  /* ============================================= */
  
  /* Options en mode light */
  #toneSelect option, #intensitySelect option {
    /* Fond et couleurs de base */
    background-color: white !important;
    color: rgb(55, 65, 81) !important; /* gray-700 */
    
    /* Espacement et typographie */
    padding: 10px 16px !important;
    font-size: 0.875rem !important; /* text-sm */
    font-weight: 400 !important; /* font-normal */
    line-height: 1.4 !important;
    
    /* Suppression des bordures par défaut */
    border: none !important;
    margin: 0 !important;
    
    /* Cursor et transitions */
    cursor: pointer !important;
    transition: all 0.15s ease-in-out !important;
  }
  
  /* Options en mode sombre */
  .dark #toneSelect option, .dark #intensitySelect option {
    background-color: rgb(31, 41, 55) !important; /* gray-800 */
    color: rgb(229, 231, 235) !important; /* gray-200 */
  }
  
  /* ============================================= */
  /* 6. ÉTATS DES OPTIONS - Hover, Focus, Selected */
  /* ============================================= */
  
  /* Option au survol - mode light */
  #toneSelect option:hover, #intensitySelect option:hover {
    background-color: rgb(224, 231, 255) !important; /* indigo-100 */
    color: rgb(67, 56, 202) !important; /* indigo-700 */
    font-weight: 500 !important; /* légèrement plus gras */
    transform: translateX(2px) !important; /* Petit décalage pour effet visuel */
  }
  
  /* Option au survol - mode sombre */
  .dark #toneSelect option:hover, .dark #intensitySelect option:hover {
    background-color: rgba(55, 48, 163, 0.3) !important; /* indigo-800/30 */
    color: rgb(196, 181, 253) !important; /* indigo-300 */
    font-weight: 500 !important;
    transform: translateX(2px) !important;
  }
  
  /* Option avec focus - mode light */
  #toneSelect option:focus, #intensitySelect option:focus {
    background-color: rgb(224, 231, 255) !important; /* indigo-100 */
    color: rgb(67, 56, 202) !important; /* indigo-700 */
    outline: none !important;
    box-shadow: inset 3px 0 0 rgb(67, 56, 202) !important; /* Barre gauche indigo */
  }
  
  /* Option avec focus - mode sombre */
  .dark #toneSelect option:focus, .dark #intensitySelect option:focus {
    background-color: rgba(55, 48, 163, 0.3) !important; /* indigo-800/30 */
    color: rgb(196, 181, 253) !important; /* indigo-300 */
    box-shadow: inset 3px 0 0 rgb(165, 180, 252) !important; /* Barre gauche indigo-300 */
  }
  
  /* Option sélectionnée - mode light */
  #toneSelect option:checked, #intensitySelect option:checked,
  #toneSelect option[selected], #intensitySelect option[selected] {
    background-color: rgb(199, 210, 254) !important; /* indigo-200 */
    color: rgb(55, 48, 163) !important; /* indigo-800 */
    font-weight: 600 !important; /* font-semibold */
    border-left: 4px solid rgb(67, 56, 202) !important; /* Barre gauche épaisse */
    padding-left: 12px !important; /* Ajustement pour la barre */
  }
  
  /* Option sélectionnée - mode sombre */
  .dark #toneSelect option:checked, .dark #intensitySelect option:checked,
  .dark #toneSelect option[selected], .dark #intensitySelect option[selected] {
    background-color: rgba(55, 48, 163, 0.5) !important; /* indigo-800/50 */
    color: rgb(224, 231, 255) !important; /* indigo-100 */
    font-weight: 600 !important;
    border-left: 4px solid rgb(165, 180, 252) !important; /* Barre gauche indigo-300 */
    padding-left: 12px !important;
  }
  
  /* ============================================= */
  /* 7. OPTIMISATIONS NAVIGATEURS - Compatibilité cross-browser */
  /* ============================================= */
  
  /* Optimisations WebKit (Chrome, Safari) */
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    #toneSelect, #intensitySelect {
      color-scheme: light;
    }
    
    .dark #toneSelect, .dark #intensitySelect {
      color-scheme: dark;
    }
  }
  
  /* Optimisations Firefox */
  @-moz-document url-prefix() {
    #toneSelect, #intensitySelect {
      padding-right: 1.5rem; /* Ajustement pour Firefox - mobile */
    }
  }
  
  /* Responsive padding pour le chevron */
  @media (min-width: 640px) {
    #toneSelect, #intensitySelect {
      padding-right: 2rem !important; /* Tablette */
      background-position: right 0.4rem center;
      background-size: 1.1em 1.1em;
    }
  }
  
  @media (min-width: 768px) {
    #toneSelect, #intensitySelect {
      padding-right: 2.3rem !important; /* Desktop */
      background-position: right 0.5rem center;
      background-size: 1.2em 1.2em;
    }
  }
  
  /* ============================================= */
  /* 8. ÉTATS DÉSACTIVÉS - Pour les sélecteurs disabled */
  /* ============================================= */
  
  /* Sélecteur désactivé */
  #toneSelect:disabled, #intensitySelect:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgb(249, 250, 251); /* gray-50 */
    color: rgb(156, 163, 175); /* gray-400 */
    transform: none;
    box-shadow: none;
  }
  
  .dark #toneSelect:disabled, .dark #intensitySelect:disabled {
    background-color: rgb(17, 24, 39); /* gray-900 */
    color: rgb(75, 85, 99); /* gray-600 */
  }
  
  /* Options désactivées */
  #toneSelect option:disabled, #intensitySelect option:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background-color: rgb(249, 250, 251) !important; /* gray-50 */
    color: rgb(156, 163, 175) !important; /* gray-400 */
  }