:root {
  color-scheme: light;
  --background: #fafafa;
  --panel: #fff;
  --code: #f1f3f8;
  --text: #192034;
  --muted: #526076;
  --line: #d4dce8;
  --blue: #295db6;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #10141e;
  --panel: #161c28;
  --code: #20293a;
  --text: #e8edf7;
  --muted: #adbacd;
  --line: #34405a;
  --blue: #9bbaff;
}
body { margin: 0; background: var(--background); color: var(--text); }
a { color: var(--blue); }
button, select, input { font: inherit; color: var(--text); }
button, select, input[type="search"] {
  border: 1px solid var(--line); border-radius: 7px; background: var(--panel);
  padding: .35rem .65rem;
}
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; clip-path: inset(100%); }
.skip-link:focus { position: absolute; z-index: 2; background: var(--panel); padding: .5rem; }
.masthead {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem;
  padding: .8rem clamp(1rem, 3vw, 3rem); background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.masthead a, .site-footer a { text-decoration: none; }
.masthead a:hover, .site-footer a:hover { text-decoration: underline; }
.company { font-weight: 720; color: var(--text); }
.company span, .site-footer { color: var(--muted); }
.masthead nav { display: flex; gap: 1rem; }
.masthead-search { margin-inline-start: auto; }
.masthead-search input { max-width: 45vw; }
.theme-switch { display: flex; gap: .25rem; font-size: .86rem; }
.theme-switch button[aria-pressed="true"] { color: var(--blue); border-color: var(--blue); }
.doc-layout {
  display: grid; grid-template-columns: minmax(12rem, 17rem) minmax(0, 55rem) minmax(0, 12rem);
  gap: clamp(1rem, 3vw, 3rem); max-width: 94rem; margin: auto; padding: 2rem clamp(1rem, 3vw, 3rem);
}
.docs-nav, .page-toc { font-size: .9rem; }
.docs-nav label, .page-toc > span {
  display: block; font-size: .82rem; font-weight: 650; color: var(--muted); margin-bottom: .6rem;
}
.docs-nav select { width: 100%; }
.docs-nav ul, .page-toc ul { padding-inline-start: 1rem; list-style: none; }
.docs-nav > ul, .page-toc > ul { padding-inline-start: 0; }
.docs-nav li, .page-toc li { padding-block: .13rem; overflow-wrap: anywhere; }
.docs-nav a, .page-toc a { text-decoration: none; }
.docs-nav a:hover, .page-toc a:hover { text-decoration: underline; }
.docs-nav a.current { font-weight: 700; }
.page-toc { position: sticky; align-self: start; top: 1.5rem; max-height: 90vh; overflow: auto; }
.manual h1, .product-selector h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin-block-start: 0; }
.manual h2 { margin-block-start: 1.7em; line-height: 1.25; overflow-wrap: anywhere; }
.manual p, .manual li { overflow-wrap: anywhere; }
.manual .highlight, .manual .literal-block { background: var(--code); border-radius: 8px; }
.manual pre { padding: .8rem 1rem; overflow: auto; margin: 0; }
.manual code { padding: .1em .2em; background: var(--code); border-radius: .2em; }
.manual .highlight { position: relative; }
.manual .highlight:has(.copy-code) pre { padding-top: 2.25rem; }
.copy-code { position: absolute; top: .35rem; right: .35rem; font-size: .8rem; }
.manual .admonition { margin: 1rem 0; border: 1px solid var(--line); border-inline-start: 4px solid var(--blue); padding: .65rem 1rem; background: var(--panel); }
.manual .admonition-title { margin: 0; }
.manual table { max-width: 100%; display: block; overflow: auto; }
.manual th, .manual td { padding: .45rem .65rem; border-color: var(--line); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 1.5rem; border-top: 1px solid var(--line); }
.product-selector { max-width: 52rem; margin: 4rem auto; padding: 0 1rem; }
.products { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.products a { display: block; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }
[data-theme="dark"] .highlight span { color: #d6e2fa; }
[data-theme="dark"] .highlight .k, [data-theme="dark"] .highlight .kt { color: #b9abff; }
[data-theme="dark"] .highlight .c1, [data-theme="dark"] .highlight .cm { color: #9cafbd; }
[data-theme="dark"] .highlight .s, [data-theme="dark"] .highlight .s2 { color: #a9dfbc; }
@media (max-width: 72rem) {
  .doc-layout { grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); }
  .page-toc { display: none; }
}
@media (max-width: 47rem) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .masthead-search { margin-inline-start: 0; }
  .docs-nav > ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }
  .docs-nav > ul > li > ul { display: none; }
  .docs-nav select { width: auto; max-width: 100%; }
}
