/* ============================================================
   EnMi – Design System CSS
   Tipografías: DM Sans (títulos) · Poppins (textos)
   Paleta: Verde principal #3D6B4F · Fondo #F5F5F0
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
/* Restablecimiento acotado: solo dentro de las pantallas del plugin y de
   sus bloques incrustados. Antes aplicaba a todo el documento y alteraba
   el tema del sitio en las páginas que usan los shortcodes. */
.bc-body *, .bc-body *::before, .bc-body *::after,
.bc-leadform *, .bc-leadform *::before, .bc-leadform *::after,
.bc-pricing-main *, .bc-pricing-main *::before, .bc-pricing-main *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

:root {
  --bc-green:        #3D6B4F;
  --bc-green-light:  #4A7C59;
  --bc-green-dark:   #2D5240;
  --bc-green-50:     #F0F7F3;
  /* Acento de la interfaz (sustituye al rosa heredado del tema) */
  --bc-accent:       #EBDABE;   /* amarillo pastel: estado normal */
  --bc-accent-soft:  #F5EDE0;   /* versión más clara para hovers */
  --bc-accent-line:  #DCC7A4;   /* borde del acento */
  --bc-accent-on:    #B7C9B9;   /* verde: estado activo/presionado */
  --bc-accent-on-dk: #8FAD93;   /* borde del estado activo */
  --bc-accent-text:  #4A3B22;   /* texto sobre el amarillo */
  --bc-green-100:    #D1E9DB;
  --bc-bg:           #F5F5F0;
  --bc-bg-card:      #FFFFFF;
  --bc-text:         #1A2E1F;
  --bc-text-muted:   #6B7B6F;
  --bc-text-light:   #9FB5A5;
  --bc-border:       #E4EDE7;
  --bc-shadow:       0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --bc-shadow-md:    0 4px 12px rgba(0,0,0,.08);
  --bc-shadow-lg:    0 8px 32px rgba(0,0,0,.10);
  --bc-radius:       12px;
  --bc-radius-sm:    8px;
  --bc-radius-lg:    16px;
  --bc-sidebar-w:    220px;
  --bc-topbar-h:     64px;
  --bc-sidebar-right-w: 300px;
  --bc-transition:   .18s ease;
  --font-title:      'DM Sans', sans-serif;
  --font-body:       'Poppins', sans-serif;
}

body.bc-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--bc-text);
  background: var(--bc-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Estos ajustes también quedan limitados a las zonas del plugin */
.bc-body a, .bc-leadform a, .bc-pricing-main a { color: var(--bc-green); text-decoration: none; }
.bc-body a:hover, .bc-leadform a:hover, .bc-pricing-main a:hover { text-decoration: underline; }
.bc-body img, .bc-leadform img, .bc-pricing-main img { max-width: 100%; display: block; }
.bc-body button, .bc-leadform button, .bc-pricing-main button {
  cursor: pointer; font-family: inherit; border: none; background: none;
}
.bc-body input, .bc-body select, .bc-body textarea,
.bc-leadform input, .bc-leadform select, .bc-leadform textarea,
.bc-pricing-main input, .bc-pricing-main select, .bc-pricing-main textarea {
  font-family: inherit; font-size: 14px;
}
.bc-body ul, .bc-leadform ul, .bc-pricing-main ul { list-style: none; }

/* ── App Layout ────────────────────────────────────────────── */
.bc-app-layout {
  display: grid;
  grid-template-columns: var(--bc-sidebar-w) 1fr var(--bc-sidebar-right-w);
  min-height: 100vh;
  /* La plataforma ocupa el ancho completo aunque el tema la envuelva en un
     contenedor centrado. Si ya es hija directa del body, el cálculo da 0
     y no cambia nada. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Sin desplazamiento lateral por el ancho completo */
.bc-app-body { overflow-x: hidden; }
/* Pantallas sin panel derecho: el contenido ocupa todo el ancho */
.bc-app-layout--wide { grid-template-columns: var(--bc-sidebar-w) 1fr; }
/* Refuerzo: si por caché quedara marcado en el HTML, no se muestra */
.bc-app-layout--wide .bc-app-sidebar-right { display: none !important; }
.bc-app-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}
.bc-app-content {
  flex: 1;
  padding: 16px 32px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.bc-app-sidebar-right {
  background: var(--bc-bg-card);
  border-left: 1px solid var(--bc-border);
  padding: 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.bc-sidebar {
  background: var(--bc-green-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.bc-sidebar__brand {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bc-sidebar__logo { height: var(--bc-logo-h-sidebar, 36px); width: auto; }
.bc-sidebar__logo-placeholder { display: flex; align-items: center; gap: 10px; }
.bc-sidebar__brand-name { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: #fff; display: block; }
.bc-sidebar__brand-sub  { font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; display: block; }

.bc-sidebar__nav { flex: 1; padding: 12px 0; }
.bc-sidebar__nav ul { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.bc-sidebar__link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--bc-radius-sm);
  color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500;
  transition: background var(--bc-transition), color var(--bc-transition);
}
.bc-sidebar__link:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.bc-sidebar__link--active { background: rgba(255,255,255,.15); color: #fff; }
.bc-sidebar__icon { flex-shrink: 0; opacity: .75; }
.bc-sidebar__link--active .bc-sidebar__icon,
.bc-sidebar__link:hover .bc-sidebar__icon { opacity: 1; }
.bc-sidebar__divider { height: 1px; background: rgba(255,255,255,.08); margin: 6px 0; }

/* Widget motivacional «Explorar audios»: retirado del menú lateral. */

.bc-sidebar__plan-widget {
  margin: 0 12px 12px;
  background: rgba(255,255,255,.07);
  border-radius: var(--bc-radius);
  padding: 14px;
}
.bc-sidebar__plan-label { font-size: 10px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; }
.bc-sidebar__plan-name  { font-family: var(--font-title); font-size: 18px; font-weight: 700; display: block; }
.bc-sidebar__plan-users { font-size: 11px; color: rgba(255,255,255,.5); display: block; margin: 2px 0 8px; }
.bc-sidebar__plan-bar { height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; margin-bottom: 4px; }
.bc-sidebar__plan-bar-fill { height: 100%; background: var(--bc-green-light); border-radius: 2px; transition: width .4s; }
.bc-sidebar__plan-detail { font-size: 10px; color: rgba(255,255,255,.4); display: block; margin-bottom: 12px; }

.bc-sidebar__user {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 10px;
}
.bc-sidebar__user-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.bc-sidebar__user-name { font-size: 12px; font-weight: 600; color: #fff; display: block; }
.bc-sidebar__user-role { font-size: 10px; color: rgba(255,255,255,.5); display: block; }
.bc-sidebar__user-arrow { color: rgba(255,255,255,.4); margin-left: auto; }

/* ── Topbar ─────────────────────────────────────────────────── */
.bc-topbar {
  height: var(--bc-topbar-h);
  background: var(--bc-bg-card);
  border-bottom: 1px solid var(--bc-border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 100;
  flex-shrink: 0;
}
.bc-topbar__search { flex: 1; max-width: 480px; }
.bc-search-form { display: flex; align-items: center; gap: 8px; background: var(--bc-bg); border: 1px solid var(--bc-border); border-radius: 10px; padding: 0 14px; }
.bc-search-icon  { color: var(--bc-text-muted); flex-shrink: 0; }
.bc-search-input { flex: 1; border: none; background: transparent; padding: 9px 0; font-size: 13px; color: var(--bc-text); outline: none; }
.bc-search-input::placeholder { color: var(--bc-text-light); }
.bc-search-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius-sm); box-shadow: var(--bc-shadow-md); z-index: 200; }
.bc-search-result-item { display: block; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--bc-border); }
.bc-search-result-item:last-child { border-bottom: none; }
.bc-search-result-item:hover { background: var(--bc-green-50); }

.bc-topbar__right { display: flex; align-items: center; gap: 12px; margin-left: auto; position: relative; }
.bc-topbar__icon-btn { position: relative; color: var(--bc-text-muted); padding: 8px; border-radius: 8px; transition: background var(--bc-transition); }
.bc-topbar__icon-btn:hover { background: var(--bc-bg); }
.bc-badge-dot { position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; background: #ef4444; border-radius: 50%; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; }

.bc-topbar__mood { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--bc-border); border-radius: 10px; cursor: pointer; transition: background var(--bc-transition); }
.bc-topbar__mood:hover { background: var(--bc-bg); }
.bc-topbar__mood-info { display: flex; flex-direction: column; }
.bc-topbar__mood-label { font-size: 10px; color: var(--bc-text-muted); }
.bc-topbar__mood-value { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }

.bc-topbar__profile { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; cursor: pointer; transition: background var(--bc-transition); }
.bc-topbar__profile:hover { background: var(--bc-bg); }
.bc-topbar__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.bc-topbar__avatar--sm { width: 30px; height: 30px; }
.bc-topbar__profile-name { font-size: 13px; font-weight: 600; color: var(--bc-text); display: block; }
.bc-topbar__profile-role { font-size: 11px; color: var(--bc-text-muted); display: block; }
.bc-topbar__profile-avatar--initial {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bc-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 700; font-size: 15px;
}

.bc-back-link { display: flex; align-items: center; gap: 8px; color: var(--bc-text-muted); font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: background var(--bc-transition); }
.bc-back-link:hover { background: var(--bc-bg); color: var(--bc-text); text-decoration: none; }

.bc-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow-lg); min-width: 180px; z-index: 300; overflow: hidden;
}
.bc-dropdown__item { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 13px; color: var(--bc-text); transition: background var(--bc-transition); width: 100%; text-align: left; }
.bc-dropdown__item:hover { background: var(--bc-green-50); text-decoration: none; }
.bc-dropdown__item--danger { color: #ef4444; }
.bc-dropdown__item--danger:hover { background: #fef2f2; }
.bc-dropdown__divider { height: 1px; background: var(--bc-border); }

/* ── Buttons ────────────────────────────────────────────────── */
.bc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--bc-radius-sm);
  font-family: var(--font-title); font-size: 13px; font-weight: 600;
  transition: all var(--bc-transition); cursor: pointer; border: none;
  text-decoration: none; line-height: 1;
}
.bc-btn-primary { background: var(--bc-green); color: #fff; }
.bc-btn-primary:hover { background: var(--bc-green-dark); color: #fff; text-decoration: none; }
.bc-btn-ghost { background: transparent; color: var(--bc-text-muted); border: 1px solid var(--bc-border); }
.bc-btn-ghost:hover { background: var(--bc-bg); color: var(--bc-text); }
.bc-btn-outline { background: transparent; color: var(--bc-green); border: 1.5px solid var(--bc-green); }
.bc-btn-outline:hover { background: var(--bc-green-50); }
.bc-btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.bc-btn-outline-white:hover { background: rgba(255,255,255,.1); }
.bc-btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.bc-btn-light:hover { background: rgba(255,255,255,.2); }
.bc-btn-social { background: #fff; color: var(--bc-text); border: 1px solid var(--bc-border); }
.bc-btn-social:hover { background: var(--bc-bg); }
.bc-btn-social:disabled { opacity: .5; cursor: not-allowed; }
.bc-btn-whatsapp { background: var(--bc-green); color: #fff; }
.bc-btn-whatsapp:hover { background: #1da851; color: #fff; }
.bc-btn-full { width: 100%; }
.bc-btn-lg { padding: 14px 24px; font-size: 14px; }
.bc-btn-sm { padding: 7px 14px; font-size: 12px; }
.bc-btn-disabled { opacity: .5; pointer-events: none; }
.bc-btn-continue { padding: 14px 28px; font-size: 15px; }
.bc-spinner { animation: bc-spin .8s linear infinite; width: 16px; height: 16px; }
@keyframes bc-spin { to { stroke-dashoffset: -31.4; } }

/* ── Forms ──────────────────────────────────────────────────── */
.bc-form { display: flex; flex-direction: column; gap: 16px; }
.bc-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bc-field label { font-size: 13px; font-weight: 500; color: var(--bc-text); }
.bc-field input, .bc-field select, .bc-field textarea {
  border: 1.5px solid var(--bc-border); border-radius: var(--bc-radius-sm);
  padding: 10px 14px; font-size: 13px; color: var(--bc-text);
  background: var(--bc-bg-card); transition: border-color var(--bc-transition);
  outline: none;
}
.bc-field input:focus, .bc-field select:focus, .bc-field textarea:focus { border-color: var(--bc-green); }
.bc-field input::placeholder, .bc-field textarea::placeholder { color: var(--bc-text-light); }
.bc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bc-form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.bc-form-note { font-size: 12px; color: var(--bc-text-muted); }
.bc-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.bc-form-section { display: flex; flex-direction: column; gap: 14px; }
.bc-form-section__header { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--bc-border); }
.bc-form-section__desc { font-size: 12px; color: var(--bc-text-muted); }
.bc-step-num { width: 22px; height: 22px; background: var(--bc-green); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bc-step-label { font-size: 11px; font-weight: 600; color: var(--bc-text-muted); letter-spacing: .06em; text-transform: uppercase; }
.bc-input-wrap { position: relative; overflow: visible; }
.bc-input-wrap input { width: 100%; padding-left: 40px; }
/* width y height explícitos en el SVG del ícono para evitar que themes como
   Elementor lo escalen al 100% del contenedor con su CSS global (svg { width:100%; }) */
.bc-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  color: var(--bc-text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.bc-toggle-password { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--bc-text-muted); padding: 4px; }
.bc-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.bc-checkbox input { width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; accent-color: var(--bc-green); }
.bc-textarea { width: 100%; border: 1.5px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 10px 14px; font-size: 13px; resize: vertical; min-height: 60px; outline: none; transition: border-color var(--bc-transition); }
.bc-textarea:focus { border-color: var(--bc-green); }
.bc-select { border: 1.5px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 9px 12px; font-size: 13px; background: var(--bc-bg-card); color: var(--bc-text); outline: none; }
.bc-select:focus { border-color: var(--bc-green); }
.bc-select-sm { font-size: 11px; padding: 5px 8px; border: 1px solid var(--bc-border); border-radius: 6px; background: var(--bc-bg); color: var(--bc-text-muted); outline: none; }

/* Alerts */
.bc-alert { padding: 12px 16px; border-radius: var(--bc-radius-sm); font-size: 13px; }
.bc-alert--error   { background: #fef2f2; color: #ef4444; border: 1px solid #fee2e2; }
.bc-alert--success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.bc-alert--warning { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

/* Divider */
.bc-divider { display: flex; align-items: center; gap: 12px; color: var(--bc-text-light); font-size: 12px; }
.bc-divider::before, .bc-divider::after { content: ''; flex: 1; height: 1px; background: var(--bc-border); }
.bc-social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ── Cards / Widgets ────────────────────────────────────────── */
.bc-widget { background: var(--bc-bg-card); border: 1px solid var(--bc-border); border-radius: var(--bc-radius); padding: 18px; }
.bc-widget__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bc-widget__title { font-family: var(--font-title); font-size: 14px; font-weight: 600; color: var(--bc-text); }
.bc-widget__subtitle { font-size: 12px; color: var(--bc-text-muted); margin-bottom: 12px; }
.bc-widget--recommendation { position: relative; overflow: hidden; }
.bc-widget__deco { position: absolute; bottom: -10px; right: -10px; }

/* ── Stats Grid ─────────────────────────────────────────────── */
.bc-stats-grid { display: grid; gap: 16px; }
.bc-stats-grid-4 { grid-template-columns: repeat(4,1fr); }
.bc-stats-grid-5 { grid-template-columns: repeat(5,1fr); }

.bc-stat-card {
  background: var(--bc-bg-card); border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius); padding: 18px;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.bc-stat-card--wellness { border-color: var(--bc-green-100); }
.bc-stat-card__header { display: flex; align-items: flex-start; justify-content: space-between; }
.bc-stat-card__label { font-size: 12px; font-weight: 500; color: var(--bc-text-muted); }
.bc-stat-card__icon { color: var(--bc-green); opacity: .7; }
.bc-stat-card__title { font-family: var(--font-title); font-size: 16px; font-weight: 600; color: var(--bc-text); }
.bc-stat-card__sub { font-size: 12px; color: var(--bc-text-muted); display: flex; align-items: center; gap: 4px; }
.bc-stat-card__hint { font-size: 11px; color: var(--bc-green); }
.bc-stat-card__deco { position: absolute; bottom: -8px; right: -8px; }
.bc-stat-card__donut-wrap { display: flex; justify-content: center; }
.bc-stat-num { font-family: var(--font-title); font-size: 32px; font-weight: 700; color: var(--bc-text); line-height: 1; }

/* KPI cards (empresa) */
.bc-kpi-card { background: var(--bc-bg-card); border: 1px solid var(--bc-border); border-radius: var(--bc-radius); padding: 16px; }
.bc-kpi-card__header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.bc-kpi-card__label { font-size: 12px; color: var(--bc-text-muted); font-weight: 500; max-width: 100px; line-height: 1.3; }
.bc-kpi-card__icon-wrap { background: var(--bc-green-50); border-radius: 8px; padding: 6px; }
.bc-kpi-card__value { font-family: var(--font-title); font-size: 28px; font-weight: 700; color: var(--bc-text); }
.bc-kpi-card__sub { font-size: 11px; color: var(--bc-text-muted); margin-top: 4px; }
.bc-kpi-card__sub--up   { color: #16a34a; }
.bc-kpi-card__sub--good { color: var(--bc-green); }
.bc-kpi-card__sparkline { opacity: .6; }

/* ── Progress bars ──────────────────────────────────────────── */
.bc-progress-bar-wrap { display: flex; flex-direction: column; gap: 4px; }
.bc-progress-bar { height: 5px; background: var(--bc-green-100); border-radius: 3px; overflow: hidden; }
.bc-progress-bar__fill { height: 100%; background: var(--bc-green); border-radius: 3px; transition: width .4s ease; }
.bc-progress-bar__label { font-size: 11px; color: var(--bc-text-muted); }
.bc-progress-bar--sm { height: 4px; }
.bc-progress-inline { display: flex; align-items: center; gap: 8px; }
.bc-progress-inline .bc-progress-bar { flex: 1; }
.bc-progress-inline span { font-size: 12px; color: var(--bc-text-muted); min-width: 32px; }

/* ── Donut charts ────────────────────────────────────────────── */
.bc-donut { display: block; }
.bc-donut--lg { width: 100px; height: 100px; }
.bc-donut--company { width: 120px; height: 120px; }
.bc-progress-donut-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.bc-donut-chart-wrap { display: flex; align-items: center; gap: 16px; }
.bc-progress-legend { display: flex; flex-direction: column; gap: 6px; }
.bc-donut-legend     { display: flex; flex-direction: column; gap: 6px; }
.bc-legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--bc-text-muted); }
.bc-legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* ── Section headers ────────────────────────────────────────── */
.bc-section { display: flex; flex-direction: column; gap: 16px; }
.bc-section-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.bc-section-title { font-family: var(--font-title); font-size: 18px; font-weight: 600; color: var(--bc-text); }
.bc-section-subtitle { font-size: 12px; color: var(--bc-text-muted); }
.bc-page-title {
  font-family: var(--font-title); font-size: 24px; font-weight: 700;
  color: var(--bc-text); line-height: 1.2; margin: 0 0 2px;
}
.bc-page-subtitle { font-size: 13px; color: var(--bc-text-muted); margin: 0 0 2px; line-height: 1.4; }
.bc-link-sm { font-size: 12px; color: var(--bc-green); font-weight: 500; }
.bc-link-sm:hover { text-decoration: underline; }
.bc-link { color: var(--bc-green); font-weight: 500; }
.bc-text-muted { color: var(--bc-text-muted); }
.bc-text-sm { font-size: 12px; color: var(--bc-text-muted); }
.bc-label-sm { font-size: 11px; color: var(--bc-text-muted); }
.bc-value-sm { font-size: 12px; font-weight: 600; }
.bc-empty-msg { font-size: 13px; color: var(--bc-text-muted); text-align: center; padding: 20px; }
.bc-status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.bc-status-dot--green { background: #22c55e; }

/* ── Tabs ────────────────────────────────────────────────────── */
.bc-tabs { display: flex; gap: 4px; background: var(--bc-bg); border-radius: 8px; padding: 3px; }
.bc-tab { padding: 7px 14px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--bc-text-muted); transition: all var(--bc-transition); }
.bc-tab:hover { color: var(--bc-text); }
.bc-tab--active { background: var(--bc-bg-card); color: var(--bc-green); font-weight: 600; box-shadow: var(--bc-shadow); }

/* ── Serie cards ─────────────────────────────────────────────── */
.bc-series-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.bc-series-grid--premium { grid-template-columns: repeat(4,1fr); }
.bc-serie-card {
  background: var(--bc-bg-card); border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius); overflow: hidden;
  transition: box-shadow var(--bc-transition), transform var(--bc-transition);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.bc-serie-card:hover { box-shadow: var(--bc-shadow-md); transform: translateY(-2px); text-decoration: none; }
.bc-serie-card__thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bc-green-50); }
.bc-serie-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bc-serie-card:hover .bc-serie-card__thumb img { transform: scale(1.04); }
.bc-serie-card__thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,var(--bc-green-50),var(--bc-green-100)); }
.bc-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); opacity: 0; transition: opacity var(--bc-transition); }
.bc-serie-card:hover .bc-play-overlay { opacity: 1; }
.bc-serie-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bc-serie-card__title { font-family: var(--font-title); font-size: 14px; font-weight: 600; color: var(--bc-text); line-height: 1.3; }
.bc-serie-card__desc  { font-size: 12px; color: var(--bc-text-muted); line-height: 1.5; }
.bc-serie-card__meta  { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.bc-serie-card__meta span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--bc-text-muted); }
.bc-serie-card__price { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: var(--bc-text); }
.bc-serie-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.bc-serie-card--premium .bc-serie-card__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.3) 0%, transparent 50%); }
.bc-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.bc-badge--premium { background: rgba(61,107,79,.9); color: #fff; }
.bc-add-to-cart { width: 36px; height: 36px; padding: 0; border-radius: 8px; }

/* ── Weekly bars ─────────────────────────────────────────────── */
.bc-weekly-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.bc-weekly-bar-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; height: 100%; }
.bc-weekly-bar { width: 100%; background: var(--bc-green-100); border-radius: 3px 3px 0 0; min-height: 4px; transition: height .3s; }
.bc-weekly-bar-item span { font-size: 9px; color: var(--bc-text-light); }

