/* A quiet, compact table of contents for the company page. */
.about-quick-nav { padding-block: 12px; border-bottom: 1px solid #dce3ec; }
.about-quick-nav ul { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.about-quick-nav li { min-width: 0; }
.about-quick-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; height: 100%; padding: 10px 12px;
  border: 1px solid #d5dde7; border-radius: 4px; background: #f8f9fb;
  color: #344454; font-size: 13px; font-weight: 500; line-height: 1.5;
  text-decoration: none; transition: color .2s, background .2s, border-color .2s;
}
.about-quick-nav a::after {
  content: ''; flex: none; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.about-toc-label { min-width: 0; }
.about-toc-label > span { display: inline-block; }
.about-quick-nav a:hover, .about-quick-nav a:active,
body:has(#message:target) .about-quick-nav a[href="#message"],
body:has(#philosophy:target) .about-quick-nav a[href="#philosophy"],
body:has(#company-profile:target) .about-quick-nav a[href="#company-profile"],
body:has(#offices:target) .about-quick-nav a[href="#offices"],
body:has(#company-business:target) .about-quick-nav a[href="#company-business"],
body:has(#company-relations:target) .about-quick-nav a[href="#company-relations"],
body:has(#company-partners:target) .about-quick-nav a[href="#company-partners"] {
  border-color: #245ca7; background: #edf4ff; color: #245ca7;
}
.about-quick-nav a:focus-visible { outline: 2px solid #245ca7; outline-offset: 3px; background: #edf4ff; color: #245ca7; }
@media (max-width: 1100px) { .about-quick-nav ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .about-quick-nav { padding-block: 8px; }
  .about-quick-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; }
  .about-quick-nav a { min-height: 44px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .about-quick-nav a { transition: none; } }
