/* /sitemap — a plain, dense index on top of nmos-glass-site.css. No cards.
   Group titles are sentence-case h2 at 20/28 (the same subsection size as the legal and
   about pages), link rows are title + one-line description under hairlines, crawler pages
   run in columns per category, and the page count is a quiet meta line. */

body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-index :is(.sitemap-group, .sitemap-crawlers) > h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
}

/* Main pages, account, legal: three columns of rows */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-rows { border-bottom: 1px solid var(--border-subtle); }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-rows li { border-top: 1px solid var(--border-subtle); }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-rows a {
  display: block;
  padding: 12px 0;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-row-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: var(--on-surface);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-row-desc {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-rows a:hover .sitemap-row-title {
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

/* Crawler tracking pages: one block per category, names in columns */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-crawlers { margin-top: 80px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-crawlers-desc { margin: 0 0 32px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-category + .sitemap-category { margin-top: 32px; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-category h3 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 16px;
  line-height: 24px;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-count {
  margin-left: 8px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: var(--outline);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-names {
  columns: 5 176px;
  column-gap: 24px;
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-names li { break-inside: avoid; }
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-names a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface-variant);
  transition: color var(--t-fast) var(--ease);
}
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-names a:hover { color: var(--on-surface); }

/* Page count: quiet meta at the end */
body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-meta {
  margin: 64px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--outline);
}

@media (max-width: 1023px) {
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-crawlers { margin-top: 64px; }
  body.sentinel-body:is(.sentinel-flow, .sentinel-home):not(.auth-body) .sitemap-names { columns: 2; column-gap: 16px; }
}
