/* Keep the map in a wide canvas and let its SVG viewBox handle zooming. */
@media (min-width:621px){
  .app-shell:not(.landing-mode),.app-shell.sidebar-collapsed:not(.landing-mode){grid-template-columns:72px minmax(0,1fr)}
  .app-shell:not(.landing-mode):has(.sidebar:hover),.app-shell:not(.landing-mode):not(.sidebar-collapsed){grid-template-columns:244px minmax(0,1fr)}
  .app-shell.landing-mode,.app-shell.sidebar-collapsed.landing-mode{grid-template-columns:minmax(0,1fr)}
  .sidebar,.sidebar-collapsed .sidebar{width:100%;padding:17px 10px;overflow:hidden;z-index:80;color:#123b69;background:linear-gradient(90deg,rgba(255,255,255,.60),rgba(255,255,255,.27) 58%,rgba(255,255,255,0));border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;transition:none}
  .sidebar:after{display:none}
  .sidebar:hover,.app-shell:not(.sidebar-collapsed) .sidebar{width:100%;background:linear-gradient(90deg,rgba(255,255,255,.76),rgba(255,255,255,.48) 62%,rgba(255,255,255,0));box-shadow:none}
  .sidebar .brand,.sidebar-collapsed .brand{justify-content:center;padding:0 2px 22px}
  .sidebar:hover .brand,.app-shell:not(.sidebar-collapsed) .brand{justify-content:flex-start;padding:0 8px 22px}
  .sidebar .brand>div:last-child,.sidebar .nav-caption,.sidebar #mainNav button span:last-child,.sidebar .sidebar-foot>div:last-child{display:none}
  .sidebar:hover .brand>div:last-child,.sidebar:hover .nav-caption,.sidebar:hover #mainNav button span:last-child,.sidebar:hover .sidebar-foot>div:last-child,
  .app-shell:not(.sidebar-collapsed) .sidebar .brand>div:last-child,.app-shell:not(.sidebar-collapsed) .sidebar .nav-caption,.app-shell:not(.sidebar-collapsed) .sidebar #mainNav button span:last-child,.app-shell:not(.sidebar-collapsed) .sidebar .sidebar-foot>div:last-child{display:block}
  .sidebar #mainNav button,.sidebar-collapsed #mainNav button{justify-content:center;color:#254966;padding:10px 8px}
  .sidebar:hover #mainNav button,.app-shell:not(.sidebar-collapsed) .sidebar #mainNav button{justify-content:flex-start;padding:10px 11px}
  .sidebar #mainNav button:hover{background:rgba(35,103,188,.11);color:#073576}
  .sidebar #mainNav button.active{background:rgba(255,255,255,.78);color:#0b3978;box-shadow:none}
  .app-shell.sidebar-collapsed .sidebar:not(:hover) #mainNav button{width:48px;height:48px;margin-inline:auto;border-radius:50%;padding:10px;justify-content:center}
  .app-shell.sidebar-collapsed .sidebar:not(:hover) #mainNav button.active{outline:1px solid rgba(35,103,188,.15)}
  .sidebar .nav-caption{color:#5d7896}
  .sidebar .brand strong,.sidebar .brand small,.sidebar .sidebar-foot b,.sidebar .sidebar-foot small{color:#123b69}
  .sidebar .sidebar-foot{border-color:rgba(20,73,126,.13)}
  .content{max-width:none;padding-inline:clamp(18px,2vw,46px)}
}
.map-story-layout>.map-card .map-wrap{height:clamp(600px,42vw,1320px);margin:8px 12px 10px;background:linear-gradient(180deg,#e9f7ff,#d9edfa 72%,#d2e8f6)}
.map-story-layout>.map-card .map-wrap>svg[role="img"]{position:absolute;top:clamp(104px,7vw,145px);left:1%;width:98%;height:calc(100% - 205px);min-width:0;max-width:none;filter:drop-shadow(0 5px 5px rgba(22,79,127,.12))}
.map-story-layout .map-watermark{top:102px}
.map-story-layout .map-legend{left:188px;right:74px;bottom:10px}
.map-story-layout .map-reveal{display:none}
.map-story-cards{top:12px;left:14px;right:14px;gap:9px}
.map-story-region{min-height:80px;padding:8px 11px}
.map-story-region b{font-size:13px}
.map-story-region strong{font-size:21px}
.map-story-guides{transition:opacity .25s ease}
.map-story-layout .map-wrap.is-focused .map-story-guides{opacity:0}
.map-story-back{position:absolute;top:112px;left:15px;z-index:8;display:none;align-items:center;gap:6px;padding:7px 11px;border:1px solid #c9dfed;border-radius:999px;background:rgba(255,255,255,.94);color:#123e71;font-family:inherit;font-size:11px;font-weight:800;line-height:1.2;box-shadow:0 5px 15px rgba(17,67,111,.10);cursor:pointer}
.map-story-layout .map-wrap.is-focused .map-story-back{display:flex}
.map-story-back:hover,.map-story-back:focus-visible{background:#eaf5ff;outline:2px solid #80b7e7}
.map-story-zoom{position:absolute;right:11px;bottom:12px;z-index:8;display:grid;overflow:hidden;border:1px solid #bdd8ea;border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 7px 20px rgba(15,60,111,.16)}
.map-story-zoom button{width:37px;height:36px;border:0;border-bottom:1px solid #dbe7f1;background:transparent;color:#153e70;font-size:23px;line-height:1;cursor:pointer}
.map-story-zoom button:last-child{border-bottom:0;font-size:20px}
.map-story-zoom button:hover,.map-story-zoom button:focus-visible{background:#eaf5ff;color:#0b56a9;outline:none}
.map-story-layout>.map-card.map-expanded{z-index:3000;inset:clamp(6px,1vw,18px);border-radius:23px}
.map-story-layout>.map-card.map-expanded .map-wrap{height:auto!important;min-height:0;flex:1;overflow:hidden;touch-action:none}
.map-story-layout>.map-card.map-expanded .map-wrap>svg[role="img"]{position:absolute!important;top:clamp(110px,9vh,165px)!important;left:1%!important;width:98%!important;height:calc(100% - 205px)!important;min-width:0!important;max-width:none!important}
.map-story-layout>.map-card.map-expanded .map-story-guides{min-width:0!important;width:100%!important;height:100%!important}
.map-story-layout>.map-card.map-expanded .map-story-cards{top:14px;left:20px;right:20px}
.map-story-layout>.map-card.map-expanded .map-story-region{min-height:90px;padding:10px 13px}
.map-story-layout>.map-card.map-expanded .map-story-region strong{font-size:24px}
.map-story-layout>.map-card.map-expanded .map-legend{bottom:14px}
.map-story-layout>.map-card.map-expanded .map-story-back{top:128px;left:20px}
.profile-tip-list>small{color:#173d67}
.profile-tip-list>span{color:#173d67}
.profile-tip-list>span i{background:#e4eefb;color:#103a70}
.profile-tip-list>span b,.profile-tip-list>span strong{color:#12365d}
@media(max-width:1100px){
  .map-story-layout>.map-card .map-wrap{height:clamp(570px,55vw,720px)}
  .map-story-layout>.map-card .map-wrap>svg[role="img"]{top:103px;height:calc(100% - 185px)}
}
@media(max-width:620px){
  .map-story-layout>.map-card .map-wrap{height:500px;margin:5px 5px 8px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x}
  .map-story-layout>.map-card .map-wrap>svg[role="img"]{top:83px;left:0;width:800px;max-width:none;height:350px;min-width:800px}
  .map-story-cards{top:6px;left:6px;right:auto;width:788px}
  .map-story-region{min-height:59px;padding:5px 7px}
  .map-story-region b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .map-story-region strong{font-size:15px}
  .map-story-zoom{right:8px;bottom:80px;position:sticky;float:right;margin-top:320px}
  .map-story-back{top:77px;left:8px;font-size:10px;padding:6px 9px}
  .map-story-layout .map-legend{left:8px;right:auto;width:340px;bottom:8px}
  .map-story-layout>.map-card.map-expanded{inset:5px 5px 69px}
  .map-story-layout>.map-card.map-expanded .map-wrap{overflow-x:auto;touch-action:pan-x}
  .map-story-layout>.map-card.map-expanded .map-wrap>svg[role="img"]{top:95px!important;left:0!important;width:900px!important;min-width:900px!important;height:calc(100% - 190px)!important}
  .map-story-layout>.map-card.map-expanded .map-story-cards{left:6px;right:auto;width:885px}
  .map-story-layout>.map-card.map-expanded .map-story-back{top:97px;left:9px}
}
