.topbar {
  position: sticky;
  top: 0;
  z-index: 32;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 2rem;
  min-height: 4rem;
  padding: .5rem 1rem;
  background: #30638e;
  color: #fff;
}
.topbar a { color: #fff; }
.topbar a:hover { color: rgba(255, 255, 255, .75); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-right: auto;
  font-size: 1.25rem;
  font-weight: 700;
}
.brand img { width: 30px; height: 30px; }
.topbar nav { display: flex; align-items: center; gap: .75rem; }
.version-picker select {
  padding: .3rem .6rem;
  border: 1px solid #fff;
  border-radius: .25rem;
  background: #fff;
  color: #30638e;
  font: inherit;
  cursor: pointer;
}
.version-picker select:disabled { cursor: default; }
.version-picker select:focus-visible { outline: 2px solid #ffa630; outline-offset: 2px; }
.search-form { display: flex; align-items: center; gap: .4rem; margin: 0; }
.search-form input, .search-form button { font: inherit; }
.search-form input {
  min-width: 0;
  padding: .375rem .75rem;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 1rem;
  background: transparent;
  color: #fff;
}
.search-form input::placeholder { color: rgba(255, 255, 255, .85); }
.search-form button {
  padding: .375rem .75rem;
  border: 1px solid #fff;
  border-radius: .25rem;
  background: #fff;
  color: #30638e;
  cursor: pointer;
}
.search-form button:hover { background: #eee; }
.search-form :focus-visible, .topbar a:focus-visible { outline: 2px solid #ffa630; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#search-results li h2 { font-size: 1.15rem; margin-bottom: .2rem; }
#search-results li p { margin-top: 0; }
#search-results mark { padding: 0; background: #ffe083; color: inherit; }
.layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); min-height: calc(100vh - 4rem); }
.layout-with-tools { grid-template-columns: 16rem minmax(0, 1fr) 15rem; }
.sidebar { padding: 1.5rem; border-right: 1px solid #dee2e6; background: rgba(48, 99, 142, .03); }
.sidebar nav { position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.sidebar a { display: block; padding: 0 0 .375rem; color: #222; }
.sidebar .section-link { display: flex; align-items: baseline; gap: .45rem; }
.sidebar-icon { flex: 0 0 1.25rem; text-align: center; }
.sidebar a:hover { color: #72a1e5; }
.sidebar nav > a:first-child { margin-bottom: 1rem; border-bottom: 1px solid #30638e; color: #30638e; font-weight: 700; }
.sidebar .nested { padding-left: 1.5rem; color: #495057; font-weight: 300; }
.sidebar .nested-icon { display: inline-block; width: 1.5rem; margin-left: -1.5rem; text-align: center; }
.sidebar [aria-current="page"] { font-weight: 700; }
.page-actions { padding: 2rem 1rem; border-left: 1px solid #dee2e6; }
.page-actions-inner { position: sticky; top: 6rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.td-page-meta a { padding-bottom: .5rem; }
.page-toc { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dee2e6; font-size: .9rem; }
.page-toc p { margin: 0 0 .5rem; font-weight: 600; }
.page-toc ul { margin: 0; padding: 0; list-style: none; }
.page-toc ul ul { padding-left: .75rem; }
.page-toc li { margin: .25rem 0; overflow-wrap: anywhere; }
.page-toc a { color: #495057; }
.page-toc a:hover { color: #30638e; }
main { min-width: 0; padding: 2rem 3rem 4rem; }
.td-breadcrumbs .breadcrumb-item { min-width: 0; overflow-wrap: anywhere; }
.td-content h1, .td-content h2, .td-content h3 { overflow-wrap: anywhere; }
.td-content :is(h1, h2, h3, h4, h5, h6)[id] { scroll-margin-top: 5rem; }
.heading-anchor { margin-left: .4em; color: inherit; opacity: 0; font-size: .75em; text-decoration: none; }
.heading-anchor:hover { color: #30638e; }
.td-content :is(h1, h2, h3, h4, h5, h6):hover > .heading-anchor,
.heading-anchor:focus-visible { opacity: 1; }
.td-content table { display: block; width: 100%; margin-bottom: 1rem; overflow-x: auto; border-collapse: collapse; }
.td-content th, .td-content td { padding: .75rem; border-top: 1px solid #dee2e6; text-align: left; vertical-align: top; }
.td-content thead th { border-bottom: 2px solid #dee2e6; }
.td-content tbody tr:nth-child(odd) { background: rgba(0, 0, 0, .05); }
.td-content pre.tt2-code, .td-content pre.tt2-code code { color: #f8f8f2; background: #272822; }
.tt2-code { tab-size: 4; }
.tt2-code .tt2-delimiter, .tt2-code .tt2-keyword { color: #66d9ef; }
.tt2-code .tt2-string { color: #e6db74; }
.tt2-code .tt2-number, .tt2-code .tt2-constant { color: #ae81ff; }
.tt2-code .tt2-function { color: #a6e22e; }
.tt2-code .tt2-operator { color: #f92672; }
.tt2-code .tt2-comment { color: #a6a69c; }
.code-copy { position: relative; }
.code-copy pre { padding-top: 3rem; }
.code-copy-button {
  position: absolute;
  top: .4rem;
  right: .4rem;
  padding: .25rem .5rem;
  border: 1px solid #adb5bd;
  border-radius: .25rem;
  background: #fff;
  color: #30638e;
  cursor: pointer;
  font-size: .8rem;
}
.code-copy-button:focus-visible { outline: 2px solid #30638e; outline-offset: 2px; }
.td-content .tab-panel h2 { margin: 2rem 0 1rem; }
.td-content .tab-panel h3 { margin: 2rem 0 1rem; }
.td-content .tab-panel p code, .td-content .tab-panel li code { color: inherit; }
.td-content .tab-panel blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 6px solid #ffa630; color: #797676; }
.diagram { overflow-x: auto; }
.td-content .diagram .mermaid { width: max-content; min-width: 100%; box-sizing: border-box; font-size: 1rem; }
[role=tablist] { display: flex; border-bottom: 1px solid #dee2e6; }
[role=tab] { padding: .75rem 1rem; border: 0; border-bottom: .2rem solid transparent; background: none; color: #3176d9; cursor: pointer; font: inherit; }
[role=tab][aria-selected=true] { border-color: #30638e; color: #30638e; font-weight: 700; }
[role=tab]:focus-visible { outline: 2px solid #30638e; outline-offset: -2px; }
[hidden] { display: none !important; }
@media (hover: none) { .heading-anchor { opacity: 1; } }
@media (max-width: 1024px) {
  .layout, .layout-with-tools { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .page-actions { grid-column: 1; padding: 1.5rem 3rem; border-top: 1px solid #dee2e6; border-left: 0; }
  .page-actions-inner { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 767px) {
  .topbar { position: static; }
  .layout { display: block; }
  .page-actions { padding: 1.5rem 1rem; }
  main { padding: 1.5rem 1rem 3rem; }
}
