/* Recent exports (shared/recent_exports): the background CSV exports' status
   line and modal on Forecast by SKU, Sales Forecast, Supply Plan and any page using
   BackgroundCsvExports. Global so every page styles it the same way. */
.recent-exports {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.recent-exports-label {
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}
/* Opens the Recent exports modal; styled as a quiet text link. */
.recent-exports-more {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.recent-exports-more:hover {
  text-decoration: underline;
}
.recent-exports-note {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 12px;
}
.recent-exports-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
  font-size: 13px;
  font-weight: 700;
}
.recent-exports-heading:first-of-type {
  margin-top: 0;
}
.recent-exports-admin-badge {
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  background: var(--purple-tint);
  color: var(--purple);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.recent-exports-table {
  font-size: 12px;
}
.recent-exports-table .recent-exports-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.recent-exports-summary {
  white-space: normal;
  max-width: 320px;
}
.recent-export {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.recent-export-link {
  font-weight: 600;
  color: var(--red);
}
.recent-export-meta {
  color: var(--muted);
}
.recent-export-failed {
  color: var(--red);
  font-weight: 600;
}
.recent-export-preparing {
  color: var(--amber);
  font-weight: 600;
}
