/* ── Developer docs theme ──────────────────────────────
   Dark, code-themed surface for developer.synup.com.

   SYNUP-DESIGN-SYSTEM.md §7: developer/API/MCP pages are deliberately dark and
   must not be harmonised back to light. Orange reads 6.37:1 on ink, so this is
   the one surface where it can carry accents, active states and method chips.
   Blue is retired system-wide — method chips lean warm, not dev-tool blue.

   Every colour below is a token so a light theme stays a swap, not a rewrite.
   ───────────────────────────────────────────────────── */
:root {
  --docs-bg: #131110;
  --docs-surface: #1C1917;
  --docs-surface-2: #232020;
  --docs-line: #2E2A28;
  --docs-line-soft: #262322;

  --docs-fg: #F6F2ED;
  --docs-fg-2: #CFC7BD;
  --docs-muted: #A8A29E;

  --docs-accent: #FF731E;          /* 6.37:1 on --docs-surface */
  --docs-accent-soft: rgba(255, 115, 30, 0.13);
  --docs-accent-line: rgba(255, 115, 30, 0.34);

  /* HTTP methods. Warm family throughout; distinguishable without blue. */
  --m-get: #FFB068;
  --m-post: #FF8A3D;
  --m-put: #E8B34B;
  --m-patch: #D6A05C;
  --m-delete: #E8705F;

  /* 17rem left 20 of the 50 sidebar rows wrapping onto a second line once the
     method chip was in front of the label. 19rem takes that to 9; 20rem only
     reaches 6 and starts eating the article. */
  --docs-sidebar-w: 19rem;
  --docs-toc-w: 15rem;
  --docs-max: 46rem;
  --docs-radius: 12px;
  --docs-radius-sm: 8px;

  --docs-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── Shell ─────────────────────────────────────────── */
.docs-body {
  margin: 0;
  background: var(--docs-bg);
  color: var(--docs-fg);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.docs-body *, .docs-body *::before, .docs-body *::after { box-sizing: border-box; }
.docs-body a { color: inherit; }

.docs-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--docs-accent); color: #1C1917; padding: .6rem 1rem;
  border-radius: 0 0 var(--docs-radius-sm) 0; font-weight: 600;
}
.docs-skip:focus { left: 0; }

