/* ================================================================
   SK WELLNESS CENTER — AULA LUXURY LAYER
   Refactor 2026-04-21: capa premium consolidada sobre aula-2.css.
   Orden: tokens, UX shell, engagement, home, biblioteca, soporte responsive.
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   TOKENS PREMIUM EXTENDIDOS
   ──────────────────────────────────────────────────────────────── */
:root {
  --sk-gold-bright:     #f0d270;
  --sk-gold-deep:       #9b7424;
  --sk-gradient-gold:   linear-gradient(148deg, #f0d370 0%, #c9a84c 42%, #a08030 80%, #8a6a22 100%);
  --sk-gradient-earth:  linear-gradient(148deg, #7a5848 0%, #6b4c3b 40%, #4a3226 80%, #3d2a1e 100%);
  --sk-glow-gold:       0 0 28px rgba(201,168,76,.22);
  --sk-glow-gold-s:     0 0 48px rgba(201,168,76,.32);
  --sk-shadow-xl:       0 40px 80px rgba(28,24,20,.18), 0 16px 32px rgba(28,24,20,.10);
  --sk-inset-top:       inset 0 1.5px 0 rgba(255,255,255,.92);
}

/* ================================================================
   MEJORAS UX — loading, scroll-top, sticky search, kbd hint
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   PAGE LOADER
   ──────────────────────────────────────────────────────────────── */
.sk-loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 900px 600px at 60% 30%, rgba(201,168,76,.13), transparent 60%),
    linear-gradient(160deg, #fdfaf4 0%, #f5edd8 100%);
  transition: opacity .55s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}

.sk-loader--done {
  opacity: 0;
  pointer-events: none;
}

.sk-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 58px 32px;
  text-align: center;
}

.sk-loader__badge {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #f5dc7a 0%, #c9a84c 42%, #9b7424 78%, #7a5a18 100%);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow:
    0 16px 40px rgba(201,168,76,.40),
    inset 0 2px 0 rgba(255,255,255,.55);
  animation: skLoaderPulse 1.8s ease-in-out infinite;
}

@keyframes skLoaderPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 16px 40px rgba(201,168,76,.40), inset 0 2px 0 rgba(255,255,255,.55);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 22px 52px rgba(201,168,76,.55), inset 0 2px 0 rgba(255,255,255,.55);
  }
}

.sk-loader__bar {
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: rgba(201,168,76,.20);
  overflow: hidden;
}

.sk-loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0d070, #c9a84c, #9b7424);
  animation: skLoaderSweep 1.4s ease-in-out infinite;
  transform-origin: left;
}

@keyframes skLoaderSweep {
  0% {
    transform: scaleX(0) translateX(0);
  }

  50% {
    transform: scaleX(1) translateX(0);
  }

  100% {
    transform: scaleX(0) translateX(120px);
  }
}

.sk-loader__label {
  color: var(--sk-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .sk-loader__badge {
    animation: none;
  }

  .sk-loader__bar span {
    animation: none;
    transform: scaleX(.6);
  }
}

/* ────────────────────────────────────────────────────────────────
   SCROLL-TO-TOP
   ──────────────────────────────────────────────────────────────── */
.sk-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.28);
  background: linear-gradient(148deg, rgba(255,255,255,.96), rgba(253,249,238,.92));
  color: var(--sk-earth-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 28px rgba(28,24,20,.12),
    0 2px 8px rgba(28,24,20,.06),
    inset 0 1px 0 rgba(255,255,255,.90);
  opacity: 0;
  transform: translateY(12px) scale(.88);
  transition:
    opacity .3s var(--sk-ease),
    transform .3s var(--sk-ease),
    box-shadow .2s var(--sk-ease),
    border-color .2s var(--sk-ease);
}

.sk-scroll-top--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sk-scroll-top:hover {
  border-color: rgba(201,168,76,.55);
  box-shadow:
    0 14px 36px rgba(28,24,20,.16),
    0 4px 12px rgba(28,24,20,.08),
    inset 0 1px 0 rgba(255,255,255,.90);
  transform: translateY(-2px) scale(1);
}

.sk-scroll-top:active {
  transform: translateY(0) scale(.96);
}

@media (max-width: 480px) {
  .sk-scroll-top {
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
}

/* ────────────────────────────────────────────────────────────────
   BARRA STICKY DE BÚSQUEDA FLOTANTE
   ──────────────────────────────────────────────────────────────── */
.sk-sticky-search {
  position: fixed;
  top: 72px;             /* debajo del navbar */
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(250,247,242,.97);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(201,168,76,.16);
  box-shadow: 0 6px 24px rgba(28,24,20,.08);
  transform: translateY(-100%);
  opacity: 0;
  transition:
    transform .3s var(--sk-ease),
    opacity .3s var(--sk-ease);
  pointer-events: none;
}

.sk-sticky-search--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sk-sticky-search__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sk-sticky-search__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 999px;
  padding: 0 16px;
  height: 40px;
  color: var(--sk-muted);
  transition: border-color .2s, box-shadow .2s;
}

.sk-sticky-search__field:focus-within {
  border-color: rgba(201,168,76,.50);
  box-shadow: 0 0 0 3px rgba(201,168,76,.14);
}

.sk-sticky-search__field input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--sk-font-ui);
  font-size: 14px;
  color: var(--sk-ink);
  outline: none;
}

.sk-sticky-search__field input::placeholder {
  color: var(--sk-muted);
}

.sk-sticky-search__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--sk-border);
  background: rgba(255,255,255,.80);
  color: var(--sk-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.sk-sticky-search__close:hover {
  background: rgba(255,255,255,.99);
  color: var(--sk-ink);
}

/* ────────────────────────────────────────────────────────────────
   ATAJO DE TECLADO — hint "/" en campo de búsqueda
   ──────────────────────────────────────────────────────────────── */
.sk-input-wrap {
  position: relative;
}

.sk-kbd-hint {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 6px;
  border: 1px solid rgba(107,76,59,.18);
  background: rgba(255,255,255,.80);
  font-family: var(--sk-font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--sk-muted);
  pointer-events: none;
  transition: opacity .2s;
  user-select: none;
}

#search:focus ~ .sk-kbd-hint,
#search:not(:placeholder-shown) ~ .sk-kbd-hint {
  opacity: 0;
}

/* ────────────────────────────────────────────────────────────────
   MEJORAS DE FOCUS VISIBLES (accesibilidad)
   ──────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid rgba(201,168,76,.80);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(201,168,76,.80);
  outline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────────
   LESSON CARDS — hover más rico
   ──────────────────────────────────────────────────────────────── */
.sk-lesson-card {
  transition:
    transform .22s var(--sk-ease),
    box-shadow .22s var(--sk-ease),
    border-color .22s var(--sk-ease);
  will-change: transform;
}

.sk-lesson-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(201,168,76,.32) !important;
  box-shadow:
    0 16px 40px rgba(28,24,20,.12),
    0 4px 12px rgba(28,24,20,.06),
    inset 0 1px 0 rgba(255,255,255,.90) !important;
}

.sk-lesson-card:active {
  transform: translateY(-1px) scale(.99);
}

.sk-lesson {
  will-change: transform;
}

.sk-lesson:hover .sk-lesson__play,
.sk-lesson:focus-visible .sk-lesson__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.sk-lesson__cta {
  transition: color .2s ease, transform .2s ease;
}

.sk-lesson:hover .sk-lesson__cta,
.sk-lesson:focus-visible .sk-lesson__cta {
  color: var(--sk-gold-deep);
  transform: translateX(2px);
}

/* ────────────────────────────────────────────────────────────────
   TOAST — más pulida
   ──────────────────────────────────────────────────────────────── */
.sk-toast {
  position: fixed;
  bottom: 82px;
  right: 28px;
  z-index: 600;
  max-width: 320px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(29,25,18,.94);
  color: #f5edd8;
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    0 16px 40px rgba(0,0,0,.24),
    0 4px 12px rgba(0,0,0,.12);
  border: 1px solid rgba(201,168,76,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: skToastIn .28s var(--sk-ease);
}

@keyframes skToastIn {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ────────────────────────────────────────────────────────────────
   MODAL FELICITACIONES — confetti animado
   ──────────────────────────────────────────────────────────────── */
.sk-modal__confetti {
  font-size: 40px;
  display: block;
  text-align: center;
  margin-bottom: 12px;
  animation: skConfetti 1.2s ease-in-out infinite alternate;
}

@keyframes skConfetti {
  from { transform: scale(1) rotate(-4deg); }
  to   { transform: scale(1.15) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sk-scroll-top,
  .sk-sticky-search,
  .sk-lesson-card       { transition: none !important; }
  .sk-loader--done      { transition: none !important; }
  .sk-modal__confetti   { animation: none; }
  .sk-toast             { animation: none; }
}

/* ────────────────────────────────────────────────────────────────
   SR-ONLY — heading semántico oculto visualmente
   ──────────────────────────────────────────────────────────────── */
.sk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ────────────────────────────────────────────────────────────────
   ERROR BANNER GLOBAL
   ──────────────────────────────────────────────────────────────── */
.sk-error-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #2d1a1a;
  border-bottom: 2px solid rgba(220,80,60,.55);
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
  animation: skBannerSlideDown .28s ease;
}
@keyframes skBannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.sk-error-banner__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.sk-error-banner__icon {
  color: #e07060;
  flex-shrink: 0;
}
.sk-error-banner__body {
  flex: 1;
  min-width: 160px;
}
.sk-error-banner__body strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #f5ede8;
  margin-bottom: 2px;
}
.sk-error-banner__body p {
  font-size: .8rem;
  color: rgba(245,237,232,.72);
  margin: 0;
}
.sk-error-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.sk-error-banner__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(245,237,232,.55);
  padding: 4px;
  border-radius: 4px;
  transition: color .15s;
  flex-shrink: 0;
}
.sk-error-banner__close:hover { color: #f5ede8; }

/* ────────────────────────────────────────────────────────────────
   EMPTY STATE MEJORADO
   ──────────────────────────────────────────────────────────────── */
.sk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
  color: var(--sk-muted, rgba(60,45,30,.55));
}
.sk-empty__icon {
  color: rgba(201,168,76,.45);
}
.sk-empty__msg {
  font-size: .95rem;
  max-width: 420px;
  line-height: 1.6;
}
.sk-empty__hint {
  font-size: .8rem;
  color: rgba(60,45,30,.40);
  max-width: 360px;
}
.sk-empty--error .sk-empty__icon { color: rgba(200,80,60,.45); }
.sk-empty--error .sk-empty__msg  { color: rgba(60,45,30,.70); }

/* ================================================================
   PREMIUM ENGAGEMENT ENGINE — v20260419
   Gamificación · Certificado objetivo · Modo enfoque · Dopamina
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   BARRA DE GAMIFICACIÓN
   ──────────────────────────────────────────────────────────────── */
.sk-gamification {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  border-radius: 20px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(252,247,238,.92));
  border: 1px solid rgba(201,168,76,.16);
  box-shadow:
    0 4px 16px rgba(28,24,20,.06),
    var(--sk-inset-top);
  transition: box-shadow var(--sk-t);
}

.sk-gamification:hover {
  box-shadow:
    0 10px 28px rgba(28,24,20,.09),
    var(--sk-inset-top);
}

.sk-gamification__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Racha de días */
.sk-gamification__streak {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249,243,227,.90);
  border: 1px solid rgba(201,168,76,.16);
  font-size: 13px;
  font-weight: 700;
  color: var(--sk-earth-dark);
  transition: background var(--sk-t), border-color var(--sk-t);
}

.sk-gamification__streak--active {
  background: rgba(240,210,112,.18);
  border-color: rgba(201,168,76,.26);
}

