.grid {
  display: grid;
  gap: 12px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card.dark {
  background: var(--bg);
  color: var(--text-inverse);
  border-color: transparent;
}

.card h3 { margin-top: 0; }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.eyebrow-dark { color: #94a3b8; font-size: 11px; letter-spacing: .1em; }

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.ok { background: #dcfce7; color: #166534; }
.status-pill.pending { background: #fef3c7; color: #92400e; }
.status-pill.error { background: #fee2e2; color: #991b1b; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 15px;
  font-weight: 800;
  background: var(--bg);
  color: white;
}

.btn.secondary {
  background: #e2e8f0;
  color: var(--text);
}

.btn.full { width: 100%; }

.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag {
  display: inline-flex;
  padding: 5px 8px;
  background: #e0f2fe;
  color: #075985;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.exercise-card {
  display: grid;
  gap: 8px;
}

.empty {
  text-align: center;
  padding: 32px 12px;
  color: var(--muted);
}

.metric {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}
