/* Entrega del equipo de diseño, 9 de noviembre de 2026 (mockup plataforma 2.0).
   Copiado literal del artefacto; ni una regla reescrita. */

/* Ficha del curso (diálogo) */
.sheet {
  width: min(720px, 100% - 32px); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: var(--r-xl);
  background: var(--surface); color: var(--navy); box-shadow: 0 30px 80px rgb(0 20 60 / 30%);
}
.sheet::backdrop { background: rgb(0 22 60 / 45%); }
.sheet__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.sheet__body { padding: 28px 40px 40px; }
.sheet__close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); box-shadow: var(--shadow);
}
.sheet h2 { margin-top: 14px; font-size: 2rem; line-height: 1.1; }
.sheet__summary { margin-top: 14px; color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 24px; }
.fact { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); }
.fact dt { font-size: 0.8125rem; color: var(--muted); }
.fact dd { font: 700 1.0625rem/1.3 var(--heading); color: var(--navy); margin-top: 2px; }
.sheet h3 { font-size: 1.25rem; margin-top: 28px; }
.ticks { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 10px; color: var(--text); font-size: 1rem; }
.ticks li { display: flex; gap: 12px; }
.ticks .icon { color: var(--blue); margin-top: 3px; }
.sheet__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.sheet__note { margin-top: 20px; color: var(--text); font-size: 1rem; }

/* =========================================================
   CURSO
   ========================================================= */
.app-bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.app-bar .wrap { display: flex; align-items: center; gap: 16px; height: 72px; width: min(1440px, 100% - 48px); margin-inline: auto; }
.app-bar .brand { margin-right: auto; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--navy);
}
.icon-button:hover { background: var(--surface); }
.toc-toggle { display: none; }

