:root {
    color-scheme: light;
    --paper: #ffffff;
    --fog: #f5f5f5;
    --ink: #242426;
    --muted: #66666b;
    --link: #39393d;
    --label: #5e5e63;
    --line: #dedee2;
    --input-line: #8a8a91;
    --action: #2b2b2f;
    --action-hover: #414146;
    --on-action: #ffffff;
    --active: #eaeaec;
    --quote-line: #aaaab1;
    --focus: #3e3e43;
    --selection: #dedee4;
    --status: #242426;
    --on-status: #ffffff;
    --band: #f4f4f5;
    --on-band: #242426;
    --band-muted: #626269;
    --radius: 14px;
    font-family: Aptos, "Segoe UI", Candara, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper)
}

html {
    scroll-padding-top: 130px
}

:root[data-theme=dark] {
    color-scheme: dark;
    --paper: #18181b;
    --fog: #232326;
    --ink: #eeeeef;
    --muted: #b1b1b7;
    --link: #e0e0e4;
    --label: #bdbdc2;
    --line: #414147;
    --input-line: #808087;
    --action: #ededf0;
    --action-hover: #ffffff;
    --on-action: #232326;
    --active: #303036;
    --quote-line: #66666f;
    --focus: #d0d0d5;
    --selection: #4a4a53;
    --status: #f1f1f3;
    --on-status: #242426;
    --band: #202023;
    --on-band: #eeeeef;
    --band-muted: #b1b1b7;
}

/* Also follow the OS when JavaScript is unavailable. */
@media(prefers-color-scheme:dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --paper: #18181b;
        --fog: #232326;
        --ink: #eeeeef;
        --muted: #b1b1b7;
        --link: #e0e0e4;
        --label: #bdbdc2;
        --line: #414147;
        --input-line: #808087;
        --action: #ededf0;
        --action-hover: #ffffff;
        --on-action: #232326;
        --active: #303036;
        --quote-line: #66666f;
        --focus: #d0d0d5;
        --selection: #4a4a53;
        --status: #f1f1f3;
        --on-status: #242426;
        --band: #202023;
        --on-band: #eeeeef;
        --band-muted: #b1b1b7;
    }
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

a {
    color: var(--link);
    text-underline-offset: .22em
}

a:hover {
    text-decoration-thickness: 2px;
    text-underline-offset: .28em
}

button,
input,
select {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    cursor: default
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

button,
a,
input,
select {
    touch-action: manipulation
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px
}

::selection {
    background: var(--selection)
}

.wrap {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto
}

p {
    margin: 0 0 1.1em;
    max-width: 70ch
}

h1,
h2,
h3 {
    line-height: 1.14;
    letter-spacing: -.035em;
    margin: 0 0 .55em
}

h1 {
    font-size: clamp(3.1rem, 5.6vw, 4.5rem);
    font-weight: 720;
    line-height: 1.04
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 680
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -.015em;
    font-weight: 650
}

pre,
code {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: .86em
}

pre {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

p code,
li code,
td code {
    background: var(--fog);
    padding: .12em .3em;
    border-radius: 4px;
    overflow-wrap: anywhere
}

.small {
    font-size: .82rem
}

.muted {
    color: var(--muted)
}

.skip-link {
    opacity: 0;
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 40;
    padding: 12px;
    background: var(--status);
    color: var(--on-status)
}

.skip-link:focus {
    opacity: 1;
    top: 12px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-block: 16px 0;
    pointer-events: none
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(960px, calc(100% - 40px));
    padding: 8px 12px 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    box-shadow: 0 4px 24px rgb(0 0 0 / 5%);
    pointer-events: auto
}

@supports (backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px)) {
    .header-inner {
        background: color-mix(in srgb, var(--paper) 92%, transparent);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px)
    }
}

@media(prefers-reduced-transparency:reduce), (forced-colors:active) {
    .header-inner {
        background: var(--paper);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 740;
    letter-spacing: -.04em;
    white-space: nowrap
}

.brand-mark {
    display: block;
    width: 28px;
    height: 28px;
    flex: none
}

.brand span {
    font-size: .68rem;
    letter-spacing: 0;
    color: var(--muted);
    font-weight: 550
}

.site-nav {
    display: flex;
    gap: 2px;
    align-items: center
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: .84rem;
    text-decoration: none;
    color: var(--link);
    border-radius: 999px;
    padding: 9px 11px;
    white-space: nowrap
}

.site-nav a:hover,
.site-nav a[aria-current] {
    color: var(--ink);
    background: var(--active)
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 4px
}

.theme-toggle,
.menu-toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink)
}

