/* ============================================================================
   CARDS
   ".surface-card", not the older ".card" in components.css, which is a
   different shape (blurred shadow, no fixed radius).
   ============================================================================ */

.surface-card {
  background: var(--sf);
  border: var(--bw) solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-1);
  padding: var(--sp-5);
}

.surface-card--flush {
  padding: 0;
  overflow: hidden;
}

.surface-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.surface-card-header h3 {
  margin: 0;
  font: var(--fw-bold) var(--fz-heading)/24px var(--font);
  color: var(--tx);
}

.surface-card-header-spacer {
  flex: 1;
}

.surface-card-header .button--text {
  height: auto;
}
