@charset "UTF-8";
/**
 * Tema del Player SCORM
 * Estilos principales del sistema de aprendizaje
 * Organizado por categorías: Variables, Layout, Colores, Tipografía, Componentes, Animaciones, Utilidades
 */
:root {
  --colorA-primary: #8e6bfe;
  --colorA-primary-dark: #5c3bc4;
  --colorA-primary-light: #b098fe;
  --colorB-primary: #00ffce;
  --colorB-primary-dark: #00e5b9;
  --colorB-primary-light: #73ffe4;
  --color-secondary: #2d2d38;
  --color-secondary-dark: #475569;
  --color-secondary-light: #94a3b8;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
  --color-bg-primary: #f0f0f0;
  --color-bg-secondary: #bbb8c4;
  --color-bg-dark: #2d2d38;
  --color-bg-overlay: rgba(0, 0, 0, 0.5);
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;
  --color-text-light:#f0f0f0;
  --font-family-primary: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
  --font-size-xxs: 0.5rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.25rem;
  --font-size-base: 1.5rem;
  --font-size-lg: 2rem;
  --font-size-xl: 3rem;
  --font-size-2xl: 4rem;
  --font-size-3xl: 5rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --grid-step:20px;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-full: 9999px;
  --border-width: 2px;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.14);
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100dvh;
}

.animated {
  transition: all 0.3s ease-in-out;
}
.animated.all > * {
  transition: all 0.3s ease-in-out;
}

header {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  padding: var(--spacing-md);
}

main {
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

footer {
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

button.icon_button, button.mol-btn-close, .mol-header button.header__close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  padding: 5%;
  cursor: pointer;
}
button.icon_button:hover, button.mol-btn-close:hover, .mol-header button.header__close-btn:hover {
  background-color: rgba(134, 98, 250, 0.26);
  animation: rollOverAnimation 0.3s ease-in-out infinite;
}
button .label_button {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  padding: 0 var(--spacing-sm);
}

/* Scrollbar personalizado con colorA-primary */
::-webkit-scrollbar {
  width: 10px;
  background: var(--colorA-primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--colorA-primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--colorA-primary-dark);
}

::-webkit-scrollbar-corner {
  background: red;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--colorA-primary) var(--colorA-primary-light);
}

main {
  flex: 1;
}
main .scrollableY {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
}
main .scrollableX {
  overflow-x: auto;
  overflow-y: hidden;
}
main .scrollableXY {
  overflow: auto;
}
main.row > * {
  flex: 1;
  min-width: 250px;
}

.capsule {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.capsule .site-frame {
  width: 80%;
  height: 80%;
  min-height: auto;
  box-shadow: var(--shadow-xl);
}

.site-frame {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: var(--grid-step);
}
.site-frame.noScroll {
  max-height: 100dvh;
  overflow: hidden;
}
.site-frame.video {
  min-height: 100dvh;
  padding: 0;
  border-radius: 0;
}
.site-frame.video footer {
  position: fixed;
  bottom: 0;
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.content {
  padding: calc(var(--grid-step) * 2);
}

.rounded-md {
  border-radius: var(--border-radius-md);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.rounded-full {
  border-radius: 999px;
}

.bg-imageContent {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /*left: -1px;*/
}

.likeCanvas {
  position: relative;
}
.likeCanvas > * {
  position: absolute;
}

.w-max-2g {
  max-width: calc(var(--grid-step) * 2);
}

.w-max-4g {
  max-width: calc(var(--grid-step) * 4);
}

.w-max-6g {
  max-width: calc(var(--grid-step) * 6);
}

.w-max-8g {
  max-width: calc(var(--grid-step) * 8);
}

.w-max-10g {
  max-width: calc(var(--grid-step) * 10);
}

.w-max-12g {
  max-width: calc(var(--grid-step) * 12);
}

.w-max-14g {
  max-width: calc(var(--grid-step) * 14);
}

.w-max-16g {
  max-width: calc(var(--grid-step) * 16);
}

.w-max-18g {
  max-width: calc(var(--grid-step) * 18);
}

.w-max-20g {
  max-width: calc(var(--grid-step) * 20);
}

.w-max-22g {
  max-width: calc(var(--grid-step) * 22);
}

.w-max-24g {
  max-width: calc(var(--grid-step) * 24);
}

.w-max-26g {
  max-width: calc(var(--grid-step) * 26);
}

.w-max-28g {
  max-width: calc(var(--grid-step) * 28);
}

.w-max-30g {
  max-width: calc(var(--grid-step) * 30);
}

.w-max-32g {
  max-width: calc(var(--grid-step) * 32);
}

.w-max-34g {
  max-width: calc(var(--grid-step) * 34);
}

.w-max-36g {
  max-width: calc(var(--grid-step) * 36);
}

.w-max-38g {
  max-width: calc(var(--grid-step) * 38);
}

.w-max-40g {
  max-width: calc(var(--grid-step) * 40);
}

.h-max-2g {
  max-height: calc(var(--grid-step) * 2);
}

.h-max-4g {
  max-height: calc(var(--grid-step) * 4);
}

.h-max-6g {
  max-height: calc(var(--grid-step) * 6);
}

.h-max-8g {
  max-height: calc(var(--grid-step) * 8);
}

.h-max-10g {
  max-height: calc(var(--grid-step) * 10);
}

.h-max-12g {
  max-height: calc(var(--grid-step) * 12);
}

.h-max-14g {
  max-height: calc(var(--grid-step) * 14);
}

.h-max-16g {
  max-height: calc(var(--grid-step) * 16);
}

.h-max-18g {
  max-height: calc(var(--grid-step) * 18);
}

.h-max-20g {
  max-height: calc(var(--grid-step) * 20);
}

.h-max-22g {
  max-height: calc(var(--grid-step) * 22);
}

.h-max-24g {
  max-height: calc(var(--grid-step) * 24);
}

.h-max-26g {
  max-height: calc(var(--grid-step) * 26);
}

.h-max-28g {
  max-height: calc(var(--grid-step) * 28);
}

.h-max-30g {
  max-height: calc(var(--grid-step) * 30);
}

.h-max-32g {
  max-height: calc(var(--grid-step) * 32);
}

.h-max-34g {
  max-height: calc(var(--grid-step) * 34);
}

.h-max-36g {
  max-height: calc(var(--grid-step) * 36);
}

.h-max-38g {
  max-height: calc(var(--grid-step) * 38);
}

.h-max-40g {
  max-height: calc(var(--grid-step) * 40);
}

.w-5 {
  width: 5%;
}

.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.w-20 {
  width: 20%;
}

.w-25 {
  width: 25%;
}

.w-30 {
  width: 30%;
}

.w-35 {
  width: 35%;
}

.w-40 {
  width: 40%;
}

.w-45 {
  width: 45%;
}

.w-50 {
  width: 50%;
}

.w-55 {
  width: 55%;
}

.w-60 {
  width: 60%;
}

.w-65 {
  width: 65%;
}

.w-70 {
  width: 70%;
}

.w-75 {
  width: 75%;
}

.w-80 {
  width: 80%;
}

.w-85 {
  width: 85%;
}

.w-90 {
  width: 90%;
}

.w-95 {
  width: 95%;
}

.h-full {
  height: 100%;
}

.h-5 {
  height: 5%;
}

.h-10 {
  height: 10%;
}

.h-15 {
  height: 15%;
}

.h-20 {
  height: 20%;
}

.h-25 {
  height: 25%;
}

.h-30 {
  height: 30%;
}

.h-35 {
  height: 35%;
}

.h-40 {
  height: 40%;
}

.h-45 {
  height: 45%;
}

.h-50 {
  height: 50%;
}

.h-55 {
  height: 55%;
}

.h-60 {
  height: 60%;
}

.h-65 {
  height: 65%;
}

.h-70 {
  height: 70%;
}

.h-75 {
  height: 75%;
}

.h-80 {
  height: 80%;
}

.h-85 {
  height: 85%;
}

.h-90 {
  height: 90%;
}

.h-95 {
  height: 95%;
}

.h-1g {
  height: calc(var(--grid-step) * 1);
}

.h-2g {
  height: calc(var(--grid-step) * 2);
}

.h-3g {
  height: calc(var(--grid-step) * 3);
}

.h-4g {
  height: calc(var(--grid-step) * 4);
}

.h-5g {
  height: calc(var(--grid-step) * 5);
}

.h-6g {
  height: calc(var(--grid-step) * 6);
}

.h-7g {
  height: calc(var(--grid-step) * 7);
}

.h-8g {
  height: calc(var(--grid-step) * 8);
}

.h-9g {
  height: calc(var(--grid-step) * 9);
}

.h-10g {
  height: calc(var(--grid-step) * 10);
}

.w-1g {
  width: calc(var(--grid-step) * 1);
}

.w-2g {
  width: calc(var(--grid-step) * 2);
}

.w-3g {
  width: calc(var(--grid-step) * 3);
}

.w-4g {
  width: calc(var(--grid-step) * 4);
}

.w-5g {
  width: calc(var(--grid-step) * 5);
}

.w-6g {
  width: calc(var(--grid-step) * 6);
}

.w-7g {
  width: calc(var(--grid-step) * 7);
}

.w-8g {
  width: calc(var(--grid-step) * 8);
}

.w-9g {
  width: calc(var(--grid-step) * 9);
}

.w-10g {
  width: calc(var(--grid-step) * 10);
}

.w-11g {
  width: calc(var(--grid-step) * 11);
}

.w-12g {
  width: calc(var(--grid-step) * 12);
}

.w-13g {
  width: calc(var(--grid-step) * 13);
}

.w-14g {
  width: calc(var(--grid-step) * 14);
}

.w-15g {
  width: calc(var(--grid-step) * 15);
}

.w-16g {
  width: calc(var(--grid-step) * 16);
}

.w-17g {
  width: calc(var(--grid-step) * 17);
}

.w-18g {
  width: calc(var(--grid-step) * 18);
}

.w-19g {
  width: calc(var(--grid-step) * 19);
}

.w-20g {
  width: calc(var(--grid-step) * 20);
}

.margin-bottom-lg {
  margin-bottom: var(--spacing-lg);
}

.margin-bottom-md {
  margin-bottom: var(--spacing-md);
}

.center-v {
  display: flex;
  align-items: center;
}

.center-h {
  display: flex;
  justify-content: center;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row {
  display: flex;
  flex-direction: row;
}
.row.equalChildren > * {
  flex: 1;
}
.row.gap-xs {
  gap: var(--spacing-xs);
}
.row.gap-sm {
  gap: var(--spacing-sm);
}
.row.gap-md {
  gap: var(--spacing-md);
}
.row.gap-lg {
  gap: var(--spacing-lg);
}
.row.gap-xl {
  gap: var(--spacing-xl);
}
.row.gap-2xl {
  gap: var(--spacing-2xl);
}
.row.gap-1 {
  gap: 1px;
}
.row.gap-2 {
  gap: 2px;
}
.row.gap-3 {
  gap: 3px;
}
.row.gap-4 {
  gap: 4px;
}
.row.gap-5 {
  gap: 5px;
}
.row.gap-6 {
  gap: 6px;
}
.row.gap-7 {
  gap: 7px;
}
.row.gap-8 {
  gap: 8px;
}
.row.gap-9 {
  gap: 9px;
}
.row.gap-10 {
  gap: 10px;
}
.row.gap-11 {
  gap: 11px;
}
.row.gap-12 {
  gap: 12px;
}
.row.gap-13 {
  gap: 13px;
}
.row.gap-14 {
  gap: 14px;
}
.row.gap-15 {
  gap: 15px;
}
.row.gap-16 {
  gap: 16px;
}
.row.gap-17 {
  gap: 17px;
}
.row.gap-18 {
  gap: 18px;
}
.row.gap-19 {
  gap: 19px;
}
.row.gap-20 {
  gap: 20px;
}
.row.align-start {
  align-items: flex-start;
}
.row.align-center {
  align-items: center;
}
.row.align-end {
  align-items: flex-end;
}
.row.align-stretch {
  align-items: stretch;
}
.row.justify-start {
  justify-content: flex-start;
}
.row.justify-center {
  justify-content: center;
}
.row.justify-end {
  justify-content: flex-end;
}
.row.justify-between {
  justify-content: space-between;
}
.row.justify-around {
  justify-content: space-around;
}
.row.justify-evenly {
  justify-content: space-evenly;
}
.row.wrap {
  flex-wrap: wrap;
}
.row.nowrap {
  flex-wrap: nowrap;
}

.col {
  display: flex;
  flex-direction: column;
}
.col.equalChildren > * {
  flex: 1;
}
.col.gap-xs {
  gap: var(--spacing-xs);
}
.col.gap-sm {
  gap: var(--spacing-sm);
}
.col.gap-md {
  gap: var(--spacing-md);
}
.col.gap-lg {
  gap: var(--spacing-lg);
}
.col.gap-xl {
  gap: var(--spacing-xl);
}
.col.gap-2xl {
  gap: var(--spacing-2xl);
}
.col.gap-1 {
  gap: 1px;
}
.col.gap-2 {
  gap: 2px;
}
.col.gap-3 {
  gap: 3px;
}
.col.gap-4 {
  gap: 4px;
}
.col.gap-5 {
  gap: 5px;
}
.col.gap-6 {
  gap: 6px;
}
.col.gap-7 {
  gap: 7px;
}
.col.gap-8 {
  gap: 8px;
}
.col.gap-9 {
  gap: 9px;
}
.col.gap-10 {
  gap: 10px;
}
.col.gap-11 {
  gap: 11px;
}
.col.gap-12 {
  gap: 12px;
}
.col.gap-13 {
  gap: 13px;
}
.col.gap-14 {
  gap: 14px;
}
.col.gap-15 {
  gap: 15px;
}
.col.gap-16 {
  gap: 16px;
}
.col.gap-17 {
  gap: 17px;
}
.col.gap-18 {
  gap: 18px;
}
.col.gap-19 {
  gap: 19px;
}
.col.gap-20 {
  gap: 20px;
}
.col.align-start {
  align-items: flex-start;
}
.col.align-center {
  align-items: center;
}
.col.align-end {
  align-items: flex-end;
}
.col.align-stretch {
  align-items: stretch;
}
.col.justify-start {
  justify-content: flex-start;
}
.col.justify-center {
  justify-content: center;
}
.col.justify-end {
  justify-content: flex-end;
}
.col.justify-between {
  justify-content: space-between;
}
.col.justify-around {
  justify-content: space-around;
}
.col.justify-evenly {
  justify-content: space-evenly;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.absolute-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.hidden {
  display: none !important;
}

.container {
  padding: var(--grid-step);
}

.basic-container {
  padding: var(--grid-step);
  border-radius: var(--border-radius-md);
  margin-top: var(--grid-step);
  margin-bottom: var(--grid-step);
}

.line-spacer {
  height: 1px;
  background-color: var(--color-secondary-light);
  width: 100%;
  margin-top: var(--grid-step);
  margin-bottom: var(--grid-step);
}

.text-colorA-primary {
  color: var(--colorA-primary) !important;
}
.text-colorA-primary * {
  color: var(--colorA-primary);
}

.text-colorB-primary {
  color: var(--colorB-primary) !important;
}
.text-colorB-primary * {
  color: var(--colorB-primary);
}

.text-color-dark {
  color: var(--color-text-dark) !important;
}
.text-color-dark * {
  color: var(--color-text-dark);
}

.text-color-light {
  color: var(--color-text-light) !important;
}
.text-color-light * {
  color: var(--color-text-light);
}

.bg-colorA-primary {
  background-color: var(--colorA-primary) !important;
}

.bg-colorA-primary-dark {
  background-color: var(--colorA-primary-dark) !important;
}

.bg-colorA-primary-light {
  background-color: var(--colorA-primary-light) !important;
}

.bg-colorB-primary {
  background-color: var(--colorB-primary) !important;
}

.bg-colorB-primary-dark {
  background-color: var(--colorB-primary-dark) !important;
}

.bg-colorB-primary-light {
  background-color: var(--colorB-primary-light) !important;
}

.bg-color-dark {
  background-color: var(--color-bg-dark) !important;
}

.bg-color-light {
  background-color: var(--color-bg-primary) !important;
}

.bg-color-white {
  background-color: white !important;
}

h1 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin: 0 0 calc(var(--grid-step) / 4) 0;
  color: var(--color-text-primary);
}
h1.super-title {
  font-size: calc(var(--grid-step) * 3);
}

h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--color-text-primary);
}

*.xxsText {
  font-size: var(--font-size-xxs);
}
*.xsText {
  font-size: var(--font-size-xs);
}
*.smText {
  font-size: var(--font-size-sm);
}
*.baseText {
  font-size: var(--font-size-base);
}
*.mdText {
  font-size: var(--font-size-md);
}
*.lgText {
  font-size: var(--font-size-lg);
}
*.xlText {
  font-size: var(--font-size-xl);
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--color-text-primary);
}

h4, h5, h6 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.4;
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--color-text-primary);
}

