:root {
    color-scheme: light;
    --nuppdoc-light-accent: #087f8c;
    --nuppdoc-light-accent-hover: #086a75;
    --nuppdoc-light-accent-soft: #dff3f5;
    --nuppdoc-light-background: #fff;
    --nuppdoc-light-background-alt: #f6f6f7;
    --nuppdoc-light-border: #e2e2e3;
    --nuppdoc-light-code-background: #e9e7ec;
    --nuppdoc-light-text: #213547;
    --nuppdoc-light-muted: #67676c;
    --nuppdoc-dark-accent: #5ad9e0;
    --nuppdoc-dark-accent-hover: #7ce4e9;
    --nuppdoc-dark-accent-soft: #173a3f;
    --nuppdoc-dark-background: #1b1b1f;
    --nuppdoc-dark-background-alt: #161618;
    --nuppdoc-dark-border: #2e2e32;
    --nuppdoc-dark-code-background: #252330;
    --nuppdoc-dark-text: #dfdfd6;
    --nuppdoc-dark-muted: #a8a8a3;
    --nuppdoc-accent: var(--nuppdoc-light-accent);
    --nuppdoc-accent-hover: var(--nuppdoc-light-accent-hover);
    --nuppdoc-accent-soft: var(--nuppdoc-light-accent-soft);
    --nuppdoc-background: var(--nuppdoc-light-background);
    --nuppdoc-background-alt: var(--nuppdoc-light-background-alt);
    --nuppdoc-border: var(--nuppdoc-light-border);
    --nuppdoc-code-background: var(--nuppdoc-light-code-background);
    --nuppdoc-text: var(--nuppdoc-light-text);
    --nuppdoc-text-muted: var(--nuppdoc-light-muted);
    --nuppdoc-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --nuppdoc-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --nuppdoc-header-height: 64px;
    --nuppdoc-layout-max-width: 1480px;
    --nuppdoc-content-width: 688px;
    --nuppdoc-sidebar-width: 272px;
    --nuppdoc-outline-width: 256px;
    --nuppdoc-sidebar-indent: .7rem;
    --nuppdoc-sidebar-guide-indent: .75rem
}

:root {
    --nuppdoc-syntax-foreground: #3760bf;
    --nuppdoc-syntax-boolean: #b15c00;
    --nuppdoc-syntax-comment: #848cb5;
    --nuppdoc-syntax-function: #2e7de9;
    --nuppdoc-syntax-keyword: #9854f1;
    --nuppdoc-syntax-meta: #007197;
    --nuppdoc-syntax-number: #b15c00;
    --nuppdoc-syntax-operator: #006a83;
    --nuppdoc-syntax-property: #387068;
    --nuppdoc-syntax-punctuation: #6172b0;
    --nuppdoc-syntax-string: #587539;
    --nuppdoc-syntax-type: #007197;
    --nuppdoc-syntax-variable: #3760bf
}

@media(prefers-color-scheme:dark) {
    :root {
        color-scheme: dark;
        --nuppdoc-accent: var(--nuppdoc-dark-accent);
        --nuppdoc-accent-hover: var(--nuppdoc-dark-accent-hover);
        --nuppdoc-accent-soft: var(--nuppdoc-dark-accent-soft);
        --nuppdoc-background: var(--nuppdoc-dark-background);
        --nuppdoc-background-alt: var(--nuppdoc-dark-background-alt);
        --nuppdoc-border: var(--nuppdoc-dark-border);
        --nuppdoc-code-background: var(--nuppdoc-dark-code-background);
        --nuppdoc-text: var(--nuppdoc-dark-text);
        --nuppdoc-text-muted: var(--nuppdoc-dark-muted)
    }
}

@media(prefers-color-scheme:dark) {
    :root {
        --nuppdoc-syntax-foreground: #c0caf5;
        --nuppdoc-syntax-boolean: #ff9e64;
        --nuppdoc-syntax-comment: #565f89;
        --nuppdoc-syntax-function: #7aa2f7;
        --nuppdoc-syntax-keyword: #bb9af7;
        --nuppdoc-syntax-meta: #7dcfff;
        --nuppdoc-syntax-number: #ff9e64;
        --nuppdoc-syntax-operator: #89ddff;
        --nuppdoc-syntax-property: #73daca;
        --nuppdoc-syntax-punctuation: #a9b1d6;
        --nuppdoc-syntax-string: #9ece6a;
        --nuppdoc-syntax-type: #2ac3de;
        --nuppdoc-syntax-variable: #c0caf5
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --nuppdoc-accent: var(--nuppdoc-dark-accent);
    --nuppdoc-accent-hover: var(--nuppdoc-dark-accent-hover);
    --nuppdoc-accent-soft: var(--nuppdoc-dark-accent-soft);
    --nuppdoc-background: var(--nuppdoc-dark-background);
    --nuppdoc-background-alt: var(--nuppdoc-dark-background-alt);
    --nuppdoc-border: var(--nuppdoc-dark-border);
    --nuppdoc-code-background: var(--nuppdoc-dark-code-background);
    --nuppdoc-text: var(--nuppdoc-dark-text);
    --nuppdoc-text-muted: var(--nuppdoc-dark-muted)
}

:root[data-theme="dark"] {
    --nuppdoc-syntax-foreground: #c0caf5;
    --nuppdoc-syntax-boolean: #ff9e64;
    --nuppdoc-syntax-comment: #565f89;
    --nuppdoc-syntax-function: #7aa2f7;
    --nuppdoc-syntax-keyword: #bb9af7;
    --nuppdoc-syntax-meta: #7dcfff;
    --nuppdoc-syntax-number: #ff9e64;
    --nuppdoc-syntax-operator: #89ddff;
    --nuppdoc-syntax-property: #73daca;
    --nuppdoc-syntax-punctuation: #a9b1d6;
    --nuppdoc-syntax-string: #9ece6a;
    --nuppdoc-syntax-type: #2ac3de;
    --nuppdoc-syntax-variable: #c0caf5
}

:root[data-theme="light"] {
    color-scheme: light;
    --nuppdoc-accent: var(--nuppdoc-light-accent);
    --nuppdoc-accent-hover: var(--nuppdoc-light-accent-hover);
    --nuppdoc-accent-soft: var(--nuppdoc-light-accent-soft);
    --nuppdoc-background: var(--nuppdoc-light-background);
    --nuppdoc-background-alt: var(--nuppdoc-light-background-alt);
    --nuppdoc-border: var(--nuppdoc-light-border);
    --nuppdoc-code-background: var(--nuppdoc-light-code-background);
    --nuppdoc-text: var(--nuppdoc-light-text);
    --nuppdoc-text-muted: var(--nuppdoc-light-muted)
}

:root[data-theme="light"] {
    --nuppdoc-syntax-foreground: #3760bf;
    --nuppdoc-syntax-boolean: #b15c00;
    --nuppdoc-syntax-comment: #848cb5;
    --nuppdoc-syntax-function: #2e7de9;
    --nuppdoc-syntax-keyword: #9854f1;
    --nuppdoc-syntax-meta: #007197;
    --nuppdoc-syntax-number: #b15c00;
    --nuppdoc-syntax-operator: #006a83;
    --nuppdoc-syntax-property: #387068;
    --nuppdoc-syntax-punctuation: #6172b0;
    --nuppdoc-syntax-string: #587539;
    --nuppdoc-syntax-type: #007197;
    --nuppdoc-syntax-variable: #3760bf
}

* {
    box-sizing: border-box
}

html {
    font-size: 16px
}

/* Every fragment destination clears the sticky header itself. Doing it here rather
 * than with scroll-padding on the scrollport is what makes a link land in the same
 * place in browsers that skip scroll-padding on a load-time fragment; the two would
 * otherwise add up to twice the gap where both are honored. */
.nuppdoc-api-item,
.nuppdoc-api-member,
.nuppdoc-content :is(h1, h2, h3, h4, h5, h6)[id] {
    scroll-margin-top: calc(var(--nuppdoc-header-height) + 1.4rem)
}

body {
    margin: 0;
    color: var(--nuppdoc-text);
    background: var(--nuppdoc-background);
    font-family: var(--nuppdoc-font);
    line-height: 1.6
}

a {
    color: var(--nuppdoc-accent);
    text-decoration-color: currentColor
}

a:hover {
    color: var(--nuppdoc-accent-hover)
}

button,
input {
    font: inherit
}

.nuppdoc-header {
    position: sticky;
    z-index: 30;
    top: 0;
    height: var(--nuppdoc-header-height);
    border-bottom: 1px solid var(--nuppdoc-border);
    background: color-mix(in srgb, var(--nuppdoc-background) 92%, transparent);
    backdrop-filter: blur(12px)
}

.nuppdoc-nav {
    display: flex;
    width: 100%;
    max-width: var(--nuppdoc-layout-max-width);
    height: 100%;
    align-items: center;
    gap: 1rem;
    margin: auto;
    padding: 0 1rem
}

.nuppdoc-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--nuppdoc-text);
    font-weight: 700;
    text-decoration: none
}

