/* Acira docs: header, section tabs, sidebar, article and page contents, in the site's frosted glass. */
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fff; --t1: #25262b; --t2: rgb(37 38 43 / .68); --t3: rgb(37 38 43 / .48);
  --line: rgb(37 38 43 / .09); --line-2: rgb(37 38 43 / .15); --well: rgb(37 38 43 / .04); --hover: rgb(37 38 43 / .05);
  --acc: #345ec5; --acc-soft: rgb(52 94 197 / .07); --warn: #a15c07; --warn-soft: rgb(190 120 20 / .065); --warn-line: rgb(190 120 20 / .18); --acc-line: rgb(52 94 197 / .16);
  --pop: #fff; --pop-line: rgb(0 0 0 / .08); --pop-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px -6px rgb(0 0 0 / .14), 0 24px 48px -12px rgb(0 0 0 / .16);
  --head: rgb(255 255 255 / .74); --scrim: rgb(20 20 24 / .28); --code: rgb(37 38 43 / .035);
  --glass: rgb(255 255 255 / .78); --glass-ring: rgb(255 255 255 / .6); --glass-field: rgb(255 255 255 / .7); --card: #fff; --card-shadow: 0 1px 2px rgb(12 22 44 / .03); --lift: 0 10px 24px -14px rgb(12 22 44 / .24); --active: rgb(37 38 43 / .07);
  --display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --tab-ease: linear(0,.10848,.22451,.33768,.4423,.53567,.61695,.6864,.74492,.79365,.83386,.8668,.89359,.91527,.93272,.94672,.9579,.96681,.97388,.97948,.98391,.9874,.99015,.9923,.994,.99532,.99636,.99717,.9978,.99829,.99867,.99897,1);
  --rail: 248px; --bar: 56px; --tabs: 0px; --top: calc(var(--bar) + var(--tabs));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #17181b; --t1: #ededef; --t2: #a6a7a9; --t3: #7f8083;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .14); --well: rgb(255 255 255 / .05); --hover: rgb(255 255 255 / .06);
  --acc: #9dbdff; --acc-soft: rgb(157 189 255 / .12); --warn: #f0b768; --warn-soft: rgb(240 183 104 / .1); --warn-line: rgb(240 183 104 / .2); --acc-line: rgb(157 189 255 / .22);
  --pop: #2a2b2e; --pop-line: rgb(255 255 255 / .08); --pop-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -6px rgb(0 0 0 / .5), 0 24px 48px -12px rgb(0 0 0 / .55);
  --head: rgb(23 24 27 / .76); --scrim: rgb(0 0 0 / .45); --code: rgb(255 255 255 / .04);
  --glass: rgb(22 23 26 / .76); --glass-ring: rgb(255 255 255 / .09); --glass-field: rgb(255 255 255 / .07); --card: rgb(255 255 255 / .025); --card-shadow: none; --lift: 0 10px 24px -14px rgb(0 0 0 / .6); --active: rgb(255 255 255 / .1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 24px); }