.sk-gamification__streak--fire {
  background: linear-gradient(148deg, rgba(255,160,30,.14), rgba(240,210,112,.18));
  border-color: rgba(240,150,30,.30);
}

.sk-streak-icon {
  display: inline-block;
  line-height: 1;
}

.sk-gamification__streak--active .sk-streak-icon {
  animation: skFlicker 2s ease-in-out infinite;
}

.sk-gamification__streak--fire .sk-streak-icon {
  animation: skFlickerFast .9s ease-in-out infinite;
}

@keyframes skFlicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  40%       { transform: scale(1.18) rotate(-6deg); }
  65%       { transform: scale(1.12) rotate(4deg); }
}

@keyframes skFlickerFast {
  0%, 100% { transform: scale(1) rotate(0deg);   opacity: 1; }
  30%       { transform: scale(1.28) rotate(-7deg); opacity: .88; }
  60%       { transform: scale(1.22) rotate(5deg);  opacity: 1; }
}

.sk-gamification__streak-num {
  font-size: 17px;
  font-weight: 900;
  color: var(--sk-earth-dark);
  line-height: 1;
}

.sk-gamification__streak-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--sk-muted);
  letter-spacing: .04em;
}

/* Badge de nivel */
.sk-gamification__level-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(107,76,59,.08);
  color: var(--sk-earth);
  border: 1px solid rgba(107,76,59,.12);
  transition:
    background var(--sk-t),
    color var(--sk-t),
    border-color var(--sk-t),
    box-shadow var(--sk-t);
}

.sk-gamification__level-badge[data-tier="2"] {
  background: rgba(201,168,76,.13);
  color: var(--sk-gold-deep);
  border-color: rgba(201,168,76,.24);
}

.sk-gamification__level-badge[data-tier="3"] {
  background: linear-gradient(148deg, rgba(201,168,76,.18), rgba(155,116,36,.14));
  color: var(--sk-gold-deep);
  border-color: rgba(201,168,76,.32);
  box-shadow: 0 0 12px rgba(201,168,76,.14);
}

.sk-gamification__level-badge[data-tier="4"] {
  background: var(--sk-gradient-gold);
  color: var(--sk-earth-dark);
  border-color: rgba(201,168,76,.40);
  box-shadow: 0 0 18px rgba(201,168,76,.32);
}

/* Barra XP central */
.sk-gamification__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sk-gamification__track {
  height: 8px;
  background: rgba(107,76,59,.09);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(28,24,20,.08);
}

.sk-gamification__track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0d070 0%, #c9a84c 55%, #9b7424 100%);
  box-shadow: 0 0 12px rgba(201,168,76,.48);
  will-change: width;
}

.sk-gamification__xp-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sk-gold-deep);
  text-align: center;
}

/* Próximo nivel (derecha) */
.sk-gamification__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.sk-gamification__next-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sk-earth-dark);
  line-height: 1.2;
}

.sk-gamification__next-xp {
  font-size: 11px;
  font-weight: 600;
  color: var(--sk-muted);
}

/* ────────────────────────────────────────────────────────────────
   CERTIFICADO OBJETIVO
   ──────────────────────────────────────────────────────────────── */
.sk-cert-goal-wrap {
  width: 100%;
}

.sk-cert-goal {
  display: grid;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(148deg, rgba(255,255,255,.90), rgba(249,243,227,.80));
  border: 1px solid rgba(201,168,76,.18);
  box-shadow:
    0 3px 12px rgba(28,24,20,.05),
    var(--sk-inset-top);
  transition: box-shadow var(--sk-t), border-color var(--sk-t);
}

.sk-cert-goal:hover {
  box-shadow:
    0 8px 24px rgba(28,24,20,.08),
    var(--sk-inset-top);
  border-color: rgba(201,168,76,.28);
}

/* Estado: listo */
.sk-cert-goal--ready {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(148deg, rgba(255,250,215,.94), rgba(249,237,188,.90));
  border-color: rgba(201,168,76,.34);
  box-shadow:
    0 6px 22px rgba(201,168,76,.18),
    var(--sk-inset-top);
  animation: skCertPulse 3s ease-in-out infinite;
}

@keyframes skCertPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(201,168,76,.18), var(--sk-inset-top); }
  50%       { box-shadow: 0 10px 32px rgba(201,168,76,.32), var(--sk-inset-top); }
}

.sk-cert-goal__copy {
  flex: 1;
  display: grid;
  gap: 2px;
}

.sk-cert-goal__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sk-cert-goal__icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.sk-cert-goal__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-earth-dark);
  line-height: 1.35;
}

.sk-cert-goal__label strong {
  font-weight: 900;
  color: var(--sk-earth-dark);
}

.sk-cert-goal__sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--sk-muted);
  letter-spacing: .02em;
}

.sk-cert-goal__track {
  height: 5px;
  background: rgba(107,76,59,.09);
  border-radius: 999px;
  overflow: hidden;
}

.sk-cert-goal__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0d070, #c9a84c);
  box-shadow: 0 0 8px rgba(201,168,76,.44);
  will-change: width;
}

/* ────────────────────────────────────────────────────────────────
   PROGRESO ADICTIVO
   ──────────────────────────────────────────────────────────────── */
.sk-dash__boost {
  margin: 8px 0 0;
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--sk-gold-deep);
}

.sk-xp-pop {
  position: absolute;
  z-index: 9990;
  opacity: 0;
  transform: translateY(8px) scale(.96);
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(148deg, rgba(255,247,214,.98), rgba(240,210,112,.94));
  border: 1px solid rgba(155,116,36,.34);
  color: var(--sk-earth-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  box-shadow: 0 14px 30px rgba(201,168,76,.26);
  pointer-events: none;
  transition:
    opacity .2s ease,
    transform .7s cubic-bezier(.2,.8,.2,1);
}

.sk-xp-pop--active {
  opacity: 1;
  transform: translateY(-18px) scale(1);
}

/* Plan diario: tareas pequeñas, no biblioteca paralela */
.sk-today-card {
  position: relative;
  overflow: hidden;
}

.sk-today-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.34) 46%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.sk-today-card:hover::after {
  transform: translateX(110%);
}

.sk-today-card__bar {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(107,76,59,.10);
}

.sk-today-card__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0d070, #c9a84c);
  box-shadow: 0 0 10px rgba(201,168,76,.36);
}

.sk-today-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.sk-today-card__xp {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(240,210,112,.18);
  border: 1px solid rgba(201,168,76,.22);
  color: var(--sk-gold-deep);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .05em;
}

.sk-today-card__primary {
  color: var(--sk-earth-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────────────────────
   MODO ENFOQUE
   ──────────────────────────────────────────────────────────────── */
.sk-focus-workspace {
  display: none;
}

.sk-focus-workspace__copy,
.sk-focus-workspace__actions {
  position: relative;
  z-index: 1;
}

.sk-focus-workspace__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--sk-font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: .95;
  letter-spacing: -.035em;
  color: #fff8e8;
}

.sk-focus-workspace__text {
  margin: 10px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,248,232,.72);
}

.sk-focus-workspace__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.sk-focus-workspace__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,248,232,.86);
  font-size: 11px;
  font-weight: 800;
}

.sk-focus-workspace__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body.sk-focus-active .sk-focus-workspace {
  position: sticky;
  top: 86px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  padding: 24px 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240,210,112,.20), transparent 36%),
    linear-gradient(148deg, rgba(30,25,20,.98), rgba(61,42,30,.98) 48%, rgba(85,59,42,.96));
  border: 1px solid rgba(240,210,112,.22);
  box-shadow:
    0 24px 60px rgba(28,24,20,.24),
    inset 0 1px 0 rgba(255,255,255,.09);
}

body.sk-focus-active .sk-dash,
body.sk-focus-active .sk-focus-ribbon,
body.sk-focus-active .sk-hero,
body.sk-focus-active .sk-orbit,
body.sk-focus-active .sk-today,
body.sk-focus-active .sk-insights,
body.sk-focus-active .sk-gamification,
body.sk-focus-active .sk-sticky-search,
body.sk-focus-active .sk-module-quicknav,
body.sk-focus-active .sk-footer {
  display: none !important;
}

body.sk-focus-active .sk-library-head {
  padding: 12px 2px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.sk-focus-active .sk-library-head__title {
  font-size: clamp(26px, 3vw, 36px);
}

body.sk-focus-active .sk-library-head__text {
  max-width: 56ch;
}

body.sk-focus-active .sk-library-head__side {
  display: none !important;
}

body.sk-focus-active .sk-module {
  scroll-margin-top: 190px;
}

/* Indicador sutil en el nav */
body.sk-focus-active #btnFocusMode {
  position: relative;
}

body.sk-focus-active #btnFocusMode::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sk-gold);
  box-shadow: 0 0 8px rgba(201,168,76,.60);
  animation: skDotPulse 1.8s ease-in-out infinite;
}

@keyframes skDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}

/* ────────────────────────────────────────────────────────────────
   MICRO FEEDBACK (+5%)
   ──────────────────────────────────────────────────────────────── */
.sk-micro-feedback {
  position: absolute;
  z-index: 9990;
  transform: translateX(-50%) translateY(0);
  opacity: 0;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(148deg, rgba(61,42,30,.96), rgba(88,64,46,.95));
  border: 1px solid rgba(201,168,76,.36);
  color: #f5dc7a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  pointer-events: none;
  white-space: nowrap;
  transition:
    opacity .22s ease,
    transform .65s cubic-bezier(.2,.8,.2,1);
}

.sk-micro-feedback--active {
  opacity: 1;
  transform: translateX(-50%) translateY(-32px);
}

/* ────────────────────────────────────────────────────────────────
   BARRA KPI — glow dinámico al animar
   ──────────────────────────────────────────────────────────────── */
.sk-dash__track > span {
  transition: box-shadow .4s ease;
  will-change: width, box-shadow;
}

/* ────────────────────────────────────────────────────────────────
   RESPONSIVE GAMIFICATION
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .sk-gamification {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }

  .sk-gamification__right {
    align-items: flex-start;
  }

  body.sk-focus-active .sk-focus-workspace {
    position: static;
    grid-template-columns: 1fr;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .sk-focus-workspace__actions {
    justify-content: stretch;
  }

  .sk-focus-workspace__actions .sk-btn {
    flex: 1 1 180px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sk-gamification {
    display: flex;
    align-items: stretch;
  }

  .sk-gamification__left,
  .sk-gamification__right {
    width: 100%;
    justify-content: space-between;
  }

  .sk-gamification__center {
    min-width: 100%;
  }

  .sk-focus-workspace__title {
    max-width: none;
    font-size: clamp(30px, 10vw, 40px);
  }
}

/* ================================================================
   FASE 1 HOME SUPERIOR — SaaS premium limpio
   Rediseño acotado de sk-dash, continueFocus y sk-hero.
   ================================================================ */

.sk-dash,
.sk-hero {
  isolation: isolate;
}

.sk-dash::before,
.sk-dash::after,
.sk-hero::before,
.sk-hero::after,
.sk-dash .sk-dash__left::after,
.sk-dash .sk-eyebrow::before {
  display: none !important;
}

.sk-dash {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 450px);
  align-items: stretch;
  gap: 28px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,247,244,.96));
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 18px 54px rgba(28,24,20,.08);
  overflow: hidden;
}

.sk-dash__left {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 22px;
  padding: 0;
}

.sk-dash__header {
  display: grid;
  gap: 8px;
}

.sk-dash .sk-eyebrow,
.sk-hero .sk-tag,
.sk-dash__action-label {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1eee8;
  border: 1px solid rgba(28,24,20,.07);
  color: #61584d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.sk-dash__welcome {
  max-width: 18ch;
  margin: 0;
  font-family: var(--sk-font-ui);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #171513;
}

