/* Malvinas Explorer shell — visual grammar matched to Vaca Muerta Explorer,
   implemented independently (no vm_explorer.css). */

.mlx {
  /* Phase 1B geographic canvas — minimum tokens, not a final brand palette. */
  --mlx-ocean-deep: #07141f;
  --mlx-ocean-mid: #0a1d29;
  --mlx-land: #4b5149;
  --mlx-land-light: #62665b;
  --mlx-ui-surface: rgba(14, 16, 15, 0.94);
  --mlx-ui-border: rgba(235, 230, 220, 0.16);
  --mlx-text: #ebe6dc;
  --mlx-text-muted: rgba(235, 230, 220, 0.62);
  --mlx-accent: #2f6f9f;
  --mlx-accent-hover: #285f89;
  --mlx-accent-light: #3f82b3;
  --mlx-accent-rgb: 47, 111, 159;
  --mlx-oil: #8a7d62;
  --mlx-oil-stroke: #c4b896;
  --mlx-oil-rgb: 138, 125, 98;
  --mlx-reserve: #6f8f86;
  --mlx-reserve-stroke: #b4cfc2;
  --mlx-reserve-rgb: 111, 143, 134;
  /* Fisheries zones are ~234,000 km2 each and sit over dark ocean. A muted
     violet-grey keeps them apart from the oil sand, the reserve green and the
     accent blue without introducing a saturated marine overlay. */
  --mlx-zone: #7d7391;
  --mlx-zone-stroke: #b6adc6;
  --mlx-zone-rgb: 125, 115, 145;
  /* Regional reference tier. Deliberately duller and cooler than every
     Malvinas layer: the mainland locates the archipelago, it never competes
     with it. The coast is the one line allowed real contrast, because that
     edge is what makes the land / sea relationship readable. */
  --mlx-mainland: #3d4740;
  --mlx-mainland-label: #a9b3a6;
  --mlx-coast: #9fb4b9;
  /* Maritime distance references. One hue for all three, separated by weight
     and dash rather than colour: they are the same kind of statement measured
     at different ranges. Cooler and more technical than the coast so a
     measured limit never reads as a shoreline. */
  --mlx-limit: #7fb0c4;
  --mlx-limit-rgb: 127, 176, 196;
  /* Fishing activity. The only layer whose appearance encodes a measured
     quantity, so it gets the one warm hue on the map: warmth reads as
     intensity, and nothing else here competes for that meaning. Graduated
     fill without an outline, so it never looks like another boundary. */
  --mlx-effort: #b3596b;
  --mlx-effort-label: #d79aa5;
  --mlx-effort-rgb: 179, 89, 107;
  /* Fishing licence areas. Two states get ink and the third gets none: a
     square open to the chosen licence, and a square whose opening depends on
     a season. Squares closed to that licence stay unpainted, which is both
     the honest reading — they are simply outside that licence's chart — and
     the reason the layer never turns the sea into a wall of prohibition.
     Deliberately not red: nothing here establishes a ban. */
  --mlx-licence: #6f93b8;
  --mlx-licence-rgb: 111, 147, 184;
  --mlx-licence-season: #c2a25c;
  --mlx-licence-season-rgb: 194, 162, 92;
  --mlx-licence-label: #a8c4de;

  --mlx-ink: var(--mlx-text);
  --mlx-muted: var(--mlx-text-muted);
  --mlx-line: var(--mlx-ui-border);
  --mlx-font: "Outfit", "Space Grotesk", sans-serif;
  --mlx-display: "Space Grotesk", "Outfit", sans-serif;
  --mlx-surface-2: var(--mlx-ui-surface);
  --mlx-scrollbar-size: 6px;
  --mlx-scrollbar-track: rgba(255, 255, 255, 0.04);
  --mlx-scrollbar-thumb: rgba(var(--mlx-accent-rgb), 0.32);
  --mlx-scrollbar-thumb-hover: rgba(var(--mlx-accent-rgb), 0.5);
  --mlx-attribution-height: 1.05rem;
  --mlx-attribution-bar: calc(var(--mlx-attribution-height) + env(safe-area-inset-bottom, 0px));
  --mlx-mobile-dock-offset: calc(4.55rem + var(--mlx-attribution-bar));
  --mlx-z-chrome: 8;
  --mlx-z-layers: 26;
  --mlx-z-explorer: 28;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--mlx-ocean-deep);
  color: var(--mlx-text);
  font-family: var(--mlx-font);
  color-scheme: dark;
}

