/* Two chapter menus stay available while reading either guide. */
:root { --guide-navigation-height: 64px; }
.guide-navigation { position: sticky; top: 0; z-index: 35; height: var(--guide-navigation-height); background: #f5f3ecf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.guide-navigation-inner { position: relative; display: flex; align-items: center; gap: 10px; height: 100%; max-width: 1440px; margin: auto; padding: 0 4vw; }
.guide-nav-menu { margin: 0; padding: 0; border: 0; }
.guide-nav-menu > summary { display: flex; align-items: center; gap: 9px; min-height: 42px; margin: 0; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; color: inherit; font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; list-style: none; }
.guide-nav-menu > summary::-webkit-details-marker { display: none; }
.guide-nav-menu > summary:hover, .guide-nav-menu[open] > summary { background: var(--white); border-color: #c7d1bb; }
.guide-nav-menu.is-current-guide > summary { color: #3c613e; background: #e8eddf; }
.guide-nav-icon { flex: 0 0 20px; width: 20px; height: 20px; }
.guide-nav-chevron { width: 14px; height: 14px; margin-left: 3px; transition: transform .15s ease; }
.guide-nav-menu[open] .guide-nav-chevron { transform: rotate(180deg); }
.guide-nav-panel { position: absolute; top: calc(100% + 8px); left: 4vw; width: min(350px, calc(100vw - 8vw)); max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border: 1px solid #ccd4c1; border-radius: 14px; background: var(--white); box-shadow: 0 12px 36px #273e351a; }
.guide-nav-heading { margin: 2px 10px 9px; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; }
.guide-nav-panel ul { margin: 0; padding: 0; list-style: none; }
.guide-nav-panel a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px; border-radius: 8px; text-decoration: none; font-size: 14px; line-height: 1.5; }
.guide-nav-panel a:hover { background: #f0f2ea; }
.guide-nav-panel a[aria-current="location"] { color: #35573c; background: #e8eddf; font-weight: 600; }
.guide-nav-panel .guide-nav-icon { color: #73866c; }
.settings-wrap { top: var(--guide-navigation-height); }
@media (max-width: 650px) {
  .guide-navigation-inner { padding-inline: 16px; gap: 8px; }
  .guide-nav-menu > summary { gap: 7px; padding-inline: 10px; font-size: 12px; }
  .guide-nav-panel { left: 16px; width: min(350px, calc(100vw - 32px)); }
  .settings-wrap { top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-nav-chevron { transition: none; }
}
