/* ==========================================================================
   La carpeta del curso · identidad de la web comercial (frente 11, 25-sep-2026)
   Color sacado del aula: blanco de pizarra, azul de rotulador, grafito, el
   fosforito solo en la accion principal, y un color de separador por
   entregable (el mismo que en sus documentos). Una sola familia tipografica:
   Atkinson Hyperlegible Next, creada para personas con baja vision.
   ========================================================================== */
html body.carpeta, html[data-app-theme] body.carpeta {
  --pizarra: #F6F8F9; --tinta: #16233B; --grafito: #56627A; --papel: #FFFFFF; --linea: #D9DEE5;
  --fosforito: #F4E04D; --fosforito-hover: #E6D233;
  --presentacion: #E3EAF6; --presentacion-t: #2F5E9E;
  --manual: #E2F1E7;       --manual-t: #2B724A;
  --guia: #ECE7F7;         --guia-t: #5B4B9A;
  --evaluacion: #F8E3E8;   --evaluacion-t: #A23B5A;
  --scorm: #F5EDD3;        --scorm-t: #7A5C0F;
  background: var(--pizarra); color: var(--tinta);
  font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.6; font-kerning: normal;
}
html body.carpeta h1, body.carpeta h2, body.carpeta h3 { font-family: inherit; color: var(--tinta); text-wrap: balance; }
html body.carpeta p { text-wrap: pretty; }
html body.carpeta .c-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
html body.carpeta .c-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* -- arranque ------------------------------------------------------------- */
html body.carpeta .c-hero { padding: 48px 0 80px; }
html body.carpeta .c-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
html body.carpeta .c-hero h1 { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.0; letter-spacing: -0.03em; font-weight: 800;
  margin: 40px 0 0; max-width: 12ch; }
html body.carpeta .c-lead { font-size: 20px; line-height: 1.55; max-width: 42ch; margin: 24px 0 0; }
html body.carpeta .c-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 580px; }
html body.carpeta .c-form input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; color: var(--tinta);
  background: var(--papel); border: 1.5px solid #AEB8C6; border-radius: 10px; }
html body.carpeta .c-form input::placeholder { color: #667085; }
html body.carpeta .c-form input:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; border-color: var(--tinta); }
html body.carpeta .c-btn { display: inline-block; font: inherit; font-size: 17px; font-weight: 800; line-height: 1.2; padding: 15px 22px;
  color: var(--tinta); background: var(--fosforito); border: 0; border-radius: 10px; text-decoration: none; cursor: pointer; }
html body.carpeta .c-btn:hover { background: var(--fosforito-hover); }
html body.carpeta .c-btn:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
html body.carpeta .c-tranq { margin: 12px 0 0; font-size: 15px; color: var(--grafito); }

