/* Estilos próprios do mapa; não dependem de folhas de estilo externas. */
.basemap-bar,.geo-notes{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.65rem 1.25rem}.basemap-bar{margin:1.25rem 0}.basemap-bar p{margin:0}.basemap-bar label,.event-select-label{font-size:.85rem;font-weight:750}.basemap-bar select,#event-picker{background:#fffaf2;color:#172126;border:1px solid #a4adab;border-radius:.55rem;font:inherit;padding:.5rem;max-width:100%}.basemap-bar select{margin-left:.35rem}.event-select-label{display:block;margin-bottom:.3rem}#event-picker{width:100%;font-size:.88rem;margin-bottom:1.2rem;text-overflow:ellipsis}.map-column{min-width:0}.map-wrap{align-items:start}.map-panel{min-height:0;min-width:0}.world41{height:clamp(430px,65vh,720px);min-height:0;isolation:isolate;touch-action:none;cursor:grab;background:#ccdedf;color:#173544}.world41.dragging{cursor:grabbing}.world41:focus-visible{outline:3px solid #316585;outline-offset:3px}.geo-base,.geo-tiles,.geo-pins{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.geo-tiles,.geo-pins{overflow:hidden}.geo-tiles img{position:absolute;max-width:none;pointer-events:none;user-select:none}.geo-dot{position:absolute;transform:translate(-50%,-50%);border:2px solid #fffaf2;box-shadow:0 1px 5px #14303866;border-radius:100%;display:grid;place-items:center;width:15px;height:15px;padding:0;background:#a47c3d;cursor:pointer;pointer-events:auto;color:white;font:750 11px/1 system-ui}.geo-dot.high{background:#973b32}.geo-dot.cluster{background:#244d5a;width:27px;height:27px}.geo-dot:hover,.geo-dot:focus-visible{z-index:3;outline:3px solid #bc872f;outline-offset:1px}.geo-dot.selected{outline:2px solid #192e36;outline-offset:2px}.geo-tools{position:absolute;top:12px;left:12px;display:grid;overflow:hidden;border:1px solid #92aaa9;border-radius:10px;box-shadow:0 2px 8px #18383e20}.geo-tools button{background:#fffdf6;border:0;border-bottom:1px solid #d6dedb;width:38px;height:38px;color:#264952;cursor:pointer;font:600 22px/1 system-ui}.geo-tools button:last-child{border-bottom:0}.geo-tools button:hover{background:#e7efe9}.geo-tools button:disabled{color:#9ca8a7}.geo-credit,.geo-scale{position:absolute;bottom:0;background:#fffdf3ef;font:10px/1.4 system-ui;color:#18383e;cursor:default}.geo-credit{right:0;border-radius:5px 0 0;padding:3px 6px}.geo-credit a{text-decoration:underline}.geo-scale{left:12px;bottom:21px;border:solid #36545a;border-width:0 1px 2px;text-align:center;white-space:nowrap}.geo-notes{justify-content:flex-start;margin:.8rem .1rem .1rem;font-size:.86rem;color:#334b50}.geo-notes button{font:inherit;color:#173f5c;text-decoration:underline;background:none;border:0;padding:.25rem;cursor:pointer}#map-hint{font-size:.8rem;color:var(--muted);margin:.28rem .1rem .7rem}.pick-cluster{list-style:none;padding:0;max-height:22rem;overflow:auto}.pick-cluster button{font:inherit;color:var(--blue);text-align:left;cursor:pointer;background:transparent;border:0;border-bottom:1px solid var(--line);padding:.6rem 0;width:100%}.geo-notes [hidden],.geo-credit [hidden]{display:none}@media(max-width:620px){.world41{height:55vh;min-height:340px}.basemap-bar{align-items:flex-start}.geo-tools button{width:40px;height:40px}.map-wrap .map-panel{min-height:0}}

