
/* PLABS_SPRINT_M1_TOKENS */
:root {
  --mentes-bg: #eef7f4;
  --mentes-ink: #14352f;
  --mentes-muted: #4d6b64;
  --mentes-accent: #0f766e;
  --mentes-accent-2: #14b8a6;
  --mentes-card: #ffffff;
  --mentes-ok: #0d9488;
  --mentes-warn: #c89216;
  --mentes-line: rgba(15, 118, 110, 0.2);
  --mentes-radius: 18px;
  --mentes-font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --mentes-display: "Fraunces", Georgia, serif;
}
.mentes__howto-wrap {
  margin: 0 0 10px;
  border-radius: 14px;
  border: 1px solid var(--mentes-line);
  background: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.mentes__howto-wrap > summary.mentes__howto-title {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mentes-accent);
}
.mentes__howto-wrap > summary::-webkit-details-marker { display: none; }
.mentes__howto-wrap[open] > summary { border-bottom: 1px solid var(--mentes-line); }
.mentes__howto-wrap .mentes__howto { margin: 0; }

/* PLABS_KIDS_MENTES_MAP_LINGO_V1 — Mentes Brillantes: azulejos suaves (no clona anim/code/dub) */
/* Perfiles: mentes · tdah · tea · toc · tec */

/* === Base familia Mentes === */
body.theme-mentes #app,
#app.theme-mentes-map,
.mapwrap--mentes {
  --mb-ink: #312e81;
}
body.theme-mentes #starfield,
html.theme-mentes #starfield {
  display: none !important;
}

body.theme-mentes .hud,
#app.theme-mentes-map .hud {
  background: #ffffff !important;
  border-bottom: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(49, 46, 129, 0.12);
  color: var(--mb-ink) !important;
}
body.theme-mentes .hud__name { color: var(--mb-ink) !important; font-weight: 800; }
body.theme-mentes .stat,
body.theme-mentes .lang,
body.theme-mentes .hud__back,
#app.theme-mentes-map .stat,
#app.theme-mentes-map .lang,
#app.theme-mentes-map .hud__back {
  background: #f5f3ff !important;
  border: 2px solid #c4b5fd !important;
  color: var(--mb-ink) !important;
  font-weight: 800;
}

