@font-face {
    font-family: "Open Sans";
    src: url(../fonts/OpenSans.ttf);
    font-display: swap;
}

:root {
    --tos-primary: #13be9d;
    --tos-primary-600: #10a888;
    --tos-primary-700: #0c9077;
    --tos-primary-800: #0a7863;
    --tos-primary-050: #e8f8f4;
    --tos-primary-100: #d0f2ea;
    --tos-text: #1d2733;
    --tos-text-soft: #3d4a57;
    --tos-muted: #6b7885;
    --tos-bg: #ffffff;
    --tos-surface: #f6f8fa;
    --tos-border: #e4e9ee;
    --tos-radius: 10px;
    --tos-radius-sm: 6px;
    --tos-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --tos-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
    --tos-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tos-sidebar: 300px;
}

html {
    font-size: 16px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    font-family: "Open Sans", "Lato", "Helvetica Neue", Arial, sans-serif;
    color: var(--tos-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a:focus,
button:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
[role="button"]:focus,
.rst-content a:focus,
.rst-content .btn:focus {
    outline: none;
}

.btn:focus,
.btn:active,
.btn:active:focus {
    box-shadow: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[role="button"]:focus-visible,
.rst-content a:focus-visible,
.rst-content .btn:focus-visible {
    outline: 2px solid var(--tos-primary);
    outline-offset: 2px;
}

::selection {
    background: var(--tos-primary-100);
    color: var(--tos-text);
}

a,
a:visited {
    color: var(--tos-primary-800);
    transition: color 0.2s var(--tos-ease);
}

a:hover {
    color: var(--tos-primary-600);
}

.wy-body-for-nav,
.wy-nav-content-wrap {
    background: var(--tos-bg);
}

.wy-nav-side {
    width: var(--tos-sidebar);
    padding-bottom: 48px;
    background: linear-gradient(180deg, #14c4a2 0%, #12b797 55%, #0fa98b 100%);
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.04);
}

.wy-side-scroll {
    width: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.wy-side-scroll::-webkit-scrollbar {
    width: 6px;
}

.wy-side-scroll::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.35);
}

.wy-side-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.wy-side-nav-search {
    margin-bottom: 8px;
    padding: 20px 16px 12px;
    background: transparent;
    color: #fff;
}

.wy-side-nav-search > a,
.wy-side-nav-search > a:hover,
.wy-side-nav-search > a:visited {
    display: block;
    color: #fff;
    background: transparent;
}

.wy-side-nav-search > a img.logo {
    max-width: 160px;
    margin: 0 auto;
    padding: 0;
    background: none;
    transition: transform 0.4s var(--tos-ease);
}

.wy-side-nav-search > a:hover img.logo {
    transform: scale(1.03);
}

.wy-side-nav-search [role="search"] {
    position: relative;
    margin-top: 18px;
}

.wy-side-nav-search [role="search"]::before {
    content: "\f002";
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    font-family: FontAwesome;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.2s var(--tos-ease);
}

.wy-side-nav-search input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    box-shadow: none;
    transition: background 0.25s var(--tos-ease), border-color 0.25s var(--tos-ease), box-shadow 0.25s var(--tos-ease);
}

.wy-side-nav-search input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.wy-side-nav-search input[type="text"]:hover {
    background: rgba(255, 255, 255, 0.22);
}

.wy-side-nav-search input[type="text"]:focus {
    border-color: #fff;
    background: #fff;
    color: var(--tos-text);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
    outline: none;
}

.wy-side-nav-search input[type="text"]:focus::placeholder {
    color: var(--tos-muted);
}

.wy-side-nav-search [role="search"]:focus-within::before {
    color: var(--tos-primary-700);
}

.wy-menu-vertical {
    position: static !important;
    width: 100%;
    padding: 0 10px 16px;
}

.wy-menu-vertical ul {
    margin-bottom: 0;
}

.wy-menu-vertical li,
.wy-menu-vertical li.current,
.wy-menu-vertical li.on {
    background: transparent;
}

.wy-menu-vertical a,
.wy-menu-vertical li.current a,
.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a,
.wy-menu-vertical li.toctree-l1.current > a,
.wy-menu-vertical li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a,
.wy-menu-vertical li.toctree-l3.current > a,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a,
.wy-menu-vertical li.toctree-l4.current > a,
.wy-menu-vertical li.toctree-l4.current li.toctree-l5 > a,
.wy-menu-vertical li.toctree-l5.current > a,
.wy-menu-vertical li.toctree-l5.current li.toctree-l6 > a,
.wy-menu-vertical li.toctree-l6.current > a,
.wy-menu-vertical li.toctree-l6.current li.toctree-l7 > a {
    position: relative;
    display: block;
    margin: 1px 0;
    padding: 7px 12px 7px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: background-color 0.2s var(--tos-ease), color 0.2s var(--tos-ease), transform 0.2s var(--tos-ease);
}

.wy-menu-vertical li.toctree-l2 > a,
.wy-menu-vertical li.current li.toctree-l2 > a {
    padding-left: 26px;
    font-size: 13.5px;
}

.wy-menu-vertical li.toctree-l3 > a,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a {
    padding-left: 38px;
    font-size: 13px;
}

.wy-menu-vertical li.toctree-l4 > a,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a {
    padding-left: 50px;
    font-size: 12.5px;
}

.wy-menu-vertical li.toctree-l5 > a,
.wy-menu-vertical li.toctree-l4.current li.toctree-l5 > a {
    padding-left: 62px;
    font-size: 12.5px;
}

.wy-menu-vertical li.toctree-l6 > a,
.wy-menu-vertical li.toctree-l5.current li.toctree-l6 > a,
.wy-menu-vertical li.toctree-l7 > a,
.wy-menu-vertical li.toctree-l6.current li.toctree-l7 > a {
    padding-left: 74px;
    font-size: 12.5px;
}

.wy-menu-vertical a:hover,
.wy-menu-vertical li.current a:hover,
.wy-menu-vertical li.current > a:hover,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a:hover,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.wy-menu-vertical li.toctree-l1.current > a {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 600;
}

.wy-menu-vertical li.current > ul {
    position: relative;
    animation: tos-expand 0.35s var(--tos-ease);
}

.wy-menu-vertical li.toctree-l1.current > ul::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.wy-menu-vertical li.current > a.current,
.wy-menu-vertical li.current > a.current:hover {
    background: #fff !important;
    color: var(--tos-primary-800) !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(6, 78, 64, 0.18);
}

.wy-menu-vertical li.current > a.current button.toctree-expand {
    color: var(--tos-primary-700);
}

.wy-menu-vertical a button.toctree-expand,
.wy-menu-vertical li.current a button.toctree-expand,
.wy-menu-vertical li.on a button.toctree-expand {
    float: right;
    margin: 0 -4px 0 8px;
    padding: 0;
    width: 18px;
    height: 20px;
    line-height: 20px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0;
    transition: transform 0.3s var(--tos-ease), color 0.2s var(--tos-ease);
}

.wy-menu-vertical a button.toctree-expand::before,
.wy-menu-vertical li.current > a button.toctree-expand::before,
.wy-menu-vertical li.on a button.toctree-expand::before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 15px;
}

