/* DaNet TEST 5.489 only: stable in-app map, direct DaNet popup actions. */
#venueHalalFilter{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 12px}
#venueHalalFilter .hint{flex:1 1 100%;order:3}
.danetMapToggle5480{margin-left:auto!important;min-height:45px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:10px 17px!important;border:2px solid #155e75!important;border-radius:14px!important;background:#155e75!important;color:#fff!important;font-family:inherit!important;font-size:16px!important;font-weight:850!important;line-height:1.15!important;white-space:nowrap!important;box-shadow:0 3px 9px #155e7538!important;cursor:pointer!important}
.danetMapToggle5480:hover,.danetMapToggle5480:focus-visible{background:#0e7490!important;border-color:#0e7490!important;color:#fff!important;outline-offset:3px!important}.danetMapToggle5480.active{background:#0c4a6e!important;border-color:#0c4a6e!important;color:#fff!important}
.danetMapPanel5487{border:1px solid #e2e8f0;border-radius:15px;padding:12px;background:#fff;margin:8px 0 18px;overflow:hidden}.danetMapPanel5487[hidden]{display:none!important}
.danetMapBar5487{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.danetMapBar5487 strong{font-size:15px;color:#0f172a;flex:1}.danetMapBar5487 button{font-size:13px;padding:10px 13px;border:0;border-radius:10px;white-space:nowrap;background:#111827;color:#fff}.danetMapVersion5487{font-size:10px;letter-spacing:.3px;padding:4px 6px;background:#e2e8f0;color:#475569;border-radius:5px}
.danetMapStatus5487{font-size:12px;line-height:1.4;color:#475569;margin:11px 0}
#danetMapCanvas5487{height:390px;width:100%;min-height:300px;background:#edf2f7;border-radius:12px;overflow:hidden;z-index:0}
#danetMapCanvas5487.danetMapFailed5487{display:none}
.danetMapPin5487{background:transparent!important;border:0!important}.danetMapPin5487 span{background:#15803d;color:#fff;border:2px solid white;border-radius:12px 12px 12px 0;padding:7px 6px;font:750 11px/1 Arial,sans-serif;box-shadow:0 2px 8px #11182750;display:inline-block;white-space:nowrap}
.danetMapPopup5487{font-family:Arial,sans-serif;min-width:190px;max-width:290px}.danetMapPopup5487 strong{display:block;font-size:15px;color:#0f172a}.danetMapPopup5487 small{display:block;color:#64748b;font-size:12px;line-height:1.35;margin:5px 0}
.danetMapActions5487{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px}.danetMapActions5487 button,.danetMapActions5487 a{border:0!important;border-radius:8px;background:#155e75;color:white!important;padding:9px 10px;text-decoration:none!important;font-size:12px!important;font-weight:750!important;cursor:pointer;min-height:37px;line-height:1.25;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.danetMapActions5487 a{background:#e2e8f0;color:#111827!important}
.danetMapFallback5487{padding:8px 0}.danetMapFallback5487[hidden]{display:none!important}.danetMapFallback5487>p{font-size:13px;color:#92400e;background:#fffbeb;padding:10px;border-radius:9px}
.danetMapFallbackCard5487{display:flex;flex-direction:column;gap:7px;margin:7px 0;border:1px solid #cbd5e1;padding:10px;border-radius:10px}.danetMapFallbackCard5487 strong{display:block;font-size:13px}.danetMapFallbackCard5487 small{display:block;color:#64748b;font-size:12px}
.danetMapFoot5487{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 0}.danetMapFoot5487 button{font-size:12px;padding:9px 11px;border:0;border-radius:10px;background:#155e75;color:#fff}.danetMapFoot5487 span{font-size:11px;color:#64748b}
#venueList[hidden]{display:none!important}
@media(max-width:650px){.danetMapToggle5480{font-size:14px!important;padding:9px 12px!important;min-height:42px!important}#danetMapCanvas5487{height:350px}}
@media(max-width:400px){.danetMapToggle5480{font-size:14px!important;padding:9px 10px!important}#danetMapCanvas5487{height:315px;min-height:315px}.danetMapBar5487 strong{font-size:13px}.danetMapVersion5487{order:2}}

/* 5.488 vector map popup: preserve DaNet layout and keep both action buttons visible. */
.danetMapPanel5487 .maplibregl-popup-content{border-radius:12px;box-shadow:0 3px 16px #11223335;padding:12px}
.danetMapPanel5487 .maplibregl-popup-content button{max-width:100%}
.danetMapPanel5487 .maplibregl-control-container{font-family:inherit}


/* 5.489 TEST: map switch LEFT; Halal controls RIGHT; equal button heights. */
#venueHalalFilter{column-gap:8px!important;row-gap:8px!important;align-items:center!important}
#venueHalalFilter > .danetMapToggle5480{
 order:1!important;margin:0!important;flex:0 0 auto!important;
 height:40px!important;min-height:40px!important;
 padding:7px 12px!important;font-size:13px!important;
 line-height:1.15!important;border-radius:12px!important;
 background:#155e75!important;border-color:#155e75!important;color:#fff!important;
}
#venueHalalFilter > .venueFilterButtons{
 order:2!important;margin-left:auto!important;
 display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
 gap:6px!important;
}
#venueHalalFilter .venueFilterButtons .venueFilterToggle{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 height:40px!important;min-height:40px!important;
 padding:7px 11px!important;line-height:1.15!important;
 border-radius:12px!important;white-space:nowrap!important;
}
#venueHalalFilter > .hint{order:3!important;flex:1 1 100%!important}
@media(max-width:400px){
 #venueHalalFilter{column-gap:6px!important}
 #venueHalalFilter > .danetMapToggle5480{height:38px!important;min-height:38px!important;font-size:12px!important;padding:6px 9px!important}
 #venueHalalFilter .venueFilterButtons .venueFilterToggle{height:38px!important;min-height:38px!important;font-size:11.5px!important;padding:6px 9px!important}
}
@media(max-width:340px){
 #venueHalalFilter > .danetMapToggle5480{font-size:11.5px!important;padding:6px 7px!important}
 #venueHalalFilter .venueFilterButtons .venueFilterToggle{font-size:11px!important;padding:6px 7px!important}
}

/* 5.489 TEST: both venue popup actions the same size. Teal vs turquoise. */
.danetMapPanel5487 .danetMapPopup5487{min-width:230px;max-width:265px}
.danetMapActions5487{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 align-items:stretch!important;gap:8px!important;flex-wrap:nowrap!important;
 width:100%!important;margin-top:12px!important;
}
.danetMapActions5487 > button,.danetMapActions5487 > a{
 box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:100%!important;
 min-height:44px!important;height:44px!important;padding:8px 6px!important;
 border:0!important;border-radius:10px!important;
 font-size:12px!important;line-height:1.15!important;font-weight:800!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 text-align:center!important;white-space:nowrap!important;
 box-shadow:0 2px 7px rgba(12,50,70,.18)!important;
 text-decoration:none!important;color:#fff!important;
}
.danetMapActions5487 > button{background:#155e75!important}
.danetMapActions5487 > a{background:#007f99!important;color:#fff!important}
.danetMapActions5487 > button:hover,.danetMapActions5487 > button:focus-visible{background:#0c4a6e!important}
.danetMapActions5487 > a:hover,.danetMapActions5487 > a:focus-visible{background:#006b81!important}
.danetMapActions5487 > button:focus-visible,.danetMapActions5487 > a:focus-visible{
 outline:3px solid #f59e0b!important;outline-offset:2px!important;
}

/* 5.490: single map/list toggle without icon; preserve 5.489 button size and color. */
#venueHalalFilter > .danetMapToggle5480{
 width:138px!important; min-width:138px!important; max-width:138px!important;
 text-align:center!important; white-space:nowrap!important;
}
#venueHalalFilter > .danetMapToggle5480.active{
 background:#155e75!important;border-color:#155e75!important;color:#fff!important;
}
@media(max-width:340px){
 #venueHalalFilter > .danetMapToggle5480{width:136px!important;min-width:136px!important;max-width:136px!important}
}
/* 5.490: centered heading, no separate back/version badge. */
.danetMapPanel5487 .danetMapBar5487{display:block!important;text-align:center!important}
.danetMapPanel5487 .danetMapBar5487 strong{display:block!important;width:100%!important;text-align:center!important;font-size:15px!important;line-height:1.45!important}
.danetMapPanel5487 .danetMapStatus5487{font-size:12.5px!important;text-align:center!important;max-width:350px!important;margin:9px auto 12px!important;line-height:1.5!important;color:#425466!important}
/* 5.490: halal disclaimer only appears above filtered list, never under the top button row. */
#danetHalalNote5490{margin:4px 2px 10px!important;font-size:12px!important;line-height:1.5!important;color:#64748b!important}
#danetHalalNote5490[hidden]{display:none!important}
.danetMapFoot5487 #danetMapLocate5490[disabled]{opacity:.65;cursor:wait}
.danetMapUserPin5490{width:17px;height:17px;border-radius:50%;background:#2563eb;border:3px solid #fff;box-sizing:border-box;box-shadow:0 0 0 3px #2563eb40,0 1px 7px #11182770}

/* 5.491 — Explain an already-denied browser location permission inline; no fake system dialog. */
.danetMapGeoHelp5491[hidden]{display:none!important}
.danetMapGeoHelp5491{box-sizing:border-box;width:100%;margin:10px 0 0;padding:13px 14px;border-radius:12px;border:1px solid #9dc9ce;background:#f0fafa;color:#12363b;text-align:left;font-family:inherit}
.danetMapGeoHelp5491 strong{display:block;font-size:14px;line-height:1.35;font-weight:800;color:#164e63}
.danetMapGeoHelp5491 p{font-size:12px;line-height:1.5;margin:7px 0;color:#334155}
.danetMapGeoHelp5491 ol{font-size:12px;line-height:1.5;list-style:decimal;padding-left:19px;margin:9px 0 12px;color:#243c46}
.danetMapGeoHelp5491 li+li{margin-top:5px}
.danetMapGeoHelpActions5491{display:flex;gap:8px;flex-wrap:wrap}
.danetMapGeoHelpActions5491 button{min-height:40px;padding:9px 14px;border-radius:9px;font-weight:750;font-size:13px;cursor:pointer;flex:1 1 140px}
.danetMapGeoHelpActions5491 button:first-child{background:#0f766e;border:1px solid #0f766e;color:#fff}
.danetMapGeoHelpActions5491 button:last-child{background:#fff;border:1px solid #a9bbc5;color:#334155}

/* 5.492: keep MapLibre attribution's native toggle. The mobile ⓘ control starts compact;
   the full attribution remains available when opened. Do not hide copyright credits. */
.danetMapPanel5487 .maplibregl-ctrl-attrib-button:focus-visible{outline:2px solid #0f766e;outline-offset:2px}
