/* Documentation presentation only. Product components use their source CSS in iframes. */
* {
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

html {
    scroll-padding-top: 90px
}

.doc-body {
    margin: 0;
    background: #fff;
    color: var(--wu-neutral-900);
    font: 15px/1.6 var(--wu-font-sans)
}

.doc-body a {
    color: var(--wu-accessible-deep)
}

.doc-body button {
    font: inherit;
    cursor: pointer
}

.doc-body button:focus-visible,
.doc-body a:focus-visible,
.doc-body summary:focus-visible {
    outline: 3px solid var(--wu-gold-400);
    outline-offset: 3px
}

.doc-layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    min-height: 100vh
}

.doc-sidebar {
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid var(--wu-neutral-200);
    background: var(--wu-gold-50);
    padding: 24px 12px;
    z-index: 50
}

.doc-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.doc-brand a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: var(--wu-neutral-900);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
}

.doc-brand img {
    object-fit: contain
}

.doc-brand small {
    display: block;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--wu-neutral-600);
    font-weight: 400
}

.doc-brand button {
    display: none
}

.doc-nav-caption {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--wu-neutral-600);
    padding: 0 12px;
    margin: 0 0 14px
}

.doc-sidebar nav {
    display: grid;
    gap: 2px
}

.doc-sidebar nav>a {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    color: var(--wu-neutral-700);
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 550;
    align-items: center;
}

.doc-sidebar nav>a>span {
    font-size: 13px;
    color: var(--wu-neutral-500);
    padding-top: 1px;
    font-variant-numeric: tabular-nums
}

.doc-sidebar nav>a:hover {
    background: var(--wu-neutral-100)
}

.doc-sidebar nav>a[aria-current="page"] {
    background: var(--wu-gold-100);
    color: var(--wu-gold-900);
    font-weight: 700
}

.doc-sidebar nav>a[aria-current="page"]>span {
    color: var(--wu-gold-700)
}

.doc-nav-footer {
    display: grid;
    gap: 8px;
    margin: 26px 12px 0;
    padding-top: 20px;
    border-top: 1px solid var(--wu-neutral-200);
    font-size: 11px
}

.doc-nav-footer a {
    color: var(--wu-neutral-600);
    text-decoration: none
}

.doc-workspace {
    min-width: 0
}

.doc-topbar {
    height: 76px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 44px;
    border-bottom: 1px solid var(--wu-neutral-200);
    background: rgba(255, 255, 255, .96);
    position: sticky;
    top: 0;
    z-index: 40
}

.doc-topbar>div>span {
    display: block;
    font-size: 10px;
    color: var(--wu-neutral-600);
    text-transform: uppercase;
    letter-spacing: .12em
}

.doc-topbar strong {
    font-size: 13px;
    font-weight: 650
}

.doc-version {
    font-size: 10px;
    color: var(--wu-neutral-600);
    white-space: nowrap
}

.doc-menu {
    display: none
}

.doc-main {
    max-width: 1192px;
    margin: auto;
    padding: 44px;
    outline: none;
    min-width: 0
}

.doc-section {
    min-width: 0
}

.doc-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px
}

.doc-section-head>span {
    font-size: 12px;
    font-weight: 650;
    line-height: 32px;
    text-align: center;
    min-width: 32px;
    color: var(--wu-gold-800);
    background: var(--wu-gold-50);
    border: 1px solid var(--wu-gold-100);
    border-radius: 6px
}

.doc-section-head h2 {
    margin: 0;
    font-size: 48px;
    letter-spacing: -.025em;
    font-weight: 700;
    line-height: 1.3;
    font-family: var(--wu-font-display);
    color: var(--wu-gold-800);
}

.doc-section h3 {
    font-size: 19px;
    line-height: 1.45;
    letter-spacing: -.02em;
    margin: 12px 0 12px 0;
    font-weight: 650
}

.doc-section p {
    color: var(--wu-neutral-700);
    margin-bottom: 0;
}