/* -- la carpeta: la unica pieza audaz --------------------------------------- */
html body.carpeta .c-carpeta { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
html body.carpeta .c-carpeta::before { /* la hoja de detras: la carpeta tiene mas paginas */
  content: ""; grid-column: 1; grid-row: 1; background: var(--papel); border: 1px solid var(--linea);
  border-radius: 4px; transform: translate(9px, 9px) rotate(.7deg); }
html body.carpeta .c-hoja { grid-column: 1; grid-row: 1; position: relative; z-index: 1; aspect-ratio: 210 / 297; overflow: hidden;
  background: var(--papel); border: 1px solid var(--linea); border-radius: 4px;
  box-shadow: 0 1px 2px rgba(22, 35, 59, .06), 0 22px 44px -20px rgba(22, 35, 59, .30); view-transition-name: carpeta-hoja; }
html body.carpeta .c-panel { margin: 0; height: 100%; }
html body.carpeta .c-panel[hidden] { display: none; }
html body.carpeta .c-panel:focus-visible { outline: 3px solid var(--tinta); outline-offset: -4px; }
html body.carpeta .c-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
html body.carpeta .c-panel--presentacion { display: flex; flex-direction: column; gap: 22px; padding: 9% 8%; }
html body.carpeta .c-panel--presentacion img { height: auto; object-fit: contain; border: 1px solid var(--linea); }
html body.carpeta .c-notas-t { margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--presentacion-t); }
html body.carpeta .c-notas p { margin: 0; font-size: 15px; line-height: 1.55; }
html body.carpeta .c-tabs { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
html body.carpeta .c-tab { font: inherit; font-size: 15px; font-weight: 600; text-align: left; min-width: 136px; padding: 10px 14px;
  border: 1px solid var(--linea); border-left: 0; border-radius: 0 8px 8px 0; cursor: pointer;
  transform: translateX(-7px); transition: transform .18s ease-out; }
html body.carpeta .c-tab:hover { transform: translateX(-3px); }
html body.carpeta .c-tab[aria-selected="true"] { transform: none; font-weight: 800; }
html body.carpeta .c-tab:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; }
html body.carpeta .c-tab--presentacion { background: var(--presentacion); color: var(--presentacion-t); }
html body.carpeta .c-tab--manual { background: var(--manual);       color: var(--manual-t); }
html body.carpeta .c-tab--guia { background: var(--guia);         color: var(--guia-t); }
html body.carpeta .c-tab--evaluacion { background: var(--evaluacion);   color: var(--evaluacion-t); }
html body.carpeta .c-tab--scorm { background: var(--scorm);        color: var(--scorm-t); }
html body.carpeta .c-pie { grid-column: 1 / -1; grid-row: 2; margin: 22px 0 0; font-size: 14px; color: var(--grafito); max-width: 52ch; }
::view-transition-old(carpeta-hoja), ::view-transition-new(carpeta-hoja) { animation-duration: .2s; }