.nuppdoc-mark {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: #fff;
    border-radius: 7px;
    background: var(--nuppdoc-accent);
    font-family: var(--nuppdoc-font-mono);
    font-size: .7rem
}

.nuppdoc-top-nav {
    display: flex;
    flex: 1;
    gap: .2rem
}

.nuppdoc-top-nav a {
    padding: .45rem .65rem;
    color: var(--nuppdoc-text-muted);
    border-radius: 7px;
    font-size: .76rem;
    text-decoration: none
}

.nuppdoc-top-nav a:hover {
    color: var(--nuppdoc-text);
    background: var(--nuppdoc-background-alt)
}

.nuppdoc-top-nav a[aria-current="page"] {
    color: var(--nuppdoc-accent)
}

.nuppdoc-actions {
    display: flex;
    align-items: center;
    gap: .25rem
}

.nuppdoc-search {
    width: min(190px, 18vw);
    height: 32px;
    padding: .25rem .6rem;
    color: var(--nuppdoc-text-muted);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 6px;
    background: var(--nuppdoc-background-alt);
    font-size: .75rem
}

.nuppdoc-theme {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    color: var(--nuppdoc-text-muted);
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer
}

.nuppdoc-theme:hover {
    color: var(--nuppdoc-text);
    background: var(--nuppdoc-background-alt)
}

.nuppdoc-shell {
    display: grid;
    width: 100%;
    max-width: var(--nuppdoc-layout-max-width);
    min-height: calc(100vh - var(--nuppdoc-header-height));
    grid-template-columns: var(--nuppdoc-sidebar-width) minmax(0, 1fr) var(--nuppdoc-outline-width);
    margin: auto
}

.nuppdoc-sidebar,
.nuppdoc-outline {
    position: sticky;
    top: var(--nuppdoc-header-height);
    overflow: auto;
    max-height: calc(100vh - var(--nuppdoc-header-height));
    padding: 1.25rem 1rem 2rem
}

.nuppdoc-sidebar {
    border-right: 1px solid var(--nuppdoc-border);
    background: var(--nuppdoc-background-alt);
    box-shadow: -100vw 0 0 100vw var(--nuppdoc-background-alt)
}

.nuppdoc-sidebar h2,
.nuppdoc-outline h2 {
    margin: 0 0 .75rem;
    color: var(--nuppdoc-text-muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em
}

.nuppdoc-sidebar ul,
.nuppdoc-outline ol {
    margin: 0;
    padding: 0;
    list-style: none
}

.nuppdoc-sidebar a,
.nuppdoc-outline a {
    display: block;
    overflow: hidden;
    padding: .24rem .55rem;
    color: var(--nuppdoc-text-muted);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap
}

.nuppdoc-sidebar a {
    padding-left: var(--nuppdoc-sidebar-indent);
    font-size: .88rem
}

.nuppdoc-sidebar a:hover {
    color: var(--nuppdoc-text);
    background: color-mix(in srgb, var(--nuppdoc-accent-soft) 55%, transparent)
}

.nuppdoc-sidebar a[aria-current="page"],
.nuppdoc-outline a:hover {
    color: var(--nuppdoc-accent);
    font-weight: 650
}

.nuppdoc-outline {
    padding-left: 1.25rem
}

.nuppdoc-outline ol {
    padding-left: 1rem;
    border-left: 1px solid var(--nuppdoc-border)
}

.nuppdoc-outline a {
    padding: .16rem 0;
    font-size: .66rem
}

.nuppdoc-content {
    width: min(100% - 10rem, var(--nuppdoc-content-width));
    margin: 0 auto;
    padding: 1.25rem 0 6rem;
    font-size: .88rem
}

.nuppdoc-content h1,
.nuppdoc-content h2,
.nuppdoc-content h3 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em
}

.nuppdoc-content h1 {
    margin-top: 0;
    font-size: 1.8rem
}

.nuppdoc-content h2 {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--nuppdoc-border);
    font-size: 1.575rem
}

.nuppdoc-content h3 {
    margin-top: 2.25rem;
    font-size: 1.35rem
}

.nuppdoc-content h4 {
    margin-top: 1.5rem;
    font-size: 1rem
}

.nuppdoc-content h5 {
    margin-top: 1.25rem;
    color: var(--nuppdoc-text-muted);
    font-size: .88rem;
    font-weight: 650
}

.nuppdoc-breadcrumbs {
    margin: 0 0 .75rem;
    color: var(--nuppdoc-text-muted);
    font-size: .75rem
}

.nuppdoc-breadcrumbs a {
    color: var(--nuppdoc-text-muted)
}

.nuppdoc-kind-badge {
    display: inline-flex;
    margin-left: .45rem;
    padding: .12rem .42rem;
    color: var(--nuppdoc-text-muted);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 999px;
    background: var(--nuppdoc-background-alt);
    font-size: .62rem;
    font-weight: 650;
    letter-spacing: .035em;
    text-transform: uppercase;
    vertical-align: middle
}

.nuppdoc-kind-function,
.nuppdoc-kind-method {
    color: var(--nuppdoc-accent);
    border-color: color-mix(in srgb, var(--nuppdoc-accent) 35%, var(--nuppdoc-border));
    background: var(--nuppdoc-accent-soft)
}

.nuppdoc-header-anchor {
    margin-left: .4rem;
    opacity: 0;
    text-decoration: none
}

.nuppdoc-content h2:hover .nuppdoc-header-anchor,
.nuppdoc-content h3:hover .nuppdoc-header-anchor {
    opacity: 1
}

.nuppdoc-code-block {
    position: relative
}

.nuppdoc-code-block[data-lang]::before {
    position: absolute;
    z-index: 1;
    top: 8px;
    right: 10px;
    color: var(--nuppdoc-text-muted);
    content: attr(data-lang);
    font-family: var(--nuppdoc-font-mono);
    font-size: .66rem
}

.nuppdoc-content pre {
    overflow: auto;
    padding: .8rem .9rem;
    border: 1px solid var(--nuppdoc-border);
    border-radius: 8px;
    background: var(--nuppdoc-code-background);
    line-height: 1.55
}

.nuppdoc-content pre code {
    padding: 0;
    background: transparent;
    font-family: var(--nuppdoc-font-mono);
    font-size: 14px
}

.nuppdoc-content :not(pre)>code {
    padding: .1em .35em;
    border-radius: 4px;
    background: var(--nuppdoc-code-background);
    font-family: var(--nuppdoc-font-mono);
    font-size: .91em
}

.nuppdoc-content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
    font-size: .76rem
}

.nuppdoc-content th,
.nuppdoc-content td {
    padding: .55rem .65rem;
    border-bottom: 1px solid var(--nuppdoc-border);
    text-align: left;
    vertical-align: top
}

.nuppdoc-content th {
    color: var(--nuppdoc-text-muted);
    font-size: .68rem;
    text-transform: uppercase
}

.nuppdoc-empty {
    padding: 2rem;
    color: var(--nuppdoc-text-muted);
    border: 1px dashed var(--nuppdoc-border);
    border-radius: 8px;
    text-align: center
}

.nuppdoc-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem
}

.nuppdoc-module-card {
    display: block;
    padding: 1rem;
    color: var(--nuppdoc-text);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 10px;
    background: var(--nuppdoc-background-alt);
    text-decoration: none
}

.nuppdoc-module-card:hover {
    color: var(--nuppdoc-text);
    border-color: var(--nuppdoc-accent);
    transform: translateY(-1px)
}

.nuppdoc-module-card code {
    display: block;
    margin-bottom: .35rem;
    color: var(--nuppdoc-accent);
    font-size: .85rem
}

.nuppdoc-module-card span {
    color: var(--nuppdoc-text-muted);
    font-size: .72rem
}

.nuppdoc-footer {
    padding: 1.25rem;
    color: var(--nuppdoc-text-muted);
    border-top: 1px solid var(--nuppdoc-border);
    font-size: .68rem;
    text-align: center
}

.nuppdoc-token-comment {
    color: var(--nuppdoc-syntax-comment);
    font-style: italic
}

.nuppdoc-token-boolean {
    color: var(--nuppdoc-syntax-boolean)
}

.nuppdoc-token-keyword {
    color: var(--nuppdoc-syntax-keyword)
}

