.rbmv[data-rbmv].rbmv-explorer{
    --mve-paper:#fff;--mve-ink:#162336;--mve-secondary:#505f73;--mve-line:#dce4ed;--mve-soft:#f2f6fa;--mve-blue:#075bd0;
    display:grid!important;grid-template-columns:minmax(280px,.40fr) minmax(0,1fr);gap:12px;align-items:stretch;
    width:100%!important;max-width:none!important;margin:0!important;padding:10px!important;box-sizing:border-box;
}
:is(.dark-mode,.regiebbcom-dark,.dark,[data-theme="dark"],[data-scheme="dark"]) .rbmv.rbmv-explorer{
    --mve-paper:#151f2e;--mve-ink:#f5f7fa;--mve-secondary:#c0cddd;--mve-line:#39495c;--mve-soft:#202e40;--mve-blue:#0c62dc;
}
.rbmv.rbmv-explorer .rbmve-panel{
    min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px;
    border:1px solid var(--mve-line);border-radius:15px;background:var(--mve-paper);color:var(--mve-ink);z-index:12;
}
.rbmv-explorer .rbmve-panel h2{color:var(--mve-ink);margin:0;letter-spacing:-.025em;line-height:1.16}
.rbmv-explorer .rbmve-panel h2{font-size:1.1rem;overflow-wrap:anywhere}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-hero{width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-hero{display:block!important;border:0!important}
.rbmv.rbmv-explorer .rbmve-panel > :not(.rbmve-output){flex:none;align-self:stretch;min-width:0}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-search{display:block!important;position:relative!important;margin:0!important;padding:0!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-input-wrap{position:relative!important;inset:auto!important;transform:none!important;box-sizing:border-box;height:46px!important;min-height:46px!important;margin:0!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-input-wrap input{height:100%!important;min-height:0!important;margin:0!important}
.rbmv-explorer .rbmve-panel .rbmv-search>label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-search{width:100%!important;max-width:none!important}
.rbmv.rbmv-explorer .rbmve-panel #rbmv-suggestions{z-index:120!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-input-wrap{background:var(--mve-paper)!important;border-color:var(--mve-line)!important;color:var(--mve-ink)!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-search #rbmv-city-search{background:transparent!important;box-shadow:none!important;color:var(--mve-ink)!important;-webkit-text-fill-color:var(--mve-ink)!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-search #rbmv-city-search::placeholder{color:var(--mve-secondary)!important;-webkit-text-fill-color:var(--mve-secondary)!important;opacity:1}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-input-wrap:focus-within{outline:2px solid var(--mve-blue);outline-offset:1px}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-map-toolbar{display:flex!important;position:static!important;inset:auto!important;transform:none!important;flex-wrap:wrap!important;justify-content:flex-start!important;width:100%!important;margin:0!important;padding:0!important;gap:6px!important}
.rbmv-explorer .rbmve-media{display:flex;flex-wrap:wrap;gap:6px}
.rbmv-explorer .rbmve-button,.rbmv.rbmv-explorer .rbmve-panel .rbmv-home-filter-toggle{
    display:inline-flex!important;align-items:center;justify-content:center;min-height:38px!important;height:auto!important;width:auto!important;
    padding:7px 10px!important;border:1px solid var(--mve-line)!important;border-radius:9px!important;background:var(--mve-paper)!important;
    color:var(--mve-ink)!important;-webkit-text-fill-color:currentColor!important;font-size:.82rem!important;font-weight:720;line-height:1.25!important;
    box-shadow:none!important;cursor:pointer;white-space:normal!important;text-align:center;overflow-wrap:anywhere;
}
.rbmv-explorer .rbmve-button:focus-visible,.rbmv-explorer .rbmv-home-filter-toggle:focus-visible{outline:2px solid var(--mve-blue);outline-offset:2px}
.rbmv-explorer .rbmve-button[aria-pressed="true"],.rbmv.rbmv-explorer .rbmve-panel .rbmv-home-filter-toggle[aria-checked="true"]{background:var(--mve-blue)!important;border-color:var(--mve-blue)!important;color:#fff!important}
.rbmve-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--mve-line);border-radius:10px;background:var(--mve-soft);color:var(--mve-ink)}
.rbmve-filters[hidden],.rbmve-filters>[hidden]{display:none!important}
.rbmve-filters>label{display:grid;gap:4px;min-width:0;font-size:.8rem;font-weight:700}
.rbmve-filters>label :is(input,select){min-width:0;width:100%;height:38px;padding:4px 7px;border:1px solid var(--mve-line);border-radius:7px;background:var(--mve-paper);color:var(--mve-ink);font:inherit}
.rbmve-filters>label :disabled{opacity:.6;cursor:not-allowed}
.rbmv.rbmv-explorer .rbmve-filters>.rbmv-radius-control{grid-column:1/-1;max-width:none!important;width:100%!important;margin:0!important;padding:8px!important;border:1px solid var(--mve-line)!important;background:var(--mve-paper)!important}
.rbmv-explorer .rbmve-filters .rbmv-radius-control :is(label,span,output){color:var(--mve-ink)!important;-webkit-text-fill-color:currentColor!important}
.rbmve-filters>.rbmve-button,.rbmve-filter-note{grid-column:1/-1}
.rbmve-filter-note{margin:0;color:var(--mve-secondary);font-size:.8rem}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-filter-shell{height:auto!important;min-height:0!important;padding:10px!important;margin:0!important;gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important;background:var(--mve-soft)!important;border:1px solid var(--mve-line)!important;border-radius:10px!important;color:var(--mve-ink)!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-filter-shell>*,
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-filter-shell .rbmv-date-filters>*{grid-column:auto!important;grid-row:auto!important;min-width:0!important;max-width:100%!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-filter-shell .rbmv-date-filters{display:contents!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-filter-shell :is(label,output,select,input){color:var(--mve-ink)!important;-webkit-text-fill-color:currentColor!important}
.rbmv.rbmv-explorer .rbmve-panel .rbmv-page-filter-shell :is(select,input:not([type=range])){background:var(--mve-paper)!important}
.rbmv-explorer .rbmve-output{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;border-top:1px solid var(--mve-line);padding:12px 2px 0;scrollbar-width:thin}
.rbmv-explorer .rbmve-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.rbmv-explorer .rbmve-story{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:10px;min-height:64px;padding:9px 0;border-bottom:1px solid var(--mve-line);text-decoration:none!important;color:var(--mve-ink)!important}
.rbmv-explorer .rbmve-story:not(:has(img)){grid-template-columns:minmax(0,1fr)}
.rbmv-explorer .rbmve-story:hover strong{text-decoration:underline}
.rbmv-explorer .rbmve-story img{width:70px;height:52px;object-fit:cover;border-radius:7px}
.rbmv-explorer .rbmve-story strong,.rbmv-explorer .rbmve-story small{display:block;overflow-wrap:anywhere;line-height:1.28}
.rbmv-explorer .rbmve-story strong{font-size:.91rem;font-weight:750}
.rbmv-explorer .rbmve-story small,.rbmv-explorer .rbmve-status{font-size:.8rem;color:var(--mve-secondary)}
.rbmv-explorer .rbmve-story small{margin-top:4px}
.rbmv-explorer .rbmve-status:empty{display:none}
.rbmv-explorer .rbmve-sentinel{height:1px;pointer-events:none}
.rbmv-explorer .rbmve-sentinel[hidden]{display:none!important}
.rbmv-explorer .rbmve-output>.rbmve-button,.rbmv-explorer .rbmve-unlock{margin-top:10px}
.rbmv-explorer .rbmve-unlock{display:inline-block;color:var(--mve-ink);font-weight:700}
.rbmv.rbmv-explorer>.rbmv-map{align-self:stretch!important;width:100%!important;height:auto!important;max-height:none!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;grid-column:2;grid-row:1;border-radius:15px!important}
.rbmv[data-rbmv].rbmv-explorer>.rbmv-map>.rbmv-page-departments-toggle{
    position:absolute!important;z-index:24!important;top:12px!important;left:12px!important;right:auto!important;bottom:auto!important;
    height:40px!important;min-height:40px!important;max-height:none!important;margin:0!important;padding:0 13px!important;
    border:1px solid var(--mve-line)!important;border-radius:9px!important;background:var(--mve-paper)!important;
    color:var(--mve-ink)!important;-webkit-text-fill-color:currentColor!important;font-size:.82rem!important;line-height:1.2!important;
}
.rbmv[data-rbmv].rbmv-explorer>.rbmv-map>.rbmv-page-departments-toggle:focus-visible{outline:2px solid var(--mve-blue)!important;outline-offset:2px}
body .rbmv.rbmv-explorer.is-unified-home-map.is-map-banner>.rbmv-map>.rbmv-map-viewport,body .rbmv.rbmv-explorer.is-unified-home-map.is-map-banner>.rbmv-map>[data-rbmv-departments-view]{height:var(--mve-map-height,max(510px,calc(100dvh - 142px)))!important;min-height:0!important;max-height:none!important;margin:0!important}
.rbmv-explorer .rbmv-native-marker.is-cluster{border-width:3px!important;min-width:38px}
.rbmv.rbmv-explorer .rbmv-map-head,.rbmv.rbmv-explorer .rbmv-choice-notice,.rbmv.rbmv-explorer .rbmv-results-head,.rbmv.rbmv-explorer [data-rbmv-grid],.rbmv.rbmv-explorer [data-rbmv-unlock],.rbmv.rbmv-explorer [data-rbmv-loader],.rbmv.rbmv-explorer .rbmve-exit{display:none!important}
.rbmv-explorer .rbmve-panel{max-height:var(--mve-map-height,max(510px,calc(100dvh - 142px)))}
.rbmv-explorer:not([data-layout="vertical"])>.rbmv-results{display:none!important}
.rbmv.rbmv-explorer>.rbmv-map-banner-controls[hidden]{display:none!important}
.rbmv.rbmv-explorer [data-bbvh-maville][hidden]{display:none!important}
.rbmv.rbmv-explorer[data-layout="vertical"]>.rbmve-panel,.rbmv.rbmv-explorer[data-layout="vertical"]>.rbmv-map{display:none!important}
.rbmv.rbmv-explorer[data-layout="vertical"]{display:block!important}
.rbmv.rbmv-explorer[data-layout="vertical"] .rbmve-exit{display:inline-flex!important;position:fixed;z-index:100080;top:calc(var(--bbvh-header-h,64px) + 12px);left:50%;transform:translateX(-50%)}
.rbmv-explorer :is(.rbmve-button,[data-rbmv-departments-view],.rbmv-map-viewport)[hidden]{display:none!important}
/* MaVille seulement : pile globale sur la carte, pile locale dans le flux vertical. */
@media(max-width:768px), (max-width:1024px) and (hover:none), (any-pointer:coarse){
    html body.bbvh-maville-active [data-regie-announcement-nav],
    html body.bbvh-maville-active [data-bbvh-maville] .bbvh-card-actions,
    html body:has(.rbmv[data-rbmv].rbmv-explorer) [data-regie-announcement-nav],
    .rbmv[data-rbmv].rbmv-explorer [data-bbvh-maville] .bbvh-card-actions{
        display:none!important;visibility:hidden!important;pointer-events:none!important
    }
}
@media(max-width:1024px){
    .rbmv[data-rbmv].rbmv-explorer{--mve-map-height:clamp(270px,48svh,550px);grid-template-columns:minmax(0,1fr);gap:9px;padding:8px!important}
    .rbmv.rbmv-explorer .rbmve-panel{display:contents}
    .rbmv-explorer .rbmve-panel>.rbmv-hero,.rbmv-explorer .rbmve-panel>.rbmv-page-map-toolbar{grid-column:1}
    .rbmv.rbmv-explorer>.rbmv-map{grid-column:1;grid-row:auto;order:1}
    .rbmv-explorer .rbmve-output{order:2;overflow:visible;padding:12px;border:1px solid var(--mve-line);border-radius:12px;background:var(--mve-paper)}
    .rbmv.rbmv-explorer .rbmve-panel .rbmv-map-banner-controls[hidden]{display:none!important}
    .rbmv-explorer .rbmve-button,.rbmv.rbmv-explorer .rbmve-panel .rbmv-home-filter-toggle{min-height:42px!important}
}
@media(max-width:600px){
    .rbmv-explorer .rbmve-media{display:contents}
    .rbmv-explorer .rbmve-panel .rbmv-page-map-toolbar>button{padding-inline:7px!important;font-size:.76rem!important}
}
@media(min-width:769px) and (hover:hover) and (pointer:fine), (min-width:800px) and (min-height:500px) and (pointer:coarse) and (orientation:landscape){
    html:has(.rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])){overflow:hidden!important;overscroll-behavior:none}
    html body:has(.rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])){overflow:hidden!important}
    html body:has(.rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])) .bbvh-dt-article-top.bbvh-dt-article-top{display:none!important}
    body:has(.rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])) .cs-site-content:has(.rbmv-explorer){margin-block:0!important}
    .rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"]){
        --mve-map-height:var(--mve-workspace-height,calc(100dvh - 32px));
        grid-template-columns:minmax(250px,.40fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);
        height:calc(var(--mve-map-height) + 20px)!important;min-height:0!important;padding:10px!important
    }
    .rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])>.rbmve-panel{
        display:flex;grid-column:1;grid-row:1;min-height:0;max-height:none;box-sizing:border-box;
        overflow:auto;overscroll-behavior:contain
    }
    .rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])>.rbmv-map{grid-column:2;grid-row:1;min-height:0}
    .rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"])>.rbmv-map>[data-rbmv-departments-view]{box-sizing:border-box;overflow:auto}
    .rbmv[data-rbmv].rbmv-explorer:not([data-layout="vertical"]) .rbmve-output{
        min-height:min(110px,25vh);overflow:auto;padding:12px 2px 0;border:0;border-top:1px solid var(--mve-line);border-radius:0
    }
}
