/* Vendor question sheet: syllabus-style numbered list */
.qsheet {
  counter-reset: q;
  list-style: none;
  margin: 0;
  padding: 0;
}
.qsheet li {
  counter-increment: q;
  position: relative;
  padding: 0.7rem 0 0.7rem 2.6rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  line-height: 1.45;
}
.qsheet li:last-child { border-bottom: 0; }
.qsheet li::before {
  content: counter(q, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--brand);
}
.qsheet li a {
  margin-left: 0.35rem;
  font-size: 0.8em;
  color: var(--muted);
  white-space: nowrap;
}
.qsheet li a::before { content: "["; }
.qsheet li a::after { content: "]"; }
#qs-form .check { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.4rem 0; }
#qs-form select { min-width: 64px; width: 100%; }
#qs-pop[disabled] { opacity: 0.55; }

/* Browse-by-type cards: same 4-column grid as tool cards, equal heights */
.lg-groups--art,
.lg-groups--art .lg-groups__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap, 1.25rem);
  align-items: stretch;
  width: 100%;
}
.lg-groups--art .lg-groups__item {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  text-align: left;
  min-width: 0;
  height: 100%;
}
.lg-groups--art .lg-groups__thumb {
  min-height: 7rem;
  overflow: hidden;
}
.lg-groups--art .lg-groups__thumb img { display: none; }
.lg-groups--art .lg-groups__title {
  text-align: left;
  min-height: 5.5em;
  margin: 0;
}
.lg-groups--art .lg-groups__count {
  text-align: left;
  min-height: 1.5em;
}
@media (max-width: 900px) {
  .lg-groups--art,
  .lg-groups--art .lg-groups__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .lg-groups--art,
  .lg-groups--art .lg-groups__grid { grid-template-columns: 1fr; }
}

/* Inner page hero: top-left text, left-aligned glance labels */
.hero--split { align-items: start; }
.hero--split > :first-child {
  align-self: start;
  text-align: left;
  justify-content: flex-start;
}
.glance th,
.glance td:first-child,
.glance dt {
  text-align: left;
  padding-left: 0;
  text-indent: 0;
}