/* Shared preview-card base. Each card is ~700×<height>px,
   minimal chrome, white background. Card name is rendered
   OUTSIDE by the Design System tab. */

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

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body { padding: 24px; box-sizing: border-box; }
*, *::before, *::after { box-sizing: border-box; }

.row { display: flex; gap: 16px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 16px; }
.muted { color: var(--fg-3); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tok { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }

.swatch {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.swatch .fill { flex: 1; }
.swatch .meta {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
}
.swatch .meta .name { font-size: 12px; font-weight: 600; color: var(--fg-1); }
.swatch .meta .hex { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }
