
.venue-type-picker{margin:0 0 14px}
.sidebar #venue-type-toggle{width:100%;padding:10px 12px;border:1px solid var(--button-edge,#c9c9c9);border-radius:12px;background:var(--button-face,#fff);color:inherit;box-shadow:var(--button-relief);font-size:12px;text-align:left}
.sidebar #venue-type-toggle.active{background:var(--selection-fill,#53616c);color:#fff;border-color:var(--selection-border)}
#venue-type-panel{margin-top:10px;padding:12px;border:1px solid #d3dce1;border-radius:12px;background:#fff;max-height:340px;overflow:auto;scrollbar-width:thin}
#venue-type-panel[hidden]{display:none}
.venue-type-clear{display:block;margin:0 0 8px auto;border:0;padding:4px 0;background:none;color:inherit;font-size:11px;text-decoration:underline;box-shadow:none}
.venue-type-choices{display:flex;flex-wrap:wrap;gap:7px}
.venue-type-choices button{border:1px solid #c9d1d6;border-radius:12px;padding:7px 10px;background:#fff;color:#34434d;font-size:11px;line-height:1.3}
.venue-type-choices button[aria-pressed=true]{background:var(--selection-fill,#53616c);border-color:var(--selection-border,#53616c);color:#fff}
.culture-dark #venue-type-panel{background:#101619;border-color:#46545d}
.culture-dark .venue-type-choices button{background:#202a30;color:#edf2f5;border-color:#52616a}
.culture-dark .venue-type-choices button[aria-pressed=true]{background:var(--selection-fill,#53616c);color:#fff}

dialog.location-choice-dialog,dialog#venue-type-panel{position:fixed;inset:8vh auto auto 24px;margin:0;width:460px;max-width:calc(100vw - 48px);max-height:82dvh;padding:20px;border:1px solid #cbd3d9;border-radius:18px;background:#fff;color:#25343c;box-shadow:0 18px 60px #0004;overflow:auto;font:inherit}
.location-choice-dialog::backdrop{background:#0002;backdrop-filter:none}
.culture-dark dialog.location-choice-dialog,.culture-dark dialog#venue-type-panel{background:#101619;color:#edf2f5;border-color:#46545d}
.location-choice-dialog #zone-panel{position:static;inset:auto;width:auto;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.location-choice-dialog .zone-clear{display:block;margin:0 0 10px auto;border:0;background:none;color:inherit;font-size:11px;text-decoration:underline;box-shadow:none}
.location-choice-dialog .zone-clear+h3{margin-top:0}

/* Même traitement que les choix de types de lieux, sans relief supplémentaire. */
:root .location-choice-dialog #zone-panel .zone-pills button{border:1px solid #c9d1d6;border-radius:12px;padding:7px 10px;background:#fff;color:#34434d;font-size:11px;line-height:1.3;box-shadow:none}
:root.culture-dark .location-choice-dialog #zone-panel .zone-pills button{background:#202a30;color:#edf2f5;border-color:#52616a}
:root .location-choice-dialog #zone-panel .zone-pills button[aria-pressed=true],
:root.culture-dark .location-choice-dialog #zone-panel .zone-pills button[aria-pressed=true]{background:var(--selection-fill,#53616c)!important;border-color:var(--selection-border,#53616c)!important;color:#fff!important}

#venue-type-panel .venue-type-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
#venue-type-panel .venue-type-choices button{display:flex;align-items:center;gap:9px;min-width:0;min-height:52px;text-align:left;padding:10px;font-size:12px;line-height:1.4;cursor:pointer}
#venue-type-panel .venue-type-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px}
#venue-type-panel .venue-type-icon svg{display:block;width:23px;height:23px}
#venue-type-panel .venue-type-label{min-width:0;overflow-wrap:anywhere}
@media(max-width:400px){#venue-type-panel .venue-type-choices button{gap:6px;padding:8px;font-size:11px}#venue-type-panel .venue-type-icon{flex-basis:20px;width:20px}#venue-type-panel .venue-type-icon svg{width:20px;height:20px}}

#venue-type-panel .venue-type-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#venue-type-panel .venue-type-header h2{margin:0;font-size:18px;line-height:1.4;letter-spacing:0}
#venue-type-panel .venue-type-close{display:grid;place-items:center;flex:none;width:30px;height:30px;border:0;border-radius:50%;padding:5px;background:#e7edf1;color:#263842;cursor:pointer}
#venue-type-panel .venue-type-close svg{display:block;width:20px;height:20px}
.culture-dark #venue-type-panel .venue-type-close{background:#30414b;color:#edf4f8}
#venue-type-panel .venue-type-close:focus-visible{outline:2px solid #20b8ff;outline-offset:3px}
#venue-type-panel .venue-type-icon{flex-basis:27px;width:27px;height:27px}
#venue-type-panel .venue-type-icon svg{width:25px;height:25px}

/* Le survol et le focus reprennent l’accent des territoires de la petite carte. */
#venue-type-panel .venue-type-choices button:hover,
#venue-type-panel .venue-type-choices button:focus-visible{background:#e2f2fc;color:#174d70;border-color:#2989be;box-shadow:inset 0 0 0 1px #2989be}
.culture-dark #venue-type-panel .venue-type-choices button:hover,
.culture-dark #venue-type-panel .venue-type-choices button:focus-visible{background:#284b61;color:#e4f5ff;border-color:#8acff5;box-shadow:inset 0 0 0 1px #8acff5}
#venue-type-panel .venue-type-choices button[aria-pressed=true]:is(:hover,:focus-visible){background:var(--selection-fill,#53616c);color:#fff;border-color:var(--selection-border,#53616c);box-shadow:inset 0 0 0 2px #b6e6ff}

