/*
 * Card — the generic boxed content container used throughout the app
 * for standalone chunks of data (a summary row, a single settings
 * value, a preview, etc.). Builds on --color-border + white bg.
 */

@layer components {
  .card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
  }

  .card__title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-body);
    margin: 0 0 0.375rem;
  }

  .card__value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text-heading);
    margin: 0 0 0.5rem;
  }

  .card__hint {
    font-size: 0.8125rem;
    margin: 0;
  }
}