.nuppdoc-token-meta {
    color: var(--nuppdoc-syntax-meta)
}

.nuppdoc-token-number {
    color: var(--nuppdoc-syntax-number)
}

.nuppdoc-token-function {
    color: var(--nuppdoc-syntax-function)
}

.nuppdoc-token-operator {
    color: var(--nuppdoc-syntax-operator)
}

.nuppdoc-token-property {
    color: var(--nuppdoc-syntax-property)
}

.nuppdoc-token-punctuation {
    color: var(--nuppdoc-syntax-punctuation)
}

.nuppdoc-token-string {
    color: var(--nuppdoc-syntax-string)
}

.nuppdoc-token-type {
    color: var(--nuppdoc-syntax-type)
}

.nuppdoc-token-variable {
    color: var(--nuppdoc-syntax-variable)
}

.nuppdoc-code-link,
.nuppdoc-code-link:visited,
.nuppdoc-code-link:hover {
    border-bottom: 1px dotted currentColor;
    text-decoration: none
}

.nuppdoc-code-link:hover {
    border-bottom-style: solid
}

.nuppdoc-code-link-type {
    color: var(--nuppdoc-syntax-type)
}

.nuppdoc-code-link-function {
    color: var(--nuppdoc-syntax-function)
}

.nuppdoc-code-link-property {
    color: var(--nuppdoc-syntax-property)
}

.nuppdoc-code-link-variable {
    color: var(--nuppdoc-syntax-variable)
}

@media(max-width:1100px) {
    .nuppdoc-shell {
        grid-template-columns: var(--nuppdoc-sidebar-width) minmax(0, 1fr)
    }

    .nuppdoc-outline {
        display: none
    }

    .nuppdoc-content {
        width: min(100% - 5rem, var(--nuppdoc-content-width))
    }
}

@media(max-width:760px) {
    .nuppdoc-top-nav {
        display: none
    }

    .nuppdoc-search {
        width: 140px
    }

    .nuppdoc-shell {
        display: block
    }

    .nuppdoc-sidebar {
        position: static;
        max-height: none;
        padding: .7rem 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--nuppdoc-border);
        box-shadow: none
    }

    .nuppdoc-sidebar h2 {
        display: none
    }

    .nuppdoc-sidebar ul {
        display: flex;
        overflow: auto;
        gap: .25rem
    }

    .nuppdoc-content {
        width: auto;
        padding: 1.5rem 1.25rem 4rem
    }
}

@media(max-width:480px) {
    .nuppdoc-search {
        display: none
    }

    .nuppdoc-brand span:last-child {
        display: none
    }

    .nuppdoc-content table {
        display: block;
        overflow: auto
    }
}

/* The custom properties a site is meant to override. They are named and grouped
 * deliberately: this is the part of the stylesheet a project stylesheet targets. */
:root {
    --nuppdoc-text-faint: color-mix(in srgb, var(--nuppdoc-text-muted) 72%, transparent);
    --nuppdoc-sidebar-background: var(--nuppdoc-background-alt);
    --nuppdoc-accent-contrast: #fff;
    --nuppdoc-home-width: 1152px;
    --nuppdoc-home-gutter: 2rem;
    --nuppdoc-hero-glow-color: var(--nuppdoc-accent);
    --nuppdoc-hero-glow-size: 520px;
    --nuppdoc-hero-glow-blur: 24px;
    --nuppdoc-hero-glow-opacity: .68;
    --nuppdoc-code-block-radius: 8px;
    --nuppdoc-playground-border: color-mix(in srgb, var(--nuppdoc-border) 70%, var(--nuppdoc-text));
    --nuppdoc-code-tab-text: var(--nuppdoc-text-muted);
    --nuppdoc-code-tab-hover-text: var(--nuppdoc-text);
    --nuppdoc-code-tab-active-text: var(--nuppdoc-text);
    --nuppdoc-code-tab-active-bar: var(--nuppdoc-accent);
    --nuppdoc-code-tab-divider: var(--nuppdoc-border);
    --nuppdoc-code-tab-font-size: .72rem;
    --nuppdoc-code-tab-font-weight: 600;
    --nuppdoc-code-tab-padding: .45rem .75rem;
    --nuppdoc-admonition-note: var(--nuppdoc-accent);
    --nuppdoc-admonition-info: #0969da;
    --nuppdoc-admonition-tip: #1a7f37;
    --nuppdoc-admonition-warning: #9a6700;
    --nuppdoc-admonition-danger: #cf222e;
    --nuppdoc-light-admonition-seealso: #0550ae;
    --nuppdoc-dark-admonition-seealso: #388bfd;
    --nuppdoc-light-admonition-deepdive: #8b4c24;
    --nuppdoc-dark-admonition-deepdive: #d19a66;
    --nuppdoc-admonition-seealso: var(--nuppdoc-light-admonition-seealso);
    --nuppdoc-admonition-deepdive: var(--nuppdoc-light-admonition-deepdive)
}

@media(prefers-color-scheme:dark) {
    :root {
        --nuppdoc-admonition-seealso: var(--nuppdoc-dark-admonition-seealso);
        --nuppdoc-admonition-deepdive: var(--nuppdoc-dark-admonition-deepdive)
    }
}

:root[data-theme="dark"] {
    --nuppdoc-admonition-seealso: var(--nuppdoc-dark-admonition-seealso);
    --nuppdoc-admonition-deepdive: var(--nuppdoc-dark-admonition-deepdive)
}

:root[data-theme="light"] {
    --nuppdoc-admonition-seealso: var(--nuppdoc-light-admonition-seealso);
    --nuppdoc-admonition-deepdive: var(--nuppdoc-light-admonition-deepdive)
}

.nuppdoc-admonition {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-note);
    margin: 1.25rem 0;
    padding: .85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--nuppdoc-admonition-color) 45%, var(--nuppdoc-border));
    border-left: 4px solid var(--nuppdoc-admonition-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--nuppdoc-admonition-color) 9%, var(--nuppdoc-background))
}

.nuppdoc-admonition-info {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-info)
}

.nuppdoc-admonition-tip {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-tip)
}

.nuppdoc-admonition-warning {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-warning)
}

.nuppdoc-admonition-danger {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-danger)
}

.nuppdoc-admonition-seealso {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-seealso)
}

.nuppdoc-admonition-deepdive {
    --nuppdoc-admonition-color: var(--nuppdoc-admonition-deepdive);
    padding: 0;
    border-left-width: 1px
}

details.nuppdoc-admonition>summary {
    cursor: pointer;
    padding: .7rem 1rem;
    list-style: none
}

details.nuppdoc-admonition>summary::-webkit-details-marker {
    display: none
}

details.nuppdoc-admonition>summary::before {
    content: '\25B8';
    display: inline-block;
    width: 1em;
    transition: transform .12s ease
}

details.nuppdoc-admonition[open]>summary::before {
    transform: rotate(90deg)
}

details.nuppdoc-admonition>.nuppdoc-admonition-body {
    padding: 0 1rem .85rem 2rem
}

.nuppdoc-admonition-title {
    margin: 0;
    color: var(--nuppdoc-admonition-color);
    font-size: .78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .04em
}

.nuppdoc-admonition-body>:first-child {
    margin-top: .35rem
}

.nuppdoc-admonition-body>:last-child {
    margin-bottom: 0
}

/* Tab inputs live in their own .nuppdoc-code-tabs row so a long caption scrolls
 * the row instead of wrapping every tab after it, which means a panel is no
 * longer its input's next sibling: :has() re-pairs each panel with the input
 * at the same position. Fifteen slots is more tabs than any group wants. */
.nuppdoc-code-group {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 1.25rem 0;
    border: 1px solid var(--nuppdoc-border);
    border-radius: var(--nuppdoc-code-block-radius);
    background: var(--nuppdoc-code-background);
    box-shadow: none
}

.nuppdoc-code-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap
}

.nuppdoc-code-tabs .nuppdoc-code-tab {
    flex: none;
    white-space: nowrap
}

.nuppdoc-code-tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    appearance: none;
    clip-path: inset(50%);
    pointer-events: none;
    -webkit-appearance: none
}

.nuppdoc-code-tab {
    padding: var(--nuppdoc-code-tab-padding);
    border-bottom: 2px solid transparent;
    color: var(--nuppdoc-code-tab-text);
    cursor: pointer;
    font-family: var(--nuppdoc-font);
    font-size: var(--nuppdoc-code-tab-font-size);
    font-weight: var(--nuppdoc-code-tab-font-weight)
}

.nuppdoc-code-tab:hover {
    color: var(--nuppdoc-code-tab-hover-text)
}