/* ── Mood selector ───────────────────────────────────────────── */
.bc-mood-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-bottom: 12px; }
.bc-mood-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: var(--bc-radius-sm); border: 1.5px solid transparent; transition: all var(--bc-transition); background: var(--bc-bg); }
.bc-mood-btn:hover { border-color: var(--bc-green); background: var(--bc-green-50); }
.bc-mood-btn--active { border-color: var(--bc-green); background: var(--bc-green-50); }
.bc-mood-emoji { font-size: 22px; }
.bc-mood-label { font-size: 10px; color: var(--bc-text-muted); }
.bc-mood-confirm { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--bc-green-50); border-radius: var(--bc-radius-sm); }

/* ── Recommendations ────────────────────────────────────────── */
.bc-recommendations { display: flex; flex-direction: column; gap: 12px; }
.bc-rec-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; padding: 6px; border-radius: var(--bc-radius-sm); transition: background var(--bc-transition); }
.bc-rec-item:hover { background: var(--bc-green-50); text-decoration: none; }
.bc-rec-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--bc-green-50); flex-shrink: 0; }
.bc-rec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bc-rec-thumb-placeholder { width: 100%; height: 100%; background: var(--bc-green-100); }
.bc-rec-body { flex: 1; min-width: 0; }
.bc-rec-type { font-size: 10px; color: var(--bc-green); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bc-rec-title { font-size: 12px; font-weight: 500; color: var(--bc-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-rec-duration { font-size: 11px; color: var(--bc-text-muted); }
.bc-play-btn-xs { width: 28px; height: 28px; border-radius: 50%; background: var(--bc-green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bc-play-btn-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--bc-green); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: auto; align-self: flex-start; }

/* ── Achievements ────────────────────────────────────────────── */
.bc-achievements { display: flex; flex-direction: column; gap: 10px; }
.bc-achievement-item { display: flex; align-items: center; gap: 10px; }
.bc-achievement-icon { font-size: 22px; }
.bc-achievement-title { font-size: 12px; font-weight: 600; color: var(--bc-text); }
.bc-achievement-desc  { font-size: 11px; color: var(--bc-green); }

/* ── Charts ──────────────────────────────────────────────────── */
.bc-charts-row { display: grid; grid-template-columns: 240px 1fr 1fr; gap: 16px; }
.bc-chart-card { background: var(--bc-bg-card); border: 1px solid var(--bc-border); border-radius: var(--bc-radius); padding: 18px; }
.bc-chart-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bc-chart-title { font-family: var(--font-title); font-size: 14px; font-weight: 600; color: var(--bc-text); margin-bottom: 16px; }
.bc-chart-card--sm { }

.bc-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 8px; }
.bc-bar-chart__col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; height: 100%; }
.bc-bar-chart__bar-wrap { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 100%; gap: 2px; }
.bc-bar-chart__pct-label { font-size: 9px; color: var(--bc-text-muted); }
.bc-bar-chart__bar { width: 100%; background: var(--bc-green); border-radius: 4px 4px 0 0; min-height: 4px; transition: height .4s; }
.bc-bar-chart__label { font-size: 9px; color: var(--bc-text-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.bc-line-chart { }
.bc-line-chart__svg { width: 100%; display: block; }
.bc-line-chart__labels { display: flex; justify-content: space-between; padding: 4px 0 0; }
.bc-line-chart__labels span { font-size: 10px; color: var(--bc-text-muted); }

/* ── Table ────────────────────────────────────────────────────── */
.bc-table-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bc-table-wrap { overflow-x: auto; border: 1px solid var(--bc-border); border-radius: var(--bc-radius); }
.bc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bc-table th { background: var(--bc-bg); padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; color: var(--bc-text-muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--bc-border); white-space: nowrap; }
.bc-table td { padding: 12px 14px; border-bottom: 1px solid var(--bc-border); vertical-align: middle; }
.bc-table tr:last-child td { border-bottom: none; }
.bc-table tr:hover td { background: var(--bc-green-50); }
.bc-table-empty { text-align: center; color: var(--bc-text-muted); padding: 32px; }

/* ── Tarjeta de «Mi membresía» (usuarios individuales) ── */
.bc-membership__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.bc-membership__tag {
  display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--bc-green); font-weight: 700; margin-bottom: 4px;
}
.bc-membership__name { font-family: var(--font-title); font-size: 21px; margin: 0; }
.bc-membership__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 1px; margin: 0; background: #E6EAE7;
  border: 1px solid #E6EAE7; border-radius: 10px; overflow: hidden;
}
.bc-membership__cell { background: #fff; padding: 14px 16px; }
.bc-membership__cell dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: #8A968D; font-weight: 600; margin-bottom: 5px;
}
.bc-membership__cell dd {
  margin: 0; font-size: 15px; font-weight: 600; color: var(--bc-text); line-height: 1.35;
}
.bc-membership__hint { display: block; font-size: 11.5px; font-weight: 400; color: #8A968D; }
@media (max-width: 560px) {
  .bc-membership__grid { grid-template-columns: 1fr 1fr; }
}
.bc-emp-cell { display: flex; align-items: center; gap: 10px; }
.bc-emp-cell__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.bc-emp-cell__name  { font-size: 13px; font-weight: 500; color: var(--bc-text); display: block; }
.bc-emp-cell__email { font-size: 11px; color: var(--bc-text-muted); display: block; }
.bc-table-actions { display: flex; align-items: center; gap: 4px; }
.bc-action-btn { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--bc-text-muted); transition: all var(--bc-transition); }
.bc-action-btn:hover { background: var(--bc-green-50); color: var(--bc-green); }

/* Status chips */
.bc-chip { padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.bc-chip--stable    { background: #dcfce7; color: #16a34a; }
.bc-chip--attention { background: #fef9c3; color: #854d0e; }
.bc-chip--risk      { background: #fee2e2; color: #dc2626; }
.bc-burnout-chip    { padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }

/* ── Quick actions ───────────────────────────────────────────── */
.bc-quick-actions { display: flex; flex-direction: column; gap: 4px; }
.bc-quick-action { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--bc-radius-sm); font-size: 13px; color: var(--bc-text); transition: background var(--bc-transition); width: 100%; text-align: left; }
.bc-quick-action:hover { background: var(--bc-green-50); color: var(--bc-green); text-decoration: none; }

/* ── Notifications ────────────────────────────────────────────── */
.bc-notifications { display: flex; flex-direction: column; gap: 10px; }
.bc-notif-item { display: flex; align-items: flex-start; gap: 10px; }
.bc-notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.bc-notif-msg  { font-size: 12px; color: var(--bc-text); font-weight: 500; }
.bc-notif-time { font-size: 11px; color: var(--bc-text-muted); }
.bc-notif-new { width: 6px; height: 6px; border-radius: 50%; background: var(--bc-green); flex-shrink: 0; margin-top: 6px; }
.bc-recommendation-text { font-size: 12px; color: var(--bc-text-muted); line-height: 1.5; margin-bottom: 10px; }

/* ── Player ───────────────────────────────────────────────────── */
.bc-player-content { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; }
.bc-player-meta { padding: 28px 32px 0; }
.bc-player-category { font-size: 11px; font-weight: 600; color: var(--bc-text-muted); letter-spacing: .08em; text-transform: uppercase; }
.bc-player-title { font-family: var(--font-title); font-size: 28px; font-weight: 700; color: var(--bc-text); margin: 6px 0 8px; }
.bc-player-desc { font-size: 13px; color: var(--bc-text-muted); max-width: 680px; margin-bottom: 16px; }
.bc-player-stats { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.bc-player-stat { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--bc-text-muted); }
.bc-player-stat--progress { align-items: center; }

/* Video player */
.bc-video-container { position: relative; background: #0a0a0a; border-radius: 0; overflow: hidden; aspect-ratio: 16/9; max-height: 55vh; margin: 16px 32px 0; border-radius: var(--bc-radius); }
.bc-video-meta-overlay { position: absolute; bottom: 70px; left: 24px; z-index: 2; }
.bc-video-breadcrumb { font-size: 11px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }
.bc-video-title { font-family: var(--font-title); font-size: 22px; font-weight: 700; color: #fff; margin: 4px 0 6px; }
.bc-video-desc  { font-size: 13px; color: rgba(255,255,255,.75); max-width: 420px; }
.bc-video-player { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
.bc-video-poster { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; z-index: 0; }
.bc-video-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a2e1f; }
.bc-video-iframe-wrap { width: 100%; height: 100%; }
.bc-video-iframe-wrap iframe { width: 100%; height: 100%; border: none; }

/* Player controls */
.bc-player-controls { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(0,0,0,.7)); padding: 20px 16px 12px; z-index: 10; }
.bc-progress-track { height: 4px; background: rgba(255,255,255,.25); border-radius: 2px; cursor: pointer; position: relative; margin-bottom: 8px; }
.bc-progress-fill { height: 100%; background: var(--bc-green); border-radius: 2px; transition: width .1s; }
.bc-progress-thumb { width: 12px; height: 12px; background: #fff; border-radius: 50%; position: absolute; top: -4px; transform: translateX(-50%); cursor: grab; }
.bc-controls-row { display: flex; align-items: center; justify-content: space-between; }
.bc-controls-left, .bc-controls-right { display: flex; align-items: center; gap: 4px; }
.bc-ctrl-btn { color: rgba(255,255,255,.85); padding: 6px; border-radius: 6px; transition: all var(--bc-transition); }
.bc-ctrl-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.bc-ctrl-time { font-size: 12px; color: rgba(255,255,255,.75); padding: 0 8px; }
.bc-ctrl-speed { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 4px; padding: 2px 6px; font-size: 11px; cursor: pointer; }

/* Chapter list (player sidebar) */
.bc-chapter-list-sidebar { border-left: 1px solid var(--bc-border); }
.bc-chapter-list { display: flex; flex-direction: column; }
.bc-chapter-item { border-bottom: 1px solid var(--bc-border); }
.bc-chapter-item:last-child { border-bottom: none; }
.bc-chapter-item__inner { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; text-decoration: none; }
.bc-chapter-item--active { background: var(--bc-green-50); border-radius: var(--bc-radius-sm); padding: 0 10px; margin: 0 -10px; }
.bc-chapter-status { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.bc-chapter-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bc-border); }
.bc-chapter-info { flex: 1; }
.bc-chapter-num  { font-size: 10px; color: var(--bc-text-muted); display: block; }
.bc-chapter-name { font-size: 13px; color: var(--bc-text); font-weight: 500; line-height: 1.3; }
.bc-chapter-item--active .bc-chapter-name { color: var(--bc-green); font-weight: 600; }
.bc-chapter-item--locked { opacity: .5; }

/* Avance widget */
.bc-avance-donut { display: flex; align-items: flex-start; gap: 12px; }
.bc-avance-stats { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bc-avance-stat { display: flex; flex-direction: column; }
.bc-avance-label { font-size: 10px; color: var(--bc-text-muted); }
.bc-avance-stat strong { font-size: 12px; font-weight: 600; color: var(--bc-text); }
.bc-status-chip { font-size: 11px; font-weight: 600; }

/* Resources */
.bc-resources-section { padding: 0 32px; }
.bc-resources-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.bc-resource-card { background: var(--bc-bg-card); border: 1px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bc-resource-icon { color: var(--bc-green); }
.bc-resource-type { font-size: 10px; color: var(--bc-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bc-resource-title { font-size: 12px; font-weight: 500; color: var(--bc-text); line-height: 1.3; }
.bc-resource-btn { margin-top: auto; }

/* Notes */
.bc-notes-section { padding: 0 32px 28px; }
.bc-notes-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--bc-text-muted); }
.bc-notes-header h3 { font-family: var(--font-title); font-size: 14px; font-weight: 600; color: var(--bc-text); }
.bc-note-editor { width: 100%; border: 1.5px solid var(--bc-border); border-radius: var(--bc-radius-sm); padding: 12px 14px; font-size: 13px; min-height: 80px; resize: none; outline: none; color: var(--bc-text); line-height: 1.6; }
.bc-note-editor:focus { border-color: var(--bc-green); }
.bc-note-editor::placeholder { color: var(--bc-text-light); }
.bc-notes-footer { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.bc-notes-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--bc-text-muted); flex: 1; }
.bc-notes-bookmark { color: var(--bc-text-muted); }
.bc-notes-bookmark:hover { color: var(--bc-green); }

/* ── Login page ───────────────────────────────────────────────── */
.bc-login-page, .bc-register-page { background: #fff; min-height: 100vh; }
.bc-login-layout { display: grid; grid-template-columns: 420px 1fr; min-height: 100vh; }
.bc-login-form-panel { padding: 40px 48px; display: flex; flex-direction: column; border-right: 1px solid var(--bc-border); }
.bc-login-brand { margin-bottom: 40px; }
.bc-brand-wordmark { display: flex; align-items: center; gap: 10px; }
.bc-brand-name { font-family: var(--font-title); font-size: 18px; font-weight: 700; color: var(--bc-text); }
.bc-brand-name--dark { color: var(--bc-text); }
.bc-brand-name--light { color: #fff; }
.bc-brand-tagline { font-size: 9px; color: var(--bc-text-muted); text-transform: uppercase; letter-spacing: .07em; display: block; }
.bc-brand-tagline--light { color: rgba(255,255,255,.5); }
.bc-login-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bc-login-title { font-family: var(--font-title); font-size: 32px; font-weight: 500; color: var(--bc-text); line-height: 1.2; margin-bottom: 10px; }
.bc-login-title strong { font-weight: 700; }
.bc-login-subtitle { font-size: 13px; color: var(--bc-text-muted); line-height: 1.6; margin-bottom: 28px; }
.bc-login-options { display: flex; align-items: center; justify-content: space-between; }
.bc-login-register-cta { text-align: center; font-size: 13px; color: var(--bc-text-muted); margin-top: 16px; }
.bc-login-hero-panel { background: linear-gradient(135deg, #f8faf9 0%, #e8f0ec 100%); display: flex; align-items: center; justify-content: center; padding: 60px; position: relative; overflow: hidden; }
.bc-login-hero-panel::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(61,107,79,.06); top: -100px; right: -100px; }
.bc-hero-quote { max-width: 340px; }
.bc-hero-quote p { font-family: var(--font-title); font-size: 28px; font-weight: 600; color: var(--bc-text); line-height: 1.3; margin: 12px 0 8px; }
.bc-hero-quote cite { font-style: normal; font-size: 13px; color: var(--bc-text-muted); }
.bc-quote-icon { margin-bottom: 8px; }

/* ── Register page ───────────────────────────────────────────── */
.bc-register-layout { display: grid; grid-template-columns: 1fr 420px; min-height: 100vh; }
.bc-register-form-panel { padding: 32px 48px 48px; overflow-y: auto; }
.bc-register-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.bc-register-header-actions { display: flex; align-items: center; gap: 12px; }
.bc-register-intro { margin-bottom: 28px; }
.bc-register-category { font-size: 11px; font-weight: 600; color: var(--bc-green); letter-spacing: .08em; text-transform: uppercase; }
.bc-register-title { font-family: var(--font-title); font-size: 28px; font-weight: 500; color: var(--bc-text); line-height: 1.2; margin: 8px 0 10px; }
.bc-register-title strong { font-weight: 700; }
.bc-register-subtitle { font-size: 13px; color: var(--bc-text-muted); line-height: 1.6; }
.bc-register-login-cta { text-align: center; font-size: 13px; color: var(--bc-text-muted); }
.bc-register-content { }
.bc-register-hero-panel { background: linear-gradient(160deg, #f0f7f3 0%, #d8ece0 100%); display: flex; align-items: center; justify-content: center; padding: 60px 48px; position: sticky; top: 0; height: 100vh; }
.bc-register-hero-content { max-width: 320px; }
.bc-register-hero-pillars { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.bc-hero-pillar { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--bc-text-muted); }

/* Plan selector */
.bc-plan-selector { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.bc-plan-option { position: relative; cursor: pointer; }
.bc-plan-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.bc-plan-option__inner {
  border: 2px solid var(--bc-border); border-radius: var(--bc-radius);
  padding: 14px 10px; text-align: center; transition: all var(--bc-transition);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: relative;
}
.bc-plan-option:hover .bc-plan-option__inner { border-color: var(--bc-green); }
.bc-plan-option--selected .bc-plan-option__inner { border-color: var(--bc-green); background: var(--bc-green-50); }
.bc-plan-check { position: absolute; top: -8px; right: -8px; }
.bc-plan-icon { color: var(--bc-green); }
.bc-plan-name { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--bc-text); }
.bc-plan-limit { font-size: 11px; color: var(--bc-text-muted); }
.bc-plan-price {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--bc-primary, #3D6B4F);
  margin-top: 8px;
  line-height: 1.1;
}
.bc-plan-period {
  display: block;
  font-size: 10.5px;
  color: var(--bc-text-muted);
  margin-top: 2px;
  line-height: 1.35;
}
.bc-password-strength { margin-top: 4px; }

/* ── Marketing sections ──────────────────────────────────────── */
.bc-marketing-section { padding: 72px 0; background: var(--bc-bg); }
.bc-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.bc-marketing-title { font-family: var(--font-title); font-size: 32px; font-weight: 700; text-align: center; color: var(--bc-text); margin-bottom: 8px; }
.bc-marketing-subtitle { font-size: 14px; color: var(--bc-text-muted); text-align: center; margin-bottom: 48px; }
.bc-features-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.bc-feature-card { text-align: center; padding: 24px 16px; background: var(--bc-bg-card); border: 1px solid var(--bc-border); border-radius: var(--bc-radius); }
.bc-feature-icon { color: var(--bc-green); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--bc-green-50); border-radius: 12px; }
.bc-feature-card h3 { font-family: var(--font-title); font-size: 13px; font-weight: 600; color: var(--bc-text); margin-bottom: 6px; }
.bc-feature-card p { font-size: 11px; color: var(--bc-text-muted); line-height: 1.5; }

/* Footer marketing */
.bc-marketing-footer { background: var(--bc-green-dark); color: rgba(255,255,255,.8); }
.bc-footer-cta { padding: 64px 24px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.bc-footer-cta h2 { font-family: var(--font-title); font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.bc-footer-cta-btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.bc-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 48px 24px; }
.bc-footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 16px; text-transform: uppercase; }
.bc-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.bc-footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.65); }
.bc-footer-col ul li a:hover { color: #fff; }
.bc-footer-col ul li { font-size: 13px; color: rgba(255,255,255,.45); }
.bc-footer-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.6; margin: 12px 0 16px; }
.bc-footer-social { display: flex; gap: 14px; }
.bc-footer-social a { color: rgba(255,255,255,.5); }
.bc-footer-social a:hover { color: #fff; }
.bc-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.35); }
.bc-footer-bottom-links { display: flex; gap: 20px; }
.bc-footer-bottom-links a { color: rgba(255,255,255,.35); }
.bc-footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── Modal ───────────────────────────────────────────────────── */
.bc-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.bc-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); }
.bc-modal-box { position: relative; background: #fff; border-radius: var(--bc-radius-lg); padding: 32px; max-width: 480px; width: 90%; box-shadow: var(--bc-shadow-lg); z-index: 1; max-height: 90vh; overflow-y: auto; }
.bc-modal-box--lg { max-width: 600px; }
.bc-modal-close { position: absolute; top: 16px; right: 16px; color: var(--bc-text-muted); font-size: 18px; padding: 4px 8px; border-radius: 6px; }
.bc-modal-close:hover { background: var(--bc-bg); }
.bc-modal-box h3 { font-family: var(--font-title); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bc-modal-box p { font-size: 13px; color: var(--bc-text-muted); margin-bottom: 20px; }

/* ── Misc helpers ────────────────────────────────────────────── */
.bc-home-header { display: flex; align-items: flex-start; justify-content: space-between; }
.bc-company-header { display: flex; align-items: flex-end; justify-content: space-between; }
.bc-date-filter .bc-btn-ghost { display: flex; align-items: center; gap: 8px; }
.bc-topbar--player .bc-topbar__search--sm { max-width: 280px; }
.bc-topbar__mood-compact { display: flex; align-items: center; gap: 6px; }
.bc-topbar__profile-compact { display: flex; align-items: center; gap: 8px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1400px) {
  :root { --bc-sidebar-right-w: 260px; }
  .bc-stats-grid-5 { grid-template-columns: repeat(3,1fr); }
  .bc-series-grid { grid-template-columns: repeat(3,1fr); }
  .bc-features-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1100px) {
  .bc-app-layout { grid-template-columns: var(--bc-sidebar-w) 1fr; }
  .bc-app-sidebar-right { display: none; }
  .bc-charts-row { grid-template-columns: 1fr 1fr; }
  .bc-stats-grid-4 { grid-template-columns: repeat(2,1fr); }
  .bc-resources-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  :root { --bc-sidebar-w: 0px; }
  .bc-sidebar { display: none; }
  .bc-app-layout { grid-template-columns: 1fr; }
  .bc-login-layout, .bc-register-layout { grid-template-columns: 1fr; }
  .bc-login-hero-panel, .bc-register-hero-panel { display: none; }
  .bc-login-form-panel, .bc-register-form-panel { padding: 32px 24px; border: none; }
  .bc-stats-grid-5 { grid-template-columns: repeat(2,1fr); }
  .bc-series-grid { grid-template-columns: repeat(2,1fr); }
  .bc-charts-row { grid-template-columns: 1fr; }
  .bc-form-row, .bc-form-row--3 { grid-template-columns: 1fr; }
  .bc-plan-selector { grid-template-columns: 1fr; }
  .bc-footer-cols { grid-template-columns: 1fr 1fr; }
  .bc-features-grid { grid-template-columns: repeat(2,1fr); }
  .bc-mood-grid { grid-template-columns: repeat(3,1fr); }
}

/* ════════════════════════════════════════════════════════════════════════
   Clases agregadas — auditoría de cobertura CSS para el Panel de Empresa
   y sus 9 subpáginas (Empleados, Evaluaciones, Cursos, Temporadas,
   Estadísticas, Bienestar, Recursos, Membresía, Configuración).
   ════════════════════════════════════════════════════════════════════════ */

/* body wrapper genérico usado por toda vista de aplicación (colaborador y empresa) */
.bc-app-body { background: var(--bc-bg); }

/* Modificador de body específico de las vistas del panel de empresa.
   No requiere reglas propias (el layout ya viene de .bc-app-body /
   .bc-app-layout), pero debe existir como clase válida para que ninguna
   herramienta de auditoría la reporte como "huérfana" ni se preste a
   confusión si en el futuro se le agregan estilos específicos. */
.bc-company-dashboard { }

/* Topbar: avatar + bloque de info de perfil (usado en topbar inline de empresa) */
.bc-topbar__profile-avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.bc-topbar__profile-info { display: flex; flex-direction: column; }

/* Buscador compacto usado en headers de subpáginas (variante del buscador principal) */
.bc-search-form--sm { padding: 0 10px; }
.bc-search-form--sm .bc-search-input { padding: 7px 0; font-size: 12px; }

/* KPI card de riesgo de burnout: mismo estilo base que .bc-kpi-card, sin
   override adicional necesario, pero declarada explícitamente porque las
   vistas de Estadísticas y Bienestar emocional dependen de su presencia. */
.bc-kpi-card--burnout { }

/* Cuerpo de una tarjeta de recurso descargable (icono + texto), usado en
   Recursos del colaborador y Recursos del panel de empresa. */
.bc-resource-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* Cuerpo de un ítem de notificación (mensaje + hora), dentro del widget de notificaciones. */
.bc-notif-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* Botón "más acciones" (⋯) en la tabla de colaboradores */
.bc-action-btn--more { color: var(--bc-text-light); }
.bc-action-btn--more:hover { color: var(--bc-text); }

/* ── Login: ícono/logo de marca ──────────────────────────────────────── */
.bc-brand-icon { font-size: 26px; line-height: 1; }
.bc-brand-logo { height: var(--bc-logo-h, 40px); }
.bc-login-hero-content { max-width: 360px; }

/* ── Registro: fila de checkbox (términos / newsletter) ─────────────── */
.bc-field--checkbox { flex-direction: row; align-items: flex-start; }

/* ── Dashboard colaborador: carrusel de series ──────────────────────── */
.bc-series-carousel { position: relative; }
.bc-carousel-next {
  position: absolute; top: 50%; right: -14px; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  border: 1px solid var(--bc-border); box-shadow: var(--bc-shadow-md);
  font-size: 20px; color: var(--bc-text-muted); display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.bc-carousel-next:hover { color: var(--bc-green); }

/* Tarjeta de audio recomendado (variante visual de .bc-stat-card) */
.bc-stat-card--audio { background: linear-gradient(135deg, var(--bc-green-50), #fff); }

/* Cuerpo de texto de un logro (título + descripción) */
.bc-achievement-body { display: flex; flex-direction: column; gap: 2px; }

/* ── Player: estado de cada capítulo en la lista lateral ────────────── */
.bc-chapter-status--done    { background: transparent; }
.bc-chapter-status--current { background: transparent; }
.bc-chapter-status--lock    { color: var(--bc-text-light); }
.bc-chapter-list-widget { }
.bc-player-page { }

/* ── Botones con estado de carga (texto + spinner intercambiables) ──── */
.bc-btn-text, .bc-btn-loading { display: inline-flex; align-items: center; gap: 8px; }

/* ── Defensa contra CSS global de themes/builders (Elementor, Divi, etc.) ──
   Algunos themes aplican svg { width:100%; height:auto } globalmente lo que
   escala nuestros SVGs decorativos al 100% del contenedor padre.
   Fijamos los íconos inline a sus dimensiones de diseño. */
.bc-login-page .bc-input-icon,
.bc-app-body .bc-input-icon,
.bc-login-form-panel .bc-input-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

/* El formulario de login embebido como shortcode en Elementor:
   cuando se usa [enmi_login_form] la clase bc-login-page no está en el body,
   así que aplicamos al wrapper propio del shortcode. */
.bc-login-shortcode .bc-input-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}
.bc-login-shortcode {
  max-width: 440px;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════
   REPRODUCTOR BCPLAYER — arquitectura limpia, sin z-index wars
   ═══════════════════════════════════════════════════════════════════════ */
.bcplayer {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 60vh !important;
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin: 20px auto 0 !important;
  width: calc(100% - 32px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.12) !important;
  user-select: none;
  display: block !important;
}
/* En pantalla completa el margen y el redondeo estorban */
.bcplayer:fullscreen,
.bcplayer:-webkit-full-screen {
  width: 100% !important;
  max-height: none !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 640px){
  .bcplayer { width: calc(100% - 16px) !important; border-radius: 12px !important; }
}

/* Video ocupa todo el contenedor */
.bcplayer video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

/* Overlay de título: pointer-events:none para no bloquear clicks */
.bcplayer__overlay {
  position: absolute;
  bottom: 90px;
  left: 20px;
  right: 20px;
  z-index: 3;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
/* Overlay oculto (auto tras 10s de reproducción o con el botón 👁) */
.bcplayer__overlay.bc-overlay-hidden {
  opacity: 0;
  transform: translateY(8px);
}
#bcinfotoggle.bc-info-off { opacity: .45; }
.bcplayer__breadcrumb {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.bcplayer__title {
  font-family: var(--font-title, 'DM Sans', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.bcplayer__desc {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* Botón grande de play centrado */
.bcplayer__bigplay {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 4 !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: transform .15s ease, opacity .15s !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bcplayer__bigplay:hover { transform: translate(-50%,-50%) scale(1.1); }
/* El bloque de arriba declara `opacity: 1 !important` para imponerse al tema,
   así que esta regla también necesita !important: sin él ganaba siempre el
   valor base y el botón de play se quedaba encima del video reproduciéndose.
   (El reproductor antiguo, #bcbigplay, ya lo hacía así.) */
.bcplayer__bigplay.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Barra de controles */
.bcplayer__controls {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
  background: linear-gradient(transparent, rgba(0,0,0,.82)) !important;
  background-color: transparent !important;
  padding: 32px 12px 10px !important;
  margin: 0 !important;
  border: none !important;
}

/* Barra de progreso */
.bcplayer__progressbar {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 6px;
  padding: 0 2px;
}
.bcplayer__progressbg,
.bcplayer__progressfill {
  position: absolute;
  left: 0;
  height: 4px;
  border-radius: 2px;
  pointer-events: none;
}
.bcplayer__progressbg  { width: 100%; background: rgba(255,255,255,.25); }
.bcplayer__progressfill { width: 0%; background: #3D6B4F; transition: width .1s linear; }
.bcplayer__progressknob {
  position: absolute;
  left: 0%;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: left .1s linear;
}

/* Fila de botones */
.bcplayer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.bcplayer__left,
.bcplayer__right {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Botones individuales */
.bcplayer__btn {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 5px !important;
  color: rgba(255,255,255,.88) !important;
  cursor: pointer !important;
  padding: 5px 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .12s, color .12s;
  line-height: 1 !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: inherit !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}
.bcplayer__btn:hover {
  background: rgba(255,255,255,.15) !important;
  background-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
}
.bcplayer__btn:active { transform: scale(.92); }
.bcplayer__btn:focus { outline: none !important; box-shadow: none !important; }

/* Tiempo */
.bcplayer__time {
  font-size: 11px;
  color: rgba(255,255,255,.8);
  padding: 0 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bcplayer__timesep { opacity: .5; }

/* Selector de velocidad personalizado (sin <select> nativo) */
.bcplayer__speedwrap {
  position: relative;
}
.bcplayer__speedlabel {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 4px !important;
  padding: 3px 7px !important;
  min-width: 36px !important;
  text-align: center !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.bcplayer__speedmenu {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 72px;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.bcplayer__speedmenu.open { display: block; }
.bcplayer__speedmenu li {
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  white-space: nowrap;
  transition: background .1s;
}
.bcplayer__speedmenu li:hover { background: rgba(255,255,255,.1); }
.bcplayer__speedactive { color: #3D6B4F !important; font-weight: 700; }

/* Favorito activo */
.bcplayer__btn--fav.active svg { fill: #ef4444; stroke: #ef4444; }

/* Iframe */
.bcplayer__iframe {
  position: absolute;
  inset: 0;
}
.bcplayer__iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Miniatura sin video */
.bcplayer__novidthumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcplayer__novidthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bcplayer__novidplaceholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════════════════════
   SCOPE DE ALTA ESPECIFICIDAD PARA EL REPRODUCTOR
   Usa el ID #bcplayer para superar cualquier clase de Elementor/theme.
   Regla: ID (0,1,0,0) gana sobre clase (0,0,1,0) en la cascada CSS.
   ═══════════════════════════════════════════════════════════════════════ */

/* Reset completo de todos los botones dentro del player */
#bcplayer button,
#bcplayer button:hover,
#bcplayer button:focus,
#bcplayer button:active {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.88) !important;
  padding: 5px 6px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: inherit !important;
  outline: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  transition: background .12s, color .12s !important;
}

#bcplayer button:hover {
  background-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
}

/* El big play es especial — tiene un círculo SVG, no background del button */
#bcplayer #bcbigplay {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%,-50%) !important;
  z-index: 4 !important;
  padding: 0 !important;
  background: none !important;
  background-color: transparent !important;
  width: auto !important;
  height: auto !important;
}
#bcplayer #bcbigplay:hover {
  background: none !important;
  background-color: transparent !important;
  transform: translate(-50%,-50%) scale(1.1) !important;
}
#bcplayer #bcbigplay.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Botón de velocidad */
#bcplayer #bcspeedbtn {
  border: 1px solid rgba(255,255,255,.35) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 7px !important;
  min-width: 36px !important;
}

/* Barra de controles */
#bcplayer #bccontrols {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 5 !important;
  background: linear-gradient(transparent, rgba(0,0,0,.82)) !important;
  background-color: transparent !important;
  padding: 32px 12px 10px !important;
  margin: 0 !important;
  border: none !important;
}

/* SVGs dentro del player — evitar que el theme los escale */
#bcplayer svg {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  flex-shrink: 0 !important;
}

/* Texto de tiempo */
#bcplayer .bcplayer__time {
  font-size: 11px !important;
  color: rgba(255,255,255,.8) !important;
  font-variant-numeric: tabular-nums !important;
}

/* Menú de velocidad */
#bcplayer #bcspeedmenu {
  background: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,.15) !important;
}
#bcplayer #bcspeedmenu li {
  color: rgba(255,255,255,.85) !important;
  background: none !important;
  cursor: pointer !important;
  font-size: 13px !important;
  padding: 7px 14px !important;
}
#bcplayer #bcspeedmenu li:hover {
  background: rgba(255,255,255,.1) !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   FIX: Campos de contraseña con botón toggle integrado
   El botón "ver contraseña" queda DENTRO del campo, alineado a la derecha,
   sin desbordarse ni solaparse con el texto del placeholder.
   ═══════════════════════════════════════════════════════════════════════ */
.bc-input-wrap--with-toggle {
  position: relative;
  display: flex;
  align-items: center;
}
.bc-input-wrap--with-toggle input[type="password"],
.bc-input-wrap--with-toggle input[type="text"] {
  width: 100%;
  padding-right: 44px !important; /* espacio para el botón toggle */
}
.bc-input-toggle-pw {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px !important;
  cursor: pointer !important;
  color: var(--bc-text-muted) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 4px !important;
  transition: color .15s !important;
  z-index: 2 !important;
}
.bc-input-toggle-pw:hover {
  color: var(--bc-text) !important;
  background: rgba(0,0,0,.05) !important;
  background-color: rgba(0,0,0,.05) !important;
}
.bc-input-toggle-pw svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  pointer-events: none;
}

/* FIX: Recordar sesión + olvidé contraseña en una sola línea bien alineada */
.bc-login-options {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  margin: 10px 0 16px !important;
}
.bc-login-options .bc-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  font-size: 13px !important;
}
.bc-forgot-link {
  background: none !important;
  border: none !important;
  color: var(--bc-green) !important;
  font-size: 13px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  padding: 0 !important;
  text-decoration: none !important;
}
.bc-forgot-link:hover { text-decoration: underline !important; }

/* FIX: Ícono del input no se encima con el texto */
.bc-input-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}
.bc-input-wrap .bc-input-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  color: var(--bc-text-muted) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  flex-shrink: 0 !important;
}
.bc-input-wrap input {
  width: 100% !important;
  padding-left: 40px !important;
}
/* Sin ícono: input sin padding extra */
.bc-input-wrap--with-toggle:not(:has(.bc-input-icon)) input {
  padding-left: 12px !important;
}

/* Link CTA de registro individual */
.bc-login-register-cta {
  text-align: center;
  font-size: 13px;
  color: var(--bc-text-muted);
  margin-top: 8px;
}

/* Botón WhatsApp */
.bc-btn-whatsapp {
  background: var(--bc-green) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* Badge descuento en billing cycle */
.bc-badge-discount {
  background: #3D6B4F;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 4px;
}
.bc-radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  cursor: pointer;
}
.bc-hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bc-hero-features li {
  font-size: 14px;
  color: var(--bc-text);
  padding: 6px 0;
  border-bottom: 1px solid var(--bc-border);
}
.bc-hero-features li:last-child { border-bottom: none; }
.bc-field-hint {
  font-size: 11px;
  color: var(--bc-text-muted);
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE MÓVIL — EnMi App Layout
   Breakpoints: mobile < 768px, tablet 768-1024px
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Botón hamburguesa ───────────────────────────────────────────────── */
.bc-hamburger {
  display: none;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px !important;
  cursor: pointer !important;
  color: var(--bc-text) !important;
  border-radius: 8px !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bc-hamburger svg {
  width: 24px !important;
  height: 24px !important;
  display: block;
}
.bc-hamburger:hover {
  background: rgba(0,0,0,.06) !important;
  background-color: rgba(0,0,0,.06) !important;
}

/* ── Overlay de fondo cuando el sidebar está abierto ────────────────── */
.bc-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 199;
  backdrop-filter: blur(2px);
}

/* ══════════════════════════════════════════════════════════════════════
   TABLET (769px – 1024px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --bc-sidebar-w: 220px; }
  .bc-sidebar__brand-name { font-size: 15px; }
  .bc-series-grid { grid-template-columns: repeat(2,1fr); }
  .bc-stats-grid-4 { grid-template-columns: repeat(2,1fr); }
  .bc-charts-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════
   MÓVIL (≤ 768px) — Layout principal
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* El hamburguesa aparece */
  .bc-hamburger { display: inline-flex !important; }

  /* Layout: sidebar oculto, main ocupa todo */
  .bc-app-layout {
    grid-template-columns: 1fr !important;
    min-height: 100vh;
  }

  /* Sidebar: se convierte en drawer lateral deslizante */
  .bc-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    z-index: 200 !important;
    transform: translateX(-100%) !important;
    transition: transform .25s cubic-bezier(.4,0,.2,1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: none !important;
  }

  /* Sidebar abierto */
  .bc-sidebar--open {
    transform: translateX(0) !important;
    box-shadow: 4px 0 32px rgba(0,0,0,.25) !important;
  }

  /* Main ocupa todo el ancho */
  .bc-app-main {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden;
  }

  /* Topbar en móvil */
  .bc-topbar {
    padding: 10px 14px !important;
    gap: 10px !important;
    min-height: 56px;
  }
  .bc-topbar__search { flex: 1; min-width: 0; }
  .bc-search-form { max-width: 100%; }
  .bc-topbar__profile-name { display: none; }
  .bc-topbar__profile-role { display: none; }

  /* Contenido principal */
  .bc-app-content {
    padding: 16px 14px !important;
  }

  /* Grids */
  .bc-stats-grid,
  .bc-stats-grid-4,
  .bc-stats-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .bc-series-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .bc-charts-row {
    grid-template-columns: 1fr !important;
  }
  .bc-form-row,
  .bc-form-row--3 {
    grid-template-columns: 1fr !important;
  }

  /* KPI cards más compactas */
  .bc-kpi-card__value,
  .bc-stat-num {
    font-size: 24px !important;
  }

  /* Tablas: scroll horizontal */
  .bc-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .bc-table { min-width: 480px; }

  /* Player */
  .bcplayer {
    max-height: 35vh !important;
    margin: 8px 0 0 !important;
    border-radius: 0 !important;
  }
  .bcplayer__title { font-size: 14px !important; }
  .bcplayer__time  { font-size: 10px !important; }

  /* Login y Registro */
  .bc-login-layout,
  .bc-register-layout {
    grid-template-columns: 1fr !important;
    min-height: 100vh;
  }
  .bc-login-hero-panel,
  .bc-register-hero-panel {
    display: none !important;
  }
  .bc-login-form-panel,
  .bc-register-form-panel {
    padding: 24px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .bc-login-title { font-size: 24px !important; }
  .bc-register-title { font-size: 22px !important; }

  /* Plan selector */
  .bc-plan-selector {
    grid-template-columns: 1fr !important;
  }

  /* Widgets y sections */
  .bc-widget { padding: 16px !important; }
  .bc-section-title { font-size: 16px !important; }

  /* Modal en móvil */
  .bc-modal-box {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin: 16px !important;
    padding: 20px !important;
  }

  /* Recursos grid */
  .bc-resources-grid {
    grid-template-columns: 1fr !important;
  }

  /* Header de páginas */
  .bc-company-header,
  .bc-home-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .bc-company-header .bc-btn,
  .bc-home-header .bc-btn {
    width: 100% !important;
  }

  /* Sidebar de usuario (parte inferior del sidebar) */
  .bc-sidebar__plan-widget { padding: 12px !important; }
  .bc-sidebar__user { padding: 10px 12px !important; }

}

/* ══════════════════════════════════════════════════════════════════════
   MÓVIL PEQUEÑO (≤ 480px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .bc-stats-grid,
  .bc-stats-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .bc-login-brand,
  .bc-register-brand {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .bc-topbar { padding: 8px 12px !important; }
  .bc-app-content { padding: 12px !important; }

  .bcplayer { max-height: 28vh !important; }
  .bcplayer__controls { padding: 20px 8px 8px !important; }
  .bcplayer__btn { padding: 4px !important; }
  .bcplayer__btn svg { width: 17px !important; height: 17px !important; }

  /* Ocultar elementos secundarios del topbar en pantallas muy pequeñas */
  .bc-topbar__actions { display: none; }
}


/* ── Botón Cerrar Sesión en sidebar del colaborador ─────────────────── */
.bc-sidebar__logout {
  padding: 12px 16px 20px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.10);
}
.bc-sidebar__logout-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 10px 14px !important;
  background: rgba(255,255,255,.06) !important;
  background-color: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 10px !important;
  color: rgba(255,255,255,.75) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background .15s, color .15s !important;
  box-shadow: none !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.bc-sidebar__logout-btn:hover {
  background: rgba(239,68,68,.15) !important;
  background-color: rgba(239,68,68,.15) !important;
  border-color: rgba(239,68,68,.3) !important;
  color: #fca5a5 !important;
}
.bc-sidebar__logout-btn svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   DROPDOWN DE NOTIFICACIONES
   ═══════════════════════════════════════════════════════════════════════ */
.bc-notif-wrap {
  position: relative;
}
.bc-notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: 92vw;
  background: var(--bc-white, #fff);
  border: 1px solid var(--bc-border, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 300;
  overflow: hidden;
}
.bc-notif-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--bc-border, #e5e7eb);
}
.bc-notif-dropdown__title {
  font-weight: 700;
  font-size: 14px;
  color: var(--bc-text, #1a1a2e);
}
.bc-notif-list {
  max-height: 320px;
  overflow-y: auto;
}
.bc-notif-loading,
.bc-notif-empty {
  text-align: center;
  padding: 24px;
  color: var(--bc-text-muted, #888);
  font-size: 13px;
}
.bc-notif-item-drop {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  cursor: pointer;
  transition: background .12s;
}
.bc-notif-item-drop:hover { background: rgba(0,0,0,.03); }
.bc-notif-item-drop--unread {
  background: rgba(61,107,79,.06);
}
.bc-notif-item-drop--unread:hover {
  background: rgba(61,107,79,.10);
}
.bc-notif-item-drop__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.bc-notif-item-drop__body { flex: 1; min-width: 0; }
.bc-notif-item-drop__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-text, #1a1a2e);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-notif-item-drop__msg {
  font-size: 12px;
  color: var(--bc-text-muted, #888);
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bc-notif-item-drop__time {
  font-size: 10px;
  color: var(--bc-text-light, #aaa);
}
.bc-notif-dropdown__footer {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid var(--bc-border, #e5e7eb);
}
.bc-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  background: #ef4444;
  color: #fff;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #fff;
  pointer-events: none;
}

/* Subtítulos: se dibujan en una capa propia (#bccues) en vez de dejarlos
   al navegador, porque el render nativo no permite controlar el tamaño ni
   subirlos por encima de la barra de controles en pantalla completa. */
.bcplayer__cues {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 96px;              /* por encima de la barra de controles */
  text-align: center;
  z-index: 4;
  pointer-events: none;
  transition: bottom .25s ease;
}
.bcplayer__cues span {
  display: inline-block;
  /* Estilo unificado en todo el sitio. Los valores salen de
     EnMi → Configuración mediante variables; los de respaldo son los que
     tenía el sitio antes de existir el editor, así que si nadie configura
     nada la apariencia no cambia. */
  background: var(--bc-cc-bg, #fff);
  color: var(--bc-cc-color, #2D5240);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: var(--bc-cc-size, 20px);
  font-weight: 700;
  line-height: 1.4;
  border-radius: 4px;
  padding: 6px 14px;
  text-shadow: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  max-width: 100%;
}
/* En pantalla completa: más grandes y más arriba */
:fullscreen .bcplayer__cues,
:-webkit-full-screen .bcplayer__cues {
  bottom: 130px;
  left: 8%;
  right: 8%;
}
:fullscreen .bcplayer__cues span,
:-webkit-full-screen .bcplayer__cues span {
  font-size: var(--bc-cc-size-full, 32px);
  padding: 8px 18px;
}
/* Cuando los controles están ocultos, bajan un poco */
.bcplayer--nocontrols .bcplayer__cues { bottom: 46px; }
@media (max-width: 640px){
  .bcplayer__cues { bottom: 74px; left: 4%; right: 4%; }
  .bcplayer__cues span { font-size: var(--bc-cc-size-mobile, 15px); padding: 4px 9px; }
}
/* En pantalla completa manda el tamaño de pantalla completa, también en un
   móvil apaisado: sin esto la regla de ancho máximo de arriba le ganaba. */
@media (max-width: 640px){
  :fullscreen .bcplayer__cues span,
  :-webkit-full-screen .bcplayer__cues span { font-size: var(--bc-cc-size-full, 32px); }
}
/* En los reproductores nativos (popup de biblioteca, Inicio) se aplica
   el mismo estilo para que los subtítulos se vean igual en todo el sitio. */
/* Acotado a los reproductores del plugin para no tocar otros videos del sitio */
.bc-body video::cue, .bcplayer video::cue, .bcp video::cue, .bc-res-modal video::cue {
  background: var(--bc-cc-bg, #fff);
  color: var(--bc-cc-color, #2D5240);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  line-height: 1.4;
}
/* En los reproductores del plugin manda la capa propia: se anula el nativo */
.bcplayer video::cue, .bcp video::cue { opacity: 0; font-size: 1px; }

/* Botón CC activo */
#bcplayer #bccbtn {
  min-width: 30px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .05em;
}


/* ── Etiqueta con subtítulo en el menú lateral ─────────────────────────── */
.bc-sidebar__labelwrap { display: flex; flex-direction: column; line-height: 1.2; }
.bc-sidebar__sublabel {
  font-size: 10.5px;
  opacity: .62;
  font-weight: 400;
  margin-top: 1px;
  letter-spacing: .01em;
}

/* ── Work Books y Videos prácticos ─────────────────────────────────────── */
.bc-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bc-lib-card {
  background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.bc-lib-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.bc-lib-card__cover { aspect-ratio: 16/9; background: #EEF2EE; position: relative; overflow: hidden; }
.bc-lib-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-lib-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 40px; }
.bc-lib-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.bc-lib-card__title { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.bc-lib-card__desc { font-size: 13px; color: #777; margin: 0 0 12px; flex: 1; line-height: 1.5; }
.bc-lib-badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600;
  color: #3D6B4F; background: #EAF2EC; border-radius: 99px; padding: 3px 9px; margin-bottom: 8px; align-self: flex-start;
}
.bc-lib-detail { max-width: 900px; margin: 0 auto; }
.bc-pdfbox { border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; background: #fafaf8; }
.bc-pdfbox iframe { width: 100%; height: 78vh; border: 0; display: block; }
@media (max-width: 640px){ .bc-pdfbox iframe { height: 60vh; } }
.bc-note-status { font-size: 12px; color: #999; }
.bc-review-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; border-bottom: 1px solid #f5f5f3; font-size: 13px;
}
.bc-review-row:last-child { border-bottom: none; }

/* ── Loader de reproducción (buffering) ────────────────────────────────── */
.bcplayer__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(0,0,0,.25);
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  pointer-events: none;
}
.bcplayer__loader.is-visible { opacity: 1; visibility: visible; }
.bcplayer__spinner {
  width: 52px; height: 52px;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bc-spin .8s linear infinite;
}
@keyframes bc-spin { to { transform: rotate(360deg); } }
.bcplayer__loadertext {
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  max-width: 80%;
  text-align: center;
}
/* Tramo ya descargado, debajo del progreso de reproducción */
.bcplayer__progressbuffer {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 0;
  background: rgba(255,255,255,.32);
  border-radius: 99px;
  pointer-events: none;
  z-index: 1;
  transition: width .3s ease;
}
.bcplayer__progressfill { z-index: 2; }
.bcplayer__progressknob  { z-index: 3; }

/* ── Footer del tema dentro de las vistas del plugin ───────────────────── */
.bc-theme-footer { clear: both; width: 100%; }
/* El layout de app es un grid a pantalla completa: el footer va fuera de él,
   ocupando todo el ancho, y el grid deja de forzar 100vh para que quepa. */
.bc-app-body .bc-theme-footer { position: relative; z-index: 1; }
.bc-app-body .bc-app-layout { min-height: calc(100vh - 1px); }


/* ── Tamaño del logotipo (configurable en EnMi → Configuración) ─────────── */
.bc-brand-logo {
  height: var(--bc-logo-h, 40px) !important;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 640px){
  .bc-brand-logo { height: var(--bc-logo-h-mobile, 32px) !important; }
  .bc-sidebar__logo { height: var(--bc-logo-h-mobile, 32px); }
}

/* Lista de características dentro de la tarjeta de plan */
.bc-plan-features {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 11px;
  color: var(--bc-text-muted);
  text-align: left;
}
.bc-plan-features li { position: relative; padding-left: 14px; line-height: 1.5; }
.bc-plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--bc-green, #3D6B4F); }

/* ══ Capítulos: grid de tarjetas ═══════════════════════════════════════════ */
.bc-chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 por fila: portadas más grandes */
  gap: 20px;
  margin-top: 14px;
}
@media (max-width: 1000px){ .bc-chapters-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bc-chapters-grid { grid-template-columns: 1fr; } }

.bc-chapter-card {
  background: #fff; border: 1px solid #eee; border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.bc-chapter-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.bc-chapter-card.is-locked { opacity: .55; cursor: not-allowed; }
.bc-chapter-card.is-locked:hover { box-shadow: none; transform: none; }
.bc-chapter-card__cover {
  position: relative; aspect-ratio: 16/9;
  background: #EEF2EE; overflow: hidden;
}
.bc-chapter-card__cover img { transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.bc-chapter-card:hover .bc-chapter-card__cover img { transform: scale(1.04); }
/* La portada se muestra completa, sin recortes: el fondo rellena el sobrante */
.bc-chapter-card__cover img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block; background: #EEF2EE;
}
.bc-chapter-card__ph {
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-family: var(--font-title); font-size: 54px; font-weight: 700; color: #B9CCBE;
}
.bc-chapter-card__lock, .bc-chapter-card__done {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: rgba(0,0,0,.55); color: #fff;
}
.bc-chapter-card__done { background: #3D6B4F; }
.bc-chapter-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.bc-chapter-card__num { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #999; }
.bc-chapter-card__title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.3; }
.bc-chapter-card__meta { font-size: 12px; color: #888; }
.bc-chapter-card__bar { height: 5px; background: #ECEFEC; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bc-chapter-card__bar span { display: block; height: 100%; background: #3D6B4F; border-radius: 99px; }
.bc-chapter-card__pct { font-size: 11px; color: #888; }

/* ══ Detalle del capítulo ══════════════════════════════════════════════════ */
.bc-chapter-detail { max-width: 100%; }
.bc-video-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; }
/* Pestañas de recursos del capítulo.
   Se usa !important porque el tema del sitio pinta los <button> con su
   propio color de acento y ganaría por especificidad. */
.bc-video-tab {
  display: flex !important; align-items: center; gap: 8px; flex: 0 0 auto;
  background: var(--bc-accent) !important;
  border: 1px solid var(--bc-accent-line) !important;
  border-radius: 6px !important;
  padding: 7px 12px !important;
  cursor: pointer;
  font-size: 12.5px !important;
  font-weight: 500;
  color: var(--bc-accent-text) !important;
  box-shadow: none !important;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  max-width: 240px;
}
.bc-video-tab:hover { background: var(--bc-accent-soft) !important; }
.bc-video-tab:active { transform: translateY(1px); }
/* Presionado / seleccionado: verde */
.bc-video-tab.is-active {
  background: var(--bc-accent-on) !important;
  border-color: var(--bc-accent-on-dk) !important;
  color: #223A28 !important;
  font-weight: 600;
}
.bc-video-tab__n {
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(255,255,255,.65); color: var(--bc-accent-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; flex-shrink: 0;
}
.bc-video-tab.is-active .bc-video-tab__n { background: #fff; color: #2D5240; }
.bc-video-tab.is-done .bc-video-tab__n { background: #3D6B4F; color: #fff; }
.bc-video-tab__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }

.bc-section-title { font-size: 17px; font-weight: 700; margin: 26px 0 12px; }
.bc-audio-list { display: flex; flex-direction: column; gap: 12px; }
.bc-audio-item, .bc-doc-item {
  background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
}
.bc-audio-item__head, .bc-doc-item__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bc-audio-item h4, .bc-doc-item h4 { margin: 0 0 2px; font-size: 14px; }
.bc-audio-item p, .bc-doc-item p { margin: 0; font-size: 12.5px; color: #888; }
.bc-audio-item__dur { font-size: 12px; color: #999; white-space: nowrap; }

/* Panel derecho: progreso por capítulo */
.bc-progress-row { padding: 10px 0; border-bottom: 1px solid #f2f2f0; }
.bc-progress-row:last-child { border-bottom: none; }
.bc-progress-row.is-current { background: #F4F8F5; margin: 0 -12px; padding: 10px 12px; border-radius: 8px; }
.bc-progress-row__top { display: flex; justify-content: space-between; font-size: 11px; color: #999; }
.bc-progress-row__name { font-weight: 600; }
.bc-progress-row__title { display: block; font-size: 13px; color: #333; text-decoration: none; margin: 2px 0 6px; }
.bc-progress-row__title:hover { color: #3D6B4F; }
.bc-progress-row__title.is-locked { color: #bbb; }

/* ══ Mis planes EnMi: resumen de semáforos ═════════════════════════════════ */
.bc-sem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
@media (max-width: 560px){ .bc-sem-grid { grid-template-columns: 1fr; } }
.bc-sem-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  border: 1px solid rgba(0,0,0,.07); border-radius: 16px;
  padding: 20px 20px 18px;
  text-decoration: none; color: inherit;
  overflow: hidden; min-width: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.bc-sem-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.09); transform: translateY(-2px); }
.bc-sem-card__light {
  width: 34px; height: 34px; border-radius: 50%;
  margin-bottom: 10px; flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(255,255,255,.6);
}
.bc-sem-card__chapter {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em;
  color: #8b8676; font-weight: 700;
}
.bc-sem-card__title {
  font-size: 14px; font-weight: 600; color: #2B3A2E; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere; width: 100%;
}
.bc-sem-card__result { font-size: 13px; font-weight: 700; margin-top: 4px; }
.bc-sem-card__date { font-size: 11.5px; color: #9c968a; }
.bc-sem-card__cta { font-size: 12px; font-weight: 600; color: #3D6B4F; margin-top: 10px; }

/* ══ Biblioteca de recursos: acordeón por capítulo ═════════════════════════ */
.bc-acc {
  background: #fff; border: 1px solid #ECE6DA; border-radius: 16px;
  margin-bottom: 12px; overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.bc-acc.is-open { box-shadow: 0 8px 26px rgba(45,60,48,.08); border-color: #DCD3C2; }
.bc-acc.is-locked { opacity: .6; }

.bc-acc__head {
  display: flex !important; align-items: center; gap: 14px; width: 100%;
  background: transparent !important; border: none !important;
  padding: 16px 18px !important; cursor: pointer; text-align: left;
  font: inherit; color: inherit !important; white-space: normal !important;
  transition: background .2s ease;
}
.bc-acc__head:hover { background: #FAF8F3 !important; }
.bc-acc.is-locked .bc-acc__head { cursor: default; }

.bc-acc__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--bc-accent, #EBDABE); color: var(--bc-accent-text, #4A3B22);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  transition: background .25s ease, color .25s ease;
}
.bc-acc.is-open .bc-acc__num { background: var(--bc-accent-on, #B7C9B9); color: #223A28; }

.bc-acc__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bc-acc__title b     { font-size: 14.5px; font-weight: 700; color: #2B3A2E; }
.bc-acc__title small { font-size: 11.5px; color: #9aa39c; }
.bc-acc__state { font-size: 14px; }

.bc-acc__chevron {
  flex-shrink: 0; color: #8b978d;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), color .2s ease;
}
.bc-acc.is-open .bc-acc__chevron { transform: rotate(180deg); color: #3D6B4F; }

/* Panel plegable */
.bc-acc__panel {
  height: 0; overflow: hidden;
  transition: height .32s cubic-bezier(.2,.7,.3,1);
}
.bc-acc__inner { padding: 0 18px 18px; }
.bc-acc__inner .bc-vid-cards { margin: 0; }
/* Las fichas entran escalonadas al abrir */
.bc-acc.is-open .bc-acc__inner .bc-vid-card {
  animation: bc-card-in .32s cubic-bezier(.2,.7,.3,1) backwards;
}
.bc-acc.is-open .bc-acc__inner .bc-vid-card:nth-child(2) { animation-delay: .04s; }
.bc-acc.is-open .bc-acc__inner .bc-vid-card:nth-child(3) { animation-delay: .08s; }
.bc-acc.is-open .bc-acc__inner .bc-vid-card:nth-child(4) { animation-delay: .12s; }
.bc-acc.is-open .bc-acc__inner .bc-vid-card:nth-child(n+5) { animation-delay: .16s; }
@keyframes bc-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Etiqueta del tipo de recurso dentro de la ficha */
.bc-vid-card__kind {
  display: block; font-size: 9.5px; text-transform: uppercase;
  letter-spacing: .08em; color: #a8b0a5; font-weight: 700; margin-bottom: 1px;
}
.bc-vid-card[disabled] { cursor: not-allowed; }
.bc-vid-card[disabled]:hover { transform: none; box-shadow: none; }

/* Visor emergente */
.bc-res-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bc-res-modal[hidden] { display: none; }
.bc-res-modal__backdrop { position: absolute; inset: 0; background: rgba(15,20,17,.72); }
.bc-res-modal__box {
  position: relative; background: #fff; border-radius: 16px;
  width: min(940px, 100%); max-height: 92vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden;
}
.bc-res-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f0f0ee; }
.bc-res-modal__head h3 { margin: 0; font-size: 16px; }
.bc-res-modal__close { background: none; border: none; font-size: 18px; cursor: pointer; color: #888; line-height: 1; padding: 4px 8px; }
.bc-res-modal__close:hover { color: #333; }
.bc-res-modal__body { padding: 18px 20px 22px; overflow-y: auto; }
.bc-res-modal__video { width: 100%; border-radius: 10px; background: #000; display: block; max-height: 70vh; }
/* Capa de subtítulos del visor de la Biblioteca: hereda el mismo estilo que
   el resto de reproductores (.bcplayer__cues) y solo ajusta su posición,
   porque aquí los controles son los nativos del navegador. */
.bc-res-modal__videowrap { position: relative; }
.bc-res-modal__cues { bottom: 58px; }
@media (max-width: 640px) { .bc-res-modal__cues { bottom: 48px; } }
.bc-res-modal__pdf { width: 100%; height: 70vh; border: 1px solid #e5e7eb; border-radius: 10px; display: block; }
.bc-res-modal__audio { background: #F4F8F5; border-radius: 12px; padding: 26px; text-align: center; }
.bc-res-modal__audioart { font-size: 52px; margin-bottom: 14px; }
@media (max-width: 640px){
  .bc-res-modal { padding: 10px; }
  .bc-res-modal__pdf { height: 60vh; }
}

/* ══ Neutralización del acento del tema ════════════════════════════════════
   El tema de WordPress pinta botones, bordes y enlaces con su color de
   acento (rosa), que se colaba en las pantallas del plugin. Aquí se fija
   la paleta propia; se usa !important porque las reglas del tema tienen
   mayor especificidad al cargarse después. */
.bc-app-body .bc-btn-primary,
.bc-app-body button.bc-btn-primary {
  background: var(--bc-green) !important;
  border-color: var(--bc-green) !important;
  color: #fff !important;
}
.bc-app-body .bc-btn-primary:hover { background: var(--bc-green-dark) !important; }

/* Enlaces y acentos dentro del panel */
/* Los enlaces del contenido van en verde, salvo los que ya son botones
   con fondo propio: ahí el texto quedaría verde sobre verde. */
.bc-app-body .bc-app-content a:not(.bc-btn):not(.bc-plan-point-btn):not(.bc-res-tile):not(.bc-plan-wa):not(.bc-price-cta):not(.bc-panel-cap):not(.bc-sem-card):not(.bc-chapter-card):not(.bc-quick-link):not(.bc-plus-card),
.bc-app-body .bc-app-sidebar-right a:not(.bc-btn) {
  color: var(--bc-green) !important;
}
/* Botones con fondo: siempre texto blanco */
.bc-app-body .bc-plan-wa,
.bc-app-body .bc-plan-wa:hover,
.bc-app-body .bc-plan-wa:visited,
.bc-app-body .bc-price-cta,
.bc-app-body .bc-price-cta:hover,
.bc-app-body .bc-price-cta:visited {
  color: #fff !important;
}
.bc-app-body .bc-plan-wa svg,
.bc-app-body .bc-price-cta svg { fill: #fff !important; }

/* Campana de notificaciones y avatar de la barra superior */
.bc-app-body .bc-topbar__icon-btn,
.bc-app-body .bc-notif-btn {
  border-color: var(--bc-border) !important;
  color: var(--bc-green) !important;
}
.bc-app-body .bc-topbar__user,
.bc-app-body .bc-user-chip {
  border-color: var(--bc-border) !important;
}

/* Badges y contadores que el tema tiñe de rosa */
.bc-app-body .bc-badge,
.bc-app-body .bc-notif-badge {
  background: var(--bc-green) !important;
  color: #fff !important;
}

/* Botón secundario del panel (p. ej. "Ver introducción") */
.bc-app-body .bc-btn:not(.bc-btn-primary) {
  color: var(--bc-green) !important;
  border-color: var(--bc-border) !important;
  background: #fff !important;
}
.bc-app-body .bc-btn:not(.bc-btn-primary):hover {
  background: var(--bc-green-50) !important;
  border-color: var(--bc-green-100) !important;
}

/* ══ Hoja de resultado del semáforo (plan de acción) ═══════════════════════ */
.bc-plan-sheet {
  background: #FBF9F4;
  border: 1px solid #EDE7DA;
  border-radius: 16px;
  padding: 30px 32px;
  margin-bottom: 24px;
}
.bc-plan-sheet__head { margin-bottom: 26px; }
.bc-plan-sheet__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.bc-plan-sheet__dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.bc-plan-sheet__title {
  font-family: var(--font-title, Georgia, serif);
  font-size: 34px; font-weight: 400; line-height: 1.15;
  margin: 8px 0 12px; color: #23301F;
}
.bc-plan-sheet__lead { font-size: 14px; line-height: 1.75; color: #4A5348; margin: 0; max-width: 78ch; }
.bc-plan-sheet__date { display: block; font-size: 12px; color: #A8A296; margin-top: 12px; }
.bc-plan-sheet__eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #7C8A76;
}
.bc-plan-sheet__plantitle {
  font-family: var(--font-title, Georgia, serif);
  font-size: 25px; font-weight: 400; margin: 6px 0 12px; color: #23301F;
}
.bc-plan-sheet__plandesc { font-size: 14px; line-height: 1.7; color: #4A5348; margin: 0 0 14px; }
.bc-plan-sheet__note {
  background: #E7EFE7; border-radius: 10px; padding: 16px 20px;
  font-size: 14px; line-height: 1.65; color: #3B4A3D; margin-bottom: 20px;
}

/* Tarjetas de acción: icono a la izquierda, contenido a la derecha */
.bc-plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px){ .bc-plan-cards { grid-template-columns: 1fr; } }
.bc-plan-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #F7EFDD; border-radius: 12px; padding: 20px 22px;
}
.bc-plan-card__icon { flex-shrink: 0; font-size: 40px; line-height: 1; }
.bc-plan-card__icon img { width: 64px; height: 64px; object-fit: contain; display: block; }
.bc-plan-card__body { min-width: 0; flex: 1; }
.bc-plan-card__title {
  font-family: var(--font-title, Georgia, serif);
  font-size: 17px; font-weight: 700; margin: 0 0 8px; color: #23301F;
}
.bc-plan-card__text { font-size: 13.5px; line-height: 1.65; color: #5A6157; }
.bc-plan-card__text a { color: var(--bc-green); }
.bc-plan-card__foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bc-plan-card__badge {
  display: inline-block; background: #6E8A6F; color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 7px 18px; border-radius: 99px;
}
.bc-plan-card__btn {
  display: inline-block; background: #fff; border: 1px solid #D8C9AC;
  color: #4A3B22 !important; font-size: 12px; font-weight: 600;
  padding: 7px 16px; border-radius: 99px; text-decoration: none;
}
.bc-plan-card__btn:hover { background: #FFFDF8; border-color: #B7A075; }

/* Banda verde destacada */
.bc-plan-highlight {
  display: flex; align-items: center; gap: 22px;
  background: #6E8A6F; color: #fff; border-radius: 110px;
  /* Sin relleno: el icono define el alto y la banda queda proporcionada */
  padding: 0; margin: 26px 0; flex-wrap: wrap;
  overflow: hidden;
}
.bc-plan-highlight__icon {
  flex-shrink: 0;
  width: 190px; height: 190px;
  /* Sin círculo de fondo: la imagen va directa sobre la banda verde */
  background: none;
  display: flex; align-items: center; justify-content: center;
}
.bc-plan-highlight__icon img { width: 126px; height: 126px; object-fit: contain; display: block; }

/* Píldora de la banda: fondo blanco y texto verde olivo */
.bc-plan-highlight__badge {
  display: inline-block; margin-top: 14px;
  background: #fff; color: #6E8A6F !important;
  font-size: 12px; font-weight: 700;
  padding: 8px 22px; border-radius: 99px;
  letter-spacing: .01em;
}
/* El texto ocupa el espacio libre y empuja el botón al extremo derecho */
.bc-plan-highlight__body { flex: 1; min-width: 220px; padding: 22px 44px 22px 0; }
@media (max-width: 900px){
  .bc-plan-highlight__icon { width: 130px; height: 130px; }
  .bc-plan-highlight__icon img { width: 88px; height: 88px; }
}
@media (max-width: 600px){
  .bc-plan-highlight__icon { width: 96px; height: 96px; }
  .bc-plan-highlight__icon img { width: 64px; height: 64px; }
}
.bc-plan-highlight h3 {
  font-family: var(--font-title, Georgia, serif);
  font-size: 19px; font-weight: 700; margin: 0 0 6px;
  /* El tema pinta los encabezados con su color oscuro y ganaba
     por especificidad sobre el color heredado de la banda verde. */
  color: #fff !important;
}
.bc-plan-highlight p {
  font-size: 13px; line-height: 1.6; margin: 0; opacity: .93; max-width: 80ch;
  color: #fff !important;
}
.bc-plan-highlight__btn {
  background: #fff; color: #3B5540 !important; border-radius: 99px;
  padding: 10px 22px; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
@media (max-width: 700px){
  .bc-plan-highlight { border-radius: 24px; padding: 22px 24px; justify-content: center; text-align: center; }
  .bc-plan-highlight__body { min-width: 0; text-align: center; padding: 0; }
}

/* Timeline: tu ritmo de cambio */
.bc-plan-timeline { margin: 30px 0 26px; }
.bc-plan-timeline__track {
  display: grid; grid-template-columns: repeat(var(--bc-tl-count, 3), 1fr);
  gap: 20px; margin-top: 18px; position: relative;
}
@media (max-width: 760px){ .bc-plan-timeline__track { grid-template-columns: 1fr; } }
.bc-plan-timeline__step { position: relative; padding-top: 26px; }
.bc-plan-timeline__dot {
  position: absolute; top: 0; left: 0;
  width: 17px; height: 17px; border-radius: 50%; background: #7C9A7E;
}
/* Línea que une los hitos */
.bc-plan-timeline__step::after {
  content: ""; position: absolute; top: 8px; left: 20px; right: -20px;
  height: 1px; background: #CFD8CC;
}
.bc-plan-timeline__step:last-child::after { display: none; }
@media (max-width: 760px){ .bc-plan-timeline__step::after { display: none; } }
.bc-plan-timeline__step h4 {
  font-family: var(--font-title, Georgia, serif);
  font-size: 17px; font-weight: 700; margin: 0 0 6px; color: #23301F;
}
.bc-plan-timeline__step p { font-size: 13px; line-height: 1.6; color: #5A6157; margin: 0; }

/* Caja de cierre */
.bc-plan-footerbox {
  border: 1px dashed #D9CDB4; border-radius: 12px;
  background: #FCF7EC; padding: 22px 26px; margin-top: 8px;
}
.bc-plan-footerbox div { font-size: 14px; line-height: 1.7; color: #4A5348; margin-top: 10px; }
.bc-plan-footerbox a { color: var(--bc-green); }

/* Filas del editor de acciones en el admin */
.bc-point-grid { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.bc-point-grid input:first-child { width: 190px; }
.bc-point-grid input:nth-child(2) { flex: 1; }
.bc-point-grid3 { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.bc-point-grid3 label { flex: 1; min-width: 180px; font-size: 12px; color: #555; }
.bc-point-grid3 input, .bc-point-grid3 select { width: 100%; }
.bc-tl-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }

/* ══ Pantalla de bienvenida (Inicio) ═══════════════════════════════════════ */
.bc-welcome-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px;
}
@media (max-width: 900px){ .bc-welcome-grid { grid-template-columns: 1fr; } }
.bc-welcome-card {
  background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
}
.bc-welcome-card__video { background: #0a0a0a; aspect-ratio: 16/9; }
.bc-welcome-card__video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.bc-welcome-card__ph {
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-size: 44px; color: #6E8A6F; background: #EEF2EE;
}
.bc-welcome-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bc-welcome-card__tag {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--bc-green); font-weight: 700;
}
.bc-welcome-card__body h3 { font-size: 18px; margin: 0; }
.bc-welcome-card__body p { font-size: 13.5px; color: #6B7B6F; line-height: 1.6; margin: 0 0 8px; flex: 1; }
.bc-welcome-card__note { font-size: 11.5px; color: #8a6d1a; }
.bc-welcome-card .bc-btn { align-self: flex-start; }

/* Aviso sobre los videos de bienvenida.
   Va FUERA de la tarjeta, sobre la rejilla, para que los dos videos sigan
   empezando a la misma altura. */
.bc-welcome-lead {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 14px; padding: 11px 15px;
  background: #EEF2EE; border-left: 3px solid var(--bc-green); border-radius: 8px;
  color: #3F5A46; font-size: 13.5px; font-weight: 600; line-height: 1.45;
}
.bc-welcome-lead::before { content: "▶"; font-size: 11px; color: var(--bc-green); }

/* Botón «Continuar a los capítulos» apagado hasta terminar el video.
   Las reglas .bc-app-body/.bc-body .bc-btn-primary pintan el verde con
   !important, así que aquí hace falta el mismo peso para poder apagarlo. */
.bc-body #bc-welcome-continue[disabled],
.bc-app-body #bc-welcome-continue[disabled],
.bc-app-body button#bc-welcome-continue[disabled] {
  background: #D8DED9 !important;
  background-image: none !important;
  border-color: #D8DED9 !important;
  color: #8C998F !important;
  opacity: 1; cursor: not-allowed; box-shadow: none; transform: none;
}

.bc-quick-links {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px;
}
@media (max-width: 900px){ .bc-quick-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .bc-quick-links { grid-template-columns: 1fr; } }
.bc-quick-link {
  background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.bc-quick-link:hover { box-shadow: 0 6px 18px rgba(0,0,0,.07); transform: translateY(-2px); }
.bc-quick-link span { font-size: 22px; }
.bc-quick-link b { font-size: 14px; }
.bc-quick-link small { font-size: 11.5px; color: #8b978d; }

/* ══ Fichas de video del capítulo ══════════════════════════════════════════
   Van bajo el reproductor, repartidas a lo ancho sin superar su medida. */
.bc-vid-cards {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 14px 0 4px; width: 100%;
}
.bc-vid-card {
  /* Reparto equitativo del ancho disponible */
  flex: 1 1 0; min-width: 200px; max-width: 100%;
  display: flex !important; flex-direction: column; align-items: stretch;
  gap: 10px; text-align: left;
  background: #fff !important;
  border: 1px solid #ECE6DA !important;
  border-radius: 14px !important;
  padding: 10px !important;
  cursor: pointer; font: inherit; color: inherit !important;
  box-shadow: none !important; white-space: normal !important;
  position: relative; overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.3,1),
              box-shadow .22s ease, border-color .22s ease;
}
@media (max-width: 640px){
  /* En móvil la tarjeta se lee como un botón de lista, no como un
     reproductor: la miniatura pasa a un lado, pequeña, y todo queda en una
     sola fila. Antes ocupaba el ancho completo con la miniatura en 16:9
     encima, y la gente creía que el video se reproducía ahí mismo. */
  .bc-vid-cards { gap: 8px; }
  .bc-vid-card {
    flex: 1 1 100%;
    flex-direction: row !important;
    align-items: center;
    gap: 11px;
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }
  .bc-vid-card__thumb {
    width: 84px; flex: 0 0 84px;
    aspect-ratio: 16/10; border-radius: 8px;
    position: relative;
  }
  .bc-vid-card__row { flex: 1 1 auto; min-width: 0; padding: 0; gap: 9px; }
  /* Con miniatura, el pictograma sobra y apretaba la fila. El selector de
     hermano adyacente lo oculta SOLO cuando hay miniatura: si el recurso no
     tiene, el pictograma se mantiene para no dejar la fila vacía. */
  .bc-vid-card__thumb + .bc-vid-card__row .bc-vid-card__icon { display: none; }
  .bc-vid-card__row .bc-vid-card__icon { width: 34px; height: 34px; }
  .bc-vid-card__row .bc-vid-card__title { font-size: 13.5px !important; line-height: 1.3; }
  .bc-vid-card__sub { font-size: 11px; }
  .bc-vid-card__play { width: 32px; height: 32px; flex: 0 0 32px; }
  /* La marca de «visto» viajaba con el pictograma oculto: se reubica sobre
     la miniatura para no perderla. */
  .bc-vid-card.is-done .bc-vid-card__thumb::after {
    content: "✓";
    position: absolute; right: 4px; bottom: 4px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #3D6B4F; color: #fff; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px #fff;
  }
  /* El realce lateral izquierdo se nota más en una fila estrecha */
  .bc-vid-card.is-active { border-color: #3D6B4F !important; }
}

/* Barra de acento que entra al pasar el cursor */
.bc-vid-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--bc-accent-on, #B7C9B9);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .22s ease;
}
.bc-vid-card:hover::before,
.bc-vid-card.is-active::before { transform: scaleY(1); }

.bc-vid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(45,60,48,.10);
  border-color: #DCD3C2 !important;
}
.bc-vid-card.is-active {
  background: #F5F8F5 !important;
  border-color: var(--bc-accent-on-dk, #8FAD93) !important;
}

.bc-vid-card__icon {
  position: relative; width: 46px; height: 46px;
  background: none; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .22s ease;
}
.bc-vid-card:hover .bc-vid-card__icon { transform: scale(1.06); }
.bc-vid-card__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bc-vid-card__ph {
  font-size: 18px; color: #A99570;
  width: 100%; height: 100%; border-radius: 10px; background: #F6F1E6;
  display: flex; align-items: center; justify-content: center;
}
.bc-vid-card__check {
  position: absolute; right: -3px; bottom: -3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: #3D6B4F; color: #fff; font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.bc-vid-card__body { flex: 1; min-width: 0; }
.bc-vid-card__title {
  display: block !important;
  font-size: 12.5px !important; font-weight: 600 !important;
  line-height: 1.35 !important; color: #2B3A2E !important;
  overflow-wrap: anywhere; margin: 0 !important; white-space: normal !important;
}
/* Botón de reproducción */
.bc-vid-card__play {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bc-accent, #EBDABE); color: var(--bc-accent-text, #4A3B22);
  display: flex; align-items: center; justify-content: center;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.bc-vid-card:hover .bc-vid-card__play {
  background: var(--bc-accent-on, #B7C9B9); color: #223A28; transform: scale(1.1);
}
.bc-vid-card.is-active .bc-vid-card__play {
  background: #3D6B4F; color: #fff;
}

/* Formato dentro de las descripciones del plan (negritas, listas, enlaces) */
.bc-plan-sheet__lead p, .bc-plan-sheet__plandesc p,
.bc-plan-sheet__note p, .bc-plan-highlight__desc p { margin: 0 0 8px; }
.bc-plan-sheet__lead p:last-child, .bc-plan-sheet__plandesc p:last-child,
.bc-plan-sheet__note p:last-child, .bc-plan-highlight__desc p:last-child { margin-bottom: 0; }
.bc-plan-sheet__lead ul, .bc-plan-sheet__lead ol,
.bc-plan-sheet__plandesc ul, .bc-plan-sheet__plandesc ol,
.bc-plan-sheet__note ul, .bc-plan-sheet__note ol,
.bc-plan-card__text ul, .bc-plan-card__text ol,
.bc-plan-footerbox ul, .bc-plan-footerbox ol { margin: 8px 0 8px 20px; padding: 0; }
.bc-plan-sheet__lead li, .bc-plan-sheet__plandesc li,
.bc-plan-sheet__note li, .bc-plan-card__text li { margin-bottom: 4px; }
.bc-plan-sheet__lead strong, .bc-plan-sheet__plandesc strong,
.bc-plan-sheet__note strong, .bc-plan-card__text strong { font-weight: 700; color: inherit; }
.bc-plan-highlight__desc {
  font-size: 13px; line-height: 1.6; color: #fff !important; opacity: .93; max-width: 80ch;
}
.bc-plan-highlight__desc strong, .bc-plan-highlight__desc a { color: #fff !important; }
.bc-plan-timeline__step div { font-size: 13px; line-height: 1.6; color: #5A6157; }

/* ── Reproductor reutilizable dentro de las tarjetas de Inicio ──────────── */
.bc-welcome-card__video .bcplayer {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  max-height: none !important;
  box-shadow: none !important;
}
/* Los controles y textos se reducen porque el video va en una tarjeta */
.bc-welcome-card__video .bcplayer__overlay { bottom: 74px; left: 16px; right: 16px; }
.bc-welcome-card__video .bcplayer__title { font-size: 15px; }
.bc-welcome-card__video .bcplayer__desc  { font-size: 11.5px; }
.bc-welcome-card__video .bcplayer__cues  { bottom: 78px; }
/* El reproductor de la tarjeta ocupa media columna, así que el subtítulo va
   algo más pequeño. Se calcula a partir del tamaño configurado en
   EnMi → Configuración (65%: con el valor por defecto de 20px da los 13px de
   siempre), para que el editor siga mandando también aquí. */
.bc-welcome-card__video .bcplayer__cues span {
  font-size: calc(var(--bc-cc-size, 20px) * .65);
  padding: 4px 9px;
}
/* En móvil manda el tamaño de móvil configurado.
   La regla de arriba NO está dentro de una consulta de ancho y tiene más
   especificidad que «.bcplayer__cues span» del bloque móvil, así que se le
   imponía: el video de la bienvenida ignoraba el tamaño para móvil que se
   fijara en EnMi → Configuración. */
@media (max-width: 640px){
  .bc-welcome-card__video .bcplayer__cues span {
    font-size: var(--bc-cc-size-mobile, 15px);
  }
}
/* En pantalla completa manda el tamaño de pantalla completa.
   La regla de arriba tiene la MISMA especificidad que «:fullscreen
   .bcplayer__cues span» y aparece después en la hoja, así que le ganaba: el
   subtítulo de la bienvenida se quedaba en 13px al abrir a pantalla completa,
   mientras que el de los capítulos sí crecía. Esta regla es más específica y
   resuelve el empate. */
.bc-welcome-card__video :fullscreen .bcplayer__cues span,
.bc-welcome-card__video :-webkit-full-screen .bcplayer__cues span {
  font-size: var(--bc-cc-size-full, 32px);
  padding: 8px 18px;
}

/* ══ Botones de recursos del capítulo ══════════════════════════════════════ */
.bc-res-btns {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px; margin-top: 12px;
}
@media (max-width: 640px){ .bc-res-btns { grid-template-columns: 1fr; } }
.bc-res-btn {
  display: flex !important; align-items: center; gap: 14px;
  width: 100%; text-align: left;
  background: #fff !important;
  border: 1px solid #EAE4D6 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  cursor: pointer; font: inherit; color: inherit !important;
  box-shadow: none !important;
  white-space: normal !important;
  transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.bc-res-btn:hover {
  border-color: var(--bc-accent-line) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.bc-res-btn__icon {
  width: 54px; height: 54px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.bc-res-btn__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bc-res-btn__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bc-res-btn__title {
  font-size: 14px; font-weight: 600; color: #2B3A2E; line-height: 1.3;
  overflow-wrap: anywhere;
}
.bc-res-btn__desc {
  font-size: 12px; color: #8b978d; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bc-res-btn__go {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bc-accent); color: var(--bc-accent-text);
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.bc-res-btn:hover .bc-res-btn__go { background: var(--bc-accent-on); color: #223A28; }

/* ══ Botón para abrir el plan de acción del capítulo ═══════════════════════ */
.bc-chapter-head { display: block; }

/* Miga de pan y acceso al plan comparten fila, a la misma altura */
.bc-chapter-topline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin: -6px 0 6px;
}
.bc-chapter-topline .bc-chapter-crumb { margin-bottom: 0; }
.bc-plan-open-row { display: flex; }
@media (max-width: 700px){
  .bc-chapter-topline { flex-direction: column; align-items: stretch; gap: 10px; }
  .bc-plan-open { width: 100%; }
}
.bc-plan-open {
  display: flex !important; align-items: center; gap: 12px; flex-shrink: 0;
  background: #fff !important;
  border: 1px solid var(--bc-accent-line) !important;
  border-radius: 12px !important;
  padding: 9px 10px 9px 14px !important;
  cursor: pointer; font: inherit; text-align: left;
  color: #2B3A2E !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.05) !important;
  white-space: normal !important;
  transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.bc-plan-open:hover {
  border-color: var(--bc-accent-on-dk) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.09) !important;
  transform: translateY(-1px);
}
.bc-plan-open__dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
.bc-plan-open__txt { display: flex; flex-direction: column; line-height: 1.2; }
.bc-plan-open__txt b     { font-size: 13px; font-weight: 700; }
.bc-plan-open__txt small { font-size: 11px; font-weight: 500; color: #8b978d; }
/* Mini botón interior: deja claro que la ficha completa es pulsable */
.bc-plan-open__cta {
  background: var(--bc-accent); color: var(--bc-accent-text);
  border: 1px solid var(--bc-accent-line);
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 99px; flex-shrink: 0;
}
.bc-plan-open:hover .bc-plan-open__cta {
  background: var(--bc-accent-on); border-color: var(--bc-accent-on-dk); color: #223A28;
}

/* El plan dentro del popup no necesita su propio fondo ni margen */
#bc-plan-modal .bc-plan-sheet {
  border: none; background: transparent; padding: 0; margin: 0;
}
#bc-plan-modal .bc-res-modal__body { max-height: 78vh; }

/* ══ Vista de capítulo más compacta ════════════════════════════════════════ */
.bc-chapter-detail .bc-page-title { font-size: 26px; margin: 0 0 4px !important; }
.bc-chapter-detail .bc-page-subtitle { margin: 6px 0 0 !important; font-size: 12.5px; }
.bc-chapter-detail > p { margin-bottom: 10px !important; }
.bc-chapter-detail .bc-vid-cards { margin: 10px 0 14px; }
.bc-chapter-detail .bcplayer { margin-top: 0 !important; }
.bc-chapter-detail .bc-section-title { margin: 20px 0 10px; font-size: 16px; }
.bc-chapter-detail .bc-res-btns { margin-top: 10px; }
/* Fichas de video algo más bajas */
.bc-chapter-crumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: #8b978d; margin-bottom: 4px;
}
.bc-chapter-crumb a { color: #3D6B4F !important; text-decoration: none; font-weight: 600; }
.bc-chapter-crumb a::after { content: "·"; margin-left: 10px; color: #c9cfc9; }
/* Barra para marcar el video como visto: discreta y al final */
.bc-seen-bar {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; flex-wrap: wrap;
  border-top: 1px solid #ECEFEC;
  padding: 12px 2px 4px; margin-top: 22px;
}
.bc-seen-bar__txt { font-size: 12px; color: #9aa39c; }
.bc-seen-bar__btn {
  background: #fff; border: 1px solid var(--bc-accent-line, #DCC7A4);
  color: var(--bc-accent-text, #4A3B22);
  font-size: 11.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 99px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.bc-seen-bar__btn:hover:not([disabled]) {
  background: var(--bc-accent-on, #B7C9B9);
  border-color: var(--bc-accent-on-dk, #8FAD93);
  color: #223A28;
}
.bc-seen-bar__btn[disabled] {
  opacity: .75; cursor: default;
  background: #F1F5F1; border-color: #DCE7DE; color: #5c7a62;
}
/* Subtítulo bajo el título de la ficha */
.bc-vid-card__sub {
  display: block; font-size: 11px; color: #9aa39c;
  line-height: 1.35; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ══ Barra superior: cortinilla, búsqueda y notificaciones ═════════════════ */

/* Icono hamburguesa animado */
.bc-hamburger { background: none !important; border: none !important; padding: 8px !important; cursor: pointer; }
.bc-hamburger__bars { display: block; width: 22px; height: 16px; position: relative; }
.bc-hamburger__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--bc-text, #1A2E1F);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), opacity .2s ease, top .28s ease;
}
.bc-hamburger__bars span:nth-child(1) { top: 0; }
.bc-hamburger__bars span:nth-child(2) { top: 7px; }
.bc-hamburger__bars span:nth-child(3) { top: 14px; }
.bc-hamburger.is-open .bc-hamburger__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.bc-hamburger.is-open .bc-hamburger__bars span:nth-child(2) { opacity: 0; }
.bc-hamburger.is-open .bc-hamburger__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Fondo oscuro compartido */
.bc-drawer-backdrop, .bc-notifpanel-backdrop {
  position: fixed; inset: 0; background: rgba(15,20,17,.45);
  z-index: 1400; opacity: 0; transition: opacity .28s ease;
  backdrop-filter: blur(2px);
}
.bc-drawer-backdrop.is-open, .bc-notifpanel-backdrop.is-open { opacity: 1; }
.bc-drawer-backdrop[hidden], .bc-notifpanel-backdrop[hidden] { display: none; }

/* Cortinilla: baja desde arriba */
.bc-drawer {
  position: fixed; top: 0; left: 0; right: 0;
  max-height: 88vh; overflow-y: auto;
  background: #fff; z-index: 1500;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
  transform: translateY(-100%);
  transition: transform .32s cubic-bezier(.2,.7,.3,1);
  padding-bottom: 14px;
}
.bc-drawer.is-open { transform: translateY(0); }
.bc-drawer[hidden] { display: none; }
@media (min-width: 900px){
  /* En escritorio se abre como panel lateral acotado */
  .bc-drawer { right: auto; width: 330px; max-height: 100vh; height: 100%;
    border-radius: 0 22px 22px 0; transform: translateX(-100%); }
  .bc-drawer.is-open { transform: translateX(0); }
}

.bc-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px 14px; border-bottom: 1px solid #F0EFEA;
}
.bc-drawer__user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bc-drawer__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.bc-drawer__user b { display: block; font-size: 14px; color: #2B3A2E; }
.bc-drawer__user small { display: block; font-size: 11.5px; color: #9aa39c; }
.bc-drawer__close {
  display: flex !important; align-items: center; justify-content: center;
  width: 34px !important; height: 34px !important; padding: 0 !important;
  background: #EDF3EE !important; border: none !important; border-radius: 50% !important;
  color: var(--bc-green) !important; font-size: 15px; line-height: 1;
  cursor: pointer; flex-shrink: 0; box-shadow: none !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bc-drawer__close:hover {
  background: var(--bc-green) !important; color: #fff !important; transform: rotate(90deg);
}

.bc-drawer__list { list-style: none; margin: 8px 0 0; padding: 0 12px; }
.bc-drawer__divider { height: 1px; background: #F0EFEA; margin: 8px 8px; }
.bc-drawer__item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 12px; border-radius: 12px;
  color: #3A4A3D !important; text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bc-drawer__item:hover { background: #F4F8F4; transform: translateX(2px); }
.bc-drawer__item.is-active { background: #EDF3EE; color: #2D5240 !important; font-weight: 700; }
.bc-drawer__icon { display: flex; color: #6E8A6F; flex-shrink: 0; }
.bc-drawer__item.is-active .bc-drawer__icon { color: #2D5240; }
.bc-drawer__dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #3D6B4F; }
.bc-drawer__logout {
  display: flex !important; align-items: center; justify-content: center; gap: 9px;
  width: calc(100% - 24px);
  margin: 14px 12px 0; padding: 13px; border-radius: 12px;
  background: #F2F6F2 !important;
  border: 1px solid #DCE7DE !important;
  color: var(--bc-green) !important;
  font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.bc-drawer__logout:hover {
  background: var(--bc-green) !important;
  border-color: var(--bc-green) !important;
  color: #fff !important;
}
.bc-drawer__logout svg { flex-shrink: 0; }

/* Panel de notificaciones */
.bc-notifpanel {
  position: fixed; z-index: 1500; background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.2);
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), opacity .3s ease;
}
.bc-notifpanel[hidden] { display: none; }
@media (min-width: 700px){
  .bc-notifpanel {
    top: 78px; right: 24px; width: 380px; max-height: 70vh;
    border-radius: 16px; transform: translateY(-10px); opacity: 0;
  }
  .bc-notifpanel.is-open { transform: translateY(0); opacity: 1; }
}
@media (max-width: 699px){
  /* En móvil ocupa la parte baja de la pantalla */
  .bc-notifpanel {
    left: 0; right: 0; bottom: 0; max-height: 80vh;
    border-radius: 20px 20px 0 0; transform: translateY(100%);
  }
  .bc-notifpanel.is-open { transform: translateY(0); }
}
.bc-notifpanel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid #F0EFEA;
}
.bc-notifpanel__head b { font-size: 15px; }
.bc-notifpanel__actions { display: flex; align-items: center; gap: 10px; }
.bc-notifpanel__actions .bc-link { font-size: 11.5px; background: none; border: none; cursor: pointer; color: #3D6B4F; }
.bc-notifpanel__close {
  background: #F5F5F0 !important; border: none !important; border-radius: 50% !important;
  width: 28px; height: 28px; cursor: pointer; color: #6B7B6F; font-size: 13px;
}
.bc-notifpanel__list { overflow-y: auto; padding: 6px 0 10px; }

/* Búsqueda: en móvil se despliega bajo la barra.
   En escritorio el campo ya está visible, así que la lupa sobra. */
.bc-topbar__searchbtn { display: none !important; }
@media (max-width: 780px){
  .bc-topbar__searchbtn { display: inline-flex !important; }
  .bc-topbar__search {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 10px 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.09);
    display: none; z-index: 30;
  }
  .bc-topbar__search.is-open { display: block; }
  .bc-topbar { position: relative; }
  /* Se ocultan los textos largos para que quepan los iconos */
  .bc-topbar__mood-label,
  .bc-topbar__profile-info,
  .bc-topbar__caret { display: none !important; }
  .bc-topbar__mood { padding: 6px 10px !important; }
  .bc-topbar__profile { padding: 4px !important; }
  .bc-topbar__avatar { margin: 0 !important; }
}
@media (max-width: 420px){
  .bc-topbar__mood-value { font-size: 11px; }
}
/* Videos y recursos comparten el encabezado "Recursos de este capítulo":
   se separan con menos aire para que se lean como un mismo grupo. */
.bc-chapter-detail .bc-res-btns { margin-top: 12px; }

/* ══ Test final: cierre de la serie ════════════════════════════════════════ */
.bc-chapter-card--final .bc-chapter-card__cover {
  background: linear-gradient(135deg, #EDF3EE 0%, #F7F2E9 100%);
}
.bc-chapter-card--final .bc-chapter-card__ph { font-size: 46px; color: #6E8A6F; }
.bc-chapter-card--final:not(.is-locked) {
  border-color: var(--bc-accent-on-dk, #8FAD93) !important;
  box-shadow: 0 0 0 2px rgba(143,173,147,.25);
}

/* Fila del test final en el panel de progreso */
.bc-progress-final {
  border-top: 1px dashed #DCE7DE;
  margin-top: 6px; padding-top: 12px;
}
.bc-progress-final.is-open {
  background: #F4F8F4; margin: 6px -12px 0; padding: 12px; border-radius: 10px;
}
.bc-progress-final__note {
  display: block; font-size: 11px; color: #a09a8c; margin-top: 2px;
}

/* ── Planes a cotizar: botón de WhatsApp ──────────────────────────────── */
.bc-plan-price--quote { font-size: 17px !important; letter-spacing: .01em; }
.bc-plan-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 10px; padding: 9px 14px;
  background: var(--bc-green); color: #fff !important;
  border-radius: 99px; text-decoration: none;
  font-size: 11.5px; font-weight: 700; line-height: 1.3;
  box-shadow: 0 3px 10px rgba(61,107,79,.24);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bc-plan-wa:hover {
  background: var(--bc-green-dark, #2D5240); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61,107,79,.32);
}
.bc-plan-wa--full { display: flex; width: 100%; padding: 12px 16px; font-size: 13px; }

/* ══ Página pública: planes y precios ═════════════════════════════════════ */
.bc-pricing-page { background: #F7F6F1; }

.bc-pricing-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px; background: #fff; border-bottom: 1px solid #EEEDE7;
}
.bc-pricing-top__logo { display: flex; align-items: center; text-decoration: none; }
.bc-pricing-top__login {
  font-size: 13px; font-weight: 600; color: var(--bc-green) !important;
  text-decoration: none; border: 1px solid var(--bc-green); border-radius: 99px;
  padding: 8px 18px; transition: background .18s ease, color .18s ease;
}
.bc-pricing-top__login:hover { background: var(--bc-green); color: #fff !important; }

.bc-pricing-hero { text-align: center; padding: 54px 24px 10px; }
.bc-pricing-hero__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #8a9a8d;
}
.bc-pricing-hero h1 {
  font-family: var(--font-title, Georgia, serif);
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.14;
  color: #23301F; margin: 12px 0 14px;
}
.bc-pricing-hero p { font-size: 15px; color: #6B7B6F; max-width: 540px; margin: 0 auto; line-height: 1.6; }

.bc-pricing-main { max-width: 1180px; margin: 0 auto; padding: 34px 24px 60px; }
.bc-pricing-block { margin-bottom: 46px; }
.bc-pricing-block__head { margin-bottom: 22px; }
.bc-pricing-block__head h2 {
  font-family: var(--font-title, Georgia, serif);
  font-size: 24px; font-weight: 700; color: #23301F; margin: 0 0 4px;
}
.bc-pricing-block__head p { font-size: 14px; color: #7C8A76; margin: 0; }

.bc-pricing-grid {
  display: flex; gap: 18px; align-items: stretch;
  padding-top: 16px;   /* deja ver la etiqueta del plan sugerido */
}
.bc-pricing-grid > .bc-price-card { flex: 1 1 0; min-width: 0; }

/* Solo se apilan cuando ya no caben con holgura */
@media (max-width: 900px){
  .bc-pricing-grid { flex-wrap: wrap; }
  .bc-pricing-grid > .bc-price-card { flex: 1 1 260px; }
}
@media (max-width: 560px){
  .bc-pricing-grid > .bc-price-card { flex: 1 1 100%; }
}

/* Tarjeta de precio */
.bc-price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E6E2D7; border-radius: 20px;
  padding: 30px 24px 26px;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.bc-price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(45,60,48,.14);
  border-color: #D6CFBE;
}
.bc-price-card.is-featured {
  border-color: var(--bc-green); border-width: 2px;
  box-shadow: 0 18px 44px rgba(61,107,79,.18);
  background: linear-gradient(180deg, #FBFDFB 0%, #fff 38%);
}
.bc-price-card__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: var(--bc-green); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(61,107,79,.3);
}

.bc-price-card__head { margin-bottom: 14px; }
.bc-price-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: #F2F6F2; margin-bottom: 12px;
}
.bc-price-card.is-featured .bc-price-card__icon { background: #E7F0E9; }
.bc-price-card__kind {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: #a3ad9f; margin-bottom: 3px;
}
.bc-price-card__head h3 {
  font-family: var(--font-title, Georgia, serif);
  font-size: 22px; font-weight: 700; color: #23301F; margin: 0; line-height: 1.2;
}
.bc-price-card__desc { font-size: 13px; color: #8a9a8d; margin: 7px 0 0; line-height: 1.5; }

.bc-price-card__price { padding: 16px 0 18px; border-bottom: 1px solid #F1EFE8; margin-bottom: 18px; }
.bc-price-card__amount {
  display: block; font-family: var(--font-title, Georgia, serif);
  font-size: 36px; font-weight: 700; color: #23301F; line-height: 1;
}
.bc-price-card__amount small { font-size: 13px; font-weight: 500; color: #9aa39c; margin-left: 4px; }
.bc-price-card__amount--quote { font-size: 25px; color: var(--bc-green); }
.bc-price-card__period { display: block; font-size: 12.5px; color: #8a9a8d; margin-top: 8px; line-height: 1.45; }

.bc-price-card__list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.bc-price-card__list li {
  position: relative; padding-left: 25px; margin-bottom: 10px;
  font-size: 13.5px; color: #5A6157; line-height: 1.5;
}
.bc-price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: #E7F0E9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%233D6B4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Botones de acción: siempre en el verde corporativo */
.bc-price-cta {
  display: flex !important; align-items: center; justify-content: center; gap: 9px;
  width: 100%; box-sizing: border-box;
  background: var(--bc-green) !important; color: #fff !important;
  border: none !important; border-radius: 12px !important;
  padding: 14px 16px !important;
  font-family: inherit; font-size: 13px !important; font-weight: 700 !important;
  line-height: 1.35 !important;
  text-decoration: none; text-align: center; cursor: pointer;
  /* El texto puede ocupar dos renglones sin salirse de la tarjeta */
  white-space: normal !important; overflow-wrap: anywhere; min-width: 0;
  box-shadow: 0 4px 14px rgba(61,107,79,.22) !important;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.bc-price-cta:hover {
  background: var(--bc-green-dark, #2D5240) !important; transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(61,107,79,.32) !important;
}
.bc-price-cta:active { transform: translateY(0); }
.bc-price-cta svg { flex-shrink: 0; }
/* El de WhatsApp comparte el verde de marca y se distingue por el icono */
.bc-price-cta--wa { background: var(--bc-green) !important; }
.bc-price-cta--wa:hover { background: var(--bc-green-dark, #2D5240) !important; }

/* Cierre */
.bc-pricing-foot {
  text-align: center; background: #fff; border: 1px solid #EAE6DC;
  border-radius: 18px; padding: 36px 26px;
}
.bc-pricing-foot h3 {
  font-family: var(--font-title, Georgia, serif);
  font-size: 22px; color: #23301F; margin: 0 0 6px;
}
.bc-pricing-foot p { font-size: 14px; color: #7C8A76; margin: 0 0 18px; }
.bc-pricing-foot .bc-price-cta { display: inline-flex; }
.bc-pricing-empty { text-align: center; color: #9aa39c; padding: 40px; }

@media (max-width: 640px){
  .bc-pricing-top { padding: 14px 18px; }
  .bc-pricing-hero { padding: 34px 18px 6px; }
  .bc-pricing-main { padding: 24px 16px 40px; }
  .bc-price-card { padding: 24px 20px; }
}

/* ── Formulario de contacto (prospectos) ──────────────────────────────── */
.bc-lead-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bc-lead-modal[hidden] { display: none; }
.bc-lead-modal__bg { position: absolute; inset: 0; background: rgba(20,28,22,.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.bc-lead-modal.is-open .bc-lead-modal__bg { opacity: 1; }
.bc-lead-modal__box {
  position: relative; background: #fff; border-radius: 20px;
  width: min(520px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 32px 30px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), opacity .28s ease;
}
.bc-lead-modal.is-open .bc-lead-modal__box { transform: translateY(0) scale(1); opacity: 1; }
.bc-lead-modal__close {
  position: absolute; top: 16px; right: 16px;
  display: flex !important; align-items: center; justify-content: center;
  width: 34px !important; height: 34px !important;
  padding: 0 !important;
  /* El tema pinta los <button> con su propio estilo: se fuerza el nuestro */
  border-radius: 50% !important;
  background: #EDF3EE !important;
  border: none !important;
  color: var(--bc-green) !important;
  font-size: 15px; line-height: 1; cursor: pointer;
  box-shadow: none !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bc-lead-modal__close:hover {
  background: var(--bc-green) !important; color: #fff !important;
  transform: rotate(90deg);
}
.bc-lead-modal__box h3 {
  font-family: var(--font-title, Georgia, serif);
  font-size: 23px; color: #23301F; margin: 0 0 6px;
}
.bc-lead-modal__sub { font-size: 13.5px; color: #7C8A76; margin: 0 0 20px; line-height: 1.5; }
.bc-lead-plan { display: block; font-weight: 700; color: var(--bc-green); margin-top: 4px; }
#bc-lead-form label { display: block; font-size: 12.5px; color: #5A6157; font-weight: 600; margin-bottom: 12px; }
#bc-lead-form input {
  width: 100%; margin-top: 5px; padding: 11px 13px;
  border: 1px solid #E2DED3; border-radius: 10px; font-size: 14px; font-weight: 400;
  background: #FCFBF7; transition: border-color .18s ease, background .18s ease;
}
#bc-lead-form input:focus { outline: none; border-color: var(--bc-green); background: #fff; }
.bc-lead-row { display: flex; gap: 12px; }
.bc-lead-row label { flex: 1; min-width: 0; }
.bc-lead-alert {
  background: #FEF2F2; border: 1px solid #FECACA; color: #b4433a;
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px; margin-bottom: 12px;
}
#bc-lead-submit { width: 100%; border: none; cursor: pointer; font-family: inherit; }
.bc-lead-legal { font-size: 11px; color: #a0a89f; text-align: center; margin: 12px 0 0; }
@media (max-width: 480px){ .bc-lead-row { flex-direction: column; gap: 0; } }

/* ── Bloque de planes incrustado (shortcode [enmi_planes]) ─────────────── */
.bc-pricing-embed {
  background: transparent !important;
  /* Márgenes laterales para que las tarjetas no toquen el borde de la
     sección donde se inserte el bloque */
  max-width: 1180px;
  padding: 8px 24px 24px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 768px){ .bc-pricing-embed { padding: 8px 16px 20px; } }
.bc-pricing-embed .bc-pricing-block { margin-bottom: 26px; }
/* La caja de cierre se adapta al fondo donde se inserte */
.bc-pricing-embed .bc-pricing-foot { background: rgba(255,255,255,.72); }

/* El botón del bloque de cierre va centrado */
.bc-pricing-foot { display: flex; flex-direction: column; align-items: center; }
.bc-pricing-foot .bc-price-cta {
  display: inline-flex !important;
  width: auto !important;
  min-width: 260px;
  margin: 0 auto;
}

/* ══ Formulario de contacto reutilizable [enmi_formulario] ════════════════ */
.bc-leadform {
  background: transparent;
  max-width: 520px; margin: 0 auto; position: relative;
  font-family: var(--font-body, 'Inter', sans-serif);
}
.bc-leadform__head { margin-bottom: 20px; }
.bc-leadform__title {
  font-family: var(--font-title, Georgia, serif);
  font-size: 24px; font-weight: 700; color: #23301F;
  margin: 0 0 6px; line-height: 1.2;
}
.bc-leadform__sub { font-size: 14px; color: #7C8A76; margin: 0; line-height: 1.55; }

.bc-leadform__form label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: #5A6157; margin-bottom: 13px;
}
.bc-leadform__form input {
  width: 100%; margin-top: 5px; padding: 12px 14px;
  border: 1px solid #E2DED3 !important; border-radius: 10px !important;
  font-size: 14px; font-weight: 400; color: #2B3A2E;
  background: #FCFBF7 !important; box-sizing: border-box;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.bc-leadform__form input:focus {
  outline: none;
  border-color: var(--bc-green, #3D6B4F) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(61,107,79,.1);
}
.bc-leadform__form input::placeholder { color: #b3b8b0; }
.bc-leadform__row { display: flex; gap: 12px; }
.bc-leadform__row label { flex: 1; min-width: 0; }

.bc-leadform__alert {
  background: #FEF2F2; border: 1px solid #FECACA; color: #b4433a;
  border-radius: 10px; padding: 10px 13px; font-size: 12.5px; margin-bottom: 12px;
}

.bc-leadform__btn {
  display: flex !important; align-items: center; justify-content: center; gap: 9px;
  width: 100%; box-sizing: border-box; cursor: pointer;
  background: var(--bc-green, #3D6B4F) !important; color: #fff !important;
  border: none !important; border-radius: 12px !important;
  padding: 15px 18px !important;
  font-family: inherit; font-size: 14px !important; font-weight: 700 !important;
  line-height: 1.3 !important; white-space: normal !important;
  box-shadow: 0 4px 14px rgba(61,107,79,.22) !important;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.bc-leadform__btn:hover:not([disabled]) {
  background: var(--bc-green-dark, #2D5240) !important; transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(61,107,79,.32) !important;
}
.bc-leadform__btn[disabled] { opacity: .75; cursor: default; }
.bc-leadform__btn svg { flex-shrink: 0; }

.bc-leadform__legal {
  font-size: 11px; color: #a0a89f; text-align: center; margin: 12px 0 0; line-height: 1.5;
}
.bc-leadform__ok {
  margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: #EDF3EE; border: 1px solid #CFE3D4; color: #2D5240;
  font-size: 13.5px; font-weight: 600; text-align: center;
}
.bc-leadform.is-sent .bc-leadform__form { opacity: .55; pointer-events: none; }

@media (max-width: 480px){
  .bc-leadform__row { flex-direction: column; gap: 0; }
  .bc-leadform__title { font-size: 21px; }
}

/* ══ Refuerzo frente al tema del sitio ═════════════════════════════════════
   Dentro de la plataforma, el tema no debe imponer color ni subrayado a los
   enlaces: cada componente define los suyos. */
.bc-app-body a,
.bc-app-body a:hover,
.bc-app-body a:focus,
.bc-app-body a:visited { text-decoration: none !important; box-shadow: none !important; }

/* Menú lateral */
.bc-sidebar a, .bc-sidebar a:visited { text-decoration: none !important; border: none !important; }
.bc-sidebar__link, .bc-sidebar__link:visited {
  color: rgba(255,255,255,.65) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
.bc-sidebar__link:hover,
.bc-sidebar__link--active,
.bc-sidebar__link--active:visited { color: #fff !important; text-decoration: none !important; }
.bc-sidebar__brand-name { color: #fff !important; }
.bc-sidebar__brand-sub { color: rgba(255,255,255,.5) !important; }

/* Cortinilla y barra superior */
.bc-drawer a, .bc-drawer a:visited { text-decoration: none !important; }
.bc-drawer__item, .bc-drawer__item:visited { color: #3A4A3D !important; }
.bc-drawer__item.is-active, .bc-drawer__item.is-active:visited { color: #2D5240 !important; }
.bc-topbar a, .bc-topbar a:visited { text-decoration: none !important; }

/* Fichas, tarjetas y botones que son enlaces */
.bc-chapter-card, .bc-chapter-card:visited,
.bc-sem-card, .bc-sem-card:visited,
.bc-quick-link, .bc-quick-link:visited,
.bc-res-btn, .bc-vid-card,
.bc-price-cta, .bc-price-cta:visited,
.bc-plan-wa, .bc-plan-wa:visited,
.bc-btn, .bc-btn:visited {
  text-decoration: none !important;
}
.bc-chapter-card:hover, .bc-sem-card:hover, .bc-quick-link:hover,
.bc-price-cta:hover, .bc-plan-wa:hover, .bc-btn:hover { text-decoration: none !important; }

/* Miniatura del recurso, sobre el título */
.bc-vid-card__thumb {
  display: block; width: 100%; aspect-ratio: 16/9;
  border-radius: 10px; overflow: hidden; background: #EEF2EE;
  flex-shrink: 0;
}
.bc-vid-card__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.bc-vid-card:hover .bc-vid-card__thumb img { transform: scale(1.05); }
/* Fila inferior: icono, texto y botón de reproducción */
.bc-vid-card__row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0;
  padding: 0 2px 2px;
}
.bc-vid-card__row .bc-vid-card__icon { width: 40px; height: 40px; }
.bc-vid-card__row .bc-vid-card__title { font-size: 12.5px !important; }

/* Resultados del buscador */
.bc-search-result-item {
  display: flex !important; align-items: center; gap: 11px;
  padding: 10px 14px; text-decoration: none !important;
  border-bottom: 1px solid #F3F1EB; transition: background .15s ease;
}
.bc-search-result-item:last-child { border-bottom: none; }
.bc-search-result-item:hover { background: #F4F8F4; }
.bc-search-result-item__ico { font-size: 17px; flex-shrink: 0; }
.bc-search-result-item__txt { display: flex; flex-direction: column; min-width: 0; }
.bc-search-result-item__txt strong {
  font-size: 13px; color: #2B3A2E; font-weight: 600; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-search-result-item__txt small { font-size: 11px; color: #9aa39c; }
.bc-search-empty { padding: 14px; font-size: 12.5px; color: #9aa39c; text-align: center; }

/* ══ EnMi Plus: biblioteca libre ═══════════════════════════════════════════ */
.bc-plus-block { margin-bottom: 34px; }
.bc-plus-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px; margin-top: 14px;
}
.bc-plus-grid--album { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (min-width: 1500px){
  .bc-plus-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 560px){ .bc-plus-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.bc-plus-card {
  display: flex !important; flex-direction: column; align-items: stretch; gap: 3px;
  background: transparent !important; border: none !important; padding: 0 !important;
  cursor: pointer; font: inherit; color: inherit !important; text-align: left;
  white-space: normal !important; box-shadow: none !important;
}
.bc-plus-card__cover {
  position: relative; display: block; width: 100%; aspect-ratio: 1/1;
  border-radius: 12px; overflow: hidden; background: #EEF2EE;
  box-shadow: 0 6px 18px rgba(45,60,48,.12);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
  margin-bottom: 9px;
}
/* Los libros conservan proporción de portada */
.bc-plus-card__cover.is-book { aspect-ratio: 3/4; }
.bc-plus-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-plus-card__ph {
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-size: 40px; background: linear-gradient(135deg, #EDF3EE, #F7F2E9);
}
.bc-plus-card:hover .bc-plus-card__cover {
  transform: translateY(-5px); box-shadow: 0 14px 32px rgba(45,60,48,.2);
}
/* Botón de reproducción que asoma al pasar el cursor */
.bc-plus-card__play {
  position: absolute; right: 10px; bottom: 10px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bc-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.bc-plus-card:hover .bc-plus-card__play { opacity: 1; transform: translateY(0); }
.bc-plus-card__title { font-size: 13.5px; font-weight: 600; color: #2B3A2E; line-height: 1.35; }
.bc-plus-card__sub   { font-size: 12px; color: #8a9a8d; line-height: 1.4; }
.bc-plus-card__meta  { font-size: 11px; color: #a8b0a5; }

/* Visor del álbum */
.bc-plus-player { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.bc-plus-player__cover {
  width: 180px; height: 180px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(45,60,48,.2);
}
@media (max-width: 560px){ .bc-plus-player__cover { width: 120px; height: 120px; } }
.bc-plus-player__info { min-width: 0; }
.bc-plus-player__sub   { font-size: 13.5px; color: #5A6157; font-weight: 600; margin: 0 0 4px; }
.bc-plus-player__desc  { font-size: 13px; color: #7C8A76; line-height: 1.55; margin: 0 0 6px; }
.bc-plus-player__count { font-size: 12px; color: #a8b0a5; margin: 0; }
.bc-plus-audio { width: 100%; margin-bottom: 14px; }

.bc-plus-tracks { list-style: none; margin: 0; padding: 0; counter-reset: pista; }
.bc-plus-tracks li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  border-bottom: 1px solid #F3F1EB; transition: background .15s ease;
}
.bc-plus-tracks li:last-child { border-bottom: none; }
.bc-plus-tracks li:hover { background: #F4F8F4; }
.bc-plus-tracks li.is-playing { background: #EDF3EE; }
.bc-plus-tracks__n {
  width: 24px; flex-shrink: 0; font-size: 12px; color: #a8b0a5; text-align: center;
}
.bc-plus-tracks li.is-playing .bc-plus-tracks__n { color: var(--bc-green); font-weight: 700; }
.bc-plus-tracks__t { flex: 1; min-width: 0; font-size: 13.5px; color: #2B3A2E; }
.bc-plus-tracks__d { font-size: 12px; color: #a8b0a5; }
.bc-plus-video { width: 100%; border-radius: 12px; display: block; background: #000; }

/* Carátula con contraportada: se voltea al pasar el cursor */
.bc-plus-flip { perspective: 1000px; width: 180px; height: 180px; flex-shrink: 0; display: block; }
.bc-plus-flip__in {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.bc-plus-flip:hover .bc-plus-flip__in { transform: rotateY(180deg); }
.bc-plus-flip__face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 12px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 8px 22px rgba(45,60,48,.18);
}
.bc-plus-flip__face--back { transform: rotateY(180deg); }
@media (max-width: 560px){ .bc-plus-flip { width: 120px; height: 120px; } }

/* Giro de la carátula en la cuadrícula de EnMi Plus */
.bc-plus-card__cover.has-back { perspective: 1000px; background: none; box-shadow: none; }
.bc-plus-card__flip {
  position: absolute; inset: 0; display: block;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2,.7,.3,1);
}
.bc-plus-card:hover .bc-plus-card__flip { transform: rotateY(180deg); }
.bc-plus-card__face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 12px; display: block;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 6px 18px rgba(45,60,48,.12);
}
.bc-plus-card__face--back { transform: rotateY(180deg); }
/* Con giro, la tarjeta no se eleva para no romper la perspectiva */
.bc-plus-card:hover .bc-plus-card__cover.has-back { transform: none; }
.bc-plus-card__cover.has-back .bc-plus-card__play { z-index: 2; }

/* ══ Mi panel: bloques numerados ═══════════════════════════════════════════ */
.bc-panel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 18px;
}
.bc-panel-card--wide { grid-column: span 3; }
@media (max-width: 1100px){
  .bc-panel-grid { grid-template-columns: repeat(2, 1fr); }
  .bc-panel-card--wide { grid-column: span 2; }
}
@media (max-width: 700px){
  .bc-panel-grid { grid-template-columns: 1fr; }
  .bc-panel-card--wide { grid-column: span 1; }
}

.bc-panel-card {
  background: #fff; border: 1px solid #ECE6DA; border-radius: 16px;
  padding: 20px 22px; display: flex; flex-direction: column;
}
.bc-panel-card__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.bc-panel-card__n {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--bc-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
}
.bc-panel-card__head h3 { font-size: 15px; margin: 0; flex: 1; color: #2B3A2E; }
.bc-panel-card__head a { font-size: 12px; color: var(--bc-green) !important; font-weight: 600; }

.bc-panel-big { font-size: 30px; font-weight: 700; color: #23301F; margin: 0; line-height: 1; }
.bc-panel-big small { font-size: 13px; font-weight: 500; color: #9aa39c; margin-left: 4px; }
.bc-panel-muted { font-size: 12.5px; color: #9aa39c; margin: 0; line-height: 1.5; }
.bc-panel-link {
  margin-top: auto; padding-top: 12px;
  font-size: 12.5px; font-weight: 600; color: var(--bc-green) !important;
}

/* Anillo de progreso */
.bc-panel-progress { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.bc-panel-ring {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--bc-green) calc(var(--pct) * 1%), #EDEAE1 0);
  position: relative;
}
.bc-panel-ring::after {
  content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff;
}
.bc-panel-ring span {
  position: relative; z-index: 1; font-size: 19px; font-weight: 700; color: #23301F;
}
.bc-panel-progress__data p { margin: 0 0 4px; font-size: 14px; color: #4A5348; }

/* Barras por capítulo */
.bc-panel-bars { display: flex; flex-direction: column; gap: 9px; }
.bc-panel-bar { display: flex; align-items: center; gap: 12px; }
.bc-panel-bar__lbl {
  flex: 0 0 170px; font-size: 12.5px; color: #5A6157;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-panel-bar__track {
  flex: 1; height: 8px; border-radius: 99px; background: #EDEAE1;
  overflow: hidden; display: block;
}
.bc-panel-bar__track > span {
  display: block; height: 100%; border-radius: 99px;
  background: var(--bc-green); transition: width .5s ease;
}
.bc-panel-bar__pct { flex: 0 0 40px; text-align: right; font-size: 12px; color: #9aa39c; }
@media (max-width: 560px){ .bc-panel-bar__lbl { flex: 0 0 110px; } }

/* Novedades de EnMi Plus */
.bc-panel-plus { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bc-panel-plus a {
  display: flex; align-items: center; gap: 11px; text-decoration: none !important;
}
.bc-panel-plus img, .bc-panel-plus__ico {
  width: 44px; height: 44px; border-radius: 9px; object-fit: cover; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #EEF2EE; font-size: 20px;
}
.bc-panel-plus__txt { min-width: 0; display: flex; flex-direction: column; }
.bc-panel-plus__txt b {
  font-size: 13px; color: #2B3A2E; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-panel-plus__txt small { font-size: 11.5px; color: #9aa39c; }

/* Datos de actividad */
.bc-panel-datos { list-style: none; margin: 14px 0 0; padding: 0; }
.bc-panel-datos li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #F3F1EB; font-size: 12.5px; color: #7C8A76;
}
.bc-panel-datos li:last-child { border-bottom: none; }
.bc-panel-datos b { color: #2B3A2E; font-size: 13px; text-align: right; }

/* Accesos a capítulos */
.bc-panel-caps { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-panel-cap {
  display: flex; align-items: center; gap: 10px;
  background: #FAF8F3; border: 1px solid #ECE6DA; border-radius: 12px;
  padding: 10px 16px 10px 10px; text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bc-panel-cap:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,60,48,.1); border-color: #DCD3C2; }
.bc-panel-cap.is-locked { opacity: .55; cursor: not-allowed; }
.bc-panel-cap.is-locked:hover { transform: none; box-shadow: none; }
.bc-panel-cap.is-done { background: #F2F7F3; border-color: #CFE3D4; }
.bc-panel-cap__n {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: var(--bc-accent); color: var(--bc-accent-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
}
.bc-panel-cap.is-done .bc-panel-cap__n { background: var(--bc-green); color: #fff; }
.bc-panel-cap__t { font-size: 13px; font-weight: 600; color: #2B3A2E; }
.bc-panel-cap__p { font-size: 11.5px; color: #9aa39c; }

/* Barra suelta (bloque de tests) */
.bc-panel-solobar {
  height: 8px; border-radius: 99px; background: #EDEAE1;
  overflow: hidden; margin: 12px 0 14px; width: 100%;
}
.bc-panel-solobar > span {
  display: block; height: 100%; border-radius: 99px;
  background: var(--bc-green); transition: width .5s ease;
}

/* Miniaturas en los accesos a capítulos */
.bc-panel-caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.bc-panel-cap { padding: 10px !important; align-items: center; }
.bc-panel-cap__thumb {
  position: relative; width: 56px; height: 42px; border-radius: 9px;
  overflow: hidden; flex-shrink: 0; background: #EEF2EE;
  display: flex; align-items: center; justify-content: center;
}
.bc-panel-cap__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-panel-cap__badge {
  position: absolute; right: 3px; bottom: 3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--bc-green); color: #fff; font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.bc-panel-cap__badge.is-lock { background: #b9b2a3; }
.bc-panel-cap__body { display: flex; flex-direction: column; min-width: 0; }
.bc-panel-cap__t {
  font-size: 12.5px; font-weight: 600; color: #2B3A2E;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-panel-cap__p { font-size: 11px; color: #9aa39c; }

/* ══ Desplegable de semáforos en la barra superior ═════════════════════════ */
.bc-topbar__semwrap { position: relative; }
.bc-topbar__mood.is-open { background: #F2F6F2 !important; }

.bc-sem-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1200;
  width: 320px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid #ECE6DA; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
  padding: 6px;
}
.bc-sem-dropdown[hidden] { display: none; }
.bc-sem-dropdown__head { padding: 10px 12px 8px; border-bottom: 1px solid #F3F1EB; margin-bottom: 4px; }
.bc-sem-dropdown__head b { display: block; font-size: 13.5px; color: #2B3A2E; }
.bc-sem-dropdown__head small { font-size: 11.5px; color: #9aa39c; }

.bc-sem-dropdown__item {
  display: flex !important; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none !important; transition: background .15s ease;
}
.bc-sem-dropdown__item:hover { background: #F4F8F4; }
.bc-sem-dropdown__dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}
.bc-sem-dropdown__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bc-sem-dropdown__txt b {
  font-size: 13px; color: #2B3A2E; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-sem-dropdown__txt small { font-size: 11px; color: #9aa39c; }
.bc-sem-dropdown__go { color: #c3c9c2; font-size: 14px; flex-shrink: 0; }
.bc-sem-dropdown__item:hover .bc-sem-dropdown__go { color: var(--bc-green); }
.bc-sem-dropdown__empty { padding: 16px 12px; font-size: 12.5px; color: #9aa39c; line-height: 1.5; }
.bc-sem-dropdown__all {
  display: block; text-align: center; padding: 11px;
  border-top: 1px solid #F3F1EB; margin-top: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--bc-green) !important;
  text-decoration: none !important;
}
@media (max-width: 560px){
  .bc-sem-dropdown { width: calc(100vw - 32px); right: -8px; }
}

/* Si el tema envuelve la plataforma en su contenedor, se neutraliza su
   relleno para que el panel no quede comprimido ni recuadrado. */
.bc-app-body #content,
.bc-app-body .site-content,
.bc-app-body .entry-content,
.bc-app-body .page-content,
.bc-app-body main,
.bc-app-body .elementor-section-wrap,
.bc-app-body .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.bc-app-body .site-header,
.bc-app-body .site-footer:not(.bc-theme-footer),
.bc-app-body .entry-header { display: none !important; }

/* ══ Panel de empresa: evaluaciones y estadísticas ═════════════════════════ */
.bc-sem-resumen {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px;
}
@media (max-width: 900px){ .bc-sem-resumen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .bc-sem-resumen { grid-template-columns: 1fr; } }
.bc-sem-resumen__item {
  border-radius: 14px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(0,0,0,.05);
}
.bc-sem-resumen__dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 8px; }
.bc-sem-resumen__pct { font-size: 28px; font-weight: 700; line-height: 1; }
.bc-sem-resumen__lbl { font-size: 13px; font-weight: 600; color: #4A5348; margin-top: 4px; }
.bc-sem-resumen__n   { font-size: 11.5px; color: #8b978d; }

/* Evaluaciones por colaborador */
.bc-eval-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.bc-eval-card {
  background: #fff; border: 1px solid #ECE6DA; border-radius: 16px; padding: 18px 20px;
}
.bc-eval-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bc-eval-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--bc-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.bc-eval-card__id b { display: block; font-size: 14.5px; color: #2B3A2E; }
.bc-eval-card__id small { font-size: 12px; color: #8b978d; }
.bc-eval-card__empty { font-size: 13px; color: #9aa39c; margin: 0; }

.bc-eval-sems {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px;
}
.bc-eval-sem {
  display: flex; align-items: center; gap: 10px;
  border-radius: 11px; padding: 11px 14px; border: 1px solid rgba(0,0,0,.05);
}
.bc-eval-sem__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.bc-eval-sem__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bc-eval-sem__txt b {
  font-size: 12.5px; color: #2B3A2E; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-eval-sem__txt small { font-size: 11px; color: #8b978d; }
.bc-eval-sem__lbl { font-size: 11.5px; font-weight: 700; flex-shrink: 0; }

/* Estadísticas */
.bc-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px;
}
@media (max-width: 900px){ .bc-stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .bc-stats-row { grid-template-columns: 1fr; } }
.bc-stat-box {
  background: #fff; border: 1px solid #ECE6DA; border-radius: 14px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.bc-stat-box__lbl { font-size: 12.5px; color: #8b978d; }
.bc-stat-box__val { font-size: 26px; font-weight: 700; color: #23301F; line-height: 1; }

.bc-table-wrap {
  background: #fff; border: 1px solid #ECE6DA; border-radius: 16px;
  overflow-x: auto; margin-top: 12px;
}
.bc-table { width: 100%; border-collapse: collapse; }
.bc-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em;
  color: #9aa39c; font-weight: 700; padding: 14px 16px; border-bottom: 1px solid #F0EEE7;
  white-space: nowrap;
}
.bc-table td {
  padding: 14px 16px; font-size: 13px; color: #4A5348;
  border-bottom: 1px solid #F6F5F0; vertical-align: middle;
}
.bc-table tbody tr:last-child td { border-bottom: none; }
.bc-table tbody tr:hover { background: #FAFBFA; }
.bc-mini-bar {
  height: 7px; border-radius: 99px; background: #EDEAE1; overflow: hidden;
  display: block; min-width: 120px;
}
.bc-mini-bar > span { display: block; height: 100%; border-radius: 99px; background: var(--bc-green); }
.bc-mini-bar__pct { font-size: 11px; color: #9aa39c; }

/* ══ Panel global de administración ════════════════════════════════════════ */
.bc-sidebar__admin-tag {
  display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-top: 6px;
}
.bc-sidebar__admin-box {
  margin: auto 14px 16px; padding: 14px 16px;
  background: rgba(255,255,255,.07); border-radius: 12px;
}
.bc-sidebar__admin-lbl {
  display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 6px;
}
.bc-sidebar__admin-box b {
  color: #fff; font-size: 19px; margin-right: 4px;
}
.bc-sidebar__admin-box small { color: rgba(255,255,255,.6); font-size: 11.5px; margin-right: 10px; }

/* Etiquetas de semáforo compactas */
.bc-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 99px; margin: 2px 3px 2px 0;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.bc-chip__dot { width: 8px; height: 8px; border-radius: 50%; }

/* Formularios de alta */
.bc-admin-form {
  background: #fff; border: 1px solid #ECE6DA; border-radius: 16px;
  padding: 24px 26px; margin-top: 18px; max-width: 900px;
}
.bc-admin-form__sub {
  font-size: 14px; color: #2B3A2E; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid #F3F1EB;
}
.bc-admin-form__sub:not(:first-child) { margin-top: 26px; }
.bc-admin-form__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px;
}
@media (max-width: 700px){ .bc-admin-form__grid { grid-template-columns: 1fr; } }
.bc-admin-form label {
  display: flex; flex-direction: column; font-size: 12.5px; font-weight: 600; color: #5A6157;
}
.bc-admin-form input[type="text"],
.bc-admin-form input[type="email"],
.bc-admin-form input[type="tel"],
.bc-admin-form input[type="number"] {
  margin-top: 5px; padding: 11px 13px; width: 100%; box-sizing: border-box;
  border: 1px solid #E2DED3; border-radius: 10px;
  font-size: 14px; font-weight: 400; background: #FCFBF7;
}
.bc-admin-form input:focus {
  outline: none; border-color: var(--bc-green); background: #fff;
}
.bc-admin-form__hint { font-size: 11px; color: #9aa39c; font-weight: 400; margin-top: 4px; }

/* Selector de plan */
.bc-plan-picker {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px;
}
.bc-plan-pick { cursor: pointer; }
.bc-plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.bc-plan-pick__box {
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid #E2DED3; border-radius: 12px; padding: 14px 16px;
  background: #FCFBF7; transition: border-color .18s ease, background .18s ease;
}
.bc-plan-pick__box b { font-size: 13.5px; color: #2B3A2E; }
.bc-plan-pick__box small { font-size: 11.5px; color: #8b978d; }
.bc-plan-pick input:checked + .bc-plan-pick__box {
  border-color: var(--bc-green); background: #F2F7F3;
  box-shadow: 0 0 0 2px rgba(61,107,79,.15);
}
.bc-alert--ok {
  background: #EDF3EE; border: 1px solid #CFE3D4; color: #2D5240;
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px;
}
.bc-alert--error {
  background: #FEF2F2; border: 1px solid #FECACA; color: #b4433a;
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px;
}

/* Gráficas del panel global */
.bc-admin-charts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px;
}
@media (max-width: 900px){ .bc-admin-charts { grid-template-columns: 1fr; } }
.bc-chart-bars {
  display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 6px;
}
.bc-chart-bars__col {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; height: 100%; gap: 4px;
}
.bc-chart-bars__bar {
  width: 100%; max-width: 42px; border-radius: 8px 8px 3px 3px;
  background: var(--bc-green); min-height: 4px;
  transition: height .5s cubic-bezier(.2,.7,.3,1);
}
.bc-chart-bars__bar--alt { background: var(--bc-accent-on-dk, #8FAD93); }
.bc-chart-bars__col small { font-size: 11px; color: #9aa39c; text-transform: capitalize; }
.bc-chart-bars__col b { font-size: 12px; color: #4A5348; }

/* ══ Botones en las páginas públicas ═══════════════════════════════════════
   El tema pinta los <button> con su propio color: aquí se impone la paleta
   de EnMi en el acceso, el registro y los formularios públicos. */
/* También cubre el formulario embebido con [enmi_login_form], donde el body
   no lleva la clase de la plataforma y el botón heredaba el color del tema. */
.bc-body .bc-btn-primary,
.bc-body .bc-btn-primary:visited,
.bc-login-shortcode .bc-btn-primary,
.bc-login-shortcode .bc-btn-primary:visited,
.bc-leadform .bc-btn-primary,
.bc-pricing-main .bc-btn-primary {
  background: var(--bc-green) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  box-shadow: 0 4px 14px rgba(61,107,79,.22) !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bc-body .bc-btn-primary:hover:not([disabled]),
.bc-login-shortcode .bc-btn-primary:hover:not([disabled]),
.bc-leadform .bc-btn-primary:hover:not([disabled]),
.bc-pricing-main .bc-btn-primary:hover:not([disabled]) {
  background: var(--bc-green-dark, #2D5240) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(61,107,79,.3) !important;
}
.bc-body .bc-btn-primary[disabled],
.bc-login-shortcode .bc-btn-primary[disabled] { opacity: .7; transform: none; cursor: default; }
.bc-body .bc-btn-primary .bc-btn-text,
.bc-body .bc-btn-primary .bc-btn-loading,
.bc-login-shortcode .bc-btn-primary .bc-btn-text,
.bc-login-shortcode .bc-btn-primary .bc-btn-loading { color: #fff !important; }

/* Enlaces secundarios del acceso */
.bc-login-page .bc-forgot-link,
.bc-login-page .bc-link,
.bc-login-shortcode .bc-forgot-link,
.bc-login-shortcode .bc-link,
.bc-register-page .bc-link {
  color: var(--bc-green) !important;
  background: none !important;
  border: none !important;
}
.bc-login-page .bc-input-toggle-pw,
.bc-login-shortcode .bc-input-toggle-pw {
  background: none !important; border: none !important; color: #8b978d !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   REPRODUCTOR: ajuste a la altura de la ventana
   ═══════════════════════════════════════════════════════════════════════
   El reproductor declara aspect-ratio 16/9 junto a un tope de alto (60vh,
   35vh o 28vh según el ancho). Cuando el tope recorta, el aspect-ratio deja
   de cumplirse: la CAJA se queda ancha y baja, y como el video usa
   object-fit:contain aparecía con franjas negras a los lados.

   Se nota sobre todo con el teléfono en horizontal, donde el alto de la
   ventana es pequeño: el video quedaba centrado y diminuto en una caja muy
   ancha. La solución es limitar también el ancho al que corresponde a ese
   alto, para que la caja siga siendo 16/9 en todos los casos.
   ═══════════════════════════════════════════════════════════════════════ */
.bcplayer {
  width: min(calc(100% - 32px), calc(60vh * 16 / 9)) !important;
}
@media (max-width: 768px) {
  .bcplayer { width: min(100%, calc(35vh * 16 / 9)) !important; }
}
@media (max-width: 480px) {
  .bcplayer { width: min(100%, calc(28vh * 16 / 9)) !important; }
}

/* Teléfono en horizontal: la ventana es baja y ancha, así que el tope de
   alto pensado para vertical desaprovecha la pantalla. Se sube el tope y el
   ancho lo acompaña para conservar la proporción. */
@media (orientation: landscape) and (max-height: 520px) {
  .bcplayer {
    max-height: 86vh !important;
    width: min(calc(100% - 20px), calc(86vh * 16 / 9)) !important;
    margin: 6px auto 0 !important;
    border-radius: 12px !important;
  }
  /* Los controles y el rótulo se compactan para no comerse el video */
  .bcplayer__controls { padding: 16px 10px 6px !important; }
  .bcplayer__overlay  { bottom: 56px !important; }
  .bcplayer__cues     { bottom: 58px !important; }
  .bc-video-container { max-height: 86vh !important; }
  /* La barra superior ocupa alto que aquí hace falta */
  .bc-app-content     { padding-top: 8px !important; }
}

/* En pantalla completa no se aplica ningún tope: manda la pantalla. */
.bcplayer:fullscreen,
.bcplayer:-webkit-full-screen {
  width: 100% !important;
  max-height: none !important;
}
