/* ayuda.php — manual de uso */
.ay { max-width: 960px; }
.ay-buscar { max-width: 520px; margin: 14px auto 0; }
.ay-buscar input { width: 100%; padding: 13px 16px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.8); color: #fff; font-size: 1rem; box-sizing: border-box; }
.ay-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; margin-bottom: 14px; }
.ay-roles a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 14px; background: var(--bg-tarjeta); border: 1px solid rgba(148, 163, 184, 0.16); color: inherit; text-decoration: none; font-weight: 700; font-size: 0.9rem; text-align: center; }
.ay-roles a span { font-size: 1.6rem; }
.ay-roles a small { position: absolute; top: 6px; right: 8px; padding: 1px 6px; border-radius: 6px; background: #f5b301; color: #1a1200; font-size: 0.62rem; }
.ay-roles a.mio, .ay-roles a.on, .ay-roles a:hover { border-color: #f5b301; background: rgba(245, 179, 1, 0.1); }
.ay-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.ay-imprimir { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.35); background: transparent; color: inherit; font-weight: 700; cursor: pointer; width: auto; margin: 0; }
.ay-sec { margin: 18px 0; padding: 20px; border-radius: 18px; background: var(--bg-tarjeta); border: 1px solid rgba(148, 163, 184, 0.14); scroll-margin-top: 80px; }
.ay-sec.activa { border-color: #f5b301; box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.35); }
.ay-sec h2 { margin: 0 0 8px; font-size: 1.3rem; }
.ay-sec h3 { margin: 14px 0 6px; font-size: 1rem; color: #f5b301; }
.ay-intro { color: var(--texto-gris); margin: 0 0 4px; }
.ay-sec ul, .ay-sec ol { margin: 0; padding-left: 22px; line-height: 1.65; }
.ay-sec li { margin-bottom: 4px; }
.ay-pasos ol li::marker { color: #f5b301; font-weight: 800; }
.ay-sec a { color: #67e8f9; }
.ay-sec code { padding: 1px 6px; border-radius: 6px; background: rgba(148, 163, 184, 0.14); font-size: 0.85em; word-break: break-all; }
.ay-tip { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(6, 182, 212, 0.1); border-left: 3px solid #06b6d4; }
.ay-dos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.ay-sec details { margin: 8px 0; padding: 12px 14px; border-radius: 12px; background: rgba(148, 163, 184, 0.07); }
.ay-sec summary { cursor: pointer; font-weight: 700; }
.ay-sec details p { margin: 8px 0 0; color: var(--texto-gris); }
.ay-si { background: rgba(245, 179, 1, 0.12); border-radius: 6px; }
.ay-no { opacity: 0.35; }
.ay-sin-resultado { padding: 14px; border-radius: 12px; background: rgba(239, 68, 68, 0.12); }
.ay-contacto { margin-top: 14px; font-weight: 700; }
.ay-subir { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #334155; color: #fff; text-decoration: none; font-size: 1.2rem; z-index: 50; }
@media print {
    nav, .no-imprimir, footer, .sc-ayuda { display: none !important; }
    body { background: #fff !important; color: #111 !important; }
    .ay-sec { break-inside: avoid-page; border: 1px solid #ccc; background: #fff; color: #111; }
    .ay-sec h3 { color: #92400e; }
    .ay-sec details { background: #fff; } .ay-sec details > * { display: block; }
    .ay-intro, .ay-sec details p { color: #333; }
    .ay-sec a { color: #0e7490; }
    .hero { background: none !important; color: #111 !important; padding: 0 !important; }
}
