/* IU Map: styling mirrors the original map configuration (teal gradient ground,
   navy #001B51 popup title bar, light grey popup body, square corners). */
mapplic-map.iu-map, .iu-map {
  --navy: #001B51;
  --ink: #0e1a33;
  --paper: #f5f5f5;
  --line: rgba(255, 255, 255, 0.18);
  display: block;
  position: relative;
  color: #fff;
  background: linear-gradient(to bottom, #00545E 9%, #002024 100%);
  padding-top: 50px;
  font-family: "Euclid Flex", arial, sans-serif;
}
.iu-map *, .iu-map *::before, .iu-map *::after { box-sizing: border-box; }
.iu-map-bar {
  position: absolute; top: 12px; left: 12px; right: calc(340px + 60px); z-index: 6;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;
}
.iu-btn {
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  color: #fff; background: var(--navy); border: 1px solid var(--line);
  padding: 9px 12px; cursor: pointer; border-radius: 0;
}
.iu-btn:hover { background: #0a2a6b; }
.iu-btn:focus-visible, .iu-pin:focus-visible, .iu-chip:focus-visible, .iu-list button:focus-visible, .iu-search:focus-visible {
  outline: 2px solid #62d3e8; outline-offset: 2px;
}
.iu-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.iu-chips[hidden] { display: none; }
.iu-chip {
  font: inherit; font-size: 12.5px; color: #fff; cursor: pointer;
  background: rgba(2, 28, 80, 0.9); border: 1px solid var(--line); border-radius: 0;
  padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px;
}
.iu-chip i, .iu-list h6 i, .iu-pop-cat span::before {
  width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block;
  box-shadow: 0 0 0 1.5px #fff; flex: none;
}
.iu-chip.is-on { background: #fff; color: var(--navy); }
.iu-map-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.iu-stage { position: relative; overflow: hidden; min-height: 280px; touch-action: pan-y; cursor: default; }
.iu-stage.is-zoomed { touch-action: none; cursor: grab; }
.iu-stage.is-dragging { cursor: grabbing; }
.iu-canvas { position: absolute; left: 0; top: 0; width: 100%; max-width: 100%; transform-origin: 0 0; will-change: transform; }
.iu-base { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.iu-pins { position: absolute; inset: 0; }
.iu-pin {
  position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; padding: 0;
  border-radius: 50%; border: 2px solid #fff; background: var(--c); cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transform: scale(calc(1 / var(--z, 1))); transition: transform 0.15s;
}
.iu-pin--icon { z-index: 1; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-width: 2px; overflow: hidden; }
.iu-pin--icon img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 1px; pointer-events: none; }
@media (max-width: 767.98px) { .iu-pin--icon { width: 24px; height: 24px; margin: -12px 0 0 -12px; } .iu-pin:not(.iu-pin--icon) { width: 14px; height: 14px; margin: -7px 0 0 -7px; } }
.iu-pin:hover, .iu-pin.is-active { transform: scale(calc(1.25 / var(--z, 1))); z-index: 3; }
.iu-pin[hidden] { display: none; }
.iu-tip {
  position: absolute; z-index: 7; transform: translate(-50%, calc(-100% - 10px)); pointer-events: none;
  background: var(--navy); color: #fff; font-size: 13px; padding: 6px 9px; white-space: nowrap; max-width: 80%;
  overflow: hidden; text-overflow: ellipsis;
}
.iu-tip[hidden] { display: none; }
.iu-controls { position: absolute; top: 12px; right: 12px; z-index: 6; display: flex; flex-direction: column; gap: 4px; }
.iu-controls .iu-btn { width: 34px; height: 34px; padding: 0; font-size: 18px; }
.iu-reset { position: absolute; right: 12px; bottom: 12px; z-index: 6; }
.iu-popup {
  position: absolute; z-index: 8; left: 12px; bottom: 12px; width: min(600px, calc(100% - 24px)); max-height: calc(100% - 24px);
  display: flex; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.iu-popup[hidden] { display: none; }
.iu-pop-img { flex: 0 0 42%; background: #fff; }
/* Asset cards are all 547x831: show the whole card at that ratio, same size every time */
.iu-popup.has-img { height: min(400px, calc(100% - 24px)); }
.iu-popup.has-img .iu-pop-img { flex: 0 0 auto; height: 100%; aspect-ratio: 547 / 831; }
.iu-popup.has-img .iu-pop-img img { object-fit: cover; object-position: center; }
.iu-popup.is-logo .iu-pop-img { background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; }
.iu-popup.is-logo .iu-pop-img img { height: auto; max-height: 100%; object-fit: contain; }
.iu-pop-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.iu-pop-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow: auto; }
.iu-pop-head { background: var(--navy); color: #fff; padding: 16px 44px 16px 20px; position: relative; }
.iu-pop-head h5 { margin: 0; color: #fff; font-size: 17px; line-height: 1.3; }
.iu-pop-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; background: none; color: #fff; font-size: 24px; cursor: pointer; }
.iu-pop-body { padding: 12px 20px 18px; font-size: 12.5px; line-height: 1.45; }
.iu-pop-body p { margin: 0 0 8px; }
.iu-pop-cat { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #4a5670; }
.iu-pop-cat span { display: inline-flex; align-items: center; gap: 6px; }
.iu-pop-cat span::before { content: ""; box-shadow: none; }
.iu-pop-about strong { display: block; color: var(--navy); }
.iu-pop-about ul { padding-left: 0; list-style: none; }
.iu-pop-meta { color: #4a5670; }
.iu-pop-meta a { color: var(--navy); }
.iu-pop-link { display: inline-block; margin-top: 4px; color: #fff; background: var(--navy); padding: 9px 14px; text-decoration: none; font-weight: 600; }
.iu-pop-link:hover { background: #0a2a6b; color: #fff; }
.iu-side { background: rgba(2, 28, 80, 0.92); border-left: 1px solid var(--line); display: flex; flex-direction: column; max-height: 620px; min-width: 0; }
.iu-search {
  font: inherit; font-size: 14px; margin: 12px; padding: 10px 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 0;
}
.iu-search::placeholder { color: rgba(255, 255, 255, 0.65); }
.iu-list { overflow: auto; padding: 0 12px 12px; flex: 1; }
.iu-list h6 { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-size: 13px; color: #fff; letter-spacing: 0.02em; }
.iu-list h6 span { margin-left: auto; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.iu-list ul { list-style: none; margin: 0; padding: 0; }
.iu-list li button {
  font: inherit; font-size: 13.5px; text-align: left; width: 100%; color: rgba(255, 255, 255, 0.88);
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 7px 2px; cursor: pointer;
}
.iu-list li button:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.iu-empty { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.iu-map:fullscreen { padding-top: 50px; overflow: auto; }
.iu-map:fullscreen .iu-side { max-height: calc(100vh - 50px); }
@media (max-width: 900px) {
  .iu-map-body { grid-template-columns: minmax(0, 1fr); }
  .iu-map-bar { right: 60px; }
  .iu-side { border-left: 0; border-top: 1px solid var(--line); max-height: 360px; }
  .iu-popup { flex-direction: column; }
  .iu-pop-img { flex-basis: 140px; }
  .iu-popup.has-img { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) { .iu-pin { transition: none; } }

/* ---- Interaction layer */
.iu-canvas.is-gliding { transition: transform 0.45s cubic-bezier(.2,.7,.2,1); }
.iu-pin { opacity: 0; }
.iu-map.is-in .iu-pin { animation: iu-drop 0.45s cubic-bezier(.2,.8,.3,1.3) var(--d, 0ms) both; }
@keyframes iu-drop { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
.iu-pin.is-hot, .iu-pin.is-active { z-index: 3; box-shadow: 0 0 0 4px rgba(98, 211, 232, 0.55), 0 2px 8px rgba(0,0,0,.5); }
.iu-pin.is-active::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid #62d3e8; pointer-events: none;
  animation: iu-ring 1.6s ease-out infinite;
}
@keyframes iu-ring { from { opacity: .9; transform: scale(.8); } to { opacity: 0; transform: scale(1.6); } }
.iu-pin--icon.is-active { overflow: visible; }
.iu-pin--icon.is-active img { border-radius: 50%; }
.iu-tip strong { display: block; font-weight: 600; }
.iu-tip span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; opacity: .85; margin-top: 2px; }
.iu-tip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); border: 1px solid #fff; }
.iu-tip { white-space: normal; max-width: 280px; line-height: 1.3; }
.iu-chip b { font-weight: 600; opacity: .7; margin-left: 2px; }
.iu-list button.is-hot { background: rgba(98, 211, 232, 0.12); }
.iu-list button.is-current { background: rgba(98, 211, 232, 0.22); box-shadow: inset 3px 0 0 #62d3e8; }
.iu-pop-nav { position: sticky; bottom: 0; background: var(--paper, #f5f5f5); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 20px; border-top: 1px solid #dde3ec; margin-top: auto; font-size: 12.5px; color: #4a5670; }
.iu-pop-nav button { border: 0; background: none; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 4px; }
.iu-pop-nav button:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .iu-map.is-in .iu-pin { animation: none; opacity: 1; }
  .iu-canvas.is-gliding { transition: none; }
  .iu-pin.is-active::after { animation: none; }
}

/* ---- Phones: the location card opens as a bottom sheet over the page */
@media (max-width: 767.98px) {
  .iu-popup, .iu-popup.has-img {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: none;
    height: auto; max-height: 72vh; z-index: 1050; flex-direction: row; align-items: stretch;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  }
  .iu-popup.has-img .iu-pop-img { height: auto; width: 34vw; flex: 0 0 34vw; aspect-ratio: 547 / 831; align-self: flex-start; }
  .iu-popup.is-logo .iu-pop-img { padding: 10px; }
  .iu-pop-main { max-height: 72vh; }
  .iu-pop-head { padding: 12px 40px 12px 14px; }
  .iu-pop-head h5 { font-size: 15px; }
  .iu-pop-body { padding: 10px 14px 12px; font-size: 12px; }
  .iu-pop-nav { padding: 8px 14px; }
}

@media (max-width: 767.98px) {
  .iu-stage { aspect-ratio: auto !important; width: 100%; height: 58vh; min-height: 300px; max-height: 460px; }
}

/* ---- Side panel: filter and collapsible categories */
.iu-map { padding-top: 0; }
.iu-side .iu-search { margin: 12px 12px 8px; }
.iu-filter { margin: 0 12px 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); }
.iu-filter-toggle {
  font: inherit; font-size: 14px; font-weight: 600; color: #fff; width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; background: #0a3480; border: 0; cursor: pointer; text-align: left;
}
.iu-filter-toggle:hover { background: #0e3f98; }
.iu-filter-toggle span { flex: 1; }
.iu-filter-n { font-style: normal; font-size: 12px; background: #62d3e8; color: var(--navy); border-radius: 10px; padding: 2px 8px; }
.iu-chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
[aria-expanded="true"] > .iu-chev { transform: rotate(-135deg) translate(-2px, -1px); }
.iu-side .iu-chips { display: flex; flex-direction: column; gap: 0; padding: 4px 0; max-height: 240px; overflow: auto; }
.iu-side .iu-chips[hidden] { display: none; }
.iu-side .iu-chip { width: 100%; border: 0; background: none; padding: 8px 12px; font-size: 13px; text-align: left; }
.iu-side .iu-chip:hover { background: rgba(255,255,255,0.07); }
.iu-side .iu-chip b { margin-left: auto; }
.iu-side .iu-chip.is-on { background: rgba(98, 211, 232, 0.18); color: #fff; box-shadow: inset 3px 0 0 #62d3e8; }
.iu-chip-clear { font: inherit; font-size: 12.5px; color: #62d3e8; background: none; border: 0; text-align: left; padding: 8px 12px; cursor: pointer; text-decoration: underline; }
.iu-chip-clear[hidden] { display: none; }
.iu-list-tools { display: flex; justify-content: space-between; align-items: center; margin: 2px 12px 2px; font-size: 12px; color: rgba(255,255,255,0.65); }
.iu-expand-all { font: inherit; font-size: 12px; color: #62d3e8; background: none; border: 0; cursor: pointer; padding: 4px 0; }
.iu-expand-all:hover { text-decoration: underline; }
.iu-list h6 { margin: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.iu-grp {
  font: inherit; font-size: 13.5px; color: #fff; width: 100%; display: flex; align-items: center; gap: 9px;
  background: none; border: 0; padding: 11px 2px; cursor: pointer; text-align: left;
}
.iu-grp:hover { background: rgba(255,255,255,0.05); }
.iu-grp i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px #fff; flex: none; }
.iu-grp b { flex: 1; font-weight: 600; }
.iu-grp span { color: rgba(255,255,255,0.6); font-size: 12px; font-variant-numeric: tabular-nums; }
.iu-list ul[hidden] { display: none; }
.iu-list ul { padding: 2px 0 8px 19px; }
.iu-list h6 > i, .iu-list h6 > span { display: none; }

/* ---- Busy spots fan out into a ring (see openFan in iu-map.js) */
.iu-pin.in-fan { visibility: hidden; }
.iu-map .iu-base, .iu-map .iu-pins { transition: filter .25s, opacity .25s; }
.iu-stage.is-fanning .iu-base { filter: brightness(.88); }
.iu-stage.is-fanning .iu-pins { opacity: .65; }
.iu-fan { position: absolute; z-index: 8; width: 0; height: 0; }
.iu-fan-disc {
  position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,27,81,.42) 0, rgba(0,27,81,.32) 60%, rgba(0,27,81,0) 72%);
  transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .22s, transform .3s cubic-bezier(.2,.8,.3,1);
}
.iu-fan.open .iu-fan-disc { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.iu-fan-hit { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); border-radius: 50%; }
.iu-fan-lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.iu-fan-lines line { stroke: rgba(255,255,255,.85); stroke-width: 1.2; opacity: 0; transition: opacity .25s var(--dl, 0ms); }
.iu-fan.open .iu-fan-lines line { opacity: 1; }
.iu-fan-pin {
  position: absolute; left: 0; top: 0; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--c); overflow: hidden; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.45); z-index: 2;
  transform: translate(var(--sx), var(--sy)); transition: transform .32s cubic-bezier(.2,.8,.3,1.25) var(--dl, 0ms), box-shadow .15s;
}
.iu-fan.open .iu-fan-pin { transform: translate(var(--ox), var(--oy)); }
.iu-fan-pin img { width: 100%; height: 100%; object-fit: contain; padding: 1px; display: block; pointer-events: none; }
.iu-fan-pin:hover, .iu-fan-pin:focus-visible { z-index: 3; outline: none; box-shadow: 0 0 0 4px rgba(98,211,232,.55), 0 2px 8px rgba(0,0,0,.5); }
@media (prefers-reduced-motion: reduce) { .iu-fan-pin, .iu-fan-disc, .iu-fan-lines line { transition: none; } }
.iu-controls, .iu-reset { z-index: 9; }

.iu-fan-label {
  position: absolute; left: 0; z-index: 4; transform: translate(-50%, 0); pointer-events: none;
  width: max-content; max-width: min(320px, 80vw); text-align: center;
  background: var(--navy, #001B51); color: #fff; padding: 8px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .2s .1s;
}
.iu-fan-label.is-below { transform: translate(-50%, 0); }
.iu-fan.open .iu-fan-label { opacity: 1; }
.iu-fan-label strong { display: block; font-size: 14px; line-height: 1.3; }
.iu-fan-label span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.75); margin-top: 2px; }
.iu-fan-label span i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); border: 1px solid #fff; }

/* ---- "Cmd/Ctrl + scroll to zoom" hint, bottom right beside Reset */
.iu-hint {
  position: absolute; right: 86px; bottom: 12px; z-index: 9; pointer-events: none;
  font-size: 12.5px; line-height: 1; color: #fff; background: rgba(0,27,81,.78); border: 1px solid rgba(255,255,255,.18);
  padding: 9px 11px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, transform .2s, box-shadow .2s;
}
.iu-hint kbd { font: inherit; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 3px; padding: 3px 6px; }
.iu-hint.is-alert { background: #001B51; box-shadow: 0 0 0 2px #62d3e8; transform: translateY(-2px); }
@media (hover: none), (pointer: coarse) { .iu-hint { display: none; } }

/* sub-sector icons are white line art: give them breathing room inside the pin */
.iu-pin--sub img, .iu-fan-pin.is-sub img { padding: 17% !important; object-fit: contain; }

/* sub-sector icon in the filter, the category list and the fan label */
.iu-map i.iu-dot-ic { width: 26px !important; height: 26px !important; border-radius: 50%; background: var(--c) !important; box-shadow: 0 0 0 1.5px #fff !important; flex: none; display: inline-flex; overflow: hidden; }
.iu-map i.iu-dot-ic img { width: 100%; height: 100%; padding: 4px; object-fit: contain; display: block; }
.iu-fan-label span i.iu-dot-ic { width: 20px !important; height: 20px !important; }

/* ---- category list doubles as the filter */
.iu-filter-help { margin: 0; padding: 10px 12px 4px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.85); }
.iu-side .iu-chips { flex-direction: column; padding: 0 0 6px; max-height: none; overflow: visible; }
.iu-filter-n { white-space: nowrap; }
.iu-grp { position: relative; }
.iu-list h6 { transition: background .15s, opacity .15s; }
.iu-list h6.is-on { background: rgba(98,211,232,.14); box-shadow: inset 3px 0 0 #62d3e8; }
.iu-list h6.is-on .iu-grp { padding-left: 8px; }
.iu-list h6.is-off { opacity: .55; }
.iu-list h6.is-off:hover { opacity: .9; }
.iu-tick { display: none; width: 18px; height: 18px; border-radius: 50%; background: #62d3e8; flex: none; position: relative; }
.iu-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #001B51; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.iu-list h6.is-on .iu-tick { display: inline-block; }
.iu-list.is-nudge h6 { animation: iu-nudge 1.1s ease 1; }
@keyframes iu-nudge { 0%, 100% { background: transparent; } 35% { background: rgba(98,211,232,.2); } }
@media (prefers-reduced-motion: reduce) { .iu-list.is-nudge h6 { animation: none; } }

/* homepage: full-colour sector icon as the category marker */
.iu-map i.iu-dot-ic.is-full img { padding: 0; }
/* the arrow is its own target for opening and closing a list */
.iu-collapse { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: -6px -8px -6px 0; border-radius: 4px; cursor: pointer; flex: none; }
.iu-collapse:hover { background: rgba(255,255,255,.14); }
[aria-expanded="true"] .iu-collapse .iu-chev { transform: rotate(-135deg) translate(-2px, -1px); }
