:host {
  display: block;
  min-width: 0;
}

.dashboard-card {
  height: 100%;
}

.dashboard-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.dashboard-card__icon {
  color: var(--primary-color);
  font-size: var(--font-size-xl, 1.125rem);
}

.dashboard-card__title {
  margin: 0;
  font-size: var(--font-size-xl, 1.125rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  flex: 1 1 auto;
}

.dashboard-card__header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.dashboard-card__header-actions:empty {
  display: none;
}

.dashboard-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}
