/* Shared card chrome — keep minimal; cards render OUTSIDE titles */
@import url('../colors_and_type.css');

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

html, body {
  width: 100%;
  height: 100%;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  width: 100%;
  min-height: 100%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

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

.swatch {
  border-radius: 12px;
  border: 1px solid rgba(20,17,13,0.06);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
}
.swatch .name { font-weight: 600; font-size: 12px; opacity: 0.95; }
.swatch .hex  { opacity: 0.75; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.swatch.dark-text { color: var(--ink-900); }

.label-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