.nuppdoc-code-panel {
    display: none;
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--nuppdoc-code-tab-divider)
}

.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(1):checked) .nuppdoc-code-panel:nth-of-type(1),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(2):checked) .nuppdoc-code-panel:nth-of-type(2),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(3):checked) .nuppdoc-code-panel:nth-of-type(3),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(4):checked) .nuppdoc-code-panel:nth-of-type(4),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(5):checked) .nuppdoc-code-panel:nth-of-type(5),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(6):checked) .nuppdoc-code-panel:nth-of-type(6),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(7):checked) .nuppdoc-code-panel:nth-of-type(7),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(8):checked) .nuppdoc-code-panel:nth-of-type(8),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(9):checked) .nuppdoc-code-panel:nth-of-type(9),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(10):checked) .nuppdoc-code-panel:nth-of-type(10),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(11):checked) .nuppdoc-code-panel:nth-of-type(11),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(12):checked) .nuppdoc-code-panel:nth-of-type(12),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(13):checked) .nuppdoc-code-panel:nth-of-type(13),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(14):checked) .nuppdoc-code-panel:nth-of-type(14),
.nuppdoc-code-group:has(.nuppdoc-code-tabs>input:nth-of-type(15):checked) .nuppdoc-code-panel:nth-of-type(15) {
    display: block
}

.nuppdoc-code-tab-input:checked+.nuppdoc-code-tab {
    border-bottom-color: var(--nuppdoc-code-tab-active-bar);
    color: var(--nuppdoc-code-tab-active-text)
}

.nuppdoc-code-tab-input:focus-visible+.nuppdoc-code-tab {
    outline: 2px solid var(--nuppdoc-accent);
    outline-offset: -2px
}

.nuppdoc-code-group>.nuppdoc-code-block {
    width: 100%
}

.nuppdoc-code-group>.nuppdoc-code-block pre,
.nuppdoc-code-panel .nuppdoc-code-block pre {
    margin: 0;
    border: 0;
    border-radius: 0
}

.nuppdoc-labeled-code {
    margin: 1.25rem 0
}

.nuppdoc-code-group>.nuppdoc-labeled-code {
    margin: 0
}

.nuppdoc-code-group>.nuppdoc-labeled-code+.nuppdoc-labeled-code {
    border-top: 1px solid var(--nuppdoc-border)
}

.nuppdoc-labeled-code figcaption {
    padding: .45rem .6rem;
    color: var(--nuppdoc-text-muted);
    font-family: var(--nuppdoc-font);
    font-size: .72rem;
    font-weight: 600
}

.nuppdoc-labeled-code pre {
    margin: 0;
    border-radius: 0
}

.nuppdoc-code-group>.nuppdoc-labeled-code pre {
    border: 0
}

@media print {
    .nuppdoc-code-panel {
        display: block
    }
}

/* The gutter and the code are siblings sharing the pre's line box metrics, so the
 * numbers stay level with their lines. The code scrolls inside itself, which keeps
 * a long line from sliding out under the numbers. */
.nuppdoc-code-block.has-line-numbers pre {
    display: flex;
    overflow: hidden;
    gap: .9rem
}

.nuppdoc-code-block.has-line-numbers pre>code {
    overflow: auto;
    flex: 1;
    min-width: 0
}

.nuppdoc-line-numbers {
    flex: none;
    padding-right: .9rem;
    border-right: 1px solid var(--nuppdoc-border);
    color: var(--nuppdoc-text-faint);
    font-family: var(--nuppdoc-font-mono);
    font-size: 14px;
    line-height: 1.55;
    text-align: right;
    user-select: none;
    -webkit-user-select: none
}

.nuppdoc-line-numbers span {
    display: block
}

/* A Nupp or ```playground fence. The custom element owns its editor chrome and
 * sizes naturally in the page; long sources scroll inside CodeMirror. */
.nuppdoc-playground {
    display: block;
    width: 100%;
    margin: 3rem 0 1rem
}

.nuppdoc-code-group>.nuppdoc-playground,
.nuppdoc-code-panel>.nuppdoc-playground {
    margin: 0
}

.nuppdoc-logo {
    width: auto;
    height: 28px;
    border-radius: 5px
}

.nuppdoc-icon-link {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    color: var(--nuppdoc-text-muted);
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    text-decoration: none
}

.nuppdoc-icon-link:hover,
.nuppdoc-icon-link[aria-pressed="true"] {
    color: var(--nuppdoc-text);
    background: var(--nuppdoc-background-alt)
}

.nuppdoc-icon-link svg {
    width: 18px;
    height: 18px
}

.nuppdoc-panel-toggle-right svg {
    transform: scaleX(-1)
}

.nuppdoc-shell {
    transition: grid-template-columns 160ms ease
}

.nuppdoc-shell.is-sidebar-collapsed {
    grid-template-columns: 0 minmax(0, 1fr) var(--nuppdoc-outline-width)
}

.nuppdoc-shell.is-outline-collapsed {
    grid-template-columns: var(--nuppdoc-sidebar-width) minmax(0, 1fr) 0
}

.nuppdoc-shell.is-sidebar-collapsed.is-outline-collapsed {
    grid-template-columns: 0 minmax(0, 1fr) 0
}

.nuppdoc-shell.is-sidebar-collapsed>.nuppdoc-sidebar,
.nuppdoc-shell.is-outline-collapsed>.nuppdoc-outline {
    overflow: hidden;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    opacity: 0;
    pointer-events: none
}

.nuppdoc-sidebar {
    background: var(--nuppdoc-sidebar-background)
}

.nuppdoc-sidebar>ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.nuppdoc-sidebar li {
    margin: 0;
    padding: 0
}

.nuppdoc-sidebar>ul>li+li {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--nuppdoc-border)
}

.nuppdoc-sidebar-section details {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent
}

.nuppdoc-sidebar-section summary {
    position: relative;
    margin: 0;
    padding: .24rem .55rem .24rem var(--nuppdoc-sidebar-indent);
    color: var(--nuppdoc-text);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none
}

.nuppdoc-sidebar-section summary::after {
    position: absolute;
    top: 50%;
    right: .5rem;
    width: .36rem;
    height: .36rem;
    border-right: 1.5px solid var(--nuppdoc-text-faint);
    border-bottom: 1.5px solid var(--nuppdoc-text-faint);
    content: "";
    transform: translateY(-50%) rotate(45deg)
}

.nuppdoc-sidebar-section details:not([open]) summary::after {
    transform: translateY(-50%) rotate(-45deg)
}

.nuppdoc-sidebar-section summary::-webkit-details-marker {
    display: none
}

.nuppdoc-sidebar-section summary::marker {
    content: ""
}

.nuppdoc-sidebar-section>details>summary.nuppdoc-sidebar-section-link {
    padding-top: 0;
    padding-bottom: 0
}

.nuppdoc-sidebar>ul>li.nuppdoc-sidebar-section>details>summary {
    font-weight: 700
}

.nuppdoc-sidebar-section>details>summary>a {
    font-weight: inherit;
    padding-right: .2rem
}

.nuppdoc-sidebar-section ul,
.nuppdoc-sidebar-section .nuppdoc-module-tree,
.nuppdoc-module-branch .nuppdoc-module-tree {
    padding: 4px 0 0 var(--nuppdoc-sidebar-guide-indent);
    border-left: 1px solid var(--nuppdoc-border)
}

.nuppdoc-sidebar-section .nuppdoc-module-tree {
    margin: 0;
    list-style: none
}

.nuppdoc-module-branch>details>summary {
    color: var(--nuppdoc-text-muted);
    font-weight: 500
}

.nuppdoc-module-branch>details>summary>a {
    padding-right: .2rem
}

.nuppdoc-outline-title {
    margin: 0 0 .75rem;
    color: var(--nuppdoc-text-muted);
    font-size: .66rem;
    font-weight: 600
}

.nuppdoc-outline a[aria-current] {
    color: var(--nuppdoc-accent)
}

.nuppdoc-outline-section details {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent
}

.nuppdoc-outline-section summary {
    position: relative;
    margin: 0;
    padding: 0 1rem 0 0;
    cursor: pointer;
    list-style: none
}

.nuppdoc-outline-section summary::-webkit-details-marker {
    display: none
}

.nuppdoc-outline-section summary::marker {
    content: ""
}

.nuppdoc-outline-section summary::after {
    position: absolute;
    top: 50%;
    right: .15rem;
    width: .32rem;
    height: .32rem;
    border-right: 1.5px solid var(--nuppdoc-text-muted);
    border-bottom: 1.5px solid var(--nuppdoc-text-muted);
    content: "";
    transform: translateY(-65%) rotate(45deg);
    transition: transform 120ms ease
}