p {
  font-size: var(--font-size-base);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 var(--spacing-md) 0;
  color: var(--color-text-primary);
}
p:last-child {
  margin-bottom: 0;
}

blockquote {
  font-size: var(--font-size-lg);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-lg);
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-md);
  color: var(--color-text-primary);
}
blockquote p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
}
blockquote.colorA-primary {
  border-left-color: var(--colorA-primary);
  background-color: rgba(142, 107, 254, 0.1);
}
blockquote.colorB-primary {
  border-left-color: var(--colorB-primary);
  background-color: rgba(0, 255, 206, 0.1);
}

cite {
  font-size: var(--font-size-sm);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text-secondary);
}
cite.colorA-primary {
  color: var(--colorA-primary) !important;
}
cite.colorB-primary {
  color: var(--colorB-primary) !important;
}

.text-small {
  font-size: var(--font-size-sm);
}

.text-muted {
  color: var(--color-text-muted) !important;
}
.text-muted * {
  color: var(--color-text-muted) !important;
}

strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.strong--bold {
  font-weight: var(--font-weight-bold);
}

.strong--underline {
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-decoration-color: var(--color-text-primary);
  text-underline-offset: 2px;
}

.strong--highlight {
  font-weight: var(--font-weight-bold);
  background-color: var(--color-text-primary);
  color: var(--color-text-inverse);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
}

.strong--highlight-white {
  background-color: var(--color-text-inverse);
  color: var(--color-text-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-bold);
}

.strong--highlight-colorA {
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
}

.strong--highlight.bg-colorA-primary {
  background-color: var(--colorA-primary) !important;
  color: var(--color-text-inverse);
}

.strong--highlight.bg-colorB-primary {
  background-color: var(--colorB-primary) !important;
  color: var(--color-text-inverse);
}

.strong--text-colorA {
  color: var(--colorA-primary) !important;
}

.strong--text-colorB {
  color: var(--colorB-primary) !important;
}

.strong--text-success {
  color: var(--color-success) !important;
}

.strong--text-warning {
  color: var(--color-warning) !important;
}

.strong--text-error {
  color: var(--color-error) !important;
}

.strong--text-info {
  color: var(--color-info) !important;
}

.strong--text-inverse {
  color: var(--color-text-inverse) !important;
}

.strong--bold.strong--text-colorA {
  font-weight: var(--font-weight-bold);
  color: var(--colorA-primary) !important;
}

.strong--bold.strong--text-colorB {
  font-weight: var(--font-weight-bold);
  color: var(--colorB-primary) !important;
}

.strong--underline.strong--text-colorA {
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-decoration-color: var(--colorA-primary);
  text-underline-offset: 2px;
  color: var(--colorA-primary) !important;
}

.strong--underline.strong--text-colorB {
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-decoration-color: var(--colorB-primary);
  text-underline-offset: 2px;
  color: var(--colorB-primary) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
  box-shadow: var(--shadow-xl) !important;
}

.scorm-player {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-primary);
}

.content-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all var(--transition-normal);
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
}
.slide.slide--steps {
  display: flex;
  flex-direction: column;
}
.slide.slide--quiz {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
}
.slide.slide--infographic {
  position: relative;
  overflow: hidden;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: black;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-bg-primary);
  border-bottom: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.nav-bar .nav-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}
.nav-bar .nav-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  height: 4px;
  background-color: var(--color-bg-tertiary);
}
.progress-bar .progress-fill {
  height: 100%;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
  border-radius: 0 2px 2px 0;
}

/**
 * Tema de Moléculas - Componentes compuestos del sistema de diseño
 * Incluye botones, formularios, cards y otros componentes complejos
 */
