.map-story-intro{margin:24px 0 13px}
.map-story-intro h3{margin:5px 0 3px;color:#133963;font-size:23px}
.map-story-intro p{margin:0;color:#5e7692;font-size:14px;line-height:1.5}
.map-story-layout{grid-template-columns:minmax(0,1fr)!important}
.map-story-layout>.map-card{min-width:0}
.map-story-layout>.map-card .map-wrap{height:725px;margin:8px 14px 12px}
.map-story-layout>.map-card .map-wrap>svg[role="img"]{position:absolute;top:135px;left:3%;width:94%;height:505px;z-index:1}
.map-story-layout .map-watermark{top:143px;z-index:2}
.map-story-layout .map-legend{z-index:4;left:217px;right:259px;bottom:12px;max-width:none}
.map-story-layout .map-reveal{top:auto!important;bottom:14px;right:14px;z-index:7}
.map-story-cards{position:absolute;top:13px;left:16px;right:16px;z-index:4;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;pointer-events:none}
.map-story-region{display:block;min-width:0;min-height:108px;padding:11px 13px;text-align:left;border:1px solid #d7e6f1;border-top:4px solid var(--story-color,#2f75d4);border-radius:15px;background:rgba(255,255,255,.98);box-shadow:0 10px 23px rgba(20,64,104,.12);color:#143657;pointer-events:auto;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.map-story-region:hover,.map-story-region:focus-visible{transform:translateY(-4px);box-shadow:0 17px 30px rgba(20,64,104,.22);outline:2px solid #84b8e9}
.map-story-region.is-selected{border-color:#2367bc;box-shadow:0 0 0 2px rgba(35,103,188,.15),0 12px 25px rgba(20,64,104,.15)}
.map-story-region span,.map-story-region b,.map-story-region strong,.map-story-region small{display:block}
.map-story-region span{text-transform:uppercase;font-size:11px;letter-spacing:.08em;font-weight:850;color:#53718e}
.map-story-region b{margin-top:3px;font-size:15px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-story-region strong{margin-top:4px;font-size:26px;line-height:1;color:#0c3975}
.map-story-region small{margin-top:5px;color:#7087a0;font-size:10px}
.map-story-region.unavailable{opacity:.65;pointer-events:none}
.map-story-guides{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:2;pointer-events:none;filter:none!important}
.map-story-guides path{fill:none;stroke:#2d6899;stroke-width:1.4;stroke-dasharray:5 5;opacity:.55}
.map-story-guides circle{fill:#fff;stroke:#2d6899;stroke-width:2;opacity:.9}
.map-story-national{position:absolute;left:14px;bottom:13px;z-index:5;display:grid;gap:2px;width:185px;min-height:68px;padding:9px 12px;text-align:left;border:1px solid #cfe5f4;border-radius:13px;background:rgba(255,255,255,.98);box-shadow:0 9px 22px rgba(20,64,104,.17);cursor:pointer;color:#153c65;transition:transform .2s ease,box-shadow .2s ease}
.map-story-national:hover,.map-story-national:focus-visible{transform:translateY(-4px);box-shadow:0 14px 27px rgba(20,64,104,.23);outline:2px solid #84b8e9}
.map-story-national.is-selected{border-color:#276ec0;box-shadow:0 0 0 2px rgba(35,103,188,.15)}
.map-story-national span{font-size:9px;font-weight:850;letter-spacing:.1em;color:#4c769e}
.map-story-national b{font-size:17px;line-height:1.1}
.map-story-national small{font-size:10px;color:#667f97}
.map-story-layout .province-shape.map-story-selected{filter:brightness(.7);stroke:#dfff54;stroke-width:2.1}
.map-story-layout>.detail-card{max-width:none;display:block}
.map-story-layout>.detail-card .profile-kpju-card{margin-top:18px}
.map-story-layout>.detail-card .subsector-orbit{max-width:680px;margin:0 auto}
.map-story-layout>.detail-card .rank-list,.map-story-layout>.detail-card .mini-stats,.map-story-layout>.detail-card .detail-number{max-width:780px}
.map-story-layout+.source-note{margin-top:12px}
.map-story-layout~.metric-grid{margin-top:16px}
.map-story-layout .map-hint{font-size:13px;color:#5f7891}
.map-story-layout .map-head small{font-size:12px}
.map-story-layout .map-head h3{font-size:19px}
.map-story-layout .map-wrap .map-reveal{max-width:230px}
.map-story-layout .map-legend .legend-list span{font-size:11px}
.module-bar:has(#sentraGeoSelect) .controls{display:grid;grid-template-columns:minmax(190px,1fr) minmax(255px,1.4fr) minmax(190px,1fr) minmax(115px,.6fr);width:100%}
.module-bar:has(#sentraGeoSelect) .control,.module-bar:has(#sentraGeoSelect) .search-select{min-width:0}

@media(max-width:1350px){
  .map-story-region{padding:9px 10px;min-height:104px}
  .map-story-region strong{font-size:23px}
  .map-story-region b{font-size:13px}
}
@media(max-width:1100px){
  .map-story-layout>.map-card .map-wrap{height:780px}
  .map-story-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .map-story-layout>.map-card .map-wrap>svg[role="img"]{top:224px;height:440px}
  .map-story-layout .map-watermark{top:235px}
  .map-story-guides{display:none!important}
  .map-story-layout .map-legend{left:207px;right:245px}
}
@media(max-width:900px){
  .module-bar:has(#sentraGeoSelect) .controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .map-story-intro h3{font-size:20px}
  .map-story-layout>.map-card .map-wrap{height:1130px;margin:7px 8px 10px}
  .map-story-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;top:9px;left:8px;right:8px}
  .map-story-region{min-height:89px;padding:7px 9px}
  .map-story-region:nth-child(5){grid-column:1/-1}
  .map-story-region b{font-size:12px}
  .map-story-region strong{font-size:20px}
  .map-story-region small{font-size:9px}
  .map-story-layout>.map-card .map-wrap>svg[role="img"]{top:290px;left:1%;width:98%;height:330px}
  .map-story-layout .map-watermark{display:none}
  .map-story-national{bottom:200px;left:8px;width:166px;min-height:61px}
  .map-story-layout .map-wrap .map-reveal{bottom:200px;right:8px;max-width:160px;min-width:150px}
  .map-story-layout .map-legend{left:8px;right:8px;bottom:8px;max-width:none}
  .map-story-layout .map-legend b{display:block}
  .map-story-layout .map-legend .legend-list span{font-size:9px}
}
@media(max-width:500px){
  .module-bar:has(#sentraGeoSelect) .controls{grid-template-columns:1fr}
}
