/*
 * OzarLand AI: additions to portal.css, the stylesheet of OzarLand Academy
 * (copied as it is, so the two sites look the same).
 *
 *   1. DOC evidence chip      [DOC]: stated by the vendor's or the project's documentation
 *   2. Learning blocks        "In one minute", "Check yourself"
 */

/* --------------------------------------------------------- 1. DOC chip */

[data-md-color-scheme="default"] {
  --ai-ev-doc-fg: #4b2f7a;
  --ai-ev-doc-bg: #f1ebfa;
  --ai-ev-doc-border: #cdbbe9;
}

[data-md-color-scheme="slate"] {
  --ai-ev-doc-fg: #d2bff2;
  --ai-ev-doc-bg: #2a1f3d;
  --ai-ev-doc-border: #4d3a6e;
}

.md-typeset .ev-doc,
.md-nav .ev-doc {
  color: var(--ai-ev-doc-fg);
  background-color: var(--ai-ev-doc-bg);
  border-color: var(--ai-ev-doc-border);
}

/* --------------------------------------------------- 2. Learning blocks */

/* "Check yourself": the answers are <details> blocks; keep them compact. */
.md-typeset details.question,
.md-typeset details.success {
  margin: 0.6em 0;
}