.mol-btn-primary, .mol-btn-interactive, .mol-btn-download, .mol-btn-close, .mol-header .header__close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border: var(--border-width) solid transparent;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  min-height: calc(var(--grid-step) * 2);
  z-index: 1;
}
.mol-btn-primary*, .mol-btn-interactive, .mol-btn-download, .mol-btn-close, .mol-header .header__close-btn {
  pointer-events: none;
  text-decoration: none;
}
.mol-btn-primary:hover:not(:disabled), .mol-btn-interactive:hover:not(:disabled), .mol-btn-download:hover:not(:disabled), .mol-btn-close:hover:not(:disabled), .mol-header .header__close-btn:hover:not(:disabled) {
  animation: rollOverAnimation 1s ease-in-out infinite;
  background-color: var(--colorA-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.mol-btn-primary:active:not(:disabled), .mol-btn-interactive:active:not(:disabled), .mol-btn-download:active:not(:disabled), .mol-btn-close:active:not(:disabled), .mol-header .header__close-btn:active:not(:disabled) {
  background-color: var(--colorA-primary-dark);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.mol-btn-primary:focus, .mol-btn-interactive:focus, .mol-btn-download:focus, .mol-btn-close:focus, .mol-header .header__close-btn:focus {
  outline: 2px solid var(--colorA-primary);
  outline-offset: 2px;
}
.mol-btn-primary:disabled, .mol-btn-interactive:disabled, .mol-btn-download:disabled, .mol-btn-close:disabled, .mol-header .header__close-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.mol-btn-primary .btn__icon, .mol-btn-interactive .btn__icon, .mol-btn-download .btn__icon, .mol-btn-close .btn__icon, .mol-header .header__close-btn .btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
  line-height: 1;
}
.mol-btn-primary:not(.icon_button):not(.mol-btn-close) .mol-btn-primary .btn__icon, .mol-btn-interactive:not(.icon_button):not(.mol-btn-close) .mol-btn-primary .btn__icon, .mol-btn-primary:not(.icon_button):not(.mol-btn-close) .mol-btn-interactive .btn__icon, .mol-btn-interactive:not(.icon_button):not(.mol-btn-close) .mol-btn-interactive .btn__icon, .mol-btn-download:not(.icon_button):not(.mol-btn-close) .mol-btn-primary .btn__icon, .mol-btn-download:not(.icon_button):not(.mol-btn-close) .mol-btn-interactive .btn__icon, .mol-btn-primary:not(.icon_button):not(.mol-btn-close) .mol-btn-download .btn__icon, .mol-btn-interactive:not(.icon_button):not(.mol-btn-close) .mol-btn-download .btn__icon, .mol-btn-download:not(.icon_button):not(.mol-btn-close) .mol-btn-download .btn__icon, .mol-btn-close:not(.icon_button):not(.mol-btn-close) .mol-btn-primary .btn__icon, .mol-btn-close:not(.icon_button):not(.mol-btn-close) .mol-btn-interactive .btn__icon, .mol-header .header__close-btn:not(.icon_button):not(.mol-btn-close) .mol-btn-primary .btn__icon, .mol-header .header__close-btn:not(.icon_button):not(.mol-btn-close) .mol-btn-interactive .btn__icon, .mol-btn-close:not(.icon_button):not(.mol-btn-close) .mol-btn-download .btn__icon, .mol-header .header__close-btn:not(.icon_button):not(.mol-btn-close) .mol-btn-download .btn__icon, .mol-btn-primary:not(.icon_button):not(.mol-btn-close) .mol-btn-close .btn__icon, .mol-btn-interactive:not(.icon_button):not(.mol-btn-close) .mol-btn-close .btn__icon, .mol-btn-primary:not(.icon_button):not(.mol-btn-close) .mol-header .header__close-btn .btn__icon, .mol-btn-interactive:not(.icon_button):not(.mol-btn-close) .mol-header .header__close-btn .btn__icon, .mol-header .mol-btn-primary:not(.icon_button):not(.mol-btn-close) .header__close-btn .btn__icon, .mol-header .mol-btn-interactive:not(.icon_button):not(.mol-btn-close) .header__close-btn .btn__icon, .mol-btn-download:not(.icon_button):not(.mol-btn-close) .mol-btn-close .btn__icon, .mol-btn-download:not(.icon_button):not(.mol-btn-close) .mol-header .header__close-btn .btn__icon, .mol-header .mol-btn-download:not(.icon_button):not(.mol-btn-close) .header__close-btn .btn__icon, .mol-btn-close:not(.icon_button):not(.mol-btn-close) .mol-btn-close .btn__icon, .mol-header .header__close-btn:not(.icon_button):not(.mol-btn-close) .mol-btn-close .btn__icon, .mol-btn-close:not(.icon_button):not(.mol-btn-close) .mol-header .header__close-btn .btn__icon, .mol-header .mol-btn-close:not(.icon_button):not(.mol-btn-close) .header__close-btn .btn__icon, .mol-header .header__close-btn:not(.icon_button):not(.mol-btn-close) .header__close-btn .btn__icon {
  display: none;
}
.mol-btn-primary .btn__span, .mol-btn-interactive .btn__span, .mol-btn-download .btn__span, .mol-btn-close .btn__span, .mol-header .header__close-btn .btn__span {
  display: inline-block;
  line-height: 1;
}
.icon_button .mol-btn-primary .btn__span, .icon_button .mol-btn-interactive .btn__span, .icon_button .mol-btn-download .btn__span, .mol-btn-close .mol-btn-primary .btn__span, .mol-btn-close .mol-btn-interactive .btn__span, .mol-header .header__close-btn .mol-btn-primary .btn__span, .mol-header .header__close-btn .mol-btn-interactive .btn__span, .mol-btn-close .mol-btn-download .btn__span, .mol-header .header__close-btn .mol-btn-download .btn__span, .icon_button .mol-btn-close .btn__span, .icon_button .mol-header .header__close-btn .btn__span, .mol-header .icon_button .header__close-btn .btn__span, .mol-btn-close .mol-btn-close .btn__span, .mol-header .header__close-btn .mol-btn-close .btn__span, .mol-btn-close .mol-header .header__close-btn .btn__span, .mol-header .mol-btn-close .header__close-btn .btn__span, .mol-header .header__close-btn .header__close-btn .btn__span {
  display: none;
}

.btn-primary-xl_dark {
  background-color: var(--color-bg-primary);
  color: var(--colorA-primary);
  width: 90%;
  height: calc(var(--grid-step) * 3);
}
.btn-primary-xl_dark:hover {
  color: var(--color-text-light);
  animation: rollOverAnimation 1s ease-in-out infinite;
}

.mol-btn-secondary, .mol-btn-download-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border: var(--border-width) solid var(--colorA-primary);
  border-radius: var(--border-radius-md);
  background-color: transparent;
  color: var(--colorA-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  cursor: pointer;
  min-height: calc(var(--grid-step) * 2);
}
.mol-btn-secondary*, .mol-btn-download-secondary {
  pointer-events: none;
  text-decoration: none;
}
.mol-btn-secondary:hover:not(:disabled), .mol-btn-download-secondary:hover:not(:disabled) {
  background-color: var(--color-bg-tertiary);
  border-color: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  animation: rollOverAnimation 1s ease-in-out infinite;
}
.mol-btn-secondary:active:not(:disabled), .mol-btn-download-secondary:active:not(:disabled) {
  background-color: var(--color-bg-tertiary);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.mol-btn-secondary:focus, .mol-btn-download-secondary:focus {
  outline: 2px solid var(--colorA-primary);
  outline-offset: 2px;
}
.mol-btn-secondary:disabled, .mol-btn-download-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.mol-btn-secondary .btn__icon, .mol-btn-download-secondary .btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
  line-height: 1;
}
.mol-btn-secondary:not(.icon_button):not(.mol-btn-close) .mol-btn-secondary .btn__icon, .mol-btn-download-secondary:not(.icon_button):not(.mol-btn-close) .mol-btn-secondary .btn__icon, .mol-btn-secondary:not(.icon_button):not(.mol-btn-close) .mol-btn-download-secondary .btn__icon, .mol-btn-download-secondary:not(.icon_button):not(.mol-btn-close) .mol-btn-download-secondary .btn__icon {
  display: none;
}
.mol-btn-secondary .btn__span, .mol-btn-download-secondary .btn__span {
  display: inline-block;
  line-height: 1;
}
.icon_button .mol-btn-secondary .btn__span, .icon_button .mol-btn-download-secondary .btn__span, .mol-btn-close .mol-btn-secondary .btn__span, .mol-header .header__close-btn .mol-btn-secondary .btn__span, .mol-btn-close .mol-btn-download-secondary .btn__span, .mol-header .header__close-btn .mol-btn-download-secondary .btn__span {
  display: none;
}

.icon_button, .mol-btn-close, .mol-header .header__close-btn {
  padding: var(--spacing-sm);
  min-width: 2.5rem;
  min-height: 2.5rem;
}
.icon_button .btn__icon, .mol-btn-close .btn__icon, .mol-header .header__close-btn .btn__icon {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.25rem;
}
.icon_button .btn__span, .mol-btn-close .btn__span, .mol-header .header__close-btn .btn__span {
  display: none;
}

.text_button {
  padding: var(--spacing-sm);
  min-width: 2.5rem;
  min-height: 2.5rem;
}
.text_button .btn__icon {
  display: none;
}

.small {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
}
.small.icon_button, .small.mol-btn-close, .mol-header .small.header__close-btn {
  min-width: 2rem;
  min-height: 2rem;
}
.small.icon_button .btn__icon, .small.mol-btn-close .btn__icon, .mol-header .small.header__close-btn .btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
}

.large {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
}
.large.icon_button, .large.mol-btn-close, .mol-header .large.header__close-btn {
  min-width: 3rem;
  min-height: 3rem;
}
.large.icon_button .btn__icon, .large.mol-btn-close .btn__icon, .mol-header .large.header__close-btn .btn__icon {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.5rem;
}

.loading {
  position: relative;
  color: transparent;
}
.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 1s linear infinite;
}

.success {
  background-color: var(--color-success);
  color: var(--color-text-inverse);
}
.success:hover:not(:disabled) {
  background-color: #059669;
}

.warning {
  background-color: var(--color-warning);
  color: var(--color-text-inverse);
}
.warning:hover:not(:disabled) {
  background-color: #d97706;
}

