/* Shared base for design-system preview cards.
   Each card targets ~700×variable, lives flush in the Design System tab.
   No title, no framing — just the specimen. */

@import url("../colors_and_type.css");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface-container-lowest);
  font-family: var(--font-sans);
  color: var(--on-surface);
}

.card {
  width: 100%;
  padding: 20px 24px;
  background: var(--surface-container-lowest);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.grid {
  display: grid;
  gap: var(--space-3);
}

.swatch {
  width: 100%;
  height: 56px;
  border-radius: var(--radius);
  border: var(--border-thin) solid var(--outline-variant);
}

.swatch-sm {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: var(--border-thin) solid var(--outline-variant);
}

.swatch-label {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  color: var(--on-surface);
  font-weight: var(--font-weight-medium);
  margin-top: 8px;
}

.swatch-hex {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  color: var(--on-surface-variant);
  margin-top: 2px;
}

.label-caps {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  color: var(--on-surface-variant);
}