.wy-menu-vertical li.current > a button.toctree-expand,
.wy-menu-vertical li.on > a button.toctree-expand {
    transform: rotate(90deg);
}

.wy-menu-vertical a:hover button.toctree-expand {
    color: #fff;
}

.wy-menu-vertical p.caption {
    margin: 18px 0 6px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rst-versions {
    width: var(--tos-sidebar);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: #0b8a72;
    font-family: inherit;
    box-shadow: 0 -6px 16px rgba(6, 78, 64, 0.12);
}

.rst-versions .rst-current-version {
    padding: 12px 16px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    transition: background-color 0.2s var(--tos-ease);
}

.rst-versions .rst-current-version:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rst-versions .rst-current-version .fa,
.rst-versions .rst-current-version .fa-book {
    color: #fff;
}

.rst-versions .rst-current-version .fa-caret-down {
    transition: transform 0.3s var(--tos-ease);
}

.rst-versions.shift-up .rst-current-version .fa-caret-down {
    transform: rotate(180deg);
}

.rst-versions .rst-other-versions {
    padding: 8px 16px 16px;
    color: rgba(255, 255, 255, 0.8);
    animation: tos-fade-up 0.3s var(--tos-ease);
}

.rst-versions .rst-other-versions dt {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rst-versions .rst-other-versions dd {
    display: inline-block;
    margin: 4px 4px 0 0;
}

.version-link,
.rst-versions .rst-other-versions dd a {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s var(--tos-ease);
}

.version-link:hover,
.rst-versions .rst-other-versions dd a:hover {
    background: rgba(255, 255, 255, 0.24);
    text-decoration: none;
}

.version-link a {
    padding: 0;
    background: none;
    color: #fff;
}

.wy-nav-content-wrap {
    margin-left: var(--tos-sidebar);
}

.wy-nav-content {
    max-width: 1080px;
    padding: 32px 56px 48px;
    background: transparent;
}

.rst-content {
    color: var(--tos-text-soft);
    font-size: 16px;
    line-height: 1.7;
    animation: tos-fade-up 0.45s var(--tos-ease) both;
}

.rst-content p {
    margin-bottom: 16px;
    font-size: inherit;
    line-height: inherit;
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.rst-content h5,
.rst-content h6 {
    color: var(--tos-text);
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.rst-content h1 {
    margin: 8px 0 24px;
    font-size: 34px;
    letter-spacing: -0.02em;
}

.rst-content h2 {
    margin: 48px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--tos-border);
    font-size: 26px;
}

.rst-content h3 {
    margin: 32px 0 12px;
    font-size: 20px;
}

.rst-content h4,
.rst-content h5,
.rst-content h6 {
    margin: 24px 0 10px;
    font-size: 17px;
}

.rst-content .headerlink {
    margin-left: 6px;
    color: var(--tos-primary-600) !important;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s var(--tos-ease), transform 0.2s var(--tos-ease);
}

.rst-content h1:hover .headerlink,
.rst-content h2:hover .headerlink,
.rst-content h3:hover .headerlink,
.rst-content h4:hover .headerlink,
.rst-content h5:hover .headerlink,
.rst-content h6:hover .headerlink,
.rst-content dl dt:hover .headerlink,
.rst-content .headerlink:focus-visible {
    opacity: 1;
    transform: none;
}

.rst-content .section .section,
.rst-content section section {
    margin-left: 0;
}

.rst-content a:not(.headerlink):not(.btn):not(.image-reference) {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s var(--tos-ease), color 0.2s var(--tos-ease);
}

.rst-content a:not(.headerlink):not(.btn):not(.image-reference):hover {
    background-size: 100% 1px;
}

.rst-content ul li,
.rst-content ol li {
    margin-bottom: 4px;
}

.rst-content .toctree-wrapper > ul,
.rst-content .contents > ul,
.rst-content nav.contents > ul {
    margin-left: 0;
}

.rst-content .toctree-wrapper ul li,
.rst-content .contents ul li {
    list-style: none;
}

.rst-content .toctree-wrapper > ul > li > a,
.rst-content .contents > ul > li > p > a,
.rst-content .contents > ul > li > a {
    position: relative;
    padding-left: 18px;
}

.rst-content .toctree-wrapper > ul > li > a::before,
.rst-content .contents > ul > li > p > a::before,
.rst-content .contents > ul > li > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tos-primary);
    transform: translateY(-50%);
    transition: transform 0.2s var(--tos-ease);
}

.rst-content .toctree-wrapper > ul > li > a:hover::before,
.rst-content .contents > ul > li > p > a:hover::before,
.rst-content .contents > ul > li > a:hover::before {
    transform: translateY(-50%) scale(1.5);
}

.rst-content .toctree-wrapper ul ul,
.rst-content .contents ul ul {
    margin: 4px 0 4px 18px;
    padding-left: 14px;
    border-left: 1px solid var(--tos-border);
}

.rst-content code,
.rst-content tt,
.rst-content code.literal,
.rst-content tt.literal,
code {
    padding: 2px 6px;
    border: none;
    border-radius: var(--tos-radius-sm);
    background: var(--tos-primary-050);
    color: var(--tos-primary-800);
    font-size: 88%;
    font-weight: 500;
}

.rst-content code.xref,
.rst-content a code,
.rst-content tt.xref {
    color: inherit;
    font-weight: 600;
}

.rst-content div[class^="highlight"],
.rst-content pre.literal-block {
    border: 1px solid var(--tos-border);
    border-radius: var(--tos-radius);
    background: var(--tos-surface);
    box-shadow: var(--tos-shadow-sm);
    overflow: hidden;
}

.rst-content div[class^="highlight"] pre,
.rst-content pre.literal-block {
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.6;
}

.rst-content div[class^="highlight"] pre {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    white-space: pre-wrap;
    word-break: normal;
}

.rst-content div[class^="highlight"] div[class^="highlight"] {
    border: none;
    box-shadow: none;
}

.rst-content div.highlight,
.highlight {
    background: var(--tos-surface);
}

.rst-content .admonition,
.rst-content .note,
.rst-content .important,
.rst-content .attention,
.rst-content .hint,
.rst-content .tip,
.rst-content .warning,
.rst-content .caution,
.rst-content .danger,
.rst-content .error,
.rst-content .seealso {
    --tos-admonition: var(--tos-primary);
    --tos-admonition-bg: var(--tos-primary-050);
    margin-bottom: 24px;
    padding: 14px 18px;
    border: 1px solid var(--tos-border);
    border-left: 4px solid var(--tos-admonition);
    border-radius: var(--tos-radius);
    background: var(--tos-admonition-bg);
    box-shadow: var(--tos-shadow-sm);
    transition: box-shadow 0.25s var(--tos-ease), transform 0.25s var(--tos-ease);
}

.rst-content .admonition:hover {
    box-shadow: var(--tos-shadow);
}

.rst-content .note,
.rst-content .seealso,
.rst-content .admonition.note {
    --tos-admonition: #3b82f6;
    --tos-admonition-bg: #eff5ff;
}

.rst-content .warning,
.rst-content .caution,
.rst-content .attention {
    --tos-admonition: #f59e0b;
    --tos-admonition-bg: #fff8eb;
}

.rst-content .danger,
.rst-content .error {
    --tos-admonition: #ef4444;
    --tos-admonition-bg: #fef2f2;
}

.rst-content .admonition-title,
.rst-content .admonition .admonition-title,
.rst-content .note .admonition-title,
.rst-content .important .admonition-title,
.rst-content .attention .admonition-title,
.rst-content .hint .admonition-title,
.rst-content .tip .admonition-title,
.rst-content .warning .admonition-title,
.rst-content .caution .admonition-title,
.rst-content .danger .admonition-title,
.rst-content .error .admonition-title,
.rst-content .seealso .admonition-title {
    margin: 0 0 6px;
    padding: 0;
    background: transparent;
    color: var(--tos-admonition);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rst-content .admonition-title::before {
    margin-right: 6px;
}

.rst-content .admonition > p:last-child,
.rst-content .admonition > :last-child {
    margin-bottom: 0;
}

.rst-content table.docutils,
.wy-table-bordered-all {
    width: 100%;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
}

.wy-table-responsive {
    margin-bottom: 24px;
    border: 1px solid var(--tos-border);
    border-radius: var(--tos-radius);
    box-shadow: var(--tos-shadow-sm);
}

.wy-table-responsive table {
    margin-bottom: 0 !important;
}

.rst-content table.docutils thead th,
.rst-content table.docutils th,
html.writer-html5 .rst-content table.docutils th {
    padding: 10px 14px;
    border: none;
    border-right: 1px solid var(--tos-border);
    border-bottom: 1px solid var(--tos-border);
    background: var(--tos-surface);
    color: var(--tos-text);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.rst-content table.docutils td {
    padding: 10px 14px;
    border: none;
    border-right: 1px solid var(--tos-border);
    border-bottom: 1px solid var(--tos-border);
    background: transparent;
    font-size: 14px;
    vertical-align: top;
}

.rst-content table.docutils tr > td:last-child,
html.writer-html5 .rst-content table.docutils tr > th:last-child {
    border-right: none;
}

.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,
.wy-table-backed,
.wy-table-odd td,
.wy-table-striped tr:nth-child(2n-1) td,
tbody > tr:nth-child(odd) > td,
tbody > tr:nth-child(odd) > th {
    background: transparent;
}

.rst-content table.docutils tbody tr:last-child td {
    border-bottom: none;
}

.docutils td,
.docutils th {
    white-space: initial !important;
}

.wy-table-responsive table tr td p,
html.writer-html5 .rst-content table.docutils td > p,
html.writer-html5 .rst-content table.docutils th > p {
    margin-bottom: 6px;
    font-size: inherit;
    line-height: 1.55;
}

.wy-table-responsive table tr td p:last-child,
.wy-table-responsive table tr td ul.last {
    margin-bottom: 0;
}

.rst-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--tos-border);
    border-radius: var(--tos-radius-sm);
    box-shadow: var(--tos-shadow-sm);
}

.rst-content .figure,
.rst-content figure {
    margin-bottom: 28px;
}

.rst-content .figure .caption,
.rst-content figure figcaption {
    margin-top: 8px;
    color: var(--tos-muted);
    font-size: 13px;
    font-style: normal;
}

.wy-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-bottom: 8px;
    color: var(--tos-muted);
    font-size: 13px;
}