.nuppdoc-outline-section details:not([open])>summary::after {
    transform: translateY(-50%) rotate(-45deg)
}

.nuppdoc-outline-section details>ol {
    margin: 0;
    padding: 0 0 0 .65rem;
    border: 0;
    list-style: none
}

.nuppdoc-breadcrumbs {
    margin: 0 0 .75rem
}

.nuppdoc-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none
}

.nuppdoc-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--nuppdoc-text-faint);
    font-size: .82rem;
    line-height: 1.2
}

.nuppdoc-breadcrumbs li+li::before {
    margin: 0 .45rem;
    color: var(--nuppdoc-border);
    content: "/"
}

.nuppdoc-breadcrumbs a {
    color: var(--nuppdoc-text-faint);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .16em
}

.nuppdoc-breadcrumbs .nuppdoc-breadcrumb-home {
    font-size: .9rem;
    text-decoration: none
}

.nuppdoc-breadcrumbs [aria-current="page"] {
    color: var(--nuppdoc-text-muted)
}

.nuppdoc-module-summary h3 {
    margin-top: 1.65rem;
    font-size: 1rem
}

.nuppdoc-module-summary table,
.nuppdoc-module-modules table {
    table-layout: fixed
}

.nuppdoc-module-summary th:first-child {
    width: 28%
}

.nuppdoc-module-summary th:nth-child(2):not(:last-child) {
    width: 19%
}

.nuppdoc-module-modules th:first-child {
    width: 32%
}

.nuppdoc-module-summary .nuppdoc-kind-badge {
    margin-left: 0
}

.nuppdoc-kind-record,
.nuppdoc-kind-interface,
.nuppdoc-kind-struct,
.nuppdoc-kind-type {
    color: #8250df;
    border-color: color-mix(in srgb, #8250df 35%, var(--nuppdoc-border));
    background: color-mix(in srgb, #8250df 12%, var(--nuppdoc-background))
}

.nuppdoc-kind-variable {
    color: #9a6700;
    border-color: color-mix(in srgb, #9a6700 35%, var(--nuppdoc-border));
    background: color-mix(in srgb, #9a6700 12%, var(--nuppdoc-background))
}

.nuppdoc-kind-comptime-function,
.nuppdoc-kind-comptime-type {
    color: #bc4c00;
    border-color: color-mix(in srgb, #bc4c00 35%, var(--nuppdoc-border));
    background: color-mix(in srgb, #bc4c00 12%, var(--nuppdoc-background))
}

.nuppdoc-annotations {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin: .35rem 0 .1rem
}

.nuppdoc-annotation {
    padding: .12rem .42rem;
    color: #bc4c00;
    border: 1px solid color-mix(in srgb, #bc4c00 35%, var(--nuppdoc-border));
    border-radius: 999px;
    background: color-mix(in srgb, #bc4c00 12%, var(--nuppdoc-background));
    font-family: var(--nuppdoc-font-mono);
    font-size: .66rem;
    font-weight: 650
}

.nuppdoc-home-shell {
    display: block;
    max-width: none
}

.nuppdoc-home-content {
    width: min(calc(100% - 2 * var(--nuppdoc-home-gutter)), var(--nuppdoc-home-width));
    padding-top: 4.5rem
}

.nuppdoc-home-hero {
    margin: 0 0 4rem
}

.nuppdoc-hero-main {
    display: grid;
    align-items: start;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr)
}

.nuppdoc-hero-main.has-image {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr)
}

.nuppdoc-hero-copy {
    position: relative;
    z-index: 1
}

.nuppdoc-hero-copy h1 {
    max-width: 720px;
    margin: 0;
    color: var(--nuppdoc-accent);
    font-size: 5.5rem;
    letter-spacing: -.04em;
    line-height: .95
}

.nuppdoc-hero-text {
    max-width: 650px;
    margin: 1.08rem 0 0;
    color: var(--nuppdoc-text-muted);
    font-size: 1.6rem;
    line-height: 1.35
}

.nuppdoc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem
}

.nuppdoc-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .52rem .95rem;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1;
    text-decoration: none
}

.nuppdoc-hero-action.brand {
    color: var(--nuppdoc-accent-contrast);
    background: var(--nuppdoc-accent)
}

.nuppdoc-hero-action.alt {
    color: var(--nuppdoc-text);
    border-color: var(--nuppdoc-border);
    background: var(--nuppdoc-background-alt)
}

.nuppdoc-hero-image {
    position: relative;
    display: grid;
    align-self: center;
    place-items: center
}

.nuppdoc-hero-starburst {
    position: absolute;
    width: var(--nuppdoc-hero-glow-size);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--nuppdoc-hero-glow-color) 38%, transparent) 0, color-mix(in srgb, var(--nuppdoc-hero-glow-color) 20%, transparent) 34%, color-mix(in srgb, var(--nuppdoc-hero-glow-color) 8%, transparent) 58%, transparent 76%);
    filter: blur(var(--nuppdoc-hero-glow-blur));
    opacity: var(--nuppdoc-hero-glow-opacity)
}

.nuppdoc-hero-image img {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    max-height: 330px;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgb(0 0 0 / 22%);
    object-fit: contain
}

.nuppdoc-features {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem
}

.nuppdoc-feature {
    margin: 0;
    padding: 1.4rem;
    border: 1px solid var(--nuppdoc-border);
    border-radius: 12px;
    background: var(--nuppdoc-background-alt)
}

.nuppdoc-feature-icon,
.nuppdoc-feature-image {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: var(--nuppdoc-accent-soft);
    font-size: 1.25rem;
    object-fit: contain
}

.nuppdoc-feature h2 {
    margin: 0 0 .55rem;
    padding: 0;
    border: 0;
    font-size: 1rem;
    letter-spacing: 0
}

.nuppdoc-feature-details {
    margin: 0;
    color: var(--nuppdoc-text-muted);
    font-size: .86rem;
    line-height: 1.55
}

.nuppdoc-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem
}

.nuppdoc-footer a {
    color: var(--nuppdoc-text-muted)
}

.nuppdoc-hero-content {
    font-size: 1.05rem
}

.nuppdoc-hero-starburst {
    overflow: hidden;
    clip-path: circle(50% at 50% 50%)
}

.nuppdoc-hero-image img {
    box-shadow: none;
    filter: drop-shadow(0 24px 35px rgb(0 0 0 / 22%))
}

@media(max-width:1100px) {
    .nuppdoc-panel-toggle-right {
        display: none
    }

    .nuppdoc-shell.is-sidebar-collapsed {
        grid-template-columns: 0 minmax(0, 1fr)
    }

    .nuppdoc-features {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

.nuppdoc-search-button {
    display: inline-flex;
    width: min(190px, 18vw);
    min-width: 0;
    min-height: 32px;
    align-items: center;
    justify-content: flex-start;
    gap: .35rem;
    margin: 0;
    padding: .25rem .5rem;
    color: var(--nuppdoc-text-muted);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 6px;
    background: var(--nuppdoc-background-alt);
    box-shadow: none;
    font-size: .76rem;
    cursor: pointer
}

.nuppdoc-search-button:hover {
    color: var(--nuppdoc-text);
    border-color: var(--nuppdoc-text-muted)
}

.nuppdoc-search-button kbd {
    margin-left: auto;
    padding: .06rem .28rem;
    color: var(--nuppdoc-text-muted);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 4px;
    background: transparent;
    font-size: .62rem
}

.nuppdoc-search-dialog {
    width: min(94vw, 680px);
    max-width: none;
    padding: 0;
    border: 1px solid var(--nuppdoc-border);
    border-radius: 12px;
    background: var(--nuppdoc-background);
    color: var(--nuppdoc-text);
    box-shadow: 0 24px 80px rgb(0 0 0 / 28%)
}

.nuppdoc-search-dialog::backdrop {
    background: rgb(0 0 0 / 46%);
    backdrop-filter: blur(3px)
}

.nuppdoc-search-panel {
    margin: 0;
    padding: 0
}

.nuppdoc-search-panel>header {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    padding: .8rem;
    border-bottom: 1px solid var(--nuppdoc-border);
    background: transparent
}

.nuppdoc-search-panel label {
    display: flex;
    flex: 1;
    align-items: center;
    gap: .5rem;
    margin: 0
}

.nuppdoc-search-panel input {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 .75rem;
    color: var(--nuppdoc-text);
    border: 1px solid var(--nuppdoc-accent);
    border-radius: 7px;
    background: var(--nuppdoc-background);
    box-shadow: 0 0 0 3px var(--nuppdoc-accent-soft)
}

.nuppdoc-search-panel [data-nuppdoc-search-close] {
    width: auto;
    margin: 0;
    padding: .32rem .5rem;
    color: var(--nuppdoc-text-muted);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 5px;
    background: var(--nuppdoc-background-alt);
    box-shadow: none;
    font-size: .72rem;
    cursor: pointer
}

.nuppdoc-search-results {
    display: grid;
    overflow: auto;
    max-height: min(60vh, 520px);
    gap: .35rem;
    padding: .65rem
}

.nuppdoc-search-results a {
    display: grid;
    gap: .15rem;
    padding: .7rem .8rem;
    color: var(--nuppdoc-text);
    border: 1px solid transparent;
    border-radius: 7px;
    text-decoration: none
}

.nuppdoc-search-results a:hover,
.nuppdoc-search-results a:focus {
    border-color: var(--nuppdoc-border);
    background: var(--nuppdoc-accent-soft)
}

.nuppdoc-search-results strong {
    font-size: .9rem
}

.nuppdoc-search-results small {
    overflow: hidden;
    color: var(--nuppdoc-text-faint);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap
}

.nuppdoc-search-empty {
    margin: 0;
    padding: 1.5rem;
    color: var(--nuppdoc-text-muted);
    text-align: center
}

.nuppdoc-mobile-nav-toggle,
.nuppdoc-sidebar-backdrop {
    display: none
}

.nuppdoc-page-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nuppdoc-border)
}