/* -- secciones ------------------------------------------------------------ */
html body.carpeta .c-sec { padding: 88px 0; border-top: 1px solid var(--linea); }
html body.carpeta .c-dos { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
html body.carpeta .c-sec h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
html body.carpeta .c-lista { margin: 0; }
html body.carpeta .c-item { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
html body.carpeta .c-item:first-child { padding-top: 0; }
html body.carpeta .c-item::before { content: ""; grid-row: 1 / span 2; width: 12px; height: 30px; margin-top: 4px; border-radius: 0 4px 4px 0;
  background: var(--s); box-shadow: inset 0 0 0 1px var(--st); }
html body.carpeta .c-item--presentacion { --s: var(--presentacion); --st: var(--presentacion-t); }
html body.carpeta .c-item--manual { --s: var(--manual);       --st: var(--manual-t); }
html body.carpeta .c-item--guia { --s: var(--guia);         --st: var(--guia-t); }
html body.carpeta .c-item--evaluacion { --s: var(--evaluacion);   --st: var(--evaluacion-t); }
html body.carpeta .c-item--scorm { --s: var(--scorm);        --st: var(--scorm-t); }
html body.carpeta .c-item dt { font-size: 20px; font-weight: 800; }
html body.carpeta .c-item dd { margin: 4px 0 0; color: var(--grafito); max-width: 60ch; }
html body.carpeta .c-prueba-texto p { margin: 0 0 16px; max-width: 56ch; }
html body.carpeta .c-nota { font-size: 15px; color: var(--grafito); }
html body.carpeta .c-fin h2 { max-width: 22ch; }

/* -- la navegacion y el pie de la base, en la identidad --------------------- */
html body.carpeta .nav { background: var(--pizarra); border-bottom: 1px solid var(--linea); }
html body.carpeta .nav, body.carpeta .nav a, body.carpeta .nav summary { color: var(--tinta); }
html body.carpeta .nav .muted { color: var(--grafito); }
html body.carpeta .nav .btn-ghost, html body.carpeta .nav .btn-primary { background: var(--fosforito); color: var(--tinta); border: 0; font-weight: 800; }
html body.carpeta .nav .btn-ghost:hover, html body.carpeta .nav .btn-primary:hover { background: var(--fosforito-hover); }
html body.carpeta .nav .dot { background: var(--tinta); }
html body.carpeta .theme-toggle { display: none; }
html body.carpeta .footer { background: var(--pizarra); color: var(--grafito); border-top: 1px solid var(--linea); }
html body.carpeta .footer a { color: var(--tinta); }

/* -- movil: los separadores arriba, como en una carpeta abierta ------------- */
@media (max-width: 900px) {
  html body.carpeta .c-hero { padding-top: 24px; }
  html body.carpeta .c-hero-grid, html body.carpeta .c-dos { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  html body.carpeta .c-hero h1 { margin-top: 16px; }
  html body.carpeta .c-carpeta { grid-template-columns: minmax(0, 1fr); }
  html body.carpeta .c-carpeta::before { grid-row: 2; }
  html body.carpeta .c-tabs { grid-column: 1; grid-row: 1; flex-direction: row; gap: 5px; padding: 0 0 0 6px; overflow-x: auto; scrollbar-width: none; }
  html body.carpeta .c-tab { min-width: 0; white-space: nowrap; padding: 9px 12px; border: 1px solid var(--linea); border-bottom: 0;
    border-radius: 8px 8px 0 0; transform: translateY(5px); }
  html body.carpeta .c-tab:hover { transform: translateY(2px); }
  html body.carpeta .c-tab[aria-selected="true"] { transform: none; }
  html body.carpeta .c-hoja { grid-row: 2; }
  html body.carpeta .c-pie { grid-row: 3; }
  html body.carpeta .c-sec { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html body.carpeta .c-tab { transition: none; }
  ::view-transition-old(carpeta-hoja), ::view-transition-new(carpeta-hoja) { animation: none; }
}

/* -- accesibilidad y ley: lo comprobado, como lista de verificacion -------- */
html body.carpeta .c-comprobado { list-style: none; margin: 0 0 18px; padding: 0; columns: 2 280px; column-gap: 32px; }
html body.carpeta .c-comprobado li { break-inside: avoid; padding: 6px 0 6px 30px; position: relative; }
html body.carpeta .c-comprobado li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--manual-t); border-bottom: 2.5px solid var(--manual-t); transform: rotate(-45deg); }
html body.carpeta .c-enlace { color: var(--tinta); font-weight: 800; text-underline-offset: 4px; text-decoration-thickness: 2px; }
html body.carpeta .c-enlace:hover { text-decoration-color: var(--fosforito-hover); }
html body.carpeta .c-h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }

/* -- correcciones medidas (25-sep) --------------------------------------------
   El tema oscuro por defecto de la app ("html[data-app-theme=dark] body", peso
   0,1,2) ganaba a "body.carpeta" (0,1,1): fondo casi negro y el titular en azul
   de rotulador sin contraste. Ahora la identidad pesa mas en sus paginas. */
html body.carpeta .nav .btn-ghost, html body.carpeta .nav .btn-primary { border: 0; font-weight: 800; }
html body.carpeta .nav-inner > a:first-child { font-family: inherit; font-weight: 800; letter-spacing: -0.01em; }
html body.carpeta .c-hero { overflow-x: clip; }   /* la hoja de detras, girada, desbordaba 14 px en movil */
@media (max-width: 480px) {   /* en negrita y con Atkinson, el boton de la navegacion desbordaba 10 px */
  html body.carpeta .nav .btn-ghost, html body.carpeta .nav .btn-primary { padding: 8px 12px; font-size: 15px; }
}
/* Navegacion adaptable en la identidad nueva (medido): Atkinson es mas ancha
   que la fuente anterior y, en aleman, la barra de escritorio no cabia en
   tableta (70 px de desbordamiento a 768) ni en movil estrecho (50 px a 360). */
@media (max-width: 1100px) {
  html body.carpeta .nav-menu { display: block; }
  html body.carpeta .nav-links .nav-hide, html body.carpeta .nav-links .nav-solo-ancho { display: none; }
}
@media (max-width: 400px) {   /* el boton principal del arranque esta justo debajo */
  html body.carpeta .nav-links .btn-ghost { display: none; }
}

/* -- el pie, en la identidad: titulos en frase, sin monoespaciada, sin rojo -- */
html body.carpeta .footer, html body.carpeta .footer * { font-family: inherit; }
html body.carpeta .footer-col h5 { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 800; color: var(--tinta); }
html body.carpeta .footer-brand, html body.carpeta .footer-brand * { color: var(--tinta); }
html body.carpeta .footer-brand p { color: var(--grafito); }
html body.carpeta .footer .dot { color: var(--tinta); background: var(--tinta); }
html body.carpeta .footer-base { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--grafito); }
html body.carpeta .c-bene { font-size: 20px; line-height: 1.5; margin: 0 0 26px; max-width: 46ch; }

