/*
 * The single source of styling for BOTH arms of the experiment.
 *
 * page.html and gallery.html both link this file, so one seeded mutation
 * reaches the page-scoped arm and the component-scoped arm identically. If each
 * host had its own copy the comparison would be measuring two different
 * regressions, and any difference in the result would be an artefact.
 *
 * One rule block per component, and no shared utility classes: a mutation must
 * be attributable to exactly one component, or "did the signal localize it"
 * has no ground truth.
 */

:root {
  --ink: #1c2430;
  --muted: #5b6773;
  --line: #dde3ea;
  --brand: #2f6feb;
  --radius: 6px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

/* --- Button --- */
.c-button {
  font: 500 14px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

/* --- Badge --- */
.c-badge {
  display: inline-block;
  font: 600 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3fd;
  color: var(--brand);
}

/* --- Avatar --- */
.c-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #cfd9e6;
  color: var(--muted);
  font: 600 15px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

/* --- Card --- */
.c-card {
  width: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.c-card__title { margin: 0 0 6px; font-size: 15px; }
.c-card__body { margin: 0; font-size: 13px; color: var(--muted); }

/* --- Alert --- */
.c-alert {
  width: 320px;
  border-left: 4px solid #d4791f;
  background: #fdf6ec;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 13px;
  color: #7a4a12;
}

/* --- Toolbar --- */
.c-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f9fc;
  width: 300px;
}

/* --- Hero: deliberately large. A component-scoped shot of this is nearly a
       page-scoped shot, which is the adversarial case for the whole thesis. --- */
.c-hero {
  width: 1160px;
  padding: 56px 48px;
  border-radius: 12px;
  background: linear-gradient(120deg, #eef3fd, #f7f9fc);
  border: 1px solid var(--line);
}
.c-hero__title { margin: 0 0 12px; font-size: 34px; line-height: 1.15; }
.c-hero__sub { margin: 0; font-size: 16px; color: var(--muted); max-width: 46ch; }

/* --- DataTable: wide and tall, the other large shape. --- */
.c-table {
  width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}
.c-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.c-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
