/* Documentation (/docs/): the users' guide and the reference for agents that drive Atlan through its MCP server.
   Ported from the website prototype (atlan-design-dev docs/redesign/website/docs.css). Its container queries are media
   queries here, at the same widths (1240: "On this page" folds under the lead; 920: the contents fold into a button;
   640: the phone pass), and its cqi units are vw (the site container is the page). Every class here starts with dk-.
   A docs page is read, searched and copied, so the layout serves those three: the contents on the left, the article at a
   70-character measure with its code and tables free to take the whole column, and "On this page" on the right.
   Square rows and plates, as everywhere on the site. The one plate with the glowing top edge is the code an agent copies.
   Without docs.js nothing here hides content: the search is a link to the list of every topic, the contents stay open
   and the Markdown is a link. */

.dk { --side: 248px; --aside: 188px; --rd: 70ch; position: relative; }
.dk > .wrap { position: relative; z-index: 1; max-width: calc(1288px + 2 * var(--gut)); }
/* the terrain behind the page (owner 2026-11-15: "wrzuć tło topologiczne"; ascii.js, as behind the panel): here it
   starts right under the sticky header, with no fade-in (owner 2026-11-22), and fades out above the footer */
.dk > .tbg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 240px), transparent); mask-image: linear-gradient(#000 calc(100% - 240px), transparent); }
.dk > .tbg canvas { position: absolute; left: 0; display: block; width: 100%; opacity: .34; }
.dk > .tbg .lamp { top: 0; width: 840px; height: 840px; opacity: 1; visibility: hidden; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); will-change: transform; }
.dk > .tbg .lamp.lit { visibility: visible; }
@media (hover: hover) { .dk > .tbg canvas.tile { opacity: .3; } }
@media (forced-colors: active) { .dk > .tbg { display: none; } }
.dk-grid { display: grid; grid-template-columns: var(--side) minmax(0, 1fr) var(--aside); gap: 56px; align-items: start; padding-block: 36px 128px; }

/* ---------- shared marks ---------- */
.dk kbd, .dk-sd kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); font: 650 11.5px/1 var(--sans); letter-spacing: 0; color: var(--rose); }
.dk code, .dk pre, .dk .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0; }
/* a label the reader finds in the app: its own words, set as the app's surface */
.dk-ui { padding: 1px 6px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .92em; font-weight: 600; color: var(--blush); white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* a long label wraps as text does: its padding stays at its two ends, so no line runs past the column */
.dk-ui.long { white-space: normal; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.dk-path { white-space: normal; }
.dk-path .dk-sep { display: inline-block; width: 12px; height: 12px; margin: 0 3px; vertical-align: -1px; color: var(--dust); }
.dk-path .dk-sep .ic { width: 12px; height: 12px; }
.dk-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; background: var(--raise); font-size: 12px; font-weight: 650; line-height: 1; color: var(--rose); white-space: nowrap; }
.dk-tag.hot { background: rgba(255, 10, 60, .14); color: var(--blush); }
.dk-tag.plan { background: none; box-shadow: inset 0 0 0 1px var(--rose); color: var(--blush); }

/* ---------- the contents column ---------- */
.dk-side { position: sticky; top: calc(var(--hd) + 24px); max-height: calc(100vh - var(--hd) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; margin-right: -8px; padding: 2px 8px 24px 2px; }
.dk-find { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; padding: 0 8px 0 12px; background: var(--rail); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--dust); text-align: left; text-decoration: none; transition: box-shadow .12s, color .12s; }
.dk-find:hover { box-shadow: inset 0 0 0 1px var(--dust); color: var(--rose); }
.dk-find:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--blush); }
.dk-find .ic { flex: none; width: 15px; height: 15px; }
.dk-find span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-find kbd { flex: none; }
.dk-find kbd + kbd { margin-left: -4px; }
/* without the script the search is a link to the list of every topic, so no shortcut is offered */
html:not(.js) .dk-find kbd { display: none; }
/* the narrow column keeps the whole "Search the docs" beside its shortcut */
.dk-side .dk-find { padding: 0 6px 0 10px; font-size: 13px; }
.dk-grp { margin-top: 28px; }
.dk-grp h2 { padding-left: 14px; font-size: 13px; font-weight: 650; line-height: 1.3; color: var(--dust); }
.dk-grp ul { display: grid; margin-top: 8px; }
.dk-grp a { display: block; padding: 6px 0 6px 14px; font-size: 14px; line-height: 1.4; color: var(--rose); box-shadow: inset 1px 0 0 var(--line); transition: color .12s, box-shadow .2s; }
.dk-grp a:hover { color: var(--white); box-shadow: inset 1px 0 0 var(--dust); }
.dk-grp a[aria-current="page"] { color: var(--blush); font-weight: 600; box-shadow: inset 2px 0 0 var(--signal); }
.dk-grp a:focus-visible { outline-offset: -2px; }
.dk .dk-home-l { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-left: 14px; font-size: 14px; font-weight: 600; color: var(--blush); }
.dk .dk-home-l[aria-current="page"] { color: var(--signal-hi); }
.dk .dk-home-l:hover { color: var(--white); }
.dk .dk-home-l .ic { width: 15px; height: 15px; color: var(--dust); }

