/* Apix13 — Dashboard Ejecutivo 100vh (local)
 * Aísla la vista del flujo/stack SuperApix (sa-mx / eco-card / space-y).
 * Página: overflow hidden. Solo el panel auditoría puede hacer scroll interno.
 */

/* ─── Viewport lock (activado vía html.apix13-exec-viewport-lock) ─── */
html.apix13-exec-viewport-lock,
html.apix13-exec-viewport-lock body {
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden !important;
}

html.apix13-exec-viewport-lock #ecosistema-layout-root {
  height: 100vh;
  height: 100dvh;
  min-height: 0 !important;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden !important;
}

html.apix13-exec-viewport-lock #ecosistema-layout-root > .flex-1.flex-col {
  min-height: 0 !important;
  height: 100%;
  max-height: 100%;
  overflow: hidden !important;
}

html.apix13-exec-viewport-lock #ecosistema-main {
  flex: 1 1 auto;
  min-height: 0 !important;
  height: auto;
  max-height: 100%;
  overflow: hidden !important;
  padding: clamp(0.35rem, 0.8vh, 0.65rem) clamp(0.4rem, 1vw, 0.85rem) !important;
  display: flex;
  flex-direction: column;
}

/* Neutralizar herencia SuperApix / sa-mx dentro de Apix13 ejecutivo */
html.apix13-exec-viewport-lock #vista-apix13.apix13-exec-on .sa-mx-wrap,
html.apix13-exec-viewport-lock #vista-apix13.apix13-exec-on .sa-mx-tree:not(.a13-exec-tree),
html.apix13-exec-viewport-lock #vista-apix13.apix13-exec-on .sa-node-sphere {
  display: none !important;
}

/* ─── Contenedor principal: estricto 100% del main, sin scroll ─── */
#vista-apix13.apix13-exec-on {
  --a13e-bg: #070b14;
  --a13e-panel: rgba(12, 20, 36, 0.92);
  --a13e-cyan: #22d3ee;
  --a13e-cyan-dim: rgba(34, 211, 238, 0.35);
  --a13e-gold: #d4af37;
  --a13e-muted: #94a3b8;
  --a13e-empty: rgba(148, 163, 184, 0.28);
  /* Nodo ≥ ~12ch (alias/guiones); multi-palabra → 2ª línea solo en espacios */
  --a13e-chip-w: clamp(5.6rem, 12ch + 0.7rem, 7.5rem);
  --a13e-chip-h: clamp(4.6rem, 11.8vh, 6.6rem);
  --a13e-gap-y: clamp(0.2rem, 0.9vh, 0.55rem);
  --a13e-gap-x: clamp(0.22rem, 0.9vw, 0.55rem);
  --a13e-alias-size: clamp(0.6rem, 1.15vh + 0.3vw, 0.8rem);

  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  /* Anula space-y-* de Tailwind en el markup */
  row-gap: 0 !important;
}

#vista-apix13.apix13-exec-on > * + * {
  margin-top: 0 !important;
}

/* Stack legacy (hero + matriz SuperApix) fuera del flujo visual */
#vista-apix13.apix13-exec-on .apix13-legacy-stack {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none;
}

#vista-apix13.apix13-exec-on .apix13-legacy-stack button,
#vista-apix13.apix13-exec-on .apix13-legacy-stack input {
  pointer-events: auto; /* CTAs espejo pueden .click() / focus si hace falta */
}

/* ─── Shell ejecutivo: llena el viewport ─── */
.apix13-exec-shell {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--a13e-gap-y);
  overflow: hidden;
  color: #e2e8f0;
}

.apix13-exec-header {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: clamp(0.55rem, 1vh, 0.85rem);
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(34, 211, 238, 0.18), transparent 55%),
    linear-gradient(180deg, #0c1628 0%, #070b14 100%);
  padding: clamp(0.35rem, 1vh, 0.7rem) clamp(0.55rem, 1.2vw, 0.9rem);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.apix13-exec-header__title {
  margin: 0;
  font-size: clamp(0.72rem, 1.6vh + 0.35vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  text-align: center;
  line-height: 1.2;
}

.apix13-exec-header__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.85rem);
  margin-top: clamp(0.25rem, 0.7vh, 0.55rem);
}

.apix13-exec-meter {
  flex: 1 1 auto;
  min-width: 0;
}

.apix13-exec-meter__label {
  font-size: clamp(0.5rem, 1.1vh, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a13e-muted);
  margin-bottom: 0.15rem;
}

