/* Recherche : Départ, Arrivée, Date, Chercher d’abord. Le reste dans « Options avancées ». */
.mz-advanced-options { margin: 10px 0 4px; border-radius: 14px; }
.mz-advanced-options > summary {
  cursor: pointer; font-weight: 600; padding: 10px 2px; list-style: none;
  display: flex; align-items: center; gap: 8px; min-height: 44px;
}
.mz-advanced-options > summary::-webkit-details-marker { display: none; }
.mz-advanced-options > summary::after { content: '+'; margin-left: auto; font-weight: 700; }
.mz-advanced-options[open] > summary::after { content: '\2212'; }
.mz-advanced-options:not([open]) > :not(summary) { display: none !important; }
.mz-advanced-note { margin: 0 0 8px; font-size: .9rem; color: #3f4756; }

/* Mobile : le bouton Chercher reste visible dès le premier écran. */
@media (max-width: 700px) {
  #sidebarDock.mz-search-cta {
    position: sticky; bottom: 0; z-index: 6;
    padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--mz-surface, #fff);
    box-shadow: 0 -6px 16px rgba(15, 18, 24, .10);
  }
}

/* Mode sombre : libellés et indications au contraste AA (au moins 4.5:1 sur fond sombre). */
:root.dark body.app-shell #sidebar :is(.mz-label, .mz-ios-kicker, .od-field-label, .welcome-kicker, .mz-card-kicker) { color: #e2e8f0; }
:root.dark body.app-shell #sidebar :is(.mz-month-note, .mz-depth-note, .mz-ios-deep-hint, .trip-type-hint, .od-empty-hint, .day-search-hint, .period-search-note, .mz-advanced-note, .date-pick-hint, .date-plan-limit, .product-hint) { color: #cbd5e1; opacity: 1; }
:root.dark .mz-rail-hero-lead, :root.dark .mz-rail-hero-kicker { color: #cbd5e1; opacity: 1; }
:root.dark body.app-shell #sidebarDock.mz-search-cta { background: var(--mz-surface-dark, #141821); }
