/* Página de ayuda: usa los tokens de style.css. */
.ayuda { min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(60% 40% at 100% 0%, #8ad8ff10, #0000 70%), var(--void); }
.ayuda .guide-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); background: #080b0edb; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.ayuda .guide-bar .brand { gap: 12px; font-size: 24px; }
.ayuda .guide-bar .brand img { width: 24px; height: 30px; }
.ayuda .guide-bar > a:last-child { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 12.5px/1 Barlow, Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #dbe3e6; }
/* El margen no usa --gutter: crece con la pantalla y, dentro de una caja de 900 px, a 2560 px dejaba el texto en 0. */
.ayuda-main { flex: 1; width: min(900px, 100%); box-sizing: border-box; margin: 0 auto; padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 48px) 48px; }
.ayuda-head .folio { color: var(--ice); }
.ayuda-head h1 { margin: 16px 0 18px; font: 600 clamp(38px, 5.6vw, 72px)/1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.ayuda-head h1 em { font-weight: 500; }
.ayuda-lead { margin: 0; color: #d4dde1; font-size: clamp(17px, 1.4vw, 20px); text-wrap: pretty; }
.ayuda-block { margin-top: clamp(34px, 5vw, 56px); }
.ayuda-block h2 { margin: 0 0 12px; font: 600 clamp(26px, 3vw, 38px)/1.1 var(--display); letter-spacing: -.01em; }
.ayuda-block p, .ayuda-list li { color: #c9d4d8; font-size: 17px; line-height: 1.6; }
.ayuda-block p { margin: 0; }
.ayuda-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.ayuda-steps figure { margin: 0; }
.ayuda-steps svg { display: block; width: 100%; height: auto; }
.ayuda-steps figcaption { margin-top: 12px; color: #c9d4d8; font-size: 16px; line-height: 1.5; }
.sv-panel { fill: #101820; stroke: #2a3a46; }
.sv-title { fill: #eef3f5; font: 600 24px Barlow, Arial, sans-serif; }
.sv-line { fill: #2a3a46; }
.sv-link { fill: #8ad8ff; font: 600 16px Barlow, Arial, sans-serif; text-decoration: underline; }
.sv-meta { fill: #c9d4d8; font: 500 15px Barlow, Arial, sans-serif; }
.sv-btn { fill: #1c2a34; stroke: #3d5463; }
.sv-btn-t { fill: #eef3f5; font: 600 14px Barlow, Arial, sans-serif; text-anchor: middle; }
.sv-mark { fill: none; stroke: #e9d09a; stroke-width: 3; stroke-dasharray: 7 5; }
.sv-num { fill: #e9d09a; }
.sv-num-t { fill: #0a0d10; font: 700 15px Barlow, Arial, sans-serif; text-anchor: middle; }
.ayuda-block .ayuda-fine { margin-top: 14px; color: #7f9097; font-size: 14px; }
.ayuda-safe { padding: 20px 22px; border: 1px solid #9ee6c040; border-left: 3px solid #9ee6c0; background: #9ee6c00d; }
.ayuda-list { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.ayuda-foot { display: block; padding: 22px var(--gutter); color: #7f9097; font-size: 14px; border-top: 1px solid var(--line); text-align: center; }
.ayuda-foot a { color: var(--ice); }
@media (max-width: 700px) {
  .ayuda-steps { grid-template-columns: minmax(0, 1fr); }
  .ayuda .guide-bar > a:last-child, .ayuda .guide-bar a { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 500px) {
  .ayuda .guide-bar { gap: 8px; padding-inline: 12px; }
  .ayuda .guide-bar .brand { font-size: 22px; gap: 6px; }
  .ayuda .guide-bar .brand img { width: 22px; height: 26px; }
}
@media (max-width: 430px) {
  .ayuda .guide-bar a span[data-i18n] { display: none; }
  .ayuda .guide-bar a { min-height: 36px; padding: 0 4px; }
}
/* Teclas (Ctrl+J en la ayuda de descargas) */
kbd { padding: 0 5px; border: 1px solid #a8cfe459; border-bottom-width: 2px; border-radius: 3px; font: 600 .85em/1.4 Barlow, Arial, sans-serif; color: var(--chalk); background: #ffffff0d; }
/* Guía de la descarga por Google Drive (ayuda/drive) */
.drive-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.drive-file { margin: 0; color: #9fb0b7; font-size: 15px; }
.drive-file strong { color: #e6ecee; font-weight: 600; word-break: break-all; }
.drive-steps { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: paso; }
.drive-steps li { counter-increment: paso; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--line); background: #101820; }
.drive-steps li::before { content: counter(paso); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e9d09a; color: #0a0d10; font: 700 15px/1 Barlow, Arial, sans-serif; }
.drive-steps h3 { margin: 2px 0 6px; font: 600 20px/1.25 Barlow, Arial, sans-serif; color: #eef3f5; }
.ayuda-block .drive-steps p { font-size: 16px; }
.ayuda code { padding: 0 4px; border-radius: 3px; background: #ffffff12; font: .9em/1.4 Consolas, monospace; color: #e6ecee; }
.ayuda-main a:not(.binary-link) { color: var(--ice); }
@media (max-width: 500px) { .drive-steps li { padding: 16px 16px 16px 56px; } .drive-steps li::before { left: 14px; } }
/* Preguntas frecuentes (faq) */
.faq-q { margin: 26px 0 8px; font: 600 clamp(19px, 2vw, 22px)/1.3 Barlow, Arial, sans-serif; color: #eef3f5; scroll-margin-top: 90px; }
.ayuda-block .faq-a { max-width: 70ch; }
.faq-a strong { color: #e6ecee; font-weight: 600; }