body { margin: 0; background: var(--bg); color: var(--t1); font: 400 15.5px/26px var(--text); letter-spacing: -.004em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
.i { flex: none; width: 16px; height: 16px; fill: currentColor; }
.d-skip { position: fixed; top: 8px; left: 8px; z-index: 60; padding: 6px 12px; border-radius: 6px; background: var(--t1); color: var(--bg); translate: 0 -200%; }
.d-skip:focus { translate: 0; }
kbd { font: 500 11.5px/18px var(--text); }

/* ---------- header and section tabs ---------- */
.d-head { position: sticky; top: 0; z-index: 40; background: var(--head); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); border-bottom: 1px solid var(--line); }
.d-head-in { display: grid; grid-template-columns: var(--rail) auto minmax(0, 1fr) auto; align-items: center; height: var(--bar); padding-right: 16px; }
.d-brand { display: inline-flex; align-items: center; gap: 11px; padding-left: 18px; }
.d-logo { width: auto; height: 21px; }
.d-logo-w, :root[data-theme="dark"] .d-logo:not(.d-logo-w) { display: none; }
:root[data-theme="dark"] .d-logo-w { display: block; }
.d-brand span { padding-left: 11px; border-left: 1px solid var(--line-2); font: 450 15px/18px var(--text); color: var(--t2); }
.d-find { display: flex; align-items: center; gap: 8px; width: min(100%, 400px); height: 34px; margin-left: 12px; padding: 0 7px 0 11px; border-radius: 9px; background: var(--glass-field); box-shadow: inset 0 0 0 1px var(--line); color: var(--t3); font-size: 14px; text-align: left; transition: background-color 115ms, color 115ms, box-shadow 115ms; }
.d-find:hover { background: var(--glass-field); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); }
.d-find span { flex: 1; }
.d-find kbd { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t3); }
.d-head-end { display: flex; align-items: center; gap: 14px; padding-left: 14px; }
.d-link { font-size: 14px; line-height: 20px; color: var(--t2); white-space: nowrap; transition: color 80ms; }
.d-link:hover { color: var(--t1); }
.d-seg { position: relative; flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: 28px; height: 28px; padding: 2px; border-radius: 7px; background: var(--well); }
.d-seg-th { position: absolute; top: 2px; left: 2px; width: 28px; height: 24px; border-radius: 5px; background: var(--pop); box-shadow: 0 0 0 .5px var(--pop-line), 0 1px 2px rgb(0 0 0 / .1); translate: calc(var(--i, 2) * 28px) 0; transition: translate 210ms var(--expo); }
.d-seg button { position: relative; display: grid; place-items: center; height: 24px; color: var(--t3); transition: color 80ms; }
.d-seg button[aria-checked="true"] { color: var(--t1); }
.d-dl { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 8px; background: var(--t1); color: var(--bg); font: 500 13.5px/1 var(--text); transition: opacity 115ms, translate 210ms var(--expo); }
.d-dl:hover { opacity: .88; translate: 0 -1px; }
.d-tabs { position: relative; display: flex; align-items: center; gap: 2px; height: 34px; padding: 2px; border-radius: 999px; background: var(--well); }
.d-tab { position: relative; display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; line-height: 20px; font-weight: 500; color: var(--t2); transition: color 80ms; }
.d-tab:hover { color: var(--t1); }
.d-tab[aria-current] { color: var(--t1); }
.d-tabsel { position: absolute; left: 0; top: 2px; width: 1px; height: 30px; border-radius: 999px; background: var(--pop); box-shadow: 0 0 0 .5px var(--pop-line), 0 1px 2px rgb(14 22 40 / .1); transform-origin: 0 0; transition: translate calc(.48s * 1.28) var(--tab-ease), width calc(.48s * 1.28) var(--tab-ease); }
.d-tabsel.jump { transition: none; }

/* ---------- sidebar ---------- */
.d-shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: calc(100vh - var(--top)); }
.d-rail { position: sticky; top: var(--top); height: calc(100vh - var(--top)); border-right: 1px solid var(--line); z-index: 30; display: flex; flex-direction: column; }
.d-iconbtn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; color: var(--t2); transition: background-color 80ms, color 80ms; }
.d-iconbtn:hover { background: var(--hover); color: var(--t1); }
.d-rail-head, .d-rail-open, .d-scrim { display: none; }
.d-nav { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 14px 10px 24px; scrollbar-width: thin; scrollbar-color: transparent transparent; overscroll-behavior: contain; }
.d-nav:hover { scrollbar-color: var(--line-2) transparent; }
.d-sel { position: absolute; left: 10px; right: 10px; top: 0; height: 30px; border-radius: 7px; background: var(--active); opacity: 0; pointer-events: none; transition: translate calc(.48s * 1.28) var(--tab-ease), opacity .12s; }
.d-sel.on { opacity: 1; }
.d-sel.jump { transition: none; }
.d-group + .d-group { margin-top: 16px; }
.d-group h2 { margin: 0 0 2px; padding: 0 8px; font: 500 12.5px/22px var(--text); letter-spacing: -.002em; color: var(--t3); }
.d-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 8px; border-radius: 7px; font-size: 13.5px; line-height: 20px; color: var(--t2); transition: background-color 80ms, color 80ms; }
.d-row:hover { background: var(--hover); color: var(--t1); }
.d-row[aria-current] { color: var(--t1); font-weight: 500; }
.d-row[aria-current]:hover { background: none; color: var(--t1); }
.d-row span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.d-row em { margin-left: auto; padding: 0 5px; border-radius: 4px; background: var(--acc-soft); color: var(--acc); font: 500 11px/17px var(--text); font-style: normal; }
[data-section="guides"] .d-group:not([data-section="guides"]), [data-section="developers"] .d-group:not([data-section="developers"]), [data-section="help"] .d-group:not([data-section="help"]) { display: none; }

