/* Shared utilities for design-system preview cards.
   Each card is ~700px wide and visually minimal — the asset
   name is rendered OUTSIDE the card by the host, so no titles. */
@import url('../colors_and_type.css');

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--pi-paper);
  color: var(--pi-ink);
  font-family: var(--font-sans);
}
body.card {
  padding: 24px 28px;
}
.row { display: flex; gap: 12px; align-items: stretch; }
.col { display: flex; flex-direction: column; gap: 12px; }
.swatch {
  flex: 1;
  min-height: 92px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
  border: 1px solid var(--pi-rule);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.swatch .hex {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  opacity: 0.7;
  margin-top: 2px;
}
.swatch--dark { color: #fff; border-color: transparent; }
.swatch--dark .hex { opacity: 0.55; }
.label-eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--pi-champagne);
}
.rule-gold { display: block; width: 36px; height: 1px; background: var(--pi-champagne); margin: 6px 0 0; }
