/* CRIE.ATLAS.PUBLIC.MAP.01 — isolamento visual publico, sem libraria externa */
.atlasmap-body{background:#f7fbfc;color:#12273a}.atlasmap-main{max-width:1370px;margin:auto;padding:clamp(24px,4vw,64px) 24px 80px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}
.atlasmap-main *{box-sizing:border-box}.atlasmap-main a{color:#07627d}.atlasmap-main a:focus-visible,.atlasmap-main button:focus-visible,.atlasmap-main select:focus-visible,.atlasmap-main input:focus-visible,.atlasmap-shape:focus-visible{outline:3px solid #147f9c;outline-offset:3px}
.atlasmap-kicker,.atlasmap-step{font-weight:750;letter-spacing:.11em;font-size:.78rem;color:#056c7b;margin:0 0 10px}.atlasmap-hero{max-width:980px;margin:0 0 33px}.atlasmap-hero h1{font-size:clamp(2.2rem,5vw,4.5rem);letter-spacing:-.045em;line-height:1.06;margin:.1em 0 .22em}.atlasmap-hero>p:not(.atlasmap-kicker){font-size:1.12rem;max-width:800px;color:#496077}.atlasmap-hero__actions{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px}
.atlasmap-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:20px}.atlasmap-workspace,.atlasmap-guidance,.atlasmap-next{background:#fff;border:1px solid #d9e6eb;border-radius:24px;box-shadow:0 8px 32px #112e3c0a;padding:clamp(18px,2.4vw,30px)}.atlasmap-workspace__head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:15px}.atlasmap-workspace__head h2,.atlasmap-guidance h2{margin:0;font-size:clamp(1.3rem,2vw,1.9rem);letter-spacing:-.02em}.atlasmap-workspace__head button{border:1px solid #b6d4de;background:#f7fafb;border-radius:10px;padding:9px 13px;color:#11536b;cursor:pointer;white-space:nowrap}.atlasmap-geography{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:16px;align-items:start}
.atlasmap-svgbox{position:relative;min-width:0;min-height:350px;height:350px;width:100%;border-radius:18px;background:linear-gradient(155deg,#ecf7fa,#edf3f3);border:1px solid #dcecef;overflow:hidden}.atlasmap-svgbox svg{display:block;width:100%;height:100%;position:relative;z-index:2}.atlasmap-shape{stroke:#e6f6f6;stroke-width:.9;fill:#317e90;fill-opacity:.77;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .1s}.atlasmap-shape:hover,.atlasmap-shape:focus-visible{fill:#eea64e;stroke:#134553;fill-opacity:1}.atlasmap-geography__empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;color:#365a66;z-index:1}.atlasmap-geography__empty[hidden]{display:none}.atlasmap-geography__empty span{font-size:3.5rem;color:#3c8594}.atlasmap-geography__empty p{max-width:330px;margin:6px auto}.atlasmap-geography__aside{min-width:0;overflow:hidden}.atlasmap-geography__aside label{font-weight:700;display:block;margin-bottom:6px}.atlasmap-geography__aside select,.atlasmap-geography__aside input{width:100%;border:1px solid #bbd1db;border-radius:12px;padding:12px;background:#fff;color:#142d3d;min-height:45px;font:inherit}.atlasmap-state-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:355px;overflow:auto;margin-top:16px}.atlasmap-state-list[hidden],[data-atlasmap-city-panel][hidden],.atlasmap-workspace__head button[hidden]{display:none}.atlasmap-state-list button{padding:8px 3px;background:#f1f7f8;border:1px solid #d7e7eb;border-radius:8px;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer;color:#17596a}.atlasmap-state-list button:hover{background:#dceff0}.atlasmap-city-list{border:1px solid #dfebef;border-radius:12px;margin-top:10px;max-height:310px;overflow:auto}.atlasmap-city-row{border-bottom:1px solid #edf3f5}.atlasmap-city-row button{padding:10px 12px;width:100%;background:#fff;border:0;text-align:left;color:#1a4658;font:inherit;cursor:pointer}.atlasmap-city-row button:hover{background:#ebf6f7}.atlasmap-small{font-size:.84rem;color:#587080;margin:10px 0}.atlasmap-status{border-left:3px solid #22899d;background:#f1f8f9;padding:10px 14px;margin:17px 0 0;border-radius:0 9px 9px 0;color:#315669}.atlasmap-guidance ol{list-style:none;padding:0;margin:18px 0}.atlasmap-guidance li{display:grid;gap:3px;padding:13px 0;border-bottom:1px solid #e4edf0}.atlasmap-guidance li strong{color:#1d5664}.atlasmap-guidance li span,.atlasmap-note{color:#587080;font-size:.9rem}.atlasmap-next{margin-top:20px}.atlasmap-next h2{margin-top:0;font-size:1.25rem}
@media(max-width:1020px){.atlasmap-shell{grid-template-columns:1fr}.atlasmap-geography{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}.atlasmap-guidance ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}}
@media(max-width:680px){.atlasmap-main{padding:20px 14px 50px}.atlasmap-workspace,.atlasmap-guidance,.atlasmap-next{border-radius:17px;padding:16px}.atlasmap-geography{grid-template-columns:1fr}.atlasmap-svgbox{min-height:260px}.atlasmap-geography__aside{order:-1}.atlasmap-state-list{grid-template-columns:repeat(7,minmax(0,1fr));max-height:150px}.atlasmap-workspace__head{flex-wrap:wrap}.atlasmap-guidance ol{grid-template-columns:1fr}.atlasmap-hero__actions{gap:12px}}
@media(max-width:380px){.atlasmap-state-list{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.atlasmap-shape{transition:none}}

/* CRIE.ATLAS.PUBLIC.SELECT.02 | Recorte publico, sem persistencia ou indicadores. */
.atlasmap-selection{border-top:1px solid #dce9ee;padding-top:20px;margin-top:23px}
.atlasmap-selection__heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.atlasmap-selection__heading h3{margin:0;font-size:1.22rem;line-height:1.3}
.atlasmap-selection__heading h3 span{font-size:.83rem;font-weight:700;color:#357082}
.atlasmap-selection__heading button,.atlasmap-selection__actions button,.atlasmap-city-action{border:1px solid #a9cbd6;background:#f4fbfc;border-radius:9px;padding:9px 12px;color:#13566c;cursor:pointer;font:inherit;font-weight:650}
.atlasmap-selection button:disabled,.atlasmap-city-action:disabled{opacity:.55;cursor:not-allowed}
.atlasmap-selected-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;gap:9px;margin:17px 0}
.atlasmap-selected-list:empty{display:none}
.atlasmap-selected-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce9ee;background:#f8fcfc;padding:10px 12px;border-radius:11px;min-width:0}
.atlasmap-selected-item div{min-width:0}.atlasmap-selected-item strong,.atlasmap-selected-item small{display:block;overflow-wrap:anywhere}
.atlasmap-selected-item small{font-size:.75rem;color:#557581}
.atlasmap-selected-item button{border:0;background:#e3f0f2;border-radius:8px;padding:7px 10px;color:#174a5c;cursor:pointer}
.atlasmap-selection__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.atlasmap-selection__actions button:not(:disabled){background:#126a7a;color:#fff;border-color:#126a7a}
.atlasmap-selection__actions span,.atlasmap-selection__disclaimer{font-size:.81rem;color:#516d7a}
.atlasmap-selection__disclaimer{margin:15px 0 0}
.atlasmap-city-row{display:flex;align-items:center;gap:6px;padding:7px 9px}.atlasmap-city-row .atlasmap-city-action{flex:0 0 auto;font-size:.8rem;padding:7px 9px}
.atlasmap-city-row a{display:block;flex:1;min-width:0;text-decoration:none;padding:6px 4px;color:#1b5469;font-size:.85rem;overflow-wrap:anywhere}
.atlasmap-city-row a:hover{text-decoration:underline}
.atlasmap-city-row.is-selected{background:#e7f4f5}
.atlasmap-shape.is-selected{fill:#f7b64c;stroke:#1f3b43;stroke-width:2;fill-opacity:1}
@media(max-width:680px){.atlasmap-selected-list{grid-template-columns:1fr}.atlasmap-city-row{flex-wrap:wrap}.atlasmap-city-row a{flex-basis:100%}}

/* CRIE.ATLAS.PUBLIC.COMPARE.03A | comparacao de séries compatíveis */
.atlasmap-compare{border-top:1px solid #dce9ee;margin-top:24px;padding-top:24px;min-width:0}
.atlasmap-compare h3{font-size:clamp(1.15rem,2.1vw,1.4rem);margin:.1em 0}
.atlasmap-compare [data-atlasmap-compare]{border:0;border-radius:12px;background:#075e73;color:white;font:inherit;font-weight:750;padding:11px 16px;cursor:pointer;white-space:normal}
.atlasmap-compare [data-atlasmap-compare]:disabled{opacity:.55;cursor:default}
.atlasmap-metric{background:#fbfdfd;border:1px solid #d8e8eb;border-radius:16px;padding:18px;margin-top:14px;min-width:0}
.atlasmap-metric h4{margin:0 0 6px;font-size:1.1rem}.atlasmap-metric__meta{color:#43616f;font-size:.88rem;margin:2px 0 13px}
.atlasmap-metric__table{border-collapse:collapse;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.atlasmap-metric__table caption{text-align:left;font-size:.78rem;color:#526a74;padding:0 0 8px}
.atlasmap-metric__table tr{border-bottom:1px solid #e1ebee}.atlasmap-metric__table th,.atlasmap-metric__table td{padding:9px 7px;text-align:left;overflow-wrap:anywhere;font-size:.92rem}
.atlasmap-metric__table td{width:44%}.atlasmap-metric__table thead th{font-size:.8rem;color:#476674}
.atlasmap-metric__track{display:block;background:#e6f0f2;border-radius:5px;height:7px;margin-top:6px;overflow:hidden}
.atlasmap-metric__fill{display:block;background:#12839b;height:100%;border-radius:5px}
.atlasmap-metric__method,.atlasmap-metric__notice,.atlasmap-metric__missing{font-size:.88rem;color:#4c6370;line-height:1.6;margin-top:13px}
.atlasmap-metric__source{font-size:.9rem;font-weight:700}
@media(max-width:680px){.atlasmap-compare .atlasmap-selection__heading{flex-wrap:wrap}.atlasmap-compare [data-atlasmap-compare]{width:100%}.atlasmap-metric{padding:12px}.atlasmap-metric__table th,.atlasmap-metric__table td{font-size:.8rem;padding:8px 4px}}

/* CRIE.ATLAS.PUBLIC.FIX.01 + SELECT.30 | lista acessivel, sem rolagem interna. */
.atlasmap-shell .atlasmap-city-list{display:block;max-height:none;min-height:0;overflow:visible;overflow-x:hidden;width:100%;min-width:0;border-radius:12px}
.atlasmap-shell .atlasmap-city-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;min-width:0}
.atlasmap-shell .atlasmap-city-row .atlasmap-city-action{width:auto;min-width:76px;padding:8px 10px;text-align:center;white-space:nowrap}
.atlasmap-shell .atlasmap-city-row .atlasmap-city-label{display:block;color:#193f50;min-width:0;font-size:.9rem;overflow-wrap:anywhere}
.atlasmap-shell .atlasmap-city-row .atlasmap-city-read{flex:none;font-size:.79rem;padding:7px 3px;text-decoration:underline;white-space:nowrap}
.atlasmap-shell .atlasmap-show-more{display:block;width:100%;margin:0;padding:13px;border:0;background:#eef7f8;color:#0e566a;font:inherit;font-weight:700;cursor:pointer}
.atlasmap-shell .atlasmap-show-more:hover{background:#dfeff1}
.atlasmap-shell .atlasmap-selected-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));max-height:255px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
.atlasmap-shell .atlasmap-selected-item{padding:7px 9px;gap:8px}.atlasmap-shell .atlasmap-selected-item strong{font-size:.85rem}
.atlasmap-shell .atlasmap-selected-item button{white-space:nowrap}
.atlasmap-shell .atlasmap-advanced-export{margin:15px 0 0;border-top:1px solid #dfebef;padding:10px 0 0;color:#476373;font-size:.9rem}
.atlasmap-shell .atlasmap-advanced-export summary{cursor:pointer;font-weight:650;width:max-content;max-width:100%}
.atlasmap-shell .atlasmap-advanced-export .atlasmap-selection__actions{margin-top:12px}
@media(max-width:680px){.atlasmap-shell .atlasmap-city-row{grid-template-columns:auto minmax(0,1fr);gap:6px}.atlasmap-shell .atlasmap-city-row .atlasmap-city-read{grid-column:2;justify-self:start}.atlasmap-shell .atlasmap-city-row .atlasmap-city-label{grid-row:1}.atlasmap-shell .atlasmap-city-row .atlasmap-city-action{grid-row:1 / span 2}.atlasmap-shell .atlasmap-selected-list{max-height:220px}}

/* Guia metodologico ocupa menos espaco e evita competir com o mapa. */
.atlasmap-shell{grid-template-columns:minmax(0,1fr) 260px}
.atlasmap-guidance h2{font-size:clamp(1.22rem,1.7vw,1.55rem);line-height:1.25}
.atlasmap-guidance ol{margin:12px 0}.atlasmap-guidance li{padding:9px 0}
@media(max-width:1020px){.atlasmap-shell{grid-template-columns:1fr}}

/* Primeiro a UF, em seguida o mapa e so depois a lista no celular. */
@media(max-width:680px){
 .atlasmap-shell .atlasmap-geography{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"selector" "map" "municipios";gap:12px}
 .atlasmap-shell .atlasmap-geography__aside{display:contents}
 .atlasmap-shell .atlasmap-state-picker{grid-area:selector;min-width:0}
 .atlasmap-shell .atlasmap-svgbox{grid-area:map;height:260px;min-height:260px}
 .atlasmap-shell .atlasmap-city-panel{grid-area:municipios;min-width:0}
}

/* CRIE.ATLAS.MAPFIX.01 | alternativa permanente e estado de erro acessivel. */
.atlasmap-alternative{font-size:.85rem;line-height:1.5;margin:11px 0 0;color:#41616e}
.atlasmap-alternative a{font-weight:700;color:#085c73;text-decoration:underline;text-underline-offset:3px}
.atlasmap-state-shortcuts[open]{margin-top:10px;padding:10px;border:1px solid #cfe4e7;background:#f5fbfb;border-radius:12px}
.atlasmap-state-shortcuts summary{font-weight:700;cursor:pointer;color:#17596a}
.atlasmap-state-shortcuts summary:focus-visible,.atlasmap-alternative a:focus-visible{outline:3px solid #1a899d;outline-offset:3px}