.mlx button,
.mlx input,
.mlx textarea,
.mlx select {
  font-family: var(--mlx-font);
  color-scheme: dark;
}

/* Branded vertical scrollbars — explorer scroll surfaces */
.mlx-entity-body,
.mlx-search-body,
.mlx-search-results,
.mlx-layers-dialog,
.mlx-explorer-body {
  scrollbar-width: thin;
  scrollbar-color: var(--mlx-scrollbar-thumb) var(--mlx-scrollbar-track);
}

.mlx-entity-body::-webkit-scrollbar,
.mlx-search-body::-webkit-scrollbar,
.mlx-search-results::-webkit-scrollbar,
.mlx-layers-dialog::-webkit-scrollbar,
.mlx-explorer-body::-webkit-scrollbar {
  width: var(--mlx-scrollbar-size);
  height: var(--mlx-scrollbar-size);
}

.mlx-entity-body::-webkit-scrollbar-track,
.mlx-search-body::-webkit-scrollbar-track,
.mlx-search-results::-webkit-scrollbar-track,
.mlx-layers-dialog::-webkit-scrollbar-track,
.mlx-explorer-body::-webkit-scrollbar-track {
  background: var(--mlx-scrollbar-track);
  border-radius: 999px;
}

.mlx-entity-body::-webkit-scrollbar-thumb,
.mlx-search-body::-webkit-scrollbar-thumb,
.mlx-search-results::-webkit-scrollbar-thumb,
.mlx-layers-dialog::-webkit-scrollbar-thumb,
.mlx-explorer-body::-webkit-scrollbar-thumb {
  background: var(--mlx-scrollbar-thumb);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.mlx-entity-body::-webkit-scrollbar-thumb:hover,
.mlx-search-body::-webkit-scrollbar-thumb:hover,
.mlx-search-results::-webkit-scrollbar-thumb:hover,
.mlx-layers-dialog::-webkit-scrollbar-thumb:hover,
.mlx-explorer-body::-webkit-scrollbar-thumb:hover {
  background: var(--mlx-scrollbar-thumb-hover);
}

.mlx-entity-body::-webkit-scrollbar-corner,
.mlx-search-body::-webkit-scrollbar-corner,
.mlx-search-results::-webkit-scrollbar-corner,
.mlx-layers-dialog::-webkit-scrollbar-corner,
.mlx-explorer-body::-webkit-scrollbar-corner {
  background: transparent;
}

.mlx-page {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

.mlx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mlx-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.4rem 0.7rem;
  background: #111;
  color: var(--mlx-ink);
  text-decoration: none;
}

.mlx-skip:focus {
  top: 0.6rem;
}

.mlx-root {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mlx-canvas {
  position: absolute;
  inset: 0;
  background: var(--mlx-ocean-deep);
  touch-action: none;
}

.mlx .cesium-widget,
.mlx .cesium-widget canvas,
.mlx .cesium-viewer,
.mlx .cesium-viewer-cesiumWidgetContainer {
  width: 100%;
  height: 100%;
  background: var(--mlx-ocean-deep);
  touch-action: none;
}

.mlx .cesium-viewer-toolbar,
.mlx .cesium-viewer-animationContainer,
.mlx .cesium-viewer-timelineContainer,
.mlx .cesium-viewer-fullscreenContainer,
.mlx .cesium-viewer-vrContainer,
.mlx .cesium-viewer-geocoderContainer,
.mlx .cesium-viewer-bottom {
  display: none !important;
}

.mlx-status {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  margin: 0;
  padding: 0.45rem 0.85rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(8, 10, 9, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(235, 230, 220, 0.78);
  font-size: 0.85rem;
  pointer-events: none;
}

.mlx-status[hidden] {
  display: none;
}

.mlx-chrome {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: var(--mlx-z-chrome);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.mlx-menu-toggle,
.mlx-brand,
.mlx-search-open,
.mlx-nav,
.mlx-origin,
.mlx-history-period,
.mlx-history-period-btn,
.mlx-history-empty {
  pointer-events: auto;
}

.mlx-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  background: rgba(8, 10, 9, 0.42);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  color: rgba(235, 230, 220, 0.82);
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 120ms ease,
    opacity 160ms ease;
}

.mlx-menu-toggle:hover,
.mlx-menu-toggle:focus-visible {
  color: var(--mlx-ink);
  border-color: rgba(var(--mlx-accent-rgb), 0.28);
  background: rgba(12, 14, 13, 0.58);
  outline: none;
}

.mlx-menu-toggle:active {
  transform: scale(0.96);
}

.mlx-menu-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.mlx-menu-toggle-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.mlx-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-decoration: none;
  color: inherit;
}

.mlx-brand picture {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  background: none;
}

.mlx-brand:hover,
.mlx-brand:focus-visible {
  outline: none;
  opacity: 0.92;
}

.mlx-brand-logo {
  display: block;
  flex: 0 0 auto;
  height: 40px;
  width: auto;
  max-width: 180px;
  background: none;
  object-fit: contain;
  object-position: left center;
}

.mlx-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  min-width: 0;
}

.mlx-brand-wordmark {
  color: #ffffff;
  font-family: var(--mlx-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  white-space: nowrap;
}

.mlx-brand-descriptor {
  font-family: var(--mlx-font);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #b8b8b8;
  white-space: nowrap;
}

.mlx-dock {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(22rem, calc(100vw - 12rem));
  pointer-events: none;
}

.mlx-search-open {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(8, 10, 9, 0.36);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.07),
    0 6px 22px rgba(0, 0, 0, 0.16);
  color: rgba(235, 230, 220, 0.58);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 120ms ease,
    box-shadow 160ms ease;
}

.mlx-search-open:hover,
.mlx-search-open:focus-visible {
  color: rgba(244, 240, 232, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 11, 0.46);
  outline: none;
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.09),
    0 8px 26px rgba(0, 0, 0, 0.2);
}