.error {
  background-color: var(--color-error);
  color: var(--color-text-inverse);
}
.error:hover:not(:disabled) {
  background-color: #dc2626;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rollOverAnimation {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(0.95);
  }
}
@media (max-width: 768px) {
  .mol-btn-primary, .mol-btn-interactive, .mol-btn-download, .mol-btn-close, .mol-header .header__close-btn,
  .mol-btn-secondary,
  .mol-btn-download-secondary {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
  .mol-btn-primary.icon_button, .icon_button.mol-btn-interactive, .icon_button.mol-btn-download, .mol-btn-close, .mol-header .header__close-btn,
  .mol-btn-secondary.icon_button,
  .icon_button.mol-btn-download-secondary {
    min-width: 2.25rem;
    min-height: 2.25rem;
  }
  .mol-btn-primary.icon_button .btn__icon, .icon_button.mol-btn-interactive .btn__icon, .icon_button.mol-btn-download .btn__icon, .mol-btn-close .btn__icon, .mol-header .header__close-btn .btn__icon,
  .mol-btn-secondary.icon_button .btn__icon,
  .icon_button.mol-btn-download-secondary .btn__icon {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1rem;
  }
  .mol-btn-primary.large, .large.mol-btn-interactive, .large.mol-btn-download, .large.mol-btn-close, .mol-header .large.header__close-btn,
  .mol-btn-secondary.large,
  .large.mol-btn-download-secondary {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mol-btn-primary, .mol-btn-interactive, .mol-btn-download, .mol-btn-close, .mol-header .header__close-btn,
  .mol-btn-secondary,
  .mol-btn-download-secondary {
    transition: none;
  }
  .mol-btn-primary:hover:not(:disabled), .mol-btn-interactive:hover:not(:disabled), .mol-btn-download:hover:not(:disabled), .mol-btn-close:hover:not(:disabled), .mol-header .header__close-btn:hover:not(:disabled),
  .mol-btn-secondary:hover:not(:disabled),
  .mol-btn-download-secondary:hover:not(:disabled) {
    transform: none;
  }
  .mol-btn-primary:active:not(:disabled), .mol-btn-interactive:active:not(:disabled), .mol-btn-download:active:not(:disabled), .mol-btn-close:active:not(:disabled), .mol-header .header__close-btn:active:not(:disabled),
  .mol-btn-secondary:active:not(:disabled),
  .mol-btn-download-secondary:active:not(:disabled) {
    transform: none;
  }
  .mol-btn-primary.loading::after, .loading.mol-btn-interactive::after, .loading.mol-btn-download::after, .loading.mol-btn-close::after, .mol-header .loading.header__close-btn::after,
  .mol-btn-secondary.loading::after,
  .loading.mol-btn-download-secondary::after {
    animation: none;
  }
}
@media (prefers-color-scheme: dark) {
  .mol-btn-secondary, .mol-btn-download-secondary {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-primary);
    border-color: var(--border-color);
  }
  .mol-btn-secondary:hover:not(:disabled), .mol-btn-download-secondary:hover:not(:disabled) {
    background-color: var(--color-bg-tertiary);
    border-color: var(--color-secondary);
  }
}
.mol-progress {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.mol-progress[data-type=line] .progress__container {
  height: var(--grid-step);
}
.mol-progress[data-type=circle] .progress__container {
  background-color: transparent;
}
.mol-progress[data-type=circle] .progress__text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* corrige el desfase */
  font-size: var(--font-size-lg);
}
.mol-progress[data-type=story] .progress__container {
  display: flex;
  gap: var(--grid-step);
  justify-content: space-around;
  background-color: transparent;
}
.mol-progress[data-type=story] .progress__container .progress__step {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-secondary);
  border-radius: 9999px;
}
.mol-progress[data-type=story] .progress__container .progress__step.active {
  background-color: var(--colorA-primary);
}
.mol-progress .progress__container {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.mol-progress .progress__container .progress__bar {
  height: 100%;
  width: 0%;
  background-color: var(--colorA-primary);
  border-radius: var(--border-radius-sm);
  transition: width 250ms ease-out !important;
  position: relative;
}
.mol-progress .progress__container .progress__bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  animation: progress-shine 2s ease-in-out infinite;
}
.mol-progress .progress__text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  text-align: center;
}
.mol-progress .progress__text.hidden {
  display: none;
}
.mol-progress.type-line .progress__container {
  height: 0.5rem;
}
.mol-progress.type-circle .progress__container {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mol-progress.type-circle .progress__container .progress__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.mol-progress.type-circle .progress__container .progress__svg .progress__track {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 8;
  stroke-linecap: round;
}
.mol-progress.type-circle .progress__container .progress__svg .progress__fill {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 0 283;
  /* Animación manejada por JavaScript */
}
.mol-progress.type-circle .progress__container .progress__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-align: center;
  z-index: 1;
}
.mol-progress.type-story .progress__container {
  display: flex;
  gap: var(--spacing-xs);
  height: 0.25rem;
  background: none;
}
.mol-progress.type-story .progress__container .progress__step {
  flex: 1;
  height: 100%;
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
}
.mol-progress.type-story .progress__container .progress__step.active {
  background-color: var(--colorA-primary);
}
.mol-progress.size-small .progress__container {
  height: 0.25rem;
}
.mol-progress.size-small.type-circle .progress__container {
  width: 4rem;
  height: 4rem;
}
.mol-progress.size-small.type-circle .progress__container .progress__svg .progress__track,
.mol-progress.size-small.type-circle .progress__container .progress__svg .progress__fill {
  stroke-width: 6;
}
.mol-progress.size-small.type-story .progress__container {
  height: 0.125rem;
}
.mol-progress.size-large .progress__container {
  height: 1rem;
}
.mol-progress.size-large.type-circle .progress__container {
  width: 8rem;
  height: 8rem;
}
.mol-progress.size-large.type-circle .progress__container .progress__svg .progress__track,
.mol-progress.size-large.type-circle .progress__container .progress__svg .progress__fill {
  stroke-width: 12;
}
.mol-progress.size-large.type-story .progress__container {
  height: 0.5rem;
}
.mol-progress.width-auto {
  width: auto;
}
.mol-progress.width-25 {
  width: 25%;
}
.mol-progress.width-50 {
  width: 50%;
}
.mol-progress.width-75 {
  width: 75%;
}
.mol-progress.color-success .progress__bar,
.mol-progress.color-success .progress__container .progress__bar {
  background-color: var(--color-success);
}
.mol-progress.color-success.type-circle .progress__svg .progress__fill {
  stroke: var(--color-success);
}
.mol-progress.color-success.type-story .progress__step.active {
  background-color: var(--color-success);
}
.mol-progress.color-warning .progress__bar,
.mol-progress.color-warning .progress__container .progress__bar {
  background-color: var(--color-warning);
}
.mol-progress.color-warning.type-circle .progress__svg .progress__fill {
  stroke: var(--color-warning);
}
.mol-progress.color-warning.type-story .progress__step.active {
  background-color: var(--color-warning);
}
.mol-progress.color-error .progress__bar,
.mol-progress.color-error .progress__container .progress__bar {
  background-color: var(--color-error);
}
.mol-progress.color-error.type-circle .progress__svg .progress__fill {
  stroke: var(--color-error);
}
.mol-progress.color-error.type-story .progress__step.active {
  background-color: var(--color-error);
}
.mol-progress.color-secondary .progress__bar,
.mol-progress.color-secondary .progress__container .progress__bar {
  background-color: var(--colorB-primary);
}
.mol-progress.color-secondary.type-circle .progress__svg .progress__fill {
  stroke: var(--colorB-primary);
}
.mol-progress.color-secondary.type-story .progress__step.active {
  background-color: var(--colorB-primary);
}

@keyframes progress-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@media (max-width: 768px) {
  .mol-progress.type-circle .progress__container {
    width: 5rem;
    height: 5rem;
  }
  .mol-progress.size-large.type-circle .progress__container {
    width: 6rem;
    height: 6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mol-progress .progress__bar {
    transition: none;
  }
  .mol-progress .progress__bar::after {
    animation: none;
  }
}
.mol-btn-close, .mol-header .header__close-btn {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
}
.mol-btn-close .btn__icon, .mol-header .header__close-btn .btn__icon {
  display: flex !important;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.25rem;
  transition: transform var(--transition-normal);
}
.mol-btn-close:hover:not(:disabled) .btn__icon, .mol-header .header__close-btn:hover:not(:disabled) .btn__icon {
  transform: rotate(-90deg);
}
.mol-btn-close.small, .mol-header .small.header__close-btn {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
}
.mol-btn-close.small .btn__icon, .mol-header .small.header__close-btn .btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
}
.mol-btn-close.large, .mol-header .large.header__close-btn {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
}
.mol-btn-close.large .btn__icon, .mol-header .large.header__close-btn .btn__icon {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.5rem;
}

.mol-btn-download .btn__icon {
  display: flex !important;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
  line-height: 1;
}

.mol-btn-download-secondary .btn__icon {
  display: flex !important;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
  line-height: 1;
}