/* -- comparativa honesta: tambien puntua donde el otro acierta ------------- */
html body.carpeta .c-tabla-caja { overflow-x: auto; }
html body.carpeta .c-tabla { width: 100%; border-collapse: collapse; font-size: 16px; }
html body.carpeta .c-tabla th, html body.carpeta .c-tabla td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linea); }
html body.carpeta .c-tabla thead th { font-weight: 800; color: var(--grafito); font-size: 15px; }
html body.carpeta .c-tabla tbody th { font-weight: 600; width: 42%; }
html body.carpeta .c-tabla .c-si { font-weight: 800; }
/* -- fuente, preguntas frecuentes ------------------------------------------ */
html body.carpeta .c-fuente { font-size: 14px; color: var(--grafito); }
html body.carpeta .c-fuente a { color: var(--grafito); }
html body.carpeta .c-fuente cite { font-style: normal; }
html body.carpeta .c-faq details { border-bottom: 1px solid var(--linea); padding: 4px 0; }
html body.carpeta .c-faq summary { cursor: pointer; font-weight: 800; font-size: 19px; padding: 14px 0; list-style-position: outside; }
html body.carpeta .c-faq summary:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
html body.carpeta .c-faq p { margin: 0 0 16px; color: var(--tinta); max-width: 60ch; }

/* ==========================================================================
   Todas las paginas publicas en la identidad (11.3). Los componentes antiguos
   se construyen con los tokens de tokens.css (cuyo claro era, literalmente,
   "crema calido") y verificar con los de instrument.css: dentro de la
   carpeta toman sus valores. La monoespaciada pasa a Atkinson: asi caen de
   golpe todas las etiquetas de maquina de escribir. El editor no cambia.
   ========================================================================== */
html body.carpeta {
  --paper: #F6F8F9; --paper-2: #EEF1F4; --card: #FFFFFF; --edge: #D9DEE5;
  --ink: #16233B; --ink-soft: #56627A; --line: #D9DEE5; --line-strong: #AEB8C6;
  --accent: #2F5E9E; --accent-press: #24497B; --gold: #7A5C0F; --teal: #2E7A4F;
  --font-display: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-ui: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --font-mono: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --shadow-1: 0 1px 2px rgba(22, 35, 59, .06); --shadow-2: 0 8px 24px -12px rgba(22, 35, 59, .22);
  --shadow-3: 0 22px 44px -20px rgba(22, 35, 59, .30);
  --ui-void: #F6F8F9; --ui-panel: #FFFFFF; --ui-rise: #EEF1F4; --ui-sink: #E9EDF2;
  --ui-edge: #D9DEE5; --ui-edge-2: #C5CDD8; --ui-edge-3: #AEB8C6;
  --ui-ink: #16233B; --ui-dim: #56627A; --ui-faint: #667085;
  --ui-signal: #2F5E9E; --ui-signal-2: #2F5E9E; --ui-live: #2E7A4F;
}
html body.carpeta h1, html body.carpeta h2, html body.carpeta h3, html body.carpeta h4 { font-family: inherit; letter-spacing: -0.015em; }
html body.carpeta .btn-primary { background: var(--fosforito); color: var(--tinta); border-color: transparent; font-weight: 800; }
html body.carpeta .btn-primary:hover { background: var(--fosforito-hover); color: var(--tinta); }
html body.carpeta .btn-ghost { color: var(--tinta); border-color: #AEB8C6; background: transparent; }
/* los antetitulos pierden el disfraz: ni mayusculas espaciadas ni chip */
html body.carpeta .eyebrow { text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 600;
  font-size: 15px; background: none; padding: 0; color: var(--grafito); border-radius: 0; }
html body.carpeta em, html body.carpeta i { color: inherit; }

/* Dentro de la carpeta, NADA en mayusculas espaciadas. !important a conciencia:
   las etiquetas de los componentes antiguos (".section-head .eyebrow",
   ".pr-badge"...) tienen mas peso que cualquier regla razonable de aqui, y
   este es exactamente el rasgo generico que la identidad no admite. Los
   titulos conservan su propio ajuste de espaciado. */
html body.carpeta * { text-transform: none !important; }
html body.carpeta *:not(h1):not(h2):not(h3) { letter-spacing: normal !important; }
html body.carpeta .pr-badge { background: var(--manual); color: var(--manual-t); font-weight: 800; font-size: 14px; border-radius: 6px; }
html body.carpeta .pr-featured { border-color: var(--tinta); box-shadow: 0 22px 44px -22px rgba(22, 35, 59, .30); }
/* ejemplos: el curso de ejemplo real */
html body.carpeta .ex-paginas { list-style: none; margin: 28px 0 22px; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
html body.carpeta .ex-paginas img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--linea);
  border-radius: 3px; box-shadow: 0 10px 24px -16px rgba(22, 35, 59, .35); }