/* ── Top bar ───────────────────────────────────────── */
.docs-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 1.25rem;
  height: 3.75rem; padding: 0 1.25rem;
  background: color-mix(in srgb, var(--docs-bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--docs-line);
}
.docs-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.docs-brand img { height: 22px; width: auto; display: block; }
.docs-brand span { color: var(--docs-fg-2); font-weight: 500; font-size: .9375rem; }
.docs-top nav { display: flex; gap: 1.25rem; margin-left: .5rem; font-size: .9375rem; }
.docs-top nav a { color: var(--docs-muted); text-decoration: none; }
.docs-top nav a:hover, .docs-top nav a[aria-current] { color: var(--docs-fg); }
.docs-top .docs-spacer { flex: 1; }
.docs-body a.docs-cta {
  background: var(--docs-fg); color: #1C1917; text-decoration: none;
  padding: .45rem .9rem; border-radius: 10px; font-weight: 600; font-size: .875rem;
}
.docs-body a.docs-cta:hover { background: #fff; }

/* ── Three-column grid ─────────────────────────────── */
.docs-shell {
  display: grid;
  grid-template-columns: var(--docs-sidebar-w) minmax(0, 1fr);
  align-items: start;
  max-width: 96rem; margin: 0 auto;
}
.docs-main { display: grid; grid-template-columns: minmax(0, 1fr) var(--docs-toc-w); gap: 3rem; padding: 2.5rem 2rem 6rem; }
.docs-article { max-width: var(--docs-max); min-width: 0; }
@media (max-width: 1180px) { .docs-main { grid-template-columns: minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 900px)  { .docs-shell { grid-template-columns: minmax(0, 1fr); } .docs-sidebar { display: none; } .docs-main { padding: 1.75rem 1.25rem 4rem; } }

/* ── Sidebar ───────────────────────────────────────── */
.docs-sidebar {
  position: sticky; top: 3.75rem; height: calc(100vh - 3.75rem);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 1.75rem 1rem 4rem 1.25rem;
  border-right: 1px solid var(--docs-line);
}
/* The section name is the primary target in this sidebar — it opens the section
   and links to its index. It was styled as an inert caption: 11px, uppercase,
   letter-spaced and muted, against 14px children in a brighter colour, so the
   thing you were meant to click was the faintest thing on screen. It now reads
   as the row it is, and the children indent beneath it. */
.docs-sidebar .docs-nav-label {
  margin: .15rem 0 .1rem; padding: .3rem .55rem; margin-left: -.55rem;
  border-radius: var(--docs-radius-sm);
  font-size: .875rem; font-weight: 600; line-height: 1.4;
  letter-spacing: normal; text-transform: none; color: var(--docs-fg);
}
.docs-sidebar .docs-nav-group + .docs-nav-group > .docs-nav-label { margin-top: .35rem; }
/* The label is now a <summary>, so it is always its details' first child —
   the old :first-child rule would have flattened the gap above every section
   instead of only the first one. */
.docs-sidebar .docs-nav-group:first-of-type > .docs-nav-label { margin-top: 0; }
/* Children hang off their section on a hairline rail. They used to carry a
   negative margin, which put them to the left of the heading they belong to. */
.docs-sidebar ul { list-style: none; margin: 0 0 .1rem .1rem; padding: 0 0 0 .7rem; }
.docs-sidebar .docs-nav-group > ul { border-left: 1px solid var(--docs-line); }

/* ── Sidebar groups ────────────────────────────────────────────────────
   The heading is both the section's index page and the disclosure for its
   links. <details> carries the open state, the keyboard handling and the
   with-JS-off behaviour; these rules only swap the default marker for a
   chevron and keep the label looking exactly as it did. */
.docs-sidebar .docs-nav-group > summary {
  display: flex; align-items: center; gap: .4rem;
  cursor: pointer; list-style: none;
}
.docs-sidebar .docs-nav-group > summary:hover { background: var(--docs-surface); }
/* The section holding the current page stays marked while its list is scrolled. */
.docs-sidebar .docs-nav-group[open]:has(a[aria-current="page"]) > summary { color: var(--docs-accent); }
.docs-sidebar .docs-nav-group > summary::-webkit-details-marker { display: none; }
.docs-sidebar .docs-nav-group > summary::after {
  content: ''; margin-left: auto; width: .3rem; height: .3rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s ease; opacity: .55;
}
.docs-sidebar .docs-nav-group[open] > summary::after { transform: rotate(45deg); }
/* Explicit, because the sidebar's own list rules otherwise keep a closed
   group's links laid out and visible. */
.docs-sidebar .docs-nav-group:not([open]) > ul { display: none; }
.docs-sidebar .docs-nav-group > summary a,
.docs-sidebar .docs-nav-group > summary span { color: inherit; text-decoration: none; flex: 1 1 auto; }
.docs-sidebar .docs-nav-group > summary a[aria-current="page"] { color: var(--docs-accent); }
.docs-sidebar li a {
  /* Top-aligned so the chip sits on the label's first line rather than
     floating against the middle of a wrapped one. */
  display: flex; align-items: flex-start; gap: .45rem;
  padding: .3rem .5rem; margin-left: -.1rem;
  border-radius: var(--docs-radius-sm);
  color: var(--docs-fg-2); text-decoration: none; font-size: .875rem; line-height: 1.4;
}
/* The page-body method chip reserves 2.75rem so columns of them line up. In a
   272px sidebar that width was pushing a third of the labels onto a second
   line, so the sidebar gets a tighter one. */
.docs-sidebar li a .m { min-width: 2.25rem; padding: .1rem .25rem; font-size: .5625rem; margin-top: .18rem; }
.docs-sidebar li a:hover { background: var(--docs-surface); color: var(--docs-fg); }
.docs-sidebar li a[aria-current="page"] { background: var(--docs-accent-soft); color: var(--docs-fg); font-weight: 600; }

/* ── Description cells ─────────────────────────────────────────────────
   A parameter description can now be a lead sentence plus a bulleted list of
   accepted values. The article's prose spacing gives those a 16px bottom
   margin, which pads out the foot of every row it appears in. Tighten inside
   the cell only; the prose rules are untouched. */
.docs-article td > p,
.docs-article td > ul { margin: 0 0 .4rem; }
.docs-article td > ul { padding-left: 1.1rem; }
.docs-article td li { margin: .15rem 0; }
.docs-article td > :last-child { margin-bottom: 0; }

/* ── Method chips ──────────────────────────────────── */
.m {
  font-family: var(--docs-mono); font-size: .625rem; font-weight: 700;
  letter-spacing: .05em; padding: .15rem .3rem; border-radius: 4px;
  flex: none; min-width: 2.75rem; text-align: center;
}
.m-get    { color: var(--m-get);    background: color-mix(in srgb, var(--m-get) 14%, transparent); }
.m-post   { color: var(--m-post);   background: color-mix(in srgb, var(--m-post) 14%, transparent); }
.m-put    { color: var(--m-put);    background: color-mix(in srgb, var(--m-put) 14%, transparent); }
.m-patch  { color: var(--m-patch);  background: color-mix(in srgb, var(--m-patch) 14%, transparent); }
.m-delete { color: var(--m-delete); background: color-mix(in srgb, var(--m-delete) 14%, transparent); }

/* ── Article typography ────────────────────────────── */
.docs-article h1 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 .6rem; }
.docs-article h2 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.015em; margin: 2.75rem 0 .75rem; scroll-margin-top: 5rem; }
.docs-article h3 { font-size: 1.0625rem; font-weight: 650; margin: 2rem 0 .5rem; scroll-margin-top: 5rem; }
.docs-article h4 { font-size: .9375rem; font-weight: 650; margin: 1.5rem 0 .4rem; scroll-margin-top: 5rem; }
.docs-article p, .docs-article li { color: var(--docs-fg-2); }
.docs-article p { margin: 0 0 1rem; }
.docs-article ul, .docs-article ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.docs-article li { margin: .3rem 0; }
.docs-article a:not(.docs-chip) { color: var(--docs-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.docs-article a:hover { text-decoration-thickness: 2px; }
.docs-article strong { color: var(--docs-fg); font-weight: 650; }
.docs-article hr { border: 0; border-top: 1px solid var(--docs-line); margin: 2.5rem 0; }
.docs-article blockquote {
  margin: 1.25rem 0; padding: .75rem 1rem;
  border-left: 2px solid var(--docs-accent-line); background: var(--docs-surface);
  border-radius: 0 var(--docs-radius-sm) var(--docs-radius-sm) 0;
}
.docs-article blockquote p:last-child { margin: 0; }

/* ── Code ──────────────────────────────────────────── */
.docs-article :not(pre) > code {
  font-family: var(--docs-mono); font-size: .8125em;
  background: var(--docs-surface-2); border: 1px solid var(--docs-line-soft);
  padding: .1em .35em; border-radius: 5px; color: var(--docs-fg);
  overflow-wrap: break-word;
}
.docs-article pre {
  background: var(--docs-surface); border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius); padding: .95rem 1.1rem; margin: 0 0 1.25rem;
  overflow-x: auto; font-size: .8125rem; line-height: 1.6;
}
.docs-article pre code { font-family: var(--docs-mono); background: none; border: 0; padding: 0; }

/* ── Tables ────────────────────────────────────────── */
.docs-table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--docs-line); border-radius: var(--docs-radius); }
.docs-article table { border-collapse: collapse; width: 100%; font-size: .8125rem; }
.docs-article th {
  text-align: left; font-weight: 650; color: var(--docs-muted);
  font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .6rem .85rem; border-bottom: 1px solid var(--docs-line); white-space: nowrap;
}
.docs-article td { padding: .6rem .85rem; border-bottom: 1px solid var(--docs-line-soft); color: var(--docs-fg-2); vertical-align: top; }
.docs-article tr:last-child td { border-bottom: 0; }
.docs-article td code { white-space: nowrap; }

