.restaurant-explorer,.restaurant-explorer *,.restaurant-explorer *::before,.restaurant-explorer *::after { box-sizing:border-box; }
body { margin:0; background:#f6f5f3; color:#213b2d; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.restaurant-explorer button,.restaurant-explorer input { font:inherit; }
.restaurant-explorer a { color:#a20028; }
.restaurant-explorer button,.restaurant-explorer a,.restaurant-explorer input { touch-action:manipulation; }
.restaurant-explorer button:focus-visible,.restaurant-explorer a:focus-visible,.restaurant-explorer input:focus-visible { outline:3px solid #00ac96; outline-offset:3px; }
:root { --explorer-nav-height:80px; }
.explorer-navbar > br { display:none; }
.explorer-navbar .entire-navbar { top:0; left:0; margin:0; }
.restaurant-explorer { margin-top:var(--explorer-nav-height); height:calc(100vh - var(--explorer-nav-height)); height:calc(100dvh - var(--explorer-nav-height)); display:grid; grid-template-columns:370px minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.explorer-back { display:block; margin-bottom:20px; font-size:13px; font-weight:600; text-decoration:none; overflow-wrap:anywhere; }
.explorer-sidebar { padding:26px 22px 0; min-height:0; display:flex; flex-direction:column; background:#fff; border-right:1px solid #e0e8e1; }
.explorer-eyebrow { margin:0 0 10px; color:#a20028; font-size:10px; letter-spacing:.15em; font-weight:800; }
.restaurant-explorer h1 { margin:0 0 12px; font-size:30px; letter-spacing:-1px; }
.explorer-intro { font-size:13px; color:#657269; line-height:1.6; margin:0 0 18px; }
.explorer-search { font-size:12px; font-weight:600; }
.explorer-search input { display:block; width:100%; padding:12px; border:1px solid #d6ded7; border-radius:9px; margin-top:8px; background:#f8faf8; font-size:16px; color:#213b2d; }
.explorer-controls { display:flex; gap:8px; margin:12px 0; }
.explorer-controls button { flex:1; border:1px solid #d6ded7; border-radius:8px; background:#fff; color:#213b2d; padding:10px; font-size:12px; font-weight:600; cursor:pointer; }
.explorer-controls button:first-child { background:#fbecef; color:#a20028; border-color:#f3d6dd; }
.explorer-controls button:disabled { opacity:.5; cursor:default; }
.explorer-toggle { font-size:12px; display:flex; align-items:center; gap:8px; }
.explorer-toggle input { accent-color:#a20028; width:17px; height:17px; }
#map-result-count { font-size:12px; font-weight:600; margin:16px 0 8px; }
.explorer-note { font-size:12px; line-height:1.5; color:#657269; margin:0 0 12px; }
.explorer-results { overflow:auto; min-height:0; flex:1; padding:2px 4px 20px; overscroll-behavior:contain; }
.map-result { padding:15px 10px; border-bottom:1px solid #e0e8e1; border-left:3px solid transparent; }
.map-result.is-selected { border-left-color:#a20028; background:#fff6f8; }
.map-result button { display:block; border:0; padding:0; background:none; color:#213b2d; font-weight:700; text-align:left; font-size:15px; cursor:pointer; overflow-wrap:anywhere; }
.map-result p { font-size:12px; color:#657269; line-height:1.5; margin:7px 0; }
.map-result a { font-size:12px; font-weight:600; }
.map-badge { display:inline-block; padding:4px 7px; margin-bottom:8px; border-radius:5px; font-size:10px; font-weight:700; background:#fbecef; color:#a20028; }
.explorer-map-area { isolation:isolate; position:relative; min-height:0; min-width:0; }
#restaurant-map { width:100%; height:100%; background:#e8efe8; }
.map-status { position:absolute; left:16px; right:16px; top:12px; z-index:800; background:#fff; padding:12px 16px; box-shadow:0 3px 12px #213b2d22; border-radius:9px; font-size:13px; }
.map-status[hidden] { display:none; }
.map-legend { position:absolute; left:12px; bottom:28px; z-index:800; padding:10px 12px; border-radius:8px; background:#fff; box-shadow:0 3px 12px #213b2d22; font-size:11px; display:flex; gap:8px; align-items:center; pointer-events:none; }
.map-legend span { display:inline-block; width:10px; height:10px; border-radius:50%; }
.legend-current { background:#b80e30; }.legend-other { background:#008c78; margin-left:6px; }
.leaflet-popup-content { max-width:250px; font-family:system-ui,sans-serif; line-height:1.5; }
.leaflet-popup-content h2 { font-size:17px; margin:4px 0 10px; }
.leaflet-popup-content p { margin:6px 0; }
.leaflet-popup-content a { display:inline-block; margin:8px 16px 0 0; color:#a20028; font-weight:600; }
.map-embed .restaurant-explorer { margin-top:0; display:block; height:100vh; height:100dvh; }
.map-embed .explorer-map-area { height:100%; }
.map-embed .map-status { font-size:12px; }
@media(max-width:760px) {
 .restaurant-explorer { grid-template-columns:1fr; grid-template-rows:minmax(260px,48dvh) minmax(280px,1fr); height:auto; min-height:calc(100dvh - var(--explorer-nav-height)); }
 .explorer-map-area { grid-row:1; }.explorer-sidebar { grid-row:2; padding:20px 16px 0; border:0; }
 .explorer-results { max-height:48dvh; min-height:180px; }
 .restaurant-explorer h1 { font-size:25px; }.explorer-intro { margin-bottom:12px; }
 .map-legend { font-size:10px; padding:8px; }
}
