:root {
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-head: "Urbanist", var(--font-body);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --base: 25 100% 50%;
    --base-ink: 22 100% 38%;
    --heading: 230 55% 10%;
    --text: 220 20% 24%;
    --muted: 220 9% 46%;
    --line: 220 14% 91%;
    --line-soft: 220 14% 95%;
    --soft: 220 20% 98.4%;
    --hover: 220 16% 95.5%;
    --info: 217 91% 53%;
    --warn: 32 95% 48%;
    --white: 0 0% 100%;
    --top-h: 64px;
    --side-w: 280px;
    --toc-w: 220px;
    --measure: 720px;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 2px hsl(var(--heading) / 0.05);
    --shadow: 0 1px 2px hsl(var(--heading) / 0.04), 0 12px 32px -16px hsl(var(--heading) / 0.22);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ico-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
    --ico-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.7 4.2 2.9 17.5a1.5 1.5 0 0 0 1.3 2.3h15.6a1.5 1.5 0 0 0 1.3-2.3L13.3 4.2a1.5 1.5 0 0 0-2.6 0Z'/%3E%3Cpath d='M12 9.5v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
    --ico-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 28px); }
body { margin: 0; font: 400 16px/1.75 var(--font-body); color: hsl(var(--text)); background: hsl(var(--white)); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: hsl(var(--base) / 0.18); }
img { display: block; max-width: 100%; height: auto; }
a { color: hsl(var(--base-ink)); text-decoration: underline; text-decoration-color: hsl(var(--base-ink) / 0.28); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s, text-decoration-color 0.15s, background-color 0.15s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid hsl(var(--base)); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.01em; color: hsl(var(--heading)); text-wrap: balance; }
.icon-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.skip { position: absolute; top: -60px; left: 16px; z-index: 100; padding: 8px 14px; border-radius: var(--radius); background: hsl(var(--heading)); color: hsl(var(--white)); }
.skip:focus { top: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; background: hsl(var(--base)); color: hsl(var(--white)); font: 600 15px/1 var(--font-head); text-decoration: none; cursor: pointer; box-shadow: 0 1px 0 hsl(var(--white) / 0.25) inset, 0 6px 14px -6px hsl(var(--base) / 0.55); }
.btn:hover { background: hsl(25 100% 45%); transform: translateY(-1px); }
.btn--ghost { background: hsl(var(--white)); border-color: hsl(var(--line)); color: hsl(var(--heading)); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: hsl(var(--soft)); border-color: hsl(220 14% 84%); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius); background: none; color: hsl(var(--heading)); font-size: 20px; cursor: pointer; }
.icon-btn:hover { background: hsl(var(--hover)); }

/* header */
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); border-bottom: 1px solid hsl(var(--line)); background: hsl(var(--white) / 0.82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.top__in { display: flex; align-items: center; gap: 12px; max-width: 1480px; height: 100%; margin: 0 auto; padding: 0 28px; }
.progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, hsl(33 100% 55%), hsl(var(--base))); transform: scaleX(var(--read, 0)); transform-origin: left; pointer-events: none; }
.brand { display: flex; align-items: baseline; gap: 14px; flex-shrink: 0; color: hsl(var(--heading)); font: 600 15px var(--font-head); text-decoration: none; }
.brand img { width: auto; height: 24px; }
.brand__sep { align-self: center; width: 1px; height: 22px; background: hsl(var(--line)); }
.brand__label { position: relative; top: -1px; color: hsl(var(--heading)); font: 600 19px/1 var(--font-head); letter-spacing: -0.01em; }
.top__nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.top__nav a:not(.btn) { color: hsl(var(--muted)); font-size: 14px; font-weight: 500; text-decoration: none; }
.top__nav a:not(.btn):hover { color: hsl(var(--heading)); }
.top__nav .top__cta { gap: 12px; height: 38px; padding: 0 5px 0 16px; border: 0; font-size: 14px; letter-spacing: 0; box-shadow: 0 1px 2px hsl(var(--heading) / 0.08), 0 4px 12px -4px hsl(var(--base) / 0.55); transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s; }
.top__nav .top__cta:hover { background: hsl(22 100% 46%); box-shadow: 0 1px 2px hsl(var(--heading) / 0.1), 0 8px 18px -6px hsl(var(--base) / 0.65); transform: none; }
.top__nav .top__cta:active { transform: scale(0.98); }
.top__cta-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--white)); color: hsl(var(--base)); overflow: hidden; }
.top__cta-icon .icon-svg { font-size: 15px; }
.top__cta:hover .top__cta-icon .icon-svg { animation: cta-arrow 0.45s var(--ease); }
@keyframes cta-arrow { 45% { transform: translateX(130%); } 46% { transform: translateX(-130%); } 100% { transform: translateX(0); } }
.top__menu, .side__close { display: none; }