/* ---------- page ---------- */
.d-main { min-width: 0; display: flex; flex-direction: column; }
.d-body { flex: 1; display: grid; grid-template-columns: minmax(0, 760px) 208px; justify-content: center; gap: clamp(24px, 3vw, 48px); width: 100%; padding: 28px clamp(20px, 3vw, 40px) 48px; }
[data-home] .d-body { grid-template-columns: minmax(0, 1200px); padding-top: 16px; }
[data-home] .d-toc { display: none; }
.d-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 14px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--t3); }
.d-foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.d-foot-brand .d-logo { height: 18px; }
.d-foot a { margin-left: 18px; transition: color 80ms; }
.d-foot a:first-child { margin-left: 0; }
.d-foot a:hover { color: var(--t1); }

/* on this page */
.d-toc { position: sticky; top: calc(var(--top) + 24px); align-self: start; max-height: calc(100vh - var(--top) - 40px); overflow-y: auto; scrollbar-width: none; font-size: 12.5px; line-height: 18px; }
.d-toc > h2 { margin: 0 0 6px; font: 500 12.5px/20px var(--text); color: var(--t3); letter-spacing: -.002em; }
.d-toc ul { position: relative; display: grid; border-left: 1px solid var(--line); }
.d-toc-bar { position: absolute; left: 0; top: 0; width: 2px; height: 18px; border-radius: 1px; background: var(--acc); opacity: 0; transition: translate 240ms var(--expo), height 240ms var(--expo), opacity .15s; }
.d-toc-bar.on { opacity: 1; }
.d-toc li a { display: block; padding: 3.5px 0 3.5px 12px; color: var(--t2); transition: color 80ms; text-wrap: pretty; }
.d-toc .l3 a { padding-left: 22px; color: var(--t3); }
.d-toc li a:hover { color: var(--t1); }
.d-toc li a.on { color: var(--acc); }
.d-toc-tools { display: grid; justify-items: start; gap: 2px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.d-toc-tools > * { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 22px; color: var(--t3); transition: color 80ms; }
.d-toc-tools > *:hover { color: var(--t1); }
.d-toc-tools .i { width: 14px; height: 14px; }

/* the article */
.d-doc { min-width: 0; outline: none; }
.d-crumb { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13px; line-height: 20px; color: var(--t3); }
.d-crumb a { transition: color 80ms; }
.d-crumb a:hover { color: var(--t1); }
.d-crumb a:last-child { color: var(--t2); }
.d-crumb .i { width: 10px; height: 10px; }
.d-doc h1 { margin: 0 0 10px; font: 560 clamp(28px, 2.8vw, 36px)/1.14 var(--display); font-feature-settings: "cv11", "ss03"; letter-spacing: -.034em; text-wrap: balance; }
.d-doc .lead { margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 26px; color: var(--t2); letter-spacing: -.01em; text-wrap: pretty; }
.d-doc h2 { position: relative; margin: 32px 0 8px; font: 560 21px/28px var(--display); font-feature-settings: "cv11", "ss03"; letter-spacing: -.026em; text-wrap: balance; }
.d-doc h3 { position: relative; margin: 22px 0 6px; font: 540 16.5px/24px var(--display); font-feature-settings: "cv11", "ss03"; letter-spacing: -.016em; text-wrap: balance; }
.d-doc .lead + h2 { margin-top: 0; }
.d-doc .d-call + h2 { margin-top: 28px; }
.d-a { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; vertical-align: -3px; border-radius: 5px; color: var(--t3); opacity: 0; transition: opacity 115ms, background-color 80ms; }
.d-a .i { width: 14px; height: 14px; }
h2:hover > .d-a, h3:hover > .d-a, .d-a:focus-visible { opacity: 1; }
.d-a:hover { background: var(--hover); color: var(--t1); }
.d-doc p { margin: 0 0 12px; text-wrap: pretty; }
.d-doc p, .d-doc li { color: color-mix(in srgb, var(--t1) 86%, transparent); }
.d-doc b, .d-doc strong { font-weight: 550; color: var(--t1); }
.d-doc em { font-style: italic; }
.d-doc p a, .d-doc li a, .d-doc td a, .d-call a { color: var(--acc); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--acc) 32%, transparent); text-underline-offset: 3px; transition: text-decoration-color 115ms; }
.d-doc p a:hover, .d-doc li a:hover, .d-doc td a:hover, .d-call a:hover { text-decoration-color: currentColor; }
.d-doc ul:not(.plain), .d-doc ol:not(.steps) { margin: 0 0 14px; display: grid; gap: 4px; }
.d-doc ul:not(.plain) > li { position: relative; padding-left: 22px; }
.d-doc ul:not(.plain) > li::before { content: ""; position: absolute; left: 6px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.d-doc ol:not(.steps) { counter-reset: n; }
.d-doc ol:not(.steps) > li { position: relative; padding-left: 26px; counter-increment: n; }
.d-doc ol:not(.steps) > li::before { content: counter(n) "."; position: absolute; left: 2px; color: var(--t3); font-variant-numeric: tabular-nums; }
.d-doc ul:not(.plain), .d-doc ol { grid-template-columns: minmax(0, 1fr); }
.d-doc ol.steps { counter-reset: s; display: grid; margin: 2px 0 16px; }
.d-doc ol.steps > li { position: relative; padding: 0 0 12px 36px; counter-increment: s; }
.d-doc ol.steps > li:last-child { padding-bottom: 0; }
.d-doc ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font: 500 12.5px/1 var(--text); font-variant-numeric: tabular-nums; }
.d-doc ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 11.5px; top: 26px; bottom: -1px; width: 1px; background: var(--line-2); }
.d-doc kbd { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2); color: var(--t1); font: 500 12.5px/21px var(--text); text-align: center; white-space: nowrap; }
.d-doc code { padding: 2px 5px; border-radius: 5px; background: var(--well); font: 400 13.5px/1.5 var(--mono); word-break: break-word; }
.d-pre { position: relative; margin: 0 0 14px; }
.d-doc pre { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--code); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.d-pre pre { margin: 0; }
.d-doc pre code { padding: 0; background: none; font: 400 13px/21px var(--mono); word-break: normal; white-space: pre; }
.d-copy { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2); color: var(--t2); opacity: 0; transition: opacity 115ms, color 80ms; }
.d-pre:hover .d-copy, .d-copy:focus-visible, .d-copy.done { opacity: 1; }
.d-copy:hover { color: var(--t1); }
.d-copy.done { color: var(--acc); }
.d-doc .path { display: inline; padding: 2px 7px; border-radius: 5px; background: var(--well); font: 500 14px/22px var(--text); color: var(--t1); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.d-table { margin: 2px 0 16px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); overflow-x: auto; }
.d-doc table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px; }
.d-doc th { padding: 7px 12px; border-bottom: 1px solid var(--line); background: var(--well); font-size: 12.5px; line-height: 18px; font-weight: 500; color: var(--t2); text-align: left; white-space: nowrap; }
.d-doc td { padding: 7px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: color-mix(in srgb, var(--t1) 86%, transparent); }
.d-doc tr:last-child td { border-bottom: 0; }
.d-doc td:first-child { color: var(--t1); }
.d-doc td kbd { font-size: 12px; }
.d-call { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; margin: 14px 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 23px; }
.d-call-i { margin-top: 3.5px; color: var(--t2); }
.d-call b { display: block; font-weight: 550; }
.d-call p { margin: 0; }
.d-call p + p { margin-top: 6px; }
.d-call ul { margin: 4px 0 0 !important; }
.d-call.tip, .d-call.beta { background: var(--acc-soft); box-shadow: inset 0 0 0 1px var(--acc-line); }
.d-call.tip .d-call-i, .d-call.beta .d-call-i { color: var(--acc); }
.d-call.warn { background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn-line); }
.d-call.warn .d-call-i { color: var(--warn); }
.d-updated { margin: 28px 0 0 !important; font-size: 13px; line-height: 20px; color: var(--t3) !important; }
.d-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.d-pn a { display: grid; gap: 0; padding: 10px 14px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); transition: box-shadow 160ms, translate 210ms var(--expo); }
.d-pn a:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--lift); translate: 0 -1px; }
.d-pn small { font-size: 12.5px; line-height: 18px; color: var(--t3); }
.d-pn b { display: flex; align-items: center; gap: 6px; font: 500 14.5px/21px var(--text); color: var(--t1); }
.d-pn b .i { width: 11px; height: 11px; transition: translate 210ms var(--expo); }
.d-pn-n { text-align: right; }
.d-pn-n b { justify-content: flex-end; }
.d-pn-n:hover .i { translate: 2px 0; }
.d-pn-p:hover .i { translate: -2px 0; }

