/** Copyright (c) 2026 DNA Genics, S.L. All rights reserved. */
.hsr-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: start; }
.hsr-content { --hsr-anchor-offset: calc(var(--nav-height, 72px) + 20px); min-width: 0; }
.hsr-nav { position: sticky; top: calc(var(--nav-height, 72px) + 20px); max-height: calc(100vh - var(--nav-height, 72px) - 32px); overflow-y: auto; }
.hsr-nav > .hd-eyebrow { padding-inline: 12px; }
.hsr-links { display: grid; gap: 4px; margin-top: 10px; }
.hsr-links a { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border-inline-start: 2px solid transparent; border-radius: 0 6px 6px 0; color: var(--hd-forest); font-size: .85rem; overflow-wrap: anywhere; text-decoration: none; }
.hsr-links a[hidden] { display: none; }
.hsr-links a:hover, .hsr-links a:is([aria-current="location"], [aria-current="page"]) { background: var(--hd-sand); border-color: #997437; }
.hsr-nav :focus-visible { outline: 2px solid #997437; outline-offset: -2px; }
.hsr-picker { display: none; }
.hsr-content :is([data-hsr-target], h2[id]) { scroll-margin-top: var(--hsr-anchor-offset); }
@media (max-width: 1199.98px) {
    .hsr-layout { display: block; }
    .hsr-nav { top: var(--nav-height, 72px); z-index: 20; max-height: none; margin-bottom: 20px; padding: 12px; border: 1px solid var(--hd-border); border-radius: 10px; background: var(--hd-sand); }
    .hsr-nav[data-hsr-ready] > :is(.hd-eyebrow, .hsr-links) { display: none; }
    .hsr-nav[data-hsr-ready] .hsr-picker { display: grid; gap: 6px; }
    .hsr-picker label { margin: 0; color: var(--hd-forest); font-size: .8rem; }
    .hsr-picker select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; appearance: auto; border: 1px solid var(--hd-border); border-radius: 6px; background: var(--hd-surface); color: var(--hd-forest); }
    .hsr-content { --hsr-anchor-offset: calc(var(--nav-height, 72px) + 112px); }
    .hsr-nav:not([data-hsr-ready]) { position: static; }
}
@media print {
    .hsr-layout { display: block; }
    .hsr-nav { display: none; }
}
