
body.docs {
  --dh: 64px;                                    --side-w: 276px;                               --toc-w: clamp(220px, 18vw, 280px);            --col-w: 830px;                              }
body.docs .ct-back-auto { display: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.docs :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


.dh {
  position: sticky; top: 0; z-index: 50;
  height: var(--dh); padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.dh-brand { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; color: var(--text); min-width: 0; border-radius: 6px; }
.dh-brand .wm { height: 24px; width: auto; display: block; flex: none; }
.dh-brand span { font-size: 22px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; transform: translateY(1px); }
.dh-end { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.dh-nav { display: flex; align-items: center; gap: 24px; }
.dh-link { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; color: var(--text); opacity: 0.86; white-space: nowrap; border-radius: 4px; }
.dh-link:hover { opacity: 1; }
.dh-side {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: none; place-items: center; width: 38px; height: 38px; margin-left: -8px; border-radius: 10px; color: var(--text); flex: none;
}
.dh-side:hover { background: var(--card); }
.dh-side svg, .dh-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dh-side:focus-visible, .dh-search:focus-visible, .dh-lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.dh-search {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: inline-flex; align-items: center; gap: 18px;
  height: 32px; padding: 0 6px 0 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 15px; color: var(--text);
  transition: background 160ms ease;
}
.dh-search:hover { background: var(--pill); }
.dh-search svg { display: none; }
.d-kbd {
  font: 500 11.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 4px 6px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg); color: var(--muted); white-space: nowrap;
}

.dh-lang { position: relative; }
.dh-lang-btn {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 2px; border-radius: 6px;
  font-size: 15px; color: var(--text); opacity: 0.86; white-space: nowrap;
}
.dh-lang-btn:hover, .dh-lang-btn[aria-expanded="true"] { opacity: 1; }
.dh-lang-btn svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dh-lang-btn .globe { width: 16px; height: 16px; stroke-width: 1.5; }
.dh-lang-btn > svg:last-child { width: 13px; height: 13px; stroke-width: 1.6; transition: transform 160ms ease; }
.dh-lang-btn[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.dh-lang-menu {
  position: absolute; right: -8px; top: calc(100% + 8px); z-index: 60;
  min-width: 184px; padding: 6px; display: grid; gap: 2px;
  background: var(--menu-bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 6px 16px 0 #11111229, 0 8px 32px 0 #1111121f;
}
.dh-lang-menu[hidden] { display: none; }
.dh-lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 36px; padding: 0 10px; border-radius: 9px; font-size: 14px; color: var(--text); outline: none;
}
.dh-lang-menu a:hover, .dh-lang-menu a:focus-visible { background: var(--pill); }
.dh-lang-menu a:focus-visible { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.dh-lang-menu .check { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.dh-lang-menu a[aria-checked="true"] .check { visibility: visible; }


.docs-wrap {
  display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr) var(--toc-w);
  min-height: calc(100vh - var(--dh));
}
.docs-main { min-width: 0; padding: 34px 44px 104px; }
.docs-col { max-width: var(--col-w); margin: 0 auto; }
.docs-right { min-width: 0; }


.docs-side { border-right: 1px solid var(--line); min-width: 0; }
.side-in {
  position: sticky; top: var(--dh);
  max-height: calc(100vh - var(--dh)); overflow-y: auto; overscroll-behavior: contain;
  padding: 26px 14px 40px 12px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.side-head, .side-more { display: none; }
.side-list, .sc-list { list-style: none; margin: 0; padding: 0; }
.side-list { display: grid; gap: 0; }
.sc-row {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; align-items: flex-start; gap: 9px;
  padding: 8px 8px 8px 12px; border-radius: 8px;
  font-size: 15px; line-height: 20px; font-weight: 600; color: var(--text);
}
.sc-row:hover { background: var(--card); }
.sc-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.sc-row .ci { width: 18px; height: 18px; margin-top: 1px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-t { flex: 1; min-width: 0; }
.sc-row .cv { width: 14px; height: 14px; margin-top: 3px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: transform 160ms ease; }
.sc-row[aria-expanded="true"] .cv { transform: rotate(90deg); }
.sc-list { padding: 2px 0 8px 39px; display: grid; gap: 1px; }
.sc-list[hidden] { display: none; }
.sc-list a {
  display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px;
  font-size: 14px; line-height: 1.4; color: color-mix(in srgb, var(--text) 82%, transparent);
}
.sc-list a:hover { color: var(--text); background: var(--card); }
.sc-list a:focus-visible { outline-offset: -2px; }
.sc-list a[aria-current="page"] { color: var(--text); background: var(--card); font-weight: 600; }
.sc-none { padding: 6px 0; font-size: 14px; color: var(--muted); }
.docs-scrim { display: none; }
@media (prefers-reduced-motion: reduce) { .sc-row .cv { transition: none; } }


.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-bottom: 12px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; border-radius: 4px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--faint); flex: none; }
.crumbs [aria-current] { color: var(--text); }

.art-head h1, .home-head h1 {
  font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.032em;
  overflow-wrap: break-word;
}
.art-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 10px; }
.art-date { font-size: 14px; color: var(--muted); }
.art-date a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.art-date a:hover { color: var(--text); }
.art-rule { border: 0; border-top: 1px solid var(--line); margin: 32px 0 0; }

.d-split { position: relative; display: inline-flex; border: 1px solid var(--line); border-radius: 8px; background: var(--menu-bg); }
.d-split-main, .d-split-chev, .d-split .d-mi { all: unset; box-sizing: border-box; cursor: pointer; }
.d-split-main {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 13px;
  font-size: 13px; font-weight: 600; color: var(--text); border-radius: 8px 0 0 8px; white-space: nowrap;
}
.d-split-main svg, .d-split-chev svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.d-split-chev { display: grid; place-items: center; width: 30px; height: 30px; border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; color: var(--muted); }
.d-split-main:hover, .d-split-chev:hover, .d-split-chev[aria-expanded="true"] { background: var(--card); }
.d-split button:focus-visible, .d-split a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.d-split-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; padding: 6px;
  background: var(--menu-bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 16px 0 #11111229, 0 8px 32px 0 #1111121f;
  display: grid; gap: 2px;
}
.d-split-menu[hidden] { display: none; }
.d-split a.d-mi, .d-split button.d-mi {
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px;
  font-size: 14px; color: var(--text);
}
.d-split a.d-mi:hover, .d-split button.d-mi:hover, .d-split .d-mi:focus-visible { background: var(--pill); }
.d-mi svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); flex: none; }


.art { margin-top: 32px; font-size: 16px; line-height: 1.46; color: var(--text); overflow-wrap: break-word; }
.art > :first-child { margin-top: 0; }
.art p { margin: 24px 0 0; font-weight: 400; }
.art h2 { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.022em; margin: 44px 0 0; scroll-margin-top: calc(var(--dh) + 24px); }
.art h3 { font-size: 18.5px; line-height: 1.3; font-weight: 650; letter-spacing: -0.012em; margin: 32px 0 0; scroll-margin-top: calc(var(--dh) + 24px); }
.art h2 + p, .art h3 + p, .art h2 + ul, .art h2 + ol, .art h3 + ul, .art h3 + ol, .art h2 + .d-table, .art h3 + .d-table { margin-top: 12px; }
.art strong { font-weight: 650; }
.art a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; border-radius: 3px; }
.art a:hover { text-decoration-thickness: 2px; }
.art ul, .art ol { margin: 20px 0 0; padding: 0 0 0 1.4em; display: grid; gap: 8px; }
.art li { padding-left: 2px; }
.art li > ul, .art li > ol { margin-top: 8px; }
.art ul { list-style: disc; }
.art ul ul { list-style: circle; }
.art ol { list-style: decimal; }
.art ol > li::marker { font-weight: 600; }
.art code { font: 0.88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--card); border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.art pre { margin: 20px 0 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.art pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.art hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0 0; }
.art blockquote { margin: 20px 0 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--line); color: var(--muted); }

