/* Vaca Muerta Explorer — narrative product shell (phase 2). */

/* S-5.0 — Context Card host (= .vmx__panel); interaction state on root for extension. */

/* S-5.1 — Connectivity context (corridor / road). */
.vmx__connectivity-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.15rem 0 0.35rem;
}

.vmx__connectivity-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.62);
}

.vmx__connectivity-title {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.vmx__connectivity-summary {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--vmx-muted);
}

.vmx__connectivity-meta {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.vmx__connectivity-meta > div {
  display: grid;
  gap: 0.2rem;
}

.vmx__connectivity-meta dt {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.55);
}

.vmx__connectivity-meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(238, 241, 234, 0.9);
}

.vmx__connectivity-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(238, 241, 234, 0.42);
}

.vmx__connectivity-soon {
  opacity: 0.65;
  font-size: 0.85em;
}

/* S-5.2 — Production area context. */
.vmx__production-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.15rem 0 0.35rem;
}

.vmx__production-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.62);
}

.vmx__production-summary {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--vmx-muted);
}

.vmx__production-meta {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.vmx__production-meta > div {
  display: grid;
  gap: 0.2rem;
}

.vmx__production-meta dt {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.55);
}

.vmx__production-meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(238, 241, 234, 0.9);
}

.vmx__production-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(238, 241, 234, 0.42);
}

/* S-5.3 — Well cluster context. */
.vmx__wellcluster-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.15rem 0 0.35rem;
}

.vmx__wellcluster-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.62);
}

.vmx__wellcluster-summary {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--vmx-muted);
}

.vmx__wellcluster-meta {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.vmx__wellcluster-meta > div {
  display: grid;
  gap: 0.2rem;
}

.vmx__wellcluster-meta dt {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.55);
}

.vmx__wellcluster-meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(238, 241, 234, 0.9);
}

.vmx__wellcluster-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(238, 241, 234, 0.42);
}

/* S-5.4 — Spatial Object intelligence relations */
.vmx__spatial-relations {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--vmx-line);
}

.vmx__spatial-relations-heading {
  margin: 0 0 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.62);
  font-weight: 500;
}

.vmx__spatial-relations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vmx__spatial-relations-list li {
  margin: 0;
}

.vmx__spatial-rel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(238, 241, 234, 0.1);
  border-radius: 8px;
  background: rgba(238, 241, 234, 0.04);
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.vmx__spatial-rel:hover,
.vmx__spatial-rel:focus-visible {
  border-color: rgba(46, 184, 92, 0.35);
  background: rgba(46, 184, 92, 0.08);
}

.vmx__spatial-rel-action {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.7);
}