.doc-section p code,
.doc-usage code,
.doc-callout code,
.doc-section li code {
    padding: .12em .35em;
    background: var(--wu-neutral-100);
    border-radius: 4px;
    color: var(--wu-gold-800);
    font-size: .86em;
    overflow-wrap: anywhere
}

.doc-intro {
    padding: 6px 0 24px
}

.doc-eyebrow {
    color: var(--wu-gold-700);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.doc-intro h1 {
    font-size: clamp(30px, 3.1vw, 44px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -.04em;
    /* margin: 16px 0 18px */
}

.doc-intro>p {
    font-size: 16px;
    line-height: 1.65;
    max-width: 700px
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px
}

.doc-meta span {
    font-size: 10px;
    background: var(--wu-neutral-50);
    border: 1px solid var(--wu-neutral-200);
    padding: 5px 9px;
    border-radius: 4px;
    color: var(--wu-neutral-700)
}

.doc-callout {
    border-left: 3px solid var(--wu-gold-500);
    padding: 18px 20px;
    background: var(--wu-gold-50);
    font-size: 13px;
    color: var(--wu-neutral-700);
    margin: 8px 0 30px
}

.doc-callout strong {
    color: var(--wu-gold-900)
}

.doc-note,
.doc-muted {
    font-size: 12px;
    color: var(--wu-neutral-600) !important
}

.doc-swatches {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 30px
}

.doc-swatch {
    min-width: 0;
    border: 1px solid var(--wu-neutral-200);
    border-radius: 6px;
    overflow: hidden
}

.doc-swatch>span {
    display: block;
    height: 54px;
    border-bottom: 1px solid var(--wu-neutral-200)
}

.doc-swatch code {
    display: block;
    padding: 9px 8px 2px;
    font: 10px/1.5 ui-monospace, monospace;
    overflow-wrap: anywhere;
    color: var(--wu-neutral-800)
}

.doc-swatch small {
    display: block;
    font-size: 10px;
    padding: 0 8px 9px;
    color: var(--wu-neutral-600)
}

.doc-table-wrap {
    max-width: 100%;
    overflow: auto;
    margin: 18px 0 28px;
    border: 1px solid var(--wu-neutral-200);
    border-radius: 6px
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px
}

.doc-table th,
.doc-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--wu-neutral-200);
    text-align: left;
    vertical-align: top
}

.doc-table th {
    background: var(--wu-neutral-50);
    font-weight: 650;
    color: var(--wu-neutral-700)
}

.doc-table tr:last-child td {
    border-bottom: 0
}

.doc-table code {
    font-size: 11px;
    color: var(--wu-neutral-800);
    overflow-wrap: anywhere
}

.doc-type-sample {
    padding: 28px;
    background: var(--wu-neutral-50);
    border: 1px solid var(--wu-neutral-200);
    border-radius: 6px
}

.doc-type-sample .wu-font-display {
    font-size: clamp(24px, 3vw, 38px);
    margin: 0 0 8px;
    color: var(--wu-neutral-900)
}

.doc-type-sample .wu-font-standard {
    font-size: 16px;
    margin: 0
}

.doc-example {
    margin: 0 0 48px;
    padding-top: 12px;
    scroll-margin-top: 100px;
    min-width: 0
}

.doc-example-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.doc-example-head h3 {
    margin: 5px 0 8px;
    font-size: 21px;
    line-height: 1.4
}

.doc-context {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--wu-gold-700);
    font-weight: 700
}

.doc-anchor {
    text-decoration: none;
    color: var(--wu-neutral-400) !important;
    font-size: 20px
}

.doc-source {
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 18px;
    overflow-wrap: anywhere
}

.doc-source a {
    color: var(--wu-neutral-600)
}

.doc-preview-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--wu-neutral-50);
    padding: 10px 12px;
    border: 1px solid var(--wu-neutral-200);
    border-radius: 7px 7px 0 0;
    font-size: 13px
}

.doc-preview-bar>strong {
    font-weight: 650;
    color: var(--wu-neutral-700)
}

