/* Shared back-office theme — Direction C (dark, de-dinged) */
:root {
  --bg: #111827;
  --surface: #1e293b;
  --border: #334155;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #818cf8;
  --link: #a5b4fc;
  --link-hover: #c7d2fe;
  --success: #22c55e;
  --danger: #f87171;
}

body {
  background: var(--bg);
  color: var(--text);
}

.card {
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.06);
}

code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(129, 140, 248, 0.16);
  color: #c7d2fe;
}

/*
 * Text links only. :where() keeps specificity at 0 so button-styled
 * anchors (e.g. .flow-links a { color: #fff }) are not overridden.
 */
:where(a:not(.btn):not(.secondary):not(.danger):not(.compact)) {
  color: var(--link);
}

:where(a:not(.btn):not(.secondary):not(.danger):not(.compact):hover) {
  color: var(--link-hover);
}