.mapwrap--mentes .mappath {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.mapwrap--mentes .map { position: relative !important; z-index: 3 !important; }
.mapwrap--mentes .node,
.mapwrap--mentes .unit-banner--lingo,
.mapwrap--mentes .map-lingo-hero { position: relative; z-index: 4; }

.mapwrap--mentes .mappath .lingo-path-bg {
  stroke: #fff;
  stroke-width: 22;
  stroke-linecap: round;
  fill: none;
}
.mapwrap--mentes .mappath .lingo-path-fg {
  stroke: #a78bfa;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 14 12;
  fill: none;
}

/* Hero = tarjeta suave */
.mapwrap--mentes .map-lingo-hero--mentes,
.mapwrap--mentes .map-lingo-hero {
  background: #fff !important;
  border: 4px solid #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 0 rgba(49, 46, 129, 0.1), 0 18px 40px rgba(49, 46, 129, 0.12) !important;
}
.mapwrap--mentes .map-lingo-hero__bubble {
  color: #312e81 !important;
  font-family: Fredoka, Nunito, sans-serif;
}
.mapwrap--mentes .map-lingo-hero__bubble small {
  color: #6b7280 !important;
}

/* Capítulos = azulejos redondeados */
.mapwrap--mentes .unit-banner--lingo {
  display: flex !important;
  align-items: center;
  gap: 14px;
  text-align: left;
  margin: 28px 8px 14px;
  padding: 14px 16px;
  border-radius: 20px !important;
  border: 4px solid #fff !important;
  color: #fff !important;
  font-family: Fredoka, Nunito, sans-serif;
  box-shadow: 0 8px 0 rgba(49, 46, 129, 0.15);
  background: linear-gradient(135deg, #a78bfa, #7c3aed) !important;
}
.mapwrap--mentes .unit-banner__emoji {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 4px 0 rgba(49, 46, 129, 0.12);
}
.mapwrap--mentes .unit-banner__kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  color: #fff;
}
.mapwrap--mentes .unit-banner__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* Nodos = azulejos (cuadrados redondeados), no círculos */
.mapwrap--mentes .node { margin: 26px 0; }
.mapwrap--mentes .node__btn,
.mapwrap--mentes .node--lingo .node__btn {
  width: 88px !important;
  height: 88px !important;
  border-radius: 22px !important;
  font-size: 36px !important;
  border: 5px solid #fff !important;
  background: linear-gradient(180deg, #c4b5fd, #7c3aed) !important;
  box-shadow: 0 10px 0 #5b21b6, 0 14px 28px rgba(124, 58, 237, 0.28), inset 0 3px 0 rgba(255,255,255,.4) !important;
  filter: none !important;
  color: #fff !important;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.mapwrap--mentes .node__btn:active {
  transform: translateY(4px) scale(0.96) !important;
  box-shadow: 0 4px 0 rgba(49,46,129,.25), inset 0 2px 0 rgba(255,255,255,.35) !important;
}
.mapwrap--mentes .node--done .node__btn {
  background: linear-gradient(180deg, #86efac, #22c55e) !important;
  box-shadow: 0 10px 0 #15803d, inset 0 3px 0 rgba(255,255,255,.4) !important;
}
.mapwrap--mentes .node--active .node__btn {
  background: linear-gradient(180deg, #fde68a, #f59e0b) !important;
  box-shadow: 0 10px 0 #b45309, inset 0 3px 0 rgba(255,255,255,.5) !important;
  transform: scale(1.05);
}
.mapwrap--mentes .node--active::before {
  content: "¡YA!" !important;
  background: #7c3aed !important;
  color: #fff !important;
  border: 3px solid #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  top: -28px;
}
.mapwrap--mentes .node--boss .node__btn {
  width: 102px !important;
  height: 102px !important;
  border-radius: 26px !important;
  font-size: 44px !important;
}
.mapwrap--mentes .node--locked .node__btn {
  background: linear-gradient(180deg, #e2e8f0, #94a3b8) !important;
  box-shadow: 0 10px 0 #64748b !important;
}

.mapwrap--mentes .node__label {
  margin-top: 12px;
  max-width: 160px;
  color: transparent;
  font-size: 0;
}
.mapwrap--mentes .node__labelpill {
  display: inline-block !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.25;
  color: #312e81 !important;
  background: #fff !important;
  border: 3px solid #fff !important;
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 6px 0 rgba(49, 46, 129, 0.12);
  pointer-events: none;
}

/* ========== Personalidad por perfil ========== */

/* Vibe Coding · índigo suave */
body.theme-mentes.theme-mentes #app,
#app.theme-mentes-map.theme-mentes-map,
body[data-world="mentes"] #app,
#app.theme-mentes-map {
  background: linear-gradient(180deg, #ede9fe 0%, #ddd6fe 22%, #fef3c7 48%, #d9f99d 78%, #bbf7d0 100%) !important;
}
.mapwrap--mentes.mapwrap--mentes .mappath .lingo-path-fg { stroke: #8b5cf6; }

/* TDAH · cielo foco */
body[data-world="tdah"] #app,
body.theme-tdah #app,
#app.theme-tdah-map {
  background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 25%, #fef9c3 50%, #bbf7d0 100%) !important;
}
.mapwrap--tdah .mappath .lingo-path-fg { stroke: #0ea5e9 !important; stroke-dasharray: 20 8; }
.mapwrap--tdah .unit-banner--lingo { background: linear-gradient(135deg, #38bdf8, #0284c7) !important; }
.mapwrap--tdah .unit-banner.u2 { background: linear-gradient(135deg, #60a5fa, #2563eb) !important; }
.mapwrap--tdah .unit-banner.u3 { background: linear-gradient(135deg, #34d399, #059669) !important; }
.mapwrap--tdah .unit-banner.u4 { background: linear-gradient(135deg, #fbbf24, #d97706) !important; }
.mapwrap--tdah .node__btn {
  background: linear-gradient(180deg, #7dd3fc, #0284c7) !important;
  box-shadow: 0 10px 0 #0369a1, inset 0 3px 0 rgba(255,255,255,.4) !important;
  border-radius: 50% !important; /* círculos = foco puntual */
}
.mapwrap--tdah .node--active::before { content: "¡FOCO!" !important; background: #0284c7 !important; }
body.theme-tdah .stat, #app.theme-tdah-map .stat {
  background: #e0f2fe !important; border-color: #7dd3fc !important;
}

/* TEA · teal calmado, azulejos */
body[data-world="tea"] #app,
body.theme-tea #app,
#app.theme-tea-map {
  background: linear-gradient(180deg, #ccfbf1 0%, #99f6e4 20%, #fef3c7 48%, #a7f3d0 100%) !important;
}
.mapwrap--tea .mappath .lingo-path-fg { stroke: #14b8a6 !important; stroke-dasharray: 10 10; }
.mapwrap--tea .unit-banner--lingo { background: linear-gradient(135deg, #2dd4bf, #0f766e) !important; }
.mapwrap--tea .unit-banner.u2 { background: linear-gradient(135deg, #5eead4, #0d9488) !important; }
.mapwrap--tea .unit-banner.u3 { background: linear-gradient(135deg, #67e8f9, #0891b2) !important; }
.mapwrap--tea .unit-banner.u4,
.mapwrap--tea .unit-banner.u5,
.mapwrap--tea .unit-banner.u6 { background: linear-gradient(135deg, #34d399, #047857) !important; }
.mapwrap--tea .unit-banner.u7,
.mapwrap--tea .unit-banner.u8 { background: linear-gradient(135deg, #a7f3d0, #059669) !important; }
.mapwrap--tea .unit-banner.u9,
.mapwrap--tea .unit-banner.u10 { background: linear-gradient(135deg, #5eead4, #0f766e) !important; }
.mapwrap--tea .unit-banner.u11 { background: linear-gradient(135deg, #fbbf24, #b45309) !important; }
.mapwrap--tea .unit-banner.u12 { background: linear-gradient(135deg, #86efac, #15803d) !important; }
.mapwrap--tea .node__btn {
  background: linear-gradient(180deg, #5eead4, #0d9488) !important;
  box-shadow: 0 10px 0 #115e59, inset 0 3px 0 rgba(255,255,255,.4) !important;
  border-radius: 18px !important; /* piezas tipo PECS */
}
.mapwrap--tea .node--active::before { content: "SIGUE" !important; background: #0f766e !important; }
body.theme-tea .stat, #app.theme-tea-map .stat {
  background: #ccfbf1 !important; border-color: #5eead4 !important;
}

/* TOC · lavanda suave, path en bucles visuales */
body[data-world="toc"] #app,
body.theme-toc #app,
#app.theme-toc-map {
  background: linear-gradient(180deg, #f3e8ff 0%, #e9d5ff 22%, #fce7f3 50%, #ddd6fe 100%) !important;
}
.mapwrap--toc .mappath .lingo-path-fg { stroke: #a855f7 !important; stroke-dasharray: 4 8 14 8; }
.mapwrap--toc .unit-banner--lingo { background: linear-gradient(135deg, #c084fc, #7e22ce) !important; }
.mapwrap--toc .unit-banner.u2 { background: linear-gradient(135deg, #e879f9, #a21caf) !important; }
.mapwrap--toc .unit-banner.u3 { background: linear-gradient(135deg, #a78bfa, #6d28d9) !important; }
.mapwrap--toc .unit-banner.u4 { background: linear-gradient(135deg, #f0abfc, #c026d3) !important; }
.mapwrap--toc .node__btn {
  background: linear-gradient(180deg, #e9d5ff, #a855f7) !important;
  box-shadow: 0 10px 0 #6b21a8, inset 0 3px 0 rgba(255,255,255,.4) !important;
  border-radius: 40% 40% 40% 40% / 45% 45% 45% 45% !important; /* blob suave */
}
.mapwrap--toc .node--active::before { content: "CALMA" !important; background: #7e22ce !important; }
body.theme-toc .stat, #app.theme-toc-map .stat {
  background: #f3e8ff !important; border-color: #d8b4fe !important;
}

/* TEC · naranja sensorial cálido */
body[data-world="tec"] #app,
body.theme-tec #app,
#app.theme-tec-map {
  background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 24%, #fef3c7 50%, #bbf7d0 100%) !important;
}
.mapwrap--tec .mappath .lingo-path-fg { stroke: #f97316 !important; stroke-dasharray: 16 10; }
.mapwrap--tec .unit-banner--lingo { background: linear-gradient(135deg, #fb923c, #ea580c) !important; }
.mapwrap--tec .unit-banner.u2 { background: linear-gradient(135deg, #fbbf24, #d97706) !important; }
.mapwrap--tec .unit-banner.u3 { background: linear-gradient(135deg, #fdba74, #c2410c) !important; }
.mapwrap--tec .unit-banner.u4 { background: linear-gradient(135deg, #4ade80, #16a34a) !important; }
.mapwrap--tec .unit-banner.u5 { background: linear-gradient(135deg, #38bdf8, #0284c7) !important; }
.mapwrap--tec .node__btn {
  background: linear-gradient(180deg, #fdba74, #ea580c) !important;
  box-shadow: 0 10px 0 #c2410c, inset 0 3px 0 rgba(255,255,255,.4) !important;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60% !important; /* gota / sensor */
}
.mapwrap--tec .node--active::before { content: "OK" !important; background: #ea580c !important; }
body.theme-tec .stat, #app.theme-tec-map .stat {
  background: #ffedd5 !important; border-color: #fdba74 !important;
}

/* Vibe mentes unit colors */
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u2 {
  background: linear-gradient(135deg, #818cf8, #4f46e5) !important;
}
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u3 {
  background: linear-gradient(135deg, #34d399, #059669) !important;
}
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u4 {
  background: linear-gradient(135deg, #38bdf8, #0284c7) !important;
}
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u5 {
  background: linear-gradient(135deg, #f472b6, #db2777) !important;
}
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u6 {
  background: linear-gradient(135deg, #a3e635, #65a30d) !important;
}
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u7 {
  background: linear-gradient(135deg, #fbbf24, #d97706) !important;
}
.mapwrap--mentes:not(.mapwrap--tdah):not(.mapwrap--tea):not(.mapwrap--toc):not(.mapwrap--tec) .unit-banner.u8 {
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
}


/* PLABS_SENSORY_PROFILE_V1 — applied via <html class="pl-sensory*"> */
html.pl-sensory--dim body,
html.pl-sensory--dim #app {
  filter: brightness(0.92);
}
html.pl-sensory--soft body {
  background-color: #f8fafc !important;
}
html.pl-sensory--bright body {
  background-color: #ffffff !important;
}
html.pl-sensory--reduce-motion *,
html.pl-sensory--reduce-motion *::before,
html.pl-sensory--reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
html.pl-sensory--calm-density .mentes__card,
html.pl-sensory--calm-density .mentes__choice,
html.pl-sensory--calm-density .mentes__pec {
  margin-bottom: 2px;
}
html.pl-sensory--calm-density .mentes {
  font-size: calc(1rem * var(--pl-sensory-font, 1.08));
  gap: var(--pl-sensory-gap, 14px);
}
html.pl-sensory--high-contrast .mentes__prompt,
html.pl-sensory--high-contrast .mentes__storytxt {
  color: #000 !important;
}
html.pl-sensory--high-contrast .mentes__choice,
html.pl-sensory--high-contrast .mentes__chip,
html.pl-sensory--high-contrast .mentes__pec {
  border-color: #000 !important;
  color: #000 !important;
}
.mentes__thermo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.mentes__thermo-btn {
  min-width: 56px;
  min-height: 56px;
  border-radius: 16px;
  border: 2px solid #c4b5fd;
  background: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  cursor: pointer;
}
.mentes__thermo-btn:hover,
.mentes__thermo-btn:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.mentes__card--sensory .mentes__label {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

/* PLABS_SPRINT_E_V1 */
.mentes__card--mempro .mentes__pads,
.mentes__card--clappro .mentes__chips { margin-top: 10px; }
.mentes__card--routine .mentes__focusbar { flex-wrap: wrap; gap: 6px; }
.mentes__pad.is-on { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(14,165,233,.45); }
@media print {
  .mentes__btn, .mentes__focusbar button { display: none !important; }
}

/* PLABS_SPRINT_F_V1 */
.mentes-modal--fam .mentes-modal__card--fam {
  max-width: min(560px, 94vw);
  max-height: min(86vh, 760px);
  overflow: auto;
}
.mentes__fam { text-align: left; }
.mentes__metrics--fam { flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.mentes__fam-block {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(30,32,53,.08);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
}
.mentes__fam-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: .95rem;
}
.mentes__fam-list { margin: 6px 0 0; padding-left: 1.1rem; }
.mentes__fam-list li { margin: 4px 0; }
.mentes__fam-when { display: block; color: #6b7280; font-size: .78rem; font-weight: 500; }
.mentes-modal__row--wrap { flex-wrap: wrap; gap: 8px; }

/* PLABS_SPRINT_G_V1 — Mentes Brillantes Premium UI
   Dirección: papel calmado · tinta profunda · teal confianza · sin purple/glow AI-default */

:root,
.mentes,
.mapwrap--mentes,
body.theme-mentes,
#app.theme-mentes-map {
  --mb-paper: #f2f5f1;
  --mb-paper-2: #e7efe9;
  --mb-ink: #1a2b24;
  --mb-ink-soft: #3d5248;
  --mb-muted: #5f7369;
  --mb-line: rgba(26, 43, 36, 0.12);
  --mb-teal: #0f766e;
  --mb-teal-deep: #0b5f59;
  --mb-teal-soft: #d7efe9;
  --mb-gold: #c89216;
  --mb-gold-soft: #fff3d1;
  --mb-ok: #2f6b45;
  --mb-ok-soft: #e4f3ea;
  --mb-warn: #b45309;
  --mb-warn-soft: #ffedd5;
  --mb-radius: 18px;
  --mb-radius-sm: 14px;
  --mb-shadow: 0 10px 28px rgba(26, 43, 36, 0.08);
  --mb-shadow-press: 0 4px 0 rgba(26, 43, 36, 0.08);
  --mb-font-display: "Fraunces", "Fredoka", Georgia, serif;
  --mb-font-ui: "Nunito", "Fredoka", system-ui, sans-serif;
}

/* Map / HUD — premium calm (override purple tiles) */
body.theme-mentes #app,
#app.theme-mentes-map,
.mapwrap--mentes {
  --mb-ink: #1a2b24;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 118, 110, 0.10), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(200, 146, 22, 0.08), transparent 50%),
    linear-gradient(180deg, var(--mb-paper), var(--mb-paper-2)) !important;
}
body.theme-mentes .hud,
#app.theme-mentes-map .hud {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mb-line) !important;
  box-shadow: 0 8px 24px rgba(26, 43, 36, 0.06) !important;
  color: var(--mb-ink) !important;
}
body.theme-mentes .stat,
body.theme-mentes .lang,
body.theme-mentes .hud__back,
#app.theme-mentes-map .stat,
#app.theme-mentes-map .lang,
#app.theme-mentes-map .hud__back {
  background: #fff !important;
  border: 2px solid var(--mb-line) !important;
  color: var(--mb-ink) !important;
  border-radius: 14px !important;
}
.mapwrap--mentes .mappath .lingo-path-fg {
  stroke: var(--mb-teal) !important;
}
.mapwrap--mentes .map-lingo-hero--mentes,
.mapwrap--mentes .map-lingo-hero {
  background: #fff !important;
  border: 3px solid #fff !important;
  border-radius: 22px !important;
  box-shadow: var(--mb-shadow), var(--mb-shadow-press) !important;
}
.mapwrap--mentes .map-lingo-hero__bubble {
  color: var(--mb-ink) !important;
  font-family: var(--mb-font-display) !important;
}
.mapwrap--mentes .unit-banner--lingo {
  background: linear-gradient(135deg, #148f86, #0f766e) !important;
  box-shadow: 0 8px 0 rgba(11, 95, 89, 0.22) !important;
  border-radius: 20px !important;
  font-family: var(--mb-font-ui) !important;
}
.mapwrap--mentes .node__btn,
.mapwrap--mentes .node--lingo .node__btn {
  border-radius: 22px !important;
  border: 3px solid #fff !important;
  box-shadow: 0 8px 0 rgba(26, 43, 36, 0.12), 0 14px 28px rgba(26, 43, 36, 0.08) !important;
  background: #fff !important;
}
.mapwrap--mentes .node.is-done .node__btn,
.mapwrap--mentes .node--done .node__btn {
  background: var(--mb-ok-soft) !important;
  box-shadow: 0 8px 0 rgba(47, 107, 69, 0.2) !important;
}

/* Lab shell premium */
.mentes {
  --mb-ink: #1a2b24;
  position: relative;
  font-family: var(--mb-font-ui) !important;
  color: var(--mb-ink);
  background:
    radial-gradient(800px 420px at 0% 0%, rgba(15, 118, 110, 0.09), transparent 60%),
    radial-gradient(700px 380px at 100% 10%, rgba(200, 146, 22, 0.07), transparent 55%),
    linear-gradient(165deg, #f7faf6 0%, #eef4ef 48%, #e7efe9 100%) !important;
  border-radius: 24px;
  padding: 14px !important;
  border: 1px solid rgba(26, 43, 36, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.mentes__sand {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(rgba(26, 43, 36, 0.035) 0.6px, transparent 0.7px);
  background-size: 7px 7px;
  z-index: 0;
}
.mentes > *:not(.mentes__sand) { position: relative; z-index: 1; }

.mentes__hero {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--mb-line);
  margin-bottom: 10px;
}
.mentes__brand {
  margin: 0 0 2px;
  font-family: var(--mb-font-display) !important;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mb-teal-deep);
  font-weight: 700;
}
.mentes__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mentes__brand-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--mb-teal), #14b8a6);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.mentes__title {
  margin: 0;
  font-family: var(--mb-font-display) !important;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--mb-ink);
  letter-spacing: -0.02em;
}
.mentes__sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mb-muted);
  max-width: 36ch;
  line-height: 1.4;
}
.mentes__progress {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--mb-radius-sm);
  background: #fff;
  border: 2px solid var(--mb-line);
  box-shadow: var(--mb-shadow-press);
  font-weight: 800;
  color: var(--mb-ink-soft);
}
.mentes__prog-num {
  font-family: var(--mb-font-display);
  font-size: 1.15rem;
  color: var(--mb-teal-deep);
}

.mentes__btn {
  min-height: 48px;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  border: 2px solid transparent;
  font-family: var(--mb-font-ui) !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.mentes__btn--primary {
  background: linear-gradient(180deg, #14968d, var(--mb-teal)) !important;
  color: #fff !important;
  border-color: var(--mb-teal-deep) !important;
  box-shadow: 0 6px 0 rgba(11, 95, 89, 0.28) !important;
}
.mentes__btn--primary:hover,
.mentes__btn--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 0 rgba(11, 95, 89, 0.28) !important;
}
.mentes__btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(11, 95, 89, 0.28) !important;
}
.mentes__btn--ghost {
  background: #fff !important;
  color: var(--mb-ink) !important;
  border-color: var(--mb-line) !important;
}
.mentes__btn--ghost:hover,
.mentes__btn--ghost:focus-visible {
  border-color: rgba(15, 118, 110, 0.45) !important;
  background: var(--mb-teal-soft) !important;
}
.mentes__btn--voice {
  background: #fff !important;
  border: 2px solid var(--mb-line) !important;
  color: var(--mb-ink) !important;
}
.mentes__btn:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 2px;
}

.mentes__card {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--mb-line) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  box-shadow: var(--mb-shadow);
  gap: 12px !important;
}
.mentes__prompt,
.mentes__prompt--one {
  font-family: var(--mb-font-display) !important;
  font-size: clamp(1.12rem, 2.8vw, 1.35rem) !important;
  font-weight: 700 !important;
  color: var(--mb-ink) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em;
}
.mentes__disclaimer {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(26, 43, 36, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mb-muted);
  line-height: 1.4;
}
.mentes__hint,
.mentes__note {
  color: var(--mb-muted) !important;
  font-weight: 700 !important;
}

.mentes__chip,
.mentes__choice,
.mentes__pec {
  min-height: 48px;
  border-radius: 14px !important;
  border: 2px solid var(--mb-line) !important;
  background: #fff !important;
  color: var(--mb-ink) !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.mentes__chip:hover,
.mentes__choice:hover,
.mentes__pec:hover {
  border-color: rgba(15, 118, 110, 0.45) !important;
  background: var(--mb-teal-soft) !important;
}
.mentes__chip.is-on,
.mentes__choice.is-on,
.mentes__pec.is-on {
  background: var(--mb-teal-soft) !important;
  border-color: var(--mb-teal) !important;
  color: var(--mb-teal-deep) !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

.mentes__levelpill,
.mentes__metrics span {
  border-radius: 12px !important;
  background: #fff !important;
  border: 2px solid var(--mb-line) !important;
  color: var(--mb-ink-soft) !important;
  font-weight: 800 !important;
}
.mentes__metrics {
  color: var(--mb-ink-soft) !important;
}

.mentes__howto {
  background: #fff !important;
  border: 1px solid var(--mb-line) !important;
  border-radius: 16px !important;
}
.mentes__howto-title {
  color: var(--mb-teal-deep) !important;
  font-family: var(--mb-font-ui) !important;
}
.mentes__howto-n {
  background: var(--mb-teal) !important;
}
.mentes__howto--compact li:nth-child(n+2) {
  display: none;
}
.mentes__howto-wrap.is-open .mentes__howto--compact li:nth-child(n+2) {
  display: flex;
}
.mentes__howto-toggle {
  margin-top: 6px;
  background: transparent;
  border: 0;
  color: var(--mb-teal-deep);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  padding: 4px 0;
}

.mentes__outcome {
  background: var(--mb-ok-soft) !important;
  border: 2px solid rgba(47, 107, 69, 0.35) !important;
  border-radius: 18px !important;
  padding: 16px !important;
}
.mentes__outcome-title {
  font-family: var(--mb-font-display) !important;
  font-size: 1.15rem !important;
  color: var(--mb-ok) !important;
}
.mentes__outcome-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mb-ok);
}

/* Hub worlds */
.mentes__hub {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mentes__hub-hero {
  padding: 18px 16px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(200, 146, 22, 0.08)),
    #fff;
  border: 1px solid var(--mb-line);
  box-shadow: var(--mb-shadow);
}
.mentes__hub-hero h3 {
  margin: 0 0 6px;
  font-family: var(--mb-font-display);
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  color: var(--mb-ink);
  letter-spacing: -0.02em;
}
.mentes__hub-hero p {
  margin: 0;
  color: var(--mb-muted);
  font-weight: 700;
  line-height: 1.4;
}
.mentes__worldcards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 12px !important;
}
.mentes__wcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  min-height: 148px;
  padding: 16px !important;
  border-radius: 18px !important;
  border: 2px solid var(--mb-line) !important;
  background: #fff !important;
  box-shadow: var(--mb-shadow-press);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mentes__wcard:hover,
.mentes__wcard:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.45) !important;
  box-shadow: var(--mb-shadow);
}
.mentes__wcard[data-world="tdah"] { border-top: 4px solid #0ea5e9 !important; }
.mentes__wcard[data-world="toc"] { border-top: 4px solid #c89216 !important; }
.mentes__wcard[data-world="tea"] { border-top: 4px solid #0f766e !important; }
.mentes__wcard[data-world="tec"] { border-top: 4px solid #64748b !important; }
.mentes__wemoji {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mb-paper);
  font-size: 1.35rem;
}
.mentes__wcard strong {
  font-family: var(--mb-font-display);
  font-size: 1.15rem;
  color: var(--mb-ink);
}
.mentes__wcard > span:last-child {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mb-muted);
  line-height: 1.35;
}
.mentes__wcard-cta {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mb-teal-deep);
}

.mentes__childbar {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--mb-line);
  margin-bottom: 10px;
}
.mentes__label {
  color: var(--mb-muted) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
}
.mentes__select {
  min-height: 48px;
  border-radius: 12px !important;
  border: 2px solid var(--mb-line) !important;
  background: #fff !important;
  font-weight: 800 !important;
  color: var(--mb-ink) !important;
  padding: 10px 12px !important;
}

.mentes__panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mb-line);
  border-radius: 18px;
  padding: 12px;
}
.mentes__panel h3 {
  margin: 0 0 8px;
  font-family: var(--mb-font-display);
  font-size: 1rem;
  color: var(--mb-ink);
}
.mentes__mission {
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid transparent;
}
.mentes__mission.is-done {
  background: var(--mb-ok-soft);
  border-color: rgba(47, 107, 69, 0.2);
}
.mentes__check {
  color: var(--mb-ok);
  font-weight: 900;
}

.mentes__toast {
  border-radius: 14px !important;
  font-weight: 800 !important;
  border: 2px solid var(--mb-line);
  background: #fff !important;
  color: var(--mb-ink) !important;
  box-shadow: var(--mb-shadow);
}
.mentes__toast--ok {
  border-color: rgba(47, 107, 69, 0.35) !important;
  background: var(--mb-ok-soft) !important;
  color: var(--mb-ok) !important;
}
.mentes__toast--warn {
  border-color: rgba(180, 83, 9, 0.35) !important;
  background: var(--mb-warn-soft) !important;
  color: var(--mb-warn) !important;
}

.mentes-modal {
  background: rgba(18, 32, 28, 0.48) !important;
  backdrop-filter: blur(8px);
}
.mentes-modal__card {
  border-radius: 22px !important;
  border: 1px solid var(--mb-line) !important;
  box-shadow: 0 24px 60px rgba(18, 32, 28, 0.28) !important;
}
.mentes-modal__title {
  font-family: var(--mb-font-display) !important;
  color: var(--mb-ink) !important;
}
.mentes-modal__input:focus {
  border-color: var(--mb-teal) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18) !important;
}

.mentes__target.is-star {
  background: linear-gradient(145deg, #fff8e1, #f6d978) !important;
  border-color: var(--mb-gold) !important;
  box-shadow: 0 0 0 3px rgba(200, 146, 22, 0.22), 0 8px 18px rgba(200, 146, 22, 0.18) !important;
  animation: mentesStarSoft 1.4s ease-in-out infinite alternate !important;
}
@keyframes mentesStarSoft {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}
.mentes__timer { color: var(--mb-teal-deep) !important; }
.mentes__big {
  background: var(--mb-teal-soft) !important;
  border-radius: 18px !important;
  color: var(--mb-ink);
}

.mentes__fam-block {
  background: #fff !important;
  border: 1px solid var(--mb-line) !important;
  border-radius: 16px !important;
}

@media (prefers-reduced-motion: reduce) {
  .mentes__btn,
  .mentes__wcard,
  .mentes__chip,
  .mentes__choice,
  .mentes__target.is-star {
    transition: none !important;
    animation: none !important;
  }
}

/* PLABS_SPRINT_J_V1 */
.mentes__nback-swatch {
  width: min(180px, 42vw);
  height: min(180px, 42vw);
  margin: 8px auto;
  border-radius: 28px;
  border: 3px solid rgba(26,43,36,.12);
  box-shadow: 0 10px 28px rgba(26,43,36,.08);
  transition: background .25s ease;
}
.mentes__turnbar {
  display: flex;
  gap: 8px;
}
.mentes__turnbar span {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 14px;
  border: 2px solid rgba(26,43,36,.12);
  font-weight: 800;
  background: #fff;
  color: #5f7369;
}
.mentes__turnbar span.is-on {
  background: #d7efe9;
  border-color: #0f766e;
  color: #0b5f59;
}
.mentes__turnline, .mentes__stickyline {
  font-size: clamp(1.1rem, 3.2vw, 1.45rem) !important;
  font-family: Fraunces, Fredoka, Georgia, serif !important;
  line-height: 1.35;
  background: #fff !important;
  border: 1px solid rgba(26,43,36,.1);
}
.mentes__bodymap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.mentes__bodyzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 96px;
  padding: 14px 10px;
  border-radius: 16px;
  border: 2px solid rgba(26,43,36,.12);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  color: #1a2b24;
}
.mentes__bodyzone span { font-size: 1.6rem; }
.mentes__bodyzone.is-on {
  background: #d7efe9;
  border-color: #0f766e;
}
.mentes__target--fox {
  animation: mentesStarSoft 1.4s ease-in-out infinite alternate;
}

/* PLABS_SPRINT_K_V1 */
.mentes__thermo-btn.is-on {
  background: #d7efe9;
  border-color: #0f766e;
  color: #0b5f59;
}
.mentes__tourlist { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.mentes__tourrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26,43,36,.1);
}
.mentes__tourrow strong { flex: 1 1 140px; font-family: Fraunces, Fredoka, Georgia, serif; }
.mentes__card--taskcoach .mentes__timer { margin-top: 8px; }

/* PLABS_SPRINT_L_V1 */
.mentes__sched-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mentes__sched-col {
  min-height: 140px;
  border-radius: 16px;
  border: 2px dashed rgba(15,118,110,.35);
  background: rgba(255,255,255,.85);
  padding: 8px;
  cursor: pointer;
}
.mentes__sched-col h4 {
  margin: 0 0 8px;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0b5f59;
}
.mentes__sched-item {
  background: #d7efe9;
  border-radius: 10px;
  padding: 8px 10px;
  margin: 4px 0;
  font-weight: 800;
  font-size: .88rem;
}
.mentes__lightrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 560px) {
  .mentes__lightrow { grid-template-columns: repeat(3, 1fr); }
}
.mentes__traffic {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  min-height: 110px;
  padding: 12px;
  border-radius: 16px;
  border: 2px solid rgba(26,43,36,.12);
  background: #fff;
  cursor: pointer;
}
.mentes__traffic span { font-size: 1.4rem; }
.mentes__traffic strong { font-family: Fraunces, Fredoka, Georgia, serif; }
.mentes__traffic em { font-style: normal; font-size: .85rem; color: #5f7369; font-weight: 700; }
.mentes__traffic.is-red:hover { border-color: #e11d48; background: #fff1f2; }
.mentes__traffic.is-yellow:hover { border-color: #c89216; background: #fff8e1; }
.mentes__traffic.is-green:hover { border-color: #0f766e; background: #d7efe9; }
.mentes__calmkit-live {
  padding: 12px;
  border-radius: 14px;
  background: #d7efe9;
  border: 1px solid rgba(15,118,110,.25);
  font-weight: 800;
  animation: mentesPop .4s ease;
}
.mentes__hub-tourcta {
  margin-top: 4px;
}

/* PLABS_MENTES_LAB_LAYOUT_M1E — fill viewport, kill black voids */
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab.modal,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab.modal,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab.modal,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab.modal,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab.modal {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(15, 118, 110, 0.12), transparent 55%),
    linear-gradient(165deg, #f7faf6 0%, #eef4ef 50%, #e7efe9 100%) !important;
}

body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .modal__backdrop,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .modal__backdrop,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .modal__backdrop,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .modal__backdrop,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .modal__backdrop {
  background:
    linear-gradient(165deg, #f7faf6 0%, #eef4ef 50%, #e7efe9 100%) !important;
}

body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .lesson,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .lesson,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .lesson,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .lesson,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .lesson {
  background: transparent !important;
  color: #14352f !important;
  box-shadow: none !important;
}

body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .ltab-panel[data-panel="build"],
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .ltab-panel[data-panel="build"],
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .ltab-panel[data-panel="build"],
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .ltab-panel[data-panel="build"],
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .ltab-panel[data-panel="build"] {
  background: transparent !important;
  padding: 0 0 64px !important;
  overflow: auto !important;
}

body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .studio,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .studio,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .studio,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .studio,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .studio,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab #gameHolder,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab #gameHolder,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab #gameHolder,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab #gameHolder,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab #gameHolder,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .studio__canvas,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .studio__canvas,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .studio__canvas,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .studio__canvas,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .studio__canvas {
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100dvh - 64px) !important;
  height: auto !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: auto !important;
}

/* Hide generic lab chrome that leaks dark/black + duplicate labels */
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .studio__objective,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .studio__objective,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .studio__objective,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .studio__objective,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .studio__objective,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .studio__blocks,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .studio__blocks,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .studio__blocks,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .studio__blocks,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .studio__blocks,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .plux-howto-wrap,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .plux-howto-wrap,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .plux-howto-wrap,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .plux-howto-wrap,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .plux-howto-wrap,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .lesson__head,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .lesson__head,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .lesson__head,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .lesson__head,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .lesson__head {
  display: none !important;
}

body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .plux-dock,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .plux-dock,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .plux-dock,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .plux-dock,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .plux-dock {
  background: rgba(20, 53, 47, 0.92) !important;
  border-top: 1px solid rgba(15, 118, 110, 0.25) !important;
}

/* Soften floating "Mentes · Lab" / stray studio labels */
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .studio__label,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .studio__label,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .studio__label,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .studio__label,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .studio__label,
body.pl-kids[data-world="tdah"] #lessonModal.lesson--lab .studio__title,
body.pl-kids[data-world="tea"] #lessonModal.lesson--lab .studio__title,
body.pl-kids[data-world="toc"] #lessonModal.lesson--lab .studio__title,
body.pl-kids[data-world="tec"] #lessonModal.lesson--lab .studio__title,
body.pl-kids[data-world="mentes"] #lessonModal.lesson--lab .studio__title {
  display: none !important;
}

.mentes {
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100dvh - 72px) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 16px clamp(12px, 2vw, 24px) 28px !important;
  overflow: auto !important;
}

.mentes__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 320px) !important;
  gap: 14px !important;
  align-items: start !important;
  width: 100% !important;
}

.mentes__stage {
  min-width: 0 !important;
  width: 100% !important;
}

.mentes__panel {
  min-width: 0 !important;
}

.mentes__stage-inner {
  width: 100% !important;
  min-width: 0 !important;
}

/* One howto only — keep in-card, hide if duplicated at top by lab chrome already handled */
.mentes .mentes__howto-wrap + .mentes__howto-wrap {
  display: none !important;
}

@media (max-width: 900px) {
  .mentes__grid {
    grid-template-columns: 1fr !important;
  }
}

/* PLABS_MENTES_HIDE_STUDIOMSG */
body.pl-kids[data-world="tdah"] #studioMsg,
body.pl-kids[data-world="tea"] #studioMsg,
body.pl-kids[data-world="toc"] #studioMsg,
body.pl-kids[data-world="tec"] #studioMsg,
body.pl-kids[data-world="mentes"] #studioMsg,
body.pl-kids[data-world="tdah"] .studio__msg,
body.pl-kids[data-world="tea"] .studio__msg,
body.pl-kids[data-world="toc"] .studio__msg,
body.pl-kids[data-world="tec"] .studio__msg,
body.pl-kids[data-world="mentes"] .studio__msg {
  display: none !important;
}

/* PLABS_COACH_GUIDE_V1 */
.mentes-coach {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(215,239,233,.9));
  box-shadow: 0 10px 28px rgba(20, 53, 47, 0.08);
}
.mentes-coach.is-done {
  border-color: rgba(13, 148, 136, 0.45);
  background: #d7efe9;
}
.mentes-coach__orb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.mentes-coach__glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%);
  animation: mbCoachGlow 3.2s ease-in-out infinite;
}
.mentes-coach__face {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d7efe9 40%, #14b8a6 78%, #0f766e);
  box-shadow: 0 8px 18px rgba(15,118,110,.25);
  animation: mbBreathe 3.6s ease-in-out infinite;
}
.mentes-coach__face::before,
.mentes-coach__face::after {
  content: "";
  position: absolute;
  top: 38%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14352f;
}
.mentes-coach__face::before { left: 28%; }
.mentes-coach__face::after { right: 28%; }
.mentes-coach__kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}
.mentes-coach__step {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: #14352f;
}
.mentes-coach__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mentes-coach__dots {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
}
.mentes-coach__dots li {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,118,110,.22);
}
.mentes-coach__dots li.is-on { background: #0f766e; transform: scale(1.25); }
.mentes-coach__dots li.is-done { background: #14b8a6; }

/* Intro story: progressive coach replaces long list */
#lessonModal .plux-story--mentes .plux-mb-steps { display: none !important; }
#lessonModal .plux-story--mentes .mentes-coach {
  margin-top: 4px;
}
#lessonModal .plux-story--mentes .plux-mb-goal {
  font-size: 1rem !important;
  font-weight: 750 !important;
}

@keyframes mbCoachGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@media (max-width: 560px) {
  .mentes-coach {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 10px 12px;
  }
  .mentes-coach__orb { width: 52px; height: 52px; }
  .mentes-coach__face { width: 44px; height: 44px; }
}