.vmx__spatial-rel-label {
  font-family: var(--vmx-font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

.vmx__spatial-rel-meta {
  font-size: 0.72rem;
  color: var(--vmx-muted);
}

:root {
  /* Vaca Muerta Explorer — industrial green identity */
  --vmx-bg: #0a0c0b;
  --vmx-ink: #f0f2ef;
  --vmx-muted: rgba(240, 242, 239, 0.52);
  --vmx-line: rgba(240, 242, 239, 0.1);
  --vmx-accent: #2eb85c;
  --vmx-accent-rgb: 46, 184, 92;
  --vmx-panel: rgba(16, 18, 17, 0.92);
  --vmx-surface: rgba(18, 20, 19, 0.86);
  --vmx-ink-territory: #3a403c;
  --vmx-font-display: "Space Grotesk", "Outfit", sans-serif;
  --vmx-font-body: "Outfit", "Space Grotesk", sans-serif;
  --vmx-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --vmx-radius: 14px;
  --vmx-glow: 0;
  --vmx-chrome-left: 17.75rem;
  --vmx-chrome-right: 17.75rem;
  --vmx-chrome-gap: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body.vmx {
  margin: 0;
  height: 100%;
  background: var(--vmx-bg);
  color: var(--vmx-ink);
  font-family: var(--vmx-font-body);
  overflow: hidden;
}

.vmx-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: #111;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vmx-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.vmx__root {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: vmx-fade-in 1.15s var(--vmx-ease) forwards;
}

@keyframes vmx-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.vmx__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Screen-space Industrial Anchors — crisp CSS, scale-stable (not terrain ellipses). */
.vmx__anchors {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

/* S-4.1 — Industrial activity field (specialty / capability only; T14 no company geometry). */
.vmx__industrial {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.vmx-entity {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.45s var(--vmx-ease);
}

.vmx-entity.is-dimmed {
  opacity: 0.42 !important;
}

.vmx-entity__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.vmx-entity__hit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.vmx-entity.is-visible .vmx-entity__hit {
  pointer-events: auto;
}

.vmx-entity.is-visible.is-label-open .vmx-entity__label {
  pointer-events: auto;
}

.vmx-entity__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.vmx-entity__label {
  position: absolute;
  left: 50%;
  top: calc(50% + 16px);
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  min-width: 4.2rem;
  max-width: 8.8rem;
  pointer-events: none;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s var(--vmx-ease);
}

.vmx-entity.is-label-open .vmx-entity__label {
  opacity: 1;
}

.vmx-entity__kicker {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.58);
  line-height: 1;
}

.vmx-entity__title {
  font-family: var(--vmx-font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(180, 174, 162, 0.38);
  line-height: 1.15;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vmx-entity__meta {
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.68);
  white-space: nowrap;
}

/* T5 Material — no digital breath loops. */
@keyframes vmx-activity-presence {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.48;
  }
}

/* Capability — colored specialty node in the ecosystem graph. */
.vmx-entity--activity .vmx-entity__halo {
  width: 118px;
  height: 98px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 82% 82% at 50% 50%,
    color-mix(in srgb, var(--sector, #4a8fe8) 42%, transparent) 0%,
    color-mix(in srgb, var(--sector, #4a8fe8) 12%, transparent) 48%,
    transparent 82%
  );
  opacity: 0.72;
  filter: blur(5.2px) saturate(1.05);
}

.vmx-entity--activity.is-living .vmx-entity__halo {
  animation: none;
}

.vmx-entity--activity .vmx-entity__core {
  display: block;
  width: var(--point, 8px);
  height: var(--point, 8px);
  border-radius: 50%;
  background: var(--sector, #4a8fe8);
  box-shadow:
    0 0 0 1.5px color-mix(in srgb, var(--sector, #4a8fe8) 55%, #fff),
    0 0 10px color-mix(in srgb, var(--sector, #4a8fe8) 45%, transparent);
  opacity: 0.95;
}

.vmx-entity--activity .vmx-entity__hit {
  width: 58px;
  height: 58px;
}

.vmx-entity--activity.is-hovered .vmx-entity__halo,
.vmx-entity--activity.is-selected .vmx-entity__halo,
.vmx-entity--activity:focus-visible .vmx-entity__halo {
  opacity: 0.92;
  filter: blur(4.2px) saturate(1.15);
}

.vmx-entity--activity .vmx-entity__kicker,
.vmx-entity--activity .vmx-entity__meta {
  display: none;
}

.vmx-entity--activity .vmx-entity__title {
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(220, 214, 200, 0.72);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.vmx-entity--activity .vmx-entity__label {
  opacity: 0;
}

.vmx-entity--activity.is-hovered .vmx-entity__label,
.vmx-entity--activity.is-selected .vmx-entity__label,
.vmx-entity--activity.is-label-open .vmx-entity__label {
  opacity: 0.88;
}

/* Home graph: keep specialty points readable as colored nodes. */
.vmx-entity--activity.is-soil-stain .vmx-entity__halo {
  width: 132px;
  height: 108px;
  opacity: 0.55;
  filter: blur(6.5px) saturate(1);
}

.vmx-entity--activity.is-soil-stain .vmx-entity__label {
  opacity: 0 !important;
}

.vmx-entity--activity.is-soil-stain .vmx-entity__core {
  display: block;
  opacity: 0.88;
}

/* Activity band (camera LOD) — capability fields only (T14: no company presence). */
/* Home: specialty graph dots only — no floating circular entity halos. */
.vmx__root.is-activity-home .vmx-entity--activity .vmx-entity__halo,
.vmx__root.is-spatial-home .vmx-entity--activity .vmx-entity__halo {
  opacity: 0.22;
  filter: blur(8px) saturate(0.9);
  width: 52px;
  height: 44px;
}

.vmx__root.is-spatial-focus .vmx-entity--activity .vmx-entity__halo {
  opacity: 0.85;
}

.vmx-anchor {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  /* Halo is visual-only so wheel zoom reaches the map under the zone. */
  pointer-events: none;
}

@keyframes vmx-activity-breath {
  0%,
  100% {
    opacity: calc(0.32 + var(--intensity, 0.5) * 0.18);
  }
  50% {
    opacity: calc(0.42 + var(--intensity, 0.5) * 0.22);
  }
}

@keyframes vmx-activity-ring {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.34;
  }
}

.vmx-anchor__aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--aura, 200px);
  height: calc(var(--aura, 200px) * 0.88);
  /* Centered on the locality anchor — zone must sit on the city. */
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 72% 78% at 50% 50%,
    color-mix(in srgb, var(--sector, #4a8fe8) 38%, transparent) 0%,
    color-mix(in srgb, var(--sector, #4a8fe8) 12%, transparent) 52%,
    transparent 78%
  );
  opacity: calc(
    (0.42 + var(--intensity, 0.5) * 0.22) * var(--vmx-vitality, 1)
  );
  filter: blur(4.2px) saturate(1.05);
  pointer-events: none;
}

.vmx-anchor__ring,
.vmx-anchor__cluster {
  display: none !important;
}

.vmx-anchor__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--halo, 160px) * 0.72);
  height: calc(var(--halo, 160px) * 0.72);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 88% 88% at 50% 50%,
    rgba(150, 168, 176, 0.22) 0%,
    rgba(150, 168, 176, 0.06) 42%,
    transparent 78%
  );
  opacity: 0.62;
  box-shadow: none;
  filter: blur(2.8px) saturate(0.9);
  pointer-events: none;
}

.vmx-anchor__hit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.vmx-anchor__core {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--point, 14px);
  height: var(--point, 14px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  /* Industrial node — readable at Home, grows with camera zoom scale. */
  background: color-mix(in srgb, var(--sector, #7a92a0) 48%, #d8e0e4);
  box-shadow:
    0 0 0 2px rgba(240, 242, 239, 0.72),
    0 0 0 7px rgba(122, 146, 160, 0.18),
    0 0 22px rgba(122, 146, 160, 0.35);
  opacity: 0.98;
  pointer-events: none;
}

.vmx-anchor--hub .vmx-anchor__core,
.vmx-anchor--center .vmx-anchor__core {
  box-shadow:
    0 0 0 2.5px rgba(244, 246, 242, 0.88),
    0 0 0 8px rgba(90, 150, 190, 0.22),
    0 0 0 16px rgba(90, 150, 190, 0.1),
    0 0 28px rgba(90, 150, 190, 0.32);
}

.vmx-anchor__label {
  position: absolute;
  left: 50%;
  /* Whole caption sits just above the city pin (not offset by aura). */
  top: 50%;
  transform: translate(-50%, calc(-100% - 14px));
  min-width: 0;
  padding: 0.1rem 0.28rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: center;
  pointer-events: auto;
  backdrop-filter: none;
}

.vmx-anchor__name {
  display: block;
  font-family: var(--vmx-font-display);
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.05em;
  line-height: 1.15;
  white-space: nowrap;
  color: rgba(236, 232, 224, 0.88);
  text-shadow:
    0 1px 12px rgba(0, 0, 0, 0.65),
    0 0 2px rgba(0, 0, 0, 0.45);
}

/* Locality typography hierarchy — heart / metropolitan louder than corridor whisper. */
.vmx-anchor--hub .vmx-anchor__name {
  font-size: 0.92rem;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.94);
}

.vmx-anchor--center .vmx-anchor__name {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.vmx-anchor--presence .vmx-anchor__name {
  font-size: 0.74rem;
  font-weight: 540;
  letter-spacing: 0.06em;
  opacity: 0.88;
  text-transform: none;
}

.vmx-anchor__kind {
  display: block;
  font-size: 0.52rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(210, 220, 228, 0.55);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.08rem;
}

.vmx-anchor--presence .vmx-anchor__kind,
.vmx-anchor--territorial .vmx-anchor__kind {
  display: none;
}

.vmx-anchor__activity {
  display: block;
  margin-top: 0.12rem;
}

.vmx-anchor__meta {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(228, 222, 210, 0.72);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.vmx-anchor__meta--companies {
  color: rgba(238, 241, 234, 0.78);
}

.vmx-anchor__meta--specialties {
  display: none;
}

.vmx-anchor__door-cue {
  display: block;
  margin-top: 0.35rem;
  padding-top: 0.3rem;
  border-top: 1px solid rgba(46, 184, 92, 0.22);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.88);
}

.vmx-anchor__door-cue::after {
  content: " →";
  letter-spacing: 0;
}

.vmx-anchor.is-spatial-door .vmx-anchor__label {
  border-color: rgba(46, 184, 92, 0.22);
}

.vmx-anchor.is-spatial-door.is-hovered .vmx-anchor__door-cue,
.vmx-anchor.is-spatial-door.is-selected .vmx-anchor__door-cue {
  color: var(--vmx-accent);
}

.vmx__root.is-spatial-home .vmx-anchor.is-spatial-door .vmx-anchor__door-cue {
  display: none;
}

.vmx__root.is-spatial-focus .vmx-anchor:not(.is-selected) {
  opacity: 0.28;
}

.vmx-anchor--region .vmx-anchor__halo {
  background: radial-gradient(
    circle at center,
    rgba(90, 80, 60, 0.28) 0%,
    rgba(74, 64, 48, 0.1) 42%,
    transparent 74%
  );
  box-shadow: none;
  filter: blur(1.2px);
}

.vmx-anchor--region .vmx-anchor__core {
  width: 4px;
  height: 4px;
  background: rgba(180, 168, 140, 0.35);
  box-shadow: none;
  opacity: 0.4;
}

.vmx-anchor--region .vmx-anchor__label {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.15rem 0.25rem;
}

.vmx-anchor--region .vmx-anchor__activity {
  border-top: 0;
}

.vmx-anchor--hub .vmx-anchor__kind {
  color: rgba(170, 200, 180, 0.42);
}

/* T10 — operational center shares hub language; corridor presence is quieter. */
.vmx-anchor--center .vmx-anchor__kind {
  color: rgba(170, 200, 180, 0.38);
}

.vmx-anchor--presence {
  --halo: 96px;
}

.vmx-anchor--presence .vmx-anchor__kind {
  color: rgba(170, 200, 180, 0.32);
  letter-spacing: 0.14em;
}

.vmx-anchor--presence .vmx-anchor__name {
  font-size: 0.78em;
  opacity: 0.88;
}

.vmx-anchor--presence .vmx-anchor__activity {
  opacity: 0.72;
}

.vmx-anchor--presence .vmx-anchor__aura {
  opacity: 0.22;
}

.vmx-anchor--presence .vmx-anchor__halo {
  opacity: 0.28;
  filter: blur(4px) saturate(0.1);
}

/* T12 — quieter peripheral network nodes (Regional Presence). */
.vmx-anchor--territorial .vmx-anchor__kind {
  color: rgba(170, 200, 180, 0.26);
}

.vmx-anchor--territorial .vmx-anchor__name {
  font-size: 0.72em;
  opacity: 0.72;
}

.vmx-anchor--territorial .vmx-anchor__aura {
  opacity: 0.14;
}

.vmx-anchor--territorial .vmx-anchor__halo {
  opacity: 0.18;
}

/* T13 — territorial character as matter (extent/density), never hue or icons. */
.vmx-anchor[data-character="metropolitan"] .vmx-anchor__aura {
  width: calc(var(--aura, 200px) * 1.18);
  height: calc(var(--aura, 200px) * 0.72);
  opacity: 0.42;
  filter: blur(6.4px) saturate(0.08);
}

.vmx-anchor[data-character="heart"] .vmx-anchor__aura {
  width: calc(var(--aura, 200px) * 1.08);
  height: calc(var(--aura, 200px) * 0.88);
  opacity: 0.5;
  filter: blur(5.2px) saturate(0.1);
}

.vmx-anchor[data-character="transition"] .vmx-anchor__aura,
.vmx-anchor[data-character="continuity"] .vmx-anchor__aura {
  opacity: 0.2;
  filter: blur(7.2px) saturate(0.06);
}

.vmx-anchor[data-character="industrializing"] .vmx-anchor__aura,
.vmx-anchor[data-character="operational_gate"] .vmx-anchor__aura {
  opacity: 0.28;
  filter: blur(6.2px) saturate(0.08);
}

.vmx-anchor[data-character="logistics"] .vmx-anchor__aura,
.vmx-anchor[data-character="regional_edge"] .vmx-anchor__aura {
  opacity: 0.12;
  filter: blur(8px) saturate(0.05);
}

.vmx-anchor--hub.has-activity .vmx-anchor__halo {
  opacity: calc(0.52 + var(--intensity, 0.5) * 0.22);
}

.vmx-anchor.is-breathing .vmx-anchor__aura,
.vmx-anchor.is-breathing .vmx-anchor__ring {
  animation: none !important;
}

.vmx-anchor.is-activity-amplified .vmx-anchor__aura {
  opacity: calc(0.5 + var(--intensity, 0.5) * 0.3);
}

.vmx-anchor.is-activity-amplified .vmx-anchor__cluster i {
  opacity: calc(0.4 + var(--intensity, 0.5) * 0.4);
}

.vmx-anchor.is-region-yield {
  opacity: 0.42;
  filter: saturate(0.7);
}

.vmx-anchor.is-hovered .vmx-anchor__halo,
.vmx-anchor.is-selected .vmx-anchor__halo {
  opacity: 0.85;
  filter: blur(2.4px) saturate(0.95);
}

.vmx-anchor.is-hovered .vmx-anchor__aura,
.vmx-anchor.is-selected .vmx-anchor__aura {
  opacity: calc(0.4 + var(--intensity, 0.5) * 0.14);
  filter: blur(3.2px) saturate(0.9);
}

.vmx-anchor.is-hovered .vmx-anchor__core,
.vmx-anchor.is-selected .vmx-anchor__core {
  display: block;
  opacity: 1;
  background: color-mix(in srgb, var(--sector, #8eb4c8) 40%, #fff6e8);
  box-shadow:
    0 0 0 2.5px rgba(255, 248, 236, 0.95),
    0 0 0 10px rgba(240, 176, 96, 0.28),
    0 0 0 18px rgba(240, 176, 96, 0.12),
    0 0 32px rgba(240, 176, 96, 0.4);
}

.vmx-anchor.is-selected .vmx-anchor__core {
  display: block;
}

.vmx-anchor.is-selected .vmx-anchor__label {
  border: 0;
  background: transparent;
}

.vmx-anchor.is-hovered .vmx-anchor__name,
.vmx-anchor.is-selected .vmx-anchor__name {
  color: rgba(248, 244, 236, 0.98);
}

.vmx__root.is-activity-preview .vmx-anchor--hub.is-selected .vmx-anchor__label,
.vmx__root.is-previewing .vmx-anchor--hub.is-selected .vmx-anchor__label {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.15rem 0.25rem;
}

.vmx__root.is-previewing .vmx-anchor.is-selected .vmx-anchor__label {
  border: 0;
  background: transparent;
}

.vmx__canvas .cesium-viewer,
.vmx__canvas .cesium-viewer-cesiumWidgetContainer,
.vmx__canvas .cesium-widget,
.vmx__canvas .cesium-widget canvas {
  width: 100% !important;
  height: 100% !important;
}

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

.vmx__canvas .cesium-credit-logoContainer,
.vmx__canvas .cesium-credit-textContainer {
  opacity: 0.04 !important;
  filter: grayscale(1);
}

.vmx__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* T7 — editorial print atmosphere; asymmetric dust, no vignette disc */
  background:
    radial-gradient(
      ellipse 82% 68% at 42% 52%,
      rgba(12, 12, 11, 0.08),
      rgba(12, 12, 11, 0.5) 48%,
      rgba(12, 12, 11, 0.74) 100%
    ),
    radial-gradient(ellipse 70% 48% at 58% 8%, rgba(12, 12, 11, 0.5), transparent 54%),
    radial-gradient(
      ellipse 55% 50% at 38% 58%,
      rgba(48, 46, 42, 0.12),
      transparent 70%
    ),
    linear-gradient(
      168deg,
      rgba(12, 12, 11, 0.8) 0%,
      transparent 18%,
      transparent 58%,
      rgba(12, 12, 11, 0.72) 100%
    );
  z-index: 2;
  transition: opacity 1.8s var(--vmx-ease);
}

.vmx__root[data-state="ready"] .vmx__veil,
.vmx__root[data-state="revealing"] .vmx__veil {
  /* T8 — atmospheric micro-breath via --vmx-vitality (JS); never a pulse. */
  opacity: calc(0.88 * var(--vmx-vitality, 1));
}

.vmx__brand {
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  z-index: 5;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.55s var(--vmx-ease), transform 0.55s var(--vmx-ease);
}

/* T9 — product chrome appears with the open, before Home settles. */
.vmx__root[data-state="flying"] .vmx__brand,
.vmx__root[data-state="ready"] .vmx__brand,
.vmx__root[data-state="revealing"] .vmx__brand {
  opacity: 1;
  transform: translateY(0);
}

.vmx__brand-mark {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.vmx__brand-sub {
  margin: 0.2rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vmx-muted);
}

.vmx__intro {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  max-width: min(34rem, 88vw);
  pointer-events: none;
  /* T9 — boot framing yields quickly to workspace brand + territory. */
  transition: opacity 0.45s var(--vmx-ease), transform 0.45s var(--vmx-ease);
}

.vmx__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vmx-muted);
}

.vmx__title {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 10px 48px rgba(0, 0, 0, 0.5);
}

.vmx__hero-lead {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: rgba(232, 230, 224, 0.82);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.vmx__loading {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--vmx-muted);
  letter-spacing: 0.04em;
  min-height: 1.4em;
}

.vmx__root[data-state="flying"] .vmx__intro,
.vmx__root[data-state="revealing"] .vmx__intro,
.vmx__root[data-state="ready"] .vmx__intro {
  opacity: 0;
  transform: translate(-50%, -58%);
}

.vmx__narrative {
  position: absolute;
  left: 50%;
  bottom: 4.75rem;
  transform: translateX(-50%);
  z-index: 4;
  width: min(34rem, 90vw);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--vmx-ease);
}

.vmx__root[data-state="flying"] .vmx__narrative.is-active,
.vmx__root[data-bottom-voice="narrative"] .vmx__narrative.is-active {
  opacity: 1;
}

/* AD-P0-07 — attribution yields while narrative or hint speaks */
.vmx__spatial-attr.is-voice-muted {
  opacity: 0.14;
  pointer-events: none;
}

/* Inline chrome sources must stay clickable (official portal links). */
.vmx__spatial-attr--inline,
.vmx__spatial-attr--inline.is-voice-muted {
  opacity: 1;
  pointer-events: auto;
}

/* T7 — Home: territory is the first read; hubs are consequences, not subjects */
.vmx__root.is-spatial-home .vmx-anchor.is-breathing .vmx-anchor__aura,
.vmx__root.is-spatial-home .vmx-anchor.is-breathing .vmx-anchor__ring {
  animation: none;
}

/* T13 — Home: territory is Cesium-stained land; DOM auras must not read as stickers. */
.vmx__root.is-spatial-home .vmx-anchor__ring {
  display: none !important;
}

.vmx__root.is-spatial-home .vmx-anchor--hub .vmx-anchor__ring,
.vmx__root.is-spatial-home .vmx-anchor--presence .vmx-anchor__ring {
  display: none;
}

.vmx__root.is-spatial-home .vmx-anchor--hub .vmx-anchor__core,
.vmx__root.is-spatial-home .vmx-anchor--presence .vmx-anchor__core {
  display: block;
  visibility: visible;
  opacity: 1;
}

.vmx__root.is-spatial-home .vmx-anchor__kind {
  display: block;
}

.vmx__root.is-spatial-home .vmx-anchor--presence .vmx-anchor__kind,
.vmx__root.is-spatial-home .vmx-anchor--territorial .vmx-anchor__kind,
.vmx__root.is-spatial-home .vmx-anchor__door-cue {
  display: none;
}

.vmx__root.is-spatial-home .vmx-anchor.is-name-confirm .vmx-anchor__activity,
.vmx__root.is-spatial-home .vmx-anchor .vmx-anchor__activity {
  display: none;
}

.vmx__root.is-spatial-home .vmx-anchor.is-hovered .vmx-anchor__activity,
.vmx__root.is-spatial-home .vmx-anchor.is-selected .vmx-anchor__activity {
  display: block;
}

.vmx__root.is-spatial-home .vmx-anchor--hub:not(.is-spatial-door) {
  opacity: 0.92;
}

/* Home: always-on minimalist locality names (reference style). */
.vmx__root.is-spatial-home .vmx-anchor .vmx-anchor__name {
  opacity: 0.82;
  pointer-events: auto;
  font-size: 0.8rem;
  font-weight: 560;
  color: rgba(236, 232, 224, 0.86);
}

.vmx__root.is-spatial-home .vmx-anchor.is-name-confirm .vmx-anchor__name {
  opacity: 0.94;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(246, 244, 238, 0.95);
  pointer-events: auto;
}

.vmx__root.is-spatial-home .vmx-anchor--hub .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor--hub.is-name-confirm .vmx-anchor__name {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

.vmx__root.is-spatial-home .vmx-anchor--territorial .vmx-anchor__name {
  opacity: 0.55;
  font-size: 0.72rem;
}

.vmx__root.is-spatial-home .vmx-anchor.is-hovered .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor.is-selected .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor.is-hovered.is-name-confirm .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor.is-selected.is-name-confirm .vmx-anchor__name {
  opacity: 1;
  font-size: 1.02rem;
  color: rgba(252, 250, 244, 0.99);
}

.vmx__root.is-spatial-home .vmx-anchor--hub.is-hovered .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor--hub.is-selected .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor--hub.is-hovered.is-name-confirm .vmx-anchor__name,
.vmx__root.is-spatial-home .vmx-anchor--hub.is-selected.is-name-confirm .vmx-anchor__name {
  font-size: 1.08rem;
}

/* Preview — keep locality names visible; reinforce on confirm. */
.vmx__root.is-spatial-preview .vmx-anchor .vmx-anchor__name {
  opacity: 0.78;
}

.vmx__root.is-spatial-preview .vmx-anchor.is-name-confirm .vmx-anchor__name {
  opacity: 0.9;
}

/* Home: hard Cesium zones delimit localities — DOM auras stay off. */
.vmx__root.is-spatial-home .vmx-anchor__aura,
.vmx__root.is-spatial-home .vmx-anchor__halo {
  opacity: 0 !important;
  visibility: hidden;
}

.vmx__root.is-spatial-home .vmx-anchor--presence .vmx-anchor__aura,
.vmx__root.is-spatial-home .vmx-anchor--presence .vmx-anchor__halo {
  opacity: 0 !important;
  visibility: hidden;
}

.vmx__root.is-spatial-home .vmx-anchor--territorial .vmx-anchor__aura,
.vmx__root.is-spatial-home .vmx-anchor--territorial .vmx-anchor__halo {
  opacity: 0 !important;
  visibility: hidden;
}

.vmx__root.is-spatial-home .vmx-anchor.is-spatial-door .vmx-anchor__aura {
  opacity: 0 !important;
}

.vmx__root.is-spatial-home .vmx-anchor.is-name-confirm .vmx-anchor__core {
  width: calc(var(--point, 14px) * 1.45);
  height: calc(var(--point, 14px) * 1.45);
  opacity: 1;
}

.vmx__root.is-spatial-home .vmx-anchor--hub.is-name-confirm .vmx-anchor__core,
.vmx__root.is-spatial-home .vmx-anchor--center.is-name-confirm .vmx-anchor__core {
  width: calc(var(--point, 18px) * 1.55);
  height: calc(var(--point, 18px) * 1.55);
}

.vmx-anchor--region {
  display: none !important;
  pointer-events: none !important;
}

.vmx__root.is-spatial-home .vmx-anchor--region {
  display: none !important;
}

.vmx__root.is-spatial-home .vmx-anchor--region .vmx-anchor__name {
  opacity: 0;
}

.vmx__root.is-spatial-home .vmx__legend {
  opacity: 0.55;
  pointer-events: none;
}

.vmx__root.is-spatial-preview .vmx__legend,
.vmx__root.is-spatial-focus .vmx__legend {
  opacity: 0.62;
}

.vmx__root.is-spatial-home .vmx__brand {
  opacity: 0.55;
}

.vmx__root.is-spatial-home .vmx__brand-sub {
  opacity: 0.35;
}

.vmx__root.is-spatial-home .vmx__spatial-attr:not(.is-voice-muted):not(.vmx__spatial-attr--inline) {
  opacity: 0.12;
}

.vmx__root.is-spatial-home .vmx__spatial-attr--inline:not(.is-voice-muted) {
  opacity: 1;
}

.vmx__stage {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 134, 124, 0.4);
  text-shadow: none;
}

.vmx__caption {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(180, 174, 162, 0.55);
  text-shadow: none;
  letter-spacing: 0.01em;
}

.vmx__hint {
  position: absolute;
  left: 50%;
  bottom: 5.75rem;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vmx-muted);
  opacity: 0;
  transition: opacity 1s var(--vmx-ease) 0.4s;
  pointer-events: none;
}

.vmx__root[data-state="ready"] .vmx__hint:not([hidden]) {
  opacity: 1;
}

.vmx__skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 5;
  appearance: none;
  border: 1px solid var(--vmx-line);
  background: rgba(7, 11, 10, 0.48);
  color: var(--vmx-ink);
  font: 500 0.72rem/1 var(--vmx-font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--vmx-ease), color 0.3s var(--vmx-ease),
    opacity 0.4s var(--vmx-ease);
}

.vmx__skip:hover,
.vmx__skip:focus-visible {
  border-color: rgba(46, 184, 92, 0.45);
  color: rgba(170, 200, 180, 0.92);
  outline: none;
}

.vmx__root[data-state="ready"] .vmx__skip,
.vmx__root[data-state="revealing"] .vmx__skip {
  opacity: 0;
  pointer-events: none;
}

.vmx__legend {
  position: absolute;
  left: 1.25rem;
  bottom: 1.2rem;
  z-index: 5;
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(238, 241, 234, 0.08);
  background: rgba(6, 10, 8, 0.42);
  backdrop-filter: blur(12px);
  color: var(--vmx-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.9s var(--vmx-ease) 0.2s, transform 0.9s var(--vmx-ease) 0.2s;
  pointer-events: none;
}

.vmx__root[data-state="ready"] .vmx__legend,
.vmx__root[data-state="revealing"] .vmx__legend {
  opacity: 0.55;
  transform: translateY(0);
}

.vmx__legend-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.vmx__legend-swatch--area {
  width: 14px;
  height: 10px;
  border-radius: 1px;
  background: rgba(196, 165, 116, 0.35);
  border: 1px solid rgba(184, 174, 160, 0.35);
  flex-shrink: 0;
}

.vmx__legend-line {
  width: 0.85rem;
  height: 2px;
  border-radius: 1px;
  flex-shrink: 0;
}

.vmx__legend-line--oil {
  background: rgba(184, 115, 51, 0.75);
}

.vmx__legend-line--gas {
  background: rgba(90, 143, 158, 0.75);
}

.vmx__legend-line--corridor {
  background: repeating-linear-gradient(
    90deg,
    rgba(154, 149, 138, 0.85) 0 3px,
    transparent 3px 6px
  );
}

.vmx__legend-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(212, 196, 168, 0.7);
  flex-shrink: 0;
}

.vmx__legend-hex {
  width: 11px;
  height: 11px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(150, 138, 118, 0.75);
  flex-shrink: 0;
}

.vmx__activity-swatch {
  width: 0.85rem;
  height: 0.65rem;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(240, 242, 239, 0.12);
}

.vmx__activity-swatch--alta {
  background: rgba(196, 120, 58, 0.55);
}

.vmx__activity-swatch--media {
  background: rgba(201, 160, 106, 0.48);
}

.vmx__activity-swatch--baja {
  background: rgba(184, 168, 120, 0.4);
}

.vmx__activity-swatch--sin {
  background: rgba(122, 117, 108, 0.28);
}

.vmx__legend-size {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 2.6rem;
}

.vmx__legend-size i {
  display: block;
  border-radius: 50%;
  background: rgba(232, 235, 228, 0.42);
  box-shadow: none;
}

.vmx__legend-size .is-sm {
  width: 0.28rem;
  height: 0.28rem;
}

.vmx__legend-size .is-md {
  width: 0.42rem;
  height: 0.42rem;
}

.vmx__legend-size .is-lg {
  width: 0.58rem;
  height: 0.58rem;
}

.vmx__legend-swatches {
  display: inline-flex;
  gap: 0.22rem;
  min-width: 2.6rem;
}

.vmx__legend-swatches i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: none;
  opacity: 0.78;
}

.vmx__hover {
  position: absolute;
  z-index: 7;
  left: 0;
  top: 0;
  min-width: 12.5rem;
  max-width: 17rem;
  padding: 0.65rem 0.8rem 0.7rem;
  border: 1px solid rgba(180, 172, 156, 0.22);
  background: rgba(22, 24, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.vmx__hover.is-visible {
  opacity: 1;
}

.vmx__hover-kind {
  margin: 0 0 0.2rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(168, 176, 168, 0.72);
}

.vmx__hover-name {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: rgba(236, 232, 222, 0.96);
}

.vmx__hover-rows {
  margin: 0.55rem 0 0;
  display: grid;
  gap: 0.32rem;
}

.vmx__hover-row {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.45rem;
  align-items: baseline;
}

.vmx__hover-row-k {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(150, 146, 136, 0.78);
}

.vmx__hover-row-v {
  font-size: 0.72rem;
  color: rgba(220, 216, 206, 0.9);
  line-height: 1.3;
}

.vmx__hover-meta {
  margin: 0.28rem 0 0;
  font-size: 0.72rem;
  color: var(--vmx-muted);
  letter-spacing: 0.02em;
}

/* Context card — fixed floating panel (reference chrome). */
.vmx__panel {
  position: absolute;
  top: 5.35rem;
  right: var(--vmx-chrome-gap);
  bottom: var(--vmx-chrome-gap);
  z-index: 8;
  width: min(22rem, calc(100vw - 2 * var(--vmx-chrome-gap)));
  height: auto;
  max-height: calc(100% - 5.35rem - var(--vmx-chrome-gap));
  padding: 1.1rem 1.2rem 1.2rem;
  background: var(--vmx-surface);
  border: 1px solid var(--vmx-line);
  border-radius: var(--vmx-radius);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(calc(100% + 1.75rem));
  transition: transform 0.55s var(--vmx-ease), opacity 0.4s var(--vmx-ease);
  overflow: auto;
  opacity: 0;
  pointer-events: none;
}

.vmx__panel.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.vmx__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.vmx__panel-close {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--vmx-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem;
  margin: 0;
  transition: color 0.28s var(--vmx-ease);
}

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

.vmx-anchor.is-chrome-filtered-out,
.vmx-entity.is-chrome-filtered-out {
  opacity: 0.16 !important;
  filter: grayscale(0.65);
  pointer-events: none;
}

.vmx__preview-hero {
  flex: 1;
  min-width: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.vmx__panel-head + .vmx__breadcrumbs,
.vmx__panel-head ~ .vmx__panel-view {
  border-top: 1px solid var(--vmx-line);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
}

.vmx__preview-claim {
  margin: 0.55rem 0 0;
  max-width: 18rem;
  font-size: 0.86rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(240, 242, 239, 0.62);
}

.vmx__panel-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.vmx__panel-hub-mark {
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 2px;
  background: var(--hub, var(--vmx-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hub, var(--vmx-accent)) 28%, transparent);
}

.vmx__panel-title {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.vmx__panel-kind {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--vmx-muted);
}

.vmx__preview-claim {
  margin: 0.65rem 0 0;
  max-width: 18rem;
  font-size: 0.98rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(238, 241, 234, 0.82);
}

.vmx__bridge-lead {
  margin: 0.55rem 0 0;
  max-width: 18rem;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(232, 235, 228, 0.52);
}

.vmx__bridge-lead[hidden] {
  display: none;
}

.vmx__bridge-discover {
  margin-top: 0.15rem;
}

.vmx__bridge-path {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 241, 234, 0.48);
}

.vmx__bridge-doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.vmx__bridge-door {
  appearance: none;
  width: 100%;
  display: grid;
  gap: 0.12rem;
  text-align: left;
  padding: 0.68rem 0.78rem;
  border-radius: var(--vmx-radius);
  border: 1px solid rgba(232, 235, 228, 0.08);
  background: rgba(232, 235, 228, 0.025);
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.28s var(--vmx-ease), background 0.28s var(--vmx-ease);
}

.vmx__bridge-door:hover,
.vmx__bridge-door:focus-visible {
  border-color: rgba(46, 184, 92, 0.32);
  background: rgba(46, 184, 92, 0.05);
  outline: none;
}

.vmx__bridge-door--accent {
  border-color: rgba(46, 184, 92, 0.26);
  background: rgba(46, 184, 92, 0.055);
}

.vmx__bridge-door-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vmx__bridge-door-meta {
  font-size: 0.66rem;
  color: var(--vmx-muted);
  line-height: 1.35;
}

.vmx__root.is-spatial-preview .vmx__panel.vmx__preview {
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.22);
}

.vmx__root.is-spatial-focus .vmx__panel.vmx__preview {
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.26);
}

.vmx__preview-section {
  padding: 1.2rem 0 0.15rem;
  border-bottom: 1px solid var(--vmx-line);
}

.vmx__preview-section:last-of-type {
  border-bottom: 0;
}

.vmx__preview-heading {
  margin: 0 0 0.85rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vmx-muted);
}

.vmx__preview-metrics {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.vmx__preview-section--metrics {
  padding-top: 0.35rem;
}

.vmx__preview-metrics div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.vmx__preview-metric-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-direction: row;
}

.vmx__preview-metric-row dd {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
}

.vmx__preview-metric-row dt {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(240, 242, 239, 0.78);
  letter-spacing: 0;
}

.vmx__preview-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.vmx__preview-nav-item {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(238, 241, 234, 0.06);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.vmx__preview-nav-item:hover,
.vmx__preview-nav-item:focus-visible,
.vmx__preview-nav-item.is-active {
  color: var(--vmx-ink);
  outline: none;
}

.vmx__preview-nav-item.is-disabled,
.vmx__preview-nav-item:disabled {
  opacity: 0.42;
  cursor: default;
}

.vmx__preview-nav-label {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.vmx__preview-nav-hint {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--vmx-muted);
  white-space: nowrap;
}

.vmx__preview-chips {
  list-style: none;
  margin: 0.85rem 0 0.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vmx__preview-chips[hidden] {
  display: none;
}

.vmx__preview-chip {
  padding: 0.26rem 0.5rem;
  border: 1px solid rgba(232, 235, 228, 0.1);
  border-radius: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: rgba(232, 235, 228, 0.7);
  background: rgba(232, 235, 228, 0.03);
}

.vmx__preview-actions {
  margin-top: auto;
  padding-top: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.vmx__panel-cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--vmx-accent);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.22s var(--vmx-ease), transform 0.22s var(--vmx-ease);
}

.vmx__panel-cta:hover,
.vmx__panel-cta:focus-visible {
  background: #34c968;
  outline: none;
}

.vmx__panel-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(240, 242, 239, 0.14);
  border-radius: 10px;
  color: rgba(240, 242, 239, 0.88);
  background: rgba(240, 242, 239, 0.06);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.vmx__panel-secondary:hover,
.vmx__panel-secondary:focus-visible {
  border-color: rgba(240, 242, 239, 0.28);
  background: rgba(240, 242, 239, 0.1);
  color: var(--vmx-ink);
  outline: none;
}

.vmx__panel-share {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  padding: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--vmx-muted);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.vmx__panel-share:hover,
.vmx__panel-share:focus-visible {
  color: var(--vmx-ink);
  outline: none;
}

.vmx__dominant {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(240, 242, 239, 0.92);
}

.vmx__dominant-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--hub, var(--vmx-accent));
}

.vmx__preview-chips {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vmx__preview-chip {
  padding: 0.32rem 0.62rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: rgba(240, 242, 239, 0.82);
  background: rgba(240, 242, 239, 0.08);
}

.vmx__panel-secondary.is-emphasized {
  border-color: rgba(46, 184, 92, 0.55);
  color: var(--vmx-accent);
}

.vmx__preview-section.is-explored .vmx__preview-heading {
  color: rgba(158, 224, 176, 0.78);
}

/* P2 — Hub Intelligence navigation */
.vmx__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--vmx-muted);
}

.vmx__breadcrumbs[hidden] {
  display: none;
}

.vmx__crumb {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  letter-spacing: inherit;
}

.vmx__crumb:hover,
.vmx__crumb:focus-visible {
  color: var(--vmx-ink);
  outline: none;
}

.vmx__crumb.is-current {
  color: rgba(238, 241, 234, 0.88);
  cursor: default;
}

.vmx__crumb-sep {
  opacity: 0.45;
  user-select: none;
}

.vmx__panel-view[hidden] {
  display: none;
}

/* T3 — each panel level reveals in sequence (canvas first, panel confirms). */
.vmx__panel-view.is-revealing > .vmx__preview-section,
.vmx__panel-view.is-revealing > .vmx__insight-card,
.vmx__panel-view.is-revealing > .vmx__company-card,
.vmx__panel-view.is-revealing > .vmx__connectivity-card,
.vmx__panel-view.is-revealing > .vmx__production-card,
.vmx__panel-view.is-revealing > .vmx__wellcluster-card,
.vmx__panel-view.is-revealing > .vmx__preview-actions {
  animation: vmx-panel-level-in 0.95s var(--vmx-ease) both;
}

.vmx__panel-view.is-revealing > .vmx__preview-section:nth-child(1),
.vmx__panel-view.is-revealing > .vmx__insight-card,
.vmx__panel-view.is-revealing > .vmx__company-card,
.vmx__panel-view.is-revealing > .vmx__connectivity-card,
.vmx__panel-view.is-revealing > .vmx__production-card,
.vmx__panel-view.is-revealing > .vmx__wellcluster-card {
  animation-delay: 0.1s;
}

.vmx__panel-view.is-revealing > .vmx__preview-section:nth-child(2) {
  animation-delay: 0.28s;
}

.vmx__panel-view.is-revealing > .vmx__preview-section:nth-child(3),
.vmx__panel-view.is-revealing > .vmx__preview-actions {
  animation-delay: 0.42s;
}

.vmx__panel-view.is-revealing > .vmx__preview-section:nth-child(4) {
  animation-delay: 0.54s;
}

@keyframes vmx-panel-level-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vmx__panel-view.is-revealing > .vmx__preview-section,
  .vmx__panel-view.is-revealing > .vmx__insight-card,
  .vmx__panel-view.is-revealing > .vmx__company-card,
  .vmx__panel-view.is-revealing > .vmx__connectivity-card,
  .vmx__panel-view.is-revealing > .vmx__production-card,
  .vmx__panel-view.is-revealing > .vmx__wellcluster-card,
  .vmx__panel-view.is-revealing > .vmx__preview-actions {
    animation: none;
  }
}

.vmx__panel-title--compact {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  margin-top: 0.35rem;
}

.vmx__intel-note {
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--vmx-muted);
}