/* v41 — independent, ordered layers: native on-demand images, then Atlas records and controls. */
.world41{background:#dfeaea;isolation:isolate}.geo-tiles{z-index:0}.geo-tiles img{display:block;left:0;top:0;max-width:none;max-height:none;transform-origin:top left}.geo-pins{z-index:2}.geo-tools,.geo-scale,.geo-credit{z-index:3}.geo-tools button{width:46px}.geo-tools button:last-child{font:700 11px/1 system-ui}.geo-credit{font-size:11px;max-width:92%;text-align:right;background:#fffffff5}.geo-scale{bottom:22px}.geo-dot.cluster{width:30px;height:30px}.map-filters{border-bottom:1px solid var(--line);padding:.4rem 0 .75rem}.map-filters summary{cursor:pointer;color:var(--blue);font-weight:650;font-size:.91rem}.map-filters:not([open]) .filters{display:none}.map-filters .filters{margin-bottom:.25rem}.map-filters select{min-width:0;max-width:100%}.scale-caption{border-left:1px solid #a4b3b0;padding-left:.65rem;margin-left:.45rem;font-size:.82rem;color:#465c5e}.map-panel .h3{margin:1rem 0 .65rem}.map-panel p{line-height:1.55}.map-action{display:inline-block;margin-top:.9rem;background:#1d4856;color:white;border:0;border-radius:2rem;font:650 .86rem system-ui;padding:.6rem 1rem;cursor:pointer}.symbols41{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem 1rem;font-size:.78rem;color:#33484c;margin:.55rem 0}.symbols41 span{display:inline-flex;gap:.35rem;align-items:center}.symbols41 i{display:inline-grid;place-items:center;border-radius:50%;color:white;font:700 10px/1 system-ui}.symbol-cluster{background:#244d5a;width:18px;height:18px}.symbol-point,.symbol-high{width:12px;height:12px;background:#a47c3d}.symbol-high{background:#973b32}.urban-external{font-size:.8rem;margin:.4rem 0}.urban-external a{text-decoration:underline;text-underline-offset:.16em}.geo-notes [hidden]{display:none}@media(max-width:620px){.geo-scale{bottom:32px}.geo-credit{font-size:10px}.map-filters summary{padding:.25rem 0}}

/* v42 • The first paint is cartography supplied by this site, not a blank tile box. */
.world41{background:#b6d0d7 url('../assets/mapa-v42/mundo.webp') center 46%/100% auto no-repeat}.world41 .geo-base{display:block;z-index:0}.map-edition{font:700 .68rem/1 system-ui;letter-spacing:.08em;border:1px solid #95aaa5;border-radius:1rem;padding:.32rem .55rem;color:#365850;white-space:nowrap}.map-warning{position:absolute;top:.75rem;left:4.6rem;right:.65rem;width:fit-content;max-width:calc(100% - 5.25rem);pointer-events:none;z-index:3;background:#fffaf0f2;color:#614b2f;border:1px solid #b5a181;border-radius:6px;padding:.37rem .6rem;font:600 .75rem/1.4 system-ui}.map-warning[hidden]{display:none}.map-shortcuts,.map-diagnostics{font-size:.85rem;color:#354d50;margin:.7rem 0}.map-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}.map-shortcuts button,.map-diagnostics button{background:#fffaf2;color:#214f56;border:1px solid #a5b6b2;border-radius:1rem;font:inherit;padding:.35rem .7rem;cursor:pointer}.map-diagnostics{border-top:1px solid var(--line);padding-top:.5rem}.map-diagnostics summary{cursor:pointer}.map-diagnostics pre{background:#f3f2ec;padding:.65rem;white-space:pre-wrap;overflow-wrap:anywhere;font:.76rem/1.55 ui-monospace,monospace}.map-diagnostics small{margin-left:.5rem}.geo-credit{max-width:80%;font-size:10px}.geo-credit span:empty{display:none}.geo-credit span+span:not(:empty):before{content:' · '}.world41 .geo-scale{bottom:32px}.basemap-bar select{max-width:100%}.world41 .geo-pins{z-index:2}
