/* SITE63 four-page Reports candidate. Not installed or task-authorized. */

/* R1: the article is ordinary prose; each native table owns its overflow. */
article.article.table-scroll {
  overflow: visible;
  border: 0;
  border-radius: 0;
}
.article table {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  scrollbar-width: auto;
}
.article table th,
.article table td {
  min-width: 13.5rem;
}
.article table:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

/* R2: H/C have an in-flow contents menu, not a separate sidebar. */
.component-shell .toc {
  position: static;
  top: auto;
  margin-bottom: 1.5rem;
}

/* H: widen only the chooser; keep ordinary prose at a reading measure. */
.component-shell .article:has(> .category-grid) {
  max-width: none;
}
.component-shell .article:has(> .category-grid) > :not(.category-grid) {
  max-width: 42.5rem;
}
.article > .category-grid {
  padding-left: 0;
  list-style: none;
}

/* C: retain the useful manuscript table and a compact secondary chooser. */
.component-shell .related .category-grid {
  gap: .5rem;
}
.component-shell .related .category-card {
  padding: 0 .75rem;
}
.component-shell .related .category-card a {
  width: 100%;
  min-height: 44px;
}

@media print {
  .article table { display: table; overflow: visible; }
}
