/* Stage 1: canonical catalog + table usability. Loaded after styles.css. */
.stage1-metrics { flex-wrap: wrap; }
.stage1-metrics div { min-width: 108px; }
.catalog-structure-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  background: #f6fbfa;
  font-size: 11px;
  line-height: 1.5;
}
.catalog-structure-note strong { color: var(--ink); }

/* Keep model identity visible while the pricing columns scroll horizontally. */
.catalog-table-scroll { position: relative; scroll-behavior: auto; }
.price-table th:first-child,
.price-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--paper);
  box-shadow: 1px 0 0 var(--line);
}
.price-table th:first-child {
  z-index: 5;
  background: #f8fafb;
}
.price-table tbody tr:hover td:first-child { background: #f8fbfb; }
.price-table .table-model { min-width: 270px; }

@media (max-width: 900px) {
  .stage1-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
  .stage1-metrics div { min-width: 0; }
}

@media (max-width: 620px) {
  .stage1-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stage1-metrics div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stage1-metrics div:nth-child(4) { border-top: 1px solid var(--line); }
  .catalog-structure-note { font-size: 10px; }
  .price-table .table-model { min-width: 238px; }
}
