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

.sp-table-wrap,
.sp-table {
  --ink: #292929;
  --ink-muted: #5d5d5d;
  --ink-faint: #9e9e9e;
  --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: #3b82f6;
}

: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;
}

/* ---- Brassword site: Brass appearance uses the app's warm charcoal ladder. */
:root.dark[data-theme="brass"] .sp-table-wrap, :root.dark[data-theme="brass"] .sp-table {
  --ink: #f4f0e8;
  --ink-muted: #b9b2a5;
  --ink-faint: #7f786d;
  --surface: #2a2721;
  --surface-subtle: #171613;
  --surface-hover: #332f28;
  --border: #3b352b;
}
:root.dark[data-theme="brass"] .sp-table { --sp-table-rule: #332f28; }