.theme-toggle:hover,
.menu-toggle:hover {
    background: var(--active)
}

.theme-toggle svg,
.menu-toggle svg {
    grid-area: 1 / 1;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.menu-toggle { display: none; }
.menu-line-top { transform-origin: 12px 8px; }
.menu-line-bottom { transform-origin: 12px 16px; }
.menu-toggle[aria-expanded=true] .menu-line-top { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-line-bottom { transform: translateY(-4px) rotate(-45deg); }

.theme-toggle .theme-sun,
:root[data-theme=dark] .theme-toggle .theme-moon {
    display: none
}

:root[data-theme=dark] .theme-toggle .theme-sun {
    display: block
}

.search-label input::placeholder {
    color: var(--muted);
    opacity: 1
}

.hero {
    --hero-accent: #a38aca;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
    padding-block: 88px 100px
}

.hero-word {
    position: relative;
    display: inline-block;
    isolation: isolate
}

.hero-annotation {
    position: absolute;
    left: -5%;
    bottom: -.22em;
    width: 110%;
    height: .8em;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
    color: var(--hero-accent)
}

.hero-ink {
    fill: none;
    stroke: currentColor;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    opacity: .65
}

.hero-pencil {
    color: color-mix(in srgb, var(--hero-accent) 82%, var(--ink));
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linejoin: round;
    transform: translate(282px, 58px) rotate(-24deg);
    opacity: 0
}

.pencil-tip,
.pencil-eraser {
    fill: var(--paper)
}

.pencil-detail {
    fill: none;
    stroke: var(--paper);
    opacity: 1
}

.pencil-lead {
    fill: var(--ink);
    stroke: none
}

.lead {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-top: 25px
}

.hero-copy>p {
    max-width: 44ch
}

.actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 32px 0 24px
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: .9rem;
    font-weight: 630;
    text-decoration: none;
    min-height: 48px
}

.agent-setup {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--fog);
    min-width: 0
}

.agent-setup h2 {
    font-size: 1.5rem;
    line-height: 1.25
}

.agent-setup>p {
    font-size: .9rem
}

.setup-prompt {
    margin: 12px 0 0;
    font-size: .83rem;
    line-height: 1.6;
    overflow-wrap: anywhere
}

.setup-command {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 18px;
    margin: 22px 0 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px
}

.setup-command code {
    font-size: .88rem
}

.icon-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--link)
}

.icon-copy:hover {
    background: var(--active)
}

.icon-copy svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round
}

.icon-copy .check-glyph,
.icon-copy[data-copied] .copy-glyph {
    display: none
}

.icon-copy[data-copied] .check-glyph {
    display: block
}

.copy-feedback,
.agent-setup .copy-feedback {
    margin: 12px 0 0;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--muted)
}

.prompt-details summary {
    width: fit-content;
    color: var(--muted);
    font-size: .78rem;
    cursor: pointer;
    padding-block: 5px
}

.agent-setup .setup-note {
    margin: 18px 0 0;
    font-size: .78rem
}

.example-workspace {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 85px;
    padding-block: 90px 80px
}

.primary {
    background: var(--action);
    color: var(--on-action)
}

.primary:hover {
    background: var(--action-hover)
}

.hero .primary {
    background: color-mix(in srgb, var(--hero-accent) 24%, var(--action))
}

.hero .primary:hover {
    background: color-mix(in srgb, var(--hero-accent) 32%, var(--action-hover))
}

.text-link {
    font-weight: 600;
    font-size: .92rem
}

.sample {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--fog);
    overflow: hidden;
    align-self: center
}

.sample-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 26px
}

.sample-heading p {
    margin: 0;
    font-size: .92rem;
    font-weight: 600
}

.sample-symbol {
    background: var(--action);
    color: var(--on-action);
    border-radius: 10px;
    width: 40px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1
}

.example-tabs {
    display: flex;
    gap: 2px;
    padding: 0 22px;
    border-bottom: 1px solid var(--line)
}

.example-tabs button {
    border: 0;
    background: none;
    color: var(--muted);
    padding: 12px 10px 14px;
    font-size: .8rem;
    min-height: 45px;
    border-bottom: 3px solid transparent
}