.mlx-search-open-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: rgba(244, 240, 232, 0.7);
}

.mlx-search-open-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mlx-mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 16;
  padding: 0 1.15rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.mlx-mobile-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(8, 10, 9, 0.36);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.07),
    0 6px 22px rgba(0, 0, 0, 0.16);
  color: rgba(235, 230, 220, 0.58);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.mlx-mobile-search-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: rgba(244, 240, 232, 0.7);
}

.mlx-mobile-search-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mlx-map-tools {
  position: absolute;
  right: 1rem;
  bottom: calc(var(--mlx-attribution-bar) + 0.55rem);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.mlx-nav {
  --mlx-nav-size: 2.2rem;
  --mlx-nav-zoom-height: calc(var(--mlx-nav-size) * 2.35);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  pointer-events: auto;
}

.mlx-nav-zoom,
.mlx-layers-float {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(8, 10, 9, 0.36);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.07),
    0 6px 22px rgba(0, 0, 0, 0.16);
  -webkit-tap-highlight-color: transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 120ms ease,
    box-shadow 160ms ease;
}

.mlx-nav-zoom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--mlx-nav-size);
  height: var(--mlx-nav-zoom-height);
  border-radius: 999px;
  overflow: hidden;
}

.mlx-nav-zoom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 240, 232, 0.68);
  font: inherit;
  font-size: calc(var(--mlx-nav-size) * 0.44);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.mlx-nav-zoom-btn:hover,
.mlx-nav-zoom-btn:focus-visible {
  color: rgba(244, 240, 232, 0.92);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.mlx-nav-zoom-btn:active {
  transform: scale(0.985);
  background: rgba(0, 0, 0, 0.14);
}

.mlx-nav-zoom-divider {
  display: block;
  flex: 0 0 1px;
  height: 1px;
  margin: 0 calc(var(--mlx-nav-size) * 0.2);
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.mlx-nav-zoom:hover,
.mlx-nav-zoom:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 11, 0.46);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.09),
    0 8px 26px rgba(0, 0, 0, 0.2);
}