/* ── On-this-page ──────────────────────────────────── */
.docs-toc { position: sticky; top: 5.5rem; align-self: start; font-size: .8125rem; }
.docs-toc p { margin: 0 0 .5rem; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--docs-muted); }
.docs-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--docs-line); }
.docs-toc a { display: block; padding: .25rem 0 .25rem .75rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--docs-muted); text-decoration: none; }
.docs-toc a:hover { color: var(--docs-fg-2); }
.docs-toc a[aria-current="true"] { color: var(--docs-accent); border-left-color: var(--docs-accent); }
.docs-toc .lvl-3 { padding-left: 1.5rem; }

/* ── Breadcrumbs, pager ────────────────────────────── */
.docs-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--docs-muted); margin: 0 0 1rem; }
.docs-crumbs a { color: var(--docs-muted); text-decoration: none; }
.docs-crumbs a:hover { color: var(--docs-fg-2); }
.docs-pager { display: flex; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--docs-line); }
.docs-pager a { flex: 1; padding: .85rem 1rem; border: 1px solid var(--docs-line); border-radius: var(--docs-radius); text-decoration: none; }
.docs-pager a:hover { border-color: var(--docs-accent-line); background: var(--docs-surface); }
.docs-pager span { display: block; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--docs-muted); }
.docs-pager strong { font-weight: 600; color: var(--docs-fg); font-size: .9375rem; }
.docs-pager .next { text-align: right; }

