/* Shared preview-card scaffolding — keep cards minimal, no titles inside */
html, body { margin: 0; padding: 0; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  padding: 24px;
  box-sizing: border-box;
  min-height: 100vh;
}
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 8px; }
.swatch {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 88px;
}
.swatch .chip-color {
  width: 100%; height: 56px;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.swatch .name {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.swatch .val {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--fg);
}
.legend {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