/* ---------- the article ---------- */
.dk-art { min-width: 0; }
.dk-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--dust); }
.dk-crumb a { color: var(--dust); transition: color .12s; }
.dk-crumb a:hover { color: var(--white); }
.dk-crumb .ic { width: 12px; height: 12px; }
.dk-art h1 { max-width: 18em; margin-top: 14px; font-weight: 650; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.06; letter-spacing: -.035em; color: var(--blush); text-wrap: balance; }
.dk-lead { max-width: 58ch; margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--rose); text-wrap: pretty; }
.dk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; padding-bottom: 26px; box-shadow: inset 0 -1px 0 var(--line); font-size: 13px; color: var(--dust); }
.dk-meta .dk-ver { font-variant-numeric: tabular-nums; }
.dk-meta .dk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.dk-meta .btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.dk-meta .btn .ic { width: 14px; height: 14px; }
/* the article's Markdown as a plain link, which the script replaces with "Copy as Markdown" */
.dk-mdl { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 600; color: var(--rose); transition: box-shadow .12s, color .12s; }
.dk-mdl:hover { box-shadow: inset 0 0 0 1px var(--dust); color: var(--white); }
.dk-cp .dk-c2 { display: none; }
.dk-cp.done .dk-c1 { display: none; }
.dk-cp.done .dk-c2 { display: inline-flex; }
.dk-cp span { display: inline-flex; align-items: center; gap: 7px; }
.dk-cp.done .ic { color: var(--signal-hi); }

/* the text: 70 characters a line; code, tables and pictures take the whole column */
.dk-body { margin-top: 36px; font-size: 16.5px; line-height: 1.7; color: var(--rose); }
.dk-body > * + * { margin-top: 18px; }
.dk-body > :is(p, ul, ol, h2, h3, .dk-note, .dk-steps, .dk-dl) { max-width: var(--rd); }
.dk-body p { text-wrap: pretty; }
.dk-body h2 { position: relative; margin-top: 60px; padding-top: 0; font-weight: 650; font-size: clamp(22px, 2vw, 26px); line-height: 1.22; letter-spacing: -.02em; color: var(--blush); text-wrap: balance; scroll-margin-top: calc(var(--hd) + 24px); }
.dk-body > h2:first-child { margin-top: 0; }
.dk-body h3 { margin-top: 34px; font-weight: 650; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--blush); scroll-margin-top: calc(var(--hd) + 24px); }
.dk-body h2 + *, .dk-body h3 + * { margin-top: 12px; }
.dk-anc { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 6px; vertical-align: 1px; color: var(--dust); opacity: 0; transition: opacity .12s, color .12s; }
.dk-anc .ic { width: 15px; height: 15px; }
.dk-body h2:hover .dk-anc, .dk-body h3:hover .dk-anc, .dk-anc:focus-visible { opacity: 1; }
.dk-anc:hover { color: var(--white); }
.dk-body b, .dk-body strong { font-weight: 650; color: var(--blush); }
.dk-body :not(pre) > code { padding: 1px 5px; background: var(--raise); font-size: .86em; color: var(--blush); overflow-wrap: anywhere; }
.dk-body ul > li, .dk-body ol:not(.dk-steps) > li { position: relative; padding-left: 24px; }
.dk-body ul > li + li, .dk-body ol:not(.dk-steps) > li + li { margin-top: 8px; }
.dk-body ul > li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 6px; height: 6px; background: var(--deep); }
.dk-body ol:not(.dk-steps) { counter-reset: dk; }
.dk-body ol:not(.dk-steps) > li { counter-increment: dk; }
.dk-body ol:not(.dk-steps) > li::before { content: counter(dk) "."; position: absolute; left: 0; top: 0; font-weight: 700; font-size: 14px; line-height: inherit; color: var(--signal-hi); font-variant-numeric: tabular-nums; }
.dk-body .lnk { overflow-wrap: anywhere; }