.doc-preview-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px
}

.doc-preview-controls button {
    padding: 4px 8px;
    min-height: 28px;
    border: 1px solid var(--wu-neutral-200);
    border-radius: 4px;
    background: white;
    font-size: 10px;
    color: var(--wu-neutral-700)
}

.doc-preview-controls button:hover,
.doc-preview-controls button[aria-pressed="true"] {
    background: var(--wu-gold-50);
    border-color: var(--wu-gold-400)
}

.doc-preview-controls a {
    font-size: 10px;
    margin-left: 6px;
    text-decoration: none
}

.doc-preview-window {
    overflow: auto;
    max-width: 100%;
    border: 1px solid var(--wu-neutral-200);
    border-top: 0;
    border-radius: 0 0 7px 7px;
    background: var(--wu-neutral-100)
}

.doc-preview-window iframe {
    border: 0;
    display: block;
    width: 100%;
    max-width: none;
    background: #fff;
    /* min-height: 100px */
}

.doc-usage {
    margin: 18px 0 20px;
    padding-left: 19px;
    color: var(--wu-neutral-700);
    font-size: 12px;
    line-height: 1.75
}

.doc-usage li+li {
    margin-top: 5px
}

.doc-code,
.doc-dependencies {
    border: 1px solid var(--wu-neutral-200);
    border-radius: 6px;
    margin: 8px 0;
    overflow: hidden
}

.doc-code summary,
.doc-dependencies summary {
    cursor: pointer;
    list-style-position: inside;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    background: var(--wu-neutral-50)
}

.doc-code summary>span {
    float: right;
    font-size: 10px;
    color: var(--wu-neutral-600);
    font-weight: 400;
    margin-top: 2px
}

.doc-code-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #eeeae3;
    color: var(--wu-neutral-700);
    font-size: 10px
}

.doc-copy {
    border: 1px solid var(--wu-neutral-300);
    border-radius: 4px;
    background: #fff;
    padding: 5px 9px;
    color: var(--wu-neutral-800);
    font-size: 10px !important;
    white-space: nowrap
}

.doc-section pre {
    margin: 0;
    background: #242320;
    color: #eee9de;
    padding: 18px;
    max-height: 440px;
    overflow: auto;
    font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
    tab-size: 2;
    white-space: pre
}

.doc-section pre code {
    color: inherit;
    font: inherit;
    white-space: pre;
    word-break: normal
}

.doc-section .doc-code,
.doc-section .doc-dependencies {
    min-width: 0;
    max-width: 100%;
}

.doc-section pre {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    overflow-x: hidden;
    tab-size: 2;
}

.doc-section pre > code {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: inherit;
    overflow-wrap: inherit;
    word-break: inherit;
    tab-size: inherit;
}

.doc-section pre > code .token {
    white-space: inherit;
    overflow-wrap: inherit;
    word-break: inherit;
}

.doc-dependencies>p {
    padding: 12px 16px 0;
    font-size: 11px
}

.doc-class-list {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    max-width: none !important
}

.doc-class-list code {
    display: inline-block
}

.doc-dep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 14px 16px 0;
    font-size: 11px;
    min-width: 0
}

.doc-dep-grid h4 {
    font-size: 11px;
    font-weight: 650;
    margin: 0 0 10px
}

.doc-dep-grid ul {
    padding-left: 14px;
    margin: 0;
    overflow-wrap: anywhere
}

.doc-dep-grid li {
    margin: 5px 0
}

.doc-asset-list {
    padding-left: 20px;
    font-size: 12px;
    overflow-wrap: anywhere
}

.doc-starter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0
}

.doc-starter-links>a {
    padding: 10px 14px;
    border: 1px solid var(--wu-neutral-300);
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px
}

.doc-footer {
    margin-top: 24px;
    padding: 24px 44px;
    border-top: 1px solid var(--wu-neutral-200);
    font-size: 12px;
    color: var(--wu-neutral-600)
}

.doc-footer a {
    text-decoration: none;
    color: var(--wu-gold-700);
}