/* ---------- the docs home ---------- */
.d-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(260px, 22vw, 320px); padding: clamp(10px, 1.2vw, 16px); border-radius: 16px; overflow: hidden; background: var(--well); }
.d-hero > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.d-hero-panel { width: min(100%, 500px); padding: 18px 20px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(28px) saturate(125%); backdrop-filter: blur(28px) saturate(125%); box-shadow: inset 0 0 0 1px var(--glass-ring), 0 18px 44px -20px rgb(12 22 44 / .45); }
[data-home] .d-doc h1 { margin-bottom: 6px; font-size: clamp(26px, 2.6vw, 32px); }
[data-home] .d-doc .lead { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; font-size: 14.5px; line-height: 22px; color: color-mix(in srgb, var(--t1) 80%, transparent); }
.d-bigfind { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 8px 0 12px; border-radius: 10px; background: var(--glass-field); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t2); font-size: 14px; text-align: left; transition: background-color 115ms, box-shadow 115ms, color 115ms; }
.d-bigfind:hover { box-shadow: inset 0 0 0 1px var(--t3); color: var(--t1); }
.d-bigfind span { flex: 1; }
.d-bigfind kbd { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.d-doc .d-home-h { margin: 22px 0 10px; font-size: 16.5px; line-height: 24px; letter-spacing: -.014em; }
.d-tile { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); color: var(--t1); }
.d-starts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.d-start { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 10px; padding: 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); transition: box-shadow 160ms, translate 210ms var(--expo); }
.d-start:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--lift); translate: 0 -2px; }
.d-start .d-tile { grid-row: span 2; }
.d-start b { font: 500 14px/20px var(--text); }
.d-start small { font-size: 12.5px; line-height: 18px; color: var(--t2); text-wrap: balance; }
.d-topics { columns: 3 300px; column-gap: 10px; }
.d-topic { break-inside: avoid; margin-bottom: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.d-topic header { display: flex; align-items: center; gap: 10px; }
.d-doc .d-topic h3 { margin: 0; font: 500 14.5px/20px var(--text); letter-spacing: -.008em; }
.d-doc .d-topic p { margin: 6px 0 6px; font-size: 13px; line-height: 19px; color: var(--t2); }
.d-doc .d-topic ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin: 0; }
.d-doc .d-topic ul:not(.plain) > li { padding: 0; font-size: 13px; line-height: 19px; }
.d-doc .d-topic ul:not(.plain) > li::before { content: none; }
.d-doc .d-topic li a { display: block; padding: 2px 0; color: var(--t2); text-decoration: none; transition: color 80ms; }
.d-doc .d-topic li a:hover { color: var(--acc); }
.d-about { margin-top: 28px; padding-top: 4px; border-top: 1px solid var(--line); }
.d-about > .d-call:first-child { margin-top: 20px; }