/* steps: the number in its own square, a thread from one to the next */
.dk-steps { display: grid; counter-reset: st; }
.dk-steps > li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 16px; padding: 0 0 26px; counter-increment: st; }
.dk-steps > li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 13.5px; line-height: 1; color: var(--signal-hi); font-variant-numeric: tabular-nums; }
.dk-steps > li::after { content: ""; position: absolute; left: 14.5px; top: 36px; bottom: 6px; width: 1px; background: var(--line); }
.dk-steps > li:last-child { padding-bottom: 0; }
.dk-steps > li:last-child::after { display: none; }
.dk-steps .dk-st { padding-top: 2px; }
.dk-steps .dk-st > b:first-child { display: block; font-weight: 650; font-size: 16.5px; line-height: 1.5; color: var(--blush); }
.dk-steps .dk-st > p { margin-top: 4px; }
.dk-steps .dk-st > * + * { margin-top: 10px; }

/* notes: a square row with its line on the left (square rows may keep one), the kind in its icon and its line */
.dk-note { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 15px 18px 16px 16px; background: var(--panel); box-shadow: inset 2px 0 0 var(--rose); font-size: 15.5px; line-height: 1.6; }
.dk-note > .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--rose); }
.dk-note b.dk-nt { display: block; margin-bottom: 2px; font-weight: 650; color: var(--blush); }
.dk-note.warn { box-shadow: inset 2px 0 0 var(--signal); background: rgba(255, 10, 60, .06); }
.dk-note.warn > .ic { color: var(--signal-hi); }
.dk-note.agent { box-shadow: inset 2px 0 0 var(--dust); }
.dk-note.agent > .ic { color: var(--dust); }
.dk-note p + p { margin-top: 8px; }

/* code: the file or language and a copy button over the text; tabs pick the client */
.dk-code { position: relative; min-width: 0; background: var(--rail); box-shadow: inset 0 0 0 1px var(--line); }
.dk-code.hot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, var(--signal) 18%, var(--signal-hi) 50%, var(--signal) 82%, transparent); box-shadow: 0 0 14px rgba(255, 10, 60, .6); }
.dk-ch { display: flex; align-items: center; gap: 4px 12px; min-height: 42px; padding: 0 6px 0 16px; box-shadow: inset 0 -1px 0 var(--line); font-size: 13px; color: var(--dust); }
.dk-ch .dk-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; color: var(--rose); }
.dk-ch .dk-cp { display: inline-flex; align-items: center; height: 32px; margin-left: auto; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--rose); transition: background-color .12s, color .12s; }
.dk-ch .dk-cp:hover { background: var(--raise); color: var(--white); }
.dk-ch .dk-cp:active { transform: scale(.97); }
.dk-ch .dk-cp .ic { width: 14px; height: 14px; }
.dk-tabs { display: flex; align-self: stretch; gap: 2px; min-width: 0; margin-left: -16px; overflow-x: auto; scrollbar-width: none; }
.dk-tabs::-webkit-scrollbar { display: none; }
.dk-tabs button { flex: none; height: 42px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--dust); box-shadow: inset 0 -1px 0 transparent; transition: color .12s, box-shadow .2s; }
.dk-tabs button:hover { color: var(--white); }
.dk-tabs button[aria-selected="true"] { color: var(--blush); box-shadow: inset 0 -2px 0 var(--signal); }
.dk-tabs button:focus-visible { outline-offset: -3px; }
/* without the script every tab's text stays on the page, one under another, each under its client's name */
html:not(.js) .dk-ch:has(.dk-tabs) { display: none; }
html:not(.js) .dk-code [data-pane][hidden] { display: block !important; }
html:not(.js) .dk-code [data-pane] + [data-pane] { box-shadow: inset 0 1px 0 var(--line); }
html:not(.js) .dk-code [data-label]::before { content: attr(data-label); display: block; padding: 12px 18px 0; font-size: 13px; font-weight: 600; color: var(--blush); }
.dk-code pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; color: var(--blush); tab-size: 2; white-space: pre; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dk-code pre .k { color: var(--rose); }
.dk-code pre .s { color: var(--blush); }
.dk-code pre .p { color: var(--dust); }
.dk-code pre .n { color: var(--signal-hi); }
.dk-code pre .c { color: var(--dust); font-style: italic; }
.dk-code .dk-cap { padding: 0 18px 14px; font-size: 13px; line-height: 1.5; color: var(--dust); }
.dk-code .dk-pf { padding: 12px 18px 0; }
.dk-code .dk-pf .dk-file { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; color: var(--rose); overflow-wrap: anywhere; }
.dk-code .dk-pl { padding: 12px 18px 0; max-width: var(--rd); font-size: 14px; line-height: 1.55; color: var(--rose); }