.sk-dash__progress {
  display: grid;
  gap: 12px;
}

.sk-dash__progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.sk-dash__pct {
  margin: 0;
  font-family: var(--sk-font-ui);
  font-size: clamp(58px, 7vw, 88px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.07em;
  color: #171513;
}

.sk-dash__sub {
  margin: 0 0 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f6f4ef;
  border: 1px solid rgba(28,24,20,.07);
  color: #655d52;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.sk-dash__track {
  height: 9px;
  background: #e8e3da;
  box-shadow: inset 0 1px 2px rgba(28,24,20,.08);
}

.sk-dash__track > span {
  background: linear-gradient(90deg, #11100e 0%, #665a45 62%, #c9a84c 100%);
  box-shadow: none;
}

.sk-dash__track > span::after {
  display: none;
}

.sk-dash__notes {
  display: grid;
  gap: 8px;
  max-width: 56ch;
}

.sk-dash__boost,
.sk-dash__hint {
  max-width: none;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.sk-dash__boost {
  color: #6f624e;
  font-weight: 750;
}

.sk-dash__hint {
  color: #837a70;
}

.sk-dash__hint b {
  color: #171513;
  font-weight: 800;
}

.sk-dash__meta {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.sk-dash__meta-card {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 10px 8px;
  align-content: start;
  padding: 15px;
  border-radius: 18px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-dash__meta-card:hover {
  transform: none;
  box-shadow: none;
}

.sk-dash__meta-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #efebe3;
  color: #4f463b;
}

.sk-dash__meta-card span:not(.sk-dash__meta-icon) {
  align-self: center;
  color: #777066;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.sk-dash__meta-card strong {
  grid-column: 1 / -1;
  align-self: end;
  font-family: var(--sk-font-ui);
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.045em;
  color: #171513;
}

.sk-dash__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
  justify-items: stretch;
  align-content: stretch;
}

.sk-dash__action {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: #171513;
  color: #fffaf0;
  box-shadow: 0 18px 44px rgba(23,21,19,.18);
}

.sk-dash__action-copy {
  display: grid;
  gap: 10px;
}

.sk-dash__action-label {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,250,240,.72);
}

.sk-dash__resume {
  max-width: 38ch;
  margin: 0;
  color: rgba(255,250,240,.76);
  font-size: 14px;
  line-height: 1.55;
}

.sk-dash__resume strong {
  color: #f5d37a;
}

.sk-dash__action .sk-btn--cta {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  background: #fffaf0;
  color: #171513;
  box-shadow: none;
}

.sk-dash__action .sk-btn--cta:hover {
  box-shadow: none;
  background: #f5d37a;
}

.sk-cert-goal-wrap {
  width: 100%;
}

.sk-cert-goal {
  border-radius: 18px;
  background: #fbfaf7;
  border-color: rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-continue-focus {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 10px 28px rgba(28,24,20,.06);
}

.sk-continue-focus__media {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.sk-continue-focus__media.has-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(23,21,19,.38));
}

.sk-continue-focus__media.is-placeholder,
.sk-continue-focus__empty .sk-continue-focus__placeholder {
  background:
    linear-gradient(135deg, #1b1916 0%, #3c3429 58%, #bfa057 100%);
}

.sk-continue-focus__placeholder {
  position: absolute;
  inset: auto 14px 12px auto;
  font-family: var(--sk-font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,250,240,.86);
  letter-spacing: .02em;
}

.sk-continue-focus__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.sk-continue-focus__eyebrow {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f4f1eb;
  color: #6f624e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sk-continue-focus__title {
  margin-top: 12px;
  font-family: var(--sk-font-ui);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #171513;
}

.sk-continue-focus__text {
  max-width: 42ch;
  margin-top: 8px;
  color: #777066;
  font-size: 13px;
  line-height: 1.55;
}

.sk-continue-focus__meta {
  gap: 7px;
  margin-top: 12px;
}

.sk-continue-focus__chip {
  min-height: 25px;
  padding: 0 9px;
  background: #f6f4ef;
  border-color: rgba(28,24,20,.07);
  color: #655d52;
  font-size: 11px;
  font-weight: 750;
}

.sk-continue-focus__actions {
  margin-top: 14px;
}

.sk-continue-focus__actions .sk-btn {
  border-radius: 12px;
}

.sk-continue-focus__empty {
  min-height: 142px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
  color: #777066;
}

.sk-continue-focus__empty .sk-continue-focus__placeholder {
  position: static;
  width: 72px;
  height: 72px;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 24px;
}

.sk-continue-focus__empty strong {
  color: #171513;
  font-size: 18px;
  line-height: 1.15;
}

.sk-continue-focus__empty span:not(.sk-continue-focus__placeholder) {
  font-size: 13px;
  line-height: 1.45;
}

.sk-hero {
  grid-template-areas:
    "intro filters"
    "results results";
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 26px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 14px 44px rgba(28,24,20,.06);
}

.sk-hero__intro {
  grid-area: intro;
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 620px;
}

.sk-hero .sk-tag {
  margin: 0;
  background: #f1eee8;
  border-color: rgba(28,24,20,.07);
  color: #61584d;
}

.sk-hero__title {
  max-width: 13ch;
  margin: 0;
  font-family: var(--sk-font-ui);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
  color: #171513;
}

.sk-hero__title em {
  font-style: normal;
}

.sk-hero__lead {
  max-width: 48ch;
  margin: 0;
  color: #746d63;
  font-size: 15px;
  line-height: 1.65;
}

.sk-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  max-width: 500px;
}

.sk-stat {
  display: grid;
  gap: 4px;
  padding: 14px 15px;
  border-radius: 16px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.07);
}

.sk-stat + .sk-stat {
  padding-left: 15px;
  border-left: 1px solid rgba(28,24,20,.07);
}

.sk-stat strong {
  font-family: var(--sk-font-ui);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  color: #171513;
}

.sk-stat span {
  color: #777066;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.sk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.sk-hero__actions .sk-btn {
  min-height: 44px;
  border-radius: 14px;
}

.sk-hero__filters {
  grid-area: filters;
  align-self: stretch;
  padding: 18px;
  border-radius: 22px;
  background: #f8f7f3;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-filters__heading {
  margin-bottom: 14px;
  color: #171513;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.sk-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sk-label {
  color: #686157;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sk-input,
.sk-select {
  min-height: 44px;
  border-radius: 13px;
  background: #ffffff;
  border-color: rgba(28,24,20,.10);
  color: #171513;
  box-shadow: none;
}

.sk-input:focus,
.sk-select:focus {
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 0 0 3px rgba(201,168,76,.16);
}

.sk-input-wrap {
  border-radius: 13px;
}

.sk-kbd-hint {
  background: #f1eee8;
  border-color: rgba(28,24,20,.08);
  color: #746d63;
}

.sk-check {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
}

.sk-btn--clear {
  min-height: 44px;
  border-radius: 13px;
  background: transparent;
}

.sk-results-bar--hero {
  grid-area: results;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(28,24,20,.08);
}

.sk-results-bar--hero .sk-results-summary {
  max-width: 72ch;
  margin: 0;
  color: #777066;
  font-size: 13px;
  line-height: 1.5;
}

.sk-results-bar--hero .sk-active-filters {
  justify-content: flex-end;
}

@media (max-width: 1020px) {
  .sk-dash,
  .sk-hero {
    grid-template-columns: 1fr;
  }

  .sk-dash__welcome,
  .sk-hero__title {
    max-width: 16ch;
  }

  .sk-dash__right {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .sk-hero__filters {
    align-self: start;
  }
}

@media (max-width: 760px) {
  .sk-dash,
  .sk-hero {
    padding: 22px;
    border-radius: 24px;
  }

  .sk-dash__progress-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .sk-dash__sub {
    margin: 0;
  }

  .sk-dash__meta,
  .sk-stats,
  .sk-filters {
    grid-template-columns: 1fr;
  }

  .sk-dash__meta-card {
    min-height: auto;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
  }

  .sk-dash__meta-card strong {
    grid-column: auto;
    justify-self: end;
  }

  .sk-continue-focus {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .sk-continue-focus__media {
    min-height: 148px;
  }

  .sk-results-bar--hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .sk-results-bar--hero .sk-active-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .sk-dash,
  .sk-hero {
    padding: 20px;
    border-radius: 22px;
  }

  .sk-dash__welcome,
  .sk-hero__title {
    max-width: none;
  }

  .sk-dash__action {
    padding: 18px;
  }

  .sk-continue-focus {
    grid-template-columns: 1fr;
  }

  .sk-continue-focus__media {
    min-height: 158px;
  }

  .sk-continue-focus__actions .sk-btn,
  .sk-hero__actions .sk-btn {
    width: 100%;
  }

  .sk-stat + .sk-stat {
    padding-left: 14px;
    border-left: 0;
    border-top: 1px solid rgba(28,24,20,.07);
    padding-top: 14px;
  }
}

/* ================================================================
   FASE 2 BIBLIOTECA — módulos y cards tipo catálogo premium
   ================================================================ */

.sk-modules {
  gap: 30px;
}

.sk-library-head {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 10px 32px rgba(28,24,20,.05);
}

.sk-library-head__title {
  font-family: var(--sk-font-ui);
  font-weight: 800;
  letter-spacing: -.04em;
}

.sk-module-quicknav {
  gap: 10px;
}

.sk-module-pill {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 8px 22px rgba(28,24,20,.04);
}

.sk-module-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(28,24,20,.08);
}

.sk-module {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 18px 54px rgba(28,24,20,.07);
  overflow: hidden;
}

.sk-module::before,
.sk-module::after {
  display: none;
}

.sk-module:hover {
  box-shadow: 0 22px 62px rgba(28,24,20,.09);
}

.sk-module[data-state="active"] {
  border-color: rgba(201,168,76,.24);
}

.sk-module[data-state="complete"] {
  border-color: rgba(53,121,84,.18);
}

.sk-module__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
  padding: 30px 32px 0;
}

.sk-module__title-block {
  gap: 18px;
}

.sk-module__intro {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.sk-module__eyebrow {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f1ec;
  border: 1px solid rgba(28,24,20,.07);
  color: #6c6258;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sk-module[data-state="active"] .sk-module__eyebrow {
  background: rgba(201,168,76,.13);
  border-color: rgba(201,168,76,.20);
  color: #8b6924;
}

.sk-module[data-state="complete"] .sk-module__eyebrow {
  background: rgba(53,121,84,.10);
  border-color: rgba(53,121,84,.18);
  color: #2f6d4d;
}

.sk-module__name {
  margin: 0;
  padding-left: 0;
  font-family: var(--sk-font-ui);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  color: #171513;
}

.sk-module__name::before {
  display: none;
}

.sk-module__summary {
  max-width: 70ch;
  margin: 0;
  color: #746d63;
  font-size: 14px;
  line-height: 1.65;
}

.sk-module__meter {
  width: min(100%, 420px);
  height: 8px;
  background: #ece7de;
  box-shadow: inset 0 1px 2px rgba(28,24,20,.08);
}

.sk-module__meter span {
  background: linear-gradient(90deg, #171513 0%, #665a45 70%, #c9a84c 100%);
  box-shadow: none;
}

.sk-module__stats {
  grid-template-columns: repeat(4, minmax(0, 112px));
  gap: 10px;
}

.sk-module__stat {
  padding: 13px 14px;
  border-radius: 16px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.07);
  box-shadow: none;
}

.sk-module__stat strong {
  font-family: var(--sk-font-ui);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.035em;
  color: #171513;
}

.sk-module__stat span {
  color: #81786d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.sk-module__actions {
  gap: 8px;
}

.sk-module__chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #171513;
  border: 1px solid #171513;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
}

.sk-module__chip--soft {
  background: #f7f5ef;
  border-color: rgba(28,24,20,.08);
  color: #655d52;
}

.sk-cards {
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
  padding: 28px 32px 32px;
}

.sk-module__more {
  padding: 0 32px 32px;
}

.sk-btn--more {
  min-height: 42px;
  border-radius: 999px;
  background: #ffffff;
  border-color: rgba(28,24,20,.10);
  color: #171513;
  box-shadow: 0 8px 20px rgba(28,24,20,.05);
}

.sk-btn--more:hover {
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 14px 28px rgba(28,24,20,.08);
}

.sk-lesson {
  min-height: 100%;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 10px 28px rgba(28,24,20,.06);
  overflow: hidden;
}

.sk-lesson::after {
  display: none;
}

.sk-lesson:hover,
.sk-lesson:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,.28);
  box-shadow: 0 24px 54px rgba(28,24,20,.12);
}

