/* Archivo: ayuda.css. Lectura accesible de manuales; conserva la identidad visual del sitio HMLR. */
.help-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.help-sidebar { min-width: 0; }
.help-module-list { display: grid; gap: .5rem; padding: .75rem 0 0; }
.help-module-list a { padding: .45rem .65rem; border-radius: .5rem; text-decoration: none; }
.help-module-list a[aria-current="page"] { color: #084298; background: #e7f0ff; font-weight: 600; }
.help-sidebar summary { cursor: pointer; font-weight: 600; }
.help-doc { min-width: 0; max-width: 80ch; line-height: 1.75; overflow-wrap: break-word; }
.help-doc h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); line-height: 1.2; margin-bottom: 1.5rem; }
.help-doc h2 { font-size: 1.55rem; margin-top: 2.5rem; line-height: 1.35; }
.help-doc h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.help-doc h4 { font-size: 1.05rem; margin-top: 1.5rem; }
.help-doc [id], .help-hub [id] { scroll-margin-top: 6rem; }
.help-doc li { margin-bottom: .35rem; }
.help-doc blockquote { padding: 1rem 1.25rem; border-left: .3rem solid #0d6efd; background: #f0f5fc; border-radius: .25rem; }
.help-doc blockquote p:last-child { margin-bottom: 0; }
.help-doc table { display: block; max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border-collapse: collapse; font-size: .95rem; }
.help-doc th, .help-doc td { padding: .7rem; border: 1px solid #d9e1eb; vertical-align: top; }
.help-doc th { background: #f1f5fa; }
.help-doc img { max-width: 100%; height: auto; }
.help-doc a, .help-hub a { overflow-wrap: anywhere; }
.help-guide-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.help-guide-grid li { margin-bottom: .5rem; }
.help-module-card { border: 1px solid #d9e1eb; border-radius: 1rem; padding: 1.4rem; background: #fff; height: 100%; }
.help-module-card h3 { font-size: 1.2rem; }
.help-module-card p { color: #49576a; }
@media (max-width: 575.98px) {
    .help-layout { gap: 1.25rem; }
    .help-doc h2 { font-size: 1.35rem; }
    .help-doc ol, .help-doc ul { padding-left: 1.4rem; }
    .help-doc blockquote { padding: .8rem 1rem; }
}
@media (min-width: 768px) { .help-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
    .help-layout { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
    .help-sidebar { position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
}
@media print {
    .navbar, .footer, .help-sidebar, .help-reader-actions, .whatsapp-float, .skip-link { display: none !important; }
    .help-layout { display: block; }
    .help-doc { max-width: none; font-size: 10pt; }
    .help-doc table { display: table; width: 100%; }
    .help-doc h1, .help-doc h2, .help-doc h3 { break-after: avoid; }
}