/* tables: rows and hairlines; a phone stacks each row with its column names */
.dk-tbl { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.dk-tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.dk-tbl th { padding: 0 16px 10px 0; text-align: left; vertical-align: bottom; font-size: 12.5px; font-weight: 650; color: var(--dust); box-shadow: inset 0 -1px 0 var(--line-2); white-space: nowrap; }
.dk-tbl td { padding: 12px 16px 12px 0; vertical-align: top; color: var(--rose); box-shadow: inset 0 -1px 0 var(--line); }
.dk-tbl td:first-child { color: var(--blush); }
.dk-tbl td code { white-space: nowrap; }
.dk-tbl .dk-none { padding: 14px 0; font-size: 14.5px; color: var(--dust); }

/* the error lookup: a field over the table, which narrows as you type; without the script the field is not offered */
.dk-look { display: grid; gap: 14px; }
.dk-look .fld { max-width: 420px; height: 44px; }
.dk-look .fld .ic { width: 15px; height: 15px; margin-right: 10px; color: var(--dust); }
html:not(.js) .dk-look .fld { display: none; }

/* a definition list: the name in its column, its meaning beside it */
.dk-dl { display: grid; }
.dk-dl > div { display: grid; grid-template-columns: minmax(120px, 13em) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; box-shadow: inset 0 -1px 0 var(--line); }
.dk-dl > div:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.dk-dl dt { font-weight: 650; color: var(--blush); }
.dk-dl dd { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* an app screen: the app's own picture, framed as the app is */
.dk-fig { margin: 0; }
/* a picture stands apart from the text above it (owner 2026-11-15: "lekki padding/margin od góry") */
.dk-body > * + .dk-fig { margin-top: 36px; }
.dk-zoom { display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
.dk-zoom:focus-visible { outline: 0; }
.dk-zoom:focus-visible img { box-shadow: 0 0 0 2px var(--blush); }
/* a screen keeps its own width when it is narrower than the column, so a small crop is never blown up */
.dk-fig img { display: block; width: auto; max-width: 100%; height: auto; background: var(--rail); box-shadow: 0 0 0 1px var(--line); }
.dk-fig figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--dust); }
/* the enlarged screen: the app at up to its own width over a dark layer; on a phone it keeps that width and scrolls */
.dk-lb { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; padding: 64px 24px 24px; background: rgba(12, 3, 6, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: zoom-out; animation: dk-fade .16s var(--ease-out); }
.dk-lb img { display: block; width: auto; max-width: min(1440px, 100%); height: auto; box-shadow: 0 0 0 1px var(--line-2), 0 24px 80px rgba(0, 0, 0, .65); animation: dk-rise .2s var(--ease-out); }
.dk-lb .x { position: fixed; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--panel); color: var(--dust); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.dk-lb .x:hover, .dk-lb .x:focus-visible { color: var(--white); outline: 0; box-shadow: inset 0 0 0 1px var(--blush); }
.dk-lb .x .ic { width: 18px; height: 18px; }
html.dk-lbo { overflow: hidden; }
@media (max-width: 700px) {
  .dk-lb { place-items: start; padding: 64px 16px 16px; }
  .dk-lb img { max-width: none; width: 960px; }
}

/* the MCP tools: one row each, its name in code, when it applies and its parameters */
.dk-tools { display: grid; }
.dk-tool { padding: 26px 0; box-shadow: inset 0 -1px 0 var(--line); scroll-margin-top: calc(var(--hd) + 24px); }
.dk-tool:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.dk-tool .dk-th { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dk-tool .dk-th code { padding: 0; background: none; font-size: 16px; font-weight: 600; color: var(--blush); }
.dk-tool > p { max-width: var(--rd); margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
.dk-params { display: grid; margin-top: 14px; }
.dk-params > div { display: grid; grid-template-columns: minmax(130px, 15em) minmax(0, 1fr); gap: 2px 18px; padding: 9px 0; box-shadow: inset 0 1px 0 var(--line); font-size: 14.5px; line-height: 1.55; }
.dk-params .dk-pn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.dk-params .dk-pn code { padding: 0; background: none; font-size: 13.5px; color: var(--blush); overflow-wrap: anywhere; }
.dk-params .dk-pt { font-size: 12.5px; color: var(--dust); }
.dk-params .dk-req { font-size: 12px; font-weight: 650; color: var(--signal-hi); }
.dk-params .dk-none { font-size: 14px; color: var(--dust); }

/* "Previous" and "Next": the two functional plates of an article */
.dk-pnav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 72px; }
.dk-pnav a { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 18px 20px 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .12s, box-shadow .12s; }
.dk-pnav a:hover { background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); }
.dk-pnav a:active { transform: scale(.99); }
.dk-pnav small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dust); }
.dk-pnav small .ic { width: 13px; height: 13px; }
.dk-pnav b { font-weight: 650; font-size: 16.5px; line-height: 1.35; color: var(--blush); }
.dk-pnav .nx { grid-column: 2; justify-items: end; text-align: right; }
.dk-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; padding-top: 22px; box-shadow: inset 0 1px 0 var(--line); font-size: 14px; color: var(--dust); }
.dk-help .lnk { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.dk-help .lnk .ic { width: 13px; height: 13px; }
.dk-help-home { margin-top: 72px; margin-bottom: 120px; }

/* ---------- "On this page" ---------- */
.dk-toc { position: sticky; top: calc(var(--hd) + 24px); max-height: calc(100vh - var(--hd) - 40px); overflow-y: auto; scrollbar-width: none; }
.dk-toc h2 { font-size: 13px; font-weight: 650; color: var(--dust); }
.dk-toc ol { display: grid; margin-top: 10px; }
.dk-toc a { display: block; padding: 5px 0 5px 12px; font-size: 13.5px; line-height: 1.38; color: var(--rose); box-shadow: inset 1px 0 0 var(--line); transition: color .12s, box-shadow .2s; }
.dk-toc a:hover { color: var(--white); }
.dk-toc a[aria-current="true"] { color: var(--blush); box-shadow: inset 2px 0 0 var(--signal); }
.dk-toc a:focus-visible { outline-offset: -2px; }
.dk-tocm, .dk-navm { display: none; }

/* ---------- search ---------- */
.dk-sd { position: fixed; inset: 0; z-index: 60; display: grid; justify-items: center; align-items: start; padding: 11vh 16px 16px; background: rgba(12, 3, 6, .76); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: dk-fade .16s var(--ease-out); }
.dk-sbox { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(660px, 100%); max-height: min(72vh, 620px); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 80px rgba(0, 0, 0, .65); animation: dk-rise .2s var(--ease-out); }
.dk-sin { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 10px 0 18px; box-shadow: inset 0 -1px 0 var(--line); }
.dk-sin > .ic { flex: none; width: 18px; height: 18px; color: var(--dust); }
.dk-sin input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font: 500 17px/1 var(--sans); color: var(--blush); -webkit-appearance: none; appearance: none; }
.dk-sin input::placeholder { color: var(--dust); font-weight: 400; }
.dk-sin input::-webkit-search-cancel-button { display: none; }
.dk-sin .x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--dust); }
.dk-sin .x:hover { color: var(--white); }
.dk-sin .x .ic { width: 18px; height: 18px; }
.dk-sres { overflow-y: auto; overscroll-behavior: contain; padding: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dk-sres a[role="option"] { display: grid; gap: 3px; padding: 11px 14px 12px; color: var(--rose); }
.dk-sres a[role="option"] small { font-size: 12.5px; color: var(--dust); }
.dk-sres a[role="option"] b { font-weight: 650; font-size: 15px; line-height: 1.35; color: var(--blush); }
.dk-sres a[role="option"] span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.5; }
.dk-sres a[role="option"][aria-selected="true"] { background: var(--raise); box-shadow: inset 2px 0 0 var(--signal); }
.dk-sres mark { background: none; color: var(--white); font-weight: 650; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.dk-sres .dk-sh { padding: 10px 14px 4px; font-size: 12.5px; font-weight: 650; color: var(--dust); }
.dk-sres .dk-sx { padding: 22px 14px; font-size: 14.5px; line-height: 1.55; color: var(--rose); }
.dk-sres .dk-sx .lnk { font-weight: 600; }
.dk-sft { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 18px; box-shadow: inset 0 1px 0 var(--line); font-size: 12.5px; color: var(--dust); }
.dk-sft span { display: inline-flex; align-items: center; gap: 6px; }
@keyframes dk-fade { from { opacity: 0; } }
@keyframes dk-rise { from { opacity: 0; transform: translateY(8px) scale(.985); } }

/* ---------- the documentation's home ---------- */
.dk-hero { padding-block: clamp(48px, 6vw, 96px) 0; }
.dk-hero h1 { font-weight: 650; font-size: clamp(48px, 6.6vw, 96px); line-height: .96; letter-spacing: -.045em; color: var(--blush); }
.dk-hero .dk-lead { max-width: 52ch; margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); }
.dk-hero .dk-find { max-width: 560px; height: 54px; margin-top: 34px; padding: 0 12px 0 18px; font-size: 16px; }
.dk-hero .dk-find .ic { width: 18px; height: 18px; }
.dk-two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; margin-top: clamp(56px, 6vw, 88px); }
.dk-two > section > h2 { font-weight: 650; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; color: var(--blush); }
.dk-two > section > p { max-width: 48ch; margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--rose); }
/* the first steps as a numbered path */
.dk-path1 { display: grid; margin-top: 22px; box-shadow: inset 0 -1px 0 var(--line); }
.dk-path1 a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 4px 16px; padding: 16px 4px 16px 0; box-shadow: inset 0 1px 0 var(--line); transition: background-color .12s; }
.dk-path1 a:hover { background: var(--rail); }
.dk-path1 a:hover .dk-pnum { background: var(--signal); color: var(--black); box-shadow: none; }
.dk-path1 .dk-pnum { display: grid; place-items: center; width: 34px; height: 34px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 14px; color: var(--signal-hi); font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s; }
.dk-path1 b { display: block; font-weight: 650; font-size: 16.5px; line-height: 1.35; color: var(--blush); }
.dk-path1 span.d { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--rose); }
.dk-path1 .ic { width: 16px; height: 16px; color: var(--dust); transition: transform .2s var(--ease-out), color .12s; }
.dk-path1 a:hover .ic { transform: translateX(3px); color: var(--white); }
/* the agents' entry */
.dk-agents { display: grid; align-content: start; gap: 16px; }
.dk-agents ul { display: grid; }
.dk-agents li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; font-weight: 600; color: var(--blush); box-shadow: inset 0 -1px 0 var(--line); }
.dk-agents li a:hover { color: var(--white); }
.dk-agents li a .ic { flex: none; width: 15px; height: 15px; color: var(--dust); }
.dk-agents li a code { font-size: 13px; font-weight: 500; color: var(--rose); }
/* every article by its group, in rows */
.dk-all { margin-top: clamp(72px, 8vw, 120px); scroll-margin-top: calc(var(--hd) + 24px); }
.dk-all > h2 { font-weight: 650; font-size: 24px; letter-spacing: -.02em; color: var(--blush); }
.dk-gr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 56px; margin-top: 28px; padding-top: 26px; box-shadow: inset 0 1px 0 var(--line); }
.dk-gr + .dk-gr { margin-top: 0; }
.dk-gr h3 { font-weight: 650; font-size: 17px; line-height: 1.35; color: var(--blush); }
.dk-gr h3 small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--dust); }
.dk-gr ul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; padding-bottom: 26px; }
.dk-gr li a { display: grid; gap: 2px; padding: 10px 0 12px; }
.dk-gr li a b { font-weight: 600; font-size: 15.5px; color: var(--blush); transition: color .12s; }
.dk-gr li a span { font-size: 14px; line-height: 1.5; color: var(--rose); }
.dk-gr li a:hover b { color: var(--white); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }

