/* Karkain official documentation: Karkain-owned presentation rules.
 *
 * The Read-the-Docs Sphinx theme (``sphinx_rtd_theme``) supplies the
 * structural layout: primary sidebar, top bar, search and version block.
 * This Karkain-owned stylesheet adds Karkain's own identity on top - the
 * official status vocabulary (maturity chips used throughout the docs), a
 * deliberate accent colorcars, and readable code/tables/admonitions.
 * Nothing here copies branding from any adjacent project; Karkain keeps its
 * own name, vocabulary and colors.
 */

/* -- Official status vocabulary ---------------------------------------------
 * Rendered by the ``:status-*:`` roles defined in ``conf.py``. The
 * vocabulary is the single source of truth for capability-maturity claims in
 * the official documentation. Theme-neutral: applies under any HTML theme.
 */
.karkain-status-stable { color: #1a7f37; background: #dafbe1; }
.karkain-status-implemented { color: #0a3069; background: #ddf4ff; }
.karkain-status-production-candidate { color: #1a5fb4; background: #d6e8ff; }
.karkain-status-experimental { color: #7a5000; background: #fff8c5; }
.karkain-status-developer-preview { color: #542c8e; background: #fbefff; }
.karkain-status-planned { color: #57606a; background: #eaeef2; }
.karkain-status-not-implemented { color: #8b1a1a; background: #ffd7d7; }

/* -- Read-then-code typography --------------------------------------------- */
.rst-content code { font-size: 0.9em; }
.rst-content pre { font-size: 0.875em; line-height: 1.5; }
.rst-content pre,
.rst-content code { white-space: pre; overflow-x: auto; }

/* Wide tables and long URLs scroll inside the content column instead of
 * breaking the RTD layout. */
.rst-content table.docutils { width: 100%; }
.rst-content table.docutils td,
.rst-content table.docutils th { padding: 0.5em 0.75em; }
.rst-content dl dt code { font-size: 0.9em; }

/* -- Karkain accent for links and active navigation ------------------------ */
.rst-content a { color: #10467f; }
.rst-content a:visited { color: #6a4a9a; }
.wy-menu-vertical li.current > a { border-left: 3px solid #10467f; }

/* -- Reading measure on very wide windows ---------------------------------- */
@media (min-width: 1400px) {
    .wy-nav-content { max-width: 1100px; }
}