.sk-lesson--spotlight {
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 0 0 4px rgba(201,168,76,.16), 0 24px 54px rgba(28,24,20,.12);
}

.sk-lesson__cover {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.sk-lesson__cover::before {
  display: none;
}

.sk-lesson__cover::after {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(23,21,19,.10) 0%, rgba(23,21,19,.08) 42%, rgba(23,21,19,.52) 100%);
}

.sk-lesson__cover.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(255,250,240,.22), transparent 32%),
    linear-gradient(135deg, #191714 0%, #3f372d 58%, #bca059 100%);
}

.sk-lesson__placeholder {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,250,240,.90);
  font-family: var(--sk-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .03em;
  backdrop-filter: blur(10px);
}

.sk-lesson__badge,
.sk-lesson__time {
  z-index: 3;
  height: 28px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
}

.sk-lesson__badge {
  top: 14px;
  left: 14px;
  max-width: calc(100% - 110px);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.30);
  color: #171513;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sk-lesson__time {
  top: 14px;
  right: 14px;
  bottom: auto;
  background: rgba(23,21,19,.72);
  border: 1px solid rgba(255,255,255,.12);
  color: #fffaf0;
  font-size: 11px;
  font-weight: 750;
}

.sk-lesson__play {
  top: auto;
  left: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  transform: none;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.sk-lesson:hover .sk-lesson__play,
.sk-lesson:focus-visible .sk-lesson__play {
  transform: translateY(-2px);
  background: #171513;
  box-shadow: 0 16px 34px rgba(23,21,19,.28);
}

.sk-lesson:hover .sk-lesson__play svg,
.sk-lesson:focus-visible .sk-lesson__play svg {
  fill: #f5d37a;
}

.sk-lesson__body {
  gap: 0;
  padding: 22px;
  background: #ffffff;
}

.sk-lesson__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.sk-lesson__chips {
  gap: 6px;
  margin-bottom: 0;
}

.sk-chip {
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f5f3ed;
  border-color: rgba(28,24,20,.08);
  color: #655d52;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
}

.sk-chip--done {
  background: rgba(53,121,84,.10);
  border-color: rgba(53,121,84,.18);
  color: #2f6d4d;
}

.sk-chip--progress {
  background: rgba(201,168,76,.14);
  border-color: rgba(201,168,76,.24);
  color: #8b6924;
}

.sk-chip--fresh {
  background: #f5f3ed;
  border-color: rgba(28,24,20,.08);
  color: #655d52;
}

.sk-lesson__status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f5f3ed;
  color: #6f675d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sk-lesson__status.is-active {
  background: rgba(201,168,76,.14);
  color: #8b6924;
}

.sk-lesson__status.is-complete {
  background: rgba(53,121,84,.10);
  color: #2f6d4d;
}

.sk-lesson__title {
  min-height: 0;
  margin: 0;
  font-family: var(--sk-font-ui);
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.03em;
  color: #171513;
}

.sk-lesson__excerpt {
  min-height: 0;
  margin-top: 10px;
  color: #746d63;
  font-size: 13px;
  line-height: 1.6;
}

.sk-lesson__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.sk-lesson__meta-item {
  min-height: 36px;
  justify-content: center;
  padding: 0 8px;
  border-radius: 12px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.07);
  color: #655d52;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

.sk-lesson__summary {
  margin-top: 14px;
  color: #6f675d;
  font-size: 12px;
  line-height: 1.55;
}

.sk-lesson__progress {
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.sk-lesson__pct-label {
  gap: 10px;
}

.sk-lesson__pct-num {
  color: #171513;
  font-size: 13px;
  font-weight: 800;
}

.sk-lesson__pct-status {
  color: #2f6d4d;
  font-size: 11px;
  font-weight: 800;
}

.sk-lesson__pct-status--progress {
  color: #8b6924;
}

.sk-lesson__pct-status--fresh {
  color: #6f675d;
}

.sk-lesson__bar {
  height: 8px;
  background: #ece7de;
  box-shadow: inset 0 1px 2px rgba(28,24,20,.08);
}

.sk-lesson__bar i {
  background: linear-gradient(90deg, #171513 0%, #655a46 68%, #c9a84c 100%);
  box-shadow: none;
}

.sk-lesson.is-progress .sk-lesson__bar i {
  background: linear-gradient(90deg, #8b6924, #c9a84c);
  box-shadow: none;
}

.sk-lesson.is-done .sk-lesson__bar i {
  background: linear-gradient(90deg, #2f6d4d, #5f9d76);
}

.sk-lesson__resume-note {
  color: #8b6924;
  font-size: 11px;
  font-weight: 750;
}

.sk-lesson__cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  padding: 0 14px;
  border-radius: 14px;
  background: #171513;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
}

.sk-lesson:hover .sk-lesson__cta,
.sk-lesson:focus-visible .sk-lesson__cta {
  background: #c9a84c;
  color: #171513;
}

.sk-lesson.is-done {
  border-color: rgba(53,121,84,.18);
}

.sk-lesson.is-done .sk-lesson__cover {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,250,240,.22), transparent 32%),
    linear-gradient(135deg, #1a211c 0%, #2f6d4d 62%, #c6af69 100%);
}

.sk-lesson.is-progress {
  border-color: rgba(201,168,76,.26);
}

.sk-lesson.is-progress .sk-lesson__cover {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,250,240,.28), transparent 34%),
    linear-gradient(135deg, #221f18 0%, #7d652e 58%, #d9bc67 100%);
}

body[data-library-view="compact"] .sk-cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

body[data-library-view="compact"] .sk-lesson__cover {
  height: 150px;
}

body[data-library-view="compact"] .sk-lesson__body {
  padding: 18px;
}

body[data-library-view="compact"] .sk-lesson__meta,
body[data-library-view="compact"] .sk-lesson__summary {
  display: none;
}

body[data-library-view="progress"] .sk-module[data-state="active"] {
  box-shadow: 0 22px 62px rgba(28,24,20,.10);
}

.sk-empty {
  min-height: 340px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 56px 28px;
  border-radius: 28px;
  border: 1px solid rgba(28,24,20,.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(201,168,76,.10), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 54px rgba(28,24,20,.07);
  text-align: center;
}

.sk-empty__icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #171513;
  color: #f5d37a;
  opacity: 1;
}

.sk-empty__title {
  margin-top: 6px;
  color: #171513;
  font-family: var(--sk-font-ui);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.sk-empty__msg {
  max-width: 52ch;
  margin: 0;
  color: #746d63;
  font-size: 14px;
  line-height: 1.65;
}

.sk-empty__hint {
  max-width: 44ch;
  margin: 0;
  color: #8b8276;
  font-size: 13px;
  line-height: 1.55;
}

.sk-empty--error .sk-empty__icon {
  background: #2b1714;
  color: #ffb39f;
}

@media (max-width: 920px) {
  .sk-module__head {
    grid-template-columns: 1fr;
    padding: 26px 24px 0;
  }

  .sk-module__actions {
    justify-content: flex-start;
  }

  .sk-module__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sk-cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    padding: 24px;
  }

  .sk-module__more {
    padding: 0 24px 26px;
  }
}

@media (max-width: 640px) {
  .sk-modules {
    gap: 22px;
  }

  .sk-module {
    border-radius: 24px;
  }

  .sk-module__head {
    padding: 22px 20px 0;
  }

  .sk-module__stats,
  .sk-cards,
  .sk-lesson__meta {
    grid-template-columns: 1fr;
  }

  .sk-cards {
    gap: 16px;
    padding: 20px;
  }

  .sk-module__more {
    padding: 0 20px 22px;
  }

  .sk-lesson {
    border-radius: 22px;
  }

  .sk-lesson__cover {
    height: 178px;
  }

  .sk-lesson__body {
    padding: 20px;
  }

  .sk-lesson__topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .sk-empty {
    min-height: 300px;
    padding: 42px 20px;
    border-radius: 24px;
  }
}

/* ================================================================
   FASE 3 MEDIA-BAJA — jerarquía, ritmo y menos ruido
   ================================================================ */

.sk-wrap {
  gap: 28px;
}

.sk-gamification {
  padding: 12px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 8px 24px rgba(28,24,20,.05);
}

.sk-gamification:hover {
  box-shadow: 0 10px 28px rgba(28,24,20,.07);
}

.sk-gamification__streak,
.sk-gamification__level-badge {
  background: #f7f5ef;
  border-color: rgba(28,24,20,.08);
}

.sk-gamification__track {
  height: 6px;
  background: #ece7de;
}

.sk-gamification__track > span {
  background: linear-gradient(90deg, #171513 0%, #665a45 70%, #c9a84c 100%);
  box-shadow: none;
}

.sk-focus-ribbon {
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 12px 38px rgba(28,24,20,.06);
}

.sk-focus-ribbon::after {
  display: none;
}

.sk-focus-ribbon__copy {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(280px, 1fr);
  align-items: end;
  gap: 12px 28px;
}

.sk-focus-ribbon .sk-eyebrow {
  grid-column: 1;
  margin: 0;
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f1ec;
  border: 1px solid rgba(28,24,20,.07);
  color: #6c6258;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.sk-focus-ribbon__title {
  grid-column: 1;
  max-width: 14ch;
  font-family: var(--sk-font-ui);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: #171513;
}

.sk-focus-ribbon__text {
  grid-column: 2;
  align-self: end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #746d63;
  font-size: 14px;
  line-height: 1.65;
}

.sk-focus-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: none;
  gap: 14px;
}

.sk-pulse-card,
.sk-pulse-card--priority,
.sk-pulse-card--focus,
.sk-pulse-card--milestone,
.sk-pulse-card--rhythm {
  grid-area: auto;
  min-height: 0;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-pulse-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201,168,76,.24);
  box-shadow: 0 14px 30px rgba(28,24,20,.08);
}

.sk-pulse-card--priority {
  background: #171513;
  border-color: #171513;
}

.sk-pulse-card--priority .sk-pulse-card__kicker {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,250,240,.72);
}

.sk-pulse-card--priority .sk-pulse-card__title,
.sk-pulse-card--priority .sk-pulse-card__text {
  color: #fffaf0;
}