/* sidebar */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); max-width: 1480px; margin: 0 auto; }
.side { position: sticky; top: var(--top-h); display: flex; flex-direction: column; height: calc(100vh - var(--top-h)); background: hsl(var(--soft)); box-shadow: inset -1px 0 hsl(var(--line-soft)); }
.side__scroll { flex: 1; min-height: 0; padding: 4px 18px 56px; border-top: 1px solid transparent; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: transparent transparent; transition: border-color 0.2s; }
.side__scroll:hover { scrollbar-color: hsl(var(--line)) transparent; }
.side.is-scrolled .side__scroll { border-top-color: hsl(var(--line)); }
.search { position: relative; flex-shrink: 0; margin: 24px 18px 12px; color: hsl(var(--muted)); }
.search .icon-svg { position: absolute; top: 50%; left: 13px; transform: translateY(-50%); font-size: 15px; pointer-events: none; }
.search input { width: 100%; height: 40px; padding: 0 38px; border: 1px solid hsl(var(--line)); border-radius: var(--radius); background: hsl(var(--white)); box-shadow: var(--shadow-sm); color: hsl(var(--heading)); font: 400 14px var(--font-body); transition: border-color 0.15s, box-shadow 0.15s; }
.search input::placeholder { color: hsl(var(--muted)); }
.search input:focus { outline: none; border-color: hsl(var(--base) / 0.7); box-shadow: 0 0 0 4px hsl(var(--base) / 0.13); }
.search kbd { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); padding: 0 7px; border: 1px solid hsl(var(--line)); border-bottom-width: 2px; border-radius: 4px; background: hsl(var(--soft)); font: 500 11px/17px var(--font-body); }
.side__group + .side__group { margin-top: 6px; }
.side__title { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 8px 10px; border: 0; border-radius: var(--radius); background: none; color: hsl(var(--heading)); font: 600 13.5px var(--font-head); text-align: left; cursor: pointer; transition: background-color 0.15s; }
.side__title:hover { background: hsl(var(--hover)); }
.side__title span { flex: 1; }
.side__title .icon-svg { color: hsl(var(--muted)); font-size: 16px; transition: color 0.15s, transform 0.25s var(--ease); }
.side__group:has([aria-current]) .side__title .icon-svg:first-child { color: hsl(var(--base)); }
.side__title .side__chevron { font-size: 14px; opacity: 0.7; }
.side__title[aria-expanded="false"] .side__chevron { transform: rotate(-90deg); }
.side__title[aria-expanded="false"] + ul { display: none; }
.side nav ul { margin: 2px 0 6px 18px; padding: 0; border-left: 1px solid hsl(var(--line)); list-style: none; }
.side nav a { position: relative; display: block; margin-left: -1px; padding: 6px 10px 6px 16px; border-left: 2px solid transparent; border-radius: 0 var(--radius) var(--radius) 0; color: hsl(var(--text)); font-size: 14px; line-height: 1.45; text-decoration: none; transition: color 0.15s, border-color 0.15s, background-color 0.15s; }
.side nav a:hover { border-left-color: hsl(220 12% 70%); color: hsl(var(--heading)); }
.side nav a[aria-current] { color: hsl(var(--base-ink)); font-weight: 600; }
.side nav a[aria-current]::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: -2px; width: 3px; border-radius: 3px; background: hsl(var(--base)); }
.side nav a[aria-current]:hover { border-left-color: transparent; }
.results { margin: 10px 0 0; padding: 0; list-style: none; }
.results a { display: block; padding: 8px 12px; border-radius: var(--radius); color: hsl(var(--heading)); font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.results a:hover, .results a.is-active { background: hsl(var(--white)); box-shadow: var(--shadow-sm), 0 0 0 1px hsl(var(--line-soft)); }
.results mark { background: none; color: hsl(var(--base-ink)); font-weight: 600; }
.results span { display: block; margin-top: 2px; color: hsl(var(--muted)); font-size: 12px; font-weight: 400; }
.side__empty { margin: 16px 12px; color: hsl(var(--muted)); font-size: 14px; }
.scrim { display: none; }

/* content */
.doc { display: grid; grid-template-columns: minmax(0, var(--measure)) var(--toc-w); justify-content: center; gap: 72px; padding: 48px 56px 112px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; color: hsl(var(--muted)); font-size: 13px; font-weight: 500; }
.crumbs li + li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; background: currentColor; opacity: 0.45; -webkit-mask: var(--ico-chevron) center / contain no-repeat; mask: var(--ico-chevron) center / contain no-repeat; }
.article .crumbs ol { padding: 0; }
.article .crumbs li { margin: 0; padding: 0; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: hsl(var(--heading)); }
.crumbs li:last-child { color: hsl(var(--heading)); }
.article h1 { font-size: clamp(32px, 4.2vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.article .lead { margin: 16px 0 0; color: hsl(var(--muted)); font-size: 19px; line-height: 1.6; text-wrap: pretty; }
.article .lead + p:has(> strong:first-child) { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid hsl(var(--line-soft)); color: hsl(var(--muted)); font-size: 14px; }
.article p { margin: 0 0 16px; text-wrap: pretty; }
.article strong { color: hsl(var(--heading)); font-weight: 600; }
.article section { margin-top: 56px; padding-top: 48px; border-top: 1px solid hsl(var(--line-soft)); }
.article h2 { position: relative; margin-bottom: 18px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.article h2 a { color: inherit; text-decoration: none; }
.article h2 a::before { content: "#"; position: absolute; left: -0.9em; color: hsl(var(--base)); opacity: 0; transition: opacity 0.15s; }
.article h2 a:hover::before, .article h2 a:focus-visible::before { opacity: 1; }
.article h2 a.is-copied::after { content: "Link copied"; margin-left: 12px; padding: 3px 9px; border-radius: 999px; background: hsl(var(--heading)); color: hsl(var(--white)); font: 500 12px/1.4 var(--font-body); letter-spacing: 0; vertical-align: 5px; }
.article h3 { margin: 32px 0 8px; font-size: 19px; font-weight: 700; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { margin: 7px 0; padding-left: 2px; }
.article li::marker { color: hsl(var(--base) / 0.75); }
.article li > p, .article dd > p { margin-bottom: 8px; }
.article code { padding: 2px 6px; border: 1px solid hsl(var(--line-soft)); border-radius: 6px; background: hsl(var(--soft)); color: hsl(var(--heading)); font: 500 0.86em var(--font-mono); }
.article kbd { padding: 1px 6px; border: 1px solid hsl(var(--line)); border-bottom-width: 2px; border-radius: 5px; background: hsl(var(--white)); color: hsl(var(--heading)); font: 500 0.8em var(--font-mono); }
.article .steps { margin: 28px 0 12px; padding: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; margin: 0; padding: 0 0 30px 52px; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid hsl(var(--base) / 0.3); border-radius: 50%; background: hsl(var(--white)); box-shadow: 0 0 0 4px hsl(var(--base) / 0.07); color: hsl(var(--base-ink)); font: 700 14px/1 var(--font-head); }
.steps > li::after { content: ""; position: absolute; top: 42px; bottom: 8px; left: 16px; width: 1px; background: linear-gradient(hsl(var(--base) / 0.3), hsl(var(--line))); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.article .steps > li > h3 { margin: 5px 0 6px; font-size: 17px; }
.steps > li > p:first-child { padding-top: 2px; }
.article dl { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); margin: 12px 0 24px; border-top: 1px solid hsl(var(--line-soft)); }
.article dt, .article dd { margin: 0; padding: 12px 0; border-bottom: 1px solid hsl(var(--line-soft)); }
.article dt { padding-right: 24px; color: hsl(var(--heading)); font-weight: 600; line-height: 1.5; }
.article dd > :last-child { margin-bottom: 0; }
.article dd ul { margin-top: 6px; }
.note { position: relative; margin: 20px 0; padding: 14px 18px 14px 46px; border: 1px solid hsl(var(--info) / 0.18); border-radius: var(--radius-lg); background: hsl(var(--info) / 0.05); font-size: 15px; line-height: 1.65; }
.note::before { content: ""; position: absolute; top: 17px; left: 16px; width: 18px; height: 18px; background: hsl(var(--info)); -webkit-mask: var(--ico-info) center / contain no-repeat; mask: var(--ico-info) center / contain no-repeat; }
.note--warn { border-color: hsl(var(--warn) / 0.28); background: hsl(var(--warn) / 0.07); }
.note--warn::before { background: hsl(var(--warn)); -webkit-mask-image: var(--ico-warn); mask-image: var(--ico-warn); }
.article .note > :last-child { margin-bottom: 0; }
.article .lead + .note { margin-top: 28px; }
.article table { width: 100%; margin: 20px 0 28px; border: 1px solid hsl(var(--line)); border-radius: var(--radius-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 15px; line-height: 1.55; }
.article th, .article td { padding: 12px 16px; border-bottom: 1px solid hsl(var(--line-soft)); text-align: left; vertical-align: top; }
.article tr:last-child td { border-bottom: 0; }
.article th { background: hsl(var(--soft)); border-bottom-color: hsl(var(--line)); color: hsl(var(--heading)); font: 600 13px var(--font-body); }
.article td:first-child { color: hsl(var(--heading)); font-weight: 500; }
.article figure { margin: 20px 0 32px; }
.article figure img { border: 1px solid hsl(var(--line)); border-radius: var(--radius-lg); background: hsl(var(--soft)); box-shadow: var(--shadow); cursor: zoom-in; }
.article figcaption { margin-top: 12px; color: hsl(var(--muted)); font-size: 13px; text-align: center; }
.article #faq h3 { margin: 0; padding: 22px 0 6px; border-top: 1px solid hsl(var(--line-soft)); font-size: 17px; }
.article #faq h2 + h3 { border-top: 0; padding-top: 4px; }
.article #faq h3 + p { color: hsl(var(--text) / 0.92); }

/* home */
.is-home .article > h1 { font-size: clamp(38px, 5.4vw, 58px); letter-spacing: -0.035em; }
.is-home .article > h1::before { content: ""; position: absolute; z-index: -1; top: -140px; left: -120px; width: 560px; height: 360px; background: radial-gradient(closest-side, hsl(var(--base) / 0.12), transparent); pointer-events: none; }
.is-home .article { position: relative; isolation: isolate; }
.article .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 64px; }
.article .guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; margin: 0 0 12px; padding: 0; list-style: none; }
.guides li { margin: 0; padding: 0; border-bottom: 1px solid hsl(var(--line-soft)); }
.guides a { position: relative; display: block; padding: 14px 28px 4px 0; color: hsl(var(--heading)); font: 700 16px var(--font-head); text-decoration: none; }
.guides a::after { content: ""; position: absolute; top: 18px; right: 4px; width: 16px; height: 16px; background: hsl(var(--base)); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.2s var(--ease); -webkit-mask: var(--ico-chevron) center / contain no-repeat; mask: var(--ico-chevron) center / contain no-repeat; }
.guides li:hover a { color: hsl(var(--base-ink)); }
.guides li:hover a::after { opacity: 1; transform: none; }
.guides span { display: block; padding: 0 28px 14px 0; color: hsl(var(--muted)); font-size: 14px; line-height: 1.5; }

/* page footer and pager */
.doc-foot { margin-top: 72px; padding-top: 28px; border-top: 1px solid hsl(var(--line)); }
.article .doc-foot__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; color: hsl(var(--muted)); font-size: 14px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { position: relative; padding: 18px 22px; border: 1px solid hsl(var(--line)); border-radius: var(--radius-lg); color: hsl(var(--heading)); font: 700 16px/1.35 var(--font-head); text-decoration: none; }
.pager a:hover { border-color: hsl(var(--base) / 0.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.pager span { display: block; margin-bottom: 4px; color: hsl(var(--muted)); font: 500 13px var(--font-body); }
.pager a[rel="prev"] { padding-left: 48px; }
.pager a[rel="next"] { grid-column: 2; padding-right: 48px; text-align: right; }
.pager a::before { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: hsl(var(--muted)); transition: background-color 0.2s; -webkit-mask: var(--ico-chevron) center / contain no-repeat; mask: var(--ico-chevron) center / contain no-repeat; }
.pager a[rel="prev"]::before { left: 18px; transform: scaleX(-1); }
.pager a[rel="next"]::before { right: 18px; }
.pager a:hover::before { background: hsl(var(--base)); }

/* on this page */
.toc { position: sticky; top: calc(var(--top-h) + 48px); align-self: start; max-height: calc(100vh - var(--top-h) - 96px); overflow-y: auto; scrollbar-width: none; font-size: 13px; }
.toc p { margin: 0 0 14px; color: hsl(var(--heading)); font: 700 12px var(--font-head); letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.55; }
.toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid hsl(var(--line)); }
.toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: hsl(var(--muted)); line-height: 1.45; text-decoration: none; }
.toc a:hover { color: hsl(var(--heading)); }
.toc a.is-active { border-color: hsl(var(--base)); color: hsl(var(--heading)); font-weight: 600; }

/* site footer */
.foot { background: hsl(var(--heading)); color: hsl(220 16% 70%); font-size: 14px; }
.foot__in { max-width: 1480px; margin: 0 auto; padding: 0 56px; }
.foot p { margin: 0; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: hsl(var(--white)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 0; border-bottom: 1px solid hsl(0 0% 100% / 0.1); }
.foot__logo img { width: auto; height: 22px; }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 0; color: hsl(220 14% 58%); font-size: 13px; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid hsl(var(--line)); border-radius: 50%; background: hsl(var(--white) / 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: hsl(var(--heading)); font-size: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: hsl(var(--base-ink)); }
.zoom { max-width: min(96vw, 1600px); max-height: 96vh; padding: 0; border: 0; background: none; }
.zoom img { width: auto; max-height: 94vh; border-radius: var(--radius-lg); cursor: zoom-out; }
.zoom::backdrop { background: hsl(var(--heading) / 0.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

@media (max-width: 1239px) {
    .doc { grid-template-columns: minmax(0, var(--measure)); }
    .toc { display: none; }
}

@media (max-width: 991px) {
    .shell { display: block; }
    .top__menu { display: inline-grid; margin-left: -8px; }
    .side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 40; width: min(310px, 86vw); height: auto; padding-top: 64px; visibility: hidden; transform: translateX(-100%); transition: transform 0.3s var(--ease), box-shadow 0.3s, visibility 0.3s; }
    .side__close { display: inline-grid; position: absolute; top: 12px; right: 12px; }
    .search { margin-top: 0; }
    .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: hsl(var(--heading) / 0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
    .nav-open { overflow: hidden; }
    .nav-open .side { visibility: visible; transform: none; box-shadow: 0 24px 48px -12px hsl(var(--heading) / 0.3); }
    .nav-open .scrim { opacity: 1; visibility: visible; }
    .search kbd { display: none; }
    .doc { padding: 36px 28px 88px; }
    .foot__in { padding: 0 28px; }
    .article h2 a::before { display: none; }
}

@media (max-width: 640px) {
    body { line-height: 1.65; }
    .top__in { gap: 8px; padding: 0 14px; }
    .brand { gap: 10px; }
    .brand__label { font-size: 17px; }
    .top__nav .top__cta { height: 36px; padding: 0 5px 0 14px; font-size: 13px; white-space: nowrap; }
    .top__cta-icon { width: 26px; height: 26px; }
    .article th, .article td { min-width: 132px; padding: 10px 12px; font-size: 14px; }
    .article th:first-child, .article td:first-child { position: sticky; left: 0; z-index: 1; background: hsl(var(--white)); box-shadow: inset -1px 0 hsl(var(--line-soft)); }
    .article th:first-child { background: hsl(var(--soft)); }
    .top__site, .top__signin { display: none; }
    .brand img { height: 22px; }
    .doc { padding: 26px 18px 72px; }
    .foot__in { padding: 0 18px; }
    .article .lead { font-size: 17px; }
    .article section { margin-top: 40px; padding-top: 36px; }
    .article h2 { font-size: 23px; }
    .steps > li { padding-left: 46px; }
    .article dl { grid-template-columns: 1fr; }
    .article dt { padding-bottom: 2px; border-bottom: 0; }
    .article dd { padding-top: 0; }
    .article table { display: block; overflow-x: auto; }
    .article .guides, .pager { grid-template-columns: 1fr; }
    .pager a[rel="next"] { grid-column: auto; }
    .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

@media (max-width: 370px) {
    .brand__sep, .brand__label { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
