/* ══════════════════════════════════════════════════════════════════════════════
   SLIDE VIEWER — IA Práctica para Líderes Anáhuac
   Dark Glassmorphism · Inspired by CV Project
   Universidad Anáhuac Mayab · Septiembre 2026
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Viewer Overlay (modal) ── */

.ana-slide-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  background: #0a0a1a;
  animation: modalScaleIn 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ana-slide-viewer.active { display: flex; }
.ana-slide-viewer.is-closing {
  animation: modalScaleOut 200ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes modalScaleOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.97); }
}

/* ── Header Bar ── */

.ana-slide-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(10, 10, 26, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  min-height: 44px;
  gap: 12px;
}

.ana-slide-toolbar__title {
  font-family: var(--ana-font-body, 'Roboto', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.ana-slide-toolbar__counter {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ana-slide-toolbar__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ana-slide-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background 150ms ease;
  font-family: var(--ana-font-body, 'Roboto', sans-serif);
}
.ana-slide-toolbar__btn:hover { background: rgba(255, 255, 255, 0.2); }
.ana-slide-toolbar__btn:focus-visible {
  outline: 2px solid #FF5900;
  outline-offset: 2px;
}
.ana-slide-toolbar__btn kbd {
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-family: var(--ana-font-body, 'Roboto', sans-serif);
}

/* ── Slide Stage (deck container) ── */

.ana-slide-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0a0a1a;
}

/* ── Individual Slides ── */

.ana-slide-viewer .slide {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 4rem;
  position: absolute;
  top: 0;
  left: 0;
  background: #0a0a1a;
  color: #e8e8f0;
  overflow-y: auto;
  animation: fadeSlideIn 0.4s ease;
  box-sizing: border-box;
  font-family: var(--ana-font-body, 'Roboto', sans-serif);
}
.ana-slide-viewer .slide.active { display: flex; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideInReverse {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ana-slide-viewer .slide.slide--reverse {
  animation-name: fadeSlideInReverse;
}

/* ── COVER SLIDE ── */

.ana-slide-viewer .slide--cover {
  background: linear-gradient(135deg, #432F64 0%, #FF5900 100%);
  text-align: center;
  padding: 3rem 4rem;
}

.ana-slide-viewer .slide--cover .slide__gradient {
  display: contents; /* Flatten the gradient wrapper */
}

/* ── TRANSITION SLIDE ── */

.ana-slide-viewer .slide--transition {
  background: linear-gradient(135deg, #1a1040 0%, #0a0a1a 100%);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════════
   CONTENT ELEMENTS — Dark Glassmorphism
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Titles ── */

.ana-slide-viewer .slide-title,
.ana-slide-viewer .slide__title,
.ana-slide-viewer .slide h2,
.ana-slide-viewer .ana-h2,
.ana-slide-viewer .ana-display,
.ana-slide-viewer .slide__heading {
  background: linear-gradient(135deg, #FF5900, #9b6dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--ana-font-display, 'Manrope', sans-serif);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
  width: 100%;
}

/* Cover title — white, not gradient */
.ana-slide-viewer .slide--cover .ana-h2,
.ana-slide-viewer .slide--cover .ana-display,
.ana-slide-viewer .slide--cover .slide__title,
.ana-slide-viewer .slide--cover h2 {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

/* Transition title */
.ana-slide-viewer .slide--transition .slide__transition-title,
.ana-slide-viewer .slide--transition h2 {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #FF5900;
  color: #FF5900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Subtitles & Overlines ── */

.ana-slide-viewer .slide-subtitle,
.ana-slide-viewer .slide__epigraph {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 300;
  font-style: italic;
  max-width: 600px;
}

.ana-slide-viewer .slide__overline,
.ana-slide-viewer .ana-overline,
.ana-slide-viewer .slide__phase {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 89, 0, 0.8);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
}
.ana-slide-viewer .slide--cover .slide__overline,
.ana-slide-viewer .slide--cover .ana-overline {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Subheadings ── */

.ana-slide-viewer .slide__subheading,
.ana-slide-viewer h3 {
  color: #FF5900;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-family: var(--ana-font-display, 'Manrope', sans-serif);
}

/* ── Body Text ── */

.ana-slide-viewer .slide__body,
.ana-slide-viewer .ana-body,
.ana-slide-viewer .slide__content,
.ana-slide-viewer .slide p {
  font-size: 1rem;
  line-height: 1.7;
  color: #c8c8d8;
  margin-bottom: 0.6rem;
}

.ana-slide-viewer .slide__body-sm,
.ana-slide-viewer .ana-body-sm {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9ca3af;
}

.ana-slide-viewer .ana-caption,
.ana-slide-viewer .slide__footnote {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* ── Content Box (glassmorphism) ── */

.ana-slide-viewer .content-box,
.ana-slide-viewer .slide__content {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  max-width: 900px;
  width: 100%;
}
.ana-slide-viewer .content-box h3,
.ana-slide-viewer .content-box h4 {
  color: #FF5900;
}

/* ── Cards ── */

.ana-slide-viewer .card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}
.ana-slide-viewer .card h4 {
  color: #FF5900;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.ana-slide-viewer .card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #9ca3af;
}

/* ── Grid Layouts ── */

.ana-slide-viewer .grid-2,
.ana-slide-viewer .slide__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .slide__column,
.ana-slide-viewer .slide__col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.ana-slide-viewer .slide__col-title {
  color: #FF5900;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ── Prompt Blocks ── */

.ana-slide-viewer .slide__prompt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.ana-slide-viewer .slide__prompt--bad {
  border-color: rgba(239, 68, 68, 0.4);
  border-left: 3px solid #ef4444;
  background: rgba(239, 68, 68, 0.06);
}

.ana-slide-viewer .slide__prompt--good {
  border-color: rgba(34, 197, 94, 0.4);
  border-left: 3px solid #22c55e;
  background: rgba(34, 197, 94, 0.06);
}

.ana-slide-viewer .slide__prompt-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.ana-slide-viewer .slide__prompt--bad .slide__prompt-label,
.ana-slide-viewer .slide__prompt--bad p[style*="color:var(--ana-error)"] {
  color: #ef4444;
}

.ana-slide-viewer .slide__prompt--good .slide__prompt-label,
.ana-slide-viewer .slide__prompt--good p[style*="color:var(--ana-success)"] {
  color: #22c55e;
}

.ana-slide-viewer .slide__prompt-code,
.ana-slide-viewer .ana-prompt,
.ana-slide-viewer pre {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  font-family: var(--ana-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  color: #c8c8d8;
  max-width: 100%;
}

.ana-slide-viewer pre code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  padding: 0;
}

/* ── Callouts / Reflections ── */

.ana-slide-viewer .reflection,
.ana-slide-viewer .ana-callout,
.ana-slide-viewer .slide__callout {
  background: rgba(255, 89, 0, 0.06);
  border-left: 4px solid #FF5900;
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin-top: 1rem;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .reflection p,
.ana-slide-viewer .ana-callout p,
.ana-slide-viewer .slide__callout p {
  color: #FF5900;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.ana-slide-viewer .ana-callout__label,
.ana-slide-viewer .slide__callout-icon {
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #FF5900;
}

.ana-slide-viewer .ana-callout--warning,
.ana-slide-viewer .slide__callout--warning {
  background: rgba(245, 158, 11, 0.06);
  border-left-color: #f59e0b;
}
.ana-slide-viewer .ana-callout--warning p,
.ana-slide-viewer .slide__callout--warning p {
  color: #f59e0b;
}

.ana-slide-viewer .slide__callout--insight {
  background: rgba(139, 92, 246, 0.06);
  border-left-color: #8b5cf6;
}
.ana-slide-viewer .slide__callout--insight p {
  color: #a78bfa;
}

.ana-slide-viewer .slide__callout--deliverable {
  background: rgba(34, 197, 94, 0.06);
  border-left-color: #22c55e;
}
.ana-slide-viewer .slide__callout--deliverable p {
  color: #22c55e;
}

/* ── Tables ── */

.ana-slide-viewer .slide__table-wrap,
.ana-slide-viewer .slide__table {
  max-width: 900px;
  width: 100%;
  overflow-x: auto;
}

.ana-slide-viewer table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ana-slide-viewer table thead tr,
.ana-slide-viewer table th {
  background: rgba(67, 47, 100, 0.4);
  color: #e8e8f0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.ana-slide-viewer table th,
.ana-slide-viewer table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ana-slide-viewer table td {
  color: #c8c8d8;
}

.ana-slide-viewer table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Semáforo/traffic light rows */
.ana-slide-viewer .slide__row--red td:first-child { border-left: 3px solid #ef4444; }
.ana-slide-viewer .slide__row--yellow td:first-child { border-left: 3px solid #f59e0b; }
.ana-slide-viewer .slide__row--green td:first-child { border-left: 3px solid #22c55e; }

/* Do/Don't table */
.ana-slide-viewer .slide__table--dodont th:first-child { color: #ef4444; }
.ana-slide-viewer .slide__table--dodont th:last-child { color: #22c55e; }

/* ── Lists ── */

.ana-slide-viewer .slide__list,
.ana-slide-viewer ul {
  list-style: none;
  padding-left: 0;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .slide__list li,
.ana-slide-viewer .slide ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: #c8c8d8;
  margin-bottom: 0.6rem;
  padding-left: 1.5em;
  position: relative;
}

.ana-slide-viewer .slide__list li::before,
.ana-slide-viewer .slide ul li::before {
  content: "→ ";
  color: #FF5900;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* When li already has emoji as marker, don't add arrow */
.ana-slide-viewer .slide li > span:first-child {
  position: relative;
}

.ana-slide-viewer .slide__list--numbered,
.ana-slide-viewer .slide__ordered-list,
.ana-slide-viewer ol {
  list-style: none;
  counter-reset: slide-step;
  padding-left: 0;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .slide__list--numbered li,
.ana-slide-viewer .slide__ordered-list li,
.ana-slide-viewer .slide ol li {
  counter-increment: slide-step;
  padding-left: 2.5em;
  position: relative;
  margin-bottom: 0.8rem;
  color: #c8c8d8;
}

.ana-slide-viewer .slide__list--numbered li::before,
.ana-slide-viewer .slide__ordered-list li::before,
.ana-slide-viewer .slide ol li::before {
  content: counter(slide-step);
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF5900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.ana-slide-viewer .slide__checklist li::before {
  content: "☐";
  background: none;
  color: #FF5900;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 1rem;
}

/* ── Meta Info (cover) ── */

.ana-slide-viewer .slide__meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2rem;
}

.ana-slide-viewer .slide__meta-item {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Badge indicator ── */

.ana-slide-viewer .slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* ── Transition Elements ── */

.ana-slide-viewer .slide__transition-content {
  text-align: center;
  max-width: 700px;
}

.ana-slide-viewer .slide__transition-quote {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.ana-slide-viewer .slide__transition-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 89, 0, 0.6);
  margin-bottom: 0.5rem;
}

.ana-slide-viewer .slide__transition-next,
.ana-slide-viewer .slide__next-level {
  background: rgba(255, 89, 0, 0.1);
  border: 1px solid rgba(255, 89, 0, 0.2);
  border-radius: 12px;
  padding: 1.2rem 2rem;
  margin-top: 1rem;
  text-align: center;
}

.ana-slide-viewer .slide__next-title,
.ana-slide-viewer .slide__transition-next strong {
  color: #FF5900;
  font-weight: 700;
}

.ana-slide-viewer .slide__next-label,
.ana-slide-viewer .slide__transition-text {
  color: #9ca3af;
  font-size: 0.9rem;
}

.ana-slide-viewer .slide__narrative {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-size: 0.9rem;
}

/* ── Ethics Block ── */

.ana-slide-viewer .slide__ethics-block {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .slide__ethics-scenario {
  color: #c8c8d8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ana-slide-viewer .slide__ethics-question {
  color: #a78bfa;
  font-weight: 600;
  font-size: 1rem;
}

/* ── Deliverable Box ── */

.ana-slide-viewer .slide__deliverable-box {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 900px;
  width: 100%;
}

.ana-slide-viewer .slide__deliverable-title {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ── Inline Code ── */

.ana-slide-viewer .ana-code-inline {
  font-family: var(--ana-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  color: #a78bfa;
}

/* ══════════════════════════════════════════════════════════════════════════════
   INLINE STYLE OVERRIDES
   Override CSS variable backgrounds that assume light mode
   ══════════════════════════════════════════════════════════════════════════════ */

.ana-slide-viewer .slide [style*="background:var(--ana-bg-theory)"],
.ana-slide-viewer .slide [style*="background:var(--ana-bg-exercise)"],
.ana-slide-viewer .slide [style*="background:var(--ana-gray-lighter)"],
.ana-slide-viewer .slide [style*="background:var(--ana-primary-light)"],
.ana-slide-viewer .slide [style*="background:var(--ana-tertiary-light)"],
.ana-slide-viewer .slide [style*="background:var(--ana-warning-light)"],
.ana-slide-viewer .slide [style*="background:var(--ana-success-light)"],
.ana-slide-viewer .slide [style*="background:var(--ana-error-light)"],
.ana-slide-viewer .slide [style*="background:var(--ana-white)"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.ana-slide-viewer .slide [style*="background:var(--ana-tertiary)"] {
  background: rgba(67, 47, 100, 0.4) !important;
}

.ana-slide-viewer .slide [style*="background:var(--ana-error)"] {
  background: rgba(239, 68, 68, 0.3) !important;
}

.ana-slide-viewer .slide [style*="background:var(--ana-success)"] {
  background: rgba(34, 197, 94, 0.3) !important;
}

/* Override inline text colors for dark bg */
.ana-slide-viewer .slide [style*="color:var(--ana-dark)"],
.ana-slide-viewer .slide [style*="color:var(--ana-gray)"] {
  color: #c8c8d8 !important;
}

/* Make border-radius consistent */
.ana-slide-viewer .slide [style*="border-radius:var(--ana-radius"] {
  border-radius: 12px !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PROGRESS BAR & NAVIGATION (Footer)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Footer Bar ── */

.ana-slide-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(10, 10, 26, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  min-height: 48px;
}

.ana-slide-nav__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
  font-family: var(--ana-font-body, 'Roboto', sans-serif);
}
.ana-slide-nav__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.ana-slide-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.ana-slide-nav__btn:focus-visible {
  outline: 2px solid #FF5900;
  outline-offset: 2px;
}

/* ── Progress Bar (in footer) ── */

.ana-slide-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.ana-slide-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #FF5900, #432F64);
  border-radius: 999px;
  transition: width 300ms ease;
}

/* ── Dot Indicators ── */

.ana-slide-nav__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.ana-slide-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.ana-slide-nav__dot:hover { background: rgba(255, 255, 255, 0.4); }
.ana-slide-nav__dot.active {
  background: #FF5900;
  transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ana-slide-viewer .slide {
    padding: 1.5rem;
  }

  .ana-slide-viewer .slide-title,
  .ana-slide-viewer .ana-h2,
  .ana-slide-viewer .ana-display,
  .ana-slide-viewer .slide h2 {
    font-size: 1.6rem;
  }

  .ana-slide-viewer .grid-2,
  .ana-slide-viewer .slide__columns {
    grid-template-columns: 1fr;
  }

  .ana-slide-viewer .grid-3 {
    grid-template-columns: 1fr;
  }

  .ana-slide-toolbar__title { display: none; }

  .ana-slide-nav__btn span { display: none; }
  .ana-slide-nav__btn {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .ana-slide-nav__dots { display: none; }
}

@media (max-width: 480px) {
  .ana-slide-viewer .slide {
    padding: 1rem;
  }

  .ana-slide-toolbar {
    padding: 6px 12px;
    font-size: 12px;
  }

  .ana-slide-nav {
    gap: 8px;
    padding: 8px 12px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .ana-slide-viewer .slide,
  .ana-slide-viewer {
    animation: none !important;
  }
  .ana-slide-progress__fill {
    transition: none;
  }
  .ana-slide-nav__dot {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════════════════════ */

@media print {
  .ana-slide-viewer {
    position: static !important;
    display: block !important;
    background: white;
  }

  .ana-slide-toolbar,
  .ana-slide-nav,
  .ana-slide-progress {
    display: none !important;
  }

  .ana-slide-stage {
    position: static;
    display: block;
    overflow: visible;
    background: white;
  }

  .ana-slide-viewer .slide {
    position: static !important;
    display: flex !important;
    page-break-after: always;
    background: white !important;
    color: #231F20 !important;
    min-height: auto;
    height: auto;
    animation: none !important;
    padding: 2rem;
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }

  .ana-slide-viewer .slide--cover {
    background: #f3f3f1 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .ana-slide-viewer .slide h2,
  .ana-slide-viewer .ana-h2 {
    -webkit-text-fill-color: #231F20 !important;
    background: none !important;
    color: #231F20 !important;
  }

  .ana-slide-viewer .slide p,
  .ana-slide-viewer .slide li,
  .ana-slide-viewer .slide td {
    color: #231F20 !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PRESENTATION BUTTON (in level view)
   ══════════════════════════════════════════════════════════════════════════════ */

.ana-btn--slides {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ana-tertiary);
  color: var(--ana-white);
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: var(--ana-font-body, 'Roboto', sans-serif);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, transform 100ms ease;
  margin-bottom: 24px;
}
.ana-btn--slides:hover { background: var(--ana-tertiary-hover); }
.ana-btn--slides:active { transform: scale(0.97); }
.ana-btn--slides:focus-visible {
  outline: 2px solid #FF5900;
  outline-offset: 2px;
}
.ana-btn--slides svg { flex-shrink: 0; }