.mlx-layers-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--mlx-nav-size);
  height: var(--mlx-nav-size);
  margin: 0;
  padding: calc(var(--mlx-nav-size) * 0.22);
  border-radius: 999px;
  color: rgba(244, 240, 232, 0.68);
  cursor: pointer;
}

.mlx-layers-icon {
  width: calc(var(--mlx-nav-size) * 0.46);
  height: calc(var(--mlx-nav-size) * 0.46);
}

.mlx-layers-float:hover,
.mlx-layers-float:focus-visible {
  color: rgba(244, 240, 232, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 11, 0.46);
  outline: none;
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.09),
    0 8px 26px rgba(0, 0, 0, 0.2);
}

.mlx-layers-float:active {
  transform: scale(0.988);
  background: rgba(6, 8, 7, 0.5);
}

.mlx-layers-float.is-active {
  color: var(--mlx-accent);
  border-color: rgba(var(--mlx-accent-rgb), 0.28);
  background: rgba(10, 12, 11, 0.5);
}

.mlx-origin {
  --mlx-origin-size: var(--mlx-nav-size, 2.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  width: var(--mlx-nav-size);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mlx-ink);
  font: inherit;
  cursor: pointer;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease;
}

.mlx-origin-compass {
  position: relative;
  width: var(--mlx-origin-size);
  height: var(--mlx-origin-size);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.09), transparent 58%),
    rgba(8, 10, 9, 0.38);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 18px rgba(0, 0, 0, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.mlx-origin-face,
.mlx-origin-needle svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.mlx-origin-needle {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.mlx-origin-needle-head {
  fill: var(--mlx-accent);
}

.mlx-origin-needle-shine {
  fill: rgba(255, 248, 236, 0.34);
}

.mlx-origin-needle-tail {
  fill: rgba(235, 230, 220, 0.34);
}

.mlx-origin-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: calc(var(--mlx-origin-size) * 0.12);
  height: calc(var(--mlx-origin-size) * 0.12);
  margin: calc(var(--mlx-origin-size) * -0.06) 0 0 calc(var(--mlx-origin-size) * -0.06);
  border-radius: 50%;
  background: #0a0c0b;
  border: 1.5px solid var(--mlx-accent);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 8px rgba(var(--mlx-accent-rgb), 0.28);
}

.mlx-origin-label {
  width: max-content;
  max-width: none;
  margin-left: 50%;
  overflow: visible;
  transform: translateX(-50%);
  font-size: calc(var(--mlx-nav-size) * 0.24);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(var(--mlx-accent-rgb), 0.72);
}

.mlx-origin:hover .mlx-origin-compass,
.mlx-origin:focus-visible .mlx-origin-compass {
  border-color: rgba(var(--mlx-accent-rgb), 0.34);
}

.mlx-origin:hover .mlx-origin-label,
.mlx-origin:focus-visible .mlx-origin-label {
  color: rgba(244, 240, 232, 0.9);
}

.mlx-origin:focus-visible {
  outline: none;
}

.mlx-origin:active {
  transform: scale(0.97);
}

.mlx-product-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 10;
  display: block;
  width: max-content;
  max-width: min(19rem, calc(100vw - 0.75rem));
  margin: 0;
  padding: 0.22rem 0.45rem calc(0.2rem + env(safe-area-inset-bottom, 0px)) 0.5rem;
  pointer-events: none;
  font-size: 0.56rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 232, 0.76);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(8, 10, 9, 0.38);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 0;
  border-bottom: 0;
  border-radius: 0.35rem 0 0 0;
}

.mlx-product-attribution-brand,
.mlx-product-attribution-tagline {
  font: inherit;
  color: inherit;
}

.mlx-product-attribution-brand::after {
  content: " · ";
}

