:root {
  color-scheme: light;
  --background: #f5f6f7;
  --surface: #ffffff;
  --surface-soft: #f7f8f9;
  --text: #23292f;
  --muted: #626d78;
  --faint: #626d78;
  --border: #e2e6e9;
  --accent: #0369a1;
  --accent-soft: #e0f2fe;
  --accent-border: #bae6fd;
  --info-soft: #f1f5f8;
  --info-border: #dce4eb;
  --ad-surface: #f0f2f3;
  --reader-shadow: 0 3px 12px rgb(24 35 48 / 3%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #15191d;
  --surface: #1c2126;
  --surface-soft: #22282e;
  --text: #e3e8ed;
  --muted: #a2adb8;
  --faint: #929da8;
  --border: #303840;
  --accent: #38bdf8;
  --accent-soft: #102f43;
  --accent-border: #225778;
  --info-soft: #222e38;
  --info-border: #354451;
  --ad-surface: #1b2025;
  --reader-shadow: 0 3px 12px rgb(0 0 0 / 8%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --background: #15191d;
    --surface: #1c2126;
    --surface-soft: #22282e;
    --text: #e3e8ed;
    --muted: #a2adb8;
    --faint: #929da8;
    --border: #303840;
    --accent: #38bdf8;
    --accent-soft: #102f43;
    --accent-border: #225778;
    --info-soft: #222e38;
    --info-border: #354451;
    --ad-surface: #1b2025;
    --reader-shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 14px; line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
button, select, input { font: inherit; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; }
button, a, summary, select, [tabindex] { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); }
button:disabled { cursor: default; }
::selection { background: var(--accent-border); color: var(--text); }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--accent); color: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--border); }
.top-navigation { max-width: 1440px; height: 76px; margin: auto; padding: 0 32px; display: flex; gap: 16px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 23px; letter-spacing: -.8px; line-height: 1.1; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 100%; height: 100%; }
.brand-generation { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.preview-badge { margin-left: 4px; padding: 3px 7px; border: 1px solid var(--border); border-radius: 5px; color: var(--muted); font-size: 10px; font-weight: 600; }
.search-placeholder { width: min(380px, 35vw); height: 39px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); color: var(--muted); text-align: left; font-size: 12px; }
.search-placeholder:hover { border-color: var(--faint); }
.search-placeholder .icon { width: 17px; height: 17px; }
.soon-label { margin-left: auto; padding-left: 10px; font-size: 10px; color: var(--faint); }
.public-search-form { padding-left: 7px; }
.public-search-form input[type="search"] { flex: 1; min-width: 0; width: 100%; border: 0; color: var(--text); background: transparent; font-size: 12px; }
.public-search-form input::placeholder { color: var(--muted); }
.public-search-form button { display: grid; place-items: center; flex: 0 0 auto; border: 0; background: none; color: var(--muted); width: 26px; height: 28px; padding: 0; border-radius: 4px; }
.header-actions .public-search-mobile { display: none; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--surface-soft); color: var(--text); }
.account-button { height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); font-size: 12px; font-weight: 600; }
.account-button .icon { width: 16px; height: 16px; }
.account-button:hover { background: var(--surface-soft); }
.account-button { text-decoration: none; }
.account-navigation { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.account-navigation > a { font-size: 12px; color: var(--muted); text-decoration: none; }
.account-navigation form { margin: 0; }
.account-shell { max-width: 1000px; margin: 0 auto; padding: 48px 24px 64px; }
.sign-in-panel { max-width: 530px; margin: 35px auto; padding: 38px; }
.sign-in-panel > p:not(.document-description) { line-height: 1.8; }
.sign-in-panel h1 { font-size: 34px; }
.sign-in-button { margin-top: 16px; min-height: 42px; justify-content: center; width: 100%; }
.sign-in-button:disabled { opacity: .65; }
.configuration-notice { margin-top: 24px; padding: 12px; border-radius: 7px; background: var(--info-soft); font-size: 13px; }
.account-fine-print { font-size: 12px; color: var(--muted); line-height: 1.8; }
.account-fine-print a, .dashboard-back a { color: var(--accent); text-underline-offset: 3px; }
.dashboard-heading { margin-bottom: 30px; }
.dashboard-panel { padding: 30px; }
.dashboard-panel h2 { margin: 0 0 18px; font-size: 20px; }
.empty-projects { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty-projects > .icon { width: 35px; height: 35px; color: var(--accent); }
.empty-projects h3 { color: var(--text); font-size: 20px; }
.empty-projects p { max-width: 48ch; margin: 0 auto; line-height: 1.8; }
.dashboard-projects { list-style: none; padding: 0; margin: 0; }
.dashboard-projects li + li { border-top: 1px solid var(--border); }
.dashboard-projects a { display: flex; align-items: center; gap: 14px; padding: 18px 0; text-decoration: none; }
.dashboard-projects a > span:first-child { flex: 1; min-width: 0; }
.dashboard-projects strong { display: block; margin-bottom: 4px; }
.dashboard-projects a > span:first-child > span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.permission-badge { padding: 3px 8px; border-radius: 4px; color: var(--accent); background: var(--accent-soft); font-size: 11px; }
.dashboard-back a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 12px; }
.dashboard-panel + .dashboard-panel { margin-top: 24px; }
.development-banner { padding: 12px 16px; margin-bottom: 24px; border: 1px solid var(--accent-border); border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 12px; }
.editor-form { display: grid; gap: 17px; }
.editor-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; display: grid; gap: 17px; }
.editor-form label { display: grid; gap: 7px; font-weight: 600; font-size: 12px; }
.editor-form input:not([type="checkbox"]), .editor-form select, .editor-form textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-soft); color: var(--text); font: inherit; font-weight: 400; }
.editor-form textarea { resize: vertical; line-height: 1.7; }
.editor-form textarea[name="markdown"] { font-family: ui-monospace, Consolas, monospace; font-size: 13px; tab-size: 2; min-height: 340px; }
.editor-form .checkbox-label, .checkbox-label { display: flex; gap: 9px; align-items: center; font-weight: 400; font-size: 12px; }
.editor-form input[type="checkbox"], input[type="checkbox"] { width: 17px; height: 17px; }
.editor-form > button { justify-self: start; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-actions form { margin: 0; }
.primary-button { text-decoration: none; }
.secondary-button { padding: 10px 14px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-soft); color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.danger-form { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 20px; display: grid; justify-items: start; gap: 12px; }
.danger-form p { color: var(--muted); font-size: 12px; margin: 0; }
.management-details { border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin: 12px 0; }
.management-details summary { font-weight: 600; }
.management-details .editor-form { margin-top: 20px; }
.compact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.document-category { display: block; color: var(--muted); margin-top: 3px; }
.form-error { padding: 15px; border: 1px solid var(--accent-border); background: var(--info-soft); border-radius: 6px; }
@media (max-width: 639px) { .compact-form { grid-template-columns: 1fr; } .dashboard-panel { padding: 24px 18px; } }
.menu-toggle, .theme-toggle { display: none; }
.js .theme-toggle { display: inline-flex; }
.sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: inline-block; }
.docs-layout { max-width: 1440px; display: grid; grid-template-columns: 224px minmax(0, 1fr) 176px; gap: 30px; margin: auto; padding: 32px 32px 48px; align-items: start; }
.desktop-navigation { position: sticky; top: 108px; min-width: 0; padding-top: 1px; }
.project-switcher { position: relative; }
.project-switcher > summary { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); list-style: none; }
summary::-webkit-details-marker { display: none; }
.project-switcher > summary > .icon { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.project-avatar { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; font-size: 16px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.project-avatar.beacon { background: var(--info-soft); color: var(--muted); }
.project-label { display: flex; flex-direction: column; gap: 2px; }
.project-label strong { font-size: 13px; font-weight: 650; }
.project-label > span { font-size: 10px; color: var(--muted); }
.project-options { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5; padding: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 6px 16px rgb(0 0 0 / 8%); }
.project-options > p { margin: 4px 8px 9px; color: var(--muted); font-size: 11px; }
.project-options a { display: flex; gap: 9px; align-items: center; padding: 7px; border-radius: 5px; text-decoration: none; font-size: 12px; }
.project-options a:hover, .project-options a[aria-current] { background: var(--surface-soft); }
.public-project-owner { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); }
.project-options a > .icon { margin-left: auto; width: 15px; height: 15px; }
.project-options .project-avatar { width: 25px; height: 25px; font-size: 12px; }
.version-form { margin-top: 22px; }
.version-form label { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin: 0 0 7px 2px; }
.version-control { position: relative; display: flex; align-items: center; }
.version-control > .icon { position: absolute; left: 11px; pointer-events: none; width: 15px; height: 15px; color: var(--muted); }
.version-control > .icon:last-child { left: auto; right: 11px; width: 14px; height: 14px; }
.version-control select { appearance: none; width: 100%; min-height: 36px; padding: 7px 30px 7px 34px; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; color: var(--text); font-size: 12px; cursor: pointer; }
.version-apply { margin-top: 8px; }
.js .version-apply { display: none; }
.document-navigation { margin-top: 28px; }
.nav-group { margin-bottom: 25px; }
.nav-group h2 { font-size: 10px; font-weight: 650; color: var(--muted); letter-spacing: 1.1px; text-transform: uppercase; margin: 0 0 9px 12px; }
.nav-group ul { margin: 0; padding: 0; list-style: none; }
.nav-group li + li { margin-top: 3px; }
.nav-group a { position: relative; display: block; border-radius: 6px; padding: 9px 12px; color: var(--muted); text-decoration: none; font-size: 12px; }
.nav-group a:hover { background: var(--surface); color: var(--text); }
.nav-group a[aria-current] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nav-group a[aria-current]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--accent); }
.sidebar-note { display: flex; gap: 10px; margin: 36px 5px 0; padding: 19px 5px 0; border-top: 1px solid var(--border); color: var(--muted); }
.sidebar-note > .icon { margin-top: 3px; width: 16px; height: 16px; }
.sidebar-note p { margin: 0; font-size: 11px; line-height: 1.8; }
.sidebar-note span { font-size: 10px; color: var(--faint); }
.content-column { min-width: 0; width: 100%; max-width: 820px; justify-self: center; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 22px; margin: 2px 0 18px 3px; color: var(--muted); font-size: 10px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs > .icon { width: 11px; height: 11px; color: var(--faint); }
.breadcrumbs > span { color: var(--text); }
main { min-width: 0; }
main:focus { outline: none; }
.reader { min-width: 0; padding: 42px 46px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--reader-shadow); overflow-wrap: anywhere; }
.document-header { padding-bottom: 27px; border-bottom: 1px solid var(--border); }
.document-eyebrow { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.document-eyebrow .icon { width: 14px; height: 14px; }
h1 { margin: 14px 0 14px; font-size: clamp(30px, 3vw, 39px); line-height: 1.2; font-weight: 720; letter-spacing: -1.3px; }
.document-description { margin: 0; max-width: 55ch; color: var(--muted); font-size: 16px; line-height: 1.7; }
.document-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 10px; }
.document-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.document-meta .icon { width: 12px; height: 12px; }
.version-badge { padding: 3px 7px; color: var(--accent); background: var(--accent-soft); border-radius: 4px; font-weight: 500; }
.version-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 2px; }
.meta-divider { color: var(--faint); }
.document-body { max-width: 68ch; font-size: 16px; line-height: 1.85; }
.document-body > p:first-child { margin-top: 27px; }
.document-body p { margin: 16px 0; }
.document-body h2 { margin: 34px 0 12px; font-size: 23px; line-height: 1.4; font-weight: 650; letter-spacing: -.6px; }
.document-body h3 { margin: 26px 0 10px; font-size: 18px; line-height: 1.45; font-weight: 650; letter-spacing: -.3px; }
.document-body a, .version-notice a { color: var(--accent); text-decoration-color: var(--accent-border); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.document-body a:hover, .version-notice a:hover { text-decoration-color: currentColor; }
.document-body .heading-anchor { margin-left: 9px; padding: 2px; color: var(--faint); text-decoration: none; font-size: 15px; opacity: 0; }
.document-body h2:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.document-body ul, .document-body ol { margin: 16px 0; padding-left: 23px; }
.document-body li { padding-left: 4px; margin: 8px 0; }
.document-body li::marker { color: var(--faint); }
.document-body strong { font-weight: 650; }
code, pre { font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: .86em; }
:not(pre) > code { padding: 2px 5px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 4px; overflow-wrap: anywhere; }
.code-block { margin: 20px 0; border: 1px solid #343e47; border-radius: 9px; overflow: hidden; background: #202930; color: #e3eaf0; }
.code-toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 39px; padding: 0 13px; background: #273139; border-bottom: 1px solid #39434c; color: #c0ccd5; font-size: 10px; line-height: 1.3; }
.code-toolbar > span { display: inline-flex; align-items: center; gap: 7px; }
.code-toolbar .icon { width: 13px; height: 13px; }
.copy-button { min-height: 30px; padding: 4px 6px; display: inline-flex; align-items: center; gap: 5px; color: #c0ccd5; border: 0; border-radius: 4px; background: none; font-size: 10px; }
.copy-button:hover { color: #fff; background: #35424b; }
.code-block pre { overflow: auto; padding: 18px 20px; margin: 0; line-height: 1.9; font-size: 12px; tab-size: 2; }
.code-block pre:focus-visible { outline-offset: -4px; }
.code-block :focus-visible { outline-color: #7dd3fc; }
.code-block code { font-size: inherit; color: #bae6fd; }
.callout { display: flex; gap: 12px; padding: 16px 17px; margin: 24px 0; border: 1px solid var(--accent-border); border-radius: 8px; background: var(--accent-soft); }
.callout > .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--accent); }
.callout p { margin: 4px 0 0; font-size: 12px; line-height: 1.8; }
.callout p.callout-title { margin: 0; font-weight: 650; font-size: 12px; }
.callout.info { background: var(--info-soft); border-color: var(--info-border); }
.callout.info > .icon { color: var(--muted); }
.document-body blockquote { margin: 25px 0; padding: 1px 0 1px 18px; color: var(--muted); border-left: 3px solid var(--accent-border); font-style: italic; }
.table-scroll { width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { text-align: left; padding: 11px 12px; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--surface-soft); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }
.document-footer { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); }
.document-footer p { margin: 0; color: var(--faint); font-size: 10px; line-height: 1.8; }
.version-notice { margin-top: 24px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--info-border); background: var(--info-soft); border-radius: 7px; font-size: 12px; }
.version-notice p { margin: 0; }
.version-notice .icon { width: 16px; height: 16px; margin-top: 2px; }
.page-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.page-navigation a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); text-decoration: none; }
.page-navigation a:hover { border-color: var(--accent-border); }
.page-navigation .icon { width: 17px; height: 17px; color: var(--muted); }
.page-navigation .next-page { justify-content: flex-end; text-align: right; }
.page-navigation small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-bottom: 3px; }
.page-navigation strong { color: var(--accent); font-size: 12px; font-weight: 550; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; margin: 26px 3px 0; color: var(--faint); font-size: 10px; }
.site-footer > span:first-child { color: var(--muted); }
.site-footer > span > span { padding: 0 4px; color: var(--border); }
.advertising { position: sticky; top: 108px; padding-top: 3px; }
.ad-label { color: var(--faint); font-size: 9px; font-weight: 500; text-align: center; text-transform: uppercase; letter-spacing: 1.3px; margin: 3px 0 12px; }
.ad-space { min-height: 250px; padding: 20px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed var(--border); border-radius: 9px; background: var(--ad-surface); text-align: center; color: var(--faint); }
.ad-space > .icon { width: 28px; height: 28px; margin-bottom: 7px; stroke-width: 1; }
.ad-space strong { font-size: 11px; font-weight: 500; }
.ad-space span { font-size: 9px; }
dialog { color: var(--text); background: var(--surface); border: 1px solid var(--border); }
dialog::backdrop { background: rgb(9 18 14 / 40%); }
dialog form { margin: 0; }
.placeholder-dialog { width: min(440px, calc(100% - 32px)); padding: 28px; border-radius: 14px; box-shadow: 0 16px 50px rgb(0 0 0 / 14%); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dialog-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--accent); background: var(--accent-soft); border-radius: 11px; }
.placeholder-dialog h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.6px; line-height: 1.25; }
.placeholder-dialog p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.primary-button { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--accent); color: var(--surface); border: none; border-radius: 7px; font-size: 12px; font-weight: 600; }
.primary-button .icon { width: 16px; height: 16px; }
.mobile-navigation { width: min(330px, calc(100% - 32px)); max-height: 100dvh; height: 100dvh; margin: 0; padding: 20px; border-radius: 0 14px 14px 0; border-left: 0; border-top: 0; border-bottom: 0; overflow-y: auto; }
.mobile-navigation-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.mobile-navigation-header h2 { margin: 0; font-size: 14px; font-weight: 600; }
.mobile-navigation .sidebar-note { margin-top: 26px; }
.no-script-navigation { display: none; }

