/* Separate from the legacy stylesheet so its hand-written rules stay intact. */
[data-guide-nav-item][hidden], [data-guide-nav-group][hidden],
[data-guide-feature-card][hidden], [data-guide-feature-group][hidden],
[data-guide-expand][hidden] { display: none !important; }
.guide-nav-search { padding: 12px 14px; }
.guide-nav-toggle { display: none; }
.guide-nav-search label, .guide-overview label, .guide-settings-tools label { display: block; font-weight: 600; margin-bottom: 8px; }
.guide-nav-search input, .guide-overview input, .guide-settings-tools input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #555b68; border-radius: 8px; background: #171a21; color: #f4f5f7; font: inherit; }
.guide-nav-search input:focus, .guide-overview input:focus, .guide-settings-tools input:focus { outline: 2px solid #f579aa; outline-offset: 2px; }
.guide-nav-search p { margin: 8px 0 0; font-size: .8rem; }
.guide-original-name { margin-top: 5px; font-size: .85rem; }
.guide-start h2, .guide-overview h2 { margin-top: 0; font-size: 1.15rem; }
.guide-start ol { padding-left: 1.4em; line-height: 1.65; }
.guide-start li + li { margin-top: 8px; }
.guide-glossary { margin-top: 12px; }
.guide-glossary summary, .guide-section > summary { cursor: pointer; font-weight: 600; }
.guide-glossary dt { font-weight: 600; margin-top: 10px; }
.guide-glossary dd { margin-left: 0; color: #c7cbd3; line-height: 1.5; }
.guide-settings-tools { margin: 18px 0; padding: 16px; border: 1px solid #353b47; border-radius: 10px; background: #1b1e26; }
.guide-search-row { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-search-row input { flex: 1 1 250px; }
.guide-filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.guide-filter-buttons [aria-pressed="true"] { outline: 2px solid #f579aa; outline-offset: 2px; }
.guide-section { margin: 14px 0; border: 1px solid #454c5b; border-radius: 10px; }
.guide-section > summary { padding: 16px 18px; line-height: 1.5; }
.guide-section > summary:focus-visible { outline: 2px solid #f579aa; outline-offset: -3px; }
.guide-section > .card { margin: 0; border-top: 1px solid #353b47; }
.guide-match { outline: 3px solid #f579aa; outline-offset: 5px; scroll-margin: 24px; }
@media (max-width: 900px) {
  .server-nav.guide-nav-ready { height: auto; max-height: none; overflow: visible; }
  .guide-nav-ready .guide-nav-toggle { display: flex; margin: 0 14px 12px; }
  .guide-nav-ready:not(.guide-nav-open) [data-guide-nav-group],
  .guide-nav-ready:not(.guide-nav-open) > nav:last-of-type { display: none; }
}
@media (max-width: 640px) {
  .guide-search-row { flex-direction: column; }
  .guide-search-row input { flex: 0 1 auto; }
  .guide-filter-buttons .btn { flex: 1 1 100%; }
}
