/* Translations hub (release 10): overview matrix, bulk translate, spot-check,
   English question form and article viewer. Kept apart from styles.css. */
.hub-matrix th,
.hub-matrix td {
  padding: 0.35rem 0.5rem;
  text-align: center;
}
.hub-matrix th:first-child,
.hub-matrix td:first-child {
  text-align: start;
  position: sticky;
  inset-inline-start: 0;
  background: var(--surface);
}
.hub-matrix th label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
}
.hub-matrix td.hub-cell {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}
.hub-cell.full {
  color: var(--ok);
  font-weight: 600;
}
.hub-cell.partial {
  color: var(--info);
}
.hub-cell.none {
  color: var(--muted);
}
.hub-cell .hub-held {
  color: var(--danger);
  font-weight: 600;
}
.hub-cell .hub-pending {
  color: var(--warn);
}
.hub-legend {
  font-size: 0.82rem;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}
.hub-article {
  white-space: pre-wrap;
  font-size: 0.92rem;
  max-height: 24rem;
  overflow: auto;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 0.75rem;
}
.hub-flag {
  color: var(--danger);
  font-size: 0.85rem;
}
.hub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0;
}
