/* Preview card shared base
   Cards render at 700px wide on the Design System tab.
   Keep chrome minimal — no titles (asset name renders outside). */

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

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 700px;
  padding: 28px 32px;
  background: var(--color-bg);
  position: relative;
}

.card--dark {
  background: var(--gg-black);
  color: var(--gg-white);
}

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

.swatch {
  border-radius: 10px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 94px;
  color: var(--gg-ink);
  position: relative;
  overflow: hidden;
}
.swatch--onDark { color: var(--gg-white); }
.swatch .name { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.swatch .hex  { font-size: 12px; font-family: var(--font-mono); opacity: 0.8; margin-top: 4px; }

.token-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-fg-muted); }

.hairline { height: 1px; background: var(--color-border); border: 0; }

.mono { font-family: var(--font-mono); font-size: 12px; color: var(--color-fg-muted); }