/* Cesium requires a credit container in the Viewer API; keep it off-screen. */
.mlx-credits {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.mlx-viewer .cesium-widget-credits {
  display: none !important;
}

.mlx-explorer-menu {
  position: absolute;
  inset: 0;
  z-index: var(--mlx-z-explorer);
  display: flex;
  pointer-events: none;
}

.mlx-explorer-menu[hidden] {
  display: none !important;
}

.mlx-explorer-scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  cursor: pointer;
  pointer-events: auto;
}

.mlx-explorer-drawer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(20rem, 88vw);
  max-width: 21.25rem;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--mlx-surface-2);
  border-right: 1px solid var(--mlx-line);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  overflow: hidden;
  animation: mlx-explorer-in 200ms ease;
}

@keyframes mlx-explorer-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mlx-explorer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem 0.75rem;
}

.mlx-explorer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1rem 1rem;
  padding-right: calc(1rem + 0.15rem);
  -webkit-overflow-scrolling: touch;
}

.mlx-explorer-brand {
  min-width: 0;
  flex: 1 1 auto;
}

.mlx-explorer-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: -0.1rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mlx-muted);
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.mlx-explorer-close:hover,
.mlx-explorer-close:focus-visible {
  color: var(--mlx-ink);
  outline: none;
}

.mlx-explorer-hero {
  padding: 1rem 0 0.85rem;
}

.mlx-explorer-hero-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mlx-accent);
}

.mlx-explorer-hero-title {
  margin: 0.35rem 0 0;
  font-family: var(--mlx-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mlx-ink);
}

.mlx-explorer-hero-lead {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(235, 230, 220, 0.55);
}

.mlx-layers-panel {
  position: absolute;
  inset: 0;
  z-index: var(--mlx-z-layers);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 1rem calc(6.4rem + var(--mlx-attribution-bar)) 0;
  background: transparent;
  pointer-events: none;
}

.mlx-layers-panel[hidden] {
  display: none !important;
}

.mlx-layers-dialog {
  width: min(12.5rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.65rem 0.75rem 0.7rem;
  background: var(--mlx-surface-2);
  border: 1px solid rgba(235, 230, 220, 0.12);
  border-radius: 0.55rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
}

.mlx-layers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(235, 230, 220, 0.06);
}

.mlx-layers-title {
  margin: 0;
  font-family: var(--mlx-display);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mlx-accent);
}

.mlx-layers-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  min-height: 1.6rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(235, 230, 220, 0.55);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.mlx-layers-close:hover,
.mlx-layers-close:focus-visible {
  color: var(--mlx-ink);
  outline: none;
}

.mlx-layers-groups {
  display: grid;
  gap: 0.55rem;
}

/* The legend states the hierarchy: what locates you, then what is published
   as data. Future maritime layers join the thematic group, never this one. */
.mlx-layers-group-title {
  margin: 0 0 0.3rem;
  font-family: var(--mlx-display);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(235, 230, 220, 0.42);
}

.mlx-layers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.mlx-layers-list-tail {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(235, 230, 220, 0.06);
}

.mlx-layer-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: rgba(235, 230, 220, 0.86);
  cursor: pointer;
}

.mlx-layer-toggle input {
  accent-color: var(--mlx-accent);
  width: 0.85rem;
  height: 0.85rem;
  margin: 0;
}

/* The licence chooser sits under its own toggle and is indented to the width
   of the checkbox above it, so it reads as a property of that layer rather
   than as another layer. */
.mlx-layer-note {
  margin: 0.15rem 0 0 1.3rem;
  font-size: 0.68rem;
  line-height: 1.25;
  color: rgba(235, 230, 220, 0.5);
}

.mlx-layer-select {
  margin: 0.3rem 0 0.15rem 1.3rem;
  display: block;
  width: calc(100% - 1.3rem);
  padding: 0.28rem 0.4rem;
  font-family: inherit;
  font-size: 0.72rem;
  color: rgba(235, 230, 220, 0.9);
  background: rgba(12, 24, 34, 0.85);
  border: 1px solid var(--mlx-line);
  border-radius: 4px;
  cursor: pointer;
}

