.category-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 9px; }
.category-legend > span { font-size: 10px; }
.category-legend .unavailable-key { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 6px; }
.category-legend .unavailable-key i { width: 9px; height: 9px; margin: 0; }
.legend-heading a { color: var(--green); font-size: 10px; text-underline-offset: 3px; }
.hero-caption .category-legend { margin-block: 8px; }
.hero-caption .category-legend > span { font-size: 9px; }
.hero-caption .category-legend i { height: 6px; margin-bottom: 3px; }
.hero-caption .category-legend .unavailable-key i { height: 8px; margin: 0; }
.hero-map-key { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
.origin-category { font-family: var(--serif); font-size: 36px; line-height: 1.2; margin-top: 10px; }
.origin-category .key-dot { width: 12px; height: 12px; flex: 0 0 12px; }
.origin-label { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
.origin-index-detail { margin-top: 12px; font-size: 11px; color: var(--muted); }
.origin-index-detail summary { cursor: pointer; }
.cross-reading #origin-score { font-variant-numeric: tabular-nums; margin-top: 6px; }
.workflow-category-note { margin-top: 28px; padding: 20px 0; border-block: 1px solid var(--line); }
.workflow-category-note .text-link { font-size: 12px; }
#category-definitions { scroll-margin-top: 100px; }
.category-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 16px 0; text-align: left; }
.category-table th, .category-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.category-table thead th { font-size: 11px; color: var(--muted); font-weight: 500; }
.category-table tbody th { font-weight: 600; }
@media (min-width: 821px) {
  .hero { min-height: 690px; }
  .hero-inner { padding-bottom: 165px; }
}
@media (min-width: 581px) and (max-width: 820px) {
  .cross-reading { display: block; }
  .cross-reading hr { display: block; }
  .cross-reading h3 { margin-top: 24px; }
}
@media (max-width: 820px) {
  .hero { padding-bottom: 475px; }
  .hero-image { bottom: 180px; }
}
@media (max-width: 580px) {
  .hero { padding-bottom: 410px; }
  .hero-image { bottom: 160px; }
  .cross-legends { grid-template-columns: 1fr; gap: 18px; }
  .cross-legends .category-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-table { font-size: 12px; }
  .category-table th, .category-table td { padding: 9px 5px; }
}
@media (max-width: 360px) {
  .hero { padding-bottom: 355px; }
  .hero-image { bottom: 165px; }
}
