.atlas-page{background:#fff;color:#111}.atlas-page .site-header{background:rgba(255,255,255,.97)}.atlas-main{padding:9rem var(--page-pad) 5rem;min-height:100svh}.atlas-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.4rem}.atlas-heading p,.atlas-directory-top,.atlas-legend,.atlas-credit{font-size:.72rem;letter-spacing:.035em}.atlas-heading p{margin:0 0 .35rem}.atlas-heading h1{font-size:clamp(2.2rem,5vw,5rem);font-weight:400;line-height:1;margin:0}.atlas-text-button{font:inherit;border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;padding:.25rem 0;white-space:nowrap}.atlas-stage{position:relative;height:min(73svh,760px);min-height:420px;background:#fff;border-top:1px solid #111;border-bottom:1px solid #111;overflow:hidden}#atlas-map{width:100%;height:100%;touch-action:none}.atlas-stage canvas{filter:none}.atlas-map-controls{position:absolute;right:1rem;top:1rem;display:grid;gap:.3rem}.atlas-map-controls button{background:#fff;border:1px solid #111;width:36px;height:36px;cursor:pointer;font:1.2rem "Times New Roman",serif}.atlas-legend{position:absolute;left:1rem;bottom:1rem;background:#fff;padding:.35rem .5rem;display:flex;align-items:center;gap:.5rem}.atlas-dot{display:inline-block;width:8px;height:8px;background:#bd261c;border-radius:50%}.atlas-credit{position:absolute;right:1rem;bottom:1rem;background:#fff;padding:.35rem .5rem}.atlas-credit a{color:inherit}.atlas-tooltip{position:absolute;pointer-events:none;z-index:3;max-width:240px;padding:.65rem .75rem;background:#fff;border:1px solid #111;font: .85rem/1.35 "Times New Roman",serif;box-shadow:2px 2px 0 #111}.atlas-tooltip strong{font-weight:normal;font-size:1.02rem}.atlas-directory{padding-top:3rem}.atlas-directory-top{display:flex;justify-content:space-between;padding-bottom:1rem;border-bottom:1px solid #111}#atlas-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 3rem}.atlas-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:baseline;width:100%;padding:.8rem 0;border:0;border-bottom:1px solid #ddd;background:transparent;text-align:left;color:#111;cursor:pointer;font:inherit}.atlas-list-item:hover,.atlas-list-item:focus-visible{background:#fff6bf}.atlas-list-item small{color:#555}.atlas-dialog{border:1px solid #111;max-width:min(95vw,510px);width:100%;padding:1.4rem;background:#fff;color:#111;font-family:"Times New Roman",serif}.atlas-dialog::backdrop{background:rgba(0,0,0,.45)}.atlas-dialog-heading{display:flex;justify-content:space-between;align-items:center}.atlas-dialog h2{font-weight:400;font-size:2rem;margin:0}.atlas-dialog-heading button{background:none;border:0;font-size:2rem;cursor:pointer}.atlas-dialog label{display:grid;gap:.35rem;margin-top:.8rem}.atlas-dialog input,.atlas-dialog textarea{width:100%;border:1px solid #999;border-radius:0;background:#fff;color:#111;font:inherit;padding:.55rem}.atlas-coordinate{margin:1rem 0;font-size:.85rem}.atlas-submit{border:1px solid #111;background:#111;color:#fff;padding:.7rem 1rem;cursor:pointer;font:inherit}.atlas-marker{width:12px;height:12px;background:#c62921;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #b52318;cursor:pointer;transition:background .15s,transform .15s}.atlas-marker:hover,.atlas-marker:focus-visible,.atlas-marker.is-selected{background:#f1d829;box-shadow:0 0 0 1px #111;box-shadow:0 0 0 2px #111}.atlas-proposal-pin{width:12px;height:12px;background:#f1d829;border:1px solid black;border-radius:50%;pointer-events:none}@media(max-width:780px){.atlas-main{padding-top:9rem}.atlas-heading{align-items:start;flex-direction:column}.atlas-stage{height:60svh;min-height:350px}.atlas-credit{font-size:.56rem;bottom:2.7rem;right:.5rem}.atlas-legend{left:.5rem;bottom:.5rem}#atlas-list{grid-template-columns:1fr}.atlas-directory-top span:last-child{display:none}.atlas-marker{width:17px;height:17px}.atlas-map-controls{right:.5rem;top:.5rem}}
.atlas-map-status{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);font:.95rem 'Times New Roman',serif;padding:.6rem .9rem;border:1px solid #999;background:#fff;pointer-events:none}.atlas-map-status[hidden]{display:none}

/* Circular, screen-sized markers. MapLibre controls their outer CSS transforms. */
.atlas-marker,.atlas-proposal-pin{
  display:block;box-sizing:border-box!important;
  aspect-ratio:1/1;width:13px!important;height:13px!important;min-width:13px;
  padding:0!important;margin:0!important;border-radius:50%!important;
  flex:none;line-height:0;appearance:none;-webkit-appearance:none;
}
.atlas-marker{border:2px solid #fff!important;background:#ce231a;box-shadow:0 0 0 1px #ce231a;}
.atlas-marker:hover,.atlas-marker:focus-visible,.atlas-marker.is-selected{
  background:#f3d32b!important;box-shadow:0 0 0 2px #111!important;
}
.atlas-proposal-pin{background:#f3d32b!important;border:1px solid #111!important;}
.atlas-stage .maplibregl-ctrl-attrib{font:10px "Times New Roman",serif;background:rgba(255,255,255,.9);color:#111}
.atlas-stage .maplibregl-ctrl-attrib a{color:#111}
.atlas-stage .maplibregl-ctrl-bottom-right{bottom:3rem}
@media(max-width:780px){.atlas-marker{width:17px!important;height:17px!important;min-width:17px}}

/* Atlas: header spacing, responsive map controls and taxonomy */
.atlas-page .atlas-main{padding-top:clamp(5.5rem,9vh,7.5rem)}
.atlas-page .atlas-heading{margin-bottom:1.25rem}
.atlas-map-controls button{display:grid;place-items:center;line-height:1}
.atlas-map-controls svg{display:block;pointer-events:none}
.atlas-filters{margin-bottom:2rem}
.atlas-filters-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .65rem;font-size:.72rem;letter-spacing:.04em}
.atlas-filter-options{display:flex;flex-wrap:wrap;gap:.38rem;margin-bottom:1.35rem}
.atlas-filter-chip{font: .85rem "Times New Roman",Times,serif;border:1px solid #999;background:#fff;color:#111;padding:.36rem .64rem;cursor:pointer;transition:background .15s,color .15s}
.atlas-filter-chip:hover,.atlas-filter-chip:focus-visible{background:#f3d32b;color:#111;border-color:#111}
.atlas-filter-chip.is-active{background:#111;color:#fff;border-color:#111}
.atlas-filter-chip.is-active:hover{background:#333;color:#fff}
.atlas-filters-search{display:flex;align-items:center;gap:1rem;padding:0 0 1.4rem;border-bottom:1px solid #111}
.atlas-filters-search label,.atlas-filters-search span{font-size:.72rem;white-space:nowrap;letter-spacing:.03em}
.atlas-filters-search input{min-width:0;flex:1;border:0;border-bottom:1px solid #999;border-radius:0;padding:.45rem 0;background:#fff;color:#111;font:1rem "Times New Roman",Times,serif;outline-offset:3px}
.atlas-list-item{grid-template-columns:minmax(0,1fr) auto auto}
.atlas-entry-type{font-size:.78rem;color:#555}
.atlas-no-results{padding:2rem 0;color:#555}
.atlas-page .site-header{z-index:20}
@media(max-width:780px){
 .atlas-page .atlas-main{padding-top:6.5rem}
 .atlas-filter-options{gap:.32rem}
 .atlas-filter-chip{font-size:.8rem;padding:.45rem .55rem;min-height:36px}
 .atlas-filters-search{display:grid;grid-template-columns:1fr auto;gap:.65rem}
 .atlas-filters-search label{grid-column:1 / -1}
 .atlas-list-item{grid-template-columns:minmax(0,1fr) auto}
 .atlas-list-item .atlas-entry-type{grid-column:1 / -1;grid-row:2}
 .atlas-list-item small{grid-column:2;grid-row:1}
}
.atlas-detail-tags{display:flex;gap:.6rem;flex-wrap:wrap}.atlas-detail-tag{font-size:.87rem;color:#111;text-decoration:underline;text-underline-offset:.2rem}

/* MapLibre's .maplibregl-marker must retain position:absolute and JS transforms.
   Overriding with position:relative shifts coordinates when zooming and panning. */



.atlas-editor-entry{font-size:.75rem;letter-spacing:.05em;margin:0 0 1.2rem}.atlas-editor-entry a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor}.atlas-editor-entry a:hover{background:#f3d32b}

/* Proposals are composed in the visitor's mail app: no server-side form. */
.atlas-dialog select{width:100%;padding:.55rem;border:1px solid #999;background:#fff;color:#111;border-radius:0;font:inherit}
.atlas-proposal-actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin:1rem 0 .6rem}
.atlas-copy-proposal{font:inherit;background:#fff;color:#111;border:1px solid #111;padding:.7rem 1rem;cursor:pointer}
.atlas-copy-proposal:hover,.atlas-copy-proposal:focus-visible{background:#f3d32b}
.atlas-proposal-status{min-height:2.2em;font-size:.85rem;line-height:1.3}
@media(max-width:780px){.atlas-proposal-actions button{min-height:44px}}

/* Atlas markers: restrained white hairline for visibility on the dark map. */
.atlas-page .atlas-marker{
 width:12px!important;height:12px!important;min-width:12px!important;
 border:1px solid #fff!important;border-radius:50%!important;background:#ce231a!important;
 box-shadow:none!important;outline:0;cursor:pointer;
}
.atlas-page .atlas-marker:hover,.atlas-page .atlas-marker.is-selected{
 background:#f3d32b!important;border:1px solid #fff!important;box-shadow:none!important;
}
.atlas-page .atlas-marker:focus-visible{
 background:#f3d32b!important;outline:2px solid #111;outline-offset:3px;
}
.atlas-page .atlas-tooltip{
 width:min(275px,calc(100% - 16px));max-width:275px;
 padding:0;background:#fff;border:0;box-shadow:0 2px 16px rgba(0,0,0,.17);
 overflow:hidden;z-index:6;font-family:"Times New Roman",Times,serif;
}
.atlas-tooltip-photo-frame{position:relative;height:155px;width:100%;background:#efefef;overflow:hidden;display:grid;place-items:center}
.atlas-tooltip-photo{display:block;width:100%;height:100%;object-fit:cover;position:relative;z-index:2}
.atlas-tooltip-photo-message{position:absolute;inset:0;display:grid;place-items:center;padding:1rem;font-size:.78rem;color:#555;text-align:center;z-index:1}
.atlas-tooltip-photo-frame.is-unavailable{background:#f4f4f4}
.atlas-tooltip-photo-empty{display:grid;place-items:center;min-height:90px;padding:1rem;background:#eee;color:#555;font-size:.8rem;text-align:center}
.atlas-tooltip-info{padding:.75rem .85rem;line-height:1.35;}
.atlas-tooltip-info strong{display:block;font-weight:normal;font-size:1.12rem;margin-bottom:.25rem;}
@media(max-width:780px){.atlas-page .atlas-marker{width:15px!important;height:15px!important;min-width:15px!important}}

/* Map control icons inherit ARTIFICE black instead of Safari's blue button tint. */
.atlas-map-controls button{
 color:#111;-webkit-appearance:none;appearance:none;
 border-radius:0;-webkit-tap-highlight-color:transparent;
}
.atlas-map-controls button svg{color:inherit;stroke:currentColor}

/* Full-viewport cartographic Atlas: keep the existing site header and archive. */
.atlas-page{overflow:hidden}
.atlas-page .atlas-main{position:relative;padding:0!important;height:100svh;min-height:0;overflow:hidden}
.atlas-page .atlas-heading{position:absolute;top:calc(5.5rem + 12px);left:var(--page-pad);z-index:7;margin:0;pointer-events:none;max-width:calc(100% - 2*var(--page-pad))}
.atlas-page .atlas-heading p{display:none}
.atlas-page .atlas-heading h1{font-size:clamp(1.2rem,2.2vw,2rem);background:#fff;padding:.2rem .4rem}
.atlas-page #propose-button{pointer-events:auto;background:#fff;margin-left:1rem}
.atlas-page .atlas-stage{position:absolute;inset:0;width:100%;height:100%!important;min-height:0;border:0;overflow:hidden}
.atlas-page .atlas-map-controls{top:calc(6rem + 1rem);right:1rem;z-index:5}
.atlas-page .atlas-legend{left:auto;right:1rem;bottom:2rem;z-index:5}
.atlas-page .atlas-credit{bottom:.25rem;right:1rem;z-index:5}
.atlas-page .atlas-sidebar-toggle{position:absolute;left:0;top:48%;z-index:11;background:#fff;color:#111;border:1px solid #111;border-left:0;padding:.8rem .45rem;font:12px "Times New Roman",serif;writing-mode:vertical-rl;cursor:pointer}
.atlas-page .atlas-directory{position:absolute;top:0;bottom:0;left:0;z-index:10;width:min(390px,88vw);padding:calc(6rem + 1rem) 1.25rem 2rem;background:#fff;border-right:1px solid #111;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-101%);transition:transform .23s ease;box-sizing:border-box}
.atlas-page .atlas-directory.is-open{transform:translateX(0)}
.atlas-page .atlas-sidebar-close{position:absolute;right:1rem;top:6rem;border:0;background:transparent;font:2rem "Times New Roman",serif;cursor:pointer}
.atlas-page .atlas-filters{margin-bottom:1.2rem}
.atlas-page .atlas-filter-options{gap:.3rem;margin-bottom:1rem}
.atlas-page .atlas-filter-chip{font-size:.78rem;padding:.3rem .45rem}
.atlas-page .atlas-filters-search{display:block}
.atlas-page .atlas-filters-search input{display:block;width:100%;margin:.5rem 0}
.atlas-page .atlas-directory-top{font-size:.7rem}
.atlas-page .atlas-directory-top span:last-child{display:none}
.atlas-page #atlas-list{display:block}
.atlas-page .atlas-list-item{display:flex;flex-wrap:wrap;gap:.25rem .5rem;font-size:.85rem}
.atlas-page .atlas-list-item>span:first-child{width:100%}
.atlas-page .atlas-tooltip{border:1px solid #111;box-shadow:none}
@media(hover:hover) and (pointer:fine){.atlas-page .atlas-sidebar-toggle:hover + .atlas-directory,.atlas-page .atlas-directory:hover{transform:translateX(0)}}
@media(max-width:780px){.atlas-page .atlas-heading{top:5.5rem;left:.5rem;right:.5rem}.atlas-page .atlas-heading h1{font-size:1.15rem}.atlas-page #propose-button{font-size:.8rem;margin-left:.5rem}.atlas-page .atlas-map-controls{top:9rem}.atlas-page .atlas-directory{padding-top:6.5rem}.atlas-page .atlas-sidebar-close{top:5.7rem}.atlas-page .atlas-sidebar-toggle{top:50%;padding:.7rem .35rem}.atlas-page .atlas-credit{bottom:.15rem}.atlas-page .atlas-legend{bottom:1.8rem}}
@media(prefers-reduced-motion:reduce){.atlas-page .atlas-directory{transition:none}}

/* Country hover identification, unobtrusive bottom-right */
.atlas-page .atlas-country-name{position:absolute;right:1rem;bottom:5.3rem;z-index:6;font:1.15rem "Times New Roman",serif;color:#111;background:#fff;padding:0 .2rem;pointer-events:none}
.atlas-page .atlas-country-name:empty{display:none}

/* Per-pixel inversion: difference blending makes glyphs white on black and black on white. */
.atlas-page .atlas-heading h1,
.atlas-page #propose-button,
.atlas-page .atlas-country-name{
  background:transparent!important;
  color:#fff!important;
  mix-blend-mode:difference;
  box-shadow:none!important;
}
.atlas-page .atlas-heading h1{padding:.2rem .4rem}
.atlas-page #propose-button{border-color:currentColor}
.atlas-page .atlas-country-name{padding:0 .2rem}

/* Atlas text blends against map pixels rather than the opaque heading overlay. */
.atlas-page .atlas-heading{isolation:auto!important;mix-blend-mode:difference!important;color:#fff!important}
.atlas-page .atlas-heading h1,.atlas-page #propose-button{mix-blend-mode:normal!important;color:#fff!important;background:transparent!important;text-shadow:none!important}
.atlas-page .atlas-heading>div{background:transparent!important}
.atlas-page .atlas-heading{background:transparent!important}

/* Continuous full-screen atlas: navigation floats over the map, without a white strip. */
body.atlas-page{margin:0;overflow:hidden;background:#fff}
body.atlas-page .atlas-main{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;padding:0!important;overflow:hidden}
body.atlas-page .atlas-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border:0!important}
body.atlas-page .site-header{background:transparent!important;border:0!important;box-shadow:none!important;z-index:50}
body.atlas-page .site-header::before,body.atlas-page .site-header::after{background:transparent!important;box-shadow:none!important}
body.atlas-page .site-header .wordmark,body.atlas-page .site-header nav,body.atlas-page .site-header nav a{background:transparent!important}
body.atlas-page .site-header .wordmark,body.atlas-page .site-header nav a{color:#fff!important;mix-blend-mode:difference!important;text-shadow:none!important}
body.atlas-page .site-header nav{isolation:auto!important}
body.atlas-page .atlas-legend{background:transparent!important;color:#fff!important;mix-blend-mode:difference!important;right:1rem!important;bottom:2.1rem!important;padding:0!important}
body.atlas-page .atlas-legend .atlas-dot{mix-blend-mode:normal}
body.atlas-page .atlas-country-name{background:transparent!important}
body.atlas-page .maplibregl-ctrl-bottom-right{bottom:0;right:0;z-index:4}
body.atlas-page .maplibregl-ctrl-attrib{background:transparent!important;font:10px "Times New Roman",serif!important}
body.atlas-page .maplibregl-ctrl-attrib.maplibregl-compact{min-height:20px}
body.atlas-page .atlas-map-controls{z-index:5}

/* Align Atlas title, proposal and map controls on a single compact row below the wordmark. */
@media(min-width:781px){
 body.atlas-page .atlas-heading{top:5.3rem!important;left:var(--page-pad);right:auto;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:2.2rem!important;max-width:calc(100vw - 220px)!important}
 body.atlas-page .atlas-heading h1{padding:0!important;margin:0!important;line-height:1.15!important}
 body.atlas-page #propose-button{margin:0!important;padding:.1rem 0!important;align-self:center!important}
 body.atlas-page .atlas-map-controls{top:5.25rem!important;right:1rem!important}
}
@media(max-width:780px){
 body.atlas-page .atlas-heading{top:5.2rem!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:.8rem!important;max-width:calc(100% - 4.5rem)!important}
 body.atlas-page .atlas-heading h1{font-size:clamp(.95rem,3.6vw,1.25rem)!important;padding:0!important;line-height:1.1!important}
 body.atlas-page #propose-button{font-size:clamp(.65rem,2.4vw,.8rem)!important;margin:0!important;padding:.1rem 0!important}
 body.atlas-page .atlas-map-controls{top:5.15rem!important;right:.5rem!important}
}

/* Apply pixel-accurate inversion to the WHOLE transparent header, including radio. */
body.atlas-page .site-header{mix-blend-mode:difference!important;isolation:auto!important;color:#fff!important;background:transparent!important}
body.atlas-page .site-header .wordmark,body.atlas-page .site-header .wordmark *,body.atlas-page .site-header nav,body.atlas-page .site-header nav a,body.atlas-page .site-header .radio-dock,body.atlas-page .site-header .radio-dock *,body.atlas-page .site-header .radio-dock-button{mix-blend-mode:normal!important;color:#fff!important;background:transparent!important;text-shadow:none!important}
body.atlas-page .site-header .radio-control-icon{stroke:currentColor!important}

/* Keep the indexed-places marker red: blend only the legend text, never the dot. */
body.atlas-page .atlas-legend{mix-blend-mode:normal!important;color:#fff!important}
body.atlas-page .atlas-legend .atlas-dot{background:#bd261c!important;mix-blend-mode:normal!important;isolation:isolate!important;flex-shrink:0}
body.atlas-page .atlas-legend{isolation:auto}
body.atlas-page .atlas-legend{color:#111!important}

/* Bring Atlas title and proposal closer to the wordmark without overlapping it. */
@media(min-width:781px){body.atlas-page .atlas-heading{top:3.9rem!important}body.atlas-page .atlas-map-controls{top:3.85rem!important}}
@media(max-width:780px){body.atlas-page .atlas-heading{top:4.35rem!important}body.atlas-page .atlas-map-controls{top:4.3rem!important}}

/* Index first; secondary research filters remain accessible below. */
body.atlas-page .atlas-directory-top{margin-bottom:.65rem}
body.atlas-page #atlas-list{margin-bottom:2rem}
body.atlas-page .atlas-filters{border-top:1px solid #111;padding-top:1.25rem}
body.atlas-page .atlas-entry-metadata{display:flex;flex-direction:column;gap:.15rem;width:100%;font-size:.73rem;line-height:1.3;color:#666}
body.atlas-page .atlas-list-item{align-items:start}
/* Per-pixel inverse for legend lettering only; red marker never blends. */
body.atlas-page .atlas-legend{mix-blend-mode:normal!important;color:inherit!important;isolation:auto!important}
body.atlas-page .atlas-legend .atlas-legend-text{color:#fff!important;mix-blend-mode:difference!important;background:transparent!important}
body.atlas-page .atlas-legend .atlas-dot{background:#bd261c!important;mix-blend-mode:normal!important}

.atlas-page .atlas-continent-heading{font:normal 1.15rem "Times New Roman",serif;margin:1.4rem 0 .65rem}
.atlas-page .atlas-continent-group{display:flex;flex-direction:column;gap:.15rem}
