/* Data table — SKIN. Edit per project; never the structure file. */

.sp-table-wrap,
.sp-table {
  --ink: #292929;
  --ink-muted: #5d5d5d;
  --ink-faint: #6b6b6b;
  --surface: #ffffff;
  --surface-hover: #f3f3f3;
  --border: #e5e5e5;
  --accent-soft: #dbeafe;

  --radius-card: 16px;
  --radius-pill: 9999px;

  --font-ui: "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tracking-ui: -0.15px;
  --text-xs: 12px;
  --text-sm: 13px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-instant: 150ms;

  /* Brandable. The row rule is deliberately LIGHTER than --border: the outer
     edge should read as one object and the internal rules as texture. Setting
     them equal makes the table look like a spreadsheet. */
  --sp-table-rule: #f0f0f0;
  --sp-table-focus: #2563eb;
}

:root.dark .sp-table-wrap,
:root.dark .sp-table,
[data-theme="dark"] .sp-table-wrap,
[data-theme="dark"] .sp-table {
  --ink: #ededed;
  --ink-muted: #a5a5a5;
  --ink-faint: #767676;
  --surface: #1c1c1e;
  --surface-hover: #252528;
  --border: #2c2c2f;
  --accent-soft: #1e3355;

  --sp-table-rule: #232326;
}