.d-table { margin: 20px 0 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.d-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.d-table th, .d-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.d-table th { background: var(--card); font-size: 14px; font-weight: 650; white-space: nowrap; }
.d-table tr:last-child td { border-bottom: 0; }
.d-table td:first-child { white-space: nowrap; }

.d-callout {
  margin: 24px 0 0; padding: 19px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
}
.d-callout p { margin: 0; }
.d-callout p + p { margin-top: 12px; }


.art-related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.art-related h2 { font-size: 18.5px; line-height: 1.3; font-weight: 650; letter-spacing: -0.012em; margin: 0; }
.art-related ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.art-related a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 500; }
.art-related li:last-child a { border-bottom: 0; }
.art-related a:hover { text-decoration: underline; text-underline-offset: 3px; }
.art-related a span { color: var(--muted); font-size: 13.5px; font-weight: 400; white-space: nowrap; }
.art-feedback { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.art-feedback p { font-size: 15px; }
.art-feedback .fb-btns { display: inline-flex; gap: 8px; }
.art-feedback button {
  all: unset; box-sizing: border-box; cursor: pointer;
  height: 32px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--menu-bg);
  font-size: 14px; color: var(--text);
}
.art-feedback button:hover { background: var(--card); }
.art-feedback button[aria-pressed="true"] { background: var(--invert-bg); color: var(--invert-text); border-color: transparent; }
.art-feedback button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.art-feedback .fb-thanks { color: var(--muted); font-size: 14px; }