.vmx__intel-doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.vmx__intel-door {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(232, 235, 228, 0.08);
  border-radius: var(--vmx-radius);
  background: rgba(232, 235, 228, 0.025);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.28s var(--vmx-ease), background 0.28s var(--vmx-ease);
}

.vmx__intel-door:hover,
.vmx__intel-door:focus-visible {
  border-color: rgba(46, 184, 92, 0.32);
  background: rgba(46, 184, 92, 0.05);
  outline: none;
}

.vmx__intel-door-kicker {
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

.vmx__intel-door-meta {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--vmx-muted);
}

.vmx__intel-list,
.vmx__intel-sectors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.vmx__intel-list-item,
.vmx__intel-sector {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(238, 241, 234, 0.07);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.vmx__intel-list-item:hover,
.vmx__intel-list-item:focus-visible,
.vmx__intel-list-item.is-active,
.vmx__intel-sector:hover,
.vmx__intel-sector:focus-visible {
  color: var(--vmx-ink);
  outline: none;
}

.vmx__intel-list-name,
.vmx__intel-sector-name {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.vmx__intel-list-meta,
.vmx__intel-sector-meta {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--vmx-muted);
  white-space: nowrap;
}

.vmx__intel-door--accent {
  border-color: rgba(46, 184, 92, 0.35);
  background: rgba(46, 184, 92, 0.07);
}

.vmx__intel-door--accent .vmx__intel-door-kicker {
  color: rgba(158, 224, 176, 0.95);
}

/* P3 Composition Insight card — editorial, not a dashboard. */
.vmx__insight-card {
  margin: 0.35rem 0 0;
  padding: 0;
}

.vmx__insight-type {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vmx-accent);
}