html body.carpeta .ex-paginas span { display: block; margin-top: 8px; font-weight: 800; font-size: 15px; }
html body.carpeta .ex-nota { font-size: 15px; color: var(--grafito); max-width: 60ch; }

/* Antetitulos fuera en la carpeta: repetian la marca ("AIM DECK") encima del titulo. */
html body.carpeta .eyebrow { display: none; }
/* Precios: el boton principal va con el plan que recomendamos (Formador). */
html body.carpeta .pr-card:not(.pr-featured) .btn-primary { background: transparent; color: var(--tinta); border: 1.5px solid #AEB8C6; }
html body.carpeta .pr-featured .btn-ghost { background: var(--fosforito); color: var(--tinta); border-color: transparent; font-weight: 800; }
html body.carpeta .pr-featured .btn-ghost:hover { background: var(--fosforito-hover); }
html body.carpeta .tpl-nota { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid var(--evaluacion-t); background: var(--evaluacion); color: var(--tinta); font-size: 16px; max-width: 60ch; border-radius: 0 6px 6px 0; }
html body.carpeta .tc-badge { display: none; }   /* 'Plantilla' repetido en cada ficha: no informa */
html body.carpeta .tpl-nota { margin-bottom: 36px; }

/* Contraste medido con axe-core en produccion (11.7): el verde del manual daba
   4,47:1 sobre su tinte (lo habia estimado en 4,9 sin medirlo); ahora 4,98:1.
   Dos textos heredados del diseño oscuro: opacidad que bajaba el grafito a
   3,73:1, y un color escrito a mano para fondo oscuro que daba 1,64:1. */
html body.carpeta .hechos-nota { opacity: 1; color: var(--grafito); }
html body.carpeta .ver-sub { color: var(--grafito); }

/* 13.1 · Formacion en IA para tu plantilla (Plan 3): lectura de documento,
   una sola columna de 68ch, jerarquia por pregunta del comprador. */
html body.carpeta .fia { max-width: 68ch; margin: 0 auto; padding: 56px 20px 72px; }
html body.carpeta .fia-cab h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; margin: 0 0 18px; }
html body.carpeta .fia-lead { font-size: 19px; line-height: 1.6; color: var(--tinta); margin: 0 0 24px; }
html body.carpeta .fia-nota { font-size: 15px; color: var(--grafito); margin: 8px 0 0; }
html body.carpeta .fia-bloque { margin: 48px 0 0; }
html body.carpeta .fia-bloque h2 { font-size: 26px; margin: 0 0 12px; }
html body.carpeta .fia-bloque h3 { font-size: 19px; margin: 24px 0 10px; }
html body.carpeta .fia-bloque p { font-size: 17px; line-height: 1.7; margin: 0 0 12px; }
html body.carpeta .fia-temario { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.8; }
html body.carpeta .fia-fuentes ul { padding-left: 22px; line-height: 1.9; }
html body.carpeta .fia-fuentes a { color: var(--presentacion-t); text-underline-offset: 3px; }
html body.carpeta .fia-rev { font-size: 15px; color: var(--grafito); margin-top: 14px; }

