.program {
    font-weight: normal;
}

.command,
blockquote{
    font-family: monospace;
    font-size: large;
    font-weight: normal;
}

blockquote {
    background: #f8f8f8;
}

/* Render Mermaid diagrams at their natural size instead of stretching them to
   the full content width. sphinxcontrib-mermaid sets `width: 100%` on the
   diagram SVG; paired with `mermaid_height = "auto"` (conf.py) that made narrow
   state diagrams render many times too tall. Honor the explicit dimensions
   Mermaid emits (see mermaid_init_config in conf.py), cap at the content width
   so wide diagrams still shrink responsively, and center the result. */
pre.mermaid {
    text-align: center;
}

pre.mermaid > svg {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Let structured-toc control the directory layout. Retain link affordances. */
#in-this-documentation .domain-list a.reference.external::after {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23607D8B' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 0h24v24H0z' stroke='none'/%3E%3Cpath d='M11 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-5M10 14 20 4M15 4h5v5'/%3E%3C/svg%3E");
    margin-left: 0.25rem;
}

#in-this-documentation .domain-list {
    overflow-wrap: anywhere;
}

#in-this-documentation a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.home-get-started {
    font-weight: bold;
}