.wy-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wy-breadcrumbs li a {
    color: var(--tos-muted);
    transition: color 0.2s var(--tos-ease);
}

.wy-breadcrumbs li a:hover {
    color: var(--tos-primary-700);
}

.wy-breadcrumbs li.wy-breadcrumbs-aside {
    margin-left: auto;
}

.wy-breadcrumbs + hr,
.rst-content > div[role="navigation"] + hr {
    display: none;
}

.docs-actions {
    display: inline-flex;
    gap: 6px;
}

.docs-actions a,
.docs-actions a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--tos-border);
    border-radius: 50%;
    background: var(--tos-bg);
    color: var(--tos-text-soft);
    text-decoration: none;
    transition: border-color 0.2s var(--tos-ease), color 0.2s var(--tos-ease), background-color 0.2s var(--tos-ease), transform 0.2s var(--tos-ease);
}

.docs-actions a:hover {
    border-color: var(--tos-primary);
    background: var(--tos-primary-050);
    color: var(--tos-primary-700);
    transform: translateY(-1px);
}

.docs-actions i.fa,
.docs-actions .fa-angle-double-right,
.docs-actions .fa-angle-double-left {
    padding: 0;
    border: none;
    font-size: 16px;
}

footer {
    margin-top: 48px;
    color: var(--tos-muted);
}

