/* ============================================================
   CENTRO DE AYUDA — rediseño con el lenguaje de la Home (octubre 2026)
   Lo carga ayuda.html DESPUÉS de styles.css. Prefijo de clases: ay-.
   Reutiliza de la Home: .hx-main, .hx-head, .hx-lead, .hx-faq-item (acordeón con <details>), .hx-plan-tag,
   .hx-support, .hm-btn y los tokens de color (copiados abajo como --ay-*, con los mismos valores).
   Reglas de accesibilidad de esta hoja:
     · texto >= 4.5:1 sobre su fondo (3:1 el grande); el texto que cae directo sobre el fondo de la Home usa #cfd8f3 o más claro
     · controles táctiles >= 44px de alto en celular (>= 40px en escritorio); summaries >= 56px
     · foco visible (mismo estilo que la Home) y sin depender solo del color
   El CSS viejo .ayuda-* de styles.css ya no se usa en esta página.
   ============================================================ */
.ay-main {
  --ay-surface: #0d1428;
  --ay-surface-2: #111a33;
  --ay-border: rgba(139, 92, 246, 0.22);
  --ay-border-strong: rgba(167, 139, 250, 0.55);
  --ay-text: #eef1fb;
  --ay-body: #cfd8f3;
  --ay-muted: #aab8dc;
  --ay-accent: #c4b5fd;
  --ay-accent-2: #a78bfa;
  --ay-violet: #7c3aed;
  --ay-violet-soft: rgba(124, 58, 237, 0.16);
  --ay-warn: #fcd34d;
  --ay-focus: #c4b5fd;
  --ay-gap: 64px;
}

/* El header es pegajoso y en celu mide más (dos filas): las anclas dejan siempre su alto + aire. */
html:has(body.has-header-px) { scroll-padding-top: calc(var(--pxh-h, 72px) + 20px); }

/* Una regla vieja (≤640px) convierte .client-main en flex y reordena los hijos: acá se respeta el orden del HTML. */
body.has-header-px .client-main.ay-main {
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 28px 32px 88px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ay-gap);
}
body.has-header-px .client-main.ay-main > * { order: 0; min-width: 0; }
.ay-main [hidden] { display: none !important; }

/* El fondo de la Home termina en un color sólido a ~118vw; esta página es mucho más larga y ahí se veía un corte.
   Con la máscara el final del fondo se disuelve en el degradado base de la página. (En celu el fondo es fijo: no se toca.) */
@media (min-width: 1024px) {
  body.ay-page .hm-fondo {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  }
}

/* El aro de foco de la Home fija radio 8px: acá se respeta la forma de cada pieza. */
.ay-main .ay-topic:focus-visible { border-radius: 18px; }
.ay-main .ay-chip:focus-visible { border-radius: 999px; }
.ay-main .ay-toc a:focus-visible { border-radius: 10px; }
.ay-main .ay-results a:focus-visible { border-radius: 12px; }
.ay-main .hm-btn:focus-visible { border-radius: 12px; }

/* Foco: el mismo estilo que la Home (la Home no cubre inputs). Los contenedores que reciben foco por JS no dibujan aro. */
.ay-main input:focus-visible {
  outline: 2px solid var(--ay-focus); outline-offset: 3px; border-radius: 14px;
}
.ay-main [tabindex="-1"]:focus { outline: none; }
.ay-main .hx-faq-item summary:focus-visible { outline-offset: -3px; } /* el <details> recorta con overflow:hidden: el aro va por dentro */

/* ── Hero ─────────────────────────────────────────────────────── */
.ay-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 40px;
  padding: 44px 48px;
  border-radius: 22px; border: 1px solid var(--ay-border);
  background: var(--ay-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.ay-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 90% at 92% 8%, rgba(124, 58, 237, 0.24), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(91, 140, 255, 0.08), transparent 70%);
}
.ay-hero-copy { position: relative; display: grid; gap: 18px; justify-items: start; min-width: 0; }
.ay-kicker { margin: 0; color: var(--ay-accent); font: 700 0.86rem "Rajdhani", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; }
.ay-title {
  margin: 0; color: #fff;
  font: 700 clamp(2rem, 1.3rem + 2.6vw, 3.2rem)/1.08 "Oxanium", sans-serif;
  letter-spacing: -0.005em; text-wrap: balance;
}
.ay-title span { color: var(--ay-accent-2); }
.ay-hero .hx-lead { max-width: 54ch; }
.ay-hero-art { position: relative; justify-self: center; width: 100%; max-width: 260px; color: #8b5cf6; }
.ay-hero-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 42px rgba(124, 58, 237, 0.45)); }