/* ── Parameter tables ──────────────────────────────── */
.docs-type { font-family: var(--docs-mono); font-size: .75rem; color: var(--docs-muted); }
.docs-req { color: var(--m-delete); font-size: .75rem; }
.docs-opt { color: var(--docs-muted); font-size: .75rem; }
.docs-enum { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .35rem; }
.docs-enum code { font-size: .6875rem; }

/* ── Endpoint header ───────────────────────────────── */
.docs-endpoint {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--docs-surface); border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius); padding: .5rem .75rem; margin: 0 0 1.25rem;
  font-family: var(--docs-mono); font-size: .8125rem; max-width: 100%; overflow-x: auto;
}
.docs-endpoint .path { color: var(--docs-fg); white-space: nowrap; }
.docs-endpoint .base { color: var(--docs-muted); }
.docs-lede { font-size: 1.0625rem; color: var(--docs-fg-2); margin: 0 0 1.5rem; }

/* ── Callout ───────────────────────────────────────── */
.docs-note {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--docs-surface); border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius); padding: .8rem 1rem; margin: 0 0 1.5rem;
  font-size: .875rem; color: var(--docs-fg-2);
}
.docs-note b { color: var(--docs-fg); }

/* ── Code sample panel ─────────────────────────────── */
.docs-sample { margin: 0 0 1.5rem; border: 1px solid var(--docs-line); border-radius: var(--docs-radius); overflow: hidden; background: var(--docs-surface); }
.docs-sample-head { display: flex; align-items: center; gap: .5rem; padding: .4rem .5rem .4rem .75rem; border-bottom: 1px solid var(--docs-line); }
.docs-sample-head .label { font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--docs-muted); margin-right: auto; }
.docs-sample-tabs { display: flex; gap: .15rem; flex-wrap: wrap; }
.docs-sample-tabs button {
  font: inherit; font-size: .75rem; cursor: pointer;
  background: none; border: 0; color: var(--docs-muted);
  padding: .2rem .5rem; border-radius: 6px;
}
.docs-sample-tabs button:hover { color: var(--docs-fg); background: var(--docs-surface-2); }
.docs-sample-tabs button[aria-selected="true"] { color: var(--docs-fg); background: var(--docs-accent-soft); }
.docs-sample pre { margin: 0; border: 0; border-radius: 0; background: none; }
.docs-copy {
  font: inherit; font-size: .75rem; cursor: pointer; color: var(--docs-muted);
  background: none; border: 1px solid var(--docs-line); border-radius: 6px; padding: .2rem .5rem;
}
.docs-copy:hover { color: var(--docs-fg); border-color: var(--docs-accent-line); }

/* ── Index cards / lists ───────────────────────────── */
.docs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .75rem; margin: 0 0 1.5rem; }
.docs-card {
  display: block; padding: .95rem 1.1rem; text-decoration: none !important;
  background: var(--docs-surface); border: 1px solid var(--docs-line); border-radius: var(--docs-radius);
}
.docs-card:hover { border-color: var(--docs-accent-line); }
.docs-card strong { display: block; color: var(--docs-fg); font-weight: 650; margin-bottom: .2rem; }
.docs-card span { font-size: .8125rem; color: var(--docs-muted); line-height: 1.5; }
.docs-schema-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .15rem .75rem; }
.docs-schema-list a { text-decoration: none !important; }
.docs-schema-list code { font-size: .75rem; }
.docs-variant { margin: 1.25rem 0 .4rem; font-size: .8125rem; color: var(--docs-muted); }
.docs-variant code { font-size: .75rem; }

/* ── Mobile navigation ─────────────────────────────────
   Below 900px the sidebar is off-canvas rather than absent. It was absent
   first, which left 733 pages reachable only through in-body links.
   ───────────────────────────────────────────────────── */
.docs-menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin-left: -.4rem;
  background: none; border: 1px solid var(--docs-line); border-radius: var(--docs-radius-sm);
  color: var(--docs-fg-2); cursor: pointer;
}
.docs-menu-toggle:hover { color: var(--docs-fg); border-color: var(--docs-accent-line); }
.docs-backdrop { display: none; }