footer,
footer p {
    font-size: 13px;
}

footer hr {
    margin: 16px 0;
    border-color: var(--tos-border);
}

.rst-footer-buttons {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
    list-style: none;
}

.docs-byline {
    padding: 12px 0;
    border-top: 1px solid var(--tos-border);
    color: var(--tos-muted);
    font-size: 12px;
}

.docs-byline.tags {
    color: inherit;
    font-size: inherit;
}

.tos-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--tos-primary), #5ee0c3);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

.scrollup,
a.scrollup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 450;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tos-primary-700);
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(12, 144, 119, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.9);
    transition: opacity 0.3s var(--tos-ease), transform 0.3s var(--tos-ease), visibility 0.3s, background-color 0.2s var(--tos-ease);
}

.scrollup.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.scrollup:hover,
a.scrollup:hover {
    background: var(--tos-primary);
    color: #fff;
}

.btn-detail,
.btn-expand-all {
    border: none !important;
    border-radius: 999px !important;
    background-color: var(--tos-primary-700) !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: background-color 0.2s var(--tos-ease), transform 0.2s var(--tos-ease) !important;
}

.btn-detail:hover,
.btn-expand-all:hover {
    background-color: var(--tos-primary) !important;
    color: #fff;
    transform: translateY(-1px);
}