.vmx__insight-sector {
  margin: 0.65rem 0 0;
  font-family: var(--vmx-font-display);
  font-size: clamp(1.65rem, 3.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--vmx-ink);
}

.vmx__insight-lead {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(158, 224, 176, 0.82);
}

.vmx__insight-title {
  margin: 0.55rem 0 0;
  font-family: var(--vmx-font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.vmx__insight-conclusion {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  line-height: 1.48;
  letter-spacing: -0.01em;
  color: rgba(238, 241, 234, 0.9);
}

.vmx__insight-evidence {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--vmx-line);
}

.vmx__insight-evidence-label {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vmx-muted);
}

.vmx__insight-metrics {
  margin: 0.65rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.vmx__insight-metrics div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.vmx__insight-metrics dd {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.vmx__insight-metrics dt {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--vmx-muted);
}

.vmx__insight-evidence-body {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(238, 241, 234, 0.82);
}

.vmx__insight-related {
  margin-top: 1rem;
}

.vmx__insight-entities {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vmx__insight-entity {
  appearance: none;
  border: 1px solid rgba(238, 241, 234, 0.12);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  background: rgba(238, 241, 234, 0.04);
  color: rgba(238, 241, 234, 0.85);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.vmx__insight-entity:hover,
.vmx__insight-entity:focus-visible {
  border-color: rgba(46, 184, 92, 0.45);
  color: var(--vmx-ink);
  outline: none;
}

.vmx__insight-card .vmx__preview-actions {
  margin-top: 1.35rem;
}

/* P3.1 — Specialty depth layer (not a flat list). */
.vmx__specialty-layer {
  padding-top: 0.15rem;
}

.vmx__specialty-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vmx-muted);
}

.vmx__specialty-name {
  margin: 0.45rem 0 0;
  font-family: var(--vmx-font-display);
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.vmx__specialty-lead {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.42;
  color: rgba(238, 241, 234, 0.84);
}

.vmx__specialty-evidence {
  margin: 0.75rem 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--vmx-muted);
}

/* P4 — Company Continuity: nodo del ecosistema, no ficha. */
.vmx__company-card {
  margin: 0.35rem 0 0;
  padding: 0;
}

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

.vmx__company-name {
  margin: 0.45rem 0 0;
  font-family: var(--vmx-font-display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--vmx-ink);
}

.vmx__company-why {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(238, 241, 234, 0.88);
}

.vmx__company-block {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--vmx-line);
}