.example-tabs button[aria-selected=true] {
    border-color: var(--link);
    color: var(--link);
    font-weight: 650
}

.example-panel {
    padding: 26px;
    min-height: 355px
}

.sample-question {
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 24px;
    font-weight: 580;
    letter-spacing: -.015em
}

.source-row {
    background: var(--paper);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 12px
}

.source-type {
    color: var(--label);
    font-size: .68rem;
    line-height: 1.3;
    font-weight: 650;
    margin-bottom: 8px
}

.source-row h3 {
    font-size: 1rem;
    margin-bottom: 10px
}

.source-row p {
    font-size: .8rem;
    line-height: 1.55;
    margin-bottom: 15px
}

.source-meta {
    color: var(--muted);
    font-size: .75rem;
    display: block
}

.compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 16px
}

.compact h3 {
    margin: 0
}

.file-extension {
    font-size: .6rem;
    font-weight: 650;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 5px 7px
}

.sample-footnote {
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.5;
    margin: 20px 0 0
}

.reading-excerpt {
    border-left: 3px solid var(--quote-line);
    padding-left: 14px
}

.install-band {
    background: var(--band);
    color: var(--on-band);
    padding: 64px 0
}

.install-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px
}

.install-band h2 {
    font-size: 2.15rem
}

.install-band .code-block {
    background: var(--paper)
}

.install-band p {
    font-size: .93rem
}

.install-band a {
    color: var(--on-band)
}

.install-band .small {
    color: var(--band-muted);
    font-size: .76rem;
    margin-top: 20px
}

.install-band .light-link {
    font-size: .86rem;
    font-weight: 600
}

.step-label {
    font-size: .79rem !important;
    font-weight: 620;
    margin-bottom: 8px
}

.code-block {
    position: relative;
    background: var(--fog);
    color: var(--ink);
    padding: 20px;
    border-radius: 8px;
    margin: 12px 0 24px;
    border: 1px solid var(--line)
}

.code-block pre {
    padding-right: 0
}

.code-block:has(.copy-button:not([hidden])) pre {
    padding-top: 34px
}

.code-block code {
    font-size: .79rem
}

.copy-button {
    position: absolute;
    top: 6px;
    right: 8px
}

.section-intro p {
    color: var(--muted)
}

.boundary {
    background: var(--fog);
    padding: 46px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px
}

.boundary h2 {
    font-size: 2.1rem
}

.boundary p {
    font-size: .92rem
}

.boundary a {
    font-size: .86rem
}

.preview-note {
    padding-block: 64px 80px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10px 70px
}

.preview-note h2 {
    font-size: 1.2rem;
    letter-spacing: -.015em
}

.preview-note p {
    font-size: .83rem;
    color: var(--muted);
    grid-column: 2
}

.preview-note h2+p {
    grid-row: 1/3
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: .76rem
}

.footer-inner p {
    margin: 0
}

.footer-links {
    display: flex;
    gap: 22px
}

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

[hidden] {
    display: none !important
}

.docs-layout {
    display: grid;
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 70px;
    padding-block: 55px 90px
}

.docs-sidebar {
    font-size: .83rem;
    align-self: start;
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 140px);
    max-height: calc(100svh - 140px);
    overflow-y: auto;
    scrollbar-width: thin
}

.heading-link {
    color: inherit;
    text-decoration: none
}

.heading-link:hover {
    text-decoration: underline
}

.docs-sidebar p {
    font-weight: 650;
    color: var(--ink);
    margin-bottom: 10px
}

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

.docs-sidebar li {
    margin: 3px 0
}

.docs-sidebar a {
    display: block;
    padding: 7px 12px;
    border-radius: 6px;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.4
}

.docs-sidebar a[aria-current=page] {
    background: var(--active);
    color: var(--link);
    font-weight: 650
}

.docs-sidebar a:hover {
    background: var(--fog)
}

.prose {
    min-width: 0;
    max-width: 76ch;
    font-size: .97rem
}

.prose h1 {
    font-size: 2.7rem;
    margin-bottom: 35px
}

.prose h2 {
    font-size: 1.7rem;
    margin-top: 42px
}

.prose h3 {
    font-size: 1.25rem;
    margin-top: 30px
}

.prose p {
    line-height: 1.75
}

.prose pre {
    background: var(--fog);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    font-size: .8rem;
    margin: 22px 0
}

.prose .code-block pre {
    border: 0;
    padding: 0;
    margin: 0
}