.detail-control .operation {
    min-width: 70px;
    white-space: nowrap;
}

.operation-grp {
    border-radius: var(--tos-radius-sm);
    transition: background-color 0.2s var(--tos-ease);
}

.operation-grp:hover {
    background: var(--tos-surface);
}

.api-detail {
    animation: tos-fade-up 0.3s var(--tos-ease);
}

.api-detail pre {
    padding: 20px 30px !important;
    border-radius: var(--tos-radius);
    background-color: #1f2a37;
    color: #fff !important;
    overflow: auto !important;
}

.expand-all {
    float: right;
    margin-top: 10px;
}

.font-size-12 {
    font-size: 12px;
}

.search-page-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.search-page-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--tos-border);
    border-radius: 999px;
    font-size: 16px;
    box-shadow: var(--tos-shadow-sm);
    transition: border-color 0.2s var(--tos-ease), box-shadow 0.2s var(--tos-ease);
}

.search-page-form input[type="search"]:focus {
    border-color: var(--tos-primary);
    box-shadow: 0 0 0 4px var(--tos-primary-100);
    outline: none;
}

.search-page-form .btn {
    height: 44px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background-color: var(--tos-primary-700);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    box-shadow: none;
    transition: background-color 0.2s var(--tos-ease);
}

.search-page-form .btn:hover {
    background-color: var(--tos-primary);
}

