/* Shared card host styling for design-system preview tiles.
   Each card file sets its own body with class="ops" + card-host. */
@import url("../colors_and_type.css");

html, body { margin: 0; padding: 0; }
body.card-host {
  background: var(--bg-base);
  color: var(--fg-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding: 20px;
  box-sizing: border-box;
  width: 700px;
}
body.card-host * { box-sizing: border-box; }

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

.swatch {
  flex: 1;
  height: 88px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-inset-hairline);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
}
.swatch .hex {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}
.swatch .name {
  font-family: var(--font-command);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}
.swatch.light .hex,
.swatch.light .name {
  color: rgba(0,0,0,0.8);
  text-shadow: none;
}
.tick {
  font-family: var(--font-command);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ops-gold-500);
  margin-bottom: 8px;
}