.vmx__company-hub {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(238, 241, 234, 0.92);
}

.vmx__company-specialties {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vmx__company-specialty {
  appearance: none;
  border: 1px solid rgba(46, 184, 92, 0.35);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: rgba(46, 184, 92, 0.08);
  color: rgba(158, 224, 176, 0.95);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.vmx__company-specialty:hover,
.vmx__company-specialty:focus-visible {
  border-color: rgba(46, 184, 92, 0.55);
  color: var(--vmx-ink);
  outline: none;
}

.vmx__company-evidence {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(238, 241, 234, 0.82);
}

.vmx__company-card .vmx__preview-actions {
  margin-top: 1.35rem;
}

.vmx__intel-empty {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--vmx-muted);
}

/* Preview selection: selected hub stays; others quiet (Apple Maps + Linear). */
.vmx__root.is-previewing .vmx__veil {
  opacity: 0.55;
}

.vmx__root.is-previewing .vmx-anchor:not(.is-selected) {
  opacity: 0.34;
  filter: saturate(0.65);
}

.vmx__root.is-previewing .vmx-anchor.is-selected {
  opacity: 1;
  z-index: 2;
  filter: none;
}

.vmx__root.is-previewing .vmx-anchor.is-selected .vmx-anchor__halo {
  opacity: 0.62;
  filter: blur(1.2px) saturate(0.65);
}

.vmx__root.is-previewing .vmx-anchor.is-selected .vmx-anchor__label {
  border: 0;
  background: transparent;
}

.vmx__root.is-previewing .vmx__legend {
  opacity: 0.32;
}

.vmx__root.is-previewing .vmx__spatial-attr {
  opacity: 0.35;
}

.vmx__spatial-attr {
  position: absolute;
  right: 1.1rem;
  bottom: 0.85rem;
  left: auto;
  z-index: 4;
  margin: 0;
  max-width: 14rem;
  text-align: right;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: rgba(238, 241, 234, 0.42);
  pointer-events: none;
  transition: opacity 280ms ease;
}

.vmx__noscript {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background: var(--vmx-bg);
}

.vmx__noscript a {
  color: var(--vmx-accent);
}

/* —— Home chrome: left rail + top stats —— */
.vmx__chrome-left,
.vmx__stats {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--vmx-ease), transform 0.55s var(--vmx-ease);
}

