/* Shared styling for preview cards. Cards live at ~700×variable. */
@import url('../colors_and_type.css');

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-1);
  font-family: var(--font-body);
  color: var(--fg-1);
}

.card {
  width: 700px;
  padding: 24px;
  box-sizing: border-box;
}

.row { display: flex; gap: 12px; align-items: stretch; }
.col { display: flex; flex-direction: column; gap: 12px; }
.wrap { display: flex; flex-wrap: wrap; gap: 12px; }

.swatch {
  flex: 1;
  min-width: 0;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  font-family: var(--font-body);
  font-weight: 700;
  border: 1px solid rgba(0, 42, 74, 0.08);
}
.swatch .name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.swatch .hex {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  opacity: 0.85;
}