.mol-audio {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}
.mol-audio:hover {
  background-color: var(--color-bg-dark);
  border-color: var(--colorA-primary);
}
.mol-audio.playing {
  background-color: var(--colorA-primary);
  border-color: var(--colorA-primary-dark);
  color: var(--color-text-inverse);
}
.mol-audio .audio__container {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.mol-audio .audio__play-btn,
.mol-audio .audio__stop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--border-radius-full);
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: var(--font-size-sm);
}
.mol-audio .audio__play-btn:hover,
.mol-audio .audio__stop-btn:hover {
  background-color: var(--colorA-primary-dark);
  transform: scale(1.05);
}
.mol-audio .audio__play-btn:active,
.mol-audio .audio__stop-btn:active {
  transform: scale(0.95);
}
.mol-audio .audio__stop-btn {
  background-color: var(--color-error);
}
.mol-audio .audio__stop-btn:hover {
  background-color: #dc2626;
}
.mol-audio .audio__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
.mol-audio .audio__status {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
  min-width: 4rem;
  text-align: center;
}
.mol-audio.playing .audio__status {
  color: var(--color-text-inverse);
}
.mol-audio.error .audio__status {
  color: var(--color-error);
}
.mol-audio.compact {
  padding: var(--spacing-xs);
}
.mol-audio.compact .audio__play-btn,
.mol-audio.compact .audio__stop-btn {
  width: 2rem;
  height: 2rem;
}
.mol-audio.compact .audio__icon {
  width: 1rem;
  height: 1rem;
}
.mol-audio.large {
  padding: var(--spacing-md);
}
.mol-audio.large .audio__play-btn,
.mol-audio.large .audio__stop-btn {
  width: 3rem;
  height: 3rem;
}
.mol-audio.large .audio__icon {
  width: 1.5rem;
  height: 1.5rem;
}
.mol-audio.large .audio__status {
  font-size: var(--font-size-sm);
}
.mol-audio.compactRound {
  position: relative;
  width: calc(var(--grid-step) * 4.5);
  height: calc(var(--grid-step) * 2.3);
  padding: 2px;
  border-radius: var(--border-radius-full);
  overflow: hidden;
}
.mol-audio.compactRound .audio__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mol-audio.compactRound .audio__play-btn,
.mol-audio.compactRound .audio__stop-btn {
  position: absolute;
  width: calc(var(--grid-step) * 2);
  height: calc(var(--grid-step) * 2);
  border-radius: var(--border-radius-full);
  z-index: 2;
}
.mol-audio.compactRound .audio__play-btn {
  left: 0;
}
.mol-audio.compactRound .audio__stop-btn {
  right: 0;
}
.mol-audio.compactRound .audio__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.mol-audio.compactRound.loading .audio__overlay, .mol-audio.compactRound.error .audio__overlay {
  opacity: 1;
  visibility: visible;
}
.mol-audio.compactRound .audio__wave-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.mol-audio.compactRound .audio__wave-bar {
  width: 3px;
  height: 100%;
  background-color: var(--colorA-primary);
  border-radius: 2px;
  animation: audio-wave-animation 1.2s ease-in-out infinite;
  position: fixed;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(1) {
  animation-delay: 0s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(2) {
  animation-delay: 0.1s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(3) {
  animation-delay: 0.2s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(4) {
  animation-delay: 0.3s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(5) {
  animation-delay: 0.4s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(6) {
  animation-delay: 0.5s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(7) {
  animation-delay: 0.6s;
}
.mol-audio.compactRound .audio__wave-bar:nth-child(8) {
  animation-delay: 0.7s;
}
.mol-audio.compactRound.playing .audio__wave-container {
  opacity: 1;
  visibility: visible;
}
.mol-audio.compactRound .audio__play-btn::before,
.mol-audio.compactRound .audio__stop-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 20;
  pointer-events: none;
}
.mol-audio.compactRound .audio__play-btn::after,
.mol-audio.compactRound .audio__stop-btn::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--color-bg-dark);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 20;
  pointer-events: none;
}
.mol-audio.compactRound .audio__play-btn:hover::before,
.mol-audio.compactRound .audio__stop-btn:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 4px);
}
.mol-audio.compactRound .audio__play-btn:hover::after,
.mol-audio.compactRound .audio__stop-btn:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% - 4px);
}
.mol-audio.compactRound.error .audio__overlay {
  background-color: rgba(239, 68, 68, 0.9);
}
.mol-audio.compactRound.loading .audio__overlay {
  background-color: rgba(59, 130, 246, 0.9);
}
@keyframes audio-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.mol-audio.playing .audio__play-btn {
  animation: audio-pulse 2s ease-in-out infinite;
}
@keyframes audio-loading-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes audio-wave-animation {
  0%, 100% {
    height: 20%;
    opacity: 0.6;
  }
  50% {
    height: 100%;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .mol-audio {
    padding: var(--spacing-xs);
  }
  .mol-audio .audio__play-btn,
  .mol-audio .audio__stop-btn {
    width: 2rem;
    height: 2rem;
  }
  .mol-audio .audio__icon {
    width: 1rem;
    height: 1rem;
  }
  .mol-audio .audio__status {
    font-size: 0.625rem;
    min-width: 3rem;
  }
  .mol-audio.compactRound {
    width: 4rem;
    height: 2rem;
  }
  .mol-audio.compactRound .audio__play-btn,
  .mol-audio.compactRound .audio__stop-btn {
    width: 2rem;
    height: 2rem;
  }
  .mol-audio.compactRound .audio__wave-container {
    width: 2.5rem;
    height: 1.25rem;
  }
  .mol-audio.compactRound .audio__wave-container .audio__wave-bar {
    width: 2px;
  }
}

.mol-breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
.mol-breadcrumbs .breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}
.mol-breadcrumbs .breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.mol-breadcrumbs .breadcrumbs__item:last-child .breadcrumbs__link {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  pointer-events: none;
}
.mol-breadcrumbs .breadcrumbs__item:last-child .breadcrumbs__separator {
  display: none;
}
.mol-breadcrumbs .breadcrumbs__link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
}
.mol-breadcrumbs .breadcrumbs__link:hover {
  color: var(--colorA-primary);
  background-color: var(--color-bg-secondary);
}
.mol-breadcrumbs .breadcrumbs__link:focus {
  outline: 2px solid var(--colorA-primary);
  outline-offset: 2px;
}
.mol-breadcrumbs .breadcrumbs__icon {
  font-size: var(--font-size-sm);
  line-height: 1;
  margin-right: var(--spacing-xs);
  display: inline-block;
}
.mol-breadcrumbs .breadcrumbs__icon.emoji {
  font-size: 1.2em;
  vertical-align: middle;
}
.mol-breadcrumbs .breadcrumbs__separator {
  color: var(--color-text-tertiary);
  font-size: var(--font-size-xs);
  margin: 0 var(--spacing-xs);
}
.mol-breadcrumbs.variant-compact {
  font-size: var(--font-size-xs);
}
.mol-breadcrumbs.variant-compact .breadcrumbs__link {
  padding: var(--spacing-xs);
}
.mol-breadcrumbs.variant-compact .breadcrumbs__separator {
  font-size: 0.625rem;
}
.mol-breadcrumbs.variant-large {
  font-size: var(--font-size-base);
}
.mol-breadcrumbs.variant-large .breadcrumbs__link {
  padding: var(--spacing-sm) var(--spacing-md);
}
.mol-breadcrumbs.variant-large .breadcrumbs__separator {
  font-size: var(--font-size-sm);
}
.mol-breadcrumbs.size-small {
  font-size: var(--font-size-xs);
}
.mol-breadcrumbs.size-small .breadcrumbs__link {
  padding: var(--spacing-xs);
}
.mol-breadcrumbs.size-large {
  font-size: var(--font-size-lg);
}
.mol-breadcrumbs.size-large .breadcrumbs__link {
  padding: var(--spacing-md) var(--spacing-lg);
}
.mol-breadcrumbs.with-icons .breadcrumbs__icon {
  display: inline-block;
}
.mol-breadcrumbs .breadcrumbs__icon {
  display: none;
}
@media (max-width: 768px) {
  .mol-breadcrumbs {
    font-size: var(--font-size-xs);
  }
  .mol-breadcrumbs .breadcrumbs__link {
    padding: var(--spacing-xs);
  }
  .mol-breadcrumbs .breadcrumbs__separator {
    font-size: 0.625rem;
  }
  .mol-breadcrumbs.variant-large {
    font-size: var(--font-size-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mol-breadcrumbs .breadcrumbs__link {
    transition: none;
  }
}

.mol-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  background-color: var(--color-bg-secondary);
  border-bottom: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  position: relative;
}
.mol-header .header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mol-header .header__container--centered {
  justify-content: center;
  text-align: center;
}
.mol-header .header__container--centered .header__content {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
}
.mol-header .header__container--centered .header__actions {
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
}
.mol-header .header__container--centered:not(:has(.header__actions)) {
  justify-content: center;
}
.mol-header .header__container--centered:not(:has(.header__actions)) .header__content {
  margin: 0;
  max-width: none;
}
.mol-header .header__container--compact {
  justify-content: center;
  text-align: center;
}
.mol-header .header__container--compact .header__content {
  flex: 1;
}
.mol-header .header__container--compact .header__actions {
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
}
.mol-header .header__container--compact .header__title {
  font-size: var(--font-size-lg);
}
.mol-header .header__container--compact .header__subtitle {
  font-size: var(--font-size-xs);
}
.mol-header .header__container--compact:not(:has(.header__actions)) {
  justify-content: center;
}
.mol-header .header__container--compact:not(:has(.header__actions)) .header__content {
  margin: 0;
  max-width: none;
}
.mol-header .header__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  flex: 1;
  margin-right: var(--spacing-lg);
  text-align: left;
}
.mol-header .header__content.text-align-center {
  text-align: center !important;
}
.mol-header .header__content.text-align-center .header__title,
.mol-header .header__content.text-align-center .header__subtitle {
  text-align: center !important;
}
.mol-header .header__content.text-align-right {
  text-align: right !important;
}
.mol-header .header__content.text-align-right .header__title,
.mol-header .header__content.text-align-right .header__subtitle {
  text-align: right !important;
}
.mol-header .header__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.2;
  text-align: inherit;
}
.mol-header .header__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
  text-align: inherit;
}
.mol-header .header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}
.mol-header .header__close-btn {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
}
.mol-header .header__close-btn .btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
}
.mol-header.bg-colorA-primary {
  background-color: var(--colorA-primary) !important;
}
.mol-header.bg-colorA-primary .header__title,
.mol-header.bg-colorA-primary .header__subtitle {
  color: var(--color-text-inverse);
}
.mol-header.bg-colorA-primary .header__close-btn {
  color: var(--color-text-inverse) !important;
  background-color: transparent !important;
}
.mol-header.bg-colorA-primary .header__close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-text-inverse) !important;
}
.mol-header.bg-colorA-primary-dark {
  background-color: var(--colorA-primary-dark) !important;
}
.mol-header.bg-colorA-primary-dark .header__title,
.mol-header.bg-colorA-primary-dark .header__subtitle {
  color: var(--color-text-inverse);
}
.mol-header.bg-colorA-primary-dark .header__close-btn {
  color: var(--color-text-inverse) !important;
  background-color: transparent !important;
}
.mol-header.bg-colorA-primary-dark .header__close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-text-inverse) !important;
}
.mol-header.bg-colorA-primary-light {
  background-color: var(--colorA-primary-light) !important;
}
.mol-header.bg-colorA-primary-light .header__title {
  color: var(--color-text-primary);
}
.mol-header.bg-colorA-primary-light .header__subtitle {
  color: var(--color-text-secondary);
}
.mol-header.bg-colorA-primary-light .header__close-btn {
  color: var(--color-text-secondary) !important;
  background-color: transparent !important;
}
.mol-header.bg-colorA-primary-light .header__close-btn:hover {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-primary) !important;
}
.mol-header.bg-colorB-primary {
  background-color: var(--colorB-primary) !important;
}
.mol-header.bg-colorB-primary .header__title,
.mol-header.bg-colorB-primary .header__subtitle {
  color: var(--color-text-primary);
}
.mol-header.bg-colorB-primary .header__close-btn {
  color: var(--color-text-primary) !important;
  background-color: transparent !important;
}
.mol-header.bg-colorB-primary .header__close-btn:hover {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-primary) !important;
}
.mol-header.bg-colorB-primary-dark {
  background-color: var(--colorB-primary-dark) !important;
}
.mol-header.bg-colorB-primary-dark .header__title,
.mol-header.bg-colorB-primary-dark .header__subtitle {
  color: var(--color-text-primary);
}
.mol-header.bg-colorB-primary-dark .header__close-btn {
  color: var(--color-text-primary) !important;
  background-color: transparent !important;
}
.mol-header.bg-colorB-primary-dark .header__close-btn:hover {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-primary) !important;
}
.mol-header.bg-colorB-primary-light {
  background-color: var(--colorB-primary-light) !important;
}
.mol-header.bg-colorB-primary-light .header__title,
.mol-header.bg-colorB-primary-light .header__subtitle {
  color: var(--color-text-primary);
}
.mol-header.bg-colorB-primary-light .header__close-btn {
  color: var(--color-text-secondary) !important;
  background-color: transparent !important;
}
.mol-header.bg-colorB-primary-light .header__close-btn:hover {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-primary) !important;
}
.mol-header.bg-color-dark {
  background-color: var(--color-bg-dark) !important;
}
.mol-header.bg-color-dark .header__title,
.mol-header.bg-color-dark .header__subtitle {
  color: var(--color-text-inverse);
}
.mol-header.bg-color-dark .header__close-btn {
  color: var(--color-text-inverse) !important;
  background-color: transparent !important;
}
.mol-header.bg-color-dark .header__close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-text-inverse) !important;
}
.mol-header.bg-color-light {
  background-color: var(--color-bg-primary) !important;
}
.mol-header.bg-color-light .header__title,
.mol-header.bg-color-light .header__subtitle {
  color: var(--color-text-primary);
}
.mol-header.bg-color-light .header__close-btn {
  color: var(--color-text-secondary) !important;
  background-color: transparent !important;
}
.mol-header.bg-color-light .header__close-btn:hover {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-primary) !important;
}
.mol-header.bg-color-white {
  background-color: white !important;
}
.mol-header.bg-color-white .header__title,
.mol-header.bg-color-white .header__subtitle {
  color: var(--color-text-primary);
}
.mol-header.bg-color-white .header__close-btn {
  color: var(--color-text-secondary) !important;
  background-color: transparent !important;
}
.mol-header.bg-color-white .header__close-btn:hover {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-primary) !important;
}
.mol-header.size-small {
  padding: var(--spacing-md);
}
.mol-header.size-small .header__title {
  font-size: var(--font-size-lg);
}
.mol-header.size-small .header__subtitle {
  font-size: var(--font-size-xs);
}
.mol-header.size-small .header__close-btn {
  width: 1.75rem;
  height: 1.75rem;
  min-width: 1.75rem;
  min-height: 1.75rem;
}
.mol-header.size-small .header__close-btn .btn__icon {
  width: 1rem;
  height: 1rem;
  font-size: 0.875rem;
}
.mol-header.size-large {
  padding: var(--spacing-xl);
}
.mol-header.size-large .header__title {
  font-size: var(--font-size-2xl);
}
.mol-header.size-large .header__subtitle {
  font-size: var(--font-size-base);
}
.mol-header.size-large .header__close-btn {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
}
.mol-header.size-large .header__close-btn .btn__icon {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.25rem;
}
.mol-header.variant-compact .header__content {
  align-items: center;
  text-align: center;
}
.mol-header.variant-compact .header__title {
  font-size: var(--font-size-lg);
}
.mol-header.variant-compact .header__subtitle {
  font-size: var(--font-size-xs);
}
.mol-header.variant-large .header__title {
  font-size: var(--font-size-2xl);
}
.mol-header.variant-large .header__subtitle {
  font-size: var(--font-size-base);
}
.mol-header.no-close .header__actions {
  display: none;
}
.mol-header.sticky {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}
.mol-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
}
@media (max-width: 768px) {
  .mol-header {
    padding: var(--spacing-md);
  }
  .mol-header .header__content {
    margin-right: var(--spacing-md);
  }
  .mol-header .header__title {
    font-size: var(--font-size-lg);
  }
  .mol-header .header__subtitle {
    font-size: var(--font-size-xs);
  }
  .mol-header .header__actions {
    right: var(--spacing-md);
  }
  .mol-header .header__close-btn {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    min-height: 1.75rem;
  }
  .mol-header .header__close-btn .btn__icon {
    width: 1rem;
    height: 1rem;
    font-size: 0.875rem;
  }
  .mol-header.size-large {
    padding: var(--spacing-lg);
  }
  .mol-header.size-large .header__content {
    margin-right: var(--spacing-lg);
  }
  .mol-header.size-large .header__actions {
    right: var(--spacing-lg);
  }
  .mol-header.size-large .header__title {
    font-size: var(--font-size-xl);
  }
  .mol-header.size-large .header__subtitle {
    font-size: var(--font-size-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mol-header .header__close-btn {
    transition: none;
  }
}

.container-with-header {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-primary);
  box-shadow: var(--shadow-md);
}
.container-with-header .mol-header {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  margin: 0;
}
.container-with-header > *:not(.mol-header) {
  padding: var(--spacing-lg);
}

.mol-tooltip {
  position: relative;
  color: var(--colorB-primary);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border-bottom: 2px dotted var(--colorB-primary);
  transition: all var(--transition-fast);
  padding: 0.2rem 0.1rem;
  text-decoration: none;
  display: inline;
}
.mol-tooltip:hover {
  background: rgba(var(--colorB-primary-rgb, 0, 123, 255), 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--colorB-primary-dark);
}
.mol-tooltip[data-type=modal] {
  border-bottom: 2px solid var(--colorB-primary);
  position: relative;
}
.mol-tooltip[data-type=modal]::after {
  content: "ⓘ";
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.7rem;
  background: var(--colorB-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.mol-tooltip[data-type=modal]:hover {
  background: rgba(var(--colorB-primary-rgb, 0, 123, 255), 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(var(--colorB-primary-rgb, 0, 123, 255), 0.2);
}

.tooltip__content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  background: var(--color-white);
  border: 2px solid var(--colorB-primary);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  width: auto;
  min-width: 200px;
  max-width: 350px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  white-space: normal;
}
.tooltip__content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--colorB-primary);
}

.tooltip--visible .tooltip__content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
  background-color: var(--colorA-primary-dark);
}

