/* Navigation commune : Outils et le menu hamburger restent dans l’écran. */
.nav-more-menu { max-width: calc(100vw - 24px); overflow-y: auto; overscroll-behavior: contain; }
.nav-more-menu > .nav-link { min-height: 44px; }
.nav-menu { min-width: 0; align-items: center; }
.nav-menu > [hidden], .nav-more-menu > [hidden] { display: none !important; }
.nav-tools { position: relative; }
.nav-tools-toggle { min-height: 44px; list-style: none; cursor: pointer; }
.nav-tools-toggle::-webkit-details-marker { display: none; }
.nav-tools-toggle::after { content: ' ▾'; }
.nav-tools .prospect-page-tools-menu { position: fixed; z-index: 1200; width: 16rem; min-width: 0; max-width: calc(100vw - 24px); overscroll-behavior: contain; }
.nav-tools .prospect-page-tools-menu .btn { min-height: 44px; white-space: normal; }
.test-interface-top-tools { margin-bottom: .75rem; }
.test-interface-top-tools .nav-tools-toggle { display: flex; align-items: center; padding: .55rem .75rem; }
.vehicle-card-open { font: inherit; font-weight: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.vehicle-card-open:focus-visible, .nav-link:focus-visible, .nav-tools-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
#test-mobile-menu .test-interface-nav-link { display: flex; align-items: center; gap: .5rem; width: 100%; min-height: 44px; border: 0; background: white; text-align: left; padding: .55rem .7rem; font: inherit; color: var(--text); }
#test-mobile-menu .test-interface-nav-link > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
#test-mobile-menu .test-interface-nav-link.is-active { background: var(--background); color: var(--primary); }
#test-mobile-menu[hidden], #test-mobile-menu .test-interface-nav-link[hidden] { display: none; }
@media (max-width: 1099px) {
    body.theme-test .navbar .container { display: block; min-height: 0; height: auto; padding: .45rem .5rem; }
    body.theme-test .navbar .nav-brand { display: none; }
    body.theme-test .navbar .nav-menu { display: flex; width: 100%; gap: .2rem; overflow: visible; }
    body.theme-test .navbar .nav-menu > .nav-link { flex: 1 1 0; min-width: 0; min-height: 44px; padding: .55rem .25rem; font-size: .8rem; }
    body.theme-test .nav-tools-toggle { display: flex; align-items: center; padding: .55rem .3rem; font-size: .8rem; white-space: nowrap; }
    body.theme-test .navbar .nav-menu > .nav-more { flex: 0 0 auto; margin-left: auto; }
    #nav-more-toggle { min-width: 44px; min-height: 44px; }
    body[data-test-interface="workspace"] #test-interface-mobile-nav { display: flex; overflow: visible; gap: .2rem; padding: .45rem .5rem; position: sticky; top: 0; z-index: 110; }
    #test-interface-mobile-primary { display: flex; flex: 1; min-width: 0; gap: .2rem; }
    #test-interface-mobile-primary .test-interface-nav-link { flex: 1 1 0; justify-content: center; padding: .5rem .2rem; font-size: .8rem; }
    #test-interface-mobile-primary .test-interface-nav-link > svg { display: none; }
    #test-mobile-more { flex: 0 0 auto; min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: #f3f5f9; color: var(--text); }
}

.prospect-communication-menu { position: relative; }
.prospect-communication-menu:not([open]) > div { display: none; }
.prospect-communication-menu[open] > div { display: grid; z-index: 120; }
.prospect-communication-menu > summary { list-style: none; cursor: pointer; }