.prose ul,
.prose ol {
    padding-left: 1.3em
}

.prose li {
    padding-left: 5px;
    margin-bottom: 7px
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-block: 24px;
    font-size: .84rem
}

.prose th {
    text-align: left;
    font-weight: 650;
    background: var(--fog)
}

.prose td,
.prose th {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    vertical-align: top
}

.prose blockquote {
    border-left: 3px solid var(--quote-line);
    padding-left: 20px;
    color: var(--muted)
}

.edit-link {
    font-size: .78rem;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.catalog-intro {
    padding-block: 55px 25px
}

.catalog-intro h1 {
    font-size: 3rem
}

.catalog-controls {
    display: flex;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px
}

.search-label {
    display: block;
    font-size: .83rem;
    font-weight: 600;
    flex: 1
}

.search-field {
    position: relative;
    flex: 1
}

.search-field:has(.clear-search:not([hidden])) input {
    padding-right: 108px
}

.clear-search {
    position: absolute;
    right: 4px;
    bottom: 2px;
    min-height: 44px;
    padding: 7px 12px;
    border: 0;
    border-radius: 5px;
    background: var(--paper);
    color: var(--link);
    font-size: .75rem
}

.clear-search:hover {
    background: var(--active)
}

.search-label input {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--input-line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 7px;
    min-height: 48px;
    padding: 10px 15px
}

.catalog-count {
    font-size: .8rem;
    color: var(--muted);
    padding-bottom: 12px;
    white-space: nowrap
}

.operation-list {
    padding-bottom: 80px
}

.operation {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 10px
}

.operation summary {
    padding: 17px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none
}

.operation summary::-webkit-details-marker {
    display: none
}

.operation summary::after {
    content: "+";
    color: var(--muted);
    font-size: 1.3rem
}

.operation[open] summary::after {
    content: "−"
}

.operation summary strong {
    font-size: .94rem;
    font-weight: 650
}

.operation summary span {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    margin-top: 3px
}

.operation-body {
    border-top: 1px solid var(--line);
    background: var(--fog);
    padding: 20px
}

.operation-body p {
    font-size: .82rem;
    margin-bottom: 12px
}

.operation-body code {
    overflow-wrap: anywhere
}

.operation-body .code-block {
    background: var(--paper);
    margin-bottom: 0
}

.empty-search {
    padding: 30px 20px;
    background: var(--fog);
    border-radius: 8px
}

.empty-search p {
    margin: 0
}

.catalog-guide {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 28px
}

.not-found {
    padding-block: 100px;
    min-height: 65vh
}

@media(min-width:1500px) {
    .hero {
        padding-block: 110px 120px
    }

}

@media(max-width:950px) {
    .hero {
        gap: 35px
    }

    .install-grid {
        gap: 40px
    }

    .docs-layout {
        gap: 35px;
        grid-template-columns: 185px minmax(0, 1fr)
    }

    .hero h1 {
        font-size: clamp(2.6rem, 5.4vw, 3.4rem)
    }

    .preview-note {
        gap: 12px 35px
    }
}

@media(max-width:700px) {
    :root {
        font-size: 16px
    }

    .wrap {
        width: calc(100% - 36px)
    }

    .site-header {
        padding-block: 10px 0
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        gap: 4px;
        width: calc(100% - 24px);
        padding: 12px;
        border-radius: 26px
    }

    .header-controls {
        display: contents
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: stretch;
        flex-direction: column;
        gap: 0
    }

    .site-nav a {
        font-size: .94rem;
        padding: 11px 16px;
        border-radius: 12px
    }

    .header-inner.menu-open .site-nav {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--line);
        max-height: calc(100svh - 104px);
        overflow-y: auto;
        overscroll-behavior: contain
    }

    .brand {
        min-width: 0;
        font-size: 1.15rem;
        gap: 8px
    }

    .theme-toggle {
        grid-column: 3;
        grid-row: 1
    }

    .menu-toggle {
        display: grid;
        grid-column: 4;
        grid-row: 1
    }

    html {
        scroll-padding-top: 155px
    }

    .hero {
        width: min(480px, calc(100% - 40px));
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 32px 44px
    }

    .hero h1 {
        font-size: clamp(2.5rem, 13vw, 3.75rem);
        line-height: 1.06;
        letter-spacing: -.045em;
        margin: 0
    }

    .hero .lead {
        max-width: 34ch;
        font-size: 1.0625rem;
        margin: 18px 0 0
    }

    .hero .actions {
        gap: 24px;
        margin: 22px 0 14px
    }

    .hero .actions .text-link {
        display: inline-flex;
        align-items: center;
        min-height: 48px
    }

    .hero-copy > .small {
        margin: 0
    }

    .hero .agent-setup {
        padding: 20px;
        border-radius: 16px
    }

    .hero .agent-setup h2 {
        font-size: 1.25rem;
        margin-bottom: 8px
    }

    .hero .agent-setup > p.muted:not(.setup-note) {
        margin: 0;
        line-height: 1.5
    }

    .hero .setup-command {
        margin: 16px 0 4px
    }

    .hero .prompt-details summary {
        min-height: 44px;
        padding-block: 12px
    }

    .hero .setup-note {
        margin-top: 8px;
        line-height: 1.5
    }

    .example-workspace {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 50px 56px
    }

    .lead {
        font-size: 1.15rem
    }

    .sample {
        margin-right: 6px
    }

    .example-panel {
        min-height: 340px
    }

    .install-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .install-band {
        padding-block: 42px
    }

    .install-band h2 {
        font-size: 2rem
    }

    .install-commands {
        min-width: 0
    }

    .boundary {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px
    }

    .preview-note {
        display: block;
        padding-block: 42px 50px
    }

    .preview-note h2 {
        margin-bottom: 18px
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px
    }

    .docs-layout {
        display: block;
        padding-block: 26px 55px
    }

    .docs-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        margin-bottom: 30px;
        border-bottom: 1px solid var(--line);
        padding-bottom: 18px
    }

    .docs-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0 5px
    }

    .docs-sidebar a {
        font-size: .76rem;
        padding: 7px 9px
    }

    .docs-sidebar p {
        font-size: .8rem
    }

    .prose h1 {
        font-size: 2.35rem;
        margin-bottom: 27px
    }

    .prose h2 {
        font-size: 1.5rem
    }

    .prose table {
        display: block;
        overflow-x: auto
    }

    .catalog-intro {
        padding-top: 35px
    }

    .catalog-intro h1 {
        font-size: 2.4rem
    }

    .catalog-controls {
        display: block
    }

    .catalog-count {
        padding-top: 10px;
        margin: 0
    }

    .operation summary {
        padding: 15px
    }

    .operation-body {
        padding: 15px
    }

    .example-tabs button {
        min-width: 0
    }

    .not-found {
        padding-block: 60px
    }
}