.docs-toc {
  position: sticky; top: var(--dh);
  max-height: calc(100vh - var(--dh)); overflow-y: auto;
  padding: 36px 24px 40px 0;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.docs-toc p, .docs-toc ul { border-left: 1px solid var(--line); }
.docs-toc p { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; padding: 0 0 12px 16px; }
.docs-toc ul { list-style: none; margin: 0; padding: 0 0 4px; display: grid; }
.docs-toc a {
  display: block; margin-left: -1px; padding: 4.5px 4px 4.5px 28px; border-left: 2px solid transparent;
  font-size: 13px; line-height: 1.32; color: var(--muted);
}
.docs-toc a:hover { color: var(--text); }
.docs-toc a:focus-visible { outline-offset: -2px; }
.docs-toc a[aria-current="true"] { color: var(--text); border-left-color: var(--text); }


.home-head { padding-top: 14px; }
.home-head p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.home-search {
  all: unset; box-sizing: border-box; cursor: text;
  margin-top: 24px; width: 100%; max-width: 560px; height: 48px; padding: 0 10px 0 16px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 16px; color: var(--muted); text-align: left;
}
.home-search:hover { background: var(--card-hover); }
.home-search > span:not(.d-kbd) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; flex: none; }
.home-search:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.home-toc { margin-top: 40px; border-top: 1px solid var(--line); }
.home-sec { padding: 28px 0 0; }
.home-sec h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.016em; scroll-margin-top: calc(var(--dh) + 24px); }
.home-sec h2 a { border-radius: 4px; }
.home-sec h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.home-sec ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.home-sec li a { display: inline-block; padding: 4px 0; font-size: 15.5px; line-height: 1.45; color: var(--text); opacity: 0.88; border-radius: 4px; }
.home-sec li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }


.coll-lede { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--text); opacity: 0.86; }
.coll-n { margin-top: 6px; font-size: 14px; color: var(--muted); }
.coll-list { list-style: none; margin: 8px 0 0; padding: 0; }
.coll-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.coll-list li a { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -0.008em; border-radius: 4px; }
.coll-list li a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.coll-list li p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.coll-none { margin-top: 24px; color: var(--muted); }