.sk-pulse-card__kicker {
  min-height: 24px;
  background: #f3f1ec;
  border-color: rgba(28,24,20,.07);
  color: #6c6258;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sk-pulse-card__title,
.sk-pulse-card:not(.sk-pulse-card--priority) .sk-pulse-card__title {
  font-family: var(--sk-font-ui);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.sk-pulse-card__text {
  color: #746d63;
  font-size: 12px;
  line-height: 1.55;
}

.sk-pulse-card__meta {
  gap: 6px;
}

.sk-pulse-card__chip {
  min-height: 24px;
  padding: 0 8px;
  background: #ffffff;
  border-color: rgba(28,24,20,.07);
  color: #655d52;
  font-size: 10px;
  font-weight: 750;
}

.sk-pulse-card--priority .sk-pulse-card__chip {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,250,240,.82);
}

.sk-pulse-card__actions {
  gap: 6px;
  padding-top: 0;
}

.sk-pulse-card__actions .sk-btn {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  font-size: 12px;
}

.sk-today {
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 12px 38px rgba(28,24,20,.06);
}

.sk-today::after {
  display: none;
}

.sk-today__head {
  margin-bottom: 16px;
}

.sk-today .sk-library-head__title {
  font-family: var(--sk-font-ui);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: #171513;
}

.sk-today .sk-library-head__text {
  max-width: 58ch;
  color: #746d63;
  font-size: 14px;
  line-height: 1.6;
}

.sk-today #todayPlanMeta {
  margin: 0 0 16px;
}