.apix13-exec-meter__value {
  font-size: clamp(0.85rem, 2.2vh, 1.15rem);
  font-weight: 800;
  color: var(--a13e-cyan);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.apix13-exec-meter__track {
  height: clamp(0.28rem, 0.55vh, 0.45rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.apix13-exec-meter__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0891b2, var(--a13e-cyan));
  box-shadow: 0 0 12px var(--a13e-cyan-dim);
  transition: width 0.35s ease;
}

.apix13-exec-ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.apix13-exec-cta {
  min-height: clamp(1.7rem, 3.6vh, 2.25rem);
  padding: 0.25rem clamp(0.45rem, 1vw, 0.7rem);
  border-radius: 0.55rem;
  font-size: clamp(0.55rem, 1.2vh + 0.2vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  opacity: 0.38;
  cursor: not-allowed;
  white-space: nowrap;
  transition: opacity 0.2s, box-shadow 0.2s, background 0.2s;
}

.apix13-exec-cta--sa {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.apix13-exec-cta--bono {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  color: #f0d78c;
}

.apix13-exec-cta.is-lit {
  opacity: 1;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
}

.apix13-exec-cta.is-lit:hover {
  filter: brightness(1.12);
}

/* Escenario del árbol: consume TODO el resto del alto */
.apix13-exec-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: clamp(0.55rem, 1vh, 0.85rem);
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.08), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(212, 175, 55, 0.06), transparent 45%),
    var(--a13e-panel);
  padding: clamp(0.35rem, 1vh, 0.65rem) clamp(0.25rem, 1vw, 0.55rem);
  display: flex;
  flex-direction: column;
}

.apix13-exec-tree-host {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.apix13-exec-back {
  position: absolute;
  top: clamp(0.25rem, 0.8vh, 0.5rem);
  left: clamp(0.25rem, 0.8vw, 0.5rem);
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.25rem;
  min-height: clamp(1.5rem, 3vh, 2rem);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(7, 11, 20, 0.85);
  color: var(--a13e-cyan);
  font-size: clamp(0.58rem, 1.3vh, 0.7rem);
  font-weight: 700;
  cursor: pointer;
}

.apix13-exec-back.is-visible {
  display: inline-flex;
}

.apix13-exec-back:hover {
  background: rgba(34, 211, 238, 0.12);
}

/* ─── Organigrama 1 → 3 → 9 (encaja en alto disponible) ─── */
.a13-exec-tree {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: space-evenly;
  justify-items: center;
  gap: var(--a13e-gap-y);
  padding: clamp(0.15rem, 0.6vh, 0.4rem) 0;
  margin: 0;
  overflow: hidden;
  /* Rompe herencia sa-mx-tree */
  font-size: inherit !important;
}

.a13-exec-level {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 0;
}

.a13-exec-level--1 {
  margin: 0;
}

.a13-exec-level--2 {
  gap: clamp(0.55rem, 5vw, 2.75rem);
}

.a13-exec-level--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--a13e-gap-y) clamp(0.25rem, 2vw, 1.1rem);
  width: min(100%, 54rem);
  max-width: 100%;
  padding: 0 clamp(0.15rem, 1vw, 0.4rem);
  justify-items: center;
}

.a13-exec-uns {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.2rem, 0.8vw, 0.45rem);
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 0.1rem;
}

.a13-exec-conn--wide {
  width: min(70%, 18rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a13e-cyan-dim), transparent);
  margin: 0;
  align-self: center;
}

/* Fichas: alias completo (≤10) legible; 2 líneas si hace falta */
.a13-exec-chip {
  box-sizing: border-box;
  width: var(--a13e-chip-w);
  max-width: var(--a13e-chip-w);
  height: var(--a13e-chip-h);
  min-height: 0;
  max-height: var(--a13e-chip-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1rem, 0.4vh, 0.22rem);
  padding: clamp(0.18rem, 0.55vh, 0.38rem) clamp(0.18rem, 0.55vw, 0.35rem);
  border-radius: clamp(0.45rem, 1vh, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  overflow: hidden;
}

.a13-exec-chip--root {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.14);
  width: calc(var(--a13e-chip-w) * 1.12);
  max-width: calc(var(--a13e-chip-w) * 1.12);
  height: calc(var(--a13e-chip-h) * 1.08);
  max-height: calc(var(--a13e-chip-h) * 1.08);
}

.a13-exec-chip--pilar {
  border-color: rgba(34, 211, 238, 0.35);
}

/* Solo UNs (UN1–UN9): caben 3 por columna (9 total) sin solaparse.
 * Ancho = 1/3 del grupo; tipografía escala al ancho del nodo. */
.a13-exec-chip--un {
  container-type: inline-size;
  container-name: a13un;
  flex: 1 1 0 !important;
  flex-shrink: 1 !important;
  box-sizing: border-box;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: clamp(4.15rem, 10vh, 5.75rem) !important;
  min-height: clamp(4.15rem, 10vh, 5.75rem) !important;
  max-height: clamp(4.15rem, 10vh, 5.75rem) !important;
  padding: clamp(0.2rem, 0.5vh, 0.35rem) clamp(0.15rem, 0.5vw, 0.3rem) !important;
}

