/* Shared by the shell and its same-origin map panel: one vertical section list. */
.wslam-section-navigation {
  --section-text: #12304b; --section-muted: #536a7a; --section-accent: #086b73;
  position: relative !important; display: block !important; flex: 0 0 auto;
  height: auto !important; width: 100%; margin: 10px 0 16px;
  border: 1px solid var(--line, #dce8ed); border-radius: 12px;
  background: var(--surface, #fff); color: var(--section-text);
  z-index: auto !important; overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
}
[data-theme="dark"] .wslam-section-navigation {
  --section-text: #f4f1ea; --section-muted: #a9a39a; --section-accent: #36c2a4;
}
.wslam-section-navigation[hidden] { display: none !important; }
body.v2 .wslam-section-navigation .wsv2-section-menu-toggle,
.wslam-section-navigation .wsv2-section-menu-toggle {
  display: grid !important; grid-template-columns: minmax(0,1fr) 22px;
  width: 100%; height: auto; min-height: 54px; padding: 10px 12px;
  gap: 3px 8px; align-items: center; border: 0; border-radius: 0;
  background: transparent; color: inherit; text-align: left; cursor: pointer;
  touch-action: manipulation;
}
.wslam-section-navigation .wsv2-section-menu-toggle > span {
  grid-column: 1; font-size: 10px; font-weight: 750; letter-spacing: .07em;
  text-transform: uppercase; color: var(--section-muted);
}
.wslam-section-navigation .wsv2-section-menu-toggle > strong {
  grid-column: 1; font-size: 13px; color: var(--section-accent);
  white-space: normal; overflow-wrap: anywhere;
}
.wslam-section-navigation .wsv2-section-menu-toggle svg {
  grid-column: 2; grid-row: 1 / 3; width: 22px; height: 22px; fill: currentColor;
  transition: transform .15s ease;
}
.wslam-section-navigation.is-open .wsv2-section-menu-toggle svg { transform: rotate(180deg); }
body.v2 .wslam-section-navigation .tabs,
.wslam-section-navigation .tabs {
  position: static !important; width: auto !important; height: auto !important;
  display: flex !important; flex-direction: column; align-items: stretch;
  max-height: min(310px, 38dvh); overflow-x: hidden; overflow-y: auto;
  padding: 6px; gap: 3px; margin: 0; border: 0; border-radius: 0;
  border-top: 1px solid var(--line, #dce8ed); box-shadow: none;
  background: transparent; opacity: 1 !important; visibility: visible !important;
  transform: none !important; pointer-events: auto !important; scrollbar-width: thin;
  overscroll-behavior: contain; touch-action: pan-y; transition: none !important;
}
body.v2 .wslam-section-navigation:not(.is-open) .tabs,
.wslam-section-navigation:not(.is-open) .tabs { display: none !important; }
body.v2 .wslam-section-navigation .tab,
.wslam-section-navigation .tab {
  display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: 3px; width: 100%; min-height: 48px;
  padding: 9px 11px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: inherit; cursor: pointer; text-align: left;
  white-space: normal; text-decoration: none; font: inherit;
}
body.v2 .wslam-section-navigation .tab strong,
.wslam-section-navigation .tab strong { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: inherit; }
body.v2 .wslam-section-navigation .tab span,
.wslam-section-navigation .tab span { font-size: 11px; line-height: 1.4; opacity: 1; color: var(--section-muted); white-space: normal; text-align: left; }
.wslam-section-navigation .tab:hover { background: color-mix(in srgb,var(--section-accent) 9%,transparent); }
body.v2 .wslam-section-navigation .tab.active,
.wslam-section-navigation .tab.active {
  background: color-mix(in srgb,var(--section-accent) 14%,transparent);
  border-color: color-mix(in srgb,var(--section-accent) 45%,transparent);
}
.wslam-section-navigation .tab.active strong { color: var(--section-accent); }
.wslam-section-navigation :focus-visible { outline: 2px solid var(--section-accent); outline-offset: -3px; }
#wslamSectionFallback { display: none; }
body.wslam-global-navigation-open #wslamSectionFallback {
  display: block; position: fixed; inset: var(--wsv2-top-h, 60px) auto 0 0;
  width: min(340px, calc(100vw - 28px)); z-index: 70; padding: 12px;
  background: var(--surface, #fff); border-right: 1px solid var(--line, #dce8ed);
  overflow-y: auto; box-shadow: 16px 0 40px #0003;
}
#wslamSectionFallback .tabs { max-height: calc(100dvh - 180px); }
#wslamSectionBackdrop { display: none; }
body.wslam-global-navigation-open #wslamSectionBackdrop {
  display: block; position: fixed; inset: var(--wsv2-top-h, 60px) 0 0;
  z-index: 69; border: 0; background: #0005;
}
body.v2.is-dynamic-atmosphere #wslamSectionsOpen { display: none; }
@media (prefers-reduced-motion: reduce) {
  .wslam-section-navigation .wsv2-section-menu-toggle svg { transition: none; }
}
