.visitor-map-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(88rem,calc(100% - 2rem));max-width:calc(100% - 2rem);max-height:calc(100dvh - 2rem);padding:26px;border:1px solid #365762;border-radius:22px;background:#0d1b27;color:#e2e8f0;box-shadow:0 30px 100px #0009;overflow:auto}.visitor-map-dialog::backdrop{background:#020617bd;backdrop-filter:blur(4px)}.visitor-map-dialog header,.visitor-map-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.visitor-map-dialog h2{font-size:1.55rem;font-weight:800}.visitor-map-dialog h3{font-size:1rem;font-weight:750;margin:0 0 12px}.visitor-map-dialog button{cursor:pointer;border:1px solid #3b5966;border-radius:9px;background:#173240;color:#e2e8f0;padding:9px 13px}.visitor-map-dialog :focus-visible{outline:3px solid #fbbf24;outline-offset:4px}.visitor-map-intro,.visitor-map-note{color:#9fb7c6;font-size:.85rem;line-height:1.6;margin:12px 0 20px}.visitor-map-stats{display:flex;gap:12px;margin:18px 0}.visitor-map-stats>div{background:#142b38;border:1px solid #274551;border-radius:12px;padding:14px 20px;flex:1}.visitor-map-stats strong{display:block;font-size:1.75rem;color:#67e8d2}.visitor-map-stats span{color:#afc4cf;font-size:.85rem}.visitor-map-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.visitor-map-canvas{background:radial-gradient(ellipse at center,#17323c,#0a1722);border:1px solid #29444e;border-radius:16px;min-width:0}.visitor-map-canvas svg{display:block;width:100%;max-height:530px}.visitor-map-selected{padding:12px 18px;color:#fcd17d;min-height:50px;border-top:1px solid #29444e;font-weight:650}.visitor-map-marker{cursor:pointer}.visitor-map-marker circle{fill:#fbbf24;fill-opacity:.72;stroke:#fef3c7;stroke-width:1.5}.visitor-map-marker:hover circle,.visitor-map-marker.selected circle,.visitor-map-marker:focus circle{fill:#fb923c;fill-opacity:1;stroke:#fff;stroke-width:3}.visitor-map-places{padding:18px;background:#112734;border:1px solid #29444e;border-radius:16px;max-height:590px;overflow:auto}.visitor-map-places ol{list-style:none;margin:0;padding:0}.visitor-map-places li{margin:0 0 5px}.visitor-map-places li button{display:flex;width:100%;justify-content:space-between;gap:10px;background:transparent;border-color:transparent;text-align:left}.visitor-map-places li button[aria-pressed=true]{background:#28424a;border-color:#bba15d}.visitor-map-places strong{color:#fcd17d}.visitor-map-places details{border-top:1px solid #29444e;padding:13px 0;color:#b2c6d0;font-size:.85rem}.visitor-map-places summary{cursor:pointer;font-weight:650}.visitor-map-places ul{padding:12px 0 0 18px;list-style:disc}.visitor-map-dialog footer{padding-top:12px;border-top:1px solid #29444e;font-size:.75rem;color:#9fb7c6}.visitor-map-dialog footer a{text-decoration:underline}.visitor-map-empty{padding:16px;color:#b2c6d0}#adminVisitorBadge[role=button]{cursor:pointer}@media(max-width:680px){.visitor-map-dialog{padding:17px;border-radius:15px}.visitor-map-dialog h2{font-size:1.2rem}.visitor-map-grid{grid-template-columns:1fr}.visitor-map-canvas svg{max-height:430px}.visitor-map-places{max-height:330px}.visitor-map-dialog footer{align-items:flex-start}.visitor-map-stats>div{padding:12px}}

.visitor-map-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.visitor-map-stats>div{min-width:0}.visitor-map-panel h3{padding:1rem 1rem 0;margin:0;color:#cfebe8}.visitor-map-panel+.visitor-map-panel{border-top:1px solid #29444e}.visitor-map-marker .visit-dots{fill:#fbbf24;stroke:#fff4c2;stroke-width:.65}.visitor-map-marker.region-only .visit-dots{fill:#67c9ff;stroke:#cdebff}.visitor-map-marker:hover .visit-dots,.visitor-map-marker.selected .visit-dots{fill:#ff964d;stroke:white;stroke-width:1.3}.visitor-map-status{padding:.7rem 0;color:#b7c9d4}.visitor-map-places .visitor-map-note{padding:.7rem 0;margin:0}.visitor-map-canvas{overflow:hidden}.visitor-map-canvas .visitor-map-panel svg{width:100%;height:auto}.v47-actions{display:flex;flex-wrap:wrap;gap:.5rem}
@media(max-width:680px){.visitor-map-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}}

.visitor-map-dialog header button,.visitor-map-dialog footer button,.visitor-map-places strong {
  white-space:nowrap;
  flex-shrink:0;
}
.visitor-map-places li button {align-items:baseline}
.visitor-map-places li button span {min-width:0;word-break:normal;overflow-wrap:break-word}
.visitor-map-status:empty {display:none}
@media (min-width:960px) {
  .visitor-map-grid {grid-template-columns:minmax(0,2fr) minmax(18rem,1fr)}
  .visitor-map-canvas {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
  .visitor-map-panel {min-width:0}
  .visitor-map-panel:only-of-type {grid-column:1/-1}
  .visitor-map-panel+.visitor-map-panel {border-top:0;border-left:1px solid #29444e}
  .visitor-map-canvas .visitor-map-panel svg {height:clamp(12rem,40dvh,29rem)}
  .visitor-map-selected {grid-column:1/-1;margin:0}
  .visitor-map-places {max-height:clamp(16rem,54dvh,36rem)}
}
@media (max-width:680px) {
  .visitor-map-dialog {width:calc(100% - 1rem);max-width:calc(100% - 1rem);max-height:calc(100dvh - 1rem)}
  .visitor-map-dialog header,.visitor-map-dialog footer {flex-wrap:wrap;gap:.5rem}
  .visitor-map-places {max-height:none}
}
