/* The atlas starts with all fourteen published amounts. Comparison is a second step. */
/* Keep the card's layout space while the world is introduced, so the camera stays still. */
#index-dialog #geolocation-view[data-map-entrance] #geo-detail{opacity:var(--map-detail-opacity,0)}
#index-dialog .experience[data-scene-state=loading] #geolocation-view #geo-detail,#index-dialog #geolocation-view:not([data-map-countries]) #geo-detail{opacity:0;pointer-events:none}
#index-dialog #geolocation-view[data-map-entrance=opening] #geo-detail{pointer-events:none}
#geolocation-view[data-map-entrance] .atlas-pin{animation:none!important}
.experience[data-view=geolocation] .country-pair{display:none}
#geolocation-view .map-grid{grid-template-columns:minmax(0,1fr) 304px;background:var(--panel)}
#geolocation-view .map-stage{min-width:0;background:radial-gradient(ellipse at 52% 60%,#ff464718,transparent 60%),var(--bg)}
#geolocation-view .map-stage .stage-toolbar{align-items:center;justify-content:space-between;padding:18px 22px 0;min-height:54px}
#geolocation-view .geo-map-legend{display:flex;align-items:center;gap:10px;color:var(--secondary);font-size:9px;letter-spacing:.08em;text-transform:uppercase}
#geolocation-view .geo-map-legend .status-dot{flex:none}
#geolocation-view .map-stage .world-map{height:min(57vh,550px);min-height:440px;background:radial-gradient(ellipse at 50% 51%,#ff46471c,transparent 62%)}
#geolocation-view .world-map.has-spatial{touch-action:none}
#geolocation-view .atlas-caption{top:18px;left:23px}
#geolocation-view .atlas-caption>strong{font-size:22px;margin:5px 0}
#geolocation-view .atlas-caption>small{font-size:9px}
#geolocation-view .atlas-leaders line{stroke:#ff716d;stroke-width:1;opacity:.48}
#geolocation-view .atlas-pin{width:108px;min-width:108px;height:48px;padding:5px 8px;gap:7px;justify-content:flex-start;border:1px solid #a98170;border-radius:5px;background:#fff3e1;color:#2a1d1c;box-shadow:inset 0 2px 0 #fffdf8,0 3px 0 #927568,0 8px 22px #0005;animation:atlas-letter-open .65s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--order) * 50ms);text-align:left;transition:background .25s,border-color .25s,box-shadow .25s}
#geolocation-view .atlas-pin:before{content:'';position:absolute;inset:3px;border:1px solid #b56e5b4d;border-radius:2px;pointer-events:none}
#geolocation-view .atlas-pin>img{width:21px;height:15px;object-fit:cover;border-radius:2px;flex:none;box-shadow:0 0 0 1px #0002}
#geolocation-view .atlas-pin-copy{display:block;min-width:0;line-height:1.05}
#geolocation-view .atlas-pin-name{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:69px;font-size:8px;color:#775d55}
#geolocation-view .atlas-pin-value{display:block;white-space:nowrap;margin-top:4px;font-size:15px;font-weight:600;letter-spacing:-.55px;color:#922f32}
#geolocation-view .atlas-pin.is-a{background:#ff4647;border-color:#ff7474;color:#fff}
#geolocation-view .atlas-pin.is-a:before{border-color:#b66c5838}
#geolocation-view .atlas-pin.is-a .atlas-pin-name,#geolocation-view .atlas-pin.is-a .atlas-pin-value{color:#fff}
#geolocation-view .atlas-pin.is-b{background:#284f42;border-color:#6a967e;color:#fff}
#geolocation-view .atlas-pin.is-b:before{border-color:#ffffff76}
#geolocation-view .atlas-pin.is-b .atlas-pin-name,#geolocation-view .atlas-pin.is-b .atlas-pin-value{color:#fff}
#geolocation-view .atlas-pin:hover,#geolocation-view .atlas-pin:focus-visible{z-index:9;box-shadow:inset 0 2px 0 #fffdf8,0 4px 0 #927568,0 15px 27px #0008;outline:none}
#geolocation-view .map-stage .scene-bottom{padding:12px 22px;color:var(--muted);font-size:9px}
#geolocation-view #geo-detail{min-width:0;padding:25px 23px;display:block;border-left:1px solid var(--line)}
#geolocation-view .detail-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px}
#geolocation-view .detail-top button{font-size:9px;color:var(--secondary);padding:0;text-align:left}
#geolocation-view .detail-top button:hover{color:var(--red)}
#geolocation-view .geo-heading{font-size:30px;letter-spacing:-1px;line-height:1.07;font-weight:400;margin:25px 0 24px}
#geolocation-view .geo-heading em{font-style:normal;color:var(--red)}
#geolocation-view .geo-person-label{display:block;margin:0 0 5px;font-size:9px;letter-spacing:.04em}
#geolocation-view .geo-person-select{display:block;width:100%;min-width:0;font-size:23px;line-height:1.2;padding:6px 0 11px;border-bottom:1px solid var(--line)}
#geolocation-view .geo-person-choice{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);transition:border-color .2s}
#geolocation-view .geo-person-choice:hover,#geolocation-view .geo-person-choice:focus-within{border-color:var(--red)}
#geolocation-view .geo-person-choice .geo-person-select{flex:1;border-bottom:0}
#geolocation-view .geo-person-icon{display:grid;flex:none;place-items:center;width:29px;height:29px;color:#fff}
html[data-theme=light] #geolocation-view .geo-person-icon{color:var(--text)}
#geolocation-view .geo-person-icon svg{display:block;width:19px;height:19px}
#geolocation-view .geo-unit-row{display:flex;width:max-content;margin:17px 0 0}
#geolocation-view .geo-unit-row button{white-space:nowrap}
#geolocation-view .geo-invitation{font-size:11px;line-height:1.75;color:var(--secondary);margin:24px 0 0}
#geolocation-view .geo-overview-mark{display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px 0 18px;padding:12px 0}
#geolocation-view .geo-overview-mark span{font-size:45px;line-height:1;color:var(--red);letter-spacing:-3px}
#geolocation-view .geo-overview-mark small{font-size:10px;line-height:1.5;color:var(--secondary)}
#geolocation-view .geo-caveat{margin:18px 0 0;font-size:9px;line-height:1.6;color:var(--muted)}
#geolocation-view .geo-focus-country{display:flex;align-items:center;gap:9px;margin-top:26px;font-size:12px;color:var(--secondary)}
#geolocation-view .geo-focus-country img{width:25px;height:17px;object-fit:cover}
#geolocation-view .geo-focus-amount{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:15px;padding:15px 0;display:flex;flex-direction:column;gap:2px}
#geolocation-view .geo-focus-amount strong{font-size:70px;font-weight:400;color:var(--red);letter-spacing:-5px;line-height:1}
#geolocation-view .geo-focus-amount span{font-size:10px;color:var(--secondary);line-height:1.4}
#geolocation-view .geo-compare-cta{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:46px;margin-top:28px;padding:12px 15px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;text-align:left}
#geolocation-view .geo-compare-cta:hover{filter:brightness(1.12)}
#geolocation-view .geo-compare-cta span{font-size:19px}
#geolocation-view .geo-comparison-title{font-size:13px;line-height:1.4;margin:22px 0 8px}
#geolocation-view .country-comparison-row{display:grid;width:100%;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;margin:0!important;padding:15px 0}
#geolocation-view .country-comparison-row strong{font-size:27px}
#geolocation-view .geo-comparison-navigation{margin-bottom:16px}
#geolocation-view .geo-comparison-navigation .detail-rank{grid-column:2 / 4;justify-self:end;margin-right:58px} /* clear of the bow on the card's corner */
/* "vs" in the title: upright and red, as on the Assistants comparison. */
#index-dialog #geolocation-view .geo-comparison-heading h3 em{font-style:normal;color:var(--red)}
#geolocation-view .geo-country-control{position:relative;min-width:0;display:flex;align-items:center;border-bottom:1px solid var(--line)}
#geolocation-view .geo-country-control select{appearance:none;min-width:0;width:100%;height:36px;padding:0 44px 0 0;font-size:11px;color:var(--secondary);text-overflow:ellipsis}
#geolocation-view .geo-country-chevron{position:absolute;right:0;pointer-events:none}
#geolocation-view .geo-country-chevron svg{width:12px;height:12px}
#geolocation-view .geo-country-control button{position:absolute;right:16px;display:grid;place-items:center;width:28px;height:32px;padding:0;color:var(--muted);border-radius:5px}
#geolocation-view .geo-country-control button:hover{color:var(--red);background:var(--raised)}
#geolocation-view .geo-country-control button svg{width:13px;height:13px}
#geolocation-view .geo-ratio{margin:20px 0 0;gap:12px}
#geolocation-view .geo-ratio strong{font-size:37px}
@keyframes atlas-letter-open{from{opacity:0;transform:translate(-50%,-43%) rotateX(-76deg) scale(.82)}to{opacity:1;transform:translate(-50%,-50%) rotateX(0) scale(1)}}
@media(max-width:960px){#geolocation-view .map-grid{grid-template-columns:minmax(0,1fr) 250px}#geolocation-view #geo-detail{padding:21px 17px}#geolocation-view .atlas-pin{width:95px;min-width:95px;height:45px}#geolocation-view .atlas-pin-value{font-size:13px}}
@media(max-width:800px){#geolocation-view .map-grid{grid-template-columns:1fr}#geolocation-view .map-stage .world-map{height:470px;min-height:470px}#geolocation-view .map-stage,#geolocation-view #geo-detail{scroll-margin-top:74px}#geolocation-view #geo-detail{border-left:0;border-top:1px solid var(--line)}#geolocation-view .geo-heading{font-size:30px}#geolocation-view .atlas-pin{width:95px;min-width:95px}}
@media(max-width:520px){#geolocation-view .map-stage .stage-toolbar{padding:12px 13px 0;gap:7px}#geolocation-view .geo-map-legend{font-size:7px;max-width:175px}#geolocation-view .map-stage .world-map{height:380px;min-height:380px}#geolocation-view .atlas-caption{top:12px;left:12px}#geolocation-view .atlas-caption>strong{font-size:16px}#geolocation-view .atlas-caption>small{display:none}#geolocation-view .atlas-pin{width:76px;min-width:76px;height:39px;padding:3px 5px;gap:4px}#geolocation-view .atlas-pin>img{width:15px;height:11px}#geolocation-view .atlas-pin-name{font-size:7px;max-width:50px}#geolocation-view .atlas-pin-value{font-size:11px;margin-top:3px}#geolocation-view .map-stage .scene-bottom{padding:10px 13px}#geolocation-view #geo-detail{padding:20px 17px}#geolocation-view .geo-heading{margin:18px 0}#geolocation-view .geo-unit-row{margin-top:12px}}
@media(prefers-reduced-motion:reduce){#geolocation-view .atlas-pin{animation:none;transition:none}}
body[data-motion=paused] #geolocation-view .atlas-pin{animation:none;transition:none}

/* Country uses the same immersive, viewport-sized stage as People and Brands. */
#index-dialog .experience[data-view=geolocation]{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:var(--bg)}
#index-dialog .experience[data-view=geolocation] .experience-head{position:absolute;z-index:30;top:22px;left:28px;right:28px;min-height:0;align-items:flex-start;padding:0;margin:0;border:0;background:transparent;pointer-events:none}
#index-dialog .experience[data-view=geolocation] .experience-head>*{pointer-events:auto}

#index-dialog .experience[data-view=geolocation] #people-fullscreen{display:flex;min-height:30px;margin-left:6px;padding:8px 13px;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent}
#index-dialog .experience[data-view=geolocation] .explorer-context{position:absolute;z-index:11;top:99px;left:31px;right:31px;padding:0;margin:0;pointer-events:none}
#index-dialog .experience[data-view=geolocation] .context-title>span{font-size:8px;letter-spacing:1.7px}
#index-dialog .experience[data-view=geolocation] .context-title h2{font-size:clamp(31px,3.5vw,51px);line-height:1.04;letter-spacing:-.055em;margin-top:9px;text-shadow:0 2px 24px var(--bg)}
#index-dialog .experience[data-view=geolocation] .experience-footer{position:absolute;z-index:18;left:30px;right:30px;bottom:7px;margin:0;padding:0;border:0;font-size:8px;pointer-events:none}
#index-dialog .experience[data-view=geolocation] .experience-footer button{font-size:9px;pointer-events:auto}
#index-dialog .experience[data-view=geolocation] #selection-summary{display:none}
#index-dialog #geolocation-view{position:absolute;inset:0;overflow:hidden;animation:none;background:radial-gradient(ellipse at 43% 59%,#a327261b,transparent 58%),var(--bg)}
#index-dialog #geolocation-view .map-grid{position:absolute;inset:0;display:block;min-height:0;border:0;border-radius:0;overflow:visible;background:transparent}
#index-dialog #geolocation-view .map-stage{position:absolute;inset:0;display:block;min-height:0;overflow:hidden;background:transparent}
#index-dialog #geolocation-view .map-stage:before{opacity:.6}
#index-dialog #geolocation-view .map-stage:after{content:'';position:absolute;z-index:2;inset:0 0 auto;height:235px;background:linear-gradient(to bottom,color-mix(in srgb,var(--bg) 98%,transparent) 0%,color-mix(in srgb,var(--bg) 88%,transparent) 48%,transparent 100%);pointer-events:none}
#index-dialog #geolocation-view .world-map{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;background:radial-gradient(ellipse at 48% 53%,#ff46471a,transparent 64%)}
#index-dialog #geolocation-view .atlas-caption{display:none}
#index-dialog #geolocation-view .map-stage .stage-toolbar{position:absolute;z-index:12;top:197px;left:30px;right:365px;min-height:0;padding:0;pointer-events:none}
#index-dialog #geolocation-view .map-stage .stage-toolbar>*{pointer-events:auto}
#index-dialog #geolocation-view .geo-camera-controls{position:absolute;z-index:16;left:calc((100% - 350px)/2);bottom:32px;transform:translateX(-50%);display:flex;align-items:center;gap:3px;width:max-content;padding:5px 8px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 8px 40px #0003}
#index-dialog #geolocation-view .geo-camera-controls button{display:grid;place-items:center;min-width:37px;height:40px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:22px;line-height:1}
#index-dialog #geolocation-view .geo-camera-controls button:disabled{opacity:.35}
#index-dialog #geolocation-view .geo-camera-controls #map-reset,#index-dialog #geolocation-view .geo-camera-controls #map-europe{padding:0 11px;font-size:11px;white-space:nowrap}
#index-dialog #geolocation-view .geo-camera-controls>span{height:26px;margin:0 5px;border-left:1px solid var(--line)}
#index-dialog #geolocation-view .map-stage .scene-bottom{position:absolute;z-index:11;left:30px;right:365px;bottom:110px;padding:0;border:0;background:transparent;font-size:9px;pointer-events:none}
#index-dialog #geolocation-view .map-stage .scene-bottom button{pointer-events:auto}
#index-dialog #geolocation-view #geo-detail{position:absolute;z-index:14;top:166px;right:28px;bottom:auto;width:300px;max-height:calc(100% - 260px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px;border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--panel) 81%,transparent);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 16px 50px #0003}
#index-dialog #geolocation-view[data-geo-mode=overview] #geo-detail{top:106px;width:356px;max-height:calc(100% - 150px);padding:22px;background:color-mix(in srgb,var(--panel) 81%,transparent)}
#index-dialog #geolocation-view[data-geo-mode=compare] #geo-detail{top:106px;width:356px;max-height:calc(100% - 150px);padding:22px;background:color-mix(in srgb,var(--panel) 81%,transparent)}
#geolocation-view .geo-overview-copy>.eyebrow{font-size:7px;color:var(--red);letter-spacing:1.2px}
#index-dialog #geolocation-view .geo-overview-copy .geo-heading{font-size:30px;line-height:1.12;margin:16px 0;color:var(--text)}
#index-dialog #geolocation-view .geo-overview-copy .geo-heading em{color:var(--secondary)}
#index-dialog #geolocation-view .geo-overview-copy .geo-overview-mark{display:block;margin:22px 0 14px;padding:0;border:0;color:var(--red);font-size:65px;line-height:1;letter-spacing:-4px;font-weight:400}
#index-dialog #geolocation-view .geo-overview-copy .geo-overview-mark small{font-size:24px;letter-spacing:-1px;color:var(--secondary);font-weight:400}
#index-dialog #geolocation-view .geo-overview-copy .geo-invitation{margin:0;font-size:11px;line-height:1.8;color:var(--secondary)}
#geolocation-view .geo-overview-controls{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
#geolocation-view .geo-overview-controls .geo-person-label{color:var(--muted)}
#index-dialog #geolocation-view .geo-overview-controls .geo-person-select{font-size:20px}
/* Like the Market row on Brands and Assistants: the label on the left, a compact selector on the right. */
@media(min-width:801px){
  #geolocation-view .geo-overview-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px}
  #geolocation-view .geo-overview-controls .geo-person-label{margin:0;font-size:10px;letter-spacing:0;white-space:nowrap}
  #geolocation-view .geo-overview-controls .geo-person-choice{gap:7px;width:170px;max-width:66%;min-width:0;padding:5px 0 5px 6px}
  #geolocation-view .geo-overview-controls .geo-person-icon{width:17px;height:17px}
  #geolocation-view .geo-overview-controls .geo-person-icon svg{width:16px;height:16px}
  #index-dialog #geolocation-view .geo-overview-controls .geo-person-select{min-width:0;min-height:28px;padding:0;font-size:12px;line-height:normal}
}
#geolocation-view .geo-overview-copy .geo-caveat{margin-top:19px;font-size:9px;line-height:1.6}
#index-dialog #geolocation-view .geo-heading{font-size:27px;margin:19px 0 20px}
#index-dialog #geolocation-view .geo-person-select{font-size:20px}
#index-dialog #geolocation-view .geo-invitation{margin-top:17px}
#index-dialog #geolocation-view .geo-overview-mark{margin:20px 0 12px;padding:7px 0}
#index-dialog #geolocation-view .geo-overview-mark span{font-size:39px}
#index-dialog #geolocation-view .geo-focus-country{margin-top:18px}
#index-dialog #geolocation-view .geo-focus-amount strong{font-size:61px}
#index-dialog #geolocation-view .geo-compare-cta{margin-top:18px}
@media(max-width:1050px){
  #index-dialog #geolocation-view .map-stage .stage-toolbar,#index-dialog #geolocation-view .map-stage .scene-bottom{right:310px}
  #index-dialog #geolocation-view #geo-detail{width:260px;right:18px;padding:17px}
  #index-dialog #geolocation-view .geo-camera-controls{left:calc((100% - 296px)/2)}
}
@media(max-width:800px){
  #index-dialog .experience[data-view=geolocation] .experience-head{top:12px;left:15px;right:15px}
  #index-dialog .experience[data-view=geolocation] .explorer-context{top:76px;left:17px;right:17px}
  #index-dialog .experience[data-view=geolocation] .context-title>span{font-size:7px}
  #index-dialog .experience[data-view=geolocation] .context-title h2{font-size:clamp(25px,5vw,37px);max-width:470px}
  #index-dialog .experience[data-view=geolocation] .experience-footer{left:17px;right:17px;bottom:5px;font-size:6px}
  #index-dialog #geolocation-view .world-map{width:100%;height:100%;min-height:0}
  #index-dialog #geolocation-view .map-stage .stage-toolbar{top:155px;left:17px;right:17px}
  #index-dialog #geolocation-view .map-stage .scene-bottom{display:none}
  #index-dialog #geolocation-view #geo-detail{top:auto;left:16px;right:16px;bottom:104px;width:auto;max-height:220px;padding:15px 17px;border-radius:16px}
  #index-dialog #geolocation-view .geo-camera-controls{left:50%;bottom:28px;padding:4px 6px}
  #index-dialog #geolocation-view .geo-camera-controls button{min-width:32px;height:35px;font-size:19px}
  #index-dialog #geolocation-view .geo-camera-controls #map-reset,#index-dialog #geolocation-view .geo-camera-controls #map-europe{padding:0 7px;font-size:10px}
  #index-dialog #geolocation-view[data-geo-mode=overview] .geo-heading,#index-dialog #geolocation-view[data-geo-mode=overview] .geo-invitation,#index-dialog #geolocation-view[data-geo-mode=overview] .geo-overview-mark,#index-dialog #geolocation-view[data-geo-mode=overview] .geo-caveat{display:none}
  #index-dialog #geolocation-view[data-geo-mode=overview] #geo-detail{max-height:165px}
  #index-dialog #geolocation-view[data-geo-mode=focus] #geo-detail,#index-dialog #geolocation-view[data-geo-mode=compare] #geo-detail{max-height:265px}
  #index-dialog #geolocation-view[data-geo-mode=focus] .geo-invitation,#index-dialog #geolocation-view[data-geo-mode=focus] .geo-caveat,#index-dialog #geolocation-view[data-geo-mode=focus] .geo-person-label,#index-dialog #geolocation-view[data-geo-mode=focus] .geo-focus-country{display:none}
  #index-dialog #geolocation-view[data-geo-mode=focus] .geo-unit-row{margin-top:8px}
  #index-dialog #geolocation-view[data-geo-mode=focus] .geo-focus-amount{margin-top:8px;padding:8px 0}
  #index-dialog #geolocation-view[data-geo-mode=focus] .geo-focus-amount strong{font-size:48px}
  #index-dialog #geolocation-view[data-geo-mode=focus] .geo-compare-cta{min-height:40px;margin-top:10px;padding:7px 12px}
  #index-dialog #geolocation-view[data-geo-mode=compare] .geo-person-label,#index-dialog #geolocation-view[data-geo-mode=compare] .geo-person-choice,#index-dialog #geolocation-view[data-geo-mode=compare] .geo-comparison-title,#index-dialog #geolocation-view[data-geo-mode=compare] .geo-compare-picker,#index-dialog #geolocation-view[data-geo-mode=compare] .geo-caveat{display:none}
  #index-dialog #geolocation-view[data-geo-mode=compare] .geo-unit-row{margin:10px 0 5px}
  #index-dialog #geolocation-view[data-geo-mode=compare] .country-comparison-row{padding:9px 0}
  #index-dialog #geolocation-view[data-geo-mode=compare] .country-comparison-row strong{font-size:24px}
  #index-dialog #geolocation-view[data-geo-mode=compare] .geo-ratio{margin:9px 0 0}
  #index-dialog #geolocation-view[data-geo-mode=compare] .geo-ratio strong{font-size:33px}
}
@media(max-width:520px){
  #index-dialog .experience[data-view=geolocation] .explorer-context{top:70px}
  #index-dialog .experience[data-view=geolocation] .context-title h2{font-size:27px;max-width:300px}
  #index-dialog #geolocation-view .map-stage .stage-toolbar{top:174px;left:15px;right:15px}
  #index-dialog #geolocation-view .geo-map-legend{max-width:205px}
  #index-dialog #geolocation-view #geo-detail{left:12px;right:12px;bottom:97px}
}

/* Values stay anchored to geographic positions while country polygons carry selection. */
#geolocation-view .land-path{fill:#d3d0d2;stroke:none;vector-effect:non-scaling-stroke}
#geolocation-view .land-path.available-country{fill:#c76a63;stroke:#964c48;stroke-width:.8}
#geolocation-view .land-path.available-country:hover{fill:#dc8175}
#geolocation-view .land-path.selected-country{fill:#c91e32;stroke:#811624;stroke-width:1.3}
#geolocation-view .land-path.compared-country{fill:#277252;stroke:#184b39;stroke-width:1.3}
#geolocation-view .land-path.selected-country:hover{fill:#c91e32}
#geolocation-view .land-path.compared-country:hover{fill:#277252}
#geolocation-view .land-path[data-country]{cursor:pointer}
[data-theme=dark] #geolocation-view .land-path{fill:#c3c3cb;stroke:none}
[data-theme=dark] #geolocation-view .land-path.available-country{fill:#c76a63;stroke:#964c48}
[data-theme=dark] #geolocation-view .land-path.available-country:hover{fill:#dc8175}
[data-theme=dark] #geolocation-view .land-path.selected-country{fill:#c91e32;stroke:#811624}
[data-theme=dark] #geolocation-view .land-path.compared-country{fill:#277252;stroke:#184b39}
[data-theme=dark] #geolocation-view .land-path.selected-country:hover{fill:#c91e32}
[data-theme=dark] #geolocation-view .land-path.compared-country:hover{fill:#277252}
#geolocation-view .atlas-pin,#geolocation-view .atlas-pin.is-a,#geolocation-view .atlas-pin.is-b{display:flex;align-items:center;justify-content:center;width:max-content;min-width:76px;max-width:102px;height:34px;padding:3px 10px;overflow:visible;border:1px solid #b0574d;border-radius:4px;background:#9d3036;color:#fff7e8;box-shadow:inset 0 3px 0 #fff5e3,0 2px 0 #69312b,0 4px 8px #37261d33;text-align:center;animation:atlas-value-arrive .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--order) * 45ms);transition:background .2s,color .2s,box-shadow .2s,scale .2s}
#geolocation-view .atlas-pin:before{content:'';display:block;position:absolute;inset:3px;border:1px solid #ffffff76;border-radius:1px;pointer-events:none}
#geolocation-view .atlas-pin:after{display:none}
#geolocation-view .atlas-posts{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
#geolocation-view .atlas-posts path{fill:none;stroke:#c9a17a;stroke-width:3;stroke-linejoin:round;filter:drop-shadow(1px 1px 1px #0003)}
#geolocation-view .atlas-posts .side-post{stroke-width:4;stroke-linecap:butt}
#geolocation-view .atlas-pin-value,#geolocation-view .atlas-pin.is-a .atlas-pin-value,#geolocation-view .atlas-pin.is-b .atlas-pin-value{display:block;margin:0;color:inherit;font:italic 600 15px/1 Georgia,'Times New Roman',serif;white-space:nowrap;letter-spacing:-.25px;text-shadow:none}
#geolocation-view .atlas-pin.is-a{background:#fff4df;color:#962f33;border-color:#a4493f;box-shadow:inset 0 3px 0 #fffdf6,0 2px 0 #ba9f82,0 5px 14px #37261d44}
#geolocation-view .atlas-pin.is-a:before{border-color:#b66c5838}
#geolocation-view .atlas-pin.is-b{background:#294e40;color:#fff7e8;border-color:#57806e;box-shadow:inset 0 3px 0 #fff5e3,0 2px 0 #1b392e,0 5px 14px #37261d44}
#geolocation-view .atlas-pin,#geolocation-view .atlas-pin.is-a,#geolocation-view .atlas-pin.is-b{border-radius:6px;border-color:#c0a776;background:linear-gradient(180deg,#244b41,#173a32);color:#f9f5e9;box-shadow:inset 0 1px 0 #ffffff30,0 2px 0 #806948,0 6px 13px #0b141450;transition:color .2s}
#geolocation-view .atlas-pin.has-side-post-left{border-top-left-radius:1px;border-bottom-left-radius:1px}
#geolocation-view .atlas-pin.has-side-post-right{border-top-right-radius:1px;border-bottom-right-radius:1px}
#geolocation-view .atlas-pin:before{display:none}
#geolocation-view .atlas-pin.is-a{background:linear-gradient(180deg,#fffaf1,#eee6d6);color:#8c2937}
#geolocation-view .atlas-pin.is-b{background:linear-gradient(180deg,#6c2b39,#55222e);color:#f9f5e9}
#geolocation-view .atlas-pin-value,#geolocation-view .atlas-pin.is-a .atlas-pin-value,#geolocation-view .atlas-pin.is-b .atlas-pin-value{font:600 14px/1 Inter,Arial,sans-serif;letter-spacing:-.03em}
#geolocation-view .atlas-pin.is-b:before{border-color:#ffffff76}
#geolocation-view .atlas-pin:hover,#geolocation-view .atlas-pin:focus-visible{z-index:9;color:#f6db9d;box-shadow:inset 0 1px 0 #ffffff30,0 2px 0 #806948,0 6px 13px #0b141450;outline:none}
#geolocation-view .atlas-pin.is-a:hover,#geolocation-view .atlas-pin.is-a:focus-visible{color:#b02f40}
/* Indicate keyboard control on the toolbar, not around the full-screen scene. */
#geolocation-view #world-map:focus{outline:none}
#geolocation-view .atlas-leaders line{stroke:#8b6557;stroke-width:.7;opacity:.35}
@keyframes atlas-value-arrive{from{opacity:0}to{opacity:1}}
@media(max-width:960px){#geolocation-view .atlas-pin,#geolocation-view .atlas-pin.is-a,#geolocation-view .atlas-pin.is-b{min-width:68px;height:33px;padding:3px 8px}#geolocation-view .atlas-pin-value,#geolocation-view .atlas-pin.is-a .atlas-pin-value,#geolocation-view .atlas-pin.is-b .atlas-pin-value{font-size:14px}}
@media(max-width:520px){#geolocation-view .atlas-pin,#geolocation-view .atlas-pin.is-a,#geolocation-view .atlas-pin.is-b{min-width:59px;max-width:82px;height:29px;padding:2px 6px}#geolocation-view .atlas-pin-value,#geolocation-view .atlas-pin.is-a .atlas-pin-value,#geolocation-view .atlas-pin.is-b .atlas-pin-value{font-size:11px}}
@media(prefers-reduced-motion:reduce){#geolocation-view .atlas-pin{animation:none}}
body[data-motion=paused] #geolocation-view .atlas-pin{animation:none}

/* Match the glass surface from People; its token is scoped to that view. */
#index-dialog #geolocation-view{--glass:color-mix(in srgb,var(--panel) 90%,transparent)}
/* Geolocation deliberately reuses People’s island and selected-card grammar. */
#index-dialog #geolocation-view .geo-camera-controls.camera-controls-island{top:31px;right:28px;bottom:auto;left:auto;transform:none;display:flex;align-items:center;width:max-content;max-width:calc(100% - 36px);padding:5px 9px;gap:0;border:1px solid var(--line);border-radius:14px;background:var(--glass);backdrop-filter:blur(20px);box-shadow:0 8px 40px #0003}
#geolocation-view .village-control-group{display:flex;align-items:center;gap:3px}
#geolocation-view .village-control-group+.village-control-group{border-left:1px solid var(--line);padding-left:12px;margin-left:12px}
#index-dialog #geolocation-view .geo-camera-controls.camera-controls-island button{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:0;height:42px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:11px;line-height:1;white-space:nowrap}
#index-dialog #geolocation-view .geo-camera-controls.camera-controls-island .village-zoom button{width:32px;padding:0;font-size:23px;font-weight:300}
#geolocation-view .geo-camera-controls output{min-width:40px;font-size:10px;text-align:center}
#geolocation-view .geo-camera-controls svg{width:24px;height:22px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
#geolocation-view .people-help{display:block;position:relative;margin-left:3px}
#geolocation-view .people-help summary{display:grid;place-items:center;width:30px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;font-size:14px;list-style:none}
#geolocation-view .people-help summary::-webkit-details-marker{display:none}
#geolocation-view .people-help summary:hover{color:var(--text);background:var(--raised)}
#geolocation-view .people-help[open]>div{top:0;right:calc(100% + 12px);bottom:auto;left:auto;width:300px;max-height:65vh;padding:20px;overflow:auto;overscroll-behavior:contain}

#index-dialog #geolocation-view[data-geo-mode=focus] #geo-detail{top:106px;width:356px;max-height:calc(100% - 150px);padding:0;overflow:visible;background:color-mix(in srgb,var(--panel) 81%,transparent)}
#geolocation-view .person-card-content{min-height:0;padding:0 22px 22px;max-height:calc(100dvh - 152px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:inherit}

#geolocation-view .detail-top{color:var(--muted);letter-spacing:1.2px}
#geolocation-view .persona-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:9px 0 24px}
#geolocation-view .detail-panel .persona-title-row h3{min-width:0;margin:0;font-size:29px;overflow-wrap:normal}
#geolocation-view .detail-panel .budget-spotlight{margin:0;padding:0;border:0}
#geolocation-view .budget-intention{font-size:14px;line-height:1.5;font-weight:400;color:var(--secondary);margin:0}
#geolocation-view .budget-spotlight .person-budget{position:static;top:auto;right:auto;display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:4px 10px;margin:9px 0 14px;grid-column:auto}
#geolocation-view .budget-spotlight .person-budget strong{color:var(--red);font-size:86px;line-height:1.06;letter-spacing:-5px;font-weight:400;font-variant-numeric:tabular-nums}
#geolocation-view .budget-spotlight .person-budget span{max-width:none;color:var(--secondary);font-size:15px;line-height:1.5}
#geolocation-view .budget-spotlight .person-budget[data-unit=salary]>span:last-child{flex-basis:100%;font-size:12px;margin-top:3px}
#geolocation-view .budget-spotlight .person-budget .budget-estimate{align-self:center;font-size:29px;line-height:1;color:var(--muted)}
#geolocation-view .budget-note{margin:-3px 0 20px;font-size:9px;color:var(--muted)}
#geolocation-view .budget-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#geolocation-view .budget-country-row{border-top:1px solid var(--line);padding-top:12px;gap:10px}
#geolocation-view .budget-country-row>span{font-size:10px;color:var(--muted);white-space:nowrap}
#geolocation-view .persona-select{position:relative;display:flex;align-items:center;min-width:0;width:160px;max-width:62%;padding:5px 0 5px 6px;border-bottom:1px solid var(--line)}
#geolocation-view .persona-select .geo-person-icon{width:25px;height:25px}
#geolocation-view .persona-select .geo-person-icon svg{width:18px;height:18px}
#geolocation-view .persona-select>svg{position:absolute;right:0;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;color:var(--secondary)}
#geolocation-view .persona-select select{appearance:none;width:100%;min-width:0;min-height:28px;margin:0;padding:0 23px 0 0;border:0;border-radius:0;background:transparent;color:var(--text);font:inherit;font-size:12px;cursor:pointer;text-overflow:ellipsis}
#geolocation-view .budget-rank{margin:10px 0 18px;font-size:10px;line-height:1.6;color:var(--muted)}
#geolocation-view .person-compare{padding:0;border:0}
#geolocation-view #compare-countries{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 0 11px;border-top:1px solid var(--line);color:var(--secondary);font-size:11px;text-align:left}
#geolocation-view #compare-countries:hover{color:var(--red)}
#geolocation-view #compare-countries>span:last-child{font-size:18px;font-weight:300}
#geolocation-view .person-reading{border-top:1px solid var(--line);margin:0;padding-top:12px}
#geolocation-view .person-reading>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;color:var(--secondary);font-size:11px;list-style:none}
#geolocation-view .person-reading>summary::-webkit-details-marker{display:none}
#geolocation-view .person-reading[open]>summary>span{transform:rotate(45deg)}
#geolocation-view .detail-story,#geolocation-view .budget-source{font-size:11px;line-height:1.7;max-width:none;margin:16px 0}
#geolocation-view .budget-source{font-size:10px;color:var(--muted)}
#geolocation-view .budget-source a{color:var(--secondary);text-decoration:underline;text-underline-offset:3px}

@media(max-width:1100px) and (min-width:801px){#index-dialog #geolocation-view[data-geo-mode=focus] #geo-detail{width:328px}#geolocation-view .village-control-group+.village-control-group{padding-left:8px;margin-left:8px}}
@media(max-width:800px){
  #index-dialog #geolocation-view[data-geo-mode=focus] #geo-detail{top:auto;bottom:143px;left:16px;right:16px;width:auto;max-height:48%;padding:0}
  #geolocation-view .person-card-content{padding:0 16px 14px;max-height:calc(48dvh - 2px)}

  #geolocation-view .persona-title-row{margin:6px 0 17px}
  #geolocation-view .budget-intention{font-size:12px}
  #geolocation-view .budget-spotlight .person-budget{margin:6px 0 12px;gap:4px 8px}
  #geolocation-view .budget-spotlight .person-budget strong{font-size:64px;letter-spacing:-3px}
  #geolocation-view .budget-spotlight .person-budget span{font-size:13px}
  #geolocation-view .budget-spotlight .person-budget[data-unit=salary]>span:last-child{font-size:11px;margin:0}
  #geolocation-view .budget-country-row{padding-top:8px}
  #geolocation-view .budget-rank{font-size:9px;margin:7px 0 12px}
  #index-dialog #geolocation-view .geo-camera-controls.camera-controls-island{width:max-content;max-width:calc(100% - 24px);padding:5px 7px;gap:0;border-radius:13px;flex-wrap:wrap;justify-content:center}
  #index-dialog #geolocation-view .geo-camera-controls.camera-controls-island button{height:35px;padding:0 7px;font-size:10px}
  #geolocation-view .geo-camera-controls svg{width:22px;height:21px}
  #geolocation-view .people-help[open]>div{bottom:50px;right:-20px;width:min(300px,calc(100vw - 32px))}
}
@media(max-width:1000px){
  #index-dialog #geolocation-view .geo-camera-controls.camera-controls-island{top:auto;right:auto;bottom:29px;left:50%;transform:translateX(-50%)}
  #geolocation-view .people-help[open]>div{top:auto;right:-10px;bottom:55px}
}
@media(max-width:1100px) and (min-width:801px){
  #index-dialog #geolocation-view[data-geo-mode=overview] #geo-detail,#index-dialog #geolocation-view[data-geo-mode=compare] #geo-detail{width:328px}
}
@media(max-width:800px){
  #index-dialog #geolocation-view[data-geo-mode=overview] #geo-detail,#index-dialog #geolocation-view[data-geo-mode=compare] #geo-detail{top:auto;left:16px;right:16px;bottom:104px;width:auto;max-height:220px;padding:15px 17px}

}

#geolocation-view .atlas-posts .post-cap path{stroke:none;filter:none}
#geolocation-view .atlas-posts .cap-light{fill:#e2bc8e}
#geolocation-view .atlas-posts .cap-dark{fill:#a77b56}

/* Match the centered, translucent Brands reading surface in every map mode. */
@media(min-width:801px){
  #index-dialog #geolocation-view[data-geo-mode] #geo-detail{
    top:50%;bottom:auto;transform:translateY(-50%);max-height:calc(100% - 184px);
  }
  #geolocation-view .person-card-content{max-height:calc(100dvh - 186px)}
}

/* A circular flag identifies the selected country beside its name. */
#geolocation-view .persona-title-row{display:flex;flex-wrap:wrap;justify-content:space-between}
#geolocation-view .detail-panel .geo-country-title{display:flex;align-items:center;gap:10px;max-width:100%}
#geolocation-view .geo-country-flag{display:block;flex:0 0 32px;width:32px;height:32px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px var(--line)}

/* Keep the budget unit in the header in overview as well as country detail. */
#geolocation-view .geo-overview-title-row{display:flex;flex-direction:column-reverse;align-items:stretch;gap:10px;margin:16px 0 24px}
#index-dialog #geolocation-view .geo-overview-title-row .geo-heading{font-size:30px;line-height:1.12;margin:0}
#geolocation-view .geo-overview-title-row .budget-units{align-self:flex-end}
/* On desktop the title comes first: above it, the selector would sit under the card's bow. */
@media(min-width:801px){#geolocation-view .geo-overview-title-row{flex-direction:column}}
@media(max-width:800px){#geolocation-view .geo-overview-title-row{display:flex;justify-content:flex-end;margin:0 0 12px}}

/* A selected country keeps the map visible above a scrollable mobile card. */
@media(max-width:800px){
  #index-dialog #geolocation-view[data-geo-mode=focus] #geo-detail,
  #index-dialog #geolocation-view[data-geo-mode=compare] #geo-detail{
    bottom:114px;max-height:35dvh;
  }
  #geolocation-view .person-card-content{max-height:calc(35dvh - 2px)}
}

/* Country details share the fixed header and single glass surface of People. */
#index-dialog #geolocation-view[data-geo-mode=focus] #geo-detail{
  display:flex;flex-direction:column;
}
#index-dialog #geolocation-view .index-card-navigation{flex:none;position:relative;top:auto;background:transparent}
#index-dialog #geolocation-view .geo-comparison-navigation{margin:0 0 16px}
@media(max-width:800px){
  #geolocation-view .geo-overview-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
  #geolocation-view .geo-overview-copy>.eyebrow{font-size:7px}
  #geolocation-view .geo-overview-title-row{margin:0;gap:0}
  #geolocation-view .geo-overview-controls{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin-top:0;border-top:1px solid var(--line);padding-top:10px}
  #geolocation-view .geo-overview-controls .geo-person-label{margin:0;font-size:10px;white-space:nowrap}
  #geolocation-view .geo-overview-controls .geo-person-choice{flex:1;min-width:0;margin:0}
  #index-dialog #geolocation-view .geo-overview-controls .geo-person-select{font-size:14px;padding-top:5px;padding-bottom:5px}
}
