/* Antes iba incrustado en templates/ayuda.html. */
  .ay-wrap { background: #f8fafc; }
  html.dark .ay-wrap { background: #0f141c; }
  .ay-card { background: #fff; border: 1px solid #eef2f6; border-radius: 1.25rem; box-shadow: 0 2px 14px -6px rgba(15,23,42,.07); }
  html.dark .ay-card { background: #171d29; border-color: #232a37; box-shadow: none; }
  .ay-ico { width: 2.1rem; height: 2.1rem; border-radius: .7rem; background: #f0f7ff; color: #0072cb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  html.dark .ay-ico { background: #1c2941; color: #7cc5fd; }
  .ay-plan { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b45309; background: #fef3c7; border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
  html.dark .ay-plan { color: #fcd34d; background: rgba(245,158,11,.14); }
  .ay-faq summary { list-style: none; }
  .ay-faq summary::-webkit-details-marker { display: none; }
  .ay-faq .ay-mas { transition: transform .2s cubic-bezier(.16,1,.3,1); }
  .ay-faq[open] .ay-mas { transform: rotate(45deg); }
  .ay-faq[open] { background: #fcfdff; }
  html.dark .ay-faq[open] { background: #19202d; }
  .ay-resp { padding: 0 1.25rem 1.4rem 3.25rem; color: #475569; font-size: .92rem; line-height: 1.7; animation: ayIn .22s cubic-bezier(.16,1,.3,1); }
  .ay-resp > p, .ay-resp > ol:not(.ay-pasos) { max-width: 68ch; }
  .ay-resp > ol:not(.ay-pasos) { list-style: none; counter-reset: paso; display: grid; gap: .45rem; margin-top: .4rem; }
  .ay-resp > ol:not(.ay-pasos) li { counter-increment: paso; position: relative; padding-left: 2rem; }
  .ay-resp > ol:not(.ay-pasos) li::before { content: counter(paso); position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 999px;
                             background: #0072cb; color: #fff; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  html.dark .ay-resp { color: #b2bac8; }
  .ay-resp strong, .ay-faq summary strong { font-weight: 700; color: #0f172a; }
  html.dark .ay-resp strong, html.dark .ay-faq summary strong { color: #c4cbd6; }
  html.dark .ay-resp > ol:not(.ay-pasos) li::before { background: #37a9fb; color: #0f141c; }
  .ay-pasos { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
  .ay-paso-n { width: 1.75rem; height: 1.75rem; border-radius: 999px; background: #0072cb; color: #fff; font-weight: 800; font-size: .82rem;
               display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 4px #e0efff; }
  html.dark .ay-paso-n { background: #37a9fb; color: #0f141c; box-shadow: 0 0 0 4px rgba(55,169,251,.16); }
  .ay-shot { display: block; width: 100%; margin-top: .75rem; border-radius: .9rem; border: 1px solid #e2e8f0; background: #f1f5f9; overflow: hidden; cursor: zoom-in;
             box-shadow: 0 16px 36px -24px rgba(15,23,42,.35); transition: transform .2s cubic-bezier(.16,1,.3,1); }
  .ay-shot:hover { transform: translateY(-2px); }
  .ay-shot img { display: block; width: 100%; height: auto; }
  /* Captura del tema activo (make_help_media.py hace las dos) */
  .ay-shot img.ay-oscuro, html.dark .ay-shot img.ay-claro { display: none; }
  html.dark .ay-shot img.ay-oscuro { display: block; }
  html.dark .ay-shot { border-color: #2c3340; background: #131925; box-shadow: none; }
  @keyframes ayIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
  .ay-search { width: 100%; border: 1px solid #e2e8f0; border-radius: 1rem; padding: .95rem 1rem .95rem 2.9rem; font-size: 1rem; background: #fff; color: #0f172a;
               outline: none; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
  .ay-search:focus { border-color: #37a9fb; box-shadow: 0 0 0 4px rgba(55,169,251,.14); }
  html.dark .ay-search { background: #131925; border-color: #313a4a; color: #c4cbd6; }
  .ay-sec-link { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff;
                 font-size: .8rem; font-weight: 700; color: #475569; transition: border-color .15s, color .15s; }
  .ay-sec-link:hover { border-color: #7cc5fd; color: #0059a4; }
  html.dark .ay-sec-link { background: #171d29; border-color: #2c3340; color: #b2bac8; }
  html.dark .ay-sec-link:hover { border-color: #2b4a6e; color: #7cc5fd; }
  [data-ay-oculto] { display: none !important; }
  @media (max-width: 640px) { .ay-resp { padding-left: 1.25rem; } }