.sk-today__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sk-today-card,
.sk-today-empty {
  padding: 16px;
  border-radius: 18px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-today-empty,
.sk-recent-empty {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 148px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}

.sk-today-empty strong,
.sk-recent-empty strong {
  color: var(--sk-saas-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.sk-today-empty span,
.sk-recent-empty span {
  color: var(--sk-saas-muted-strong);
  font-size: 13px;
  line-height: 1.6;
}

.sk-today-card::after {
  display: none;
}

.sk-today-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28,24,20,.08);
}

.sk-today-card__thumb {
  height: 118px;
  border-radius: 14px;
}

.sk-today-card__step {
  min-height: 24px;
  width: fit-content;
  padding: 0 8px;
  background: #ffffff;
  border-color: rgba(28,24,20,.08);
  color: #655d52;
  font-size: 10px;
}

.sk-today-card__title {
  font-family: var(--sk-font-ui);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.sk-today-card__meta,
.sk-today-card__status,
.sk-today-card__resume,
.sk-today-card__reason {
  color: #746d63;
  font-size: 12px;
  line-height: 1.5;
}

.sk-today-card__bar {
  height: 6px;
  background: #ece7de;
}

.sk-today-card__bar i {
  background: linear-gradient(90deg, #171513 0%, #665a45 70%, #c9a84c 100%);
  box-shadow: none;
}

.sk-today-card__footer {
  margin-top: 0;
}

.sk-today-card__xp {
  min-height: 24px;
  background: rgba(201,168,76,.14);
  border-color: rgba(201,168,76,.20);
  color: #8b6924;
  font-size: 10px;
  font-weight: 800;
}

.sk-today-card__primary {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
}

.sk-insights {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 20px;
}

.sk-insights__main,
.sk-insights__side {
  gap: 20px;
}

.sk-insight {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 16px 36px rgba(28,24,20,.05);
}

.sk-insight--course,
.sk-insight--recent,
.sk-insight--weekly {
  background: #ffffff;
}

.sk-insight__head--split {
  gap: 12px;
}

.sk-insight__eyeline {
  min-height: 24px;
  padding: 0 9px;
  background: #f3f1ec;
  border-color: rgba(28,24,20,.07);
  color: #6c6258;
  font-size: 10px;
  font-weight: 800;
}

.sk-insight__title {
  font-family: var(--sk-font-ui);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.sk-insight__text,
.sk-weekly-overview__text,
.sk-weekly-compare,
.sk-monthly-goal__text,
.sk-achievement__text {
  color: #746d63;
  font-size: 13px;
  line-height: 1.62;
}

.sk-course-snapshot__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.sk-course-stat,
.sk-course-focus {
  border-radius: 18px;
  box-shadow: none;
}

.sk-course-stat {
  padding: 15px;
  background: #fbfaf7;
  border-color: rgba(28,24,20,.08);
}

.sk-course-stat__label {
  color: #81786d;
  font-size: 10px;
  font-weight: 800;
}

.sk-course-stat__value {
  font-family: var(--sk-font-ui);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.sk-course-stat__text {
  color: #746d63;
  font-size: 12px;
}

.sk-course-focus {
  padding: 18px;
  background: linear-gradient(145deg, rgba(7,21,39,.98), rgba(19,40,66,.96));
  border-color: rgba(19,40,66,.65);
  box-shadow: none;
}

.sk-course-focus__eyebrow,
.sk-course-focus__title,
.sk-course-focus__text {
  color: #f8fafc;
}

.sk-course-focus__title {
  font-family: var(--sk-font-ui);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}

.sk-course-focus__text {
  font-size: 12px;
  line-height: 1.55;
}

.sk-recent-list {
  gap: 10px;
  margin-top: 14px;
}

.sk-recent-card {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-recent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28,24,20,.08);
}

.sk-recent-card__thumb {
  width: 72px;
  min-height: 92px;
  border-radius: 14px;
  box-shadow: none;
}

.sk-recent-card__content {
  gap: 5px;
}

.sk-recent-card__title {
  font-family: var(--sk-font-ui);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.sk-recent-card__summary {
  display: block;
  color: var(--sk-saas-muted-strong);
  font-size: 12px;
  line-height: 1.55;
}

.sk-recent-card__actions .sk-btn {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
}

.sk-weekly-overview__stats {
  width: 100%;
  margin-left: 0;
  gap: 8px;
}

.sk-weekly-stat,
.sk-weekly-overview,
.sk-insight-block,
.sk-achievement {
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-weekly-stat {
  padding: 12px;
  border-radius: 14px;
}

.sk-weekly-stat strong {
  font-family: var(--sk-font-ui);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.sk-weekly-overview,
.sk-insight-block {
  padding: 16px;
  border-radius: 18px;
}

.sk-weekly-days {
  gap: 8px;
}

.sk-weekly-day {
  min-height: 104px;
  padding: 11px;
  border-radius: 14px;
  background: #ffffff;
}

.sk-weekly-day__value {
  font-family: var(--sk-font-ui);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.sk-weekly-day__caption {
  display: none;
}

.sk-activity-calendar__cell {
  min-height: 44px;
  border-radius: 12px;
  padding: 8px;
}

.sk-monthly-goal {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(7,21,39,.98), rgba(19,40,66,.96));
  border-color: rgba(19,40,66,.65);
  box-shadow: none;
}

.sk-monthly-goal,
.sk-monthly-goal strong,
.sk-monthly-goal p,
.sk-monthly-goal span {
  color: #f8fafc;
}

.sk-monthly-goal__metrics {
  grid-template-columns: 1fr;
  gap: 8px;
}

.sk-monthly-metric {
  padding: 12px;
  border-radius: 14px;
}

.sk-achievement-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sk-achievement {
  padding: 14px;
  border-radius: 18px;
}

.sk-achievement__top {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.sk-achievement__copy {
  min-width: 0;
}

.sk-achievement__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sk-achievement__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.sk-achievement__title {
  max-width: none;
  font-size: 14px;
}

.sk-achievement__pill {
  min-height: 24px;
  padding: 0 8px;
  font-size: 10px;
}

.sk-orbit {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
  gap: 16px;
}

.sk-orbit__panel {
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 10px 30px rgba(28,24,20,.05);
}

.sk-orbit__panel--primary {
  background: #ffffff;
}

.sk-orbit__panel--primary::after {
  display: none;
}

.sk-orbit__title {
  font-family: var(--sk-font-ui);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.sk-orbit__text {
  max-width: 58ch;
  color: var(--sk-saas-muted-strong);
  font-size: 14px;
  line-height: 1.68;
}

.sk-orbit__stats {
  gap: 8px;
}

.sk-orbit__links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sk-orbit-link,
.sk-orbit-link--accent {
  min-height: 138px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}

.sk-orbit-link:hover,
.sk-orbit-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28,24,20,.08);
}

.sk-orbit-link > span:not(.sk-orbit-link__eyebrow):not(.sk-orbit-link__meta) {
  display: block;
  color: var(--sk-saas-muted-strong);
  font-size: 13px;
  line-height: 1.55;
}

.sk-orbit-link strong {
  font-family: var(--sk-font-ui);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.sk-orbit-link__eyebrow {
  color: #81786d;
  font-size: 10px;
  font-weight: 800;
}

.sk-orbit-link__meta {
  color: var(--sk-saas-muted-soft);
  font-size: 11px;
  line-height: 1.4;
}

.sk-orbit-checklist {
  gap: 8px;
}

.sk-orbit-checklist li {
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
  background: #fbfaf7;
  border: 1px solid rgba(28,24,20,.08);
  box-shadow: none;
}

.sk-orbit-checklist li::before {
  display: none;
}

.sk-orbit-checklist strong {
  font-size: 13px;
  line-height: 1.25;
}

.sk-orbit-checklist span {
  display: none;
}

@media (max-width: 1100px) {
  .sk-focus-ribbon__grid,
  .sk-today__grid,
  .sk-achievement-list,
  .sk-orbit__links {
    grid-template-columns: 1fr 1fr;
  }

  .sk-insights,
  .sk-orbit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sk-wrap {
    gap: 22px;
  }

  .sk-focus-ribbon,
  .sk-today,
  .sk-insight,
  .sk-orbit__panel {
    padding: 20px;
    border-radius: 22px;
  }

  .sk-focus-ribbon__copy {
    grid-template-columns: 1fr;
  }

  .sk-focus-ribbon .sk-eyebrow,
  .sk-focus-ribbon__title,
  .sk-focus-ribbon__text {
    grid-column: 1;
  }

  .sk-focus-ribbon__grid,
  .sk-today__grid,
  .sk-course-snapshot__stats,
  .sk-achievement-list,
  .sk-orbit__links,
  .sk-weekly-overview__stats {
    grid-template-columns: 1fr;
  }

  .sk-recent-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .sk-recent-card__thumb {
    width: 64px;
    min-height: 78px;
  }

  .sk-weekly-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .sk-gamification {
    gap: 10px;
  }

  .sk-gamification__left,
  .sk-gamification__right {
    justify-content: flex-start;
  }

  .sk-pulse-card__actions .sk-btn,
  .sk-course-focus__actions .sk-btn,
  .sk-recent-card__actions .sk-btn {
    width: 100%;
  }

  .sk-today-card__thumb {
    height: 104px;
  }

  .sk-weekly-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sk-activity-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ================================================================
   REDISENO SAAS PREMIUM 2026
   Sidebar navy fijo + catalogo limpio. Capa final sobre aula-2.css.
   ================================================================ */
:root {
  --sk-saas-navy: #071527;
  --sk-saas-navy-2: #0c1d33;
  --sk-saas-navy-3: #132842;
  --sk-saas-bg: #f4f6f9;
  --sk-saas-surface: #ffffff;
  --sk-saas-line: #e2e8f0;
  --sk-saas-text: #111827;
  --sk-saas-muted: #516174;
  --sk-saas-muted-strong: #334155;
  --sk-saas-muted-soft: #607287;
  --sk-saas-soft: #f8fafc;
  --sk-saas-gold: #d99a35;
  --sk-saas-gold-2: #b8781f;
  --sk-saas-blue: #1d4ed8;
  --sk-sidebar-width: 284px;
}

html {
  scroll-padding-top: 28px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--sk-saas-bg) !important;
  background-image: none !important;
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  letter-spacing: 0;
}

.sk-app-shell {
  min-height: 100vh;
}

.sk-app-stage {
  min-width: 0;
  margin-left: var(--sk-sidebar-width);
}

.sk-sidebar.sk-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--sk-sidebar-width);
  min-height: 100vh;
  border: 0;
  background: var(--sk-saas-navy) !important;
  box-shadow: 18px 0 48px rgba(7, 21, 39, .16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sk-sidebar.sk-nav::after,
.sk-sidebar.sk-nav::before {
  display: none;
}

.sk-sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 18px;
  gap: 24px;
}

.sk-sidebar__brand.sk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 6px 8px;
  color: #ffffff;
  text-decoration: none;
}

.sk-sidebar .sk-brand__badge {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f2c76b, #d99a35 55%, #9d6418);
  color: #111827;
  box-shadow: none;
}

.sk-brand__copy,
.sk-user-pill__text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.sk-sidebar .sk-brand__label {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0;
}

.sk-brand__sub {
  color: rgba(226, 232, 240, .62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.sk-sidebar__nav {
  display: grid;
  gap: 8px;
}

.sk-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(226, 232, 240, .76);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.sk-sidebar__link svg {
  flex: 0 0 auto;
  color: rgba(226, 232, 240, .68);
}

.sk-sidebar__link:hover,
.sk-sidebar__link:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  outline: 0;
}

.sk-sidebar__link.is-active {
  background: #ffffff;
  color: var(--sk-saas-navy);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.sk-sidebar__link.is-active svg {
  color: var(--sk-saas-gold-2);
}

.sk-sidebar__tools {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.sk-sidebar__tools .sk-btn {
  justify-content: center;
  width: 100%;
  border-radius: 8px;
}

.sk-sidebar__tools #btnFocusMode {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}

.sk-sidebar__tools #btnFocusMode:hover {
  background: rgba(255, 255, 255, .14);
}

.sk-sidebar__account {
  position: relative;
}

.sk-sidebar .sk-user-pill {
  width: 100%;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
}

.sk-sidebar .sk-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(217, 154, 53, .16);
  color: #f8d18a;
  box-shadow: none;
}

.sk-sidebar .sk-user-name {
  max-width: 152px;
  overflow: hidden;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sk-user-role {
  color: rgba(226, 232, 240, .58);
  font-size: 11px;
  font-weight: 700;
}

.sk-sidebar .sk-user-caret {
  color: rgba(226, 232, 240, .6);
}

.sk-sidebar .sk-account-panel {
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  top: auto;
  width: auto;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, .12);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.sk-main {
  min-height: 100vh;
  padding: 42px 44px 54px;
  background: var(--sk-saas-bg);
}

.sk-wrap {
  display: flex;
  flex-direction: column;
  width: min(100%, 1220px);
  max-width: 1220px;
  margin: 0 auto;
  gap: 28px;
}

.sk-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 8px 0 14px;
}

.sk-home-hero__copy {
  max-width: 760px;
}

.sk-home-hero__eyebrow,
.sk-eyebrow,
.sk-tag,
.sk-dash__action-label,
.sk-module__eyebrow {
  color: var(--sk-saas-gold-2);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sk-home-hero__title {
  max-width: 760px;
  margin: 10px 0 12px;
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 850;
  line-height: .96;
  letter-spacing: 0;
}

.sk-home-hero__lead {
  max-width: 600px;
  margin: 0;
  color: var(--sk-saas-muted-strong);
  font-size: 17px;
  line-height: 1.72;
}

.sk-home-hero__actions,
.sk-hero__actions,
.sk-dash__action,
.sk-continue-focus__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sk-btn,
.sk-btn--gold,
.sk-btn--outline,
.sk-btn--ghost,
.sk-btn--cta,
.sk-btn--clear,
.ccb-btn {
  min-height: 42px;
  border-radius: 8px !important;
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-weight: 800;
  letter-spacing: 0;
}

.sk-btn--gold,
.sk-btn--cta,
.ccb-btn {
  border-color: transparent !important;
  background: var(--sk-saas-gold) !important;
  color: #111827 !important;
  box-shadow: 0 12px 24px rgba(217, 154, 53, .18) !important;
}

.sk-btn--gold:hover,
.sk-btn--cta:hover,
.ccb-btn:hover {
  background: var(--sk-saas-gold-2) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.sk-btn--outline,
.sk-btn--ghost,
.sk-btn--clear {
  border: 1px solid var(--sk-saas-line) !important;
  background: #ffffff !important;
  color: var(--sk-saas-text) !important;
  box-shadow: none !important;
}

.sk-btn--outline:hover,
.sk-btn--ghost:hover,
.sk-btn--clear:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
}

.sk-dash,
.sk-hero,
.sk-library-head,
.sk-today,
.sk-insight,
.sk-orbit__panel,
.sk-focus-ribbon,
.sk-gamification,
.sk-module {
  border: 1px solid var(--sk-saas-line) !important;
  border-radius: 18px !important;
  background: var(--sk-saas-surface) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .06) !important;
}

.sk-dash::before,
.sk-dash::after,
.sk-hero::before,
.sk-hero::after,
.sk-module::before,
.sk-module::after,
.sk-orbit__panel::after,
.sk-focus-ribbon::after,
.sk-lesson::after {
  display: none !important;
}

.sk-dash {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .62fr);
  gap: 32px;
  padding: 28px;
}

.sk-dash__welcome,
.sk-hero__title,
.sk-library-head__title,
.sk-insight__title,
.sk-orbit__title,
.sk-focus-ribbon__title,
.sk-focus-workspace__title {
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-weight: 850;
  letter-spacing: 0 !important;
}

.sk-dash__welcome {
  margin-top: 8px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
}

.sk-dash__progress {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sk-dash__pct {
  color: var(--sk-saas-navy);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 850;
  letter-spacing: 0;
}

.sk-dash__sub,
.sk-dash__boost,
.sk-dash__hint,
.sk-hero__lead,
.sk-library-head__text,
.sk-insight__text,
.sk-orbit__text,
.sk-focus-ribbon__text,
.sk-module__summary,
.sk-lesson__excerpt {
  color: var(--sk-saas-muted-strong) !important;
  font-size: 14px;
  line-height: 1.68;
  letter-spacing: 0;
}

.sk-results-summary,
.sk-filter-chip--muted,
.sk-module-pill__meta,
.sk-orbit-link__meta,
.sk-course-stat__label,
.sk-course-stat__text,
.sk-pulse-card__text,
.sk-achievement__text,
.sk-weekly-compare,
.sk-monthly-goal__text {
  color: var(--sk-saas-muted-soft) !important;
}

.sk-dash__track,
.sk-gamification__track,
.sk-weekly-goal__track,
.sk-lesson__bar,
.sk-cert-goal__track {
  height: 8px;
  border-radius: 999px;
  background: #e5eaf1;
  box-shadow: none;
}

.sk-dash__track span,
.sk-gamification__track > span,
.sk-weekly-goal__track span,
.sk-lesson__bar i,
.sk-cert-goal__bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sk-saas-gold), var(--sk-saas-blue));
}

.sk-dash__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.sk-dash__meta-card,
.sk-course-stat,
.sk-course-focus,
.sk-insight-block,
.sk-monthly-goal,
.sk-achievement,
.sk-orbit-link,
.sk-orbit-checklist li {
  border: 1px solid var(--sk-saas-line) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
}

.sk-dash__meta-card {
  min-height: 108px;
  padding: 16px;
}

.sk-dash__meta-card strong {
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: 28px;
  letter-spacing: 0;
}

.sk-dash__right {
  display: grid;
  align-content: start;
  gap: 16px;
}

.sk-dash__action {
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sk-dash__resume {
  color: var(--sk-saas-text);
  font-size: 14px;
  line-height: 1.45;
}

.sk-cert-goal,
.sk-continue-focus,
.course-complete-banner {
  border: 1px solid var(--sk-saas-line) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05) !important;
}

.sk-continue-focus {
  overflow: hidden;
}

.sk-continue-focus__media {
  border-radius: 8px;
}

.sk-gamification {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(7,21,39,.98), rgba(12,29,51,.95)) !important;
  border-color: rgba(19,40,66,.55) !important;
}

.sk-gamification__streak,
.sk-gamification__level-badge,
.sk-gamification__xp-label,
.sk-gamification__right {
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #e5edf7;
  box-shadow: none;
}

.sk-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .48fr);
  grid-template-areas:
    "intro filters"
    "results results";
  gap: 24px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(217,154,53,.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.sk-hero__intro {
  grid-area: intro;
  display: grid;
  align-content: start;
  gap: 18px;
}

.sk-hero__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.sk-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.sk-stat {
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 8px;
  background: var(--sk-saas-soft);
  box-shadow: none;
}

.sk-stat strong {
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: 28px;
  letter-spacing: 0;
}

.sk-stat span {
  color: var(--sk-saas-muted);
}

.sk-hero__filters {
  grid-area: filters;
  padding: 20px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.sk-filters__heading {
  margin-bottom: 14px;
  color: var(--sk-saas-text);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.sk-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sk-field--full,
.sk-field--check {
  grid-column: 1 / -1;
}

.sk-label {
  margin-bottom: 7px;
  color: var(--sk-saas-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.sk-input,
.sk-select {
  min-height: 44px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--sk-saas-text) !important;
  box-shadow: none !important;
}

.sk-input:focus,
.sk-select:focus {
  border-color: var(--sk-saas-blue) !important;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12) !important;
}

.sk-input-wrap {
  border-radius: 8px;
}

.sk-check {
  min-height: 44px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 8px;
  background: #ffffff;
}

.sk-check__box {
  border-radius: 6px;
}

.sk-results-bar--hero {
  grid-area: results;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 16px;
  background: #ffffff;
}

.sk-results-summary {
  color: var(--sk-saas-muted);
  font-size: 13px;
  line-height: 1.45;
}

.sk-active-filters {
  gap: 8px;
}

.sk-filter-chip {
  border-radius: 999px;
  background: #eef4ff;
  color: #1e3a8a;
  box-shadow: none;
}

.sk-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
}

.sk-library-head__title {
  margin: 4px 0 8px;
  font-size: clamp(28px, 3vw, 44px);
}

.sk-library-view {
  border-radius: 12px;
  background: var(--sk-saas-soft);
}

.sk-library-view__btn {
  border-radius: 7px;
  color: var(--sk-saas-muted);
  letter-spacing: 0;
}

.sk-library-view__btn.is-active,
.sk-library-view__btn[aria-pressed="true"] {
  background: #ffffff;
  color: var(--sk-saas-text);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}

.sk-library-badge {
  border-radius: 12px;
  background: var(--sk-saas-navy);
  color: #ffffff;
}

.sk-module-quicknav {
  display: flex;
  gap: 10px;
  padding: 0;
  overflow-x: auto;
}

.sk-module-pill {
  min-width: 210px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.sk-module {
  overflow: hidden;
}

.sk-module__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--sk-saas-line);
}

.sk-module__name {
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 850;
  letter-spacing: 0 !important;
}

.sk-module__name::before {
  display: none;
}

.sk-module__meter {
  margin-top: 16px;
  background: #e5eaf1;
}

.sk-module__stats {
  gap: 10px;
}

.sk-module__stat {
  min-width: 92px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 8px;
  background: var(--sk-saas-soft);
  box-shadow: none;
}

.sk-module__chip {
  border-radius: 999px;
  background: #eef4ff;
  color: #1e3a8a;
  box-shadow: none;
}

.sk-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 28px 28px;
}

.sk-lesson {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--sk-saas-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sk-lesson:hover,
.sk-lesson:focus-visible {
  border-color: #c7d2fe !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .09) !important;
  transform: translateY(-3px);
  outline: 0;
}

.sk-lesson__cover {
  min-height: 188px;
  border-radius: 0;
  background-color: #dbeafe;
}

.sk-lesson__cover.is-placeholder {
  background:
    linear-gradient(145deg, rgba(7, 21, 39, .92), rgba(19, 40, 66, .92)),
    radial-gradient(circle at 20% 10%, rgba(217, 154, 53, .28), transparent 30%);
}

.sk-lesson__cover::before,
.sk-lesson__cover::after {
  display: none;
}

.sk-lesson__placeholder {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #f8d18a;
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
}

.sk-lesson__badge,
.sk-lesson__time {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(7, 21, 39, .74);
  color: #ffffff;
  box-shadow: none;
}

.sk-lesson__badge {
  left: 12px;
  top: 12px;
  max-width: calc(100% - 92px);
}

.sk-lesson__time {
  right: 12px;
  top: 12px;
}

.sk-lesson__play {
  width: 44px;
  height: 44px;
  right: 14px;
  bottom: 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--sk-saas-navy);
  box-shadow: 0 12px 26px rgba(7, 21, 39, .18);
}

.sk-lesson__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.sk-lesson__topline {
  align-items: flex-start;
  gap: 10px;
}

.sk-chip,
.sk-lesson__status,
.sk-lesson__pct-status {
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--sk-saas-muted);
  box-shadow: none;
  letter-spacing: 0;
}

.sk-chip--fresh,
.sk-lesson__status.is-idle,
.sk-lesson__pct-status--fresh {
  background: #eef4ff;
  color: #1e3a8a;
}

.sk-chip--progress,
.sk-lesson__status.is-active,
.sk-lesson__pct-status--progress {
  background: #fff7ed;
  color: #9a5b13;
}

.sk-chip--done,
.sk-lesson__status.is-complete,
.sk-lesson.is-done .sk-lesson__pct-status {
  background: #ecfdf5;
  color: #047857;
}

.sk-lesson__title {
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0 !important;
}

.sk-lesson__instructor {
  margin: -4px 0 0;
  color: var(--sk-saas-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.sk-lesson__excerpt {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.55;
}

.sk-lesson__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.sk-lesson__meta-item {
  border: 0;
  border-radius: 999px;
  background: var(--sk-saas-soft);
  color: var(--sk-saas-muted);
  font-size: 11px;
  font-weight: 750;
}

.sk-lesson__summary {
  display: none;
}

.sk-lesson__progress {
  margin-top: auto;
  padding-top: 4px;
}

.sk-lesson__pct-num {
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
}

.sk-lesson__cta {
  width: 100%;
  justify-content: center;
  border-radius: 8px;
  background: var(--sk-saas-navy);
  color: #ffffff;
  box-shadow: none;
}

.sk-lesson:hover .sk-lesson__cta,
.sk-lesson:focus-visible .sk-lesson__cta {
  background: var(--sk-saas-gold);
  color: #111827;
}

.sk-module__more {
  padding: 0 28px 26px;
}

.sk-today,
.sk-insights,
.sk-orbit,
.sk-focus-ribbon {
  gap: 18px;
}

.sk-today,
.sk-focus-ribbon,
.sk-orbit__panel,
.sk-insight {
  padding: 26px;
}

.sk-today__grid,
.sk-focus-ribbon__grid,
.sk-course-snapshot__stats,
.sk-achievement-list,
.sk-orbit__links {
  gap: 12px;
}

.sk-pulse-card,
.sk-pulse-card--priority,
.sk-pulse-card--focus,
.sk-pulse-card--milestone,
.sk-pulse-card--rhythm,
.sk-today-card,
.sk-recent-card {
  border: 1px solid var(--sk-saas-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.sk-pulse-card__title,
.sk-today-card__title,
.sk-recent-card__title {
  letter-spacing: 0 !important;
}

.sk-orbit,
.sk-focus-ribbon {
  opacity: .92;
}

.sk-footer {
  margin-left: 0;
  padding: 24px 44px 36px;
  background: var(--sk-saas-bg);
  border-top: 0;
}

.sk-footer__inner {
  width: min(100%, 1220px);
  max-width: 1220px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.sk-sticky-search {
  left: calc(var(--sk-sidebar-width) + 24px);
}

body.sk-focus-active .sk-home-hero,
body.sk-focus-active .sk-sidebar__nav,
body.sk-focus-active .sk-sidebar__account,
body.sk-focus-active .sk-sidebar__tools {
  opacity: .45;
}

@media (max-width: 1180px) {
  :root {
    --sk-sidebar-width: 248px;
  }

  .sk-main {
    padding: 32px 28px 48px;
  }

  .sk-dash,
  .sk-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .sk-app-stage {
    margin-left: 0;
  }

  .sk-sidebar.sk-nav {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    min-height: auto;
    box-shadow: 0 12px 32px rgba(7, 21, 39, .18);
  }

  .sk-sidebar__inner {
    height: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .sk-sidebar__brand.sk-brand {
    min-height: 46px;
  }

  .sk-sidebar__nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sk-sidebar__link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .sk-sidebar__tools {
    display: flex;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .sk-sidebar__tools .sk-btn {
    width: auto;
  }

  .sk-sidebar__account {
    display: none;
  }

  .sk-sticky-search {
    left: 16px;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .sk-app-shell,
  .sk-app-stage,
  .sk-main,
  .sk-wrap,
  .aula-view {
    max-width: 100%;
    overflow-x: hidden;
  }

  .sk-main {
    padding: 24px 16px 40px;
  }

  .sk-wrap {
    gap: 22px;
  }

  .sk-home-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-width: 0;
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .sk-home-hero__title {
    font-size: clamp(32px, 9.6vw, 38px);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .sk-home-hero__copy,
  .sk-home-hero__actions {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .sk-home-hero__lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .sk-home-hero__actions,
  .sk-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sk-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "filters"
      "results";
    gap: 16px;
    overflow: hidden;
  }

  .sk-hero__intro,
  .sk-hero__filters,
  .sk-results-bar--hero {
    min-width: 0;
    width: 100%;
  }

  .sk-hero__filters {
    padding: 14px;
  }

  .sk-filters__heading {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .sk-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .sk-field,
  .sk-field--full,
  .sk-field--check {
    grid-column: auto;
    min-width: 0;
  }

  .sk-label {
    line-height: 1.25;
  }

  .sk-input-wrap,
  .sk-input,
  .sk-select,
  .sk-check,
  #clearFilters {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .sk-input,
  .sk-select {
    font-size: 14px;
  }

  .sk-input::placeholder {
    font-size: 13px;
  }

  .sk-check {
    align-items: center;
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .sk-check span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sk-home-hero__actions .sk-btn,
  .sk-hero__actions .sk-btn,
  .sk-dash__action .sk-btn {
    width: 100%;
  }

  .sk-dash,
  .sk-hero,
  .sk-library-head,
  .sk-today,
  .sk-insight,
  .sk-orbit__panel,
  .sk-focus-ribbon {
    padding: 20px;
  }

  .sk-dash__meta,
  .sk-stats,
  .sk-filters,
  .sk-cards,
  .sk-course-snapshot__stats,
  .sk-achievement-list,
  .sk-orbit__links,
  .sk-focus-ribbon__grid,
  .sk-today__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sk-gamification {
    grid-template-columns: 1fr;
  }

  .sk-library-head,
  .sk-module__head,
  .sk-results-bar--hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sk-results-bar--hero {
    align-items: start;
    gap: 10px;
    padding: 12px;
  }

  .sk-results-summary,
  .sk-active-filters,
  .sk-filter-chip {
    min-width: 0;
    max-width: 100%;
  }

  .sk-filter-chip {
    overflow-wrap: anywhere;
  }

  .sk-library-head__side {
    align-items: stretch;
  }

  .sk-library-view {
    width: 100%;
  }

  .sk-library-view__btn {
    flex: 1;
  }

  .sk-cards {
    padding: 18px 20px 22px;
  }

  .sk-module__head {
    padding: 20px;
  }

  .sk-footer {
    padding: 18px 16px 32px;
  }
}

@media (max-width: 520px) {
  .sk-student-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .sk-sidebar__link span {
    font-size: 13px;
  }

  .sk-sidebar__tools #btnFocusMode span {
    display: inline;
  }

  .sk-home-hero__lead,
  .sk-hero__lead {
    font-size: 15px;
  }

  .sk-lesson__cover {
    min-height: 160px;
  }
}

/* ================================================================
   VISTAS INTERNAS DEL AULA
   ================================================================ */
.aula-views {
  display: block;
}

.aula-view {
  display: none;
  min-height: calc(100vh - 96px);
}

.aula-view.is-active {
  display: grid;
  align-content: start;
  gap: 28px;
  animation: aulaViewIn .18s ease-out both;
}

.aula-view[hidden] {
  display: none !important;
}

.aula-view__head {
  display: grid;
  gap: 10px;
  max-width: 820px;
  padding: 10px 0 0;
}

.aula-view__title {
  margin: 0;
  color: var(--sk-saas-text);
  font-family: var(--sk-font-ui, "DM Sans", system-ui, sans-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: 0;
}

.aula-view__lead {
  max-width: 680px;
  margin: 0;
  color: var(--sk-saas-muted);
  font-size: 16px;
  line-height: 1.65;
}

body[data-aula-view="inicio"] .sk-footer,
body[data-aula-view="explorar"] .sk-footer,
body[data-aula-view="mis-cursos"] .sk-footer,
body[data-aula-view="progreso"] .sk-footer {
  display: none;
}

body:not([data-aula-view="explorar"]) .sk-sticky-search {
  display: none !important;
}

.aula-view .sk-home-hero,
.aula-view .sk-dash,
.aula-view .sk-hero,
.aula-view .sk-library-head,
.aula-view .sk-focus-workspace,
.aula-view .sk-today,
.aula-view .sk-orbit,
.aula-view .sk-gamification,
.aula-view .sk-focus-ribbon,
.aula-view .sk-insights,
.aula-view .sk-modules {
  order: initial;
}

#view-inicio .sk-dash {
  margin-top: 0;
}

#view-explorar .sk-library-head {
  margin-top: 0;
}

#view-mis-cursos .sk-orbit {
  grid-template-columns: 1fr;
}

#view-mis-cursos .sk-orbit__panel--primary {
  min-height: 0;
}

#view-progreso .sk-insights {
  margin-top: 0;
}

#view-progreso {
  --sk-progress-text: #1f2937;
  --sk-progress-muted: #1f2937;
}

#view-progreso .aula-view__title,
#view-progreso .aula-view__lead,
#view-progreso .sk-eyebrow,
#view-progreso .sk-insight__eyeline,
#view-progreso .sk-focus-ribbon__title,
#view-progreso .sk-focus-ribbon__text,
#view-progreso .sk-insight__title,
#view-progreso .sk-insight__text,
#view-progreso .sk-course-stat__label,
#view-progreso .sk-course-stat__value,
#view-progreso .sk-course-stat__text,
#view-progreso .sk-recent-card__title,
#view-progreso .sk-recent-card__summary,
#view-progreso .sk-weekly-overview__text,
#view-progreso .sk-weekly-compare,
#view-progreso .sk-monthly-goal__title,
#view-progreso .sk-monthly-goal__text,
#view-progreso .sk-monthly-metric,
#view-progreso .sk-insight-block__title,
#view-progreso .sk-insight-block__meta,
#view-progreso .sk-weekly-stat,
#view-progreso .sk-weekly-stat strong,
#view-progreso .sk-weekly-day__value,
#view-progreso .sk-weekly-day__caption,
#view-progreso .sk-achievement__title,
#view-progreso .sk-achievement__text,
#view-progreso .sk-achievement__pill {
  color: var(--sk-progress-text) !important;
}

#view-progreso .aula-view__lead,
#view-progreso .sk-focus-ribbon__text,
#view-progreso .sk-insight__text,
#view-progreso .sk-course-stat__label,
#view-progreso .sk-course-stat__text,
#view-progreso .sk-recent-card__summary,
#view-progreso .sk-weekly-overview__text,
#view-progreso .sk-weekly-compare,
#view-progreso .sk-monthly-goal__text,
#view-progreso .sk-monthly-metric,
#view-progreso .sk-insight-block__meta,
#view-progreso .sk-weekly-stat,
#view-progreso .sk-achievement__text {
  color: var(--sk-progress-muted) !important;
}

#view-progreso .sk-gamification__streak,
#view-progreso .sk-gamification__streak-num,
#view-progreso .sk-gamification__streak-text,
#view-progreso .sk-gamification__level-badge,
#view-progreso .sk-gamification__xp-label,
#view-progreso .sk-gamification__next-label,
#view-progreso .sk-gamification__next-xp {
  color: #f8fafc !important;
}

#view-progreso #monthlyGoalText,
#view-progreso #monthlyGoalText strong {
  color: var(--sk-progress-text) !important;
}

#view-progreso #gamifNextLevel .sk-gamification__next-label,
#view-progreso #gamifNextLevel .sk-gamification__next-xp {
  color: #f8fafc !important;
}

#view-progreso .sk-achievement__top {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

#view-progreso .sk-achievement__copy {
  min-width: 0;
}