/* 13.2 · el inventario: grupos claros, objetivos de toque de 44 px */
html body.carpeta .kit-form { margin-top: 28px; }
html body.carpeta .kit-campo { margin: 0 0 18px; }
html body.carpeta .kit-campo label { display: block; font-weight: 800; margin-bottom: 6px; }
html body.carpeta .kit-campo input[type=text] { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 17px;
  border: 1.5px solid #AEB8C6; border-radius: 6px; background: #fff; color: var(--tinta); }
html body.carpeta .kit-grupo { border: 1px solid var(--linea); border-radius: 8px; padding: 14px 18px 8px; margin: 0 0 22px; background: #fff; }
html body.carpeta .kit-grupo legend { font-weight: 800; font-size: 18px; padding: 0 6px; }
html body.carpeta .kit-opcion { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; cursor: pointer; }
html body.carpeta .kit-opcion input { width: 20px; height: 20px; accent-color: var(--presentacion-t); }
html body.carpeta .kit-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Los controles nativos vuelven: una regla antigua los pintaba con appearance:none
   y fondo oscuro, y un boton de opcion SIN marcar se veia igual que marcado.
   flex:none: en movil, la casilla de la opcion larga ya no cede su tamano. */
html body.carpeta .kit-opcion input[type=checkbox],
html body.carpeta .kit-opcion input[type=radio] { -webkit-appearance: auto; appearance: auto; flex: none;
  width: 20px; height: 20px; margin: 0; background: #fff; border: 0; box-shadow: none; accent-color: var(--presentacion-t); }
html body.carpeta .kit-ayuda { display: block; font-size: 15px; color: var(--grafito); margin: -2px 0 6px; }
/* La carpeta es clara: el tema antiguo declara color-scheme: dark y el navegador
   dibujaba los controles nativos (casillas, opciones, barras) en modo oscuro. */
html body.carpeta { color-scheme: light; }

/* 13.4 · registro de participantes */
html body.carpeta .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; }
html body.carpeta .part-curso iframe { display: block; width: 100%; height: min(78vh, 760px); border: 1px solid var(--linea); border-radius: 8px; background: #fff; }
html body.carpeta .part.fia { max-width: 980px; }
html body.carpeta .part-estado { font-weight: 800; font-size: 18px; margin: 16px 0; }
html body.carpeta .part-priv { margin-top: 28px; font-size: 16px; color: var(--grafito); }
html body.carpeta .part-priv summary { cursor: pointer; font-weight: 800; color: var(--tinta); min-height: 44px; display: flex; align-items: center; }
html body.carpeta .part select { width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-size: 17px; border: 1.5px solid #AEB8C6; border-radius: 6px; background: #fff; color: var(--tinta); }
html body.carpeta .reg-enlace { display: flex; gap: 10px; flex-wrap: wrap; }
html body.carpeta .reg-enlace input { flex: 1 1 260px; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px; border: 1.5px solid #AEB8C6; border-radius: 6px; background: #fff; color: var(--tinta); }
html body.carpeta .reg-caja-tabla { overflow-x: auto; margin: 0 0 18px; }
html body.carpeta .reg-tabla { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
html body.carpeta .reg-tabla th, html body.carpeta .reg-tabla td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
html body.carpeta .reg-tabla th { font-weight: 800; background: var(--pizarra); }
html body.carpeta .reg-borrar { min-height: 36px; padding: 6px 12px; font: inherit; font-size: 15px; border: 1.5px solid #AEB8C6; border-radius: 6px; background: #fff; color: var(--evaluacion-t); cursor: pointer; }
html body.carpeta .reg-borrar:hover { border-color: var(--evaluacion-t); }
html body.carpeta .reg-todo { margin-top: 12px; } html body.carpeta .reg-todo summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.deck-kit { margin: 4px 0 6px; font-size: 14px; }
html body.carpeta .reg-acciones { display: flex; gap: 12px; flex-wrap: wrap; }
