/* Accesibilidad, lectura en voz alta, protección de contenido y páginas nuevas */

.a11y { position: fixed; top: 42%; left: 0; z-index: 9000; font-family: 'Open Sans', system-ui, sans-serif; }
.a11y-toggle {
  width: 46px; height: 46px; border: 0; border-radius: 0 12px 12px 0;
  background: #0d2b5e; color: #fff; font-weight: 800; font-size: 16px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.a11y-toggle:focus-visible, .a11y-panel button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.a11y-panel {
  position: absolute; top: 0; left: 52px; width: 260px; max-width: calc(100vw - 72px);
  background: #fff; color: #0f172a; border-radius: 14px; padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); border: 1px solid #e2e8f0;
}
.a11y-panel[hidden] { display: none; }
.a11y-titulo { font-weight: 800; margin: 0 0 10px; font-size: 16px; }
.a11y-fila { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }
.a11y-fila > div { display: flex; gap: 6px; }
.a11y-panel button {
  min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px;
  border: 1px solid #cbd5e1; background: #f8fafc; color: #0d2b5e; font-weight: 700; font-size: 15px; cursor: pointer;
}
.a11y-panel .a11y-btn-grande { width: 100%; background: #0d2b5e; color: #fff; border-color: #0d2b5e; margin-top: 4px; }
.a11y-panel .a11y-parar { width: 100%; margin-top: 8px; background: #fff; }
.a11y-estado { font-size: 13px; color: #475569; margin: 8px 0 0; min-height: 1em; }

/* Campo trampa anti-spam: invisible para personas, visible para robots que llenan todo */
.campo-trampa { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Protección de imágenes y videos */
.protegido { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; }

/* Páginas nuevas */
.form-publico .form-group { margin-bottom: 14px; }
.form-publico .form-control { width: 100%; }
.libro-lista { list-style: none; padding: 0; margin: 0; }
.libro-item { background: #fff; border-left: 4px solid #0d2b5e; padding: 14px 16px; border-radius: 10px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(15,23,42,.08); }
.libro-texto { margin: 0 0 6px; font-style: italic; color: #0f172a; overflow-wrap: anywhere; }
.libro-firma { font-size: .85rem; color: #64748b; }
.libro-qr { display: flex; gap: 16px; align-items: center; margin-top: 28px; flex-wrap: wrap; background: #f0f7ff; border-radius: 12px; padding: 16px; }
.libro-qr img { width: 150px; height: 150px; max-width: 40vw; height: auto; background: #fff; border-radius: 8px; }
.entrevista-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; }
.entrevista-card h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.entrevista-card audio { margin-top: 8px; }
.entrevista-card .video-wrap { position: relative; }
@media (max-width: 480px) {
  .a11y-panel { width: 230px; }
  .libro-qr { flex-direction: column; align-items: flex-start; }
}
