:root{color-scheme:dark;--bg:#111411;--panel:#181c18;--panel-2:#1e241d;--ink:#f0eadb;--muted:#a9aa98;--dim:#6d7468;--line:#30382e;--amber:#e1bd6f;--green:#89c98d;--neutral:#8d9a87;--other:#bc8278;--danger:#d77969;font-family:Karla,ui-sans-serif,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.45}button{font:inherit;color:inherit;cursor:pointer}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:"Bricolage Grotesque",sans-serif;letter-spacing:-.055em}button:disabled{cursor:wait;opacity:.58}.hidden{display:none!important}.app-shell{min-height:100vh}.account-screen{min-height:100vh;max-width:1260px;margin:auto;padding:clamp(32px,8vw,110px) clamp(24px,7vw,100px);display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(40px,10vw,160px);align-items:center}.brand-mark{display:flex;align-items:baseline;gap:9px;font-family:"Bricolage Grotesque",sans-serif;margin-bottom:clamp(70px,12vh,150px)}.brand-mark span{font-size:30px;letter-spacing:-.11em;color:var(--amber)}.brand-mark small{font:700 10px Karla,sans-serif;letter-spacing:.18em;color:var(--muted)}.kicker{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--dim)}.account-intro h1{font-size:clamp(58px,8vw,112px);line-height:.85;margin-top:17px}.account-intro h1 em{font-style:normal;color:var(--amber)}.intro-copy{max-width:42ch;color:var(--muted);font-size:17px;margin-top:30px}.account-picker{border-top:1px solid var(--line);padding-top:15px}.picker-heading{display:flex;justify-content:space-between;color:var(--dim);font-size:10px;font-weight:700;letter-spacing:.15em;margin-bottom:14px}.account-list{display:grid;gap:9px}.account-card{position:relative;display:flex;align-items:center;gap:14px;width:100%;border:1px solid var(--line);background:var(--panel);padding:16px;text-align:left;transition:border-color .18s,background .18s}.account-card:hover{border-color:var(--amber);background:var(--panel-2)}.account-avatar{display:grid;place-items:center;width:38px;height:38px;background:var(--amber);color:#202018;font-family:"Bricolage Grotesque";font-weight:700}.account-meta{display:grid;gap:3px}.account-meta strong{font-size:15px}.account-meta small,.account-warning{font:12px ui-monospace,monospace;color:var(--muted)}.account-arrow{margin-left:auto;color:var(--amber);font-size:20px}.account-warning{position:absolute;right:16px;bottom:5px;color:var(--danger);font-size:10px}.local-note{display:flex;align-items:center;gap:8px;color:var(--dim);font-size:12px;margin-top:30px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--dim)}.status-dot.live{background:var(--green);box-shadow:0 0 0 4px rgba(137,201,141,.12)}.error-text{color:var(--danger);font-size:12px;margin-top:14px}.map-screen{min-height:100dvh;display:grid;grid-template-rows:70px 1fr}.map-header{display:flex;align-items:center;gap:34px;padding:0 clamp(20px,3vw,48px);border-bottom:1px solid var(--line)}.brand-mark.compact{margin:0}.brand-mark.compact span{font-size:23px}.world-status{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.world-status b{color:var(--ink);font-family:"Bricolage Grotesque";font-size:18px;margin-left:13px}.header-actions{display:flex;align-items:center;gap:16px;margin-left:auto}.account-label{font:11px ui-monospace,monospace;color:var(--muted)}.icon-button,.text-button,.secondary-button{border:1px solid var(--line);background:transparent;padding:7px 11px}.icon-button{font-size:20px;color:var(--amber);line-height:1}.text-button{font-size:12px;color:var(--muted)}.text-button:hover,.icon-button:hover{border-color:var(--amber);color:var(--ink)}.map-layout{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 330px}.map-panel{min-width:0;display:grid;grid-template-rows:auto 1fr auto;padding:clamp(20px,3vw,42px) clamp(20px,3vw,48px) 18px}.map-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:24px}.map-toolbar h2{font-size:clamp(32px,4vw,54px);line-height:.9;margin-top:7px}.map-legend{display:flex;gap:17px;color:var(--muted);font-size:11px}.map-legend span{display:flex;align-items:center;gap:6px}.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.legend-dot.own{background:var(--amber)}.legend-dot.neutral{background:var(--neutral)}.legend-dot.other{background:var(--other)}.map-stage{position:relative;min-height:520px;border:1px solid var(--line);background:#151a15;overflow:hidden}.map-stage:before,.map-stage:after{content:"";position:absolute;background:rgba(225,189,111,.15);pointer-events:none}.map-stage:before{left:50%;top:0;bottom:0;width:1px}.map-stage:after{top:50%;left:0;right:0;height:1px}.map-stage svg{width:100%;height:100%;display:block;position:relative;z-index:1}.map-message{position:absolute;z-index:3;inset:0;display:grid;place-content:center;justify-items:center;gap:7px;background:rgba(17,20,17,.86);color:var(--muted);font-size:13px}.map-message strong{font-family:"Bricolage Grotesque";font-size:19px;color:var(--ink)}.spinner{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--amber);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.secondary-button{margin-top:12px;color:var(--amber);font-size:12px}.map-footer{display:flex;justify-content:space-between;color:var(--dim);font:10px ui-monospace,monospace;padding-top:12px}.city-marker{cursor:pointer;outline:none}.city-marker .marker-halo{fill:transparent;stroke-width:.18}.city-marker .marker-core{stroke:#151a15;stroke-width:.24}.city-marker text{font:700 1.15px Karla,sans-serif;fill:var(--ink);pointer-events:none}.city-marker.own .marker-core{fill:var(--amber)}.city-marker.own .marker-halo{stroke:var(--amber)}.city-marker.neutral .marker-core{fill:var(--neutral)}.city-marker.neutral .marker-halo{stroke:var(--neutral)}.city-marker.other .marker-core{fill:var(--other)}.city-marker.other .marker-halo{stroke:var(--other)}.city-marker:hover .marker-halo,.city-marker.selected .marker-halo{stroke-width:.4;fill:rgba(225,189,111,.16)}.city-panel{border-left:1px solid var(--line);background:var(--panel);padding:28px;display:flex;flex-direction:column;min-height:0}.panel-topline{display:flex;justify-content:space-between;align-items:center}.state-pill{font-size:9px;letter-spacing:.11em;color:var(--dim);border:1px solid var(--line);padding:4px 7px}.city-empty{margin:auto 0;display:grid;justify-items:start;gap:12px;color:var(--muted)}.city-glyph{font-size:38px;color:var(--amber);line-height:1}.city-empty h3{font-size:26px;color:var(--ink)}.city-empty p{max-width:24ch;font-size:13px}.city-title{display:flex;align-items:center;gap:13px;margin-top:58px}.city-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--amber);color:#202018;font-size:24px}.city-title h3{font-size:28px;line-height:1}.mono{font:11px ui-monospace,monospace;color:var(--muted)}.city-title .mono{display:block;margin-top:5px}.city-level{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--line);padding:28px 0 18px}.city-level span,.detail-list dt{font-size:10px;letter-spacing:.13em;color:var(--dim);font-weight:700}.city-level strong{font:700 45px/1 "Bricolage Grotesque";color:var(--amber)}.detail-list{margin:0}.detail-list div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}.detail-list dd{margin:0;text-align:right;color:var(--ink);font-size:13px;overflow-wrap:anywhere}.owner-detail{margin-top:24px;border-top:1px solid var(--line);padding-top:14px}.owner-detail pre{max-height:180px;overflow:auto;white-space:pre-wrap;color:var(--muted);font:10px/1.5 ui-monospace,monospace}.panel-foot{margin-top:auto;padding-top:20px;color:var(--dim);font-size:11px;display:flex;align-items:center;gap:8px}.toast{position:fixed;right:22px;bottom:22px;background:var(--amber);color:#202018;padding:11px 15px;font-weight:700;font-size:13px;transform:translateY(20px);opacity:0;pointer-events:none;transition:.22s}.toast.show{transform:translateY(0);opacity:1}@media(max-width:900px){.account-screen{grid-template-columns:1fr;align-content:center}.brand-mark{margin-bottom:60px}.map-layout{grid-template-columns:1fr}.city-panel{border-left:0;border-top:1px solid var(--line);min-height:360px}.city-empty{margin:35px 0}.map-stage{min-height:430px}}@media(max-width:600px){.map-header{gap:15px;padding:0 16px}.brand-mark.compact small,.world-status span:not(.status-dot),.account-label{display:none}.header-actions{gap:7px}.map-panel{padding:20px 14px}.map-toolbar{display:block}.map-legend{margin-top:18px;flex-wrap:wrap}.map-stage{min-height:360px}.city-panel{padding:22px}.account-screen{padding:32px 22px}.account-intro h1{font-size:62px}}
.map-tools{display:grid;justify-items:end;gap:12px}.zoom-controls{display:flex;align-items:center;gap:6px}.zoom-controls .icon-button{width:30px;height:28px;padding:0}.zoom-controls .text-button{padding:5px 9px}.legend-line{width:14px;height:0;border-top:1px solid var(--amber);display:inline-block;opacity:.8}.map-stage canvas{width:100%;height:100%;display:block;position:relative;z-index:1;cursor:grab;touch-action:none}.map-stage canvas.dragging{cursor:grabbing}.map-footer{display:grid;grid-template-columns:1fr auto auto;gap:14px}
@media(max-width:600px){.map-tools{justify-items:start;margin-top:18px}.map-legend{justify-content:flex-start}.map-footer{grid-template-columns:1fr;gap:5px}}

/* Mobile atlas: the map owns the viewport; intel starts as a compact sheet. */
.map-screen{height:100dvh;overflow:hidden;grid-template-rows:70px minmax(0,1fr)}.map-layout{height:auto;min-height:0}.map-panel{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto auto}.map-stage{min-height:0}
@media(max-width:720px){body{overflow:hidden}.map-screen{height:100dvh;overflow:hidden;grid-template-rows:107px minmax(0,1fr)}.map-layout{height:auto;min-height:0}.map-panel{height:100%;padding:8px 12px 4px;overflow:hidden}.map-stage{height:100%;min-height:0}.atlas-intel-panel{height:42vh;max-height:42vh;transform:translateY(0);transition:transform .2s ease;overflow:auto}.atlas-intel-panel.sheet-peek{transform:translateY(calc(100% - 78px));overflow:hidden}.atlas-intel-panel:before{content:"";display:block;width:42px;height:4px;background:#71857c;border-radius:99px;margin:8px auto 4px;opacity:.8}}

/* Cartographic canvas: deep water and a quiet atlas frame behind the terrain. */
.map-stage{border-color:rgba(139,171,157,.24);background:#0e2028;box-shadow:inset 0 0 0 1px rgba(0,0,0,.55)}
.map-stage:before,.map-stage:after{background:rgba(205,210,171,.09)}
.map-message{background:rgba(7,19,24,.86)}
.legend-terrain{width:14px;height:8px;display:inline-block;background:linear-gradient(90deg,#26483c,#a99562);opacity:.9}.terrain-status{color:var(--dim)}.terrain-status.available{color:var(--green)}
.map-footer{grid-template-columns:1fr auto auto auto}
@media(max-width:600px){.map-footer{grid-template-columns:1fr}}

/* The canvas already supplies the map reference frame. Crosshair lines over
   terrain read as unexplained map artifacts, especially at deep zoom. */
.map-stage:before,.map-stage:after{display:none}

.toolbar-copy{color:var(--muted);font-size:13px;margin-top:12px;max-width:42ch}.analysis-picker{display:flex;align-items:center;gap:8px;justify-content:flex-end}.analysis-picker label{font-size:10px;font-weight:700;letter-spacing:.15em;color:var(--dim)}.analysis-picker select{appearance:none;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:8px 30px 8px 10px;font-size:12px;font-weight:700;background-image:linear-gradient(45deg,transparent 50%,var(--amber) 50%),linear-gradient(135deg,var(--amber) 50%,transparent 50%);background-position:calc(100% - 13px) 12px,calc(100% - 9px) 12px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}.analysis-picker select:focus{outline:1px solid var(--amber);outline-offset:2px}.map-tools{min-width:min(100%,620px)}.map-legend{min-height:18px;justify-content:flex-end;flex-wrap:wrap}.map-legend .legend-dot{flex:none}.city-panel .city-title{margin-top:44px}.city-panel .owner-detail{background:rgba(9,21,27,.2);padding:14px}.city-panel .owner-detail pre{margin:8px 0 0}.state-pill{white-space:nowrap}.city-panel dd{max-width:190px}.island-details .detail-list{margin-top:4px}
.entity-link{color:var(--amber);cursor:pointer;text-decoration:underline;text-decoration-color:rgba(212,174,98,.38);text-underline-offset:3px}.entity-link:focus-visible{outline:1px solid var(--amber);outline-offset:3px}.entity-profile-detail pre{max-height:280px;overflow:auto;white-space:pre-wrap;line-height:1.55}
.entity-profile-detail #entity-profile-link{display:inline-block;margin-top:12px;color:var(--amber);font-size:11px;text-decoration:none;border:1px solid rgba(212,174,98,.45);padding:8px 10px}.entity-profile-detail #entity-profile-link:hover,.entity-profile-detail #entity-profile-link:focus-visible{border-color:var(--amber);background:rgba(212,174,98,.08);outline:2px solid var(--amber);outline-offset:2px}
/* Strategic World Atlas shell */
.atlas-command-bar{grid-template-columns:auto minmax(150px,.7fr) minmax(230px,1.25fr) auto auto;align-items:center;gap:18px;position:relative}.scope-context{display:grid;gap:2px}.scope-context strong{font:700 15px 'Bricolage Grotesque',sans-serif;letter-spacing:.04em}.scope-context span:last-child{color:var(--muted,#8ea39a);font-size:11px}.eyebrow,.header-search label{font-size:9px;letter-spacing:.14em;color:#93aa9e}.header-search{position:relative;display:grid;gap:4px}.header-search input{width:100%;min-height:34px;background:#09191f;border:1px solid rgba(159,183,164,.28);border-radius:5px;color:#f1ecd9;padding:8px 11px;font:600 13px Karla,sans-serif}.search-results{position:absolute;top:58px;left:0;right:0;background:#10262b;border:1px solid rgba(218,201,143,.36);border-radius:5px;z-index:20;box-shadow:0 12px 32px #050e12aa;overflow:hidden}.search-results button{display:grid;grid-template-columns:76px 1fr;gap:2px 8px;width:100%;padding:9px 11px;background:transparent;border:0;border-bottom:1px solid #234047;color:#f1ecd9;text-align:left;cursor:pointer}.search-results button:hover{background:#1b363b}.search-results strong{font-size:13px}.search-results small{grid-column:2;color:#8ea39a}.search-type{text-transform:uppercase;font-size:9px;letter-spacing:.12em;color:#d4ae62;grid-row:1/3}.data-age{font-size:10px;letter-spacing:.1em;color:#8ea39a;white-space:nowrap}.atlas-toolbar{align-items:start}.atlas-toolbar h2{max-width:440px}.timeline{border-top:1px solid rgba(159,183,164,.2);background:#0b1c22;padding:0 15px}.timeline-toggle{width:100%;display:flex;gap:12px;align-items:center;border:0;background:transparent;color:#d4ae62;padding:10px 0;font:700 10px Karla,sans-serif;letter-spacing:.12em;text-align:left;cursor:pointer}.timeline-toggle span{color:#8ea39a;font-weight:500;letter-spacing:0;text-transform:none}.timeline-controls{display:flex;align-items:center;gap:8px;padding:0 0 11px}.timeline.collapsed .timeline-controls{display:none}.timeline-status,#timeline-status{margin-left:auto;color:#8ea39a;font-size:11px}.intel-shortcuts{display:flex;gap:7px;margin-top:18px}.intel-shortcuts span{border:1px solid rgba(159,183,164,.22);border-radius:999px;padding:5px 8px;color:#8ea39a;font-size:10px}.intel-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:15px 0}.intel-metrics span{background:#10252b;border:1px solid rgba(159,183,164,.18);padding:9px;border-radius:4px;display:grid;gap:2px}.intel-metrics b{font:700 18px 'Bricolage Grotesque',sans-serif;color:#e8d49e}.intel-metrics small{font-size:9px;letter-spacing:.1em;color:#8ea39a;text-transform:uppercase}.panel-foot{font-size:10px}.map-panel{min-width:0}@media(max-width:1100px){.atlas-command-bar{grid-template-columns:auto 1fr auto}.scope-context{display:none}.header-search{grid-column:2}.world-status{display:none}}@media(max-width:720px){.atlas-command-bar{grid-template-columns:auto auto;gap:10px;padding:12px}.header-search{grid-column:1/-1;grid-row:2}.map-layout{grid-template-columns:1fr}.atlas-intel-panel{position:fixed;z-index:10;left:0;right:0;bottom:0;max-height:42vh;border-radius:16px 16px 0 0;overflow:auto;box-shadow:0 -12px 32px #050e1288}.map-stage{min-height:0}.map-footer{font-size:9px;gap:8px;overflow:hidden}.map-footer span:nth-child(1),.map-footer span:nth-child(3){display:none}.timeline-controls{overflow:auto}.timeline-controls button{white-space:nowrap}.map-toolbar{padding:14px}.map-tools{gap:8px}.map-legend{max-width:160px}}

/* Final atlas layout: the canvas receives the remaining viewport, while
   controls stay compact and readable at every breakpoint. */
.map-screen{min-height:0}
.map-panel{grid-template-rows:auto minmax(0,1fr) auto auto;padding:16px 32px 10px}
.map-panel{grid-template-columns:minmax(0,1fr)}
.map-toolbar{align-items:center;gap:16px;padding:0 0 12px;min-height:72px}
.atlas-toolbar>div:first-child{min-width:0;flex:1}
.atlas-toolbar h2{font-size:clamp(28px,3vw,42px);line-height:.92;max-width:none;white-space:nowrap}
.toolbar-copy{margin-top:6px;font-size:12px}
.map-tools{min-width:0;flex:0 1 min(470px,42%);display:grid;gap:8px;overflow:hidden}
.analysis-picker{min-width:0}
.analysis-picker select{max-width:100%}
.map-stage{min-height:0}
.map-footer{min-height:28px;padding-top:8px;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;white-space:nowrap}
.timeline{min-height:40px}

@media(max-width:900px){
  .map-layout{grid-template-columns:1fr}
  .atlas-intel-panel{position:fixed;z-index:10;left:0;right:0;bottom:0;height:42vh;max-height:42vh;min-height:0;border:0;border-top:1px solid var(--line);border-radius:16px 16px 0 0;overflow:auto;box-shadow:0 -12px 32px #050e1288}
  .atlas-intel-panel.sheet-peek{transform:translateY(calc(100% - 78px));overflow:hidden}
  .map-panel{padding:12px 20px 8px}
  .map-toolbar{min-height:64px}
  .map-tools{flex-basis:380px}
  .zoom-controls .icon-button,.zoom-controls .text-button{min-width:44px;min-height:44px}
}

@media(max-width:720px){
  .map-panel{padding:8px 12px 4px}
  .map-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px 4px 10px;min-height:0}
  .atlas-toolbar h2{font-size:28px;white-space:normal;max-width:16ch}
  .toolbar-copy,.atlas-toolbar .kicker{display:none}
  .map-tools{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;flex-basis:auto}
  .analysis-picker label{display:none}
  .analysis-picker select{width:100%;min-height:44px}
  .map-legend{grid-column:1;max-width:none;justify-content:flex-start;min-height:18px}
  .zoom-controls{grid-column:2;justify-self:end;align-self:center}
  .map-footer{min-height:20px;padding-top:5px}
  .timeline{min-height:38px}
}

.scope-picker,.world-button{border:1px solid var(--line);background:var(--panel);color:var(--ink);min-height:44px;padding:0 10px;font-size:12px}
.world-button{display:none;color:var(--amber);font-weight:700;letter-spacing:.08em}
.header-search input{min-height:44px}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
@media(max-width:720px){.scope-picker{display:none}.world-button{display:block}.timeline-toggle,.timeline-controls button{min-height:44px}.map-footer{font-size:11px}}
@media(max-width:480px){.map-screen{grid-template-rows:82px minmax(0,1fr)}.map-header{padding:0 10px}.map-panel{padding:4px 8px 2px}.map-toolbar{padding:2px 2px 6px}.map-stage{min-height:0}.atlas-intel-panel{max-height:38vh;height:38vh}.header-search input{min-height:44px}.map-footer{min-height:22px}}
.map-screen{height:100dvh;min-height:0}
.atlas-command-bar{grid-template-columns:auto minmax(150px,.75fr) minmax(150px,.75fr) minmax(230px,1.25fr) auto auto;}
@media(max-width:1100px){.atlas-command-bar{grid-template-columns:auto auto minmax(180px,1fr) auto auto}.scope-context{display:none}.scope-picker{grid-column:2}.header-search{grid-column:3}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.spinner{animation:none}}
#overview-rankings span{font-size:11px}
.scope-picker,.analysis-picker select,.world-button,.map-command-bar button,.map-command-bar select,.map-command-bar input{min-height:44px}
@media(min-width:721px){.scope-picker,.analysis-picker select,.world-button{min-height:34px}}

/* Desktop keeps the map dominant: reclaim the vertical space that the
   command line and shell padding used to consume from the canvas. */
@media(min-width:901px){
  .map-panel{padding-top:8px;padding-bottom:4px}
  .map-toolbar{min-width:0;width:100%;min-height:52px;padding-bottom:4px}
}

/* Scope identity is a first-class navigation axis on desktop. Mobile keeps
   the same choices behind the 44px WORLD button so the map never loses width. */
.scope-selectors{grid-column:3;display:grid;grid-template-columns:repeat(3,minmax(70px,1fr));gap:6px;min-width:0}
.scope-selectors label{display:grid;gap:2px;min-width:0}
.scope-selectors label span,.scope-picker-label{font-size:8px;letter-spacing:.12em;color:#8ea39a;font-weight:700}
.scope-selectors select{width:100%;min-height:34px;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:0 6px;font-size:11px}
.scope-picker-overlay{position:fixed;inset:0;z-index:60;place-items:end center;background:rgba(3,10,13,.72);padding:16px}
.scope-picker-sheet{width:min(100%,420px);background:#13272b;border:1px solid rgba(218,201,143,.45);border-radius:14px;padding:16px;box-shadow:0 -14px 46px #050e12cc}
.scope-picker-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.scope-picker-sheet-head strong{font:700 20px 'Bricolage Grotesque',sans-serif}
.scope-picker-sheet .scope-picker{display:block;width:100%;margin-top:6px}
.map-legend{min-width:0;width:100%;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin}
.map-legend span{flex:0 0 auto}
@media(max-width:1100px){.scope-selectors{grid-column:2}.atlas-command-bar .header-search{grid-column:3}}
@media(max-width:720px){.scope-selectors{display:none}.scope-picker-overlay:not(.hidden){display:grid}.scope-picker-sheet .scope-picker{min-height:44px}.scope-picker-sheet .icon-button{min-width:44px;min-height:44px}.map-legend{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;max-width:100%;padding-bottom:2px}.map-legend span{flex:0 0 auto}}
@media(max-width:900px){.scope-selectors select,.analysis-picker select,.header-search input,.world-button{min-height:44px}.timeline-toggle,.timeline-controls button{min-height:44px}}
.sheet-handle{display:none;border:0;background:transparent;color:#71857c;min-width:44px;min-height:44px;padding:0;margin:-8px auto 0;position:relative;z-index:2}
.sheet-handle:before{content:"";display:block;width:42px;height:4px;margin:auto;background:#71857c;border-radius:99px;opacity:.9}
.sheet-handle:focus-visible{outline:2px solid var(--amber);outline-offset:2px;border-radius:6px}
.legend-item.legend-unknown,.legend-item.legend-ambiguous,.legend-item.legend-contested,.legend-item.legend-mixed,.legend-item.legend-moving,.legend-item.legend-hot{border-bottom:1px dashed currentColor;padding-bottom:2px}
.legend-item.legend-unknown .legend-dot,.legend-item.legend-ambiguous .legend-dot{border:1px dashed var(--ink);background:transparent!important}
@media(max-width:720px){.sheet-handle{display:grid;place-items:center}.atlas-intel-panel:before{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}
@media(max-width:900px){
  .atlas-intel-panel.sheet-peek{transform:translateY(calc(100% - 78px));overflow:hidden}
  .sheet-handle{display:grid;place-items:center}
}
.kicker,.eyebrow,.header-search label,.scope-selectors label span,.scope-picker-label,.analysis-picker label,.state-pill,.data-age,.map-footer,.intel-metrics small,.timeline-toggle{font-size:11px}
.overview-controllers{display:grid;gap:5px;width:min(100%,260px);max-height:190px;overflow:auto}
.overview-controller{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 10px;border:1px solid rgba(159,183,164,.22);background:#10252b;color:var(--ink);text-align:left;border-radius:4px}
.overview-controller:hover,.overview-controller:focus-visible{border-color:var(--amber);background:#17333a}
.overview-controller span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.overview-controller b{flex:none;color:var(--amber);font-size:11px}
.map-panel{grid-template-rows:auto minmax(0,1fr) auto}
:where(.controller-profile-link,.ranking-profile-link,.legend-profile-link,.island-profile-link,#entity-shares a,#owner-detail-text a){color:var(--amber);text-decoration:underline;text-decoration-color:rgba(212,174,98,.38);text-underline-offset:3px}
:where(.controller-profile-link,.ranking-profile-link,.legend-profile-link,.island-profile-link,#entity-shares a,#owner-detail-text a):hover,:where(.controller-profile-link,.ranking-profile-link,.legend-profile-link,.island-profile-link,#entity-shares a,#owner-detail-text a):focus-visible{color:var(--ink);text-decoration-color:var(--amber)}
.map-profile-links{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.map-profile-link{position:absolute;display:flex;align-items:center;justify-content:center;transform:translateX(-50%);pointer-events:auto;overflow:hidden;padding:0 6px;border:1px solid var(--amber);border-radius:3px;background:#09191f;color:#f4eee0;font:700 9px Karla,sans-serif;text-align:center;text-decoration:none;white-space:nowrap;text-overflow:ellipsis}
.map-profile-link:hover,.map-profile-link:focus-visible{z-index:1;background:#17333a;color:var(--ink);outline:2px solid var(--amber);outline-offset:1px}
.map-profile-link.selected{border-color:#f7edcf}
.map-legend a{color:inherit;text-decoration:none}
.map-legend a:hover,.map-legend a:focus-visible{color:var(--amber);text-decoration:underline;text-underline-offset:3px}
.overview-controller>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-controller a{color:var(--ink);text-decoration:none}
.overview-controller a:hover,.overview-controller a:focus-visible{color:var(--amber);text-decoration:underline;text-underline-offset:3px}
.search-results .search-result-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:2px 8px;align-items:center;width:100%;padding:9px 11px;border-bottom:1px solid #234047;color:#f1ecd9}
.search-results .search-result-row:hover{background:#1b363b}
.search-results .search-result-row .search-type{grid-row:1/3;align-self:start}
.search-results .search-result-row strong{grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-results .search-result-row small{grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-results .search-result-name{color:var(--ink);text-decoration:none}
.search-results .search-result-name:hover,.search-results .search-result-name:focus-visible{color:var(--amber);text-decoration:underline;text-underline-offset:3px}
.search-results .search-result-action{grid-column:3;grid-row:1/3;width:auto;min-height:30px;padding:5px 8px;border:1px solid rgba(212,174,98,.45);background:transparent;color:var(--amber);font-size:10px}
.search-results .search-result-action:hover,.search-results .search-result-action:focus-visible{border-color:var(--amber);color:var(--ink)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:root{--dim:#8ea39a}
body{font-size:1rem}
h1,h2,h3{letter-spacing:-.03em}
.map-freshness{margin-top:6px;color:var(--dim);font-size:.75rem;line-height:1.35;max-width:62ch}
.world-status{align-items:baseline;flex-wrap:wrap;row-gap:0}
.world-status small{flex-basis:100%;margin-left:13px;color:var(--dim);font-size:.6875rem}
.data-age{font-size:.75rem}
.map-panel{grid-template-rows:auto minmax(0,1fr) auto auto}
.map-legend{align-items:center;gap:6px 12px;flex-wrap:wrap;overflow:visible;white-space:normal;max-height:48px;scrollbar-width:none}
.map-legend[data-expanded="true"]{max-height:112px;overflow:auto}
.map-legend::-webkit-scrollbar{display:none}
.legend-item{min-height:24px;font-size:.75rem}
.legend-more{min-height:36px;padding:5px 8px;border:1px solid rgba(212,174,98,.45);border-radius:4px;background:transparent;color:var(--amber);font-size:.6875rem;white-space:nowrap}
.legend-more:hover,.legend-more:focus-visible{border-color:var(--amber);background:rgba(212,174,98,.08);color:var(--ink)}
.map-targets{min-width:0;border-top:1px solid var(--line)}
.map-targets summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:6px 0;color:var(--amber);cursor:pointer;font-size:.6875rem;font-weight:700;letter-spacing:.12em;list-style:none}
.map-targets summary::-webkit-details-marker{display:none}
.map-targets summary:after{content:"+";font-size:1.1rem;line-height:1;letter-spacing:0}
.map-targets[open] summary:after{content:"−"}
.map-targets summary small{min-width:0;overflow:hidden;color:var(--dim);font-size:.8125rem;font-weight:500;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}
.map-accessible-objects{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;padding:0 0 8px;max-height:116px;overflow:auto}
.map-target-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:7px 10px;border:1px solid rgba(159,183,164,.22);border-radius:4px;background:#10252b;color:var(--ink);text-align:left}
.map-target-button:hover,.map-target-button:focus-visible,.map-target-button[aria-pressed="true"]{border-color:var(--amber);background:#17333a}
.map-target-button span{min-width:0;overflow:hidden;font-size:.8125rem;text-overflow:ellipsis;white-space:nowrap}
.map-target-button small{flex:none;color:var(--dim);font-size:.6875rem;text-align:right}
.overview-controller{appearance:none;font:inherit;cursor:pointer}
.overview-controller-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;min-width:0}
.overview-controller-row .overview-controller{width:100%}
.controller-profile-link{display:grid;place-items:center;min-width:36px;border:1px solid rgba(159,183,164,.22);border-radius:4px;background:#10252b;color:var(--amber);text-decoration:none;font-size:1rem}
.controller-profile-link:hover,.controller-profile-link:focus-visible{border-color:var(--amber);background:#17333a;color:var(--ink);outline:2px solid var(--amber);outline-offset:2px}
.overview-controller:disabled{cursor:not-allowed;opacity:.58}
.overview-controller[aria-pressed="true"]{border-color:var(--amber);background:#17333a}
.analysis-state{display:grid;gap:10px;margin:auto 0;color:var(--muted)}
.analysis-state strong{font-family:"Bricolage Grotesque",sans-serif;font-size:1.5rem;line-height:1.05;color:var(--ink)}
.analysis-state p{max-width:28ch;font-size:.875rem;line-height:1.5}
.analysis-state .secondary-button{justify-self:start;min-height:44px;margin-top:2px}
.sheet-handle:before{display:none}
.sheet-handle-line{display:block;width:42px;height:4px;border-radius:99px;background:#8ea39a;opacity:.9}
.sheet-handle-label{font-size:.6875rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.search-empty{position:absolute;top:58px;left:0;right:0;z-index:20;padding:12px 11px;border:1px solid rgba(218,201,143,.36);border-radius:5px;background:#10262b;color:var(--dim);font-size:.8125rem;box-shadow:0 12px 32px #050e12aa}
.search-results .search-result-action{min-height:44px;font-size:.75rem}
.kicker,.eyebrow,.header-search label,.scope-selectors label span,.scope-picker-label,.analysis-picker label,.state-pill,.data-age,.map-footer,.intel-metrics small,.timeline-toggle{font-size:.6875rem}
.intel-shortcuts span{font-size:.75rem}
.intel-metrics small,.panel-foot,.map-footer{font-size:.75rem}
.map-profile-link{font-size:.6875rem}
.map-stage canvas:focus-visible{outline:2px solid var(--amber);outline-offset:-3px}
@media(max-width:720px){
  .map-screen{overflow:visible}
  .map-layout{overflow:visible}
  .map-freshness{font-size:.6875rem;max-width:34ch}
  .map-legend{max-height:50px;gap:4px 10px}
  .map-legend[data-expanded="true"]{max-height:108px}
  .map-targets summary{padding-inline:4px}
  .map-accessible-objects{grid-template-columns:1fr;max-height:130px}
  .sheet-handle{display:grid;grid-template-columns:42px auto;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:-8px 0 0;color:var(--dim)}
  .sheet-handle-line{grid-column:1}
  .sheet-handle-label{grid-column:2}
  .world-status small{display:none}
}
@media(max-width:480px){
  .map-targets summary small{font-size:.75rem}
  .analysis-state strong{font-size:1.35rem}
}
@media(max-width:720px){
  .atlas-command-bar{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;width:100%;min-width:0}
  .atlas-command-bar .world-button{grid-column:2;grid-row:1;justify-self:start}
  .atlas-command-bar .header-search{grid-column:1/-1;grid-row:2;min-width:0}
  .atlas-command-bar .header-actions{grid-column:2;grid-row:1;justify-self:end;min-width:0}
  .atlas-command-bar .data-age{display:none}
  .map-layout,.map-panel,.map-toolbar,.map-tools{width:100%;min-width:0}
  .map-panel{padding-bottom:88px}
}
/* Readable labels and neutral elevation: analytical density must not turn
   metadata into decorative microtype or chromatic glow. */
.kicker,.eyebrow,.header-search label,.scope-selectors label span,.scope-picker-label,
.analysis-picker label,.state-pill,.data-age,.map-footer,.intel-metrics small,
.timeline-toggle,.map-targets summary,.search-type,.overview-rankings span{
  font-size:.75rem;
  letter-spacing:.04em;
}
.scope-context span:last-child,.scope-selectors select,#coverage-status,
.world-status small,.map-legend,.legend-more,.map-targets summary small,
.map-target-button small,.overview-controller b,.map-profile-link{
  font-size:.75rem;
}
.city-level span,.detail-list dt,.map-freshness{font-size:.75rem;letter-spacing:.04em}
.map-freshness{line-height:1.35;margin-inline:6px}
.timeline-toggle span{letter-spacing:0}
.map-stage{box-shadow:inset 0 0 0 1px rgba(0,0,0,.55)}
.search-results,.search-empty{box-shadow:0 12px 32px rgba(0,0,0,.55)}
.atlas-intel-panel{box-shadow:0 -12px 32px rgba(0,0,0,.55)}
.scope-picker-sheet{box-shadow:0 -14px 46px rgba(0,0,0,.7)}

/* Atlas UX remediation: keep the map quiet while making its meaning and
   responsive controls explicit. */
.map-toolbar h1{font-size:clamp(28px,3vw,42px);line-height:.92;max-width:none;white-space:nowrap;margin-top:0}
.atlas-toolbar h1{max-width:none}
.data-age{display:none}
.city-panel{overflow:auto;scrollbar-gutter:stable}
.atlas-intel-panel.sheet-peek{overflow:hidden}
.overview-controllers{max-height:none;overflow:visible}
.controller-list-section{display:grid;gap:8px;margin-top:4px}
.controller-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--dim);font-size:.75rem;font-weight:700;letter-spacing:.04em}
.controller-list-heading small{color:var(--muted);font-size:.75rem;font-weight:500;letter-spacing:0}
.map-legend{max-height:112px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(225,189,111,.55) transparent}
.map-legend[data-expanded="false"]{max-height:48px}
.map-legend::-webkit-scrollbar{display:block;width:6px;height:6px}
.map-legend::-webkit-scrollbar-thumb{background:rgba(225,189,111,.55);border-radius:99px}

@media(min-width:1101px){
  .atlas-command-bar{display:grid;grid-template-columns:auto minmax(156px,.7fr) minmax(276px,1.2fr) minmax(240px,1.05fr) auto auto;gap:14px}
  .header-search{min-width:0}
  .header-actions{margin-left:0;gap:8px}
  .scope-selectors{min-width:276px}
  .world-status{min-width:0;max-width:220px}
  #coverage-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(min-width:721px) and (max-width:1100px){
  .atlas-command-bar{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(220px,1fr) auto;gap:12px}
  .scope-context{display:none}
  .scope-selectors{grid-column:2;grid-row:1}
  .atlas-command-bar .header-search{grid-column:3;grid-row:1;min-width:0}
  .world-status{display:none}
  .header-actions{grid-column:4;grid-row:1;margin-left:0}
}
@media(max-width:720px){
  .map-screen{grid-template-rows:auto minmax(0,1fr)}
  .map-header,.atlas-command-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;gap:10px;width:100%;min-width:0;padding:10px;align-items:center}
  .brand-mark.compact{grid-column:1;grid-row:1}
  .atlas-command-bar .world-button{grid-column:2;grid-row:1;justify-self:start}
  .atlas-command-bar .header-actions{grid-column:3;grid-row:1;justify-self:end;margin-left:0;min-width:0}
  .atlas-command-bar .header-search{grid-column:1/-1;grid-row:2;min-width:0;width:100%}
  .header-search input{width:100%}
  .search-results,.search-empty{position:static;grid-column:1/-1;width:100%;margin-top:4px;max-height:min(40vh,260px);overflow:auto}
  .map-toolbar h1{font-size:28px;line-height:.92;max-width:16ch;white-space:normal}
  .overview-controllers{max-height:none;overflow:visible}
}
@media(max-width:480px){
  .map-header,.atlas-command-bar{padding:10px}
  .map-panel{padding-bottom:88px}
}
.city-empty h2{font-size:26px;color:var(--ink)}
