/* ─── Primary colour — TuringDB green ───────────────────────────────────────── */

[data-md-color-primary="custom"] {
  --md-primary-fg-color:        #4aa232;
  --md-primary-bg-color:        #ffffff;
  --md-primary-bg-color--light: rgba(255, 255, 255, 0.7);
}

[data-md-color-accent="custom"] {
  --md-accent-fg-color:              #4aa232;
  --md-accent-fg-color--transparent: rgba(74, 162, 50, 0.1);
}

/* ─── Dark scheme — shift hue toward TuringDB's indigo/navy background ──────── */

[data-md-color-scheme="slate"] {
  --md-hue: 244;
}

/* ─── Admonition accent colours ─────────────────────────────────────────────── */

:root {
  --md-admonition-icon--note: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 9h2V7h-2m1 13c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m-1 5h2v6h-2v2h2v2h-2v-2H9v-2h2V7z"/></svg>');
}

/* ─── Code block refinements ─────────────────────────────────────────────────── */

/* Slightly tighten code font size */
.md-typeset code {
  font-size: 0.85em;
}

/* ─── Navigation tab active indicator uses brand green ──────────────────────── */

.md-tabs__link--active,
.md-tabs__link:hover {
  color: var(--md-primary-fg-color) !important;
}

/* ─── Inline highlighted text ────────────────────────────────────────────────── */

.md-typeset mark {
  background-color: rgba(74, 162, 82, 0.15);
  color: inherit;
}
