/* Docs as a docs site (M431, templates/docs-site.php): its own header with the wiki switch, the wiki's pages down
   the side, nested, the page in the middle and On this page on the right; the index; the search box over the page.
   Every colour is the site's own token, so dark mode and a site's own colours follow. Prefix ds-. */
.ds-body { background: var(--bg); color: var(--ink); }
.ds-head { position: sticky; top: var(--staff-bar-h, 0px); z-index: 40; display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: 20px; height: 60px; padding: 0 20px; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.ds-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.ds-brand img { height: 28px; width: auto; }
.ds-brand__tile { width: 26px; height: 26px; border-radius: 7px; background: var(--gold-grad, var(--gold)); flex: none; }
.ds-brand b { font: 800 17px var(--font-display); white-space: nowrap; }
.ds-brand span { padding-left: 10px; border-left: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ds-head__r { justify-self: end; display: inline-flex; align-items: center; gap: 12px; }
.ds-back { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.ds-back:hover { text-decoration: underline; }
.ds-theme { position: relative; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--card, var(--bg)); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ds-theme svg { width: 17px; height: 17px; }
.ds-find { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--card, var(--bg)); color: var(--muted); cursor: text; }
.ds-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.ds-find kbd { font: 11px ui-monospace, monospace; padding: 1px 6px; border: 1px solid var(--border); border-radius: 5px; color: var(--muted); }
.ds-find:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in oklab, var(--blue) 18%, transparent); }