.nuppdoc-page-nav a {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    color: var(--nuppdoc-text);
    border: 1px solid var(--nuppdoc-border);
    border-radius: 10px;
    text-decoration: none
}

.nuppdoc-page-nav a:hover {
    border-color: var(--nuppdoc-accent);
    background: var(--nuppdoc-background-alt)
}

.nuppdoc-page-nav-next {
    grid-column: 2;
    text-align: right
}

.nuppdoc-page-nav-label {
    color: var(--nuppdoc-text-faint);
    font-size: .68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .05em
}

.nuppdoc-page-nav-title {
    color: var(--nuppdoc-accent);
    font-size: .85rem;
    font-weight: 650
}

@media(max-width:760px) {
    .nuppdoc-panel-toggle {
        display: none
    }

    .nuppdoc-mobile-nav-toggle {
        display: grid
    }

    .nuppdoc-search-button span:nth-child(2),
    .nuppdoc-search-button kbd {
        display: none
    }

    .nuppdoc-search-button {
        width: 34px;
        justify-content: center
    }

    .nuppdoc-home-content {
        width: auto;
        padding: 3rem 1.25rem 4rem
    }

    .nuppdoc-hero-copy h1 {
        font-size: 4rem
    }

    .nuppdoc-hero-text {
        font-size: 1.2rem
    }

    .nuppdoc-hero-main.has-image {
        grid-template-columns: 1fr
    }

    .nuppdoc-hero-starburst {
        width: min(78vw, 340px)
    }

    .nuppdoc-features {
        grid-template-columns: 1fr
    }

    .nuppdoc-sidebar,
    .nuppdoc-shell.is-sidebar-collapsed>.nuppdoc-sidebar {
        position: fixed;
        z-index: 42;
        top: var(--nuppdoc-header-height);
        bottom: 0;
        left: 0;
        width: min(86vw, var(--nuppdoc-sidebar-width));
        max-height: none;
        padding: 1.25rem 1rem 2rem;
        border-right: 1px solid var(--nuppdoc-border);
        border-bottom: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-105%);
        transition: transform 180ms ease
    }

    .nuppdoc-sidebar>ul {
        display: block;
        overflow: visible
    }

    .nuppdoc-sidebar-section ul {
        display: block;
        overflow: visible
    }

    .is-mobile-nav-open .nuppdoc-sidebar {
        transform: translateX(0)
    }

    .nuppdoc-sidebar-backdrop {
        position: fixed;
        z-index: 41;
        inset: var(--nuppdoc-header-height) 0 0;
        display: block;
        width: 100%;
        height: auto;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .38);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease
    }

    .is-mobile-nav-open .nuppdoc-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto
    }

    .is-mobile-nav-open {
        overflow: hidden
    }

    .nuppdoc-page-nav {
        grid-template-columns: 1fr
    }

    .nuppdoc-page-nav-next {
        grid-column: 1
    }
}

@media(max-width:760px) {

    .nuppdoc-sidebar a,
    .nuppdoc-sidebar-section summary {
        font-size: 1rem
    }
}

@media(max-width:760px) {
    .nuppdoc-content {
        font-size: 1rem
    }
}

.nuppdoc-mobile-outline-toggle,
.nuppdoc-outline-backdrop {
    display: none
}

@media(max-width:760px) {
    .nuppdoc-mobile-outline-toggle {
        display: grid
    }

    .nuppdoc-outline,
    .nuppdoc-shell.is-outline-collapsed>.nuppdoc-outline {
        position: fixed;
        z-index: 42;
        top: var(--nuppdoc-header-height);
        right: 0;
        bottom: 0;
        display: block;
        width: min(86vw, 320px);
        max-height: none;
        padding: 1.25rem 1rem 2rem;
        border: 0;
        border-left: 1px solid var(--nuppdoc-border);
        background: var(--nuppdoc-background-alt);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
        opacity: 1;
        pointer-events: auto;
        transform: translateX(105%);
        transition: transform 180ms ease
    }

    .is-mobile-outline-open .nuppdoc-outline {
        transform: translateX(0)
    }

    .nuppdoc-outline-backdrop {
        position: fixed;
        z-index: 41;
        inset: var(--nuppdoc-header-height) 0 0;
        display: block;
        width: 100%;
        height: auto;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .38);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease
    }

    .is-mobile-outline-open .nuppdoc-outline-backdrop {
        opacity: 1;
        pointer-events: auto
    }
}

.nuppdoc-sidebar-section>details>summary>a,
.nuppdoc-module-branch>details>summary>a {
    display: inline;
    overflow: visible;
    padding: 0;
    white-space: normal
}