.doc-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    max-width: calc(100vw - 48px);
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--wu-neutral-900);
    color: #fff;
    font-size: 12px;
    box-shadow: var(--wu-shadow-md)
}

.doc-skip {
    position: fixed;
    left: 16px;
    top: 12px;
    transform: translateY(-150%);
    z-index: 200;
    background: #fff;
    padding: 12px;
    border: 2px solid var(--wu-gold-700)
}

.doc-skip:focus {
    transform: none
}

.doc-scrim {
    display: none
}

@media(max-width:1199.98px) {
    .doc-layout {
        grid-template-columns: 236px minmax(0, 1fr)
    }

    .doc-main {
        padding: 32px
    }

    .doc-topbar {
        padding-inline: 32px
    }

    .doc-swatches {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .doc-dep-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:991.98px) {
    .doc-layout {
        display: block
    }

    .doc-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: calc(100vw - 48px);
        transform: translateX(-100%);
        transition: transform .18s ease;
        visibility: hidden;
        z-index: 100
    }

    .doc-body.doc-menu-open .doc-sidebar {
        transform: none;
        visibility: visible
    }

    .doc-brand button {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border: 1px solid var(--wu-neutral-200);
        border-radius: 5px;
        background: #fff;
        font-size: 24px;
        line-height: 1
    }

    .doc-menu {
        display: block;
        border: none;
        background: transparent;
        padding: 0;
    }

    .doc-topbar {
        display: flex;
        justify-content: flex-start;
        height: 68px;
        gap: 16px
    }

    .doc-topbar>div {
        margin-right: auto
    }

    .doc-scrim:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        border: 0;
        background: rgba(0, 0, 0, .32)
    }

    .doc-body.doc-menu-open {
        overflow: hidden
    }
}

@media(max-width:575.98px) {
    .doc-main {
        padding: 24px 18px
    }

    .doc-topbar {
        padding: 12px 18px
    }

    .doc-version {
        display: none
    }

    .doc-intro h1 {
        font-size: 31px
    }

    .doc-intro>p {
        font-size: 14px
    }

    .doc-section-head h2 {
        font-size: 21px
    }

    .doc-example-head h3 {
        font-size: 19px
    }

    .doc-callout {
        padding: 16px;
        font-size: 12px
    }

    .doc-swatches {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px
    }

    .doc-swatch code {
        font-size: 9px
    }

    .doc-code summary>span {
        display: none
    }

    .doc-preview-bar {
        gap: 6px
    }

    .doc-preview-controls button {
        min-height: 32px
    }

    .doc-preview-controls a {
        display: none
    }

    .doc-footer {
        padding: 22px 18px
    }

    .doc-table th,
    .doc-table td {
        padding: 9px
    }

    .doc-section pre {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .doc-sidebar {
        transition: none
    }
}

/* Documentation — editor-style syntax colors */
.doc-section pre {
    --code-text: #d4d4d4;
    --code-tag: #e06c75;
    --code-attribute: #c678dd;
    --code-value: #98c379;
    --code-comment: #7f848e;

    background: #1e1e1e;
    color: var(--code-text);
}

.doc-section pre code {
    color: inherit;
    font-weight: 400;
    text-shadow: none;
}

.doc-section pre code .token.tag {
    color: var(--code-tag);
}

.doc-section pre code .token.attr-name {
    color: var(--code-attribute);
}

.doc-section pre code .token.attr-value,
.doc-section pre code .token.string {
    color: var(--code-value);
}

.doc-section pre code .token.punctuation {
    color: var(--code-text);
}

.doc-section pre code .token.comment {
    color: var(--code-comment);
    font-style: italic;
}

.doc-section pre code .token.doctype,
.doc-section pre code .token.keyword {
    color: var(--code-attribute);
}

.doc-section pre code .token.entity {
    color: #e5c07b;
}

.doc-section pre code::selection,
.doc-section pre code *::selection {
    background: #3e4451;
    color: #ffffff;
}