@media (max-width: 900px) {
  .docs-menu-toggle { display: inline-flex; }
  .docs-top nav { display: none; }

  .docs-sidebar {
    display: block;
    position: fixed; top: 3.75rem; left: 0; z-index: 45;
    width: min(20rem, 86vw); height: calc(100dvh - 3.75rem);
    background: var(--docs-bg);
    transform: translateX(-101%);
    transition: transform .18s ease-out;
    box-shadow: 0 0 0 1px var(--docs-line);
  }
  body.nav-open .docs-sidebar { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  .docs-backdrop {
    display: block; position: fixed; inset: 3.75rem 0 0; z-index: 44;
    background: rgba(0, 0, 0, .55);
  }
  .docs-backdrop[hidden] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .docs-sidebar { transition: none; }
}

/* Tablet band: the on-this-page rail goes before the sidebar does, so the
   641-1024 range keeps full navigation and just loses the secondary rail. */
@media (min-width: 901px) and (max-width: 1180px) {
  :root { --docs-sidebar-w: 15rem; }
}

/* ── Embedded video ────────────────────────────────── */
.docs-video {
  display: block; width: 100%; max-width: 100%; margin: 0 0 1.5rem;
  border: 1px solid var(--docs-line); border-radius: var(--docs-radius);
  background: var(--docs-surface);
}

/* ── Beta marker ───────────────────────────────────── */
.docs-beta {
  font-size: .625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--m-put); background: color-mix(in srgb, var(--m-put) 14%, transparent);
  padding: .15rem .4rem; border-radius: 4px; flex: none;
}
.docs-note-beta { border-color: color-mix(in srgb, var(--m-put) 34%, transparent); }

/* ── Callouts inside descriptions ──────────────────── */
.docs-callout {
  margin: 1.25rem 0; padding: .85rem 1rem;
  border: 1px solid var(--docs-line); border-left-width: 2px;
  border-radius: 0 var(--docs-radius) var(--docs-radius) 0;
  background: var(--docs-surface); font-size: .875rem;
}
.docs-callout-info { border-left-color: var(--docs-accent-line); }
.docs-callout-caution { border-left-color: color-mix(in srgb, var(--m-put) 55%, transparent); }
.docs-callout > :last-child { margin-bottom: 0; }
.docs-lede-block > p:first-child { font-size: 1.0625rem; }

/* ── Search ────────────────────────────────────────────
   Static index, loaded on first open. At ~1,000 pages a hosted search service
   would add a vendor to a site that is explicitly temporary.
   ───────────────────────────────────────────────────── */
.docs-search-open {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-size: .8125rem; cursor: pointer;
  background: var(--docs-surface); border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius-sm); color: var(--docs-muted);
  padding: .35rem .6rem; margin-right: .25rem;
}
.docs-search-open:hover { color: var(--docs-fg); border-color: var(--docs-accent-line); }
.docs-search-open kbd, .docs-search-field kbd {
  font-family: var(--docs-mono); font-size: .6875rem;
  border: 1px solid var(--docs-line); border-radius: 4px;
  padding: .05rem .3rem; color: var(--docs-muted); background: var(--docs-bg);
}
@media (max-width: 640px) { .docs-search-open span, .docs-search-open kbd { display: none; } }

.docs-search {
  width: min(38rem, 92vw); max-height: 70vh; padding: 0; margin-top: 12vh;
  background: var(--docs-bg); color: var(--docs-fg);
  border: 1px solid var(--docs-line); border-radius: var(--docs-radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.docs-search::backdrop { background: rgba(0, 0, 0, .6); }
.docs-search-box { display: flex; flex-direction: column; max-height: 70vh; }
.docs-search-field {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1rem; border-bottom: 1px solid var(--docs-line); color: var(--docs-muted);
}
.docs-search-field input {
  flex: 1; font: inherit; font-size: .9375rem; background: none; border: 0; outline: none;
  color: var(--docs-fg); min-width: 0;
}
.docs-search-field input::-webkit-search-cancel-button { display: none; }
.docs-search-results { list-style: none; margin: 0; padding: .35rem; overflow-y: auto; flex: 1; }
.docs-search-results:empty { display: none; }
.docs-search-results a {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .65rem; border-radius: var(--docs-radius-sm);
  text-decoration: none; color: var(--docs-fg-2);
}
.docs-search-results [aria-selected="true"] a { background: var(--docs-accent-soft); color: var(--docs-fg); }
.docs-search-results .r-main { min-width: 0; flex: 1; }
.docs-search-results .r-title { display: block; font-size: .875rem; color: var(--docs-fg); }
.docs-search-results .r-desc {
  display: block; font-size: .75rem; color: var(--docs-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.docs-search-results .r-section {
  font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--docs-muted); flex: none;
}
.docs-search-hint { margin: 0; padding: .6rem 1rem; border-top: 1px solid var(--docs-line); font-size: .75rem; color: var(--docs-muted); }
.docs-search-hint code { font-size: .6875rem; }