.tooltip__title {
  font-weight: var(--font-weight-bold);
  color: var(--colorA-primary);
  margin: 0 0 var(--spacing-xs) 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.tooltip__description {
  color: var(--color-text-inverse);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  z-index: 1000;
}

.tooltip__image-container {
  display: none;
}

.mol-tooltip[data-position=bottom] .tooltip__content {
  bottom: auto;
  top: 100%;
  transform: translateX(-50%) translateY(10px);
}
.mol-tooltip[data-position=bottom] .tooltip__content::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--colorB-primary);
}
.mol-tooltip[data-position=bottom].tooltip--visible .tooltip__content {
  transform: translateX(-50%) translateY(5px);
}

.mol-tooltip[data-position=left] .tooltip__content {
  bottom: auto;
  top: 50%;
  left: auto;
  right: 100%;
  transform: translateY(-50%) translateX(-10px);
}
.mol-tooltip[data-position=left] .tooltip__content::after {
  top: 50%;
  left: 100%;
  right: auto;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: var(--colorB-primary);
}
.mol-tooltip[data-position=left].tooltip--visible .tooltip__content {
  transform: translateY(-50%) translateX(-5px);
}

.mol-tooltip[data-position=right] .tooltip__content {
  bottom: auto;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) translateX(10px);
}
.mol-tooltip[data-position=right] .tooltip__content::after {
  top: 50%;
  left: auto;
  right: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-color: var(--colorB-primary);
}
.mol-tooltip[data-position=right].tooltip--visible .tooltip__content {
  transform: translateY(-50%) translateX(5px);
}

