/* CityEngine network explorer V4. Scoped to the map and directory component. */
.network-explorer-v4 {
  --map-line: #3c547e;
  --map-muted: #bdcce5;
  --map-navy: #0b1428;
  --map-white: #f6f9ff;
  --map-text-edge: -.45px 0 #000, .45px 0 #000, 0 -.45px #000, 0 .65px #000, 0 1px 2px #0008;
}
.network-explorer-v4 .directory-toolbar {
  border-radius: 22px; border-color: #405c8a;
  background: linear-gradient(130deg, #152a47, #211d3b 75%);
  box-shadow: 0 18px 38px #0003, inset 0 1px 0 #ffffff0f;
}
.network-explorer-v4 .network-summary > span { min-height: 58px; padding: 11px 20px; border-radius: 16px; }
.network-explorer-v4 .network-summary strong { font-size: 1.8rem; letter-spacing: -.04em; }
.network-explorer-v4 .map-explorer-bar { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 27px 0 20px; }
.network-explorer-v4 .map-kicker { margin: 0 0 11px; color: #a6c6ff; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; }
.network-explorer-v4 .map-quick-views { display: flex; flex-wrap: wrap; gap: 9px; }
.network-explorer-v4 .map-quick-views button,
.network-explorer-v4 .map-display-controls button,
.network-explorer-v4 .map-tools button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 45px; padding: 11px 15px; border: 1px solid #02040b; border-radius: 12px;
  background: linear-gradient(140deg, #203a60, #13223c); color: #fff;
  font-size: .78rem; font-weight: 750; line-height: 1.4; text-align: center;
  text-shadow: var(--map-text-edge); -webkit-text-stroke: .2px #00000080;
  box-shadow: inset 0 1px 0 #ffffff26, 0 4px 14px #0004;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.network-explorer-v4 .map-quick-views button:before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--view-accent, #87baff); box-shadow: 0 0 9px var(--view-accent, #87baff); }
.network-explorer-v4 .map-quick-views button[data-map-view='texas'] { --view-accent: #ffca78; }
.network-explorer-v4 .map-quick-views button[data-map-view='houston'] { --view-accent: #62ebd7; }
.network-explorer-v4 .map-quick-views button[data-map-view='dfw'] { --view-accent: #c3a0ff; }
.network-explorer-v4 .map-quick-views button[data-map-view='colorado'] { --view-accent: #ff98be; }
.network-explorer-v4 .map-quick-views button[aria-pressed='true'] { border-color: var(--view-accent, #87baff); background: linear-gradient(135deg, #194ba7, #25265b); box-shadow: inset 0 1px 0 #ffffff33, 0 0 0 1px #080e20, 0 8px 24px #2541bb33; }
.network-explorer-v4 .map-quick-views button:hover,
.network-explorer-v4 .map-display-controls button:hover,
.network-explorer-v4 .map-tools button:hover { border-color: #95baff; color: #fff; box-shadow: inset 0 1px 0 #ffffff33, 0 5px 20px #0005; }
.network-explorer-v4 .map-view-label { margin: 0 0 8px; font-size: .76rem; color: #b7c9e4; white-space: nowrap; }
.network-explorer-v4 .map-shell { gap: 23px; align-items: stretch; }
.network-explorer-v4 .map-panel {
  position: relative; border-radius: 27px; border: 1px solid #5273a5;
  background: #0b152a; box-shadow: 0 26px 55px #0005, inset 0 1px 0 #ffffff14;
}
.network-explorer-v4 .map-panel:before { content: ''; display: block; height: 3px; background: linear-gradient(90deg, #498dff, #55e9d0 32%, #ac7bff 65%, #ffc36d); }
.network-explorer-v4 .map-heading { padding: 24px 25px 18px; align-items: center; background: radial-gradient(ellipse at 100% 0, #583b9a55, transparent 65%), linear-gradient(115deg, #173863, #172b4b); }
.network-explorer-v4 .map-heading .map-kicker { color: #93dce8; margin-bottom: 8px; }
.network-explorer-v4 .map-heading h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 8px; letter-spacing: -.035em; color: #fff; }
.network-explorer-v4 .map-heading p { color: #c5d8f3; font-size: .75rem; line-height: 1.6; }
.network-explorer-v4 .map-brand-mark { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 17px; border: 1px solid #8398c8; background: linear-gradient(145deg, #3154a2, #493075); color: #fff; font-size: 1.3rem; font-weight: 850; line-height: 1.05; box-shadow: inset 0 1px 0 #ffffff30, 0 8px 22px #0003; }
.network-explorer-v4 .map-brand-mark span { font-size: .38rem; letter-spacing: .15em; margin-top: 5px; }
.network-explorer-v4 .map-display-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 11px; padding: 15px 21px; background: #0c172c; border-top: 1px solid #354b70; }
.network-explorer-v4 .map-style-switch { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid #344968; border-radius: 14px; background: #080f20; }
.network-explorer-v4 .map-style-switch button { min-height: 44px; padding: 9px 13px; border-radius: 9px; background: #17263f; box-shadow: none; }
.network-explorer-v4 .map-style-switch button[aria-pressed='true'] { background: linear-gradient(135deg, #513bb3, #352572); border-color: #ab92ec; box-shadow: inset 0 1px 0 #ffffff2b; }
.network-explorer-v4 .map-display-controls .map-expand { background: linear-gradient(135deg, #076b77, #104c62); }
.network-explorer-v4 .map-expand:before { content: '⤢'; font-size: 1.1rem; line-height: 1; }
.network-explorer-v4 .map-expand[aria-expanded='true']:before { content: '↙'; }
.network-explorer-v4 .map-legend { gap: 12px 18px; padding: 0 23px 15px; background: #0c172c; color: #c7d9f2; font-size: .66rem; }
.network-explorer-v4 .legend-dot { width: 10px; height: 10px; background: #45e2b9; box-shadow: 0 0 0 3px #45e2b921; }
.network-explorer-v4 .legend-dot--soon { background: #78aaff; box-shadow: 0 0 0 3px #78aaff21; }
.network-explorer-v4 .legend-cluster { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border: 1px solid #b798ff; border-radius: 50%; background: #5536a1; color: #fff; font-size: .7rem; line-height: 1; font-style: normal; }
.network-explorer-v4 .map-anchor { border-top: 1px solid #40597f; border-bottom: 1px solid #40597f; }
.network-explorer-v4 #network-map { height: 530px; background: #0d192c; }
.network-explorer-v4[data-map-theme='dark'] #network-map .leaflet-tile-pane { filter: grayscale(1) invert(1) sepia(.42) hue-rotate(174deg) saturate(2.4) brightness(.86) contrast(.96); }
.network-explorer-v4[data-map-theme='street'] #network-map .leaflet-tile-pane { filter: none; }
.network-explorer-v4[data-map-theme='street'] #network-map { background: #dce6eb; }
.network-explorer-v4 .map-placeholder { min-height: 530px; padding: 35px 30px; border: 0; background: radial-gradient(ellipse at 50% 30%, #22497e66, transparent 65%), radial-gradient(ellipse at 15% 90%, #603ca744, transparent 60%), linear-gradient(130deg, #0b1b30, #121a35); }
.network-explorer-v4 .map-placeholder h3 { color: #f5f8ff; font-size: 1.85rem; max-width: 17ch; }
.network-explorer-v4 .map-placeholder p { color: #c3d5ef; }
.network-explorer-v4 .map-placeholder-orbit { position: relative; display: grid; place-items: center; width: 102px; height: 102px; border: 1px solid #527dc866; border-radius: 50%; margin-bottom: 25px; background: radial-gradient(circle, #21488999, #12234733 68%); box-shadow: 0 0 0 15px #3b70ab0d, 0 0 0 30px #3b70ab08; }
.network-explorer-v4 .map-placeholder-orbit span { color: #d6edff; font-size: 1.75rem; font-weight: 800; letter-spacing: -.07em; }
.network-explorer-v4 .map-placeholder-orbit i { position: absolute; width: 12px; height: 12px; background: #66f3d6; border: 2px solid #e3fff7; border-radius: 50%; top: 7px; left: 12px; box-shadow: 0 0 18px #66f3d688; }
.network-explorer-v4 .map-placeholder-orbit i:nth-child(2) { top: 45px; left: 94px; background: #ae8cff; border-color: #e9ddff; box-shadow: 0 0 18px #ae8cff88; }
.network-explorer-v4 .map-placeholder-orbit i:nth-child(3) { top: 93px; left: 32px; background: #ffca75; border-color: #fff1d4; box-shadow: 0 0 18px #ffca7588; }
.network-explorer-v4 .map-tools { gap: 10px; align-items: center; padding: 16px 20px 12px; background: #0d182d; border: 0; }
.network-explorer-v4 .map-tools button { background: linear-gradient(135deg, #116779, #16446b); font-size: .76rem; min-height: 44px; }
.network-explorer-v4 .map-tools button:nth-child(2) { background: linear-gradient(135deg, #6335b2, #422879); }
.network-explorer-v4 .map-gesture-hint { font-size: .65rem; color: #b0c6e4; margin-left: auto; }
.network-explorer-v4 .map-status { padding: 0 21px 18px; background: #0d182d; color: #b2c8e7; font-size: .71rem; }
.network-explorer-v4 .map-tools button:disabled,
.network-explorer-v4 .map-tools button:disabled:hover { color: #a9bad3; background: #1c2940; border-color: #3c4c69; text-shadow: none; -webkit-text-stroke: 0; box-shadow: none; transform: none; }
/* Only inner marker artwork scales. Leaflet owns the outer positioning transform. */
.network-explorer-v4 .ce-map-pin,
.network-explorer-v4 .ce-map-pin--live,
.network-explorer-v4 .ce-map-pin--soon,
.network-explorer-v4 .ce-map-pin--selected { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
.network-explorer-v4 .ce-pin-dot { width: 23px; height: 23px; border: 3px solid #e5f1ff; border-radius: 50%; background: linear-gradient(135deg, #729fff, #2858cf); box-shadow: 0 0 0 5px #5887ef30, 0 4px 12px #0009; transition: box-shadow .15s ease, transform .15s ease; }
.network-explorer-v4 .ce-map-pin--live .ce-pin-dot { background: linear-gradient(135deg, #54ebbd, #0b977b); border-color: #defff5; box-shadow: 0 0 0 5px #44d8b332, 0 4px 12px #0009; }
.network-explorer-v4 .ce-map-pin--selected .ce-pin-dot { border-color: #ffe6ac; box-shadow: 0 0 0 6px #eeb34870, 0 0 0 10px #eeb34823, 0 6px 18px #000b; transform: scale(1.12); }
.network-explorer-v4 .ce-map-pin:hover .ce-pin-dot { border-color: #fff; box-shadow: 0 0 0 6px #90dfff50, 0 4px 15px #000b; }
.network-explorer-v4 .ce-map-cluster { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; box-shadow: none; }
.network-explorer-v4 .ce-cluster-content { display: grid !important; place-items: center; width: 52px; height: 52px; padding: 3px; border: 1px solid #e9e4ff; border-radius: 50%; background: conic-gradient(#62e7bf var(--live-angle, 0deg), #a081ff 0); box-shadow: 0 0 0 4px #9774ff33, 0 4px 18px #0009; }
.network-explorer-v4 .ce-cluster-center { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 100%; background: linear-gradient(135deg, #3b296c, #1c2444); border-radius: 50%; box-shadow: inset 0 1px 6px #ffffff22; }
.network-explorer-v4 .ce-cluster-number { color: #fff; font-size: 1rem; font-weight: 850; line-height: 1; text-shadow: 0 1px 2px #000; }
.network-explorer-v4 .ce-cluster-label { color: #e4ddff; font-size: .42rem; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.network-explorer-v4 .ce-map-cluster:hover .ce-cluster-content { box-shadow: 0 0 0 5px #b29bff55, 0 6px 22px #000b; }
/* Higher specificity than the dynamically loaded Leaflet stylesheet. */
.ce-public-v3 .network-explorer-v4 .leaflet-bar { border: 1px solid #486a99; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px #0006; }
.ce-public-v3 .network-explorer-v4 .leaflet-bar a,
.ce-public-v3 .network-explorer-v4 .leaflet-bar a:hover,
.ce-public-v3 .network-explorer-v4 .leaflet-bar a:focus { width: 44px; height: 44px; min-height: 44px; padding: 0; line-height: 44px; border-radius: 0; background: #173969; color: #fff; border-color: #45618e; font-size: 24px; text-shadow: 0 1px 2px #000; transform: none; }
.ce-public-v3 .network-explorer-v4 .leaflet-bar a.leaflet-disabled,
.ce-public-v3 .network-explorer-v4 .leaflet-bar a.leaflet-disabled:hover,
.ce-public-v3 .network-explorer-v4 .leaflet-bar a.leaflet-disabled:focus { color: #a9bad3; background: #1c2940; }
/* V4.1: keep the required map credit visible without the bright corner strip. */
.ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution {
  margin: 0 8px 8px 0; padding: 3px 7px; border: 1px solid #34435d; border-radius: 7px;
  background: #0b1428; color: #b8c6dc; font-size: 11px !important; font-weight: 400; line-height: 1.45;
  letter-spacing: 0; text-shadow: none; -webkit-text-stroke: 0; box-shadow: none;
}
.ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a {
  display: inline; min-height: 0; min-width: 0; width: auto; height: auto; margin: 0; padding: 0;
  border: 0; border-radius: 2px; background: transparent; color: inherit; font: inherit; font-weight: 500;
  text-align: inherit; text-decoration: underline; text-decoration-color: #7285a4;
  text-decoration-thickness: 1px; text-underline-offset: 2px; overflow-wrap: normal;
  text-shadow: none; -webkit-text-stroke: 0; box-shadow: none; transform: none; transition: none;
}
.ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a:hover,
.ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a:focus-visible {
  color: #eef4ff; text-decoration-color: currentColor;
}
.ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a:focus-visible {
  outline: 2px solid #8edcf0; outline-offset: 2px; box-shadow: none;
}
.ce-public-v3 .network-explorer-v4 .leaflet-tooltip { border: 1px solid #7798ce; border-radius: 10px; background: #101f39; color: #f6f9ff; padding: 10px 13px; font-size: .76rem; box-shadow: 0 8px 25px #0007; }
.ce-public-v3 .network-explorer-v4 .leaflet-tooltip-top:before { border-top-color: #101f39; }
.network-explorer-v4 .selection-panel { border: 1px solid #7163a1; border-radius: 25px; background: radial-gradient(ellipse at 100% 0, #57399655, transparent 62%), linear-gradient(160deg, #1b2343, #0e1b30 72%); box-shadow: 0 22px 44px #0004; }
.network-explorer-v4 .selection-head { padding: 25px 25px 22px; background: linear-gradient(130deg, #3c2863aa, #232845); border-bottom-color: #65518c; }
.network-explorer-v4 .selection-head .map-kicker { color: #cbb2ff; margin-bottom: 9px; }
.network-explorer-v4 .selection-head h2 { color: #fff; font-size: 1.35rem; }
.network-explorer-v4 .selection-head p { color: #d0d1eb; font-size: .78rem; }
.network-explorer-v4 .market-selection { padding: 27px 25px; }
.network-explorer-v4 .market-selection h3 { font-size: 1.85rem; color: #fff; line-height: 1.1; }
.network-explorer-v4 .market-selection p { color: #c8d8ef; font-size: .87rem; }
.network-explorer-v4 .selection-placeholder { justify-content: start; min-height: 340px; }
.network-explorer-v4 .selection-visual { position: relative; width: 118px; height: 100px; margin: 8px 0 28px; }
.network-explorer-v4 .selection-visual span { position: absolute; width: 68px; height: 68px; left: 22px; top: 16px; border-radius: 20px; border: 1px solid #a894e9; background: linear-gradient(140deg, #7044bc, #213c76); box-shadow: 0 0 0 12px #8055c512, 0 12px 24px #0005; }
.network-explorer-v4 .selection-visual span:before, .network-explorer-v4 .selection-visual span:after { content: ''; position: absolute; background: #b3a5e9; height: 1px; width: 85px; left: -10px; top: 33px; transform: rotate(32deg); }
.network-explorer-v4 .selection-visual span:after { transform: rotate(-34deg); }
.network-explorer-v4 .selection-visual i { position: absolute; width: 14px; height: 14px; border: 2px solid #e7fff9; border-radius: 50%; left: 6px; top: 17px; background: #54dfba; box-shadow: 0 0 15px #54dfba55; }
.network-explorer-v4 .selection-visual i:nth-of-type(2) { left: 98px; top: 70px; background: #ffca75; border-color: #fff0d4; }
.network-explorer-v4 .selection-visual i:nth-of-type(3) { left: 96px; top: 12px; background: #90baff; border-color: #e6f1ff; }
.network-explorer-v4 .selection-hint { display: flex; gap: 12px; align-items: start; padding: 17px; border: 1px solid #425678; border-radius: 14px; background: #0c172b66; margin-top: 13px; }
.network-explorer-v4 .selection-hint > span { color: #aacaef; font-size: 1.1rem; line-height: 1.2; }
.network-explorer-v4 .selection-hint p { font-size: .76rem; margin: 0; line-height: 1.65; }
.network-explorer-v4 .market-identity { display: flex; gap: 13px; align-items: center; margin-bottom: 20px; }
.network-explorer-v4 .market-monogram { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border: 1px solid #b198e5; border-radius: 15px; background: linear-gradient(135deg, #6443a8, #263a70); color: #fff; font-size: .98rem; font-weight: 800; text-shadow: 0 1px 2px #000; box-shadow: inset 0 1px 0 #ffffff28, 0 6px 18px #0004; }
.network-explorer-v4 .market-selection[data-status='live'] .market-monogram { background: linear-gradient(135deg, #087c76, #174d70); border-color: #6bcbb4; }
.network-explorer-v4 .market-identity .eyebrow { margin: 0; font-size: .61rem; color: #c9c2f7; }
.network-explorer-v4 .market-identity .eyebrow:before { display: none; }
.network-explorer-v4 .market-selection .status-pill { margin-top: 4px; }
.network-explorer-v4 .market-selection-domain { font-size: .9rem; color: #d9e6ff; margin: 19px 0 15px; }
.network-explorer-v4 .market-selection .selection-meta { grid-template-columns: minmax(0, 1fr); gap: 9px; margin: 18px 0; }
.network-explorer-v4 .selection-meta > div { border: 1px solid #3c5475; background: #132642; border-radius: 12px; padding: 13px 15px; }
.network-explorer-v4 .selection-meta span { color: #aec6e8; margin-bottom: 4px; }
.network-explorer-v4 .selection-meta strong { color: #f4f8ff; font-size: .81rem; line-height: 1.5; display: block; }
.network-explorer-v4 .market-selection-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 23px; }
.network-explorer-v4 .market-selection-actions a { width: 100%; min-height: 47px; padding: 12px 15px; border-radius: 12px; font-size: .82rem; }
.network-explorer-v4 .market-selection-note { padding-top: 18px; border-top: 1px solid #3c4e6c; margin-top: 21px; color: #b1c5e2 !important; font-size: .75rem !important; line-height: 1.7; }
.network-explorer-v4 .map-shell.is-expanded { grid-template-columns: minmax(0, 1fr); }
.network-explorer-v4 .map-shell.is-expanded #network-map { height: min(72vh, 760px); min-height: 460px; }
.network-explorer-v4 .map-shell.is-expanded .selection-panel { display: grid; grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr); }
.network-explorer-v4 .map-shell.is-expanded .selection-head { border-bottom: 0; border-right: 1px solid #65518c; }
.network-explorer-v4 .map-shell.is-expanded .selection-placeholder { min-height: 0; }
.network-explorer-v4 .map-shell.is-expanded .selection-visual { display: none; }
.network-explorer-v4 .map-shell.is-expanded .market-selection .selection-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.network-explorer-v4 .map-shell.is-expanded .market-selection-actions { max-width: 430px; }
.network-explorer-v4 button:focus-visible { outline: 3px solid #78efff; outline-offset: 4px; }
.ce-public-v3 .network-explorer-v4 .leaflet-control a:focus-visible,
.ce-public-v3 .network-explorer-v4 .ce-map-pin:focus-visible,
.ce-public-v3 .network-explorer-v4 .ce-map-cluster:focus-visible { outline: 3px solid #061022; outline-offset: 2px; box-shadow: 0 0 0 6px #78efff; }
.ce-public-v3 .network-explorer-v4 .leaflet-bar a:focus-visible { outline: 3px solid #78efff; outline-offset: -4px; box-shadow: inset 0 0 0 6px #061022; }
@media (max-width: 1100px) {
  .network-explorer-v4 .map-explorer-bar { display: block; }
  .network-explorer-v4 .map-view-label { margin: 15px 0 0; }
  .network-explorer-v4 .map-gesture-hint { width: 100%; margin: 2px 0 0; }
}
@media (max-width: 850px) {
  .network-explorer-v4 .map-shell { grid-template-columns: minmax(0, 1fr); }
  .network-explorer-v4 .selection-placeholder { min-height: 0; }
  .network-explorer-v4 .selection-visual { width: 118px; margin-bottom: 22px; }
  .network-explorer-v4 .market-selection .selection-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-explorer-v4 .market-selection-actions { max-width: 500px; }
  .network-explorer-v4 .map-gesture-hint { width: auto; margin-left: auto; }
}
@media (max-width: 650px) {
  .network-explorer-v4 .map-heading { padding: 21px 20px 17px; gap: 13px; }
  .network-explorer-v4 .map-heading h2 { font-size: 1.37rem; }
  .network-explorer-v4 .map-brand-mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; font-size: 1.1rem; }
  .network-explorer-v4 .map-brand-mark span { font-size: .32rem; }
  .network-explorer-v4 .map-quick-views { gap: 8px; }
  .network-explorer-v4 .map-quick-views button { padding: 10px 12px; font-size: .73rem; }
  .network-explorer-v4 .map-display-controls { padding: 13px 15px; gap: 9px; }
  .network-explorer-v4 .map-display-controls button { padding: 9px 11px; font-size: .7rem; }
  .network-explorer-v4 .map-legend { padding: 0 17px 14px; gap: 9px 14px; font-size: .62rem; }
  .network-explorer-v4 #network-map { height: 440px; }
  .network-explorer-v4 .map-placeholder { min-height: 440px; padding: 35px 22px; }
  .network-explorer-v4 .map-placeholder h3 { font-size: 1.65rem; }
  .network-explorer-v4 .map-tools { padding: 14px 15px 12px; }
  .network-explorer-v4 .map-tools button { padding: 10px 12px; font-size: .71rem; }
  .network-explorer-v4 .map-gesture-hint { width: 100%; margin: 2px 0 0; }
  .network-explorer-v4 .map-status { padding: 0 17px 16px; }
  .network-explorer-v4 .market-selection, .network-explorer-v4 .selection-head { padding: 23px; }
  .network-explorer-v4 .map-shell.is-expanded .selection-panel { display: block; }
  .network-explorer-v4 .map-shell.is-expanded .selection-head { border-right: 0; border-bottom: 1px solid #65518c; }
  .network-explorer-v4 .map-shell.is-expanded #network-map { min-height: 440px; height: 65vh; }
}
@media (max-width: 430px) {
  .network-explorer-v4 .map-explorer-bar { margin-top: 23px; }
  .network-explorer-v4 .map-quick-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-explorer-v4 .map-quick-views button:first-child { grid-column: 1 / -1; }
  .network-explorer-v4 .map-display-controls { align-items: stretch; }
  .network-explorer-v4 .map-style-switch { flex: 1 1 100%; }
  .network-explorer-v4 .map-style-switch button { flex: 1 1 50%; }
  .network-explorer-v4 .map-expand { width: 100%; }
  .network-explorer-v4 .network-summary > span { padding: 10px 13px; min-height: 53px; }
  .network-explorer-v4 .network-summary strong { font-size: 1.45rem; }
  .network-explorer-v4 .market-selection .selection-meta,
  .network-explorer-v4 .map-shell.is-expanded .market-selection .selection-meta { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .network-explorer-v4 button, .network-explorer-v4 .ce-pin-dot { transition: none; }
  .network-explorer-v4 .ce-map-pin--selected .ce-pin-dot { transform: none; }
}
@media (forced-colors: active) {
  .network-explorer-v4[data-map-theme='dark'] #network-map .leaflet-tile-pane { filter: none; }
  .network-explorer-v4 button { forced-color-adjust: auto; text-shadow: none; -webkit-text-stroke: 0; }
  .network-explorer-v4 .ce-pin-dot, .network-explorer-v4 .ce-cluster-content { border: 3px solid CanvasText; background: Canvas; box-shadow: none; }
  .network-explorer-v4 .ce-cluster-center, .network-explorer-v4 .ce-cluster-number, .network-explorer-v4 .ce-cluster-label { background: Canvas; color: CanvasText; }
  .ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a,
  .ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a:hover,
  .ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a:focus-visible { color: LinkText; text-decoration-color: currentColor; }
  .ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution a:focus-visible { outline-color: Highlight; }
}
@media print {
  .network-explorer-v4 .map-explorer-bar, .network-explorer-v4 .map-display-controls { display: none !important; }
  .ce-public-v3 .network-explorer-v4 #network-map .leaflet-control-attribution { background: #fff; color: #263248; border-color: #a6b0bf; }
}