.vmx__root[data-state="flying"] .vmx__chrome-left,
.vmx__root[data-state="ready"] .vmx__chrome-left,
.vmx__root[data-state="revealing"] .vmx__chrome-left,
.vmx__root[data-state="flying"] .vmx__stats,
.vmx__root[data-state="ready"] .vmx__stats,
.vmx__root[data-state="revealing"] .vmx__stats {
  opacity: 1;
  pointer-events: auto;
}

.vmx__chrome-left {
  position: absolute;
  top: var(--vmx-chrome-gap);
  left: var(--vmx-chrome-gap);
  bottom: var(--vmx-chrome-gap);
  z-index: 8;
  width: var(--vmx-chrome-left);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.05rem 1rem;
  border-radius: var(--vmx-radius);
  border: 1px solid var(--vmx-line);
  background: var(--vmx-surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
  transform: translateX(-8px);
}

.vmx__root[data-state="flying"] .vmx__chrome-left,
.vmx__root[data-state="ready"] .vmx__chrome-left,
.vmx__root[data-state="revealing"] .vmx__chrome-left {
  transform: translateX(0);
}

/* Map nav — compass + zoom/home (reference chrome). */
.vmx__map-nav {
  position: absolute;
  z-index: 8;
  top: var(--vmx-chrome-gap);
  left: calc(var(--vmx-chrome-left) + 2 * var(--vmx-chrome-gap));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.55s var(--vmx-ease), transform 0.55s var(--vmx-ease);
}

.vmx__root[data-state="flying"] .vmx__map-nav,
.vmx__root[data-state="ready"] .vmx__map-nav,
.vmx__root[data-state="revealing"] .vmx__map-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.vmx__root.is-previewing .vmx__map-nav {
  left: var(--vmx-chrome-gap);
}

.vmx__map-nav-compass {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(240, 242, 239, 0.14);
  background: rgba(10, 12, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  color: rgba(246, 244, 238, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.vmx__map-nav-compass:hover,
.vmx__map-nav-compass:focus-visible {
  outline: none;
  border-color: rgba(var(--vmx-accent-rgb), 0.45);
  color: #fff;
}

.vmx__map-nav-compass-ring {
  position: relative;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 242, 239, 0.28);
  display: block;
}

.vmx__map-nav-compass-n {
  position: absolute;
  top: -0.05rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(246, 244, 238, 0.88);
}

.vmx__map-nav-compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.55rem;
  height: 1.05rem;
  margin: -0.525rem 0 0 -0.275rem;
  background: linear-gradient(
    180deg,
    rgba(220, 84, 70, 0.95) 0 48%,
    rgba(240, 242, 239, 0.92) 52% 100%
  );
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform-origin: 50% 50%;
  transition: transform 0.12s linear;
}

.vmx__map-nav-stack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(240, 242, 239, 0.14);
  background: rgba(10, 12, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.vmx__map-nav-btn {
  width: 2.35rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(240, 242, 239, 0.1);
  background: transparent;
  color: rgba(246, 244, 238, 0.88);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.vmx__map-nav-btn:last-child {
  border-bottom: 0;
}

.vmx__map-nav-btn svg {
  width: 1rem;
  height: 1rem;
}

.vmx__map-nav-btn:hover,
.vmx__map-nav-btn:focus-visible {
  outline: none;
  background: rgba(240, 242, 239, 0.08);
  color: #fff;
}

.vmx__chrome-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-bottom: 0.15rem;
  flex: 0 0 auto;
}

.vmx__chrome-filters {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
}

.vmx__chrome-brand-link.vm-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.vmx__chrome-brand-link.vm-brand-link:hover,
.vmx__chrome-brand-link.vm-brand-link:focus-visible {
  outline: none;
  opacity: 0.92;
}

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

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

.vmx__chrome-brand-wordmark.logo-wordmark {
  color: #ffffff;
  font-family: var(--vmx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vmx__chrome-brand-link .vm-brand-descriptor {
  font-family: var(--vmx-font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: rgba(240, 242, 239, 0.58);
  white-space: nowrap;
}

.vmx__location-filter {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 0 0 auto;
  position: relative;
  z-index: 9;
  padding: 0;
}

.vmx__dropdown {
  position: relative;
  display: block;
}

.vmx__dropdown--location .vmx__dropdown-trigger.vmx__layer-row {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  color: rgba(240, 242, 239, 0.82);
  cursor: pointer;
}

.vmx__dropdown--location .vmx__dropdown-trigger.vmx__layer-row:hover {
  background: rgba(240, 242, 239, 0.04);
}

.vmx__dropdown--location.is-open .vmx__dropdown-trigger.vmx__layer-row,
.vmx__dropdown--location .vmx__dropdown-trigger.vmx__layer-row:focus-visible {
  outline: none;
  background: rgba(var(--vmx-accent-rgb), 0.1);
  color: #fff;
}

.vmx__dropdown--location .vmx__dropdown-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
}

.vmx__dropdown-chevron {
  width: 0.85rem;
  height: 0.85rem;
  justify-self: end;
  color: rgba(240, 242, 239, 0.45);
  transition: transform 0.18s ease, color 0.18s ease;
}

.vmx__dropdown.is-open .vmx__dropdown-chevron {
  transform: rotate(180deg);
  color: var(--vmx-accent);
}

.vmx__dropdown-menu {
  position: absolute;
  z-index: 14;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  max-height: min(14.5rem, 42vh);
  overflow: auto;
  margin: 0;
  padding: 0.2rem;
  list-style: none;
  border-radius: 8px;
  border: 1px solid rgba(240, 242, 239, 0.1);
  background: rgba(14, 16, 14, 0.97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--vmx-accent-rgb), 0.45) rgba(240, 242, 239, 0.06);
}

.vmx__dropdown-option {
  display: grid;
  align-items: center;
  min-height: 2.05rem;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  color: rgba(240, 242, 239, 0.82);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
}

.vmx__dropdown-option:hover,
.vmx__dropdown-option:focus-visible {
  outline: none;
  background: rgba(240, 242, 239, 0.06);
  color: rgba(240, 242, 239, 0.95);
}

.vmx__dropdown-option.is-selected {
  color: #fff;
  background: rgba(var(--vmx-accent-rgb), 0.16);
}

.vmx__search {
  position: relative;
  display: block;
}

.vmx__search-input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(240, 242, 239, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--vmx-ink);
  font: inherit;
  font-size: 0.84rem;
  padding: 0.72rem 2.4rem 0.72rem 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.vmx__search-input::placeholder {
  color: rgba(240, 242, 239, 0.38);
}

.vmx__search-input:focus {
  border-color: rgba(var(--vmx-accent-rgb), 0.55);
  background: rgba(0, 0, 0, 0.38);
}

.vmx__search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--vmx-accent);
  pointer-events: none;
}

.vmx__chrome-right {
  position: absolute;
  top: var(--vmx-chrome-gap);
  right: var(--vmx-chrome-gap);
  bottom: var(--vmx-chrome-gap);
  z-index: 9;
  width: var(--vmx-chrome-right);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.05rem 1rem;
  border-radius: var(--vmx-radius);
  border: 1px solid var(--vmx-line);
  background: var(--vmx-surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity 0.55s var(--vmx-ease), transform 0.55s var(--vmx-ease);
  overflow: hidden;
}

.vmx__root[data-state="flying"] .vmx__chrome-right,
.vmx__root[data-state="ready"] .vmx__chrome-right,
.vmx__root[data-state="revealing"] .vmx__chrome-right {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.vmx__root.is-previewing .vmx__chrome-right {
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
}

.vmx__chrome-right-head {
  flex: 0 0 auto;
  padding-bottom: 0.15rem;
}

.vmx__chrome-right-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--vmx-accent-rgb), 0.45) rgba(240, 242, 239, 0.06);
}

.vmx__legend-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.vmx__legend-block-hint {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.35;
  color: rgba(240, 242, 239, 0.42);
}

.vmx__chrome-right-foot {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vmx__legend-update-label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 242, 239, 0.42);
}