.a13-exec-chip--un .a13-exec-chip__alias {
  /* Escala con el ancho del nodo: legible y sin partir palabra */
  font-size: clamp(0.52rem, 12.5cqi, 0.78rem) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.15;
}

.a13-exec-chip--un .a13-exec-chip__alias.is-multi {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
  word-break: keep-all;
  overflow-wrap: normal;
}

.a13-exec-chip--un.a13-exec-chip--multi {
  height: clamp(4.5rem, 11vh, 6.1rem) !important;
  min-height: clamp(4.5rem, 11vh, 6.1rem) !important;
  max-height: clamp(4.5rem, 11vh, 6.1rem) !important;
}

.a13-exec-chip--empty {
  border-style: dashed;
  border-color: var(--a13e-empty);
  background: transparent;
  box-shadow: none;
}

.a13-exec-chip.is-clickable {
  cursor: pointer;
}

.a13-exec-chip.is-clickable:hover {
  transform: translateY(-1px);
  border-color: var(--a13e-cyan);
  box-shadow: 0 0 12px var(--a13e-cyan-dim);
}

.a13-exec-chip__avatar {
  width: clamp(1.15rem, 2.8vh, 1.85rem);
  height: clamp(1.15rem, 2.8vh, 1.85rem);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: clamp(0.55rem, 1.4vh, 0.78rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(34, 211, 238, 0.12);
  color: var(--a13e-cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
  flex: 0 0 auto;
  line-height: 1;
}

.a13-exec-chip--root .a13-exec-chip__avatar {
  color: var(--a13e-gold);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
}

.a13-exec-chip--empty .a13-exec-chip__avatar {
  background: transparent;
  border-style: dashed;
  border-color: var(--a13e-empty);
  color: transparent;
}

.a13-exec-chip__alias {
  font-size: var(--a13e-alias-size);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #f1f5f9;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  /* Alias típico = 1 token: una sola línea, sin partir caracteres */
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  padding: 0 0.12rem;
  letter-spacing: 0.01em;
}

/* Dos o más palabras: 2ª línea solo en espacios (sintaxis intacta) */
.a13-exec-chip__alias.is-multi {
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: keep-all;
  overflow-wrap: normal;
}

.a13-exec-chip--multi {
  height: calc(var(--a13e-chip-h) * 1.08);
  max-height: calc(var(--a13e-chip-h) * 1.12);
}

.a13-exec-chip--empty .a13-exec-chip__alias {
  color: #64748b;
  font-weight: 600;
}

.a13-exec-chip__rol {
  font-size: clamp(0.38rem, 0.92vh, 0.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1;
}

.a13-exec-chip__prog {
  margin-top: 0.05rem;
  font-size: clamp(0.5rem, 1.15vh, 0.68rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--a13e-cyan);
  line-height: 1;
}

.a13-exec-chip--root .a13-exec-chip__prog {
  color: var(--a13e-gold);
}

.a13-exec-chip--un .a13-exec-chip__prog {
  font-size: clamp(0.45rem, 10cqi, 0.62rem);
  color: #7dd3fc;
}

/* Auditoría: franja fija; scroll SOLO dentro si se abre */
.apix13-exec-audit {
  flex: 0 0 auto;
  margin: 0;
  border-radius: clamp(0.45rem, 0.9vh, 0.7rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.65);
  overflow: hidden;
  max-height: 2.4rem;
}

.apix13-exec-audit.is-open {
  max-height: min(28vh, 12rem);
  display: flex;
  flex-direction: column;
}

.apix13-exec-audit__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: clamp(0.35rem, 0.8vh, 0.5rem) 0.75rem;
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: clamp(0.6rem, 1.3vh, 0.72rem);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  flex: 0 0 auto;
}

.apix13-exec-audit__toggle:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
}

.apix13-exec-audit__body {
  display: none;
  padding: 0 0.75rem 0.65rem;
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.4;
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
}

.apix13-exec-audit.is-open .apix13-exec-audit__body {
  display: block;
}

.apix13-exec-audit__body pre {
  margin: 0.35rem 0 0;
  padding: 0.45rem;
  border-radius: 0.45rem;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 0.58rem;
}

/* Fallbacks por si aún no hay wrapper legacy */
#vista-apix13.apix13-exec-on > .eco-apix13-hero,
#vista-apix13.apix13-exec-on > .eco-card.eco-matriz-stage {
  display: none !important;
}