#view-progreso .sk-achievement__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

#view-progreso .sk-achievement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto;
  gap: 14px;
  align-content: start;
}

#view-progreso .sk-achievement__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#view-progreso .sk-achievement__meter {
  flex: 1;
}

#view-progreso .sk-achievement-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sk-sidebar__link[aria-current="page"] {
  background: #ffffff;
  color: var(--sk-saas-navy);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

@keyframes aulaViewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .aula-view.is-active {
    gap: 22px;
  }

  .aula-view__title {
    font-size: clamp(32px, 10vw, 44px);
  }
}

/* ────────────────────────────────────────────────────────────────
   CHIP — CURSO (ficha de curso, no lección directa)
   Añadido al activar el flujo catálogo → curso.html
   ──────────────────────────────────────────────────────────────── */
.sk-chip--course {
  background: rgba(7, 21, 39, .88);
  border-color: rgba(201, 168, 76, .32);
  color: #f8d18a;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Cards que representan un curso completo — toque sutil de borde dorado */
.sk-lesson.is-course-card {
  border-color: rgba(201, 168, 76, .20);
}

.sk-lesson.is-course-card:hover,
.sk-lesson.is-course-card:focus-visible {
  border-color: rgba(201, 168, 76, .48);
  box-shadow:
    var(--sk-shadow-sm),
    0 0 0 1px rgba(201, 168, 76, .18);
}

/* El CTA de la card hereda el tono dorado cuando apunta al curso */
.sk-lesson.is-course-card .sk-lesson__cta {
  color: var(--sk-gold-deep, #9b7424);
  font-weight: 800;
}

/* ────────────────────────────────────────────────────────────────
   SCORECARD DE LECCIÓN — grupo de CTAs de completado
   Aparece cuando el usuario termina la última lección del curso
   ──────────────────────────────────────────────────────────────── */
.lc-score__next-group {
  display: grid;
  gap: 10px;
  width: 100%;
}

.lc-score__next-action--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  padding: 0 22px;
  background: var(--sk-gold, #c9a84c);
  color: #1c1814;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.lc-score__next-action--primary:hover {
  background: #b8943c;
  box-shadow: 0 8px 24px rgba(201,168,76,.28);
}

.lc-score__next-action--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.6);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.lc-score__next-action--secondary:hover {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.9);
}