.dsearch { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: 11vh 16px 16px; }
.dsearch[hidden] { display: none; }
.dsearch-bg { position: absolute; inset: 0; background: rgba(10, 10, 12, 0.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dsearch-box {
  position: relative; width: 100%; max-width: 640px; max-height: 76vh; display: flex; flex-direction: column;
  background: var(--menu-bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px 0 #11111240, 0 24px 64px 0 #11111233;
}
.dsearch-top { display: flex; align-items: center; gap: 12px; padding: 0 14px 0 18px; height: 58px; border-bottom: 1px solid var(--line); flex: none; }
.dsearch-top svg { width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; flex: none; }
.dsearch-top input { all: unset; box-sizing: border-box; flex: 1; min-width: 0; height: 100%; font-size: 16.5px; color: var(--text); }
.dsearch-top input::placeholder { color: var(--muted); }
.dsearch-top input:focus-visible { outline: none; }
.dsearch-top:focus-within { box-shadow: inset 0 -2px 0 var(--accent); }
.dsearch-x { all: unset; box-sizing: border-box; cursor: pointer; flex: none; }
.dsearch-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 7px; }
.dsearch-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.dsearch-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; min-width: 0; }
.dsearch-list a b { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.dsearch-list a span { font-size: 13px; color: var(--muted); }
.dsearch-list a small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsearch-list a em { font-style: normal; color: var(--text); }
.dsearch-list a[aria-selected="true"], .dsearch-list a:hover { background: var(--pill); }
.dsearch-none { padding: 28px 18px 30px; text-align: center; color: var(--muted); font-size: 15px; }
.dsearch-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex: none; }
.dsearch-foot span { display: inline-flex; align-items: center; gap: 6px; }
body.docs-lock { overflow: hidden; }


@media (max-width: 1199px) {
  body.docs { --side-w: 256px; }
  .docs-wrap { grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .docs-right { display: none; }
  .docs-main { padding: 32px 36px 96px; }
  .dh-end, .dh-nav { gap: 20px; }
}
@media (max-width: 899px) {
  body.docs { --dh: 56px; }
  .dh { padding: 0 12px 0 var(--gutter); gap: 8px; }
  .dh-side { display: grid; }
  .dh-brand .wm { height: 21px; }
  .dh-brand span { font-size: 19px; }
  .dh-nav, .dh-lang { display: none; }
  .dh-search { width: 38px; height: 38px; padding: 0; gap: 0; justify-content: center; background: none; border-color: transparent; border-radius: 10px; }
  .dh-search:hover { background: var(--card); }
  .dh-search svg { display: block; }
  .dh-search .d-kbd, .dh-search .dh-search-t { display: none; }
  .docs-wrap { display: block; min-height: 0; }
  .docs-main { padding: 22px var(--gutter) 72px; }
  .docs-side {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 80;
    border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0;
    background: var(--menu-bg); box-shadow: 0 -10px 40px #1111122e;
    transform: translateY(105%); visibility: hidden;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 220ms;
  }
  .side-in { position: static; max-height: 84vh; max-height: 84dvh; padding: 0 10px 24px; }
  body.docs-sheet .docs-side { transform: none; visibility: visible; transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
  @media (prefers-reduced-motion: reduce) { .docs-side, body.docs-sheet .docs-side { transition: none; } }
  .side-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; padding: 16px 4px 10px 12px; background: var(--menu-bg); font-size: 17px; font-weight: 650; }
  .side-x { all: unset; box-sizing: border-box; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--pill); }
  .side-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .side-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .sc-row { padding-top: 10px; padding-bottom: 10px; }
  .side-more { display: grid; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .side-more a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
  .side-more a:hover { background: var(--card); }
  .side-more .globe { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .docs-scrim { position: fixed; inset: 0; z-index: 75; background: rgba(10, 10, 12, 0.45); }
  body.docs-sheet .docs-scrim { display: block; }
  body.docs-sheet { overflow: hidden; }
  .art-head h1, .home-head h1 { font-size: 30px; line-height: 1.18; }
  .art-rule { margin-top: 24px; }
  .art { margin-top: 24px; }
  .art h2 { font-size: 22px; margin-top: 40px; }
  .home-head { padding-top: 6px; }
}
@media (max-width: 599px) {
  .art-meta { align-items: flex-start; }
  .art-related a span { display: none; }
  .dsearch { padding-top: 8vh; }
  .dsearch-foot { display: none; }
  .home-search { height: 46px; }
  .home-search .d-kbd { display: none; }
  .d-table td:first-child { white-space: normal; }
}

.docs-home .home-head h1 { font-size: 52px; line-height: 1.06; letter-spacing: -0.04em; max-width: 620px; }
.docs-home .home-search { max-width: 420px; height: 48px; border-radius: 12px; background: var(--menu-bg); margin-top: 32px; }
.docs-home .home-search:hover { background: var(--card); }
.home-pop { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.home-pop li { border-bottom: 1px solid var(--line); }
.home-pop a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 2px; font-size: 15px; font-weight: 600; color: var(--text); border-radius: 4px; }
.home-pop a:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hp-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.home-cols { margin-top: 64px; }
.home-cols h2 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.024em; }
.hc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.hc { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 10px; background: var(--menu-bg); color: var(--text); overflow: hidden; transition: border-color 160ms ease, box-shadow 160ms ease; }
.hc:hover { border-color: color-mix(in srgb, var(--text) 28%, transparent); box-shadow: 0 6px 20px -12px #0000003d; }
.hc:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hc-ic { display: flex; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.hc-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hc-t { display: grid; align-content: start; gap: 12px; padding: 22px 24px 26px; }
.hc-t b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.hc-t span { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1100px) { .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 900px) {
  .docs-home .home-head h1 { font-size: 36px; }
  .home-pop { margin-top: 36px; }
  .home-cols { margin-top: 44px; }
}
@media (max-width: 560px) { .hc-grid { grid-template-columns: minmax(0, 1fr); } }

.dh-brand .wm { height: 22px; width: auto; }
.dh-name { padding-left: 11px; border-left: 1px solid var(--line); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.dh-brand .dh-logo { display: block; height: 26px; width: auto; flex: none; }
@media (max-width: 900px) { .dh-brand .dh-logo { height: 22px; } }

body.docs-support .docs-wrap { grid-template-columns: minmax(0, 1fr); }
body.docs-support .docs-right { display: none; }
body.docs-support .docs-col { margin: 0 auto; max-width: 640px; width: 100%; }
body.docs-support .dh-side { display: none; }
.dh-word { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }

.cs-back { margin-bottom: 18px; }
.cs-head h1 { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.cs-head p { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.cs-sel { position: relative; }
.cs-sel-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 44px; padding: 0 12px 0 13px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--text); transition: box-shadow 150ms ease; }
.cs-sel-btn:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 28%, transparent); }
.cs-sel-btn:focus-visible, .cs-sel-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.cs-sel-btn.empty .cs-sel-v { color: var(--muted); }
.cs-sel-btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); }
.cs-sel-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cs-sel-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: min(420px, 62vh); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 6px 16px 0 #11111214, 0 8px 32px 0 #11111214; outline: none; transform-origin: 50% 0; animation: lang-in 140ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.cs-sel-list[hidden] { display: none; }
.cs-sel-list li { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; font-size: 15px; color: var(--text); cursor: pointer; }
.cs-sel-list li.on { background: var(--pill); }
.cs-sel-list li[aria-selected="true"] { font-weight: 600; }
.cs-sel-err { margin-top: 8px; font-size: 13.5px; color: #c4392f; }
.cs-sel-err[hidden] { display: none; }


.cs-status { margin-top: 24px; padding: 13px 16px; border-radius: 12px; background: color-mix(in srgb, #e3a008 14%, var(--menu-bg)); font-size: 14.5px; line-height: 1.5; }
.cs-status[data-state="outage"] { background: color-mix(in srgb, #d43a3f 12%, var(--menu-bg)); }
.cs-status a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cs-help { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--menu-bg); }
.cs-help-t { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.cs-help-t[hidden] { display: none; }
.cs-sugg { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
.cs-sugg[hidden] { display: none; }
.cs-sugg a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; color: var(--text); }
.cs-sugg a:hover { background: var(--pill); }
.cs-sugg b { font-weight: 500; font-size: 14.5px; }
.cs-sugg span { flex: none; font-size: 12.5px; color: var(--muted); }
.cs-ask { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border-radius: 8px; transition: background 160ms ease; }
.cs-ask:hover { background: var(--pill); }
.cs-ask:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cs-ask > span:last-child { display: grid; font-size: 13px; color: var(--muted); }
.cs-ask b { font-weight: 600; font-size: 14.5px; color: var(--text); }
.cs .hub-orb.cs-orb { width: 28px; height: 28px; flex: none; box-shadow: 0 0 10px color-mix(in srgb, var(--orb) 40%, transparent); }

@media (max-width: 640px) {
  .cs-head h1 { font-size: 32px; }
}

.more-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 22px 24px; border-radius: 18px; background: var(--card); }
.more-help h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.more-help p { margin-top: 4px; max-width: 520px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