.search-progress {
    color: var(--tos-muted);
}

#search-results ul.search {
    margin: 0;
    padding: 0;
    list-style: none;
}

#search-results ul.search li,
#search-results ul.search li:first-child {
    margin: 0 0 10px;
    padding: 14px 18px;
    border: 1px solid var(--tos-border);
    border-radius: var(--tos-radius);
    background: var(--tos-bg);
    list-style: none;
    animation: tos-fade-up 0.35s var(--tos-ease) both;
    transition: border-color 0.2s var(--tos-ease), box-shadow 0.2s var(--tos-ease), transform 0.2s var(--tos-ease);
}

#search-results ul.search li:hover {
    border-color: var(--tos-primary-100);
    box-shadow: var(--tos-shadow);
    transform: translateY(-1px);
}

#search-results ul.search li:nth-child(2) { animation-delay: 0.03s; }
#search-results ul.search li:nth-child(3) { animation-delay: 0.06s; }
#search-results ul.search li:nth-child(4) { animation-delay: 0.09s; }
#search-results ul.search li:nth-child(5) { animation-delay: 0.12s; }
#search-results ul.search li:nth-child(n+6) { animation-delay: 0.15s; }

#search-results ul.search li a {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

#search-results ul.search li .context {
    margin-top: 4px;
    color: var(--tos-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

#search-results ul.search li .context .highlighted {
    padding: 0 2px;
    border-radius: 3px;
    background-color: #fdf0a6;
    color: var(--tos-text);
}

.wrap-404 {
    margin: 0 auto;
    width: 330px;
    max-width: 100%;
    font-family: "Open Sans", Arial, sans-serif;
    text-align: center;
    animation: tos-fade-up 0.5s var(--tos-ease) both;
}

.wrap-404 span {
    color: var(--tos-text);
    font-size: 16px;
}

.wrap-404 a {
    color: var(--tos-primary-700);
    font-size: 14px;
}

.logo-404 {
    margin-top: 180px;
    margin-bottom: 20px;
}

