:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #1c2333;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #3b4b8f;
  --primary-dark: #2d3a70;
  --accent: #c9a227;
  --ok: #16a34a;
  --warn: #d97706;
  --err: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink); min-height: 100vh;
}
a { color: var(--primary); }
h1, h2, h3 { font-weight: 600; }

/* ── Auth ─────────────────────────────────────────── */
.auth-screen {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: linear-gradient(140deg, #2d3a70 0%, #3b4b8f 55%, #55639f 100%);
  padding: 16px;
}
.auth-screen.visible { display: flex; }
.auth-card {
  background: var(--surface); border-radius: 16px; padding: 34px 30px;
  width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.auth-card h1 { color: var(--primary-dark); margin-bottom: 4px; letter-spacing: .5px; }
.auth-card .sub { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.auth-tabs button {
  flex: 1; padding: 9px; border: 1px solid var(--line); background: #f9fafb;
  border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--muted);
}
.auth-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.auth-card input, .auth-card select {
  width: 100%; padding: 11px 12px; margin-bottom: 11px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 15px;
}
.auth-card input:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* ── Form controls ────────────────────────────────── */
input, select, textarea {
  font-family: inherit; font-size: 14px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
textarea { resize: vertical; min-height: 70px; }
label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin: 10px 0 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border: none; border-radius: 8px; cursor: pointer;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: filter .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-gold { background: var(--accent); color: #2b2405; }
.btn-danger { background: var(--err); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--line); }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── Layout panel (sidebar) ───────────────────────── */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 230px; z-index: 40;
  background: #232a45; color: #cbd2ea; display: flex; flex-direction: column;
  transition: transform .2s;
}
.sidebar-logo { padding: 22px 20px 14px; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.sidebar-logo small { display: block; font-size: 11px; color: #8e97be; font-weight: 400; letter-spacing: 0; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 6px 10px; }
.nav-item {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; margin-bottom: 2px;
  border-radius: 8px; cursor: pointer; font-size: 14px;
}
.nav-item:hover { background: rgba(255,255,255,.07); }
.nav-item.active { background: var(--primary); color: #fff; }
.nav-icon { font-size: 10px; opacity: .7; }
.sidebar-footer { padding: 14px; }
.hamburger {
  display: none; position: fixed; top: 12px; left: 12px; z-index: 50;
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  width: 40px; height: 40px; font-size: 19px; cursor: pointer;
}
.main { margin-left: 230px; padding: 24px 28px 60px; }
.top-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.top-header h1 { font-size: 22px; }

/* ── Layout estudiante (top nav) ──────────────────── */
.student-header {
  background:
    linear-gradient(100deg, rgba(31,38,74,.97) 22%, rgba(36,45,88,.72) 55%, rgba(31,38,74,.45)),
    url('/presentacion/img/las_meninas.jpg') center 30% / cover no-repeat;
  color: #fff; padding: 26px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.student-header .brand { font-weight: 700; font-size: 20px; font-family: Georgia, serif; letter-spacing: .5px; }
.student-header .brand small { display: block; font-weight: 400; font-size: 12.5px; color: #c3cbef; font-family: 'Segoe UI', sans-serif; letter-spacing: 0; }
.student-header .who { font-size: 13px; color: #d5dbf2; text-align: right; }
.student-tabs {
  display: flex; gap: 4px; background: var(--surface); padding: 8px 14px;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
  overflow-x: auto;
}
.student-tabs button {
  border: none; background: transparent; padding: 9px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.student-tabs button.active { background: #eef1fb; color: var(--primary); }
.student-content { max-width: 860px; margin: 0 auto; padding: 22px 16px 70px; }

/* ── Cards / tables ───────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; }
.card .meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
th { text-align: left; padding: 11px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); border-bottom: 1px solid var(--line); background: #fafbfc; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
}
.badge-ok { background: #dcfce7; color: #15803d; }
.badge-warn { background: #fef3c7; color: #b45309; }
.badge-err { background: #fee2e2; color: #b91c1c; }
.badge-info { background: #e0e7ff; color: #3b4b8f; }
.badge-muted { background: #f3f4f6; color: #6b7280; }

/* Timeline ruta pedagógica */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline .card { position: relative; }
.timeline .card::before {
  content: ''; position: absolute; left: -24px; top: 24px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary);
}

/* ── Modal / toast ────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(15, 20, 40, .55); align-items: flex-start; justify-content: center;
  padding: 40px 14px; overflow-y: auto;
}
.modal-overlay.visible { display: flex; }
.modal-content {
  background: var(--surface); border-radius: 14px; width: 100%; max-width: 620px;
  padding: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-close { border: none; background: none; font-size: 26px; cursor: pointer; color: var(--muted); line-height: 1; }

#toast-container { position: fixed; bottom: 18px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 11px 16px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); opacity: 0; transform: translateY(8px); transition: all .25s;
  max-width: 340px;
}
.toast.visible { opacity: 1; transform: none; }
.toast-success { background: var(--ok); }
.toast-error { background: var(--err); }
.toast-info { background: var(--primary); }

.empty { text-align: center; color: var(--muted); padding: 36px 10px; font-size: 14.5px; }
.empty .big { font-size: 46px; margin-bottom: 10px; }

/* ── Vista estudiante: iconos y portadas ─────────── */
.icircle {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
}
.ic-indigo { background: #e0e7ff; }
.ic-amber { background: #fef3c7; }
.ic-green { background: #dcfce7; }
.ic-rose { background: #ffe4e6; }
.ic-slate { background: #f1f5f9; }

.cover {
  width: 76px; min-height: 100px; border-radius: 10px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-family: Georgia, serif; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 3px 8px rgba(16,24,40,.18);
}
.cover b { font-size: 24px; letter-spacing: 1px; }
.cover span { font-size: 15px; margin-top: 4px; opacity: .85; }

.upload-box {
  margin-top: 12px; background: #f8f9fc; border: 1.5px dashed #c6cde3; border-radius: 10px;
  padding: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.upload-box input[type=file] { flex: 1; min-width: 190px; background: transparent; border: none; padding: 4px; }
.upload-box input[type=text] { flex: 1; min-width: 150px; }

.nota-box { margin-top: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 13px 15px; }

/* ── Espacio de sesión ───────────────────────────── */
.ses-hero {
  color: #fff; background-size: cover; background-position: center 26%;
  border: none; padding: 26px 24px;
}
.ses-hero h2 { font-size: 24px; margin: 10px 0 4px; color: #fff; }
.obj-list { display: flex; flex-direction: column; gap: 9px; }
.obj-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.obj-item span:first-child { flex-shrink: 0; }
.resumen-card { background: #fbf7ec; border-color: #e7dcb8; }
.resumen-card p { font-style: italic; color: #5b5030; }

/* Plan como línea de tiempo */
.plan { display: flex; flex-direction: column; gap: 4px; }
.plan-paso { display: flex; gap: 14px; }
.pp-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.plan-paso:not(:last-child) .pp-num::after {
  content: ''; position: absolute; top: 32px; bottom: -12px; left: 50%;
  width: 2px; background: var(--line); transform: translateX(-50%);
}
.pp-body { padding-bottom: 16px; flex: 1; min-width: 0; }
.pp-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pp-min { font-size: 11.5px; color: var(--muted); background: #eef1f7; border-radius: 999px; padding: 1px 8px; }
.pp-body p { font-size: 13.8px; color: #444b60; margin-top: 2px; }
.tarea-box { margin-top: 8px; background: #eef1fb; border: 1px solid #d6ddf5; border-radius: 10px; padding: 12px 15px; font-size: 14px; }

/* Preguntas del quiz */
.q-box { margin-top: 10px; }
.q-item {
  display: flex; gap: 12px; align-items: flex-start; background: #f5f3ff;
  border: 1px solid #ddd6fe; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; font-size: 14.5px;
}
.q-n {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #7c3aed; color: #fff;
  font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* ── Mural de progreso (Las Meninas por fragmentos) ── */
.mural {
  display: grid; gap: 5px; margin: 0 auto;
  padding: 10px; background: #2b2317; border-radius: 12px;
  box-shadow: inset 0 0 0 3px #8a6d3b, 0 10px 30px rgba(0,0,0,.25);
}
.tile {
  position: relative; aspect-ratio: 1 / 1.1; border-radius: 5px; overflow: hidden;
  background-repeat: no-repeat; cursor: pointer; transition: transform .2s, filter .4s;
}
.tile.open:hover, .tile.done:hover { transform: scale(1.06); z-index: 2; }
.tile.locked { filter: grayscale(1) brightness(.38); cursor: not-allowed; }
.tile.open { filter: none; box-shadow: inset 0 0 0 2px rgba(212,175,55,.65); }
.tile.done { filter: none; box-shadow: inset 0 0 0 2px #16a34a; }
.tile .t-num {
  position: absolute; top: 4px; left: 5px; font-size: 11px; font-weight: 800;
  background: rgba(10,13,26,.75); color: #fff; border-radius: 6px; padding: 1px 6px;
}
.tile .t-ico {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.tile .t-done {
  align-items: flex-end; justify-content: flex-end; padding: 4px 6px; font-size: 15px;
  color: #4ade80; font-weight: 800;
}
.sesion-chip { display: inline-block; background: #eef1fb; color: var(--primary); font-weight: 700; font-size: 12px; border-radius: 6px; padding: 2px 9px; margin-right: 8px; }
.muted { color: var(--muted); }
.right { text-align: right; }
.mt { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .hamburger { display: block; }
  .main { margin-left: 0; padding: 64px 14px 60px; }
}

/* ── Imagen embebida en el plan de la sesión (lista para proyectar) ── */
.plan-img{position:relative;display:block;margin:10px 0 4px;max-width:460px;border-radius:10px;overflow:hidden;border:1px solid rgba(0,0,0,.12);line-height:0}
.plan-img img{width:100%;height:auto;display:block}
.plan-img .lupa{position:absolute;right:8px;bottom:8px;background:rgba(15,18,32,.82);color:#fff;font-size:11.5px;
  line-height:1;padding:6px 10px;border-radius:100px;opacity:0;transition:opacity .18s}
.plan-img:hover .lupa{opacity:1}
.plan-img:hover{border-color:rgba(0,0,0,.28)}

/* ══════════════════════════════════════════════════════════
   TEMA OSCURO + DORADO — SOLO curso "Modelado Digital"
   Se activa con <body data-curso="modelado"> (lo pone app.js).
   Sobrescribe las variables y los colores fijos claros.
   ══════════════════════════════════════════════════════════ */
body[data-curso="modelado"] {
  --bg: #0e1220; --surface: #1c2440; --ink: #eef1fa; --muted: #9aa5c9;
  --line: rgba(255,255,255,.09); --primary: #e8833a; --accent: #d4af37;
  --shadow: 0 1px 3px rgba(0,0,0,.35);
}
body[data-curso="modelado"] { background: var(--bg); color: var(--ink); }
body[data-curso="modelado"] h1, body[data-curso="modelado"] h2, body[data-curso="modelado"] h3 { font-family: Georgia, serif; }

/* Header: quitar Las Meninas, gradiente navy elegante */
body[data-curso="modelado"] .student-header {
  background: linear-gradient(100deg, #151b30 30%, #1c2440 70%, #22285a);
  border-bottom: 1px solid rgba(212,175,55,.25);
}
body[data-curso="modelado"] .student-header .brand small { color: #c3cbef; }
body[data-curso="modelado"] .student-header .who { color: #cfd6f0; }

/* Pestañas */
body[data-curso="modelado"] .student-tabs { background: #151b30; border-bottom-color: var(--line); }
body[data-curso="modelado"] .student-tabs button.active { background: rgba(232,131,58,.16); color: #f5a75a; }

/* Tarjetas, tablas */
body[data-curso="modelado"] .card { box-shadow: none; }
body[data-curso="modelado"] th { background: #151b30; }
body[data-curso="modelado"] .table-wrap { box-shadow: none; }

/* Badges (versión oscura) */
body[data-curso="modelado"] .badge-ok { background: rgba(75,180,110,.16); color: #86dca6; }
body[data-curso="modelado"] .badge-warn { background: rgba(212,175,55,.16); color: #e8cf7a; }
body[data-curso="modelado"] .badge-err { background: rgba(220,80,80,.16); color: #f3b8b8; }
body[data-curso="modelado"] .badge-info { background: rgba(232,131,58,.16); color: #f5a75a; }
body[data-curso="modelado"] .badge-muted { background: rgba(255,255,255,.06); color: #9aa5c9; }

/* Iconos circulares */
body[data-curso="modelado"] .ic-indigo { background: rgba(90,150,230,.16); }
body[data-curso="modelado"] .ic-green { background: rgba(75,180,110,.16); }
body[data-curso="modelado"] .ic-amber { background: rgba(212,175,55,.16); }
body[data-curso="modelado"] .ic-slate { background: rgba(255,255,255,.06); }

/* Chip de sesión, timeline */
body[data-curso="modelado"] .sesion-chip { background: rgba(232,131,58,.16); color: #f5a75a; }
body[data-curso="modelado"] .timeline .card::before { border-color: #0e1220; }

/* Píldoras de modalidad (tarjetas estilo presentación) */
.mod-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.mod-pill.mod-pre { background: rgba(75,180,110,.15); color: #86dca6; border: 1px solid rgba(75,180,110,.4); }
.mod-pill.mod-rem { background: rgba(90,150,230,.15); color: #93b8f5; border: 1px solid rgba(90,150,230,.4); }
.mod-pill.mod-asi { background: rgba(255,255,255,.06); color: #9aa5c9; border: 1px solid var(--line); }

/* Cajas del espacio de sesión */
body[data-curso="modelado"] .resumen-card { background: rgba(212,175,55,.08); border-color: rgba(212,175,55,.3); }
body[data-curso="modelado"] .resumen-card p { color: #e6ddcf; }
body[data-curso="modelado"] .upload-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); }
body[data-curso="modelado"] .nota-box { background: rgba(75,180,110,.1); border-color: rgba(75,180,110,.3); }
body[data-curso="modelado"] .tarea-box { background: rgba(232,131,58,.1); border-color: rgba(232,131,58,.3); }
body[data-curso="modelado"] .q-item { background: rgba(147,120,255,.1); border-color: rgba(147,120,255,.3); }
body[data-curso="modelado"] .pp-min { background: rgba(255,255,255,.06); }
body[data-curso="modelado"] .pp-body p { color: #b9c1de; }

/* Auth: si entra por el curso, mantener oscuro el fondo login no aplica (login es previo).
   El mural conserva su marco; los tiles ya funcionan en oscuro. */

/* ══════════════════════════════════════════════════════════
   TEMA MUSEO — SOLO cursos "Teoría de la Imagen" (id 4 y 5)
   Se activa con <body data-curso="teoria">. Borgoña + dorado + fondo cálido.
   ══════════════════════════════════════════════════════════ */
body[data-curso="teoria"] {
  --bg: #17121a; --bg2: #1e1720; --surface: #251b26; --ink: #f1ece5; --muted: #b1a6a0;
  --line: rgba(255,255,255,.09); --primary: #b34a5c; --accent: #c8a96a;
  --shadow: 0 1px 3px rgba(0,0,0,.4);
}
body[data-curso="teoria"] { background: var(--bg); color: var(--ink); }
body[data-curso="teoria"] h1, body[data-curso="teoria"] h2, body[data-curso="teoria"] h3 { font-family: Georgia, serif; }

/* Header: Las Meninas con velo cálido */
body[data-curso="teoria"] .student-header {
  background: linear-gradient(100deg, rgba(23,18,26,.96) 30%, rgba(37,27,38,.62) 62%, rgba(37,27,38,.4)),
    url('/presentacion/img/las_meninas.jpg') center 28% / cover no-repeat;
  border-bottom: 1px solid rgba(200,169,106,.3);
}
body[data-curso="teoria"] .student-header .brand small { color: #d8cfe0; }
body[data-curso="teoria"] .student-header .who { color: #e6ddd3; }

/* Pestañas */
body[data-curso="teoria"] .student-tabs { background: #1e1720; border-bottom-color: var(--line); }
body[data-curso="teoria"] .student-tabs button.active { background: rgba(179,74,92,.18); color: #dc909b; }

/* Tarjetas y tablas */
body[data-curso="teoria"] .card { box-shadow: none; }
body[data-curso="teoria"] th { background: #1e1720; }
body[data-curso="teoria"] .table-wrap { box-shadow: none; }

/* Badges */
body[data-curso="teoria"] .badge-ok { background: rgba(120,170,120,.16); color: #9ed3a0; }
body[data-curso="teoria"] .badge-warn { background: rgba(200,169,106,.16); color: #e2c992; }
body[data-curso="teoria"] .badge-err { background: rgba(179,74,92,.2); color: #dc909b; }
body[data-curso="teoria"] .badge-info { background: rgba(179,74,92,.16); color: #dc909b; }
body[data-curso="teoria"] .badge-muted { background: rgba(255,255,255,.06); color: var(--muted); }

/* Iconos circulares */
body[data-curso="teoria"] .ic-indigo { background: rgba(120,150,220,.16); }
body[data-curso="teoria"] .ic-green { background: rgba(120,170,120,.16); }
body[data-curso="teoria"] .ic-amber { background: rgba(200,169,106,.16); }
body[data-curso="teoria"] .ic-slate { background: rgba(255,255,255,.06); }

/* Chip de sesión y timeline */
body[data-curso="teoria"] .sesion-chip { background: rgba(179,74,92,.18); color: #dc909b; }
body[data-curso="teoria"] .timeline .card::before { border-color: #17121a; }

/* Cajas del espacio de sesión */
body[data-curso="teoria"] .resumen-card { background: rgba(200,169,106,.08); border-color: rgba(200,169,106,.3); }
body[data-curso="teoria"] .resumen-card p { color: #e6ddcf; }
body[data-curso="teoria"] .upload-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); }
body[data-curso="teoria"] .nota-box { background: rgba(120,170,120,.1); border-color: rgba(120,170,120,.3); }
body[data-curso="teoria"] .tarea-box { background: rgba(179,74,92,.12); border-color: rgba(179,74,92,.32); }
body[data-curso="teoria"] .q-item { background: rgba(200,169,106,.08); border-color: rgba(200,169,106,.28); }
body[data-curso="teoria"] .pp-min { background: rgba(255,255,255,.06); }
body[data-curso="teoria"] .pp-body p { color: #cfc6bf; }

/* Mural de Las Meninas: marco dorado sobre madera oscura (ya encaja) */
body[data-curso="teoria"] .mural { box-shadow: inset 0 0 0 3px #8a6d3b, 0 10px 30px rgba(0,0,0,.4); }
