/* Dish-fingerprint backfill panel — plan §6.10.
 * Split out of flavor-profile.css (2026-09-14) to keep that file under the
 * 500-line budget (AGENTS.md) — this section was already fully self-
 * contained (a distinct BEM-ish namespace, `.dish-fp-backfill-panel*`, with
 * no shared rules) once docs/plans/flavour-profile-dish-fingerprint-user-
 * guidance.md's failures-disclosure styles pushed the combined file to 530
 * lines. */
.dish-fp-backfill-panel {
  font-size: 0.9rem;
}
.dish-fp-backfill-panel__loading {
  color: var(--text-muted);
  padding: 0.5rem 0;
}
.dish-fp-backfill-panel__overall {
  margin-bottom: 0.75rem;
}
.dish-fp-backfill-panel__overall h4 {
  margin: 0 0 0.25rem;
}
.dish-fp-backfill-panel__hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}
.dish-fp-backfill-panel__overall-coverage {
  font-weight: 500;
}
.dish-fp-backfill-panel__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: 0.75rem;
}
.dish-fp-backfill-panel__bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.dish-fp-backfill-panel__bar-track {
  height: 8px;
  background: var(--surface-subtle, rgba(0, 0, 0, 0.08));
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.dish-fp-backfill-panel__bar-fill {
  height: 100%;
  background: var(--accent, #6c5ce7);
  transition: width 200ms ease;
}
.dish-fp-backfill-panel__pending {
  color: var(--text);
  margin: 0.5rem 0;
}
.dish-fp-backfill-panel__complete {
  color: var(--color-success, #2e7d32);
  font-weight: 600;
}
.dish-fp-backfill-panel__skipped {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dish-fp-backfill-panel__failures {
  margin: 0.5rem 0;
}
.dish-fp-backfill-panel__failures-toggle {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--accent, #6c5ce7);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
.dish-fp-backfill-panel__failures-toggle:hover,
.dish-fp-backfill-panel__failures-toggle:focus-visible {
  text-decoration: underline;
}
.dish-fp-backfill-panel__failures-body {
  margin-top: 0.4rem;
}
.dish-fp-backfill-panel__failures-loading,
.dish-fp-backfill-panel__failures-empty,
.dish-fp-backfill-panel__failures-note {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.dish-fp-backfill-panel__failures-error {
  color: var(--color-error, #c0392b);
  font-size: 0.85rem;
}
.dish-fp-backfill-panel__failures-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
}
.dish-fp-backfill-panel__failures-row {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.dish-fp-backfill-panel__failures-row:last-child {
  border-bottom: 0;
}
.dish-fp-backfill-panel__failures-reason {
  color: var(--text-muted);
}

.dish-fp-backfill-panel__progress {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.85rem;
  min-height: 1.2em;
}
.dish-fp-backfill-panel__run {
  margin-top: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--accent, #6c5ce7);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}
.dish-fp-backfill-panel__run:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