.logo-404 img {
    max-width: 100%;
}

.wrap-404 .links {
    margin-top: 30px;
}

.wrap-404 .links p {
    margin: 0 0 9px;
}

.wy-nav-top .mobile-nav-toggle,
.wy-nav-top .mobile-nav-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-weight: normal;
    transition: background-color 0.2s var(--tos-ease);
}

@media (hover: hover) {
    .wy-nav-top .mobile-nav-toggle:hover,
    .wy-nav-top .mobile-nav-search:hover {
        background: rgba(255, 255, 255, 0.15);
    }
}

.wy-nav-top .mobile-nav-toggle:active,
.wy-nav-top .mobile-nav-search:active {
    background: rgba(255, 255, 255, 0.2);
}

.wy-nav-top .mobile-nav-toggle i,
.wy-nav-top .mobile-nav-search i {
    float: none;
    padding: 0;
    font-size: 20px;
}

.wy-nav-top .mobile-nav-logo {
    display: inline-flex;
    align-items: center;
    height: 44px;
}

.wy-nav-top .mobile-nav-logo img {
    width: auto;
    height: 26px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
}

@keyframes tos-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes tos-expand {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 1100px) {
    .wy-nav-content {
        padding: 28px 32px 40px;
    }
}

@media screen and (max-width: 768px) {
    .wy-nav-top {
        position: sticky;
        top: 0;
        z-index: 300;
        display: flex;
        align-items: center;
        gap: 8px;
        height: 56px;
        padding: 0 8px;
        line-height: normal;
        background: linear-gradient(90deg, #14c4a2, #10ae8f);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
        transition: box-shadow 0.25s var(--tos-ease);
    }

    .tos-scrolled .wy-nav-top {
        box-shadow: 0 4px 16px rgba(6, 78, 64, 0.2);
    }

    .wy-nav-top .mobile-nav-search {
        margin-left: auto;
    }

    .wy-nav-content-wrap {
        margin-left: 0;
        transition: left 0.35s var(--tos-ease);
    }

    .wy-nav-side {
        left: calc(-1 * var(--tos-sidebar));
        width: var(--tos-sidebar);
        padding-bottom: 0;
        transition: left 0.35s var(--tos-ease);
    }

    .wy-nav-side.shift {
        left: 0;
        width: 85%;
        max-width: 320px;
        z-index: 400;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
    }

    .wy-nav-side.shift .wy-side-scroll {
        width: 100%;
        height: 100%;
        padding-bottom: 60px;
        -webkit-overflow-scrolling: touch;
    }

    .wy-nav-content-wrap.shift {
        left: min(85%, 320px);
    }

    .wy-nav-content-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 350;
        background: rgba(15, 23, 32, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s var(--tos-ease);
    }

    .wy-nav-content-wrap.shift::after {
        opacity: 1;
        pointer-events: auto;
    }

    .rst-versions,
    .rst-versions.shift {
        width: 85%;
        max-width: 320px;
    }

    .wy-nav-content {
        padding: 16px 16px 32px;
    }

    .rst-content {
        font-size: 15px;
    }

    .rst-content h1 {
        font-size: 26px;
    }

    .rst-content h2 {
        margin-top: 36px;
        padding-top: 18px;
        font-size: 22px;
    }

    .rst-content h3 {
        font-size: 18px;
    }

    .rst-content code.literal,
    .rst-content tt.literal {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .rst-content pre.literal-block,
    .rst-content div[class^="highlight"] pre {
        font-size: 12px;
    }

    .rst-content .admonition {
        padding: 12px 14px;
    }

    .operation-grp .operation {
        margin-left: 0;
        margin-right: 0;
    }

    .operation-grp > div {
        padding-bottom: 4px;
    }

    .expand-all {
        float: none;
        margin: 0 0 12px;
    }

    .scrollup,
    a.scrollup {
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.breadcrumb-sep {
    color: #b4bec8;
    font-size: 12px;
}
