/* help-site additions layered on the shipped docviewer.css */

/* Collapsible sidebar groups. docviewer.css styles .sci-navgroup as an inert label; here it is a
   button, so reset the UA chrome and keep the shipped type treatment. Without JS every group stays
   open (the markup ships expanded), so no link is ever unreachable. */
.sci-navgroup { display:block; width:100%; box-sizing:border-box; text-align:left; font:inherit;
  font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#8a8886;
  background:none; border:0; cursor:default; position:relative; }
.sci-js .sci-navgroup { cursor:pointer; padding-right:34px; }
.sci-js .sci-navgroup:hover { color:#323130; }
.sci-js .sci-navgroup::after { content:""; position:absolute; right:20px; top:50%; width:6px; height:6px;
  margin-top:-5px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:rotate(-45deg); transition:transform .15s ease; }
.sci-js .sci-navgroup[aria-expanded="true"]::after { transform:rotate(45deg); margin-top:-3px; }
.sci-navgroup:focus-visible { outline:2px solid #0f6cbd; outline-offset:-2px; }
.sci-js .sci-groupitems { display:none; }
.sci-js .sci-groupitems.sci-expanded { display:block; }
@media (prefers-reduced-motion: reduce) { .sci-js .sci-navgroup::after { transition:none; } }

.sci-search::-webkit-search-cancel-button { cursor:pointer; }

.sci-navlink.sci-cursor { background:#f3f2f1; }

/* Breadcrumb: "Group › Parent › This page", above the topic header. */
.sci-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 14px;
  font-size:12px; line-height:1.5; color:#8a8886; }
.sci-crumb { color:#605e5c; }
a.sci-crumb { color:#0f6cbd; text-decoration:none; }
a.sci-crumb:hover { text-decoration:underline; }
.sci-crumbhere { color:#8a8886; }
.sci-crumbsep { color:#c8c6c4; }

.sci-appbadge { display:inline-block; margin-left:6px; padding:1px 6px; font-size:9px; font-weight:600;
  letter-spacing:.04em; color:#8a5700; background:#fff4ce; border-radius:9px; vertical-align:middle; }
.sci-provenance { margin:0 0 18px; padding:10px 14px; background:#fff4ce; border:1px solid #f2d998;
  border-left:4px solid #d9a200; border-radius:4px; font-size:13px; color:#513c06; }
.sci-toolbar { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin-bottom:8px; }
.sci-copybtn { font:inherit; font-size:12px; padding:5px 12px; color:#0f6cbd; background:#fff;
  border:1px solid #c7c6c4; border-radius:4px; cursor:pointer; }
.sci-copybtn:hover { background:#f3f2f1; }
.sci-copied { color:#0b6a0b; border-color:#0b6a0b; }
.sci-copyfail { color:#a4262c; border-color:#a4262c; }

/* Light/dark theme toggle (top-right of the toolbar). Icons swap with the effective theme. */
.sci-themetoggle { font:inherit; display:inline-flex; align-items:center; justify-content:center;
  width:30px; height:30px; padding:0; color:#0f6cbd; background:#fff; border:1px solid #c7c6c4;
  border-radius:4px; cursor:pointer; }
.sci-themetoggle:hover { background:#f3f2f1; }
.sci-themetoggle svg { width:15px; height:15px; }
.sci-themetoggle .sci-sun { display:none; }
.sci-themetoggle .sci-moon { display:inline-flex; }
html[data-theme="dark"] .sci-themetoggle .sci-moon { display:none; }
html[data-theme="dark"] .sci-themetoggle .sci-sun { display:inline-flex; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .sci-themetoggle .sci-moon { display:none; }
  html:not([data-theme]) .sci-themetoggle .sci-sun { display:inline-flex; }
}

/* Skip link — visually offscreen until focused (keyboard users land on it first). */
.sci-skip { position:absolute; left:-9999px; top:0; z-index:100; background:#0f6cbd; color:#fff;
  padding:8px 14px; text-decoration:none; border-radius:0 0 4px 0; }
.sci-skip:focus { left:0; }

/* The flex-column layout + full-width .sci-footer bar are shared (docviewer.css). The static site
   just pins the column to the viewport height so the footer sits at the bottom of the screen. */
html, body { margin:0; }
#controlAddIn { height:100vh; }


/* Mobile nav toggle + backdrop — created by docviewer-static.js, shown only on small screens. */
.sci-navtoggle, .sci-backdrop { display:none; }

/* ---- Responsive / mobile ---- */
@media (max-width:720px) {
  #controlAddIn, #sciDocRoot { height:auto; min-height:100%; }
  .sci-layout { flex-direction:column; height:auto; }
  .sci-content { overflow:visible; padding:0 20px 60px; }
  /* On mobile the content pane isn't a scroll container, so drop the pin and let the headers flow
     normally — avoids overlap with the fixed nav toggle. */
  .sci-endpoint, .sci-content > h1 { position:static; margin:0 0 16px; padding:0 0 10px; }
  .sci-norail .sci-content { max-width:none; }
  .sci-resizer { display:none; }
  .sci-fields { flex-basis:auto; width:100%; border-left:none; border-top:1px solid #edebe9; }
  .sci-sidebar { flex-basis:auto; width:100%; }            /* no-JS fallback: sidebar stacks on top */

  /* With JS (docviewer-static.js adds .sci-js to the root) the sidebar becomes an off-canvas drawer. */
  .sci-js .sci-navtoggle { display:inline-flex; flex-direction:column; justify-content:center; gap:4px;
    position:fixed; top:10px; left:10px; z-index:80; width:40px; height:40px; padding:9px;
    background:#0f6cbd; border:none; border-radius:6px; cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.3); }
  .sci-js .sci-navtoggle span { display:block; height:2px; background:#fff; border-radius:1px; }
  .sci-js .sci-content { padding-top:60px; }
  .sci-js .sci-sidebar { position:fixed; top:0; left:0; bottom:0; width:82%; max-width:320px; z-index:90;
    transform:translateX(-100%); transition:transform .2s ease; box-shadow:2px 0 16px rgba(0,0,0,.35); }
  .sci-js .sci-layout.sci-navopen .sci-sidebar { transform:none; }
  .sci-js .sci-layout.sci-navopen ~ .sci-backdrop { display:block; position:fixed; inset:0; z-index:85;
    background:rgba(0,0,0,.45); }
}

/* ============================================================
   PopdockAI brand layer — PUBLIC SITE ONLY.
   Layered over the shipped docviewer.css (loaded first), which the in-app BC
   viewer keeps native/unbranded. Palette + type from the popdockai-brand skill.
   Notes:
   - NB International Pro is licensed and can't be embedded under the site CSP,
     so headings use the brand-sanctioned Arial/Helvetica fallback.
   - IBM Plex Mono (OFL) drives eyebrows/labels/code and IS self-hosted (the
     @font-face block below, woff2 under assets/fonts/), so it renders for every
     visitor rather than only those who happen to have it installed locally.
   - Blue 500 #33B6FF fails WCAG as link TEXT on white, so link/accent text uses
     Blue 700 #3533FF (the logo mark, ~6.5:1); #33B6FF stays decorative
     (underline + gradients), matching the brand's own usage.
   ============================================================ */

/* Self-hosted IBM Plex Mono (SIL OFL 1.1 — licence served at assets/fonts/OFL.txt).
   Only the three weights the mono-styled selectors ask for; no italic face is used anywhere.
   font-display:swap so a slow font never blocks first paint; the swap reflows only the mono runs
   (eyebrows, badges, code) rather than the body copy. */
@font-face {
  font-family:"IBM Plex Mono";
  src:url("assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face {
  font-family:"IBM Plex Mono";
  src:url("assets/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face {
  font-family:"IBM Plex Mono";
  src:url("assets/fonts/IBMPlexMono-Bold.woff2") format("woff2");
  font-weight:700; font-style:normal; font-display:swap;
}

:root {
  --pai-blue-700:#3533FF; --pai-blue-500:#33B6FF; --pai-blue-200:#B0F2FF;
  --pai-ink:#1E1D1B; --pai-orange:#FE7F43;
  --pai-n0:#F6F5F3; --pai-n1:#ECE9E4; --pai-n2:#E2DED7;
  --pai-n4:#A9A59E; --pai-n5:#83807A; --pai-n6:#5F5D58;
  --pai-radius:8px;
  --pai-sans:"NB International Pro", Arial, Helvetica, "Segoe UI", system-ui, sans-serif;
  --pai-mono:"IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  --pai-link-hover:#2725d6;   /* accessible darkened indigo for link hover text */
}

/* Type — brand sans for body/headings (NB Intl Pro → Arial); tight headlines; brand ink. */
#controlAddIn, #sciDocRoot { font-family:var(--pai-sans); color:var(--pai-ink); }
.sci-content h1, .sci-content h2 { letter-spacing:-.02em; line-height:1.12; }
.sci-content p, .sci-content li { color:var(--pai-ink); }
/* Mono eyebrows / labels / technical accents + code. */
.sci-navgroup, .sci-fieldhead, .sci-method, .sci-appbadge, .sci-hookbadge,
.sci-content code, .sci-content pre, .sci-url, .sci-fieldtable td code { font-family:var(--pai-mono); }

/* Neutrals — warm-grey surfaces + borders. */
.sci-sidebar, .sci-fields, .sci-fieldhead, .sci-footer, .sci-table th { background:var(--pai-n0); }
.sci-sidebar { border-right-color:var(--pai-n1); }
.sci-fields { border-left-color:var(--pai-n1); }
.sci-brand, .sci-content h2 { border-bottom-color:var(--pai-n1); }
.sci-table th, .sci-table td { border-color:var(--pai-n1); }

/* Brand blue — wordmark (+ gradient rule), active nav, accents, focus. */
.sci-brand { color:var(--pai-blue-700); position:relative; }
.sci-brand::after { content:""; position:absolute; left:22px; right:22px; bottom:-1px; height:2px;
  border-radius:2px; background:linear-gradient(90deg,var(--pai-blue-700),var(--pai-blue-500),var(--pai-blue-200)); }
.sci-sidebar a.active { background:#eeeefe; border-left-color:var(--pai-blue-700); color:var(--pai-blue-700); }
.sci-webhook, .sci-fieldhead, .sci-legend > summary { color:var(--pai-blue-700); }
.sci-resizer:hover, body.sci-resizing .sci-resizer { background:var(--pai-blue-700); }
.sci-search:focus { border-color:var(--pai-blue-700); box-shadow:0 0 0 2px rgba(53,51,255,.2); }
.sci-fieldtable td code { background:#eeeefe; color:var(--pai-blue-700); }
.sci-hookbadge { background:#e7e7ff; color:var(--pai-link-hover); }
.sci-hookbadge .sci-webhook { color:var(--pai-link-hover); }

/* Links — accessible brand-indigo text, Blue 500 animated underline. */
.sci-content a { color:var(--pai-blue-700); background-image:linear-gradient(var(--pai-blue-500),var(--pai-blue-500)); }
.sci-content a:hover { color:var(--pai-link-hover); }
.sci-footer a { color:var(--pai-blue-700); }
.sci-content h2::before { background:linear-gradient(var(--pai-blue-700),var(--pai-blue-500)); }

/* POST badge → brand blue (GET/PATCH/DELETE keep their semantic colours). */
.sci-post { background:var(--pai-blue-700); }

/* Callouts + code/URL — 8px brand radius; the "note" callout adopts brand blue. */
.sci-note { border-left-color:var(--pai-blue-700); background:#f0f0ff; border-radius:0 var(--pai-radius) var(--pai-radius) 0; }
.sci-warn, .sci-info, .sci-tip, .sci-danger { border-radius:0 var(--pai-radius) var(--pai-radius) 0; }
.sci-content pre, .sci-url { border-radius:var(--pai-radius); }
.sci-url:hover { border-color:var(--pai-blue-700); box-shadow:0 2px 8px rgba(53,51,255,.12); }
.sci-table tbody tr:hover { background:#f4f4ff; }

/* Pills — brand-blue hover; the resolver pill picks up the brand tint. */
.sci-pill:hover { background:var(--pai-blue-700); }
.sci-pill-res { background:#e0e0ff; color:var(--pai-link-hover); }
.sci-pill-res:hover { background:var(--pai-blue-700); color:#fff; }

/* Buttons / toolbar / skip link / mobile nav / search → brand blue + 8px radius. */
.sci-copybtn { color:var(--pai-blue-700); border-color:#c9c8ff; border-radius:var(--pai-radius); }
/* The split button is an <a> half plus a <button> half. The brand layer recolours anchors, so
   without this the label and icon came out brand-blue while the caret stayed the base #0f6cbd -
   two different blues inside one control. Colour both halves explicitly. */
.sci-aimenu-main, .sci-aimenu-toggle { color:var(--pai-blue-700); }
.sci-aimenu { border-color:#c9c8ff; }
.sci-aimenu:hover { border-color:var(--pai-blue-700); }
.sci-aimenu-toggle { border-left-color:#dcdcff; }
.sci-aimenu-main:hover, .sci-aimenu-toggle:hover { background:#f0f0ff; }
.sci-aimenu-item { color:var(--pai-blue-700); }
.sci-aimenu-item:hover, .sci-aimenu-item:focus-visible { background:#f0f0ff; }
.sci-copybtn:hover { background:#f0f0ff; border-color:var(--pai-blue-700); box-shadow:0 1px 4px rgba(53,51,255,.15); }
.sci-themetoggle { color:var(--pai-blue-700); border-radius:var(--pai-radius); }
.sci-themetoggle:hover { background:#f0f0ff; }
.sci-skip { background:var(--pai-blue-700); }
.sci-js .sci-navtoggle { background:var(--pai-blue-700); }
.sci-diagram { border-radius:var(--pai-radius); border-color:var(--pai-n1); }
.sci-endpoint, .sci-content > h1 { border-bottom-color:var(--pai-n1); }
.sci-sidebarhead { background:var(--pai-n0); border-bottom-color:var(--pai-n1); }

/* Heading permalink anchors (added at runtime by docviewer-static.js). Hidden until the heading is
   hovered/focused; click copies the section URL and flashes a "Link copied" bubble. scroll-margin-top
   clears the pinned header when a shared #anchor link lands on the section. */
.sci-content h2, .sci-content h3 { scroll-margin-top:96px; }
.sci-anchor { display:inline-flex; align-items:center; margin-left:8px; vertical-align:middle; position:relative;
  color:var(--pai-blue-700); text-decoration:none; opacity:0; transition:opacity .12s ease; }
.sci-content h2:hover .sci-anchor, .sci-content h3:hover .sci-anchor, .sci-anchor:focus { opacity:.6; }
.sci-anchor:hover { opacity:1; }
.sci-anchor svg { display:block; }
.sci-anchor::after { content:"Link copied"; position:absolute; left:50%; bottom:150%; transform:translateX(-50%);
  background:#1E1D1B; color:#fff; padding:3px 8px; border-radius:6px; font-size:11px; line-height:1;
  white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .12s ease; }
.sci-anchor.sci-anchor-copied, .sci-anchor.sci-anchor-copied::after { opacity:1; }

/* ---- Dark mode (public site only; the in-app viewer keeps its BC-controlled theme) ----
   Manual toggle wins via html[data-theme="dark"]; with no explicit choice, follow the OS. */

html[data-theme="dark"] body { background:#1b1a19; }
html[data-theme="dark"] #controlAddIn, html[data-theme="dark"] #sciDocRoot { color:#d4d2d0; }
html[data-theme="dark"] .sci-sidebar { background:#201f1e; border-right-color:#3b3a39; }
html[data-theme="dark"] .sci-brand { color:#8785ff; border-bottom-color:#3b3a39; }
html[data-theme="dark"] .sci-navgroup { color:#a19f9d; }
html[data-theme="dark"] .sci-navcaret { color:#8a8886; }
html[data-theme="dark"] .sci-navcaret:hover { color:#e6e6e6; }
html[data-theme="dark"] .sci-sidebar a { color:#d4d2d0; }
html[data-theme="dark"] .sci-sidebar a:hover { background:#2b2a29; }
html[data-theme="dark"] .sci-sidebar a:active { background:#33322f; }
html[data-theme="dark"] .sci-sidebar a.active { background:#232048; border-left-color:#8785ff; color:#8785ff; }
html[data-theme="dark"] .sci-fields { background:#201f1e; border-left-color:#3b3a39; }
html[data-theme="dark"] .sci-resizer { background:#3b3a39; }
html[data-theme="dark"] .sci-fieldhead { color:#8785ff; background:#201f1e; }
html[data-theme="dark"] .sci-fieldhint, html[data-theme="dark"] .sci-legend, html[data-theme="dark"] .sci-noresults { color:#a19f9d; }
html[data-theme="dark"] .sci-fieldtable th { color:#c8c6c4; border-bottom-color:#4a4948; background:#201f1e; }
html[data-theme="dark"] .sci-fieldtable td { color:#d4d2d0; border-bottom-color:#333231; }
html[data-theme="dark"] .sci-fieldtable td code { background:#232048; color:#33B6FF; }
html[data-theme="dark"] .sci-fieldtable tbody tr:hover { background:#2b2a29; }
html[data-theme="dark"] .sci-content p, html[data-theme="dark"] .sci-content li { color:#d4d2d0; }
html[data-theme="dark"] .sci-lead { color:#a19f9d; }
html[data-theme="dark"] .sci-content h2 { border-bottom-color:#3b3a39; }
html[data-theme="dark"] .sci-content code { background:#2d2c2b; color:#e6e6e6; }
html[data-theme="dark"] .sci-table th, html[data-theme="dark"] .sci-table td { border-color:#3b3a39; }
html[data-theme="dark"] .sci-table th { background:#2b2a29; color:#c8c6c4; border-bottom-color:#4a4948; }
html[data-theme="dark"] .sci-table tbody tr:hover { background:#232048; }
html[data-theme="dark"] .sci-content a { color:#8785ff; background-image:linear-gradient(#8785ff,#8785ff); }
html[data-theme="dark"] .sci-content a:hover { color:#33B6FF; }
html[data-theme="dark"] .sci-url { background:#242322; border-color:#3b3a39; }
html[data-theme="dark"] .sci-note { background:#1c1b3a; border-left-color:#6f6dff; }
html[data-theme="dark"] .sci-warn { background:#2a2410; border-left-color:#b08a1e; }
html[data-theme="dark"] .sci-info { background:#0c2a2e; border-left-color:#2a8ca8; }
html[data-theme="dark"] .sci-tip { background:#12240f; border-left-color:#2f9e2f; }
html[data-theme="dark"] .sci-danger { background:#2a1213; border-left-color:#c0454a; }
html[data-theme="dark"] .sci-pill { background:#3b3a39; color:#d4d2d0; }
html[data-theme="dark"] .sci-search { color:#e6e6e6; background:#2b2a29; border-color:#4a4948; }
html[data-theme="dark"] .sci-search::placeholder { color:#8a8886; }
html[data-theme="dark"] .sci-copybtn, html[data-theme="dark"] .sci-themetoggle { color:#8785ff; background:#2b2a29; border-color:#3a3a6e; }
html[data-theme="dark"] .sci-copybtn:hover, html[data-theme="dark"] .sci-themetoggle:hover { background:#232048; border-color:#8785ff; }
/* The AI/Markdown split button and its menu. These need their own dark rules because the halves
   deliberately do not use .sci-copybtn (that class carries a border, radius and ::before glyph we
   do not want here), so they inherit none of the line above. The panel is moved to <body> at
   runtime, which is why it is matched on its own rather than as a descendant of the toolbar. */
html[data-theme="dark"] .sci-aimenu { background:#2b2a29; border-color:#3a3a6e; }
html[data-theme="dark"] .sci-aimenu:hover { border-color:#8785ff; }
html[data-theme="dark"] .sci-aimenu-main, html[data-theme="dark"] .sci-aimenu-toggle { color:#8785ff; }
html[data-theme="dark"] .sci-aimenu-toggle { border-left-color:#3a3a6e; }
html[data-theme="dark"] .sci-aimenu-main:hover, html[data-theme="dark"] .sci-aimenu-toggle:hover { background:#232048; }
html[data-theme="dark"] .sci-aimenu-list { background:#2b2a29; border-color:#3a3a6e; box-shadow:0 3px 12px rgba(0,0,0,.45); }
html[data-theme="dark"] .sci-aimenu-item { color:#d4d2d0; }
html[data-theme="dark"] .sci-aimenu-item:hover, html[data-theme="dark"] .sci-aimenu-item:focus-visible { background:#232048; color:#8785ff; }
html[data-theme="dark"] .sci-aimenu-item.sci-aimenu-sep { border-top-color:#3b3a39; }
html[data-theme="dark"] .sci-provenance { background:#2a2410; border-color:#5c4a12; border-left-color:#b08a1e; color:#e8d9a8; }
html[data-theme="dark"] .sci-appbadge { background:#3a2c08; color:#e0b458; }
html[data-theme="dark"] .sci-footer { background:#201f1e; border-top-color:#3b3a39; color:#a19f9d; }
html[data-theme="dark"] .sci-diagram { background:#f4f3f1; border-color:#3b3a39; }
html[data-theme="dark"] .sci-endpoint, html[data-theme="dark"] .sci-content > h1 { background:#1b1a19; border-bottom-color:#3b3a39; }
html[data-theme="dark"] .sci-sidebarhead { background:#201f1e; border-bottom-color:#3b3a39; }
html[data-theme="dark"] .sci-anchor { color:#8785ff; }
html[data-theme="dark"] .sci-js .sci-navgroup:hover { color:#e6e6e6; }
html[data-theme="dark"] .sci-navlink.sci-cursor { background:#232048; }
html[data-theme="dark"] .sci-crumbs, html[data-theme="dark"] .sci-crumbhere { color:#8a8886; }
html[data-theme="dark"] .sci-crumb { color:#a19f9d; }
html[data-theme="dark"] a.sci-crumb { color:#8785ff; }
html[data-theme="dark"] .sci-crumbsep { color:#4a4948; }

@media (prefers-color-scheme: dark) {

html:not([data-theme]) body { background:#1b1a19; }
html:not([data-theme]) #controlAddIn, html:not([data-theme]) #sciDocRoot { color:#d4d2d0; }
html:not([data-theme]) .sci-sidebar { background:#201f1e; border-right-color:#3b3a39; }
html:not([data-theme]) .sci-brand { color:#8785ff; border-bottom-color:#3b3a39; }
html:not([data-theme]) .sci-navgroup { color:#a19f9d; }
html:not([data-theme]) .sci-navcaret { color:#8a8886; }
html:not([data-theme]) .sci-navcaret:hover { color:#e6e6e6; }
html:not([data-theme]) .sci-sidebar a { color:#d4d2d0; }
html:not([data-theme]) .sci-sidebar a:hover { background:#2b2a29; }
html:not([data-theme]) .sci-sidebar a:active { background:#33322f; }
html:not([data-theme]) .sci-sidebar a.active { background:#232048; border-left-color:#8785ff; color:#8785ff; }
html:not([data-theme]) .sci-fields { background:#201f1e; border-left-color:#3b3a39; }
html:not([data-theme]) .sci-resizer { background:#3b3a39; }
html:not([data-theme]) .sci-fieldhead { color:#8785ff; background:#201f1e; }
html:not([data-theme]) .sci-fieldhint, html:not([data-theme]) .sci-legend, html:not([data-theme]) .sci-noresults { color:#a19f9d; }
html:not([data-theme]) .sci-fieldtable th { color:#c8c6c4; border-bottom-color:#4a4948; background:#201f1e; }
html:not([data-theme]) .sci-fieldtable td { color:#d4d2d0; border-bottom-color:#333231; }
html:not([data-theme]) .sci-fieldtable td code { background:#232048; color:#33B6FF; }
html:not([data-theme]) .sci-fieldtable tbody tr:hover { background:#2b2a29; }
html:not([data-theme]) .sci-content p, html:not([data-theme]) .sci-content li { color:#d4d2d0; }
html:not([data-theme]) .sci-lead { color:#a19f9d; }
html:not([data-theme]) .sci-content h2 { border-bottom-color:#3b3a39; }
html:not([data-theme]) .sci-content code { background:#2d2c2b; color:#e6e6e6; }
html:not([data-theme]) .sci-table th, html:not([data-theme]) .sci-table td { border-color:#3b3a39; }
html:not([data-theme]) .sci-table th { background:#2b2a29; color:#c8c6c4; border-bottom-color:#4a4948; }
html:not([data-theme]) .sci-table tbody tr:hover { background:#232048; }
html:not([data-theme]) .sci-content a { color:#8785ff; background-image:linear-gradient(#8785ff,#8785ff); }
html:not([data-theme]) .sci-content a:hover { color:#33B6FF; }
html:not([data-theme]) .sci-url { background:#242322; border-color:#3b3a39; }
html:not([data-theme]) .sci-note { background:#1c1b3a; border-left-color:#6f6dff; }
html:not([data-theme]) .sci-warn { background:#2a2410; border-left-color:#b08a1e; }
html:not([data-theme]) .sci-info { background:#0c2a2e; border-left-color:#2a8ca8; }
html:not([data-theme]) .sci-tip { background:#12240f; border-left-color:#2f9e2f; }
html:not([data-theme]) .sci-danger { background:#2a1213; border-left-color:#c0454a; }
html:not([data-theme]) .sci-pill { background:#3b3a39; color:#d4d2d0; }
html:not([data-theme]) .sci-search { color:#e6e6e6; background:#2b2a29; border-color:#4a4948; }
html:not([data-theme]) .sci-search::placeholder { color:#8a8886; }
html:not([data-theme]) .sci-copybtn, html:not([data-theme]) .sci-themetoggle { color:#8785ff; background:#2b2a29; border-color:#3a3a6e; }
html:not([data-theme]) .sci-copybtn:hover, html:not([data-theme]) .sci-themetoggle:hover { background:#232048; border-color:#8785ff; }
/* The AI/Markdown split button and its menu. These need their own dark rules because the halves
   deliberately do not use .sci-copybtn (that class carries a border, radius and ::before glyph we
   do not want here), so they inherit none of the line above. The panel is moved to <body> at
   runtime, which is why it is matched on its own rather than as a descendant of the toolbar. */
html:not([data-theme]) .sci-aimenu { background:#2b2a29; border-color:#3a3a6e; }
html:not([data-theme]) .sci-aimenu:hover { border-color:#8785ff; }
html:not([data-theme]) .sci-aimenu-main, html:not([data-theme]) .sci-aimenu-toggle { color:#8785ff; }
html:not([data-theme]) .sci-aimenu-toggle { border-left-color:#3a3a6e; }
html:not([data-theme]) .sci-aimenu-main:hover, html:not([data-theme]) .sci-aimenu-toggle:hover { background:#232048; }
html:not([data-theme]) .sci-aimenu-list { background:#2b2a29; border-color:#3a3a6e; box-shadow:0 3px 12px rgba(0,0,0,.45); }
html:not([data-theme]) .sci-aimenu-item { color:#d4d2d0; }
html:not([data-theme]) .sci-aimenu-item:hover, html:not([data-theme]) .sci-aimenu-item:focus-visible { background:#232048; color:#8785ff; }
html:not([data-theme]) .sci-aimenu-item.sci-aimenu-sep { border-top-color:#3b3a39; }
html:not([data-theme]) .sci-provenance { background:#2a2410; border-color:#5c4a12; border-left-color:#b08a1e; color:#e8d9a8; }
html:not([data-theme]) .sci-appbadge { background:#3a2c08; color:#e0b458; }
html:not([data-theme]) .sci-footer { background:#201f1e; border-top-color:#3b3a39; color:#a19f9d; }
html:not([data-theme]) .sci-diagram { background:#f4f3f1; border-color:#3b3a39; }
html:not([data-theme]) .sci-endpoint, html:not([data-theme]) .sci-content > h1 { background:#1b1a19; border-bottom-color:#3b3a39; }
html:not([data-theme]) .sci-sidebarhead { background:#201f1e; border-bottom-color:#3b3a39; }
html:not([data-theme]) .sci-anchor { color:#8785ff; }
html:not([data-theme]) .sci-js .sci-navgroup:hover { color:#e6e6e6; }
html:not([data-theme]) .sci-navlink.sci-cursor { background:#232048; }
html:not([data-theme]) .sci-crumbs, html:not([data-theme]) .sci-crumbhere { color:#8a8886; }
html:not([data-theme]) .sci-crumb { color:#a19f9d; }
html:not([data-theme]) a.sci-crumb { color:#8785ff; }
html:not([data-theme]) .sci-crumbsep { color:#4a4948; }

}