.mlx-layer-select:disabled {
  opacity: 0.45;
  cursor: default;
}

.mlx-layer-select:focus-visible {
  outline: 2px solid var(--mlx-accent);
  outline-offset: 1px;
}

/* The panel's per-category breakdown. The category being drawn is marked so
   the reader can tell which line the map is showing without guessing. */
.mlx-licence-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.22rem;
}

.mlx-licence-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: baseline;
}

.mlx-licence-list li[data-active="true"] {
  color: var(--mlx-licence-label);
}

.mlx-licence-code {
  font-family: var(--mlx-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.mlx-licence-status {
  font-size: 0.74rem;
  line-height: 1.25;
}

.mlx-licence-wording {
  display: block;
  font-size: 0.66rem;
  opacity: 0.55;
}

/* Legend swatches for the two painted licence states. */
.mlx-layer-key {
  margin: 0.35rem 0 0 1.3rem;
  display: grid;
  gap: 0.2rem;
}

.mlx-layer-key-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  line-height: 1.2;
  color: rgba(235, 230, 220, 0.62);
}

.mlx-layer-key-swatch {
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  border-radius: 2px;
  border: 1px solid rgba(var(--mlx-licence-rgb), 0.75);
  background: rgba(var(--mlx-licence-rgb), 0.3);
}

.mlx-layer-key-swatch[data-state="season"] {
  border-color: rgba(var(--mlx-licence-season-rgb), 0.8);
  background: rgba(var(--mlx-licence-season-rgb), 0.32);
}

.mlx-module-nav {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.mlx-module-btn:not(:disabled) {
  color: rgba(235, 230, 220, 0.82);
  cursor: pointer;
}

.mlx-module-btn:not(:disabled):hover {
  border-color: rgba(var(--mlx-accent-rgb), 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.mlx-history-period {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.mlx-history-period-btn,
.mlx-history-empty {
  pointer-events: auto;
}

.mlx-history-period[hidden] {
  display: none !important;
}

.mlx-history-period-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mlx-history-period-btn {
  margin: 0;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(235, 230, 220, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(235, 230, 220, 0.72);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.mlx-history-period-btn.is-active {
  color: var(--mlx-ink);
  border-color: rgba(var(--mlx-accent-rgb), 0.34);
  background: rgba(var(--mlx-accent-rgb), 0.12);
}

.mlx-history-empty {
  margin: 0;
  padding: 0.15rem 0.15rem 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(235, 230, 220, 0.72);
}

.mlx-history-period-mobile {
  width: 100%;
  margin-bottom: 0.35rem;
}

.mlx-root.is-history .mlx-history-period {
  display: grid;
}

.mlx-resources-chrome {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.mlx-resources-chrome[hidden] {
  display: none !important;
}

.mlx-resources-chrome .mlx-history-period-btn {
  pointer-events: none;
  cursor: default;
}

.mlx-resources-chrome-mobile {
  width: 100%;
  margin-bottom: 0.35rem;
}

.mlx-module-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(235, 230, 220, 0.08);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(235, 230, 220, 0.45);
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: not-allowed;
}

.mlx-module-btn.is-active {
  color: var(--mlx-ink);
  border-color: rgba(var(--mlx-accent-rgb), 0.28);
  background: rgba(var(--mlx-accent-rgb), 0.08);
}

.mlx-module-badge {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(235, 230, 220, 0.38);
}

.mlx-search-panel {
  position: absolute;
  inset: 0;
  z-index: 24;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.mlx-search-panel[hidden] {
  display: none !important;
}

.mlx-search-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  pointer-events: auto;
}

.mlx-search-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  pointer-events: auto;
  top: auto;
  right: 0;
  left: 0;
  bottom: 0;
  max-height: min(74vh, 42rem);
  min-height: min(58vh, 34rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 1.15rem 1.15rem 0 0;
  padding: 0 1.15rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 12, 11, 0.72);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 -12px 40px rgba(0, 0, 0, 0.28);
}

.mlx-search-sheet-handle {
  display: block;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 0.28rem;
  margin: 0.55rem auto 0.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(235, 230, 220, 0.28);
  padding: 0;
  pointer-events: none;
}

.mlx-search-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding: 0.15rem 0 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mlx-search-head-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: rgba(244, 240, 232, 0.72);
}

.mlx-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mlx-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
}

.mlx-search-input::-webkit-search-decoration,
.mlx-search-input::-webkit-search-cancel-button,
.mlx-search-input::-webkit-search-results-button,
.mlx-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.mlx-search-input:focus {
  outline: none;
}

.mlx-search-clear,
.mlx-search-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(235, 230, 220, 0.55);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.mlx-search-clear[hidden] {
  display: none !important;
}

.mlx-search-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.65rem;
}

.mlx-search-discovery-title {
  margin: 0.1rem 0 0.25rem;
  font-family: var(--mlx-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mlx-ink);
}

.mlx-search-discovery-subtitle {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(235, 230, 220, 0.58);
}

.mlx-search-section-title {
  margin: 0 0 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mlx-accent);
}

.mlx-search-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin: 0 0 1rem;
}

.mlx-search-chip {
  margin: 0;
  padding: 0.4rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(235, 230, 220, 0.66);
  font: inherit;
  font-size: 0.76rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mlx-search-chip.is-featured {
  font-size: 0.8rem;
  color: rgba(244, 240, 232, 0.86);
  border-color: rgba(var(--mlx-accent-rgb), 0.28);
  background: rgba(var(--mlx-accent-rgb), 0.08);
}

.mlx-search-chip:hover,
.mlx-search-chip:focus-visible,
.mlx-search-chip.is-active {
  color: var(--mlx-ink);
  border-color: rgba(var(--mlx-accent-rgb), 0.42);
  background: rgba(var(--mlx-accent-rgb), 0.12);
  outline: none;
}

.mlx-search-group {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 230, 220, 0.48);
}

.mlx-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mlx-search-hit,
.mlx-search-result {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(235, 230, 220, 0.08);
  border-radius: 0;
  background: transparent;
  color: var(--mlx-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mlx-search-hit:hover,
.mlx-search-hit:focus-visible,
.mlx-search-result:hover,
.mlx-search-result:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.mlx-search-result.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mlx-search-hit-typed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

.mlx-search-hit-type {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mlx-muted);
}

.mlx-search-hit-name {
  font-family: var(--mlx-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--mlx-ink);
}

.mlx-search-hit-sub {
  font-size: 0.68rem;
  color: var(--mlx-muted);
}

.mlx-search-see-more {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0.85rem;
  padding: 0.45rem 0.5rem;
  border: 0;
  border-radius: 0.45rem;
  background: rgba(var(--mlx-accent-rgb), 0.08);
  color: rgba(var(--mlx-accent-light), 0.92);
  color: var(--mlx-accent-light);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
}

.mlx-search-see-more:hover,
.mlx-search-see-more:focus-visible {
  background: rgba(var(--mlx-accent-rgb), 0.14);
  color: var(--mlx-ink);
  outline: none;
}

.mlx-search-pending {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--mlx-muted);
}

.mlx-search-panel.is-resolving .mlx-search-results,
.mlx-search-panel.is-resolving .mlx-search-discovery {
  opacity: 0.55;
}

.mlx-search-empty {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  color: var(--mlx-muted);
}

@media (min-width: 901px) {
  .mlx-search-scrim {
    background: rgba(0, 0, 0, 0.14);
  }

  .mlx-search-panel {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .mlx-search-dialog {
    position: fixed;
    top: calc(1rem + 2.75rem + 0.55rem);
    right: 1rem;
    left: auto;
    bottom: auto;
    width: min(22rem, calc(100vw - 12rem));
    max-height: min(72vh, 38rem);
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.15rem;
    padding: 0.85rem 1.15rem 1rem;
    background: rgba(10, 12, 11, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 16px 48px rgba(0, 0, 0, 0.28);
  }

  .mlx-search-sheet-handle {
    display: none;
  }

  .mlx-search-chips {
    display: flex;
    flex-wrap: wrap;
  }

  .mlx-root.is-search-open .mlx-dock-desktop {
    opacity: 1;
    pointer-events: none;
  }
}

.mlx-entity-panel {
  --mlx-entity-pad-x: 1.5rem;
  position: absolute;
  top: 4.35rem;
  right: 0;
  bottom: 1.5rem;
  left: auto;
  z-index: 11;
  display: flex;
  flex-direction: column;
  width: min(25rem, calc(100vw - 5rem));
  max-width: 25rem;
  min-height: 0;
  min-width: 0;
  pointer-events: none;
  box-sizing: border-box;
  animation: mlx-panel-in 180ms ease;
}

@keyframes mlx-panel-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mlx-entity-panel[hidden] {
  display: none !important;
}

.mlx-entity-panel-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  border: 1px solid var(--mlx-line);
  border-right: 0;
  border-radius: 0;
  background: rgba(10, 12, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.mlx-entity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  flex: 0 0 auto;
  padding: 1.05rem var(--mlx-entity-pad-x) 0.55rem;
  border-bottom: 1px solid rgba(235, 230, 220, 0.06);
}

.mlx-entity-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mlx-accent);
}

.mlx-entity-title {
  margin: 0.25rem 0 0;
  font-family: var(--mlx-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--mlx-ink);
}

.mlx-entity-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(235, 230, 220, 0.55);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.mlx-entity-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.65rem var(--mlx-entity-pad-x) 1rem;
  overflow-y: auto;
}