/* The guide's three columns. */
.ds { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: calc(100vh - 60px); }
.ds--aside { grid-template-columns: 280px minmax(0, 1fr) 240px; }
.ds--no-tree { grid-template-columns: minmax(0, 1fr); }
.ds--no-tree.ds--aside { grid-template-columns: minmax(0, 1fr) 240px; }
.ds-tree { border-right: 1px solid var(--border); background: var(--surface); }
.ds-tree__btn { display: none; }
.ds-tree__in { position: sticky; top: calc(var(--staff-bar-h, 0px) + 60px); max-height: calc(100vh - 60px - var(--staff-bar-h, 0px)); overflow: auto; padding: 22px 14px 40px; }
.ds-tree__g { margin-bottom: 18px; }
.ds-tree__t { display: block; padding: 4px 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
a.ds-tree__t:hover, .ds-tree__t.is-on { color: var(--ink); }
.ds-tree__s summary { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; font-size: 14.5px; color: var(--ink); cursor: pointer; list-style: none; }
.ds-tree__s summary::-webkit-details-marker { display: none; }
.ds-tree__s summary:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.ds-tree__s summary svg { flex: none; color: var(--muted); transition: transform .15s; }
.ds-tree__s[open] summary svg { transform: rotate(90deg); }
.ds-tree__s a, .ds-tree__x { display: block; margin: 1px 0; padding: 6px 10px 6px 28px; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; opacity: .86; }
.ds-tree__x { padding-left: 8px; }
.ds-tree__s a:hover, .ds-tree__x:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); opacity: 1; }
.ds-tree__s a.is-on, .ds-tree__x.is-on { background: color-mix(in oklab, var(--blue) 12%, transparent); color: var(--blue); font-weight: 700; opacity: 1; }
.ds-main { min-width: 0; padding: 28px 48px 80px; max-width: 820px; }
.ds--no-tree .ds-main { margin: 0 auto; }
.ds-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ds-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ds-crumb a { color: inherit; text-decoration: none; }
.ds-crumb a:hover { color: var(--ink); text-decoration: underline; }
.ds-crumb svg { opacity: .6; }
.ds-acts { display: inline-flex; gap: 8px; flex: none; }
.ds-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--card, var(--bg)); font: 600 14px var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; }
.ds-btn--sm { height: 32px; padding: 0 11px; font-size: 13px; }
.ds-btn:hover { border-color: color-mix(in oklab, var(--ink) 30%, var(--border)); }
.ds-btn--go { background: var(--blue); border-color: var(--blue); color: #fff; }
.ds-btn--go:hover { border-color: var(--blue); filter: brightness(1.05); }
.ds-guide h1, .ds-h1 { margin: 18px 0 6px; font: 800 clamp(30px, 3.6vw, 40px)/1.12 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.ds-meta { margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }
.ds-lede { margin: 0 0 24px; font-size: 17px; color: var(--muted); }
.ds-lede a { color: var(--blue); }
.ds-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.ds-pn a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-card, 14px); text-decoration: none; background: var(--card, var(--bg)); }
.ds-pn a:hover { border-color: var(--blue); }
.ds-pn small { font-size: 12.5px; color: var(--muted); }
.ds-pn b { font: 700 17px var(--font-display); color: var(--blue); }
.ds-pn__n { text-align: right; grid-column: 2; }
.ds-aside { padding: 34px 20px 40px 0; }
.ds-aside > * { position: sticky; top: calc(var(--staff-bar-h, 0px) + 92px); }
.ds-toc { display: grid; gap: 2px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.ds-toc b { margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ds-toc a { padding: 5px 0 5px 12px; border-left: 2px solid var(--border); font-size: 14px; color: var(--muted); text-decoration: none; }
.ds-toc a.ds-toc--3 { padding-left: 24px; }
.ds-toc a:hover { color: var(--ink); }
.ds-toc a.is-on { border-left-color: var(--blue); color: var(--blue); font-weight: 600; }
.ds-ok { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.ds-ok__b { display: flex; gap: 8px; }
.ds-ok small { font-size: 13px; color: var(--ink); }
.ds-sec { display: grid; gap: 8px; margin: 0 0 30px; }
.ds-sec h2 { margin: 6px 0 4px; font: 800 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ds-sec a { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; background: var(--card, var(--bg)); }
.ds-sec a:hover { border-color: var(--blue); }
.ds-sec b { font-size: 16px; color: var(--ink); }
.ds-sec small { font-size: 14px; color: var(--muted); }
/* The index (M505): the wikis down the side as a page's tree is, the start on the left, the wikis as cards
   (rows past four), the latest pages and releases as two panels. */
.ds-ix { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; }
.ds-ix--solo { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.ds-ix__rail { position: sticky; top: calc(var(--staff-bar-h, 0px) + 76px); align-self: start; padding: 32px 0 24px; display: grid; gap: 22px; }
.ds-ix__rail h2 { margin: 0 0 6px; padding: 0 10px; font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ds-ix__rail a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.ds-ix__rail a:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.ds-ix__rail a svg { flex: none; width: 16px; height: 16px; color: var(--muted); }
.ds-ix__rail a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-ix__rail a small { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.ds-ix__main { padding: 40px 0 0; min-width: 0; }
.ds-ix__intro h1 { margin: 0 0 6px; font: 800 36px/1.1 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.ds-ix__intro > p { margin: 0 0 20px; font-size: 16.5px; color: var(--muted); }
.ds-find--big { height: 52px; border-radius: 12px; box-shadow: 0 6px 20px color-mix(in oklab, var(--ink) 6%, transparent); }
.ds-find--big input { font-size: 16px; }
.ds-pop { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; overflow-x: auto; scrollbar-width: none; }
.ds-pop::-webkit-scrollbar { display: none; }
.ds-pop > span { flex: none; margin-right: 2px; font-size: 13.5px; color: var(--muted); }
.ds-pop a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--card, var(--bg)); }
.ds-pop a svg { color: var(--blue); }
.ds-pop a:hover { border-color: var(--blue); }
.ds-ix__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 14px; }
.ds-ix__h h2 { margin: 0; font: 800 20px var(--font-display); color: var(--ink); }
.ds-ix__h small { font-size: 14px; color: var(--muted); }
.ds-ix__ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in oklab, var(--blue) 12%, transparent); color: var(--blue); }
.ds-ix__name { display: grid; gap: 2px; min-width: 0; }
.ds-ix__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ds-ix__card { display: flex; flex-direction: column; padding: 20px 22px 16px; border: 1px solid var(--border); border-radius: var(--r-card, 16px); background: var(--card, var(--bg)); }
.ds-ix__top { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.ds-ix__top b { font: 800 18px var(--font-display); }
.ds-ix__top:hover b { color: var(--blue); }
.ds-ix__top small { display: none; }
.ds-ix__top em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ds-ix__card > p { margin: 10px 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ds-ix__card ul { list-style: none; margin: 12px 0 4px; padding: 0; border-top: 1px solid var(--border); }
.ds-ix__card > p + ul { margin-top: 0; }
.ds-ix__card li a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); font-size: 15px; color: var(--ink); text-decoration: none; }
.ds-ix__card li a svg { flex: none; color: var(--muted); }
.ds-ix__card li a:hover, .ds-ix__card li a:hover svg { color: var(--blue); }
.ds-ix__open { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; }
.ds-ix__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ds-ix__row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card, var(--bg)); color: var(--ink); text-decoration: none; }
.ds-ix__row:hover { border-color: var(--blue); }
.ds-ix__row .ds-ix__name { flex: 1; }
.ds-ix__row b { font: 800 16px var(--font-display); }
.ds-ix__row small { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-ix__row em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ds-ix__row > svg { flex: none; color: var(--muted); }
.ds-ix__lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.ds-ix__panel { border: 1px solid var(--border); border-radius: var(--r-card, 16px); background: var(--card, var(--bg)); overflow: hidden; }
.ds-ix__panel header { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.ds-ix__panel header b { font: 800 16px var(--font-display); color: var(--ink); }
.ds-ix__panel > a { display: flex; align-items: baseline; gap: 12px; padding: 11px 18px; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); text-decoration: none; }
.ds-ix__panel > a:last-child { border-bottom: 0; }
.ds-ix__panel > a b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ds-ix__panel > a:hover b { color: var(--blue); }
.ds-ix__panel > a small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ds-ix__panel > a i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--blue); background: color-mix(in oklab, var(--blue) 10%, transparent); padding: 1px 7px; border-radius: 6px; }
.ds-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--r-card, 16px); background: color-mix(in oklab, var(--blue) 5%, var(--card, var(--bg))); }
.ds-help h2 { margin: 0 0 2px; font: 800 17px var(--font-display); color: var(--ink); }
.ds-help p { margin: 0; font-size: 14.5px; color: var(--muted); }
.ds-help > span { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }

/* A wiki's What's new (M506): what is coming, then each release on a line of time. */
.ds-tree__news { display: flex !important; align-items: center; gap: 8px; }
.ds-tree__news svg { flex: none; color: var(--muted); }
.ds-tree__news.is-on svg { color: var(--blue); }
.ds-tree__news small { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--blue); }
.ds-wn-h { display: flex; align-items: baseline; gap: 10px; margin: 34px 0 12px; font: 800 20px var(--font-display); color: var(--ink); }
.ds-wn-h small { font: 600 13.5px var(--font-body); color: var(--muted); }
.ds-wn-list { border: 1px solid var(--border); border-radius: var(--r-card, 16px); background: var(--card, var(--bg)); overflow: hidden; }
.ds-wn-it { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3px 14px; align-items: baseline; padding: 15px 18px; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); }
.ds-wn-it:last-child { border-bottom: 0; }
.ds-wn-dot { grid-row: 1 / 3; align-self: start; margin-top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--ink) 35%, transparent); }
.ds-wn-it--doing .ds-wn-dot { border: 0; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in oklab, var(--blue) 18%, transparent); }
.ds-wn-it b { grid-column: 2; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.ds-wn-it b small { margin-left: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ds-wn-it--doing b small { color: var(--blue); }
.ds-wn-it em { grid-column: 3; grid-row: 1; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ds-wn-it p { grid-column: 2 / 4; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ds-wn-rel { position: relative; padding-left: 26px; }
.ds-wn-rel::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.ds-wn-v { position: relative; padding: 0 0 26px; scroll-margin-top: 90px; }
.ds-wn-v::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; background: var(--card, var(--bg)); border: 2px solid var(--blue); }
.ds-wn-h + .ds-wn-rel > .ds-wn-v:first-child::before { background: var(--blue); }
.ds-wn-v__h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.ds-wn-v__h code { font: 700 13px ui-monospace, Menlo, monospace; padding: 3px 8px; border-radius: 7px; background: var(--ink); color: var(--bg); }
.ds-wn-v__h span { font-size: 13.5px; color: var(--muted); }
.ds-wn-v__h a { margin-left: auto; display: inline-flex; color: var(--muted); }
.ds-wn-v__h a:hover { color: var(--blue); }
.ds-wn-v h3 { margin: 8px 0 6px; font: 800 17px var(--font-display); color: var(--ink); }
.ds-wn-v .at-text { font-size: 15px; }
.ds-wn-older > summary { list-style: none; width: max-content; }
.ds-wn-older > summary::-webkit-details-marker { display: none; }
.ds-wn-older[open] > summary { display: none; }

/* Searching (M420): a box over the dimmed page, the help centre's guides alone. */
.ds-spot { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding: 10vh 16px 16px; background: color-mix(in oklab, #0b1220 45%, transparent); backdrop-filter: blur(4px); }
.ds-spot[hidden] { display: none; }
.ds-spot__box { width: min(620px, 100%); border-radius: 16px; background: var(--card, var(--bg)); box-shadow: 0 30px 70px rgba(5, 12, 30, .35); overflow: hidden; animation: ds-rise .18s ease-out; }
@keyframes ds-rise { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ds-spot__box { animation: none; } }
.ds-spot__f { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px; border-bottom: 1px solid var(--border); color: var(--muted); }
.ds-spot__f input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16.5px; color: var(--ink); }
.ds-spot__f kbd { font: 11px ui-monospace, monospace; padding: 1px 6px; border: 1px solid var(--border); border-radius: 5px; }
.ds-spot__l { max-height: 52vh; overflow: auto; }
.ds-spot__r { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink); }
.ds-spot__r b { font-size: 15.5px; }
.ds-spot__r small { font-size: 12.5px; color: var(--muted); }
.ds-spot__r span { font-size: 14px; color: var(--ink); opacity: .85; }
.ds-spot__r mark { background: color-mix(in oklab, var(--blue) 20%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.ds-spot__r.is-on { background: color-mix(in oklab, var(--blue) 9%, transparent); }
.ds-spot__none { margin: 0; padding: 18px 16px; color: var(--muted); font-size: 14px; }
.ds-spot__ft { display: flex; gap: 16px; padding: 10px 16px; font-size: 12.5px; color: var(--muted); }
.ds-spot__ft a { margin-left: auto; color: var(--blue); text-decoration: none; }

.ds-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ds-switch { position: relative; }
.ds-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 5px 10px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--card, var(--bg)); cursor: pointer; list-style: none; }
.ds-item::-webkit-details-marker { display: none; }
.ds-item svg { color: var(--muted); transition: transform .15s; }
.ds-switch[open] .ds-item svg { transform: rotate(180deg); }
.ds-switch__l { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; width: 300px; max-height: 60vh; overflow: auto; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--card, var(--bg)); box-shadow: 0 18px 40px -18px rgba(11, 18, 32, .35); }
.ds-switch__l a { display: grid; gap: 2px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.ds-switch__l a:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); }
.ds-switch__l a.is-on { background: color-mix(in oklab, var(--blue) 10%, transparent); }
.ds-switch__l b { font-size: 14.5px; }
.ds-switch__l small { font-size: 13px; color: var(--muted); }
.ds-switch__l .ds-switch__all { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 700; color: var(--blue); }

/* The wiki's tree, nested as its pages sit (M431). */
.ds-leaf, .ds-br { position: relative; }
.ds-n { display: block; margin: 1px 0; padding: 6px 10px 6px calc(28px + var(--d, 0) * 16px); border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; opacity: .88; }
.ds-n:hover { background: color-mix(in oklab, var(--ink) 5%, transparent); opacity: 1; }
.ds-n.is-on { background: color-mix(in oklab, var(--blue) 12%, transparent); color: var(--blue); font-weight: 700; opacity: 1; }
.ds-br > summary { position: absolute; top: 0; left: calc(6px + var(--d, 0) * 16px); z-index: 1; width: 22px; height: 31px; display: grid; place-items: center; color: var(--muted); cursor: pointer; list-style: none; border-radius: 6px; }
.ds-br > summary::-webkit-details-marker { display: none; }
.ds-br > summary:hover { color: var(--ink); }
.ds-br > summary svg { transition: transform .15s; }
.ds-br[open] > summary svg { transform: rotate(90deg); }
.ds-br:not([open]) > .ds-br__k { display: none; }
.ds-draft { display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: 6px; font: 700 12px var(--font-body); letter-spacing: .04em; color: var(--muted); border: 1px solid var(--border); }
.ds-sec__l { margin: -4px 0 8px; font-size: 14.5px; color: var(--muted); }
.ds-sec h2 a { display: inline; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; text-decoration: none; }
.ds-sec h2 a:hover { color: var(--blue); }
.ds-none { text-align: center; }

/* A page's Support guides, at its end (M431). */
.ds-sup { margin-top: 34px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-card, 14px); background: var(--surface); }
.ds-sup b { display: block; margin-bottom: 8px; font: 800 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ds-sup a { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.ds-sup a:hover { color: var(--blue); }
.ds-kids { margin-top: 30px; }

@media (max-width: 1180px) {
  .ds--aside { grid-template-columns: 260px minmax(0, 1fr); }
  .ds--aside .ds-aside { grid-column: 2; padding: 0 48px 50px; }
  .ds-aside > * { position: static; }
  .ds-main { padding: 28px 32px 30px; }
}
@media (max-width: 860px) {
  .ds-head { grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 56px; padding: 8px 16px; }
  .ds-find--head { grid-column: 1 / -1; grid-row: 2; margin-bottom: 4px; }
  .ds-head__gap { display: none; }
  .ds-back { display: none; }
  .ds-brand b { display: none; }
  .ds-switch__l { width: min(300px, calc(100vw - 32px)); }
  .ds, .ds--aside, .ds--no-tree, .ds--no-tree.ds--aside { grid-template-columns: minmax(0, 1fr); }
  .ds-tree { border-right: 0; border-bottom: 1px solid var(--border); }
  .ds-tree__btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; border: 0; background: none; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; }
  .ds-tree__in { display: none; position: static; max-height: none; padding: 0 12px 16px; }
  .ds-tree.is-open .ds-tree__in { display: block; }
  .ds-main { padding: 20px 16px 24px; }
  .ds--aside .ds-aside { grid-column: auto; padding: 0 16px 40px; }
  .ds-top { flex-direction: column; }
  .ds-ix { grid-template-columns: 1fr; gap: 0; padding: 0 16px 48px; }
  .ds-ix__rail { display: none; }
  .ds-ix__main { padding-top: 24px; }
  .ds-ix__intro h1 { font-size: 30px; }
  .ds-ix__intro > p { font-size: 15.5px; margin-bottom: 16px; }
  .ds-find--big { height: 48px; }
  .ds-find--big kbd { display: none; }
  .ds-pop { margin-right: -16px; padding-right: 16px; }
  .ds-ix__h { margin: 30px 0 12px; }
  .ds-ix__cards, .ds-ix__rows, .ds-ix__lists { grid-template-columns: 1fr; gap: 10px; }
  .ds-ix__card { padding: 0; border-radius: 14px; }
  .ds-ix__top { padding: 14px 16px; }
  .ds-ix__top .ds-ix__name { flex: 1; }
  .ds-ix__top small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
  .ds-ix__top em { display: none; }
  .ds-ix__top::after { content: ''; width: 14px; height: 14px; flex: none; background: currentColor; opacity: .45; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
  .ds-ix__card > p, .ds-ix__card ul, .ds-ix__open { display: none; }
  .ds-ix__row em { display: none; }
  .ds-ix__panel > a { display: grid; gap: 2px; }
  .ds-ix__panel--log > a { grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
  .ds-ix__panel--log > a small { grid-column: 2; }
  .ds-ix__panel--log > a b:first-child { grid-column: 1 / -1; }
  .ds-help { flex-direction: column; align-items: flex-start; padding: 18px; }
  .ds-wn-it { grid-template-columns: auto minmax(0, 1fr); }
  .ds-wn-it em { grid-column: 2; grid-row: 3; font-size: 13px; }
  .ds-wn-it p { grid-column: 2; }
  .ds-pn { grid-template-columns: 1fr; }
  .ds-pn__n { grid-column: auto; }
}
@media (min-width: 861px) and (max-width: 1100px) { .ds-ix { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; } .ds-ix__cards, .ds-ix__rows, .ds-ix__lists { grid-template-columns: 1fr; } }