/* ================================================================

   FASE 5A — PLAN STATUS + STUDENT SUMMARY
   Bloques nuevos en #view-inicio — sin tocar sk-dash
   ================================================================ */

/* ── ESTADO DEL PLAN ──────────────────────────────────────────── */
.sk-plan-status {
  margin-bottom: 20px;
}

.sk-plan-status__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 20px;
  transition: box-shadow var(--sk-t);
}

.sk-plan-status--active {
  background: linear-gradient(148deg,
    rgba(209,243,204,.65) 0%,
    rgba(193,235,187,.55) 100%);
  border: 1px solid rgba(74,167,74,.18);
  box-shadow: 0 2px 10px rgba(74,167,74,.07), var(--sk-inset-top);
}

.sk-plan-status--expiring {
  background: linear-gradient(148deg,
    rgba(255,243,205,.88) 0%,
    rgba(255,232,160,.72) 100%);
  border: 1px solid rgba(201,168,76,.30);
  box-shadow: 0 2px 12px rgba(201,168,76,.10), var(--sk-inset-top);
}

.sk-plan-status--inactive {
  background: linear-gradient(148deg,
    rgba(247,243,237,.95) 0%,
    rgba(240,232,218,.88) 100%);
  border: 1px solid rgba(107,76,59,.14);
  box-shadow: 0 2px 8px rgba(28,24,20,.05), var(--sk-inset-top);
}

.sk-plan-status__left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.sk-plan-status__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sk-earth);
}

.sk-plan-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sk-plan-badge--active {
  background: rgba(74,167,74,.16);
  color: #155515;
  border: 1px solid rgba(74,167,74,.20);
}

.sk-plan-badge--warn {
  background: rgba(201,168,76,.20);
  color: #7a5800;
  border: 1px solid rgba(201,168,76,.28);
}

.sk-plan-badge--off {
  background: rgba(107,76,59,.10);
  color: var(--sk-earth-dark);
  border: 1px solid rgba(107,76,59,.14);
}

/* ── RESUMEN DEL ALUMNO ───────────────────────────────────────── */
.sk-student-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.sk-summary-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(148deg,
    rgba(255,255,255,.97) 0%,
    rgba(253,249,238,.90) 100%);
  border: 1px solid rgba(201,168,76,.12);
  box-shadow:
    0 3px 12px rgba(28,24,20,.05),
    var(--sk-inset-top);
  transition:
    transform var(--sk-t),
    box-shadow var(--sk-t),
    border-color var(--sk-t);
}

.sk-summary-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,.22);
  box-shadow:
    0 10px 26px rgba(28,24,20,.09),
    var(--sk-inset-top);
}

.sk-summary-stat__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sk-gold-deep);
  opacity: .8;
}

.sk-summary-stat__value {
  font-family: var(--sk-font-display);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  color: var(--sk-earth-dark);
  line-height: 1;
  letter-spacing: -.03em;
}

.sk-summary-stat__value--sm {
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -.01em;
  font-family: var(--sk-font-body);
  font-weight: 700;
}

.sk-summary-stat__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sk-earth);
  letter-spacing: .01em;
}

/* ── RESPONSIVE PARA NUEVOS BLOQUES ──────────────────────────── */
@media (max-width: 900px) {
  .sk-student-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sk-student-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sk-summary-stat {
    padding: 18px 18px;
    min-width: 0;
  }

  .sk-plan-status__inner {
    padding: 14px 18px;
  }
}

@media (min-width: 861px) and (max-width: 1280px) {
  :root {
    --sk-sidebar-width: 112px;
  }

  .sk-app-stage {
    margin-left: var(--sk-sidebar-width);
  }

  .sk-sidebar.sk-nav {
    width: var(--sk-sidebar-width);
  }

  .sk-sidebar__inner {
    align-items: center;
    padding: 20px 12px;
    gap: 20px;
  }

  .sk-sidebar__brand.sk-brand,
  .sk-sidebar .sk-user-pill,
  .sk-sidebar__link,
  .sk-sidebar__tools .sk-btn {
    justify-content: center;
  }

  .sk-sidebar__brand.sk-brand {
    width: 100%;
    padding: 4px 0;
  }

  .sk-brand__copy,
  .sk-user-pill__text,
  .sk-user-caret,
  .sk-sidebar__link span,
  .sk-sidebar__tools .sk-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .sk-sidebar__nav,
  .sk-sidebar__tools,
  .sk-sidebar__account {
    width: 100%;
  }

  .sk-sidebar__link,
  .sk-sidebar__tools .sk-btn {
    width: 100%;
    min-height: 52px;
    padding: 0;
  }

  .sk-sidebar__link svg,
  .sk-sidebar__tools .sk-btn svg {
    width: 19px;
    height: 19px;
  }

  .sk-sidebar__tools {
    gap: 8px;
  }

  .sk-sidebar .sk-user-pill {
    min-height: 56px;
    padding: 10px;
  }

  .sk-sidebar .sk-user-avatar {
    margin: 0;
  }

  .sk-sticky-search {
    left: calc(var(--sk-sidebar-width) + 20px);
  }
}

.sk-home-hero {
  padding: 30px 32px;
  border: 1px solid var(--sk-saas-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(217, 154, 53, .14), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #ffffff 58%, #f7fbff 100%);
  box-shadow: 0 26px 54px rgba(15, 23, 42, .07);
}

.sk-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217, 154, 53, .12);
}

.sk-home-hero__copy {
  display: grid;
  gap: 10px;
}

.sk-home-hero__lead {
  max-width: 58ch;
}

.sk-student-summary {
  gap: 18px;
}

.sk-summary-stat {
  border-radius: 18px;
  border: 1px solid var(--sk-saas-line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, .05);
}

.aula-view__head {
  gap: 12px;
}

.aula-view__lead {
  color: var(--sk-saas-muted-strong);
}

.sk-today .sk-library-head__text,
.sk-orbit__text,
.sk-focus-ribbon__text,
.sk-insight__text {
  color: var(--sk-saas-muted-strong) !important;
}

.sk-focus-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(19, 40, 66, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(217, 154, 53, .24), transparent 26%),
    linear-gradient(135deg, rgba(7, 21, 39, .98), rgba(18, 41, 70, .95));
  box-shadow: 0 26px 54px rgba(7, 21, 39, .18);
}

.sk-focus-workspace__copy {
  display: grid;
  gap: 10px;
}

.sk-focus-workspace__title,
.sk-focus-workspace__text,
.sk-focus-workspace .sk-eyebrow {
  color: #f8fafc;
}

.sk-focus-workspace__text {
  max-width: 60ch;
  color: rgba(226, 232, 240, .82);
}

.sk-focus-workspace__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sk-focus-workspace__chip {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .1);
  color: #f8fafc;
}

.sk-focus-workspace__actions {
  justify-content: flex-end;
}

.sk-focus-workspace__actions .sk-btn--outline {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #ffffff !important;
}

.sk-today,
.sk-orbit__panel {
  border-radius: 22px !important;
}

.sk-library-head {
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, .08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
}

.sk-library-head__side {
  align-items: center;
  gap: 14px;
}

.sk-module-pill {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sk-module-pill:hover,
.sk-module-pill:focus-visible {
  border-color: #c7d2fe;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
  transform: translateY(-2px);
}

body[data-library-view="editorial"] .sk-lesson {
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055) !important;
}

body[data-library-view="editorial"] .sk-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body[data-library-view="editorial"] .sk-lesson.is-course-card {
  position: relative;
  border-color: rgba(29, 78, 216, .12) !important;
}

body[data-library-view="editorial"] .sk-lesson.is-course-card::before {
  content: "Ruta editorial";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--sk-saas-navy);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-library-view="editorial"] .sk-lesson__cover {
  min-height: 208px;
}

body[data-library-view="editorial"] .sk-lesson__body {
  gap: 14px;
  padding: 22px;
}

body[data-library-view="editorial"] .sk-lesson__title {
  font-size: 21px;
}

body[data-library-view="editorial"] .sk-lesson__excerpt {
  min-height: 64px;
  -webkit-line-clamp: 3;
}

body[data-library-view="editorial"] .sk-lesson__meta-item:last-child {
  display: none;
}

body[data-library-view="editorial"] .sk-lesson__summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--sk-saas-muted-strong);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body[data-library-view="editorial"] .sk-lesson__progress {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--sk-saas-line);
}

body[data-library-view="editorial"] .sk-lesson__cta {
  min-height: 42px;
}

@media (max-width: 1120px) {
  body[data-library-view="editorial"] .sk-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .sk-focus-workspace {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sk-focus-workspace__actions {
    justify-content: flex-start;
  }
}
