:root{--wine:#9D2235;--ink:#292929;--line:#d4d8da;--paper:#fff;--soft:#f8f9fa}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:var(--ink);font:16px/1.8 'Roboto',Arial,sans-serif}
.original-header{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:28px 50px 27px;background:#fff;min-height:270px}
.header-copy{max-width:74%}.original-header h1{font:400 clamp(30px,3.3vw,46px)/1.15 'Merriweather',Georgia,serif;color:var(--wine);margin:0;letter-spacing:-.02em}
.inverted-america{margin:0;text-align:center;min-width:230px}.inverted-america img{height:195px;max-width:235px;object-fit:contain}.inverted-america figcaption{font:12px/1.6 Roboto,Arial,sans-serif;color:#777}
nav#tabs{border-top:2px solid var(--wine);border-bottom:1px solid #d8dee1;display:flex;flex-wrap:wrap;align-content:flex-start;background:white;margin:0 9px;padding:0;min-height:64px}
nav#tabs button{background:white;color:#b00024;border:1px solid transparent;border-radius:3px 3px 0 0;min-height:51px;padding:11px 21px;cursor:pointer;font:16px Roboto,Arial,sans-serif}
nav#tabs button:hover{color:#75001a;background:#fbfbfb}nav#tabs button.active{border-color:#d8dee1;border-bottom-color:#fff;color:#111;background:#fff}
.stars{height:18px;width:18px;object-fit:contain;margin-right:10px;vertical-align:middle}
main{padding:16px 24px 48px;max-width:1600px;margin:auto}.page{display:none}.page.active{display:block}
h2{font:400 27px/1.4 'Merriweather',Georgia,serif;color:#424242;padding:15px 0 20px;border-bottom:1px solid #ccc;margin:6px 0 25px}
h3{font:400 19px/1.4 'Merriweather',Georgia,serif;color:#424242;margin:12px 0}
p{margin:0 0 19px;line-height:2}.page>p{font-size:16px}.section-intro{color:var(--ink);font-style:normal;margin-bottom:20px}.auxiliary{color:#666;font-size:12px;line-height:1.6;margin-top:10px}.subtle-note{color:#777;font-size:13px}
.research-card{background:white;border-left:4px solid var(--wine);box-shadow:0 2px 7px #0001;padding:23px 26px;margin:30px 0 20px}.research-card h3{color:var(--wine)}
.author-links{display:flex;gap:12px;flex-wrap:wrap}.author-links a{color:white;text-decoration:none;background:var(--wine);font-size:13px;font-weight:700;padding:5px 10px;border-radius:3px}
.filter-card{background:white;border:1px solid #e3e3e3;padding:20px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:26px;margin-bottom:24px;box-shadow:0 1px 3px #0001}
.filter-col{display:flex;flex-direction:column;gap:9px}.field-label,.filter-col>label:not(.radio),label{font-size:14px}.radio{display:flex;gap:7px;align-items:center;cursor:pointer;font-size:14px;line-height:1.45}.radio input{accent-color:var(--wine);margin:0}
select,input[type=search],input[type=text],textarea{background:white;border:1px solid #ccc;border-radius:4px;padding:8px 11px;font:15px Roboto,Arial,sans-serif;max-width:100%;min-height:39px}select{width:100%}
button.small-button,.cos-search button{width:max-content;background:var(--wine);color:white;border:none;padding:7px 12px;border-radius:3px;cursor:pointer;font:13px Roboto,Arial,sans-serif}button.small-button:hover,.cos-search button:hover{background:#7a1a29}
.network-frame{position:relative;border:1px solid #ddd;background:#fff}#network{height:670px;min-height:450px}
.graph-detail{position:absolute;top:16px;left:16px;width:360px;max-width:calc(100% - 32px);max-height:70%;overflow:auto;background:#fffffffa;border:1px solid #d4d4d4;box-shadow:0 3px 17px #0003;padding:19px;border-radius:5px;z-index:5}.graph-detail img{display:block;width:112px;height:112px;object-fit:cover;border:2px solid var(--wine);border-radius:100%;margin:3px auto 14px}.graph-detail h3{color:var(--wine);text-align:center}.graph-detail p{font-size:13px;line-height:1.65}.graph-detail button{float:right;border:none;background:white;font-size:20px;cursor:pointer}.graph-detail ul{padding-left:17px;font-size:12px;line-height:1.5}
.map-grid{display:grid;grid-template-columns:2fr 1fr;gap:32px}.map-controls{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:15px}.map-controls label{font-size:13px}.map-controls select{max-width:390px}.checkbox{display:flex;align-items:center;gap:6px}.checkbox input{accent-color:var(--wine)}#map{height:600px;border:1px solid #ddd;background:#f6f6f6}
.side-panel{height:600px;overflow-y:auto;padding:23px;background:white;border:1px solid #ddd;box-shadow:0 2px 5px #0001}.side-panel h3{font:400 21px 'Merriweather',Georgia,serif;color:var(--wine);margin:0 0 18px}.side-panel p{font-size:14px;line-height:1.75}
.legal-grid{display:grid;grid-template-columns:1fr 2fr;gap:25px}.legal-grid .side-panel{height:auto;min-height:400px;max-height:660px}.inner-tabs{border-bottom:1px solid #ddd;display:flex;gap:0}.inner-tabs button{color:var(--wine);background:#fff;border:1px solid transparent;padding:11px 18px;cursor:pointer}.inner-tabs button.active{color:#333;border:1px solid #ddd;border-bottom-color:#fff}
.table-shell{padding:15px;overflow-x:auto;background:#fafafa;border:1px solid #ddd;margin-top:15px;max-height:530px;overflow-y:auto}.table{border-collapse:collapse;min-width:100%;width:100%;font:13px/1.5 Roboto,Arial,sans-serif}.table td,.table th{border-bottom:1px solid #ddd;text-align:left;padding:10px 8px;vertical-align:top}.table th{white-space:nowrap;color:var(--wine);font-weight:700}.table tr:hover{background:#fff9ed}
.query-block{display:flex;flex-wrap:wrap;gap:18px;align-items:center;background:#f8f9fa;border-radius:8px;padding:16px;margin:22px 0;box-shadow:0 2px 4px #0001}.query-entity{display:flex;gap:9px;align-items:center}.query-entity label{display:flex;flex-direction:column;gap:6px}.query-entity select{min-width:180px;max-width:310px}.query-entity img{height:40px;width:40px;object-fit:contain}.query-arrow{width:27px;height:25px;object-fit:contain}.run-query-btn{background-image:url('icons/RunQuery1.png');background-size:contain;background-repeat:no-repeat;background-position:center;background-color:transparent;border:none;width:190px;height:93px;cursor:pointer;margin-left:auto}.run-query-btn.is-loading{animation:runFrames .8s infinite step-end}@keyframes runFrames{0%{background-image:url('icons/RunQuery1.png')}16.6%{background-image:url('icons/RunQuery2.png')}33.3%{background-image:url('icons/RunQuery3.png')}50%{background-image:url('icons/RunQuery4.png')}66.6%{background-image:url('icons/RunQuery5.png')}83.3%{background-image:url('icons/RunQuery6.png')}}.query-advanced label{font-size:13px;color:#777}.query-advanced textarea{width:100%;margin-top:5px;font-family:monospace}
.data-stats{display:flex;flex-wrap:wrap;gap:12px}.stat{background:white;border:1px solid #ddd;padding:10px 19px;font-size:13px}.stat strong{display:block;font:400 24px Merriweather,Georgia,serif;color:var(--wine)}.data-tools{display:flex;gap:10px;align-items:center;margin-top:22px}.data-tools input{flex:1}.cos-search{display:flex;gap:12px;align-items:end}.cos-search label{flex:1;display:flex;flex-direction:column}.cos-search input{width:100%}.cos-search button{height:39px}.stars-head{width:32px;vertical-align:middle;margin-right:12px}footer{border-top:1px solid #ddd;padding:18px 24px;font-size:12px;color:#888}
@media(max-width:920px){.original-header{min-height:200px;padding:18px}.original-header h1{font-size:27px}.header-copy{max-width:70%}.inverted-america{min-width:155px}.inverted-america img{height:130px}.filter-card,.map-grid,.legal-grid{grid-template-columns:1fr}nav#tabs button{font-size:13px;padding:10px}.side-panel{height:auto;max-height:450px}}
@media(max-width:600px){.original-header{gap:10px;align-items:start}.original-header h1{font-size:19px}.header-copy{max-width:75%}.inverted-america{min-width:75px}.inverted-america img{height:90px;width:85px}.inverted-america figcaption{font-size:8px}main{padding:12px}.page>p{font-size:14px}.query-block{gap:5px}.query-arrow{display:none}.run-query-btn{margin-left:0}.data-tools{flex-wrap:wrap}#network{height:520px}.graph-detail{top:auto;bottom:12px;max-height:42%}}

/* Ajustes fiéis à interface original: sem controles verdes do visNetwork */
.vis-navigation,.vis-up,.vis-down,.vis-left,.vis-right,.vis-zoomIn,.vis-zoomOut,.vis-zoomExtends{display:none!important}
.dataset-loader{padding:12px;border:1px solid #e4e4e4;background:#fff;margin:8px 0 18px}.dataset-loader summary{cursor:pointer;font-weight:500;color:#666}.dataset-loader[open]{padding:18px}.dataset-loader input{margin:12px 8px 12px 0}
#network{height:750px;min-height:520px}#map{background:#f7f7f7}.auxiliary{overflow-wrap:anywhere}.map-grid .leaflet-container{background:#f7f7f7}

/* Paginação no estilo original das tabelas DT do R Shiny */
.data-pager{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:12px 0;color:#666;font-size:12px}.data-pager button{font:inherit;color:#9D2235;background:#fff;border:1px solid #ddd;border-radius:3px;padding:5px 10px}.data-pager button[disabled]{opacity:.4;cursor:default}.data-tools select{min-width:210px;max-width:340px;border:1px solid #ddd;background:#fff}.table-shell{max-width:100%;overflow-x:auto}

/* Revisão 2026-11-24: Linked Jazz, mantendo a identidade editorial do Shiny */
#network{height:770px;min-height:600px;overflow:hidden;position:relative;background:#fff}
#network svg{display:block;width:100%;height:100%;cursor:grab}
#network svg:active{cursor:grabbing}
#network .lj-edge{stroke:#a3aab5;stroke-width:.85;stroke-opacity:.29;fill:none;pointer-events:stroke}
#network .lj-node{cursor:pointer}
#network .lj-node circle{stroke:#fff;stroke-width:1.8px}
#network .lj-node .node-label{font:500 12px Roboto,Arial,sans-serif;fill:#343434;stroke:#fff;stroke-width:3;paint-order:stroke;pointer-events:none}
#network .lj-node .osm-label{font:700 15px Roboto,Arial,sans-serif;fill:#fff;pointer-events:none;stroke:transparent}
#network .lj-node circle.member-highlight{stroke:#9D2235;stroke-width:4px}
#network .lj-node .node-photo{pointer-events:none}
#network .lj-fallback{font:600 12px Roboto,Arial,sans-serif;fill:white;text-anchor:middle;dominant-baseline:central;pointer-events:none}
#network .lj-empty{padding:34px;font-size:14px;color:#777}
.graph-detail .mini-bio{line-height:1.65;font-size:13.5px;white-space:pre-line;text-align:left}
.graph-detail img{width:145px;height:145px}
.atlas-grayscale-tiles{filter:grayscale(1) saturate(.12) contrast(.85) brightness(1.04)}
.map-legend{display:flex;gap:23px;align-items:center;flex-wrap:wrap;font-size:12px;color:#656565;margin:9px 0 18px}
.map-legend span{display:inline-flex;align-items:center;gap:5px}
.map-legend .pin{display:inline-block;border:1px solid #777;background:#9D2235;border-radius:50%;width:11px;height:11px}
.map-legend .pin.other{background:#909090}
.legal-grid{grid-template-columns:minmax(275px,340px) minmax(0,1fr);align-items:start;column-gap:26px}
.legal-grid>.side-panel{padding:22px 20px 28px;height:auto;min-height:400px;max-height:none;overflow:visible}
.legal-grid>.side-panel>h3{margin:0 0 15px}
.legal-grid>.side-panel>label{display:block;line-height:1.5;margin:0 0 7px}
.legal-grid #concept{width:100%;max-width:100%;min-height:42px;display:block;margin:0 0 17px}
.legal-grid #conceptDetail p{margin:0 0 11px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.legal-grid .table-shell{margin-top:0}
.legal-grid .inner-tabs button{font:13px Roboto,Arial,sans-serif;min-height:45px}
.cos-search{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:end;gap:12px}
.cos-search label{width:100%;min-width:0}
.cos-search button,#cosSearch{width:100%;height:41px;min-height:41px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;padding:8px 15px;font-size:13px}
#pesquisaLocal[hidden]{display:none!important}
@media(max-width:930px){.legal-grid{grid-template-columns:1fr}.cos-search{grid-template-columns:1fr}.cos-search button{max-width:230px}}
@media(max-width:640px){#network{height:600px;min-height:470px}.graph-detail img{width:108px;height:108px}}

/* Foco humano e geográfico — sem refazer identidade visual do Shiny */
#grafo{width:100%;max-width:none;margin:0 auto}
#grafo .network-frame{width:100%;max-width:none;min-width:0}
#grafo .filter-card{width:100%;max-width:none}
#network{height:clamp(650px,72vh,960px)}
#network .atlas-organization .node-label{display:none}
#network .atlas-person .node-label{font:600 13px/1.2 Roboto,Arial,sans-serif;fill:#2f3033;stroke:#fff;stroke-width:4px;paint-order:stroke;pointer-events:none}
#network .lj-node.atlas-person>circle{stroke:#9D2235;stroke-width:2.3px}
#network .lj-node.atlas-selected>circle{stroke:#141414;stroke-width:5px}
#network .lj-node.atlas-linked.atlas-person>circle{stroke:#9D2235;stroke-width:3px}
#network .lj-node.atlas-dimmed{opacity:.095}
#network .lj-edge.atlas-dimmed{stroke-opacity:.025!important}
#network .lj-edge.atlas-highlight-link{stroke:#9D2235;stroke-opacity:.85!important;stroke-width:2.6px}
#network .lj-node.atlas-selected .node-label{display:block!important;font-weight:700;fill:#222}
#network .lj-node.atlas-dimmed .node-label{display:none!important}
.map-history{font:14px/1.75 Roboto,Arial,sans-serif;white-space:pre-line;text-align:left;color:#383838;margin-bottom:18px}
.map-address{border-bottom:1px solid #ececec;padding-bottom:10px;color:var(--ink);font-style:normal}
.map-events{padding-left:20px;font:13px/1.7 Roboto,Arial,sans-serif}
.map-events li{padding-bottom:7px}
.map-source{border-top:1px dashed #ccc;padding-top:10px;font-size:11px!important;color:#6c6c6c}
#map{touch-action:pan-x pan-y}
@media(max-width:920px){#grafo .filter-card{grid-template-columns:1fr}#network{height:740px}}
@media(max-width:600px){#grafo .network-frame{margin-inline:-6px;width:calc(100% + 12px)}#network{height:660px}#network .atlas-person .node-label{font-size:12px}}

/* ATLAS_EDUCACAO_20261124_V1: curadoria sob demanda, sem barra de filtros. */
.atlas-internal-filters[hidden]{display:none!important}
.education-map-actions>button{background:#fff;border:1px solid #b6b6b6;color:#9D2235;padding:9px 15px;border-radius:3px;font-family:Roboto,sans-serif;cursor:pointer}
.education-map-actions>button:hover{border-color:#9D2235;background:#fff8f8}
#eduMapList{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
#eduMapList[hidden]{display:none!important}
.atlas-edu-card{position:relative;min-width:0;display:flex;flex-direction:column;gap:2px;padding:20px 18px 17px;background:#faf8f1;border:0;border-radius:0;font:13px/1.65 Roboto,Arial,sans-serif;color:#292929}
.atlas-edu-card strong,.atlas-edu-card small{display:block}
.atlas-edu-card small,.atlas-edu-precision{color:#666;font-size:12px}
.atlas-edu-card p{margin:5px 0}
.atlas-edu-card button{margin:4px 6px 2px 0;padding:5px 8px;border:1px solid #ccc;border-radius:3px;background:#fafafa;color:#9D2235;cursor:pointer}
.education-map-actions{margin:12px 0 17px}
.graph-detail details.atlas-context{margin-top:13px;border-top:1px solid #e1e1e1;padding:10px 0}
.graph-detail details.atlas-context>summary{cursor:pointer;color:#9D2235;font-weight:500}
.graph-detail details.atlas-context ul{padding-left:20px;font-size:13px;line-height:1.55}
.graph-detail .mini-bio{font-size:13px;line-height:1.65}
@media(max-width:760px){#eduMapList{grid-template-columns:1fr}}

/* ATLAS_ENTREVISTA_20261124_V2 — listas recolhidas discretas, sem setas */
.atlas-context > summary {list-style:none !important;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#AD1F34;color:#AD1F34;font-weight:400;background:none;padding:8px 0;}
.atlas-context > summary::marker {content:'';font-size:0;}
.atlas-context > summary::-webkit-details-marker {display:none !important;}
.atlas-context > summary::before {content:none !important;display:none !important;}
.atlas-context > summary:focus-visible {outline:2px solid #9D2235;outline-offset:3px;}
.atlas-context > summary:hover {color:#751a29;}

/* Geografia: três categorias; mapa independente de CDN. */
.map-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.map-grid>div,.legal-grid>div{min-width:0}
.map-legend .pin.memory{background:#9D2235;border-color:#791A29}
.map-legend .pin.other{background:#9AA0A6;border-color:#777}
#map.atlas-raster{height:600px;min-height:340px;position:relative;overflow:hidden;touch-action:none;background-color:#f0f2f3;background-image:linear-gradient(#dce2e5 1px,transparent 1px),linear-gradient(90deg,#dce2e5 1px,transparent 1px);background-size:64px 64px;cursor:grab;isolation:isolate}
.atlas-raster:active{cursor:grabbing}
.atlas-raster-tiles,.atlas-raster-markers{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.atlas-raster-tiles img{position:absolute;left:0;top:0;width:256px;height:256px;max-width:none;filter:grayscale(1) saturate(.12) contrast(.85) brightness(1.05);user-select:none}
.atlas-raster-marker{position:absolute;transform:translate(-50%,-50%);padding:0;border-radius:50%;pointer-events:auto;cursor:pointer;min-width:0;box-shadow:0 0 0 1px white}
.atlas-raster-marker:focus-visible{outline:3px solid #111;z-index:10}
.atlas-raster-controls{position:absolute;top:12px;left:12px;display:grid;z-index:5;box-shadow:0 1px 5px #0003}
.atlas-raster-controls button{background:#fff;color:#333;width:36px;height:36px;border:1px solid #ccc;font:22px Arial;cursor:pointer}
.atlas-raster-credit{position:absolute;right:0;bottom:0;background:#fffe;padding:2px 6px;font:11px Arial;z-index:6}
.atlas-raster-credit a{color:#333}
.atlas-raster-warning{position:absolute;top:12px;left:58px;right:12px;background:#fffffff0;padding:7px 10px;font:12px/1.4 Roboto,Arial,sans-serif;color:#555;z-index:4;pointer-events:none}
.atlas-raster-popup{position:absolute;transform:translate(-50%,-100%);width:min(250px,90%);background:#fff;border:1px solid #ddd;box-shadow:0 2px 8px #0003;padding:12px 28px 12px 12px;border-radius:4px;font:13px/1.5 Roboto,Arial,sans-serif;z-index:7;cursor:auto}
.atlas-raster-popup button{position:absolute;right:4px;top:4px;border:0;background:white;cursor:pointer;font-size:20px}
#map .atlas-raster-popup[hidden],#map .atlas-raster-warning[hidden]{display:none}
#juridico .legal-grid{grid-template-columns:minmax(240px,1fr) minmax(0,2fr)}
#juridico .side-panel{box-shadow:none;border:0;padding:0 18px 0 0}
#juridico .side-panel h3{font-size:23px}
#juridico #conceptDetail{border-top:1px solid #ccc;padding-top:20px}
#juridico .legal-note{background:#f7f7f7;border-left:3px solid var(--wine);padding:12px}
#juridico .inner-tabs{margin-bottom:12px}
#juridico .table-shell,#dados .table-shell{background:white;border:0;padding:0;max-height:none}
#juridico .table,#dados .table{font:14px/1.55 Roboto,Arial,sans-serif}
#juridico .table th,#dados .table th{color:#333;border-bottom:1px solid #aaa;padding:10px}
#juridico .table td,#dados .table td{padding:12px 10px;border-bottom:1px solid #ddd}
#juridico .table tbody tr:nth-child(odd),#dados .table tbody tr:nth-child(odd){background:#f5f5f5}
#dados .table td{min-width:120px}
#dados .table td:nth-child(4),#dados .table td:nth-child(5){min-width:180px;white-space:normal}
#dados .data-tools{margin:14px 0 12px;flex-wrap:wrap}
@media(max-width:920px){.map-grid,#juridico .legal-grid{grid-template-columns:minmax(0,1fr)}#juridico .side-panel{padding:0}#map.atlas-raster{height:460px}}

/* Molduras de traço livre: SVG em CSS, sem ícones ou imagens externas. */
#eduMapList{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:17px;margin-top:18px}
#eduMapList .atlas-edu-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M1.5 1.9 Q24 1 48 1.5 T98 1.3 Q98.8 23 98.1 48 T98.8 98.1 Q77 97.8 51 98.8 T1.4 98.4 Q2.1 77 1.3 51 T1.5 1.9 Z' fill='none' stroke='%232b2926' stroke-width='1.55' vector-effect='non-scaling-stroke' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
#eduMapList .atlas-edu-card:nth-child(3n+2)::before{transform:scaleX(-1)}
#eduMapList .atlas-edu-card:nth-child(3n)::before{transform:scaleY(-1)}
#eduMapList .atlas-edu-title{font:600 17px/1.35 'Courier New',Courier,monospace;letter-spacing:-.045em;color:#242321;overflow-wrap:anywhere}
#eduMapList .atlas-edu-card small{font:13px/1.4 'Courier New',Courier,monospace;color:#514d47;margin:3px 0 7px}
#eduMapList .atlas-edu-address{font-weight:500}
#eduMapList .atlas-edu-precision{color:#615b52;font-size:12px}
#eduMapList .atlas-edu-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:9px}
#eduMapList .atlas-edu-actions:empty{display:none}
#eduMapList .atlas-edu-actions button,#eduMapList .atlas-edu-actions a{display:inline-block;margin:0;background:transparent;border:1px solid #49433c;border-radius:2px 4px 2px 3px;color:#2e2b26;padding:5px 9px;font:12px/1.35 'Courier New',Courier,monospace;text-decoration:none;cursor:pointer}
#eduMapList .atlas-edu-actions button:hover,#eduMapList .atlas-edu-actions a:hover{background:#efe9db;color:#9D2235}
#eduMapList .atlas-edu-actions button:focus-visible,#eduMapList .atlas-edu-actions a:focus-visible{outline:2px solid #DC143C;outline-offset:3px}

.graph-filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #ddd}.graph-filter-bar label{font-weight:500;color:#555}.graph-filter-bar select{width:auto;min-width:220px;max-width:100%;font-size:14px}.graph-filter-bar .auxiliary{margin:0;flex:1;min-width:220px}.graph-filter-bar .auxiliary[hidden]{display:none}

.map-legend .pin.education{background:#FF2B1F;border-color:#A51A12}


/* Notas metodológicas: leitura complementar sem ocupar permanentemente a área de exploração. */
.method-note{margin:0 0 19px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;color:var(--ink)}.method-note>summary{padding:11px 2px;color:var(--wine);font-size:14px;font-weight:500;cursor:pointer}.method-note>summary:focus-visible{outline:2px solid var(--wine);outline-offset:2px}.method-body{padding:2px 5px 14px;max-width:1100px}.method-body p{font-size:14px;line-height:1.75;margin:0 0 12px}.method-body h3{font-size:15px;color:var(--wine);margin:13px 0 6px}.method-legend{display:flex;flex-wrap:wrap;gap:10px 24px;margin:12px 0 15px;font-size:13px}.method-legend>span{display:inline-flex;align-items:center;gap:8px}.method-dot{width:13px;height:13px;border-radius:50%;background:var(--dot);display:inline-block;flex-shrink:0}.method-line{display:inline-block;width:28px;border-top:2px solid #a3aab5;flex-shrink:0}.method-line.dashed{border-top-style:dashed}.method-body p:last-child{margin-bottom:0}

/* Hand-drawn disclosure markers from the Atlas illustrations. The source PNGs have generous transparent margins. */
details:not(.atlas-context)>summary{list-style:none;position:relative;padding-left:21px;cursor:pointer}details:not(.atlas-context)>summary::marker{content:'';font-size:0}details:not(.atlas-context)>summary::-webkit-details-marker{display:none}details:not(.atlas-context)>summary::before{content:'';display:block;position:absolute;left:2px;top:50%;transform:translateY(-50%);transform-origin:center;width:13px;height:13px;background:url('./icons/left.png') center center / 120px 120px no-repeat}details[open]:not(.atlas-context)>summary::before{background-image:url('./icons/down.png');background-size:92px 92px;background-position:center calc(50% - 1.4px)}
/* Supporting text uses the same ink color and upright style as body copy. */
.section-intro,.auxiliary,.subtle-note,.map-address,.inverted-america figcaption,.query-advanced label,.dataset-loader summary,.data-pager,#network .lj-empty,.atlas-edu-card small,.atlas-edu-precision,footer{color:var(--ink);font-style:normal}
/* Temporary suspension: leave the underlying pilot intact for future reactivation. */
.oral-pilot-suspended[hidden]{display:none!important}.oral-suspended-illustration{margin:24px auto 38px;max-width:660px;width:100%;text-align:center}.oral-suspended-illustration img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;margin:auto}

/* Pulso discreto apenas no triângulo de expansão fechado. */
@keyframes atlas-disclosure-pulse{0%,100%{transform:translateY(-50%) scale(1)}50%{transform:translateY(-50%) scale(1.22)}}
details:not([open]):not(.atlas-context)>summary::before{animation:atlas-disclosure-pulse 2.1s ease-in-out infinite}
details[open]:not(.atlas-context)>summary::before{animation:none;transform:translateY(-50%)}
@media(prefers-reduced-motion:reduce){details:not([open]):not(.atlas-context)>summary::before{animation:none}}

/* Atlas 24: preserve the original header and navigation; refine text hierarchy only. */
main p:not(table p),
main .section-intro,main .auxiliary,main .subtle-note,
main .method-body p,main .research-card p,
main .graph-detail p,main .graph-detail .mini-bio,
main .side-panel p,main .legal-grid #conceptDetail p,
main .map-history,main .map-events,main .graph-detail details.atlas-context ul{line-height:1.4}
@media(max-width:920px){
  .original-header h1{font-size:29px}
  main h2{font-size:24px}
}
@media(max-width:600px){
  .original-header h1{font-size:23px}
  main h2{font-size:20px}
  main h3{font-size:17px}
  main .method-body h3{font-size:15px}
}

/* Cartografia: detailed location card replaces the title-only balloon. */
#map .atlas-raster-popup{transform:none;box-sizing:border-box;width:min(365px,calc(100% - 16px));max-height:min(340px,65%);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:16px 30px 16px 16px;border-radius:4px;font:13px/1.4 Roboto,Arial,sans-serif;color:var(--ink);cursor:auto}
#map .atlas-raster-popup h3{font:400 17px/1.25 'Merriweather',Georgia,serif;color:var(--wine);margin:0 0 12px}
#map .atlas-raster-popup h4{font-size:13px;margin:12px 0 5px}
#map .atlas-raster-popup p{font-size:13px;margin:0 0 9px;line-height:1.4}
#map .atlas-raster-popup .map-history,#map .atlas-raster-popup .map-events{font-size:13px;line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere}
#map .atlas-raster-popup .map-events{padding-left:17px}
#map .atlas-raster-popup .map-source{font-size:12px;color:var(--ink);font-style:normal}
#map .atlas-raster-popup .atlas-popup-close{position:sticky;float:right;top:0;right:0;margin:-8px -22px 0 6px;background:#fff;border:0;font-size:22px;line-height:1;cursor:pointer;z-index:1}
@media(max-width:600px){#map .atlas-raster-popup{width:min(330px,calc(100% - 16px));max-height:60%}}

/* Cartografia: metadados e contexto biográfico na mesma ficha do marcador. */
#map .map-location-meta,#mapSide .map-location-meta{font-size:12px;line-height:1.4;color:#666;margin:0 0 10px;overflow-wrap:anywhere}
#map .map-biographies li,#mapSide .map-biographies li{margin-bottom:8px;overflow-wrap:anywhere}
#map .map-biographies p,#mapSide .map-biographies p{margin:5px 0;line-height:1.4}
#map .map-biographies details summary,#mapSide .map-biographies details summary{font-size:12px;cursor:pointer;color:var(--wine);margin:4px 0}

/* Justificar somente a prosa de apresentação e explicação das abas. */
main .page > p:not(.auxiliary):not(.subtle-note),
main .page .section-intro,
main .page .method-body p,
main #sobre .research-card > p {
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
}