.mlx-entity-summary {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(235, 230, 220, 0.72);
}

.mlx-entity-summary[hidden] {
  display: none !important;
}

.mlx-entity-meta {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.mlx-entity-meta-row {
  display: grid;
  gap: 0.15rem;
}

.mlx-entity-meta-row[hidden] {
  display: none !important;
}

.mlx-entity-meta dt {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(235, 230, 220, 0.42);
}

.mlx-entity-meta dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(235, 230, 220, 0.78);
}

.mlx-entity-meta a {
  color: rgba(var(--mlx-accent-rgb), 0.92);
  text-decoration: none;
}

.mlx-entity-meta a:hover {
  color: var(--mlx-accent-hover);
  text-decoration: underline;
}

.mlx-entity-related-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(var(--mlx-accent-rgb), 0.92);
  font: inherit;
  cursor: pointer;
}

.mlx-entity-related-link:hover {
  color: var(--mlx-accent-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mlx-brand-logo {
    height: 35px;
  }

  .mlx-brand-wordmark {
    font-size: 1.2rem;
  }

  .mlx-brand-descriptor {
    font-size: 0.5625rem;
  }
}

@media (max-width: 900px) {
  .mlx-dock-desktop {
    display: none;
  }

  .mlx-mobile-dock {
    display: block;
    bottom: var(--mlx-attribution-bar);
    padding-bottom: 0.45rem;
  }

  .mlx-map-tools {
    bottom: var(--mlx-mobile-dock-offset);
  }

  .mlx-layers-panel {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 0.7rem calc(var(--mlx-mobile-dock-offset) + 0.35rem) 0;
    background: transparent;
  }

  .mlx-layers-dialog {
    width: min(11.5rem, calc(100vw - 1.4rem));
  }

  .mlx-entity-panel {
    top: auto;
    right: 0;
    left: 0;
    bottom: var(--mlx-mobile-dock-offset);
    width: 100%;
    max-width: none;
    max-height: min(48vh, 22rem);
    z-index: 15;
  }

  .mlx-entity-panel-inner {
    border-left: 0;
    border-bottom: 0;
    border-right: 0;
    max-height: inherit;
  }

  .mlx-root.is-inspecting .mlx-map-tools {
    display: none;
  }
}

@media (max-width: 720px) {
  .mlx-chrome {
    top: 0.7rem;
    left: 0.7rem;
  }

  .mlx-dock {
    top: 0.7rem;
    right: 0.7rem;
    width: min(18rem, calc(100vw - 8.5rem));
  }

  .mlx-map-tools {
    right: 0.7rem;
  }

  .mlx-nav {
    --mlx-nav-size: 2.05rem;
  }
}