/* ---------- narrower ---------- */
@media (max-width: 1240px) {
  .dk-grid { grid-template-columns: var(--side) minmax(0, 1fr); gap: 48px; }
  .dk-toc { display: none; }
  .dk-tocm { display: block; }
}
@media (max-width: 920px) {
  .dk-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 20px; }
  .dk-side { display: none; }
  .dk-navm { display: block; position: sticky; top: var(--hd); z-index: 10; margin: 0 calc(-1 * var(--gut)) 22px; padding: 10px var(--gut); background: rgba(12, 3, 6, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 var(--line); }
  .dk-navm .dk-nrow { display: flex; gap: 8px; }
  .dk-navm .dk-find { flex: 1; height: 44px; }
  .dk-navm .dk-find kbd { display: none; }
  .dk-navm .dk-mbtn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 14px; background: var(--line); font-size: 14px; font-weight: 600; color: var(--blush); }
  .dk-navm .dk-mbtn[aria-expanded="true"] { background: var(--lift); }
  .dk-navm .dk-mbtn .ic { width: 16px; height: 16px; }
  .dk-navm .dk-mnav { max-height: calc(100vh - var(--hd) - 90px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 10px; }
  .dk-navm .dk-grp a { min-height: 44px; padding-block: 11px; font-size: 15px; }
  /* without the script the contents stay open under the search link, and scroll with the page */
  html:not(.js) .dk-navm { position: static; }
  .dk-two { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .dk-gr { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dk-gr ul { grid-template-columns: minmax(0, 1fr); }
  /* "On this page" folds under the title */
  .dk-tocm { margin-top: 0; box-shadow: inset 0 -1px 0 var(--line); }
}
.dk-tocm summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; list-style: none; cursor: pointer; font-weight: 650; font-size: 14.5px; color: var(--blush); }
.dk-tocm summary::-webkit-details-marker { display: none; }
.dk-tocm summary .ic { width: 16px; height: 16px; color: var(--dust); transition: transform .2s var(--ease-out); }
.dk-tocm[open] summary .ic { transform: rotate(90deg); }
.dk-tocm ol { display: grid; padding-bottom: 12px; }
.dk-tocm a { display: flex; align-items: center; min-height: 44px; padding: 8px 0 8px 14px; font-size: 15px; line-height: 1.4; color: var(--rose); box-shadow: inset 1px 0 0 var(--line); }
@media (max-width: 640px) {
  .dk-art h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .dk-lead { font-size: 17px; }
  .dk-meta .dk-acts { margin-left: 0; width: 100%; }
  .dk-body { font-size: 16px; line-height: 1.68; }
  .dk-body h2 { margin-top: 48px; }
  .dk-anc { display: none; }
  .dk-code pre { padding: 14px 14px 16px; font-size: 12.5px; }
  .dk-ch { padding-left: 14px; }
  .dk-tabs { margin-left: -14px; }
  .dk-tbl.stack thead { display: none; }
  .dk-tbl.stack tr { display: grid; gap: 4px; padding: 12px 0; box-shadow: inset 0 -1px 0 var(--line); }
  .dk-tbl.stack td { padding: 0; box-shadow: none; }
  .dk-tbl.stack td[data-th]::before { content: attr(data-th); display: block; font-size: 12px; font-weight: 650; color: var(--dust); }
  .dk-tbl.stack td code { white-space: normal; overflow-wrap: anywhere; }
  .dk-dl > div, .dk-params > div { grid-template-columns: minmax(0, 1fr); }
  .dk-pnav { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 56px; }
  .dk-pnav .nx { grid-column: 1; }
  .dk-hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .dk-hero .dk-find { height: 50px; }
  .dk-hero .dk-find kbd { display: none; }
  .dk-help-home { margin-top: 56px; margin-bottom: 88px; }
  .dk-sd { padding: 0; align-items: stretch; }
  .dk-sbox { width: 100%; max-height: none; height: 100%; }
  .dk-sft { display: none; }
  .dk-sres a[role="option"] { padding-block: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .dk-sd, .dk-sbox, .dk-lb, .dk-lb img { animation: none; }
  .dk-path1 .ic, .dk-tocm summary .ic { transition: none; }
}
