.hist-section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.hist-summary-panel,
.hist-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--mubin-line);
  border-radius: var(--mubin-radius);
  padding: 0.9rem 1rem;
}

.hist-sample-meta {
  font-size: 0.8rem;
  color: var(--mubin-muted);
  margin-bottom: 0.75rem;
}

.hist-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
}

.hist-kpi {
  border: 1px solid var(--mubin-line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: rgba(248, 250, 252, 0.9);
}

.hist-kpi-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--mubin-muted);
  margin-bottom: 0.2rem;
}

.hist-kpi-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mubin-ink);
  word-break: break-word;
}

.hist-kpi-value.is-insufficient {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.hist-compact-table {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.hist-compact-table th,
.hist-compact-table td {
  white-space: nowrap;
}

#hist-table tbody tr {
  cursor: pointer;
}

#hist-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.04);
}

.scr-filter-actions .scr-filter-spacer {
  display: block;
  height: 1.1rem;
}

.hist-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}