.vmx__spatial-attr--inline {
  position: static;
  max-width: none;
  text-align: left;
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(240, 242, 239, 0.58);
  opacity: 1;
}

.vmx__spatial-attr-link {
  color: rgba(240, 242, 239, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 242, 239, 0.2);
  transition: color 0.18s ease, border-color 0.18s ease;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.vmx__spatial-attr-link:hover,
.vmx__spatial-attr-link:focus-visible {
  outline: none;
  color: rgba(246, 244, 238, 0.95);
  border-bottom-color: rgba(var(--vmx-accent-rgb), 0.55);
}

.vmx__layer-row.vmx__legend-row {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  cursor: default;
}

.vmx__layer-row.vmx__legend-row:hover {
  background: transparent;
}

.vmx__layer-row.vmx__legend-row .vmx__activity-swatch,
.vmx__layer-row.vmx__legend-row .vmx__legend-swatch--concession,
.vmx__layer-row.vmx__legend-row .vmx__legend-line,
.vmx__layer-row.vmx__legend-row .vmx__legend-node,
.vmx__layer-row.vmx__legend-row .vmx__legend-hex {
  justify-self: center;
}

.vmx__legend-swatch--concession {
  width: 0.85rem;
  height: 0.65rem;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px dashed rgba(208, 199, 180, 0.75);
  background: rgba(196, 188, 168, 0.18);
}

.vmx__activity-scale,
.vmx__map-key {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.vmx__activity-scale-item,
.vmx__map-key li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: rgba(240, 242, 239, 0.82);
}

.vmx__layer-filters {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0.15rem 0 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--vmx-accent-rgb), 0.45) rgba(240, 242, 239, 0.06);
}

.vmx__layer-filters-title {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 242, 239, 0.62);
}

.vmx__layer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.vmx__layer-all {
  margin-bottom: 0.15rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(240, 242, 239, 0.08);
}

.vmx__layer-row--all .vmx__layer-name {
  font-weight: 500;
  color: rgba(240, 242, 239, 0.9);
}

.vmx__layer-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.1rem 1fr 2.05rem;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.05rem;
  padding: 0.2rem 0.15rem;
  border-radius: 8px;
  cursor: pointer;
  color: rgba(240, 242, 239, 0.82);
  font-size: 0.78rem;
}

.vmx__layer-row:hover {
  background: rgba(240, 242, 239, 0.04);
}

.vmx__layer-name {
  min-width: 0;
  line-height: 1.25;
}

.vmx__layer-icon {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.85;
}

.vmx__layer-icon--areas {
  background: rgba(196, 120, 58, 0.7);
}

.vmx__layer-icon--concessions {
  border: 1px dashed rgba(208, 199, 180, 0.8);
  background: rgba(196, 188, 168, 0.15);
}

.vmx__layer-icon--fields {
  background: rgba(133, 121, 101, 0.75);
}

.vmx__layer-icon--wells {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(168, 152, 120, 0.85);
}

.vmx__layer-icon--oil {
  height: 2px;
  border-radius: 1px;
  background: #d4894a;
  align-self: center;
}

.vmx__layer-icon--gas {
  height: 2px;
  border-radius: 1px;
  background: #5a8fa8;
  align-self: center;
}

.vmx__layer-icon--plants {
  border-radius: 1px;
  background: rgba(200, 192, 174, 0.75);
}

.vmx__layer-icon--corridors {
  height: 2px;
  border-radius: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(176, 170, 156, 0.9) 0 3px,
    transparent 3px 5px
  );
  align-self: center;
}

.vmx__layer-icon--places {
  border-radius: 50%;
  background: rgba(180, 196, 208, 0.85);
  box-shadow: 0 0 0 2px rgba(180, 196, 208, 0.2);
}

.vmx__layer-icon--all {
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(var(--vmx-accent-rgb), 0.85) 0 35%, transparent 35% 100%),
    linear-gradient(225deg, rgba(240, 242, 239, 0.55) 0 35%, transparent 35% 100%),
    rgba(240, 242, 239, 0.18);
  box-shadow: inset 0 0 0 1px rgba(240, 242, 239, 0.18);
}

