/* DriveQuery map UI unification v722 */
.charging-map-shell{
  --dq-map-side:360px;
}
.map-controls-top{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:end;
  gap:10px!important;
}
.map-controls-top .map-field{
  flex:1 1 145px;
  min-width:0;
}
.map-controls-top .map-field:first-child{
  flex:1.7 1 235px;
}
.map-controls-bottom{
  gap:9px!important;
}
.map-decision-bar{
  display:flex!important;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 16px;
  border-bottom:1px solid var(--line,#dde4ee);
  background:#f7f9fc;
}
.map-decision-label{
  color:var(--muted,#5d6674);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.map-rank{
  appearance:none;
  border:1px solid #cbd6e4!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--ink,#142033)!important;
  padding:8px 13px!important;
  font:inherit;
  font-size:.82rem!important;
  font-weight:800!important;
  line-height:1.15;
  cursor:pointer;
  box-shadow:none!important;
}
.map-rank:hover,
.map-rank.is-active,
.map-rank[aria-pressed="true"]{
  border-color:#173e37!important;
  background:#173e37!important;
  color:#fff!important;
}
.map-rank-note,
.map-zoom-note{
  margin:0!important;
  padding:10px 16px!important;
  border-bottom:1px solid var(--line,#dde4ee);
  background:#fff!important;
  color:var(--muted,#5d6674)!important;
  font-size:.78rem!important;
  line-height:1.45!important;
}
.map-rank-note + .map-zoom-note{
  background:#fbfcfe!important;
}

/* Native fullscreen and robust fallback both use the full map shell. */
.charging-map-shell:fullscreen,
.charging-map-shell:-webkit-full-screen,
.charging-map-shell.dq-map-shell-fullscreen{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  min-height:100vh!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) var(--dq-map-side)!important;
  overflow:hidden!important;
}
.charging-map-shell.dq-map-shell-fullscreen{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
}
.charging-map-shell:fullscreen .charging-map-main,
.charging-map-shell:-webkit-full-screen .charging-map-main,
.charging-map-shell.dq-map-shell-fullscreen .charging-map-main{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
}
.charging-map-shell:fullscreen [id$="charging-map-canvas"],
.charging-map-shell:-webkit-full-screen [id$="charging-map-canvas"],
.charging-map-shell.dq-map-shell-fullscreen [id$="charging-map-canvas"]{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:260px!important;
  max-height:none!important;
  border-radius:0!important;
}
.charging-map-shell:fullscreen .charging-map-side,
.charging-map-shell:-webkit-full-screen .charging-map-side,
.charging-map-shell.dq-map-shell-fullscreen .charging-map-side{
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.charging-map-shell:fullscreen .map-result-list,
.charging-map-shell:-webkit-full-screen .map-result-list,
.charging-map-shell.dq-map-shell-fullscreen .map-result-list{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:auto!important;
}
body.dq-map-fullscreen-lock{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
@media(max-width:1050px){
  .map-controls-top .map-field:first-child{flex:1 1 100%}
}
@media(max-width:900px){
  .charging-map-shell:fullscreen,
  .charging-map-shell:-webkit-full-screen,
  .charging-map-shell.dq-map-shell-fullscreen{
    grid-template-columns:1fr!important;
  }
  .charging-map-shell:fullscreen .charging-map-side,
  .charging-map-shell:-webkit-full-screen .charging-map-side,
  .charging-map-shell.dq-map-shell-fullscreen .charging-map-side{
    display:none!important;
  }
}
@media(max-width:720px){
  .map-controls-top{display:grid!important;grid-template-columns:1fr!important}
  .map-controls-top .map-field,
  .map-controls-top .map-field:first-child{width:100%;flex:none}
  .map-decision-bar{align-items:flex-start}
  .map-decision-label{width:100%}
  .map-rank{font-size:.78rem!important;padding:8px 11px!important}
}


/* v724: fullscreen is a compact overlay control inside the map, not a filter-row button. */
[id$="charging-map-canvas"]{position:relative!important}
.dq-map-fullscreen-control{
  position:absolute!important;top:12px!important;right:12px!important;z-index:1200!important;
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  margin:0!important;padding:0!important;border:1px solid rgba(17,24,39,.22)!important;
  border-radius:8px!important;background:#fff!important;color:#111827!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:0 1px 5px rgba(0,0,0,.22)!important;cursor:pointer!important;line-height:1!important;
  appearance:none!important;-webkit-appearance:none!important;
}
.dq-map-fullscreen-control:hover{background:#f8fafc!important}
.dq-map-fullscreen-control:focus-visible{outline:3px solid rgba(37,99,235,.28)!important;outline-offset:2px!important}
.dq-map-fullscreen-control svg{display:block!important;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
@media(max-width:720px){.dq-map-fullscreen-control{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;top:10px!important;right:10px!important}}

/* US charging map polish v738 */
.us-map-network-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 16px;border-bottom:1px solid var(--line,#dde4ee);background:#fff}
.us-map-network-label{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted,#5d6674);margin-right:2px}
.us-map-network{appearance:none;border:1px solid #ced7e3;border-radius:999px;background:#fff;color:var(--ink,#142033);padding:7px 11px;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}
.us-map-network:hover,.us-map-network.is-active,.us-map-network[aria-pressed="true"]{background:#10182b;color:#fff;border-color:#10182b}
.us-map-network[data-map-network="tesla"].is-active{background:#9f2f36;border-color:#9f2f36}
.us-map-mode-note{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;margin-top:16px;padding:14px 16px;border:1px solid #dce5ee;border-radius:16px;background:#f7fafc;color:#526173;font-size:.86rem;line-height:1.5}
.us-map-mode-note b{color:#10182b}
.us-map-pill{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.08);font-size:.78rem;font-weight:800}
.us-map-hero-proof{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.us-map-hero-proof span{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.07);font-size:.78rem;font-weight:750;color:#e9f2f0}
.us-map-answer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.us-map-answer-grid article{border:1px solid #dfe6ef;border-radius:18px;padding:18px;background:#fff}
.us-map-answer-grid strong{display:block;font-size:1rem;margin-bottom:6px}.us-map-answer-grid p{margin:0;color:#5d6978;font-size:.9rem}
.us-map-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.us-map-related a{display:block;text-decoration:none;color:inherit;border:1px solid #dfe6ef;border-radius:18px;padding:18px;background:#fff}.us-map-related a:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(20,32,48,.08)}.us-map-related span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#68798a;font-weight:800}.us-map-related strong{display:block;margin-top:6px}
@media(max-width:820px){.us-map-answer-grid,.us-map-related{grid-template-columns:1fr}.us-map-network-label{width:100%}}