@media (max-width: 720px) {
  #vista-apix13.apix13-exec-on {
    --a13e-chip-w: clamp(4.8rem, 11ch + 0.4rem, 6.4rem);
    --a13e-chip-h: clamp(4.2rem, 12vh, 5.8rem);
    --a13e-alias-size: clamp(0.56rem, 2.4vw, 0.72rem);
    --a13e-gap-x: clamp(0.12rem, 1.2vw, 0.35rem);
  }

  .apix13-exec-header__row {
    flex-wrap: wrap;
  }

  .apix13-exec-ctas {
    width: 100%;
    justify-content: stretch;
  }

  .apix13-exec-cta {
    flex: 1 1 auto;
    text-align: center;
    white-space: normal;
  }

  .a13-exec-level--2 {
    gap: clamp(0.45rem, 4vw, 1.4rem);
  }

  .a13-exec-level--3 {
    gap: 0.35rem 0.4rem;
  }
}

/* Tablets */
@media (min-width: 721px) and (max-width: 1100px) {
  #vista-apix13.apix13-exec-on {
    --a13e-chip-w: clamp(5.4rem, 12ch + 0.55rem, 7.1rem);
    --a13e-chip-h: clamp(4.7rem, 10.8vh, 6.2rem);
    --a13e-alias-size: clamp(0.62rem, 1.25vh + 0.35vw, 0.78rem);
  }
}

@media (max-height: 700px) {
  #vista-apix13.apix13-exec-on {
    --a13e-chip-h: clamp(3.85rem, 9.35vh, 5.28rem);
    --a13e-gap-y: 0.18rem;
  }

  .apix13-exec-header__title {
    font-size: 0.72rem;
  }
}

/* Menú correcto: ocultar Portal Ecosistema en Apix13.
 * Navegación = Centro de Mando (dashboard.html). */
html.apix13-exec-viewport-lock #sidebar,
html.apix13-exec-viewport-lock #sidebar-overlay,
html.apix13-exec-viewport-lock #btn-open-sidebar,
#ecosistema-layout-root.ecosistema-ui-mode-apix13 #sidebar,
#ecosistema-layout-root.ecosistema-ui-mode-apix13 #sidebar-overlay,
#ecosistema-layout-root.ecosistema-ui-mode-apix13 #btn-open-sidebar {
  display: none !important;
}

html.apix13-exec-viewport-lock #ecosistema-layout-root.ecosistema-ui-mode-apix13 > .flex-1.flex-col,
#ecosistema-layout-root.ecosistema-ui-mode-apix13 > .flex-1.flex-col {
  width: 100% !important;
  max-width: 100% !important;
}

/* Embed G038 + viewport lock */
html.g038-embed.apix13-exec-viewport-lock,
html.g038-embed.apix13-exec-viewport-lock body {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  background: #050714 !important;
}

html.g038-embed.apix13-exec-viewport-lock #ecosistema-layout-root,
html.apix13-exec-viewport-lock #ecosistema-layout-root.ecosistema-ui-mode-apix13 {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  display: flex !important;
}

html.g038-embed.apix13-exec-viewport-lock #ecosistema-layout-root > .flex-1.flex-col,
html.apix13-exec-viewport-lock #ecosistema-layout-root.ecosistema-ui-mode-apix13 > .flex-1.flex-col {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

html.g038-embed.apix13-exec-viewport-lock #ecosistema-main-header,
html.apix13-exec-viewport-lock #ecosistema-main-header {
  flex: 0 0 auto;
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
}

html.g038-embed.apix13-exec-viewport-lock #ecosistema-main,
html.apix13-exec-viewport-lock #ecosistema-layout-root.ecosistema-ui-mode-apix13 #ecosistema-main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  padding: 0.35rem 0.5rem 0.45rem !important;
  display: flex !important;
  flex-direction: column !important;
}

html.g038-embed.apix13-exec-viewport-lock #vista-apix13.apix13-exec-on,
html.apix13-exec-viewport-lock #vista-apix13.apix13-exec-on {
  flex: 1 1 auto !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

html.g038-embed.apix13-exec-viewport-lock #view-apice,
html.g038-embed.apix13-exec-viewport-lock #view-superapix,
html.g038-embed.apix13-exec-viewport-lock #view-admin-ecosistema {
  display: none !important;
}

html.g038-embed.apix13-exec-viewport-lock #vista-apix13.apix13-exec-on .apix13-legacy-stack {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

#ecosistema-layout-root.ecosistema-ui-mode-apix13 #vista-apix13.apix13-exec-on {
  display: flex !important;
}

#ecosistema-layout-root.ecosistema-ui-mode-apix13 #view-apice,
#ecosistema-layout-root.ecosistema-ui-mode-apix13 #view-superapix {
  display: none !important;
}