/* Buscador */
.ay-search { width: 100%; max-width: 640px; margin-top: 6px; }
.ay-search-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ay-search-box { position: relative; }
.ay-search-ico {
  position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%);
  stroke: var(--ay-accent-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.ay-search input {
  width: 100%; height: 56px; padding: 0 58px 0 54px;
  border-radius: 14px; border: 1px solid rgba(139, 92, 246, 0.55);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ay-text); font: 500 1.12rem "Rajdhani", sans-serif;
  -webkit-appearance: none; appearance: none;
}
.ay-search input::placeholder { color: #9aa8c9; opacity: 1; }
.ay-search input::-webkit-search-cancel-button,
.ay-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.ay-search input:focus { border-color: rgba(196, 181, 253, 0.95); background: rgba(255, 255, 255, 0.1); }
.ay-search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px;
  display: grid; place-items: center; background: transparent; color: var(--ay-body); cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.ay-search-clear:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ay-search-clear svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ay-search-estado { margin: -6px 0 0; color: var(--ay-body); font: 600 1.05rem/1.4 "Rajdhani", sans-serif; }
.ay-search-estado:not(:empty) { margin-top: 0; }
.ay-search-estado strong { color: #fff; }

.ay-results { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; max-width: 640px; }
.ay-results a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(139, 92, 246, 0.32);
  color: var(--ay-text); font: 600 1.05rem/1.3 "Rajdhani", sans-serif; text-decoration: none;
  transition: background 0.12s, border-color 0.12s;
}
.ay-results a:hover { background: rgba(124, 58, 237, 0.2); border-color: rgba(167, 139, 250, 0.7); }
.ay-results a svg { flex-shrink: 0; width: 16px; height: 16px; stroke: var(--ay-accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ay-results .ay-results-more a { background: transparent; border-style: dashed; color: var(--ay-accent); }

/* Lo más consultado */
.ay-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ay-pop-l { margin: 0; color: var(--ay-muted); font: 700 0.86rem "Rajdhani", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.ay-pop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ay-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.45); background: rgba(124, 58, 237, 0.14);
  color: #e6defe; font: 600 1rem "Rajdhani", sans-serif; text-decoration: none;
  transition: background 0.12s, border-color 0.12s;
}
.ay-chip:hover { background: rgba(124, 58, 237, 0.28); border-color: rgba(196, 181, 253, 0.8); color: #fff; }
.ay-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.ay-hero-actions [hidden] { display: none !important; }

/* ── Cabeceras de sección (texto directo sobre el fondo: colores claros) ── */
.ay-main .ay-sec-sub { margin: 8px 0 0; color: var(--ay-body); font: 500 1.08rem/1.4 "Rajdhani", sans-serif; }
.ay-main .hx-head p { color: var(--ay-body); }

/* ── Temas rápidos ────────────────────────────────────────────── */
.ay-topics { gap: 22px; }
.ay-topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ay-topic-grid > li { display: flex; min-width: 0; }
.ay-topic {
  flex: 1; display: flex; align-items: flex-start; gap: 16px; min-height: 96px;
  padding: 22px; border-radius: 18px;
  background: var(--ay-surface); border: 1px solid var(--ay-border);
  color: inherit; text-decoration: none;
  transition: border-color 0.12s, background 0.12s, transform 0.12s;
}
.ay-topic:hover { border-color: rgba(167, 139, 250, 0.65); background: var(--ay-surface-2); transform: translateY(-2px); }
.ay-ico {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--ay-violet-soft); color: var(--ay-accent);
}
.ay-ico svg, .ay-rule-ico svg, .ay-option-ico svg {
  width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ay-topic-body { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; }
.ay-topic-t { color: #fff; font: 700 1.18rem/1.2 "Oxanium", sans-serif; }
.ay-topic-d { color: var(--ay-muted); font: 500 1.03rem/1.4 "Rajdhani", sans-serif; }
.ay-topic-go { flex-shrink: 0; align-self: center; width: 20px; height: 20px; stroke: var(--ay-accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.12s; }
.ay-topic:hover .ay-topic-go { transform: translateX(3px); }

/* ── Índice + contenido ───────────────────────────────────────── */
.ay-layout {
  width: 100%;
  display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; align-items: start;
}
.ay-content { display: grid; gap: 56px; min-width: 0; }

.ay-toc {
  position: sticky; top: calc(var(--pxh-h, 72px) + 24px);
  display: grid; gap: 18px; padding: 18px 14px 14px;
  border-radius: 18px; background: var(--ay-surface); border: 1px solid var(--ay-border);
}
.ay-toc-t { margin: 0 0 6px 12px; color: var(--ay-muted); font: 700 0.8rem "Oxanium", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.ay-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ay-toc a {
  display: flex; align-items: center; min-height: 40px; padding: 4px 12px;
  border-radius: 10px; border-left: 3px solid transparent;
  color: var(--ay-body); font: 600 1.02rem/1.2 "Rajdhani", sans-serif; text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.ay-toc a:hover { background: rgba(124, 58, 237, 0.16); color: #fff; }
.ay-toc a[aria-current="location"] { background: rgba(124, 58, 237, 0.22); border-left-color: var(--ay-accent-2); color: #fff; }

/* ── Preguntas frecuentes ─────────────────────────────────────── */
.ay-faq { display: grid; gap: 30px; min-width: 0; }
.ay-cats { display: grid; gap: 44px; }
.ay-cat { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ay-cat > h3 {
  margin: 0; display: flex; align-items: center; gap: 12px;
  color: var(--ay-text); font: 700 1.32rem/1.2 "Oxanium", sans-serif;
}
.ay-cat > h3::before { content: ""; flex-shrink: 0; width: 4px; height: 1.1em; border-radius: 2px; background: var(--ay-accent-2); }
.ay-main .ay-cat-sub { margin: -6px 0 2px 16px; color: var(--ay-body); font: 500 1.05rem/1.4 "Rajdhani", sans-serif; }
.ay-main .ay-faq-list { max-width: none; margin: 0; }
.ay-main .hx-faq-item summary:hover { background: rgba(124, 58, 237, 0.1); }
.ay-main .hx-faq-item[open] summary { color: #fff; }
.ay-main .hx-faq-a > p, .ay-main .hx-faq-a > ul { max-width: 72ch; }
.ay-main .hx-faq-a a, .ay-main .ay-rule-body a, .ay-main .ay-doc-head a {
  color: var(--ay-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.ay-main .hx-faq-a a:hover, .ay-main .ay-rule-body a:hover { color: #fff; }
.ay-main .hx-faq-a strong, .ay-main .ay-rule-body strong { color: #fff; font-weight: 700; }

.ay-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ay-bullets li { position: relative; padding-left: 22px; }
.ay-bullets li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--ay-accent-2); }
/* Pasos numerados (instructivo de avisos): número en un círculo en vez del cuadradito. */
.ay-pasos { counter-reset: ay-paso; }
.ay-pasos li { counter-increment: ay-paso; padding-left: 32px; }
.ay-pasos li::before { content: counter(ay-paso); left: 0; top: 0.1em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 0.8rem/1 "Oxanium", sans-serif; color: #0b1020; }
.ay-main code {
  padding: 1px 7px; border-radius: 6px; background: rgba(124, 58, 237, 0.2); color: #ece6ff;
  font: 600 0.88em ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: nowrap;
}

.ay-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.ay-compare-card, .ay-step-card {
  display: grid; align-content: start; gap: 10px; min-width: 0; padding: 16px 18px;
  border-radius: 12px; background: var(--ay-surface-2); border: 1px solid rgba(255, 255, 255, 0.1);
}
.ay-compare-card--primaria, .ay-step-card--primaria { border-color: rgba(167, 139, 250, 0.55); }
.ay-compare-card p { margin: 0; }
.ay-compare-card:not(.ay-compare-card--primaria) .hx-plan-tag,
.ay-step-card:not(.ay-step-card--primaria) .hx-plan-tag { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); color: #e6eafc; }
.ay-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 2px; }
.ay-step-card header { display: grid; gap: 8px; justify-items: start; }
.ay-step-hint { color: var(--ay-muted); font: 600 0.98rem/1.3 "Rajdhani", sans-serif; }
.ay-step-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ay-step-card li { color: #dfe4ff; font: 500 1.05rem/1.5 "Rajdhani", sans-serif; }
.ay-step-card li strong { color: #fff; }
.ay-main .ay-note {
  margin: 0; max-width: 72ch; padding: 14px 16px; border-radius: 12px;
  background: rgba(124, 58, 237, 0.14); border-left: 3px solid var(--ay-accent-2); color: #e6eafc;
}

/* Estado vacío del buscador */
.ay-empty {
  display: grid; gap: 12px; justify-items: start; padding: 28px;
  border-radius: 18px; background: var(--ay-surface); border: 1px dashed var(--ay-border-strong);
}
.ay-empty h3 { margin: 0; color: #fff; font: 700 1.3rem/1.2 "Oxanium", sans-serif; }
.ay-empty p { margin: 0; max-width: 62ch; color: var(--ay-body); font: 500 1.08rem/1.5 "Rajdhani", sans-serif; }
.ay-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ── Documentos: términos, garantía, privacidad ──────────────── */
.ay-doc {
  display: grid; gap: 6px; min-width: 0; padding: 34px 38px 30px;
  border-radius: 22px; background: var(--ay-surface); border: 1px solid var(--ay-border);
}
.ay-doc-head { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 18px; }
.ay-doc-head > div { min-width: 0; }
.ay-doc-head p { margin: 8px 0 0; max-width: 62ch; color: var(--ay-body); font: 500 1.1rem/1.5 "Rajdhani", sans-serif; }
.ay-rules { list-style: none; margin: 0; padding: 0; display: grid; }
.ay-rule {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ay-rule-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ay-violet-soft); color: var(--ay-accent); }
.ay-rule-ico svg { width: 22px; height: 22px; }
.ay-rule-body { min-width: 0; display: grid; gap: 10px; align-content: start; }
.ay-rule-body h3 { margin: 0; color: #fff; font: 700 1.2rem/1.25 "Oxanium", sans-serif; }
.ay-rule-body p, .ay-rule-body .ay-bullets { margin: 0; max-width: 70ch; color: var(--ay-body); font: 500 1.08rem/1.65 "Rajdhani", sans-serif; }
.ay-rule--key {
  margin-top: 12px; padding: 20px; border: 1px solid rgba(252, 211, 77, 0.4); border-radius: 14px;
  background: rgba(251, 191, 36, 0.07);
}
.ay-rule--key .ay-rule-ico { background: rgba(251, 191, 36, 0.14); color: var(--ay-warn); }
.ay-callout {
  display: flex; align-items: flex-start; gap: 12px; margin: 10px 0 0; padding: 16px 18px;
  border-radius: 14px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(252, 211, 77, 0.4);
  color: #fde68a; font: 600 1.06rem/1.5 "Rajdhani", sans-serif;
}
.ay-callout svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; stroke: var(--ay-warn); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ay-doc-foot { margin: 12px 0 0; color: var(--ay-muted); font: 600 1rem "Rajdhani", sans-serif; }

.ay-options { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ay-option {
  display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 16px;
  border-radius: 14px; background: var(--ay-surface-2); border: 1px solid rgba(255, 255, 255, 0.1);
}
.ay-option-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ay-violet-soft); color: var(--ay-accent); }
.ay-option-ico svg { width: 20px; height: 20px; }
.ay-option > div { min-width: 0; }
.ay-option strong { display: block; color: #fff; font: 700 1.1rem/1.25 "Oxanium", sans-serif; }
.ay-option > div > span { display: block; margin-top: 4px; color: var(--ay-body); font: 500 1.03rem/1.45 "Rajdhani", sans-serif; }

/* ── Soporte (reutiliza .hx-support de la Home) ──────────────── */
.ay-support .hx-lead { max-width: 56ch; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .ay-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 36px; }
  .ay-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ay-hero { grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; }
}
@media (max-width: 1099.98px) {
  /* Sin columna lateral: el índice pasa a una fila de accesos a las políticas. */
  .ay-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ay-toc { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; border: 0; background: none; border-radius: 0; }
  .ay-toc-group { display: contents; }
  .ay-toc-group--faq, .ay-toc-group--contacto { display: none; }
  .ay-toc-group .ay-toc-t { margin: 0 6px 0 0; color: var(--ay-body); } /* sin tarjeta: queda sobre el fondo, va más claro */
  .ay-toc ul { display: contents; }
  .ay-toc li { display: flex; }
  .ay-toc a {
    min-height: 44px; padding: 4px 16px; border: 1px solid rgba(139, 92, 246, 0.45); border-radius: 999px;
    background: rgba(124, 58, 237, 0.14); color: #e6defe;
  }
  .ay-toc a[aria-current="location"] { border-left-width: 1px; border-color: rgba(196, 181, 253, 0.8); }
}
@media (max-width: 1023.98px) {
  body.has-header-px .client-main.ay-main { padding: 20px 20px 72px; }
  .ay-hero { padding: 36px 32px; }
}
@media (max-width: 899.98px) {
  .ay-hero { grid-template-columns: minmax(0, 1fr); }
  .ay-hero-art { display: none; }
}
@media (max-width: 767.98px) {
  .ay-compare, .ay-steps, .ay-options { grid-template-columns: minmax(0, 1fr); }
  .ay-doc { padding: 26px 24px 24px; }
}
@media (max-width: 640px) {
  body.has-header-px .client-main.ay-main { padding: 14px 14px 56px; --ay-gap: 48px; }
  .ay-hero { padding: 26px 20px 24px; border-radius: 18px; }
  .ay-hero-copy { gap: 16px; }
  .ay-search input { height: 56px; }
  .ay-chip { min-height: 44px; }
  .ay-hero-actions { width: 100%; }
  .ay-hero-actions .hm-btn { flex: 1 1 100%; justify-content: center; min-height: 48px; }
  .ay-topics { gap: 16px; }
  .ay-topic-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ay-topic { min-height: 0; padding: 16px; gap: 14px; align-items: center; }
  .ay-ico { width: 44px; height: 44px; }
  .ay-ico svg { width: 22px; height: 22px; }
  .ay-topic-t { font-size: 1.1rem; }
  .ay-cats { gap: 36px; }
  .ay-content { gap: 44px; }
  .ay-doc { padding: 22px 18px 20px; border-radius: 18px; }
  .ay-doc-head { gap: 14px; padding-bottom: 14px; }
  /* Sin el ícono de cada regla el texto legal usa todo el ancho (es decorativo: el título ya dice de qué trata). */
  .ay-rule { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 18px 0; }
  .ay-rule-ico { display: none; }
  .ay-rule--key { padding: 16px 14px; }
  .ay-empty { padding: 20px 18px; }
  .ay-empty-actions .hm-btn { flex: 1 1 100%; justify-content: center; }
  .ay-support .hx-support-actions .hm-btn { min-height: 48px; }
}
@media (max-width: 380px) {
  .ay-hero { padding: 22px 16px 20px; }
  .ay-doc { padding: 20px 14px 18px; }
  .ay-search-ico { left: 14px; }
  .ay-search input { padding-left: 46px; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ay-topic, .ay-topic-go, .ay-chip, .ay-results a, .ay-toc a, .ay-search-clear { transition: none; }
  .ay-topic:hover { transform: none; }
  .ay-topic:hover .ay-topic-go { transform: none; }
  html:has(body.has-header-px) { scroll-behavior: auto; }
}