:root {
  /* The documentation theme starts at 16px; raise the site-wide rem scale by
   * roughly 15% so prose and supporting UI read comfortably at normal zoom. */
  font-size: 115%;
  /* A palette surveyed across woodblock prints — thirty-eight colors: paper
   * through ink black, the earth/moss/indigo tones between, and (since the
   * survey ran short of both) three near-whites and three near-blacks, each
   * an existing surveyed hue pushed to its extreme rather than invented from
   * scratch. The variables below assign each to a role rather than picking
   * arbitrarily — small text that needs more contrast than any surveyed
   * color gives is a color-mix of one of them toward black or white, used
   * only where the set truly has no direct color for the job. */
  --nupp-woodblock-vermilion: #b1594f;
  --nupp-woodblock-vermilion-hover: #843d2f;
  /* Links run the amber-orange that headings wore last pass — direct on the
   * dark ground, darkened for the light one, same as before. Headings move
   * to cinnabar, a redder orange, so the two don't collide: cinnabar red was
   * an actual woodblock pigment, which makes the rename more than
   * decoration. */
  --nupp-woodblock-ember: #c7913d;
  --nupp-woodblock-ember-deep: color-mix(in srgb, var(--nupp-woodblock-ember) 60%, black);
  --nupp-woodblock-cinnabar: #d64a3b;
  --nupp-woodblock-cinnabar-deep: color-mix(in srgb, var(--nupp-woodblock-cinnabar) 65%, black);
  --nuppdoc-light-accent: #768d93;
  --nuppdoc-light-accent-hover: color-mix(in srgb, #768d93 80%, black);
  --nuppdoc-light-accent-soft: #f1e1df;
  --nuppdoc-light-background: #fcfbfb;
  --nuppdoc-light-background-alt: #f0ebe7;
  --nuppdoc-light-border: color-mix(in srgb, #50676c 70%, white);
  --nuppdoc-light-code-background: #e6eaec;
  --nuppdoc-light-text: #2e2f2a;
  --nuppdoc-light-muted: #594a4f;
  --nuppdoc-dark-accent: #d64a3b;
  --nuppdoc-dark-accent-hover: color-mix(in srgb, #d64a3b 85%, white);
  --nuppdoc-dark-accent-soft: #161214;
  /* True black for the page itself; code blocks sit one step up at the
   * surveyed near-black instead, with the sidebar and header on a
   * teal-black panel between the two, and the active/soft panel state on a
   * different near-black again (mauve-toned) so all four stay tellable
   * apart. */
  --nuppdoc-dark-background: #1c1917;
  --nuppdoc-dark-background-alt: #1b2626;
  --nuppdoc-dark-border: color-mix(in srgb, #50676c 65%, black);
  --nuppdoc-dark-code-background: #1f1c1b;
  --nuppdoc-dark-text: #d4c2b6;
  --nuppdoc-dark-muted: #ad9277;
  --nuppdoc-accent-contrast: #ffffff;
  --nuppdoc-feature-heading: var(--nupp-woodblock-cinnabar-deep);
  --nuppdoc-playground-border: color-mix(in srgb, #50676c 70%, white);
  --nuppdoc-code-block-radius: 4px;
  --nuppdoc-hero-glow-color: var(--nupp-woodblock-vermilion);
  --nuppdoc-syntax-boolean: #836620;
  --nuppdoc-syntax-comment: #474c44;
  --nuppdoc-syntax-function: #376076;
  --nuppdoc-syntax-keyword: #9a1600;
  --nuppdoc-syntax-meta: #2e595c;
  --nuppdoc-syntax-number: #836620;
  --nuppdoc-syntax-operator: #2e595c;
  --nuppdoc-syntax-property: var(--nuppdoc-syntax-variable);
  --nuppdoc-syntax-punctuation: #3c5156;
  --nuppdoc-syntax-string: #364c31;
  --nuppdoc-syntax-type: #2e595c;
  --nuppdoc-syntax-variable: #6e5032;
}

/* Darken just the line-number gutters, not every use of --nuppdoc-text-faint
 * (breadcrumbs, sidebar-section chevrons, page-nav labels) — those looked
 * too dark once a global --nuppdoc-text-faint override was reached for
 * line numbers specifically. .nuppdoc-line-numbers covers the static
 * labeled-code examples directly; .nuppdoc-playground re-scopes the same
 * custom property for the live editor, since its CodeMirror gutter lives in
 * a shadow root that only sees --nuppdoc-text-faint through the property's
 * normal inheritance (see editors/playground/src/doc-app.js's --pg-faint). */
.nuppdoc-line-numbers {
  color: color-mix(in srgb, var(--nuppdoc-text-muted) 90%, transparent);
}

.nuppdoc-playground {
  --nuppdoc-text-faint: color-mix(in srgb, var(--nuppdoc-text-muted) 90%, transparent);
}

@media (prefers-color-scheme: dark) {
  .nuppdoc-line-numbers {
    color: color-mix(in srgb, var(--nuppdoc-text-muted) 45%, transparent);
  }

  .nuppdoc-playground {
    --nuppdoc-text-faint: color-mix(in srgb, var(--nuppdoc-text-muted) 45%, transparent);
    /* doc-app.js's --pg-border reads --nuppdoc-border directly, not
     * --nuppdoc-playground-border (which nothing in the built site actually
     * consumes) — scoped here the same way as --nuppdoc-text-faint above,
     * so only the playground's own border moves to match the code-block
     * border, not every other divider that uses --nuppdoc-border. */
    --nuppdoc-border: #38312d;
  }
}

:root[data-theme="dark"] .nuppdoc-line-numbers {
  color: color-mix(in srgb, var(--nuppdoc-text-muted) 45%, transparent);
}

:root[data-theme="dark"] .nuppdoc-playground {
  --nuppdoc-text-faint: color-mix(in srgb, var(--nuppdoc-text-muted) 45%, transparent);
  --nuppdoc-border: #38312d;
}

:root[data-theme="light"] .nuppdoc-line-numbers {
  color: color-mix(in srgb, var(--nuppdoc-text-muted) 90%, transparent);
}

:root[data-theme="light"] .nuppdoc-playground {
  --nuppdoc-text-faint: color-mix(in srgb, var(--nuppdoc-text-muted) 90%, transparent);
  --nuppdoc-border: var(--nuppdoc-light-border);
}

/* The base theme sets nav links to the muted text color; pull them up to
 * full text strength instead — an eggshell off-white on the dark theme's
 * near-black, rather than something that reads as dimmed-out. */
.nuppdoc-sidebar a,
.nuppdoc-outline a {
  color: var(--nuppdoc-text);
}

/* Selected is a filled background — the same tint the base theme used for
 * hover — so it reads as "this is where you are" at a glance. Hover just
 * underlines the text instead, so the two states read as clearly
 * different actions (you are here vs. you could go here) rather than two
 * similar-looking boxes. */
.nuppdoc-sidebar a[aria-current="page"] {
  background: color-mix(in srgb, var(--nuppdoc-accent-soft) 55%, transparent);
}

.nuppdoc-sidebar a:hover {
  background: transparent;
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  .nuppdoc-outline ol {
    border-left-color: #c7913d;
  }
}

:root[data-theme="dark"] .nuppdoc-outline ol {
  border-left-color: #c7913d;
}

/* The base theme tints the header off the page background; give it the same
 * panel color as the left sidebar instead, so the two navs read as one
 * surface wrapping the content on three sides. */
.nuppdoc-header {
  background: var(--nuppdoc-background-alt);
}

/* The base theme's top-nav hover is the same plain --nuppdoc-background-alt
 * the header itself now sits on, so hovering barely registered. Blending
 * toward the text color guarantees a lightness step against whatever the
 * header's background is — accent-soft was tried first, but that's itself
 * a near-black tone, so it read as barely-there against another near-black. */
.nuppdoc-top-nav a:hover {
  background: color-mix(in srgb, var(--nuppdoc-text) 14%, transparent);
}

.nuppdoc-hero-action.brand,
.nuppdoc-hero-action.brand:hover {
  color: #ffffff;
  background: var(--nuppdoc-accent);
}

.nuppdoc-hero-action.brand:hover {
  background: var(--nuppdoc-accent-hover);
}

/* White on the accent red is unreadable in dark mode; black holds contrast
 * there without touching the light theme's white-on-red button. */
@media (prefers-color-scheme: dark) {
  .nuppdoc-hero-action.brand,
  .nuppdoc-hero-action.brand:hover {
    color: #000000;
  }
}

:root[data-theme="dark"] .nuppdoc-hero-action.brand,
:root[data-theme="dark"] .nuppdoc-hero-action.brand:hover {
  color: #000000;
}

.nuppdoc-hero-action {
  min-height: 44px;
  padding: 0.75rem 1.35rem;
}

.nuppdoc-brand-name {
  color: var(--nuppdoc-accent);
}

.nuppdoc-hero-text {
  color: var(--nuppdoc-text);
  font-weight: 700;
}

.nuppdoc-hero-content {
  max-width: 40rem;
  margin: 0.85rem 0 0;
  color: var(--nuppdoc-text);
  font-size: 1.05rem;
}

/* The playground follows the hero directly, so it does not need the regular
 * section rule or the large gap used by lower-priority homepage sections. */
.nuppdoc-home-hero {
  margin-bottom: 3.5rem;
}

/* The base theme never styles <hr> at all — the home page's markdown now opens
 * with one instead of a "Try Nupp" heading, so it was falling back to the
 * browser's default inset-gray rule, which read as a stray UI glitch
 * against this theme. */
.nuppdoc-content hr {
  margin: 4rem 0;
  border: 0;
  border-top: 1px solid var(--nuppdoc-border);
}

.nuppdoc-home-hero + h2 {
  /* The playground toolbar sits 2rem above its editor. Include that offset
   * so the heading keeps a visible 1rem gap instead of touching the toolbar. */
  margin: 0 0 3rem;
  padding: 0;
  border: 0;
}

/* Let the Nuppeppo illustration dissolve into the page instead of ending at a
 * hard image boundary. The PNG is square, so the clipped mask stays circular. */
.nuppdoc-hero-image img {
  width: min(85%, 332px);
  border-radius: 50%;
  clip-path: circle(50% at center);
  filter: drop-shadow(0 22px 30px rgb(23 51 51 / 16%));
  -webkit-mask-image: radial-gradient(
    circle closest-side at center,
    #000 0 64%,
    rgb(0 0 0 / 82%) 76%,
    rgb(0 0 0 / 32%) 88%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: radial-gradient(
    circle closest-side at center,
    #000 0 64%,
    rgb(0 0 0 / 82%) 76%,
    rgb(0 0 0 / 32%) 88%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.nuppdoc-code-block[data-lang]::before {
  top: 3px;
  font-size: 0.55rem;
}

/* #253133 is a near-black — fine against the dark theme's own near-black
 * page, but far too heavy a line against the light theme's paper. Scoped to
 * dark only; light keeps the ordinary --nuppdoc-border it had before. */
@media (prefers-color-scheme: dark) {
  .nuppdoc-content pre,
  .nuppdoc-code-group {
    border-color: #38312d;
  }
}

:root[data-theme="dark"] .nuppdoc-content pre,
:root[data-theme="dark"] .nuppdoc-code-group {
  border-color: #38312d;
}

/* Tabs live in their own row (.nuppdoc-code-tabs, added in html.nupp's
 * codeGroupHtml) so a caption too long to fit — a file path, say — scrolls
 * the tab row horizontally instead of wrapping every tab after it onto a
 * second line. The group itself reverts to plain block flow: the tab row
 * and whichever panel is visible just stack, no flex-wrap sizing to fight. */
.nuppdoc-code-group {
  display: block;
  overflow: visible;
}

.nuppdoc-code-tabs {
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.nuppdoc-code-tabs .nuppdoc-code-tab {
  flex: none;
  white-space: nowrap;
}

/* The base theme pairs each panel with the input at the same position in the
 * tab row the same way now; these rules are restated so this stylesheet stands
 * on its own. Fifteen slots covers any code group on the site today with
 * headroom to spare. */
.nuppdoc-code-panel {
  display: none;
}

.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(1):checked) .nuppdoc-code-panel:nth-of-type(1),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(2):checked) .nuppdoc-code-panel:nth-of-type(2),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(3):checked) .nuppdoc-code-panel:nth-of-type(3),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(4):checked) .nuppdoc-code-panel:nth-of-type(4),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(5):checked) .nuppdoc-code-panel:nth-of-type(5),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(6):checked) .nuppdoc-code-panel:nth-of-type(6),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(7):checked) .nuppdoc-code-panel:nth-of-type(7),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(8):checked) .nuppdoc-code-panel:nth-of-type(8),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(9):checked) .nuppdoc-code-panel:nth-of-type(9),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(10):checked) .nuppdoc-code-panel:nth-of-type(10),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(11):checked) .nuppdoc-code-panel:nth-of-type(11),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(12):checked) .nuppdoc-code-panel:nth-of-type(12),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(13):checked) .nuppdoc-code-panel:nth-of-type(13),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(14):checked) .nuppdoc-code-panel:nth-of-type(14),
.nuppdoc-code-group:has(.nuppdoc-code-tabs > input:nth-of-type(15):checked) .nuppdoc-code-panel:nth-of-type(15) {
  display: block;
}