/* ---------- search. The frost is on the sheet, not the scrim: a blurred scrim would stop the sheet seeing the page behind it ---------- */
.d-pal-wrap { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: center; align-items: flex-start; padding: min(12vh, 110px) 16px 16px; background: var(--scrim); }
.d-pal { display: flex; flex-direction: column; width: min(620px, 100%); max-height: min(72vh, 580px); padding: 6px; border-radius: 14px; background: color-mix(in srgb, var(--pop) 76%, transparent); -webkit-backdrop-filter: blur(32px) saturate(140%); backdrop-filter: blur(32px) saturate(140%); box-shadow: 0 0 0 1px var(--pop-line), var(--pop-shadow); }
.d-pal-head { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 10px; flex: none; border-radius: 9px; background: var(--glass-field); color: var(--t2); }
.d-pal-head input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--t1); font: 400 15px/20px var(--text); }
.d-pal-head input::placeholder { color: var(--t3); }
.d-pal-head kbd { color: var(--t3); }
.d-pal-list { flex: 1; min-height: 0; overflow-y: auto; padding-top: 4px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.d-pal-band { padding: 8px 10px 4px; font-size: 12.5px; line-height: 18px; color: var(--t3); }
.d-pal-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 44px; padding: 5px 8px; border-radius: 8px; }
.d-pal-row[aria-selected="true"] { background: var(--hover); }
.d-pal-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: var(--well); color: var(--t2); }
.d-pal-row b { display: block; overflow: hidden; font: 500 14px/20px var(--text); white-space: nowrap; text-overflow: ellipsis; }
.d-pal-row small { display: block; overflow: hidden; font-size: 12.5px; line-height: 18px; color: var(--t2); white-space: nowrap; text-overflow: ellipsis; }
.d-pal-row mark { background: none; color: var(--t1); font-weight: 500; }
.d-pal-none { padding: 28px 10px; font-size: 14px; color: var(--t2); text-align: center; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) { .d-body { grid-template-columns: minmax(0, 800px); } .d-toc { display: none; } .d-link { display: none; } .d-starts { grid-template-columns: repeat(2, minmax(0, 1fr)); } :root { --rail: 224px; } .d-head-end { gap: 8px; } }
@media (max-width: 860px) {
  :root { --bar: 54px; --tabs: 0px; --rail: 0px; }
  .d-head-in { display: flex; gap: 8px; padding: 0 12px; }
  .d-rail-open { display: grid; flex: none; margin-left: -4px; }
  .d-head-in > .d-brand { padding-left: 0; }
  .d-head-in > .d-brand span { display: none; }
  .d-hero { min-height: 230px; }
  .d-find { flex: 1; margin-left: 4px; width: auto; min-width: 0; }
  .d-find kbd { display: none; }
  .d-head-end { padding-left: 0; gap: 8px; }
  .d-seg { display: none; }
  .d-dl span { display: none; }
  .d-dl { padding: 0; width: 36px; justify-content: center; }
  .d-tabs { display: none; }
  .d-shell { grid-template-columns: minmax(0, 1fr); }
  .d-rail { position: fixed; top: 0; left: 0; bottom: 0; width: min(310px, 86vw); height: auto; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); visibility: hidden; translate: -100% 0; box-shadow: var(--pop-shadow); transition: translate 180ms cubic-bezier(.2, 0, 0, 1), visibility 0s 180ms; }
  .rail-open .d-rail { visibility: visible; translate: 0; transition: translate 315ms var(--expo); }
  .d-rail-head { display: flex; flex: none; align-items: center; justify-content: space-between; height: 54px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
  .d-rail-head .d-brand { padding-left: 0; }
  [data-section] .d-group:not(#x) { display: block; }
  .d-scrim { display: block; position: fixed; inset: 0; z-index: 45; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity 180ms; }
  .rail-open .d-scrim { opacity: 1; pointer-events: auto; }
  .d-body { padding-top: 24px; }
  body { font-size: 15.5px; line-height: 27px; }
}
@media (max-width: 480px) { .d-pn { grid-template-columns: minmax(0, 1fr); } .d-pal-wrap { padding-top: 12px; } .d-starts { grid-template-columns: minmax(0, 1fr); } .d-doc .d-topic ul { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media print { .d-head, .d-rail, .d-toc, .d-foot, .d-pn { display: none; } .d-shell, .d-body { display: block; } }