@media (min-width: 1600px) {
  .docs-layout { gap: 38px; }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .docs-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; }
  .advertising { position: static; grid-column: 2; padding-top: 0; }
  .ad-space { min-height: 120px; }
}

@media (max-width: 999px) {
  .top-navigation { padding: 0 24px; gap: 12px; height: 68px; }
  .preview-badge { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .search-placeholder { width: min(330px, 35vw); }
  .header-actions { gap: 8px; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); max-width: 850px; padding: 26px 24px 35px; gap: 24px; }
  .desktop-navigation { display: none; }
  .advertising { position: static; width: 100%; max-width: 820px; justify-self: center; }
  .ad-space { min-height: 135px; }
  .reader { padding: 40px 44px 26px; }
  .no-script-navigation { display: block; position: absolute; top: 80px; left: 15px; z-index: 20; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; width: min(300px, calc(100% - 30px)); }
}

@media (max-width: 639px) {
  .public-search-form { display: none; }
  .header-actions .public-search-mobile { display: inline-flex; }
  .public-search-form + .header-actions { margin-left: auto; }
  .account-shell { padding: 30px 16px; }
  .sign-in-panel { padding: 26px 20px; margin: 10px auto; border: 1px solid var(--border); border-radius: 12px; }
  .account-navigation { gap: 9px; }
  .account-navigation > a { max-width: 80px; font-size: 10px; }
  .account-navigation .account-button { width: auto; padding: 0 7px; font-size: 11px; }
  html { scroll-padding-top: 80px; }
  .top-navigation { padding: 0 12px; height: 64px; gap: 8px; }
  .brand { gap: 7px; font-size: 20px; letter-spacing: -.7px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-generation { font-size: 8px; letter-spacing: 1.4px; margin-top: 4px; }
  .icon-button { width: 34px; height: 38px; }
  .search-placeholder { width: 34px; height: 38px; padding: 0; justify-content: center; border: none; background: transparent; margin: 0 0 0 auto; }
  .search-placeholder > span { display: none; }
  .search-placeholder .icon { width: 19px; height: 19px; }
  .header-actions { gap: 2px; }
  .account-button { padding: 0; width: 34px; height: 38px; justify-content: center; border: 0; background: transparent; }
  .account-button > span { display: none; }
  .account-button .icon { width: 18px; height: 18px; }
  .docs-layout { display: block; padding: 0 0 26px; }
  .breadcrumbs { margin: 0; padding: 15px 20px; min-height: 49px; border-bottom: 1px solid var(--border); font-size: 10px; gap: 6px; }
  .reader { width: 100%; padding: 29px 22px 24px; border: none; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
  h1 { margin-top: 13px; font-size: 34px; }
  .document-description { font-size: 15px; }
  .document-header { padding-bottom: 23px; }
  .document-meta { gap: 8px; font-size: 9px; }
  .document-body { font-size: 16px; line-height: 1.85; }
  .document-body h2 { font-size: 22px; margin-top: 30px; }
  .document-body h3 { font-size: 18px; }
  .document-body .heading-anchor { opacity: 1; font-size: 14px; }
  .callout { padding: 14px; gap: 10px; }
  .code-block pre { padding: 16px; font-size: 12px; }
  .code-toolbar { padding: 0 11px; }
  .page-navigation { margin: 18px 20px 0; gap: 10px; }
  .page-navigation a { padding: 13px 12px; gap: 8px; }
  .page-navigation strong { font-size: 11px; }
  .page-navigation .icon { width: 14px; height: 14px; }
  .site-footer { margin: 24px 22px 0; flex-wrap: wrap; font-size: 9px; gap: 8px; }
  .advertising { padding: 28px 20px 0; }
  .ad-space { min-height: 135px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media print {
  :root { color-scheme: light; --text: #000; --surface: #fff; --muted: #444; --border: #ccc; }
  body { background: #fff; }
  .site-header, .desktop-navigation, .advertising, .breadcrumbs, .page-navigation, .site-footer, .copy-button, .heading-anchor, dialog { display: none !important; }
  .docs-layout { display: block; padding: 0; }
  .content-column { max-width: none; }
  .reader { border: none; border-radius: 0; padding: 0; box-shadow: none; }
  .code-block { break-inside: avoid; }
}

.public-file-tree ul { list-style: none; padding: 0; margin: 0; }
.public-file-tree ul ul { margin: 4px 0 10px 9px; padding-left: 11px; border-left: 1px solid var(--border); }
.public-file-tree summary { color: var(--muted); font-size: 11px; font-weight: 600; padding: 10px 4px; }
.public-file-tree summary .icon { width: 14px; height: 14px; margin-right: 3px; }