@media(prefers-reduced-motion:no-preference) {
    .menu-toggle path { transition: transform 160ms ease; }

    a {
        transition: text-underline-offset .15s
    }

    .hero .agent-setup {
        animation: sample-arrive .5s ease-out both
    }

    .hero-ink {
        animation: pencil-ink 3.8s linear both
    }

    .hero-pencil {
        animation: pencil-write 3.8s linear both
    }

    @keyframes pencil-ink {
        0%, 10% { stroke-dashoffset: 100 }
        86%, 100% { stroke-dashoffset: 0 }
    }

    @keyframes pencil-write {
        0% { opacity: 0; transform: translate(10px, 44px) rotate(-46deg) }
        10% { opacity: 1; transform: translate(10px, 51px) rotate(-44deg) }
        35% { transform: translate(96px, 47px) rotate(-41deg) }
        65% { transform: translate(198px, 46px) rotate(-44deg) }
        86% { opacity: 1; transform: translate(270px, 49px) rotate(-40deg) }
        100% { opacity: 0; transform: translate(282px, 58px) rotate(-24deg) }
    }

    @keyframes sample-arrive {
        from { opacity: 0; transform: translateY(7px) }
        to { opacity: 1; transform: translateY(0) }
    }
}

@media print {
    :root[data-theme], :root:not([data-theme]) {
        color-scheme: light;
        --paper: #fff;
        --fog: #f2f5f9;
        --ink: #172c41;
        --muted: #526578;
        --blue: #2155cd;
        --line: #d4dfe9;
    }

    .site-header,
    .site-footer,
    .docs-sidebar,
    .copy-button,
    .icon-copy,
    .hero-annotation,
    #copy-status {
        display: none !important
    }

    .docs-layout {
        display: block
    }

    .prose {
        max-width: none
    }

    body {
        font-size: 11pt
    }

    a {
        color: inherit
    }
}