.nuppdoc-content pre {
  padding: 1rem 1.1rem;
  border-radius: 4px;
}

/* Headings are the text face throughout; the heading color is what marks
 * them out. */
.nuppdoc-content h1,
.nuppdoc-content h2,
.nuppdoc-content h3 {
  color: var(--nuppdoc-feature-heading);
}

.nuppdoc-content h2 {
  border-top-width: 2px;
}

/* A `::: columns` block (see the home page's Learning Nupp / Language
 * reference / Performance / Guides groups) reads as peer lists rather than
 * one long stack. Nothing pins a given heading to a given column: content
 * simply flows top-to-bottom and wraps into the next column when a column
 * fills, so the block adapts on its own to however many groups it holds. */
.nuppdoc-columns {
  column-count: 3;
  column-gap: 2.75rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--nuppdoc-border);
}

.nuppdoc-columns h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  break-after: avoid-column;
  break-inside: avoid-column;
}

.nuppdoc-columns ul {
  break-inside: avoid-column;
}

@media (max-width: 760px) {
  .nuppdoc-columns {
    column-count: 1;
  }
}

@media (prefers-color-scheme: dark) {
  .nuppdoc-content h2,
  .nuppdoc-content hr {
    border-top-color: #c7913d;
  }
}

:root[data-theme="dark"] .nuppdoc-content h2,
:root[data-theme="dark"] .nuppdoc-content hr {
  border-top-color: #c7913d;
}

/* The hero title lives inside .nuppdoc-content too, but it is a brand mark
 * rather than a prose heading, so it keeps its own accent color. The extra
 * ancestor class raises specificity above the rule just above, so this
 * wins outright rather than depending on source-order or rule merging. */
.nuppdoc-home-hero .nuppdoc-hero-copy h1 {
  color: var(--nuppdoc-accent);
}

/* The home page's long-form feature tour keeps every explanation on the left
 * and its code or illustration on the right for a predictable reading rhythm. */
.nuppdoc-feature-showcase {
  display: grid;
  gap: clamp(3.5rem, 9vw, 7rem);
  margin: 0 0 clamp(4rem, 10vw, 8rem);
}

#nupp-features {
  margin-bottom: 0;
}

#nupp-features + .nuppdoc-feature-showcase {
  margin-top: 1.75rem;
}

.nuppdoc-showcase-feature {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.nuppdoc-showcase-visual {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.nuppdoc-showcase-copy {
  grid-column: 1;
  grid-row: 1;
}

.nuppdoc-showcase-visual pre {
  margin: 0;
  padding: 1.2rem 1.35rem;
  border-radius: 6px;
  box-shadow: 0 18px 46px rgb(23 51 51 / 11%);
}

.nuppdoc-showcase-visual img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.nuppdoc-showcase-icon {
  display: grid;
  min-height: 13rem;
  place-items: center;
  color: var(--nuppdoc-accent);
  border: 1px solid var(--nuppdoc-border);
  border-radius: 14px;
  background: var(--nuppdoc-background-alt);
  font-size: 4rem;
}

.nuppdoc-showcase-copy h2 {
  margin: 0 0 0.8rem;
  padding: 0;
  border: 0;
  color: var(--nuppdoc-feature-heading);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.nuppdoc-showcase-details {
  max-width: 38rem;
  color: var(--nuppdoc-text-muted);
  font-size: 1.04rem;
}

.nuppdoc-showcase-details > :first-child {
  margin-top: 0;
}

.nuppdoc-showcase-details > :last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .nuppdoc-motion-ready .nuppdoc-showcase-feature {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 620ms ease, transform 620ms ease;
  }

  .nuppdoc-motion-ready .nuppdoc-showcase-feature.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .nuppdoc-showcase-feature,
  .nuppdoc-showcase-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .nuppdoc-showcase-copy {
    grid-column: auto;
    grid-row: 1;
  }

  .nuppdoc-showcase-visual {
    grid-column: auto;
    grid-row: 2;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --nuppdoc-feature-heading: var(--nuppdoc-dark-text);
    --nuppdoc-playground-border: #38312d;
    --nuppdoc-syntax-boolean: #f9cd5f;
    --nuppdoc-syntax-comment: #747673;
    --nuppdoc-syntax-function: #93aab7;
    --nuppdoc-syntax-keyword: #fa745c;
    --nuppdoc-syntax-meta: #718e90;
    --nuppdoc-syntax-number: #f9cd5f;
    --nuppdoc-syntax-operator: #718e90;
    --nuppdoc-syntax-property: var(--nuppdoc-syntax-variable);
    --nuppdoc-syntax-punctuation: #84a2aa;
    --nuppdoc-syntax-string: #9eb798;
    --nuppdoc-syntax-type: #718e90;
    --nuppdoc-syntax-variable: #d3a87c;
  }
}

:root[data-theme="dark"] {
  --nuppdoc-feature-heading: var(--nuppdoc-dark-text);
  --nuppdoc-playground-border: #38312d;
  --nuppdoc-syntax-boolean: #f9cd5f;
  --nuppdoc-syntax-comment: #747673;
  --nuppdoc-syntax-function: #93aab7;
  --nuppdoc-syntax-keyword: #fa745c;
  --nuppdoc-syntax-meta: #718e90;
  --nuppdoc-syntax-number: #f9cd5f;
  --nuppdoc-syntax-operator: #718e90;
  --nuppdoc-syntax-property: var(--nuppdoc-syntax-variable);
  --nuppdoc-syntax-punctuation: #84a2aa;
  --nuppdoc-syntax-string: #9eb798;
  --nuppdoc-syntax-type: #718e90;
  --nuppdoc-syntax-variable: #d3a87c;
}

:root[data-theme="light"] {
  --nuppdoc-feature-heading: var(--nupp-woodblock-cinnabar-deep);
  --nuppdoc-playground-border: color-mix(in srgb, #50676c 70%, white);
  --nuppdoc-syntax-boolean: #836620;
  --nuppdoc-syntax-comment: #474c44;
  --nuppdoc-syntax-function: #376076;
  --nuppdoc-syntax-keyword: #9a1600;
  --nuppdoc-syntax-meta: #2e595c;
  --nuppdoc-syntax-number: #836620;
  --nuppdoc-syntax-operator: #2e595c;
  --nuppdoc-syntax-property: var(--nuppdoc-syntax-variable);
  --nuppdoc-syntax-punctuation: #3c5156;
  --nuppdoc-syntax-string: #364c31;
  --nuppdoc-syntax-type: #2e595c;
  --nuppdoc-syntax-variable: #6e5032;
}
