/* Páginas de ayuda del rutómetro (/ayuda/rutometro y /ayuda/garmin): sobre rh-forms.css, públicas y sin sesión.
   Las capturas (img/ayuda/) llevan siempre datos inventados: tracks de ejemplo, clave AB12CD34 y mapa simulado. */
.help { text-align: left; }
.help-head { text-align: center; margin-bottom: 8px; }
.help-head .help-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: #004a99;
    text-decoration: none; }
.help-head h1 { font-size: 1.5rem; margin: 14px 0 6px; color: var(--text-dark); line-height: 1.25; }
.help-head p { margin: 0 auto; max-width: 620px; color: var(--grey-text); font-size: 0.95rem; }
.help-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 0.85rem;
    color: var(--grey-text); text-align: left; }
.help-crumbs a { color: var(--primary); font-weight: 600; text-decoration: none; }
.help-crumbs a:hover { text-decoration: underline; }
.help-crumbs [aria-current] { color: inherit; }
.help-news { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; padding: 10px 14px; border-radius: var(--radius-sm);
    background: #f5f3ff; border-left: 4px solid #7c3aed; font-size: 0.93rem; line-height: 1.45; text-align: left; }
.help-news p { margin: 0; }
.help-news a { color: #6d28d9; font-weight: 600; white-space: nowrap; }
.help-pill { flex: none; margin-top: 1px; padding: 2px 9px; border-radius: 999px; background: #7c3aed; color: #fff;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.help-switch { display: flex; justify-content: center; gap: 2px; padding: 3px; margin: 16px auto 0; max-width: 540px;
    border-radius: 999px; background: var(--grey-light); }
.help-switch a { flex: 1 1 0; min-width: 0; padding: 7px 10px; border-radius: 999px; text-align: center; font-size: 0.85rem;
    font-weight: 700; color: var(--grey-text); text-decoration: none; white-space: nowrap; }
.help-switch a[aria-current="page"] { background: var(--white); color: var(--primary); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.help-switch .help-ico { vertical-align: -3px; margin-right: 5px; }
/* Tres ayudas (20/11/2026, con Amazfit): en el móvil no caben en una línea; el icono encima y el nombre debajo, sin montarse */
@media (max-width: 560px) {
    .help-switch { border-radius: 16px; align-items: stretch; }
    .help-switch a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 6px;
        border-radius: 13px; font-size: 0.8rem; line-height: 1.2; white-space: normal; text-wrap: balance; }
    .help-switch .help-ico { margin: 0; flex: none; }
}
.help-toc { margin: 22px 0 6px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--blue-pale); }
.help-toc b { display: block; margin-bottom: 6px; color: var(--primary); }
.help-toc ol { margin: 0; padding-left: 22px; columns: 2 260px; column-gap: 28px; }
.help-toc li { margin: 3px 0; break-inside: avoid; }
.help-toc a { color: var(--primary); text-decoration: none; font-weight: 600; }
.help-toc a:hover { text-decoration: underline; }
.help section { margin-top: 34px; scroll-margin-top: 12px; }
.help h2 { display: flex; align-items: baseline; gap: 10px; font-size: 1.2rem; margin: 0 0 10px; color: var(--text-dark); text-align: left; }
.help h2 .n { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.95rem; transform: translateY(-2px); }
.help h3 { font-size: 1.02rem; margin: 20px 0 6px; color: var(--text-dark); }
.help p, .help li { line-height: 1.55; color: #334155; }
.help ol.steps { padding-left: 22px; }
.help ol.steps > li { margin: 8px 0; }
.help kbd { padding: 1px 6px; border: 1px solid #cbd5e1; border-bottom-width: 2px; border-radius: 5px; background: #f8fafc;
    font: inherit; font-size: 0.85em; font-weight: 600; }
.help .path { font-weight: 600; color: var(--primary); }
.help .tip, .help .warn { margin: 14px 0; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.93rem; }
.help .tip { background: #ecfdf5; border-left: 4px solid #16a34a; }
.help .warn { background: #fff7ed; border-left: 4px solid #f59e0b; }
.help .tip p, .help .warn p { margin: 4px 0; }
/* Capturas: las de móvil, estrechas y centradas; las de escritorio, a todo el ancho */
.help figure { margin: 16px auto; text-align: center; }
.help figure img { display: block; margin: 0 auto; max-width: 100%; height: auto; border: 1px solid #e2e8f0; border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); background: #fff; }
.help figure.phone img { width: 360px; }
.help figure.half img { width: 360px; }
.help figure.wide img { width: 100%; border-radius: 10px; }
.help figure.bare img { border: none; box-shadow: none; background: none; border-radius: 0; }
.help figcaption { margin-top: 8px; font-size: 0.82rem; color: var(--grey-text); }
/* Dos capturas de móvil juntas en escritorio, una debajo de otra en el móvil */
.help .pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.help .pair figure { margin: 8px 0; flex: 0 1 340px; }
.help .pair figure img { width: 100%; }
/* Pantallas del reloj: en rejilla */
.help .watches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 16px 0; }
.help .watches figure { margin: 0; }
.help .watches img { width: 100%; max-width: 200px; border: none; box-shadow: none; background: none; border-radius: 0; }
.help .watches.steps5 { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.help table.help-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 10px 0; }
.help .help-table th, .help .help-table td { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.help .help-table th { background: var(--grey-light); color: var(--text-dark); }
.help .help-table td:first-child { font-weight: 600; white-space: nowrap; }
.help .help-scroll { overflow-x: auto; }
.help details.faq { margin: 8px 0; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); background: #fff; }
.help details.faq summary { cursor: pointer; font-weight: 700; color: var(--text-dark); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.help details.faq summary::after { flex: 0 0 auto; margin: -4px 4px 0 0; }
.help details.faq[open] summary::after { margin-top: 4px; }
.help details.faq p { margin: 8px 0 2px; }
.help .help-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 4px; }
.help .help-cta .rh-btn { flex: 0 1 var(--btn-max, 320px); max-width: var(--btn-max, 320px); text-decoration: none; }
.help .top-link { display: block; margin-top: 10px; text-align: right; font-size: 0.85rem; }
.help .top-link a { color: var(--grey-text); text-decoration: none; }
.help-foot { margin-top: 36px; padding-top: 14px; border-top: 1px solid #e2e8f0; font-size: 0.85rem; color: var(--grey-text); text-align: center; }
.help-foot a { color: var(--primary); }
@media (max-width: 600px) {
    .help-head h1 { font-size: 1.28rem; }
    .help h2 { font-size: 1.08rem; }
    .help figure.phone img, .help figure.half img { width: 100%; max-width: 360px; }
    .help .help-table td:first-child { white-space: normal; }
}

/* Selector de idioma (16/11): a la derecha de la miga de pan, como en el rutómetro; y la nota de las capturas en español */
.rb-lang-menu { position: relative; flex: none; }
.rb-lang-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #d5dde8;
    border-radius: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: .04em; color: var(--text-dark, #1d2733); background: #fff; user-select: none; }
.rb-lang-menu summary::-webkit-details-marker { display: none; }
.rb-lang-menu summary:hover, .rb-lang-menu[open] summary { border-color: #9fb3cc; }
.rb-lang-menu > summary::after { width: 8px; height: 8px; border-width: 0 2.5px 2.5px 0; margin: 0 2px 3px 4px; }
.rb-lang-menu[open] > summary::after { margin-bottom: -3px; }
.rb-lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; margin: 0; padding: 6px; list-style: none; background: #fff;
    border: 1px solid #dfe6ef; border-radius: 10px; box-shadow: 0 10px 28px rgba(15, 30, 60, 0.16); z-index: 80; }
.rb-lang-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 0.92rem;
    font-weight: 600; color: #4a5a70; text-align: left; white-space: nowrap; cursor: pointer; text-transform: none; }
.rb-lang-menu button:hover { background: #f1f5fa; color: #1d2733; }
.rb-lang-menu button[aria-current] { color: var(--primary, #004a99); }
.help-crumbs .rb-lang-menu { margin-left: auto; }
.help-note { margin: 0 0 14px; font-size: 0.85rem; color: #5b6b80; }

/* ── Diseño «Hoja de ruta» (29/11/2026), como el rutómetro: papel, tinta azul del logo, verde topográfico y naranja;
   esquinas de 4px, sin sombras, y los pasos numerados como puntos de un rutómetro. Todo bajo body.help5. */
body.help5 { --h-paper: #EDF1EC; --h-sheet: #fff; --h-ink: #0E1730; --h-ink2: #47506A; --h-line: #D5DCD3; --h-topo: #2E7A57;
    --h-tint: #DCEADF; --h-sun: #E8691C; --h-sun-dark: #B84E0F; --primary: #0E1730; --text-dark: #0E1730; --grey-text: #5A6378;
    --radius-sm: 4px; background: var(--h-paper); color: var(--h-ink); }
body.help5 main.help { background: var(--h-sheet); border: 1px solid var(--h-line); border-radius: 4px; box-shadow: none; }
body.help5 .help-head { text-align: left; padding-bottom: 18px; border-bottom: 2px solid var(--h-ink); }
body.help5 .help-head .help-brand { color: var(--h-ink); }
body.help5 .help-head .help-brand img { width: auto; height: 40px; }
body.help5 .help-head h1 { margin: 18px 0 8px; font-family: "Archivo", "Arial Narrow", system-ui, sans-serif; font-stretch: 112%; font-size: 2rem;
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
body.help5 .help-head p { margin: 0; max-width: 680px; color: var(--h-ink2); font-size: 1rem; }
body.help5 .help-head p a, body.help5 .help a:not(.rh-btn) { color: var(--h-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--h-topo); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
body.help5 .help-switch a, body.help5 .help-toc a, body.help5 .help-crumbs a, body.help5 .help-brand { text-decoration: none !important; }
body.help5 .help-crumbs a { color: var(--h-ink); }
body.help5 .help-switch { justify-content: flex-start; gap: 0; padding: 0; margin: 18px 0 0; max-width: none; border-radius: 0; background: none;
    border: 1px solid var(--h-line); }
body.help5 .help-switch a { border-radius: 0; color: var(--h-ink2); border-right: 1px solid var(--h-line); padding: 10px; }
body.help5 .help-switch a:last-child { border-right: 0; }
body.help5 .help-switch a[aria-current="page"] { background: var(--h-ink); color: #fff; box-shadow: none; }
body.help5 .help-switch a[aria-current="page"] img { filter: brightness(0) invert(1); }
body.help5 .help-news { background: var(--h-paper); border-left: 4px solid var(--h-sun); border-radius: 0; }
body.help5 .help-news a { color: var(--h-ink); }
body.help5 .help-pill { border-radius: 2px; background: var(--h-ink); color: #fff; }
body.help5 .help-toc { background: var(--h-tint); border-radius: 0; border-left: 4px solid var(--h-topo); }
body.help5 .help-toc b, body.help5 .help-toc a { color: var(--h-ink); }
body.help5 .help-toc ol { font-variant-numeric: tabular-nums; }
/* Cada apartado, un punto del rutómetro: el número en una marca cuadrada de tinta y la línea de ruta debajo */
body.help5 .help section { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--h-line); }
body.help5 .help h2 { align-items: center; font-family: "Archivo", "Arial Narrow", system-ui, sans-serif; font-stretch: 112%; font-size: 1.4rem;
    font-weight: 800; letter-spacing: -0.01em; }
body.help5 .help h2 .n { width: auto; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 2px; background: var(--h-ink); transform: none;
    font-variant-numeric: tabular-nums; clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); height: 36px; padding-bottom: 6px; box-sizing: border-box; }
body.help5 .help h3 { font-size: 1.05rem; color: var(--h-topo); }
body.help5 .help p, body.help5 .help li { color: #2B3350; }
body.help5 .help .path { color: var(--h-topo); }
body.help5 .help kbd { border-radius: 2px; border-color: var(--h-line); background: var(--h-paper); }
body.help5 .help .tip { background: var(--h-tint); border-left-color: var(--h-topo); border-radius: 0; }
body.help5 .help .warn { background: #FFF4EA; border-left-color: var(--h-sun); border-radius: 0; }
body.help5 .help figure img { border: 1px solid var(--h-line); border-radius: 4px; box-shadow: none; }
body.help5 .help figure.wide img { border-radius: 4px; }
body.help5 .help figure.bare img, body.help5 .help .watches img { border: none; border-radius: 0; }
body.help5 .help figcaption { color: var(--h-ink2); }
body.help5 .help .help-table th { background: var(--h-ink); color: #fff; }
body.help5 .help .help-table th, body.help5 .help .help-table td { border-bottom-color: var(--h-line); }
body.help5 .help details.faq { border: 0; border-bottom: 1px solid var(--h-line); border-radius: 0; margin: 0; padding: 12px 2px; }
body.help5 .help .rh-btn { border-radius: 4px; box-shadow: none; }
body.help5 .help .rh-btn:not(.rh-btn-outline) { background: var(--h-ink); border-color: var(--h-ink); color: #fff; }
body.help5 .help .rh-btn-outline { border-color: var(--h-ink); color: var(--h-ink); background: #fff; }
body.help5 .help-foot { border-top: 2px solid var(--h-ink); }
body.help5 .help-foot a { color: var(--h-ink); }
body.help5 .rb-lang-menu summary, body.help5 .rb-lang-menu ul { border-radius: 4px; box-shadow: none; border-color: var(--h-line); }
@media (max-width: 600px) {
    body.help5 .help-head h1 { font-size: 1.55rem; }
    body.help5 .help h2 { font-size: 1.2rem; }
    /* En el móvil, la hoja a todo el ancho (sin marco ni márgenes de papel) y la letra algo más contenida */
    body.help5 { background: var(--h-sheet); padding: 0; }
    body.help5 main.help { width: 100%; max-width: none; box-sizing: border-box; margin: 0; padding: 14px 16px 28px; border: 0; border-radius: 0; }
    body.help5 .help p, body.help5 .help li, body.help5 .help-head p { font-size: 0.95rem; line-height: 1.5; }
    body.help5 .help-news, body.help5 .help-toc, body.help5 .help .tip, body.help5 .help .warn { padding: 12px 14px; font-size: 0.92rem; }
    body.help5 .help-news { display: block; }
    body.help5 .help-pill { display: inline-block; margin: 0 6px 4px 0; }
    body.help5 .help section { margin-top: 28px; }
    body.help5 .help figure { margin-left: 0; margin-right: 0; }
    body.help5 .help-switch a { padding: 8px 4px; font-size: 0.78rem; }
}

/* Letra de títulos del diseño «Hoja de ruta», alojada aquí (la política de seguridad no deja fuentes externas) */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