@media (max-width: 768px) {
  .tooltip__content {
    min-width: 200px;
    max-width: 280px;
    font-size: 0.9rem;
  }
  .tooltip__title {
    font-size: 1rem;
  }
  .tooltip__description {
    font-size: 0.85rem;
  }
}
.mol-btn-interactive {
  min-width: 120px;
}
.mol-btn-interactive[data-state=inactive] {
  background-color: var(--color-gray-300, #d1d5db);
  color: var(--color-gray-500, #6b7280);
  cursor: not-allowed;
  opacity: 0.6;
  border-color: var(--color-gray-300, #d1d5db);
}
.mol-btn-interactive[data-state=inactive] .btn__icon {
  opacity: 0.5;
}
.mol-btn-interactive[data-state=inactive]:hover {
  background-color: var(--color-gray-300, #d1d5db);
  transform: none;
  box-shadow: none;
  animation: none;
}
.mol-btn-interactive[data-state=inactive]:active {
  transform: none;
  box-shadow: none;
}
.mol-btn-interactive[data-state=active] {
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
  border-color: transparent;
}
.mol-btn-interactive[data-state=active]:hover:not(:disabled) {
  background-color: var(--colorA-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  animation: rollOverAnimation 1s ease-in-out infinite;
}
.mol-btn-interactive[data-state=active]:active:not(:disabled) {
  background-color: var(--colorA-primary-dark);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.mol-btn-interactive[data-state=target] {
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
  border: 2px solid var(--colorA-primary-light, #60a5fa);
  animation: targetPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(var(--colorA-primary-rgb, 0, 123, 255), 0.6);
}
.mol-btn-interactive[data-state=target]:hover:not(:disabled) {
  background-color: var(--colorA-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(var(--colorA-primary-rgb, 0, 123, 255), 0.8);
  animation: targetPulse 2s ease-in-out infinite, rollOverAnimation 1s ease-in-out infinite;
}
.mol-btn-interactive[data-state=target] .btn__icon {
  animation: targetIconPulse 1.5s ease-in-out infinite;
}
.mol-btn-interactive[data-state=completed] {
  background-color: var(--color-success, #10b981);
  color: var(--color-text-inverse);
  cursor: default;
  border-color: var(--color-success, #10b981);
}
.mol-btn-interactive[data-state=completed]:hover {
  background-color: var(--color-success, #10b981);
  transform: none;
  box-shadow: none;
  animation: none;
}
.mol-btn-interactive[data-state=completed]:active {
  transform: none;
  box-shadow: none;
}
.mol-btn-interactive[data-state=completed]::after {
  content: " ✓";
  font-weight: var(--font-weight-bold);
  margin-left: var(--spacing-xs);
}
.mol-btn-interactive.size-small {
  min-width: 100px;
}
.mol-btn-interactive.size-small .btn__icon {
  font-size: 0.875rem;
}
.mol-btn-interactive.size-large {
  min-width: 160px;
}
.mol-btn-interactive.size-large .btn__icon {
  font-size: 1.25rem;
}
.mol-btn-interactive.variant-outline {
  background-color: transparent;
  border: 2px solid var(--colorA-primary);
  color: var(--colorA-primary);
}
.mol-btn-interactive.variant-outline[data-state=inactive] {
  border-color: var(--color-gray-300, #d1d5db);
  color: var(--color-gray-500, #6b7280);
}
.mol-btn-interactive.variant-outline[data-state=active]:hover:not(:disabled) {
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
}
.mol-btn-interactive.variant-outline[data-state=target] {
  border-color: var(--colorA-primary-light, #60a5fa);
  box-shadow: 0 0 20px rgba(var(--colorA-primary-rgb, 0, 123, 255), 0.4);
}
.mol-btn-interactive.variant-outline[data-state=target]:hover:not(:disabled) {
  background-color: var(--colorA-primary);
  color: var(--color-text-inverse);
}
.mol-btn-interactive.variant-outline[data-state=completed] {
  background-color: var(--color-success, #10b981);
  border-color: var(--color-success, #10b981);
  color: var(--color-text-inverse);
}
.mol-btn-interactive .btn__icon {
  display: flex !important;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
  line-height: 1;
  transition: all var(--transition-fast);
}
.mol-btn-interactive .btn__text {
  display: inline-block;
  line-height: 1;
}

@media (max-width: 768px) {
  .mol-btn-interactive.size-small {
    min-width: 80px;
  }
  .mol-btn-interactive.size-small .btn__icon {
    font-size: 0.75rem;
  }
  .mol-btn-interactive.size-large {
    min-width: 140px;
  }
  .mol-btn-interactive.size-large .btn__icon {
    font-size: 1.125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mol-btn-interactive[data-state=target] {
    animation: none;
  }
  .mol-btn-interactive[data-state=target] .btn__icon {
    animation: none;
  }
  .mol-btn-interactive:hover:not(:disabled) {
    transform: none;
  }
  .mol-btn-interactive:active:not(:disabled) {
    transform: none;
  }
}
@keyframes targetPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(var(--colorA-primary-rgb, 0, 123, 255), 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(var(--colorA-primary-rgb, 0, 123, 255), 0.8);
    transform: scale(1.02);
  }
}
@keyframes targetIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.index-content .index-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-height: 60vh;
  overflow-y: auto;
  padding: var(--spacing-md);
}
.index-content .index-list::-webkit-scrollbar {
  width: 8px;
}
.index-content .index-list::-webkit-scrollbar-track {
  background: var(--color-light, #f1f5f9);
  border-radius: var(--border-radius-full);
}
.index-content .index-list::-webkit-scrollbar-thumb {
  background: var(--color-text-secondary, #64748b);
  border-radius: var(--border-radius-full);
}
.index-content .index-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-primary, #334155);
}
.index-content .status-text {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
}
.index-content .index-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--border-radius-lg);
  background: white;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}
.index-content .index-item:hover {
  border-color: var(--colorA-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.index-content .index-item.current {
  border-color: var(--colorA-primary);
  background: var(--colorA-primary-light, #f0f9ff);
}
.index-content .index-item.current .current-indicator {
  background: var(--colorA-primary);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}
.index-content .index-item.viewed {
  border-left: 4px solid var(--color-success, #10b981);
}
.index-content .index-item.completed {
  border-left: 4px solid var(--colorA-primary);
}
.index-content .index-item.completed .completion-check {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--colorA-primary);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
}
.index-content .index-item.locked {
  opacity: 0.6;
  cursor: not-allowed;
}
.index-content .index-item.locked:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--color-border, #e2e8f0);
}
.index-content .index-item.locked .locked-indicator {
  background: var(--color-text-secondary, #64748b);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}
.index-content .index-item-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
}
.index-content .index-item-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light, #f8fafc);
  border-radius: var(--border-radius-full);
  color: var(--color-text-secondary, #64748b);
  flex-shrink: 0;
}
.index-content .index-item-icon svg {
  width: 20px;
  height: 20px;
}
.index-content .index-item-text {
  flex: 1;
  min-width: 0;
}
.index-content .index-item-text .index-item-title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-md);
}
.index-content .index-item-text .index-item-subtitle {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
  text-transform: capitalize;
}
.index-content .index-item-text .index-item-description {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}
.index-content .index-item-text .continue-here {
  display: inline-block;
  background: var(--color-warning);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  margin-top: var(--spacing-xs);
  animation: pulse 2s infinite;
}
.index-content .index-item-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-xs);
  flex-shrink: 0;
}
.index-content .index-item-status .current-indicator,
.index-content .index-item-status .locked-indicator {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  white-space: nowrap;
}

.toast-container {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  animation: toast-slide-in var(--transition-normal) ease-out;
}
.toast.toast-hiding {
  animation: toast-slide-out var(--transition-normal) ease-in forwards;
}
.toast.toast--info {
  background-color: var(--color-info);
  color: var(--color-text-inverse);
}
.toast.toast--success {
  background-color: var(--color-success);
  color: var(--color-text-inverse);
}
.toast.toast--warning {
  background-color: var(--color-warning);
  color: var(--color-text-inverse);
}
.toast.toast--error {
  background-color: var(--color-error);
  color: var(--color-text-inverse);
}
.toast .toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--spacing-md);
}
.toast .toast-message {
  flex: 1;
  font-weight: var(--font-weight-medium);
}
.toast .toast-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.toast .toast-close:hover {
  opacity: 1;
}

@keyframes toast-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-overlay);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.modal {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modal-slide-in var(--transition-normal) ease-out;
}
.modal.modal-hiding {
  animation: modal-slide-out var(--transition-normal) ease-in forwards;
}
.modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}
.modal .modal-dialog {
  position: relative;
  z-index: 1;
}
.modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: var(--border-width) solid var(--border-color);
}
.modal .modal-header h2 {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}
.modal .modal-body {
  padding: var(--spacing-lg);
  max-height: 60vh;
  overflow-y: auto;
}
.modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-top: var(--border-width) solid var(--border-color);
}
.modal .modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
}
.modal .modal-close:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

@keyframes modal-slide-in {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@keyframes modal-slide-out {
  from {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  to {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
}
.video-intro-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-overlay);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.video-intro-modal .video-intro-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}
.video-intro-modal .video-intro-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 600px;
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.video-intro-modal .video-intro-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-top: var(--border-width) solid var(--border-color);
}
.video-intro-modal .auto-start-timer {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.autoplay-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-overlay);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.autoplay-overlay .autoplay-content {
  text-align: center;
}
.autoplay-overlay.audio-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.video-error {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-primary);
}
.video-error .error-content {
  text-align: center;
  padding: var(--spacing-xl);
}
.video-error .error-content h3 {
  color: var(--color-error);
  margin-bottom: var(--spacing-md);
}

.steps-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-bottom: var(--border-width) solid var(--border-color);
  background-color: var(--color-bg-secondary);
}
.steps-nav .step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: var(--spacing-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-primary);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.steps-nav .step-btn:hover {
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}
.steps-nav .step-btn[aria-selected=true] {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.steps-panel {
  flex: 1;
  padding: var(--spacing-xl);
  overflow-y: auto;
}
.steps-panel h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.quiz-form {
  width: 100%;
  max-width: 600px;
}
.quiz-form .quiz-question {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-lg);
  background-color: var(--color-bg-primary);
}
.quiz-form .quiz-question h4 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}
.quiz-form .quiz-question .quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.quiz-form .quiz-question .quiz-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.quiz-form .quiz-question .quiz-option:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-primary);
}
.quiz-form .quiz-question .quiz-option input[type=radio] {
  margin: 0;
}
.quiz-form .quiz-question .quiz-option label {
  flex: 1;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
}

.quiz-feedback {
  display: none;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
}
.quiz-feedback.feedback--correct {
  background-color: var(--color-success);
  color: var(--color-text-inverse);
}
.quiz-feedback.feedback--incorrect {
  background-color: var(--color-error);
  color: var(--color-text-inverse);
}
.quiz-feedback h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

.hotspot {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: var(--color-primary);
  border: 2px solid var(--color-text-inverse);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hotspot:hover {
  transform: scale(1.2);
  box-shadow: var(--shadow-lg);
}
.hotspot .hotspot-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: var(--spacing-sm);
  padding: var(--spacing-md);
  background-color: var(--color-bg-primary);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  z-index: var(--z-popover);
}
.hotspot .hotspot-popup h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}
.hotspot .hotspot-popup p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.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;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}
.loading::after {
  content: "";
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: var(--border-radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
@media (max-width: 768px) {
  .nav-bar {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  .nav-bar .nav-title {
    font-size: var(--font-size-base);
  }
  .index-lightbox .index-content,
  .modal,
  .video-intro-content {
    width: 95%;
    margin: var(--spacing-md);
  }
  .toast-container {
    top: var(--spacing-md);
    right: var(--spacing-md);
    left: var(--spacing-md);
    max-width: none;
  }
  .steps-nav {
    flex-wrap: wrap;
    gap: var(--spacing-xs);
  }
  .steps-nav .step-btn {
    min-width: 2rem;
    height: 2rem;
    font-size: var(--font-size-xs);
  }
  .quiz-form .quiz-question {
    padding: var(--spacing-md);
  }
}
@media (max-width: 480px) {
  .btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
  .index-item {
    padding: var(--spacing-sm);
  }
  .index-item .index-item-content {
    gap: var(--spacing-sm);
  }
  .index-item .index-item-number {
    width: 1.5rem;
    height: 1.5rem;
    font-size: var(--font-size-xs);
  }
}
.container {
  padding: var(--grid-step);
}

.basic-container {
  padding: var(--grid-step);
  border-radius: var(--border-radius-md);
  margin-top: var(--grid-step);
  margin-bottom: var(--grid-step);
}

.line-spacer {
  height: 1px;
  background-color: var(--color-secondary-light);
  width: 100%;
  margin-top: var(--grid-step);
  margin-bottom: var(--grid-step);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-primary: #1e293b;
    --color-bg-secondary: #334155;
    --color-bg-tertiary: #475569;
    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #94a3b8;
    --border-color: #475569;
  }
}
.loading-spinner {
  border-color: var(--color-light, #e5e7eb);
  border-top-color: var(--colorA-primary, #6366f1);
}

.iframe-loading-spinner {
  border-color: var(--color-light, #e5e7eb);
  border-top-color: var(--colorA-primary, #6366f1);
}

.local-storage-indicator {
  background: var(--color-error, #dc2626);
  color: white;
  box-shadow: var(--shadow-sm);
}

.indicator-close {
  color: white;
}
.indicator-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.player-header {
  border-bottom-color: var(--color-light, #e5e7eb);
  box-shadow: var(--shadow-sm);
}

.iframe-loading-overlay {
  background: rgba(255, 255, 255, 0.8);
}

.content-area {
  width: 100%;
  height: 100%;
}
.content-area #content-iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  background: transparent;
  display: block;
  transition: opacity var(--transition-normal);
}

.resource-container {
  background: white;
  box-shadow: var(--shadow-sm);
}

.resource-header {
  border-bottom-color: var(--color-light, #e5e7eb);
}

.resource-footer {
  border-top-color: var(--color-light, #e5e7eb);
  background: var(--color-light, #f9fafb);
}

.resource-lamina {
  border-left-color: var(--colorA-primary, #6366f1);
}

.resource-video {
  border-left-color: var(--color-error, #ef4444);
}

.resource-actividad {
  border-left-color: var(--color-success, #10b981);
}

.resource-lectura {
  border-left-color: var(--color-warning, #f59e0b);
}

.video-container {
  box-shadow: var(--shadow-md);
}

.pdf-container {
  border-color: var(--color-light, #e5e7eb);
}

.slide {
  background: white;
  box-shadow: var(--shadow-sm);
}

.slide-footer {
  border-top-color: var(--color-light, #e5e7eb);
}

.nav-bar {
  background: white;
  border-bottom-color: var(--color-light, #e5e7eb);
}

.progress-bar {
  background: var(--color-light, #e5e7eb);
}

.progress-fill {
  background: var(--colorA-primary, #6366f1);
}

.btn-circular {
  background: white;
  color: var(--color-muted, #6b7280);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-light, #e5e7eb);
}
.btn-circular:hover {
  background: var(--color-light, #f9fafb);
  color: var(--color-dark, #374151);
  box-shadow: var(--shadow-md);
}

.btn-volume.muted::after {
  background: var(--color-error, #dc2626);
}

.toast {
  background: white;
  box-shadow: var(--shadow-lg);
  border-left-color: var(--colorA-primary, #6366f1);
}

.modal {
  background: var(--color-bg-overlay, rgba(0, 0, 0, 0.5));
}

.modal-dialog {
  background: white;
}

.modal-header {
  border-bottom-color: var(--color-light, #e5e7eb);
}

.modal-footer {
  border-top-color: var(--color-light, #e5e7eb);
}

.btn-primary {
  background: var(--colorA-primary, #6366f1);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: row;
  gap: var(--spacing-sm);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: var(--spacing-sm) var(--spacing-md);
  min-height: calc(var(--grid-step) * 2);
}
.btn-primary:hover {
  background: var(--colorA-primary-dark, #5855eb);
  animation: rollOverAnimation 1s ease-in-out infinite;
}

.btn-secondary {
  background: var(--color-light, #f3f4f6);
  color: var(--color-dark, #374151);
}
.btn-secondary:hover {
  background: var(--color-light-dark, #e5e7eb);
}

.resource-container.error .resource-content {
  color: var(--color-error, #dc2626);
}
.resource-container.error .resource-content h1 {
  color: var(--color-error, #dc2626);
}

.action-zone {
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  right: 24px;
  z-index: 101;
}

.action-zone .mol-btn-primary.icon_button:hover, .action-zone .icon_button.mol-btn-download:hover, .action-zone .icon_button.mol-btn-interactive:hover, .action-zone .mol-btn-close:hover, .action-zone .mol-header .header__close-btn:hover, .mol-header .action-zone .header__close-btn:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.icon {
  width: var(--grid-step);
  height: var(--grid-step);
}

.previous-button {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--color-light, #e5e7eb);
  border-radius: var(--border-radius-lg);
  /*box-shadow: var(--shadow-md);*/
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}
.previous-button:hover {
  background: var(--color-light, #f9fafb);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.previous-button:active {
  transform: translateY(0);
}
.previous-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.previous-button.disabled:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}
.previous-button svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-secondary);
  transition: color var(--transition-normal);
}
.previous-button span {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-normal);
}
.previous-button:hover svg, .previous-button:hover span {
  color: var(--color-text-primary);
}

.advance-overlay {
  background: var(--color-bg-overlay, rgba(0, 0, 0, 0.7));
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.advance-lightbox {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
}

.advance-header h3 {
  color: var(--color-text-primary);
}
.advance-header p {
  color: var(--color-text-secondary);
}

@media (max-width: 600px) {
  html {
    font-size: 12px;
  }
  .site-frame {
    padding: 0;
  }
  .container,
  .basic-container {
    padding: var(--spacing-md);
  }
  .rounded-lg {
    border-radius: var(--border-radius-md);
  }
  .rounded-md {
    border-radius: var(--border-radius-sm);
  }
  header,
  main,
  footer {
    border-radius: 0 !important;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
  .capsule .site-frame {
    width: 100%;
    height: 100%;
  }
  .previous-button {
    right: 50%;
    left: 12px;
    bottom: 10px;
  }
  .line-spacer {
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
  }
  main {
    flex: 1;
    overflow: auto;
  }
  main .scrollableY {
    overflow-y: auto;
    overflow-x: auto;
    max-height: 100%;
  }
  main .scrollableX {
    overflow-x: auto;
    overflow-y: auto;
  }
  main .scrollableXY {
    overflow: auto;
  }
  main.row > * {
    flex: none;
    width: 100%;
  }
  main .bg-imageContent {
    min-height: 300px;
  }
}
.inactive {
  cursor: not-allowed;
  filter: grayscale(100%);
  opacity: 0.7;
  pointer-events: none;
}

.focus_next {
  position: relative;
  z-index: 1;
}
.focus_next::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 3px solid var(--colorA-primary);
  border-radius: inherit;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: titilar 250ms infinite;
}

.completed {
  position: relative;
}
.completed::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -10px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%) scale(0);
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  animation: scaleAppear 250ms ease 500ms forwards;
}
.completed::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%) scale(0);
  z-index: 15;
  background-image: url("data:image/svg+xml;utf8,<svg width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'><path d='M20 6L9 17l-5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  pointer-events: none;
  animation: scaleAppear 250ms ease 650ms forwards;
}

.comeUp {
  transform: translateY(-100px);
  opacity: 0;
  animation-duration: 250ms;
  animation-name: comeUp;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.comeDown {
  transform: translateY(100px);
  opacity: 0;
  animation-duration: 250ms;
  animation-name: comeDown;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.comeLeft {
  transform: translateX(-100px);
  opacity: 0;
  animation-duration: 250ms;
  animation-name: comeLeft;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.comeRight {
  transform: translateX(100px);
  opacity: 0;
  animation-duration: 250ms;
  animation-name: comeRight;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.fadeIn {
  opacity: 0;
  animation: fadeIn 250ms;
  animation-timing-function: ease-out;
  animation-duration: 250ms;
  animation-fill-mode: forwards;
}

.scaleAppear {
  transform: scale(0);
  animation: scaleAppear 250ms;
  animation-timing-function: ease-out;
  animation-duration: 250ms;
  animation-fill-mode: forwards;
}

.titilar {
  animation: titilar 250ms infinite;
  animation-timing-function: ease-in-out;
  animation-duration: infinite;
}

/* OUT ANIMATIONS */
.outUp {
  animation: outUp 250ms forwards;
  animation-timing-function: ease-in;
}

.outDown {
  animation: outDown 250ms forwards;
  animation-timing-function: ease-in;
}

.outLeft {
  animation: outLeft 250ms forwards;
  animation-timing-function: ease-in;
}

.outRight {
  animation: outRight 250ms forwards;
  animation-timing-function: ease-in;
}

.outFade {
  animation: outFade 250ms forwards;
  animation-timing-function: ease-in;
}

.outScale {
  animation: outScale 250ms forwards;
  animation-timing-function: ease-in;
}

/* DELAYS */
.t1 {
  animation-delay: 200ms;
}

.t2 {
  animation-delay: 400ms;
}

.t3 {
  animation-delay: 600ms;
}

.t4 {
  animation-delay: 800ms;
}

.t5 {
  animation-delay: 1000ms;
}

.t6 {
  animation-delay: 1200ms;
}

.t7 {
  animation-delay: 1400ms;
}

.t8 {
  animation-delay: 1600ms;
}

.t9 {
  animation-delay: 1800ms;
}

.t10 {
  animation-delay: 2000ms;
}

/* ENTRADA */
@keyframes comeUp {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes comeDown {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes comeLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes comeRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes scaleAppear {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes titilar {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/* SALIDA */
@keyframes outUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  99% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(-100px);
    opacity: 0;
    display: none;
  }
}
@keyframes outDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  99% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(100px);
    opacity: 0;
    display: none;
  }
}
@keyframes outLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  99% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(-100px);
    opacity: 0;
    display: none;
  }
}
@keyframes outRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  99% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(100px);
    opacity: 0;
    display: none;
  }
}
@keyframes outFade {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
@keyframes outScale {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  99% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(0);
    opacity: 0;
    display: none;
  }
}
@keyframes rollOverAnimation {
  0% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(0.98);
  }
}
/*
// RESPONSIVE PARA MEDIDAS
// ============================================================================*/
@media (max-width: 900px) {
  html {
    font-size: 14px;
  }
  :root {
    --spacing-xs: 0.1rem;
    --spacing-sm: 0.2rem;
    --spacing-md: 0.5rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --font-size-xxs: 0.5rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.25rem;
    --font-size-base: 1.4rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 3rem;
    --font-size-2xl: 4rem;
    --font-size-3xl: 5rem;
  }
  h1.super-title {
    font-size: calc(var(--grid-step) * 1.5);
  }
}/*# sourceMappingURL=theme.css.map */