.vmx__layer-input {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.vmx__layer-switch {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  width: 2.05rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(240, 242, 239, 0.14);
  border: 1px solid rgba(240, 242, 239, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  pointer-events: none;
  z-index: 1;
  justify-self: end;
}

.vmx__layer-switch::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: rgba(240, 242, 239, 0.55);
  transition: transform 0.2s ease, background 0.2s ease;
}

.vmx__layer-input:checked + .vmx__layer-switch {
  background: rgba(var(--vmx-accent-rgb), 0.85);
  border-color: rgba(var(--vmx-accent-rgb), 0.95);
}

.vmx__layer-input:checked + .vmx__layer-switch::after {
  transform: translateX(0.88rem);
  background: #f4f7f2;
}

.vmx__layer-input:indeterminate + .vmx__layer-switch {
  background: rgba(var(--vmx-accent-rgb), 0.42);
  border-color: rgba(var(--vmx-accent-rgb), 0.55);
}

.vmx__layer-input:indeterminate + .vmx__layer-switch::after {
  left: 50%;
  transform: translateX(-50%);
  background: #f4f7f2;
}

.vmx__layer-input:focus-visible + .vmx__layer-switch {
  outline: 2px solid rgba(var(--vmx-accent-rgb), 0.55);
  outline-offset: 2px;
}

.vmx__filters {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--vmx-accent-rgb), 0.45) rgba(240, 242, 239, 0.06);
}

.vmx__filters::-webkit-scrollbar,
.vmx__panel::-webkit-scrollbar,
.vmx__chrome-left::-webkit-scrollbar,
.vmx__chrome-right-body::-webkit-scrollbar {
  width: 6px;
}

.vmx__filters::-webkit-scrollbar-track,
.vmx__panel::-webkit-scrollbar-track,
.vmx__chrome-left::-webkit-scrollbar-track,
.vmx__chrome-right-body::-webkit-scrollbar-track {
  background: rgba(240, 242, 239, 0.04);
  border-radius: 999px;
}

.vmx__filters::-webkit-scrollbar-thumb,
.vmx__panel::-webkit-scrollbar-thumb,
.vmx__chrome-left::-webkit-scrollbar-thumb,
.vmx__chrome-right-body::-webkit-scrollbar-thumb {
  background: rgba(var(--vmx-accent-rgb), 0.42);
  border-radius: 999px;
}

.vmx__filters::-webkit-scrollbar-thumb:hover,
.vmx__panel::-webkit-scrollbar-thumb:hover,
.vmx__chrome-left::-webkit-scrollbar-thumb:hover,
.vmx__chrome-right-body::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--vmx-accent-rgb), 0.72);
}

.vmx__panel {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--vmx-accent-rgb), 0.45) rgba(240, 242, 239, 0.06);
}

.vmx__chrome-left {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--vmx-accent-rgb), 0.45) rgba(240, 242, 239, 0.06);
  overflow: visible;
}

.vmx__filter {
  border-bottom: 1px solid rgba(240, 242, 239, 0.06);
}

.vmx__filter-toggle {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(240, 242, 239, 0.9);
  font: inherit;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 0.1rem;
  cursor: pointer;
  text-align: left;
}

.vmx__filter-toggle svg {
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.vmx__filter.is-open .vmx__filter-toggle svg {
  transform: rotate(180deg);
}

.vmx__filter-body {
  display: none;
  padding: 0 0 0.75rem;
}

.vmx__filter.is-open .vmx__filter-body {
  display: grid;
  gap: 0.35rem;
}

.vmx__filter-option {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(240, 242, 239, 0.04);
  color: rgba(240, 242, 239, 0.78);
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  padding: 0.48rem 0.6rem;
  cursor: pointer;
}

.vmx__filter-option:hover,
.vmx__filter-option:focus-visible,
.vmx__filter-option.is-active {
  border-color: rgba(var(--vmx-accent-rgb), 0.35);
  background: rgba(var(--vmx-accent-rgb), 0.1);
  color: #fff;
  outline: none;
}

.vmx__stats {
  position: absolute;
  top: var(--vmx-chrome-gap);
  left: calc(50% + (var(--vmx-chrome-left) - var(--vmx-chrome-right)) / 2);
  z-index: 8;
  transform: translate(-50%, -6px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid var(--vmx-line);
  background: var(--vmx-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

.vmx__stats-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0.35rem 0.18rem;
  border-bottom: 1px solid rgba(240, 242, 239, 0.08);
}

.vmx__stats-title {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: 0.62rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 224, 218, 0.78);
}

.vmx__stats-context {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  color: var(--vmx-muted);
}

.vmx__stats-metrics {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.vmx__root[data-state="flying"] .vmx__stats,
.vmx__root[data-state="ready"] .vmx__stats,
.vmx__root[data-state="revealing"] .vmx__stats {
  transform: translate(-50%, 0);
}

.vmx__root.is-previewing .vmx__stats {
  left: calc(
    (100% + var(--vmx-chrome-left) - min(22rem, 30vw) + var(--vmx-chrome-gap)) /
      2
  );
}

.vmx__stat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 1.05rem;
  border-right: 1px solid rgba(240, 242, 239, 0.08);
  min-width: 7.5rem;
}

.vmx__stat:first-child {
  padding-left: 0.35rem;
}

.vmx__stat:last-child {
  border-right: 0;
  padding-right: 0.35rem;
}

.vmx__stat-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--vmx-accent);
  flex: 0 0 auto;
}

.vmx__stat-swatch {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  border-radius: 2px;
  border: 1px solid rgba(240, 242, 239, 0.14);
}

.vmx__stat-swatch--areas {
  background: rgba(196, 120, 58, 0.55);
}

.vmx__stat-swatch--wells {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(150, 138, 118, 0.85);
  border: 0;
}

.vmx__stat-swatch--ducts {
  width: 0.95rem;
  height: 2px;
  border-radius: 1px;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(184, 115, 51, 0.9) 0 48%,
    rgba(90, 143, 158, 0.9) 52% 100%
  );
}

.vmx__stat-swatch--plants {
  background: rgba(168, 176, 152, 0.75);
}

.vmx__stat-copy {
  display: grid;
  gap: 0.05rem;
  line-height: 1.1;
}

.vmx__stat-value {
  margin: 0;
  font-family: var(--vmx-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.vmx__stat-label {
  margin: 0;
  font-size: 0.68rem;
  color: var(--vmx-muted);
}

@media (max-width: 1100px) {
  .vmx__stats {
    left: calc(var(--vmx-chrome-left) + 2 * var(--vmx-chrome-gap));
    right: var(--vmx-chrome-gap);
    transform: none;
    border-radius: 14px;
    overflow-x: auto;
  }

  .vmx__root[data-state="flying"] .vmx__stats,
  .vmx__root[data-state="ready"] .vmx__stats,
  .vmx__root[data-state="revealing"] .vmx__stats {
    transform: none;
  }
}

@media (max-width: 860px) {
  .vmx__chrome-left {
    width: min(16.5rem, calc(100vw - 2rem));
    bottom: auto;
    max-height: calc(100% - 2rem);
  }

  .vmx__map-nav {
    left: calc(min(16.5rem, calc(100vw - 2rem)) + 2 * var(--vmx-chrome-gap));
  }

  .vmx__chrome-right {
    display: none;
  }

  .vmx__stats {
    display: none;
  }
}

@media (max-width: 640px) {
  .vmx__brand {
    top: 0.85rem;
    left: 0.9rem;
  }

  .vmx__map-nav {
    left: 0.75rem;
    top: 0.75rem;
  }

  .vmx__chrome-left {
    top: auto;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    max-height: 42vh;
    transform: translateY(8px);
  }

  .vmx__root[data-state="flying"] .vmx__chrome-left,
  .vmx__root[data-state="ready"] .vmx__chrome-left,
  .vmx__root[data-state="revealing"] .vmx__chrome-left {
    transform: translateY(0);
  }

  .vmx__root.is-previewing .vmx__chrome-left {
    opacity: 0;
    pointer-events: none;
  }

  .vmx__chrome-right {
    display: none;
  }

  .vmx__legend {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    width: auto;
  }

  .vmx__spatial-attr {
    left: auto;
    right: 0.85rem;
    bottom: 4.1rem;
    max-width: 12rem;
    text-align: right;
  }

  .vmx__narrative {
    bottom: 6.5rem;
  }

  .vmx__hint {
    bottom: 7.4rem;
  }

  .vmx__panel {
    width: auto;
    left: 0.75rem;
    right: 0.75rem;
    top: auto;
    bottom: 0.75rem;
    max-height: 62vh;
    height: auto;
    transform: translateY(110%);
    border-radius: var(--vmx-radius);
    padding-top: 1.1rem;
  }

  .vmx__panel.is-open {
    transform: translateY(0);
  }

  .vmx__skip {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vmx__root {
    animation: none;
    opacity: 1;
    --vmx-vitality: 1;
  }

  .vmx__intro,
  .vmx__panel,
  .vmx__veil,
  .vmx__brand,
  .vmx__chrome-left,
  .vmx__stats,
  .vmx__legend,
  .vmx__hover,
  .vmx__narrative,
  .vmx__hint {
    transition: none;
  }

  .vmx-anchor.is-breathing .vmx-anchor__aura,
  .vmx-anchor.is-breathing .vmx-anchor__ring,
  .vmx-entity--activity.is-living .vmx-entity__halo {
    animation: none;
  }
}
