:root {
    --lf-color-primary: #d6f458;
    --lf-color-primary-hover: #c3e339;
    --lf-color-dark: #0f1115;
    --lf-color-surface: #ffffff;
    --lf-color-surface-muted: #f5f7f2;
    --lf-color-surface-soft: #f8faf6;
    --lf-color-sidebar: #11151b;
    --lf-color-sidebar-muted: #1a2029;
    --lf-color-text: #12161d;
    --lf-color-text-muted: #5e6674;
    --lf-color-text-inverse: #f3f6fb;
    --lf-color-border: rgba(15, 17, 21, 0.1);
    --lf-color-border-strong: rgba(15, 17, 21, 0.18);
    --lf-color-code-bg: #0b0e13;
    --lf-color-code-text: #edf3fb;
    --lf-radius-sm: 0.8rem;
    --lf-radius-md: 1.25rem;
    --lf-radius-lg: 1.5rem;
    --lf-shadow-sm: 0 10px 30px rgba(15, 17, 21, 0.06);
    --lf-shadow-md: 0 24px 60px rgba(15, 17, 21, 0.12);
    --lf-sidebar-width: 304px;
    --lf-content-gutter: 3rem;
    --lf-content-max: min(1440px, calc(100vw - var(--lf-sidebar-width) - var(--lf-content-gutter)));
    --lf-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lf-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

html[data-lf-theme="dark"] {
    --lf-color-surface: #151922;
    --lf-color-surface-muted: #10141b;
    --lf-color-surface-soft: #0f1319;
    --lf-color-text: #f3f6fb;
    --lf-color-text-muted: #a4adba;
    --lf-color-border: rgba(240, 244, 250, 0.1);
    --lf-color-border-strong: rgba(240, 244, 250, 0.18);
    --lf-shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.28);
    --lf-shadow-md: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html,
body,
#content {
    min-height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(214, 244, 88, 0.12), transparent 28%),
        linear-gradient(180deg, var(--lf-color-surface-soft), var(--lf-color-surface));
    color: var(--lf-color-text);
    font-family: var(--lf-font-sans);
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--lf-color-text);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--lf-color-text);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(214, 244, 88, 0.32) !important;
}

#left-column {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    display: flex;
    width: var(--lf-sidebar-width);
    height: 100vh;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, var(--lf-color-sidebar), #0c1117);
    color: var(--lf-color-text-inverse);
    box-shadow: 16px 0 36px rgba(15, 17, 21, 0.16);
}

#right-column {
    min-height: 100vh;
    margin-left: var(--lf-sidebar-width);
}

#page-content {
    width: min(calc(100% - var(--lf-content-gutter)), var(--lf-content-max));
    margin: 24px auto 0;
    padding: 28px 32px 36px;
    border: 1px solid var(--lf-color-border);
    border-radius: var(--lf-radius-lg);
    background: color-mix(in srgb, var(--lf-color-surface) 96%, transparent);
    box-shadow: var(--lf-shadow-sm);
}

#site-nav.navbar-default {
    min-height: 72px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--lf-color-surface) 88%, transparent);
    background-image: none;
    box-shadow: 0 1px 0 var(--lf-color-border);
    backdrop-filter: blur(18px);
}

#site-nav .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 24px;
}

#site-nav .navbar-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    float: none;
}

#site-nav.navbar-default .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    height: auto;
    padding: 18px 0;
    color: var(--lf-color-text);
}

#site-nav.navbar-default .navbar-brand::before {
    content: none;
}

.lf-brand-mark {
    position: relative;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.9rem;
    background: var(--lf-color-primary);
    flex: 0 0 auto;
}

.lf-brand-mark span {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: var(--lf-color-dark);
}

.lf-brand-mark span:first-child {
    inset: 0.62rem 0.85rem 0.62rem 0.6rem;
}

.lf-brand-mark span:last-child {
    inset: 1.1rem 0.55rem 0.55rem 1.05rem;
}

.lf-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.lf-brand-title {
    font-size: 1rem;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.lf-brand-subtitle {
    margin-top: 0.25rem;
    color: var(--lf-color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#navbar-elements {
    float: none;
    flex: 1 1 auto;
}

#site-nav.navbar-default .navbar-nav > li > a {
    padding: 27px 12px 25px;
    color: var(--lf-color-text-muted);
    font-size: 13px;
    font-weight: 650;
}

#site-nav.navbar-default .navbar-nav > li > a:hover,
#site-nav.navbar-default .navbar-nav > li > a:focus,
#site-nav.navbar-default .navbar-nav > .active > a {
    background: transparent;
    color: var(--lf-color-text);
}

.lf-nav-utilities {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lf-theme-nav-item {
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
}

.lf-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--lf-color-border);
    border-radius: 999px;
    background: var(--lf-color-surface);
    color: var(--lf-color-text);
    box-shadow: var(--lf-shadow-sm);
}

.lf-theme-toggle-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    overflow: hidden;
}

.lf-theme-toggle-icon::after {
    content: "";
    position: absolute;
    inset: 0.14rem;
    border-radius: 999px;
    background: currentColor;
    transform: translateX(0.42rem);
}

html[data-lf-theme="dark"] .lf-theme-toggle-icon::after {
    transform: translateX(0);
}

.lf-sidebar-toggle,
.lf-navigation-toggle {
    display: none;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--lf-color-border);
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--lf-color-surface) 94%, transparent);
    color: var(--lf-color-text);
    box-shadow: var(--lf-shadow-sm);
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.lf-sidebar-toggle:hover,
.lf-navigation-toggle:hover {
    border-color: color-mix(in srgb, var(--lf-color-primary) 70%, var(--lf-color-border));
    background: color-mix(in srgb, var(--lf-color-primary) 16%, var(--lf-color-surface));
}

.lf-sidebar-toggle:focus-visible,
.lf-navigation-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--lf-color-primary) 78%, var(--lf-color-border));
}

.lf-sidebar-toggle:active,
.lf-navigation-toggle:active {
    transform: translateY(1px);
}

.lf-sidebar-toggle-icon,
.lf-navigation-toggle-icon {
    width: 1.35rem;
    height: 1.35rem;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lf-sidebar-toggle-icon path,
.lf-navigation-toggle-icon path {
    transform-box: fill-box;
    transform-origin: center;
    transition:
        transform 160ms ease,
        opacity 160ms ease;
}

body.lf-sidebar-open .lf-sidebar-toggle {
    border-color: color-mix(in srgb, var(--lf-color-primary) 78%, var(--lf-color-border));
    background: color-mix(in srgb, var(--lf-color-primary) 22%, var(--lf-color-surface));
    color: var(--lf-color-text);
}

.navbar-toggle {
    float: none;
    margin: 0;
    background-image: none;
    box-shadow: none;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background-color: transparent;
}

.lf-navigation-toggle[aria-expanded="true"] {
    border-color: color-mix(in srgb, var(--lf-color-primary) 78%, var(--lf-color-border));
    background: color-mix(in srgb, var(--lf-color-primary) 22%, var(--lf-color-surface));
    color: var(--lf-color-text);
}

.lf-navigation-toggle[aria-expanded="true"] .lf-navigation-toggle-icon path:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.lf-navigation-toggle[aria-expanded="true"] .lf-navigation-toggle-icon path:nth-child(2) {
    opacity: 0;
}

.lf-navigation-toggle[aria-expanded="true"] .lf-navigation-toggle-icon path:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

#control-panel {
    padding: 18px 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
}

.lf-control-header {
    margin-bottom: 0.8rem;
}

.lf-control-label {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#control-panel form,
#control-panel > .search-bar {
    margin: 0 0 10px;
}

#control-panel > .search-bar > .progress {
    height: 3px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

#control-panel > .search-bar > .progress > .progress-bar {
    background: var(--lf-color-primary);
}

#version-switcher,
#search-form input {
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.07);
    color: var(--lf-color-text-inverse);
    box-shadow: none;
}

#version-switcher option {
    background: var(--lf-color-sidebar);
    color: #fff;
}

#search-form {
    position: relative;
}

#search-form input {
    width: 100%;
    padding: 9px 12px 9px 38px;
}

#search-form input::placeholder {
    color: #98a2b3;
}

#search-form input:focus {
    border-color: rgba(214, 244, 88, 0.75);
    background: rgba(255, 255, 255, 0.1);
}

#search-form span.icon-search {
    position: absolute;
    top: 11px;
    left: 12px;
    z-index: 2;
    color: #98a2b3;
    font-size: 17px;
}

#api-tree {
    height: 100%;
    overflow: auto;
    background: transparent;
    scrollbar-color: #4f5664 transparent;
    scrollbar-width: thin;
}

#api-tree ul {
    margin: 0;
    padding: 8px 8px 20px;
    list-style: none;
}

#api-tree ul ul {
    padding: 0 0 0 10px;
}

#api-tree li .hd,
#api-tree li .hd:nth-child(even) {
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 0.8rem;
    background: transparent;
    transition: background 120ms ease, color 120ms ease;
}

#api-tree li .hd:hover {
    background: rgba(255, 255, 255, 0.07);
}

#api-tree li.active > .hd {
    background: color-mix(in srgb, var(--lf-color-primary) 22%, transparent);
    box-shadow: inset 0 0 0 1px rgba(214, 244, 88, 0.22);
}

#api-tree a {
    color: #d8dee8;
    font-size: 13px;
}

#api-tree li.active > .hd a {
    color: #f9fbff;
    font-weight: 700;
}

#api-tree div.leaf a {
    margin-left: 20px;
}

#api-tree .hd span {
    width: 22px;
    padding: 0 6px;
    color: #98a2b3;
    font-size: 13px;
    line-height: 1;
    transition: transform 120ms ease, color 120ms ease;
}

#api-tree li.active > .hd span {
    color: var(--lf-color-primary);
}

#api-tree ul li.opened > .hd span {
    transform: rotate(90deg);
}

#api-tree .bd {
    display: none;
}

#api-tree li.opened > .bd {
    display: block;
}

.namespace-breadcrumbs .breadcrumb {
    margin: 0;
    padding: 14px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--lf-color-text-muted);
    font-size: 12px;
    box-shadow: 0 1px 0 var(--lf-color-border);
}

.namespace-breadcrumbs .breadcrumb > li + li::before {
    content: "";
}

.namespace-breadcrumbs .breadcrumb > .backslash {
    color: color-mix(in srgb, var(--lf-color-text-muted) 50%, transparent);
}

.page-header {
    margin: 0 0 22px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--lf-color-border);
}

.page-header h1,
h1 {
    margin-top: 0;
    color: var(--lf-color-text);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 760;
    letter-spacing: -0.035em;
}

h2,
h3,
h4 {
    color: var(--lf-color-text);
    font-weight: 720;
    letter-spacing: -0.02em;
}

#page-content > h2,
.namespace-container > h2 {
    margin: 28px 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--lf-color-border);
    background: transparent;
    color: var(--lf-color-text);
    font-size: 1.5rem;
}

p,
.description,
.method-description,
dd,
li {
    color: var(--lf-color-text-muted);
}

.description {
    margin: 14px 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--lf-color-border);
    border-left: 4px solid var(--lf-color-primary);
    border-radius: var(--lf-radius-md);
    background: var(--lf-color-surface-soft);
}

.description p {
    margin: 7px 0;
    padding: 0;
}

.lf-index-list {
    border-top: 1px solid var(--lf-color-border);
}

.lf-index-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
    gap: 1.25rem 1.75rem;
    align-items: start;
    margin: 0;
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--lf-color-border);
    transition: background-color 0.2s ease;
}

.lf-index-row:hover {
    background: color-mix(in srgb, var(--lf-color-surface-muted) 80%, transparent);
}

.lf-index-row:focus-within {
    background: color-mix(in srgb, var(--lf-color-primary) 18%, var(--lf-color-surface));
}

.lf-index-row--single {
    grid-template-columns: minmax(0, 1fr);
}

.lf-index-primary,
.lf-index-secondary {
    min-width: 0;
}

.lf-index-primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
}

.lf-index-primary a,
.lf-index-secondary a {
    overflow-wrap: anywhere;
}

.lf-index-secondary > :last-child,
.lf-index-primary > :last-child {
    margin-bottom: 0;
}

.details {
    padding-left: 18px;
}

#method-details .method-item,
#property-details .property-item,
#constant-details .constant-item {
    margin-bottom: 2rem;
    padding: 0 0 2rem;
    border-bottom: 1px solid var(--lf-color-border);
}

.property-item h3,
.constant-item h3 {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--lf-color-border);
    border-radius: 0.95rem;
    background: var(--lf-color-surface-muted);
    font-size: 16px;
}

.signature,
.property-item h3,
.constant-item h3,
.method code,
.property code {
    overflow-wrap: anywhere;
}

.lf-method-anchor {
    position: relative;
}

.lf-method-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    margin: 0 0 16px;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--lf-color-border);
    border-radius: 0.95rem;
    background: var(--lf-color-surface-muted);
    box-shadow: 0 1px 0 rgba(15, 17, 21, 0.03);
}

.lf-method-signature {
    min-width: 0;
    overflow-x: auto;
}

.lf-method-signature code {
    display: block;
    width: max-content;
    min-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    white-space: nowrap;
    font-family: var(--lf-font-mono);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.lf-method-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.lf-method-source,
.lf-method-origin {
    color: color-mix(in srgb, var(--lf-color-text-muted) 74%, var(--lf-color-dark));
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
}

.lf-method-source a,
.lf-method-origin a {
    color: inherit;
}

.lf-method-source a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.52rem;
    border: 1px solid var(--lf-color-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--lf-color-surface) 92%, transparent);
}

.lf-method-origin a {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--lf-color-text-muted) 45%, transparent);
    text-underline-offset: 0.14em;
}

.lf-parameter-table .lf-parameter-type,
.lf-parameter-table .lf-parameter-name {
    white-space: normal;
}

.lf-parameter-table .lf-parameter-type {
    width: 28%;
    min-width: 12rem;
}

.lf-parameter-table .lf-parameter-name {
    width: 20%;
    min-width: 10rem;
}

.lf-parameter-table .lf-parameter-description {
    width: auto;
}

.lf-parameter-table td {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
}

.lf-parameter-table .lf-parameter-name code {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: inherit;
}

.lf-parameter-table .lf-parameter-type a,
.lf-parameter-table .lf-parameter-type abbr {
    font-size: inherit;
    font-weight: 650;
}

.lf-parameter-table--compact .lf-parameter-type {
    width: 58%;
}

.lf-parameter-table--compact .lf-parameter-name {
    width: 42%;
}

.no-description {
    color: var(--lf-color-text-muted);
    font-size: 90%;
}

.type {
    overflow-wrap: anywhere;
}

.lf-method-summary-list {
    border-top: 1px solid var(--lf-color-border);
}

.lf-method-summary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1.25rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--lf-color-border);
    transition: background-color 0.2s ease;
}

.lf-method-summary-row:hover {
    background: color-mix(in srgb, var(--lf-color-surface-muted) 80%, transparent);
}

.lf-method-summary-row:focus-within {
    background: color-mix(in srgb, var(--lf-color-primary) 18%, var(--lf-color-surface));
}

.lf-method-summary-main,
.lf-method-summary-side {
    min-width: 0;
}

.lf-method-summary-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    color: var(--lf-color-text-muted);
    font-size: 0.75rem;
}

.lf-method-summary-badge,
.lf-method-summary-return {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.58rem;
    border: 1px solid var(--lf-color-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--lf-color-surface-muted) 78%, transparent);
    color: var(--lf-color-text-muted);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.2;
}

.lf-method-summary-signature {
    min-width: 0;
    overflow-x: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    font-family: var(--lf-font-mono);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 600;
}

.lf-method-summary-signature a:first-child {
    color: var(--lf-color-text);
    font-size: inherit;
    font-weight: 700;
}

.lf-method-summary-signature code,
.lf-method-summary-signature .signature {
    display: inline;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: inherit;
    white-space: normal;
    overflow-wrap: anywhere;
}

.lf-method-summary-signature a,
.lf-method-summary-signature abbr,
.lf-method-summary-signature code {
    font-size: inherit;
    line-height: inherit;
}

.lf-method-signature code,
.lf-parameter-table code {
    font-size: inherit;
}

.lf-method-summary-description {
    margin: 0.4rem 0 0;
    color: var(--lf-color-text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.lf-method-summary-description > :last-child {
    margin-bottom: 0;
}

.lf-method-summary-side {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    align-items: flex-start;
}

.lf-method-summary-origin {
    color: var(--lf-color-text-muted);
}

.tags h4 {
    margin: 1.1rem 0 0.7rem;
}

.namespace-list a {
    overflow-wrap: anywhere;
}

.table,
.method-description table,
.description table {
    width: 100%;
    margin: 16px 0;
    border: 1px solid var(--lf-color-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    background: var(--lf-color-surface);
    overflow: hidden;
}

.table > thead > tr > th,
.method-description th,
.description th {
    border-bottom: 1px solid var(--lf-color-border);
    background: var(--lf-color-surface-muted);
    color: var(--lf-color-text);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.table > tbody > tr > td,
.method-description td,
.description td,
.method-description th,
.description th {
    padding: 12px 14px;
    border-top: 1px solid var(--lf-color-border);
    vertical-align: top;
}

.method-description tbody tr:nth-child(even),
.method-description tbody tr:nth-child(odd),
.description tbody tr:nth-child(even),
.description tbody tr:nth-child(odd),
.method-description thead tr,
.description thead tr {
    background: var(--lf-color-surface);
}

tt,
code,
pre {
    font-family: var(--lf-font-mono);
}

code {
    padding: 0.18em 0.42em;
    border: 1px solid var(--lf-color-border);
    border-radius: 0.45rem;
    background: var(--lf-color-surface-muted);
    color: var(--lf-color-text);
    font-size: 0.9em;
}

pre,
pre.examples {
    padding: 18px 20px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--lf-radius-md);
    background: var(--lf-color-code-bg);
    color: var(--lf-color-code-text);
    font-size: 13px;
    line-height: 1.7;
    box-shadow: var(--lf-shadow-md);
}

pre code {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
}

.auto-complete-results {
    width: 100%;
    z-index: 100;
}

.auto-complete-dropdown-menu {
    max-height: 320px;
    margin-top: 8px;
    padding: 7px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #182230;
    color: #e4e7ec;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.auto-complete-result {
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
}

.auto-complete-selected,
.auto-complete-result:hover {
    background: var(--lf-color-primary);
    color: #0f1115;
}

.auto-complete-highlight {
    padding: 0;
    background: transparent;
    color: inherit;
    font-weight: 750;
}

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

.search-results li {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--lf-color-border);
}

.search-results > li > h2 {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 18px;
}

.search-results > li > h2 > a {
    display: block;
    float: left;
    margin: 0 0 4px;
}

.search-results .search-type {
    float: right;
    margin: 0 0 4px;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--lf-color-primary) 18%, transparent);
    color: var(--lf-color-text);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.search-results .search-from {
    margin: 0 0 12px;
    color: var(--lf-color-text-muted);
    font-size: 12px;
}

.search-results .search-description {
    margin: 8px 0 0 24px;
}

.search-description {
    white-space: pre-wrap;
}

#footer {
    width: min(calc(100% - var(--lf-content-gutter)), var(--lf-content-max));
    margin: 18px auto 28px;
    padding: 0.4rem 0 1rem;
    color: var(--lf-color-text-muted);
    font-size: 11px;
    text-align: right;
}

.lf-footer-primary,
.lf-footer-secondary {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

#footer a {
    color: var(--lf-color-text);
}

abbr[title],
abbr[data-original-title],
abbr {
    border-bottom: 0;
    cursor: help;
}

#page-content abbr[title],
#page-content abbr[data-original-title],
#page-content abbr {
    color: var(--lf-color-text);
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    text-decoration-line: underline;
    text-decoration-color: color-mix(in srgb, var(--lf-color-primary) 72%, transparent);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
    border-bottom: 0;
}

#page-content a abbr[title],
#page-content a abbr[data-original-title],
#page-content a abbr {
    color: inherit;
}

#page-content a:hover abbr[title],
#page-content a:hover abbr[data-original-title],
#page-content a:hover abbr,
#page-content a:focus-visible abbr[title],
#page-content a:focus-visible abbr[data-original-title],
#page-content a:focus-visible abbr {
    text-decoration-color: var(--lf-color-primary);
    text-decoration-thickness: 0.12em;
}

dt {
    font-weight: 700;
    color: var(--lf-color-text);
}

dd {
    margin-left: 24px;
    line-height: 1.6;
    max-width: 78ch;
}

.description > p,
.method-description > p,
.details > p,
.class-description > p,
.note,
blockquote {
    max-width: 78ch;
}

#doc-index h2 {
    margin: 30px 0 16px;
    font-weight: 750;
}

#doc-index .pagination {
    margin: 0;
}

.alert,
.alert.alert-warning,
.alert.alert-danger,
.deprecated,
.warning {
    padding: 14px 16px;
    border: 1px solid var(--lf-color-border-strong);
    border-left: 4px solid var(--lf-color-primary);
    border-radius: var(--lf-radius-md);
    background: var(--lf-color-surface-soft);
}

.deprecated {
    border-left-color: #f59e0b;
}

.warning {
    border-left-color: #ef4444;
}

.label,
.badge {
    border-radius: 999px;
}

.progress-bar.indeterminate {
    position: relative;
    animation: progress-indeterminate 3s linear infinite;
}

@keyframes progress-indeterminate {
    from { left: -25%; width: 25%; }
    to { left: 100%; width: 25%; }
}

.lf-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(15, 17, 21, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms ease;
}

body.lf-sidebar-open .lf-sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1199px) {
    :root {
        --lf-content-gutter: 2.5rem;
        --lf-content-max: min(1440px, calc(100vw - var(--lf-sidebar-width) - var(--lf-content-gutter)));
    }
}

@media (min-width: 1800px) {
    :root {
        --lf-content-gutter: 4rem;
        --lf-content-max: min(1560px, calc(100vw - var(--lf-sidebar-width) - var(--lf-content-gutter)));
    }
}

@media (max-width: 1024px) {
    .lf-sidebar-toggle,
    .lf-navigation-toggle {
        display: grid;
    }

    #left-column {
        transform: translateX(-100%);
        transition: transform 180ms ease;
    }

    body.lf-sidebar-open #left-column {
        transform: translateX(0);
    }

    #right-column {
        width: 100%;
        margin-left: 0;
    }

    #page-content,
    #footer {
        width: calc(100% - 28px);
    }

    #page-content {
        margin-top: 16px;
        padding: 22px 18px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lf-sidebar-toggle,
    .lf-navigation-toggle,
    .lf-sidebar-toggle-icon path,
    .lf-navigation-toggle-icon path,
    #left-column,
    .lf-sidebar-overlay {
        transition: none;
    }
}

@media (max-width: 991px) {
    .lf-index-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    #site-nav .container-fluid {
        display: block;
        padding: 0 18px;
    }

    #site-nav .navbar-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    #site-nav.navbar-default .navbar-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    #navbar-elements {
        float: none !important;
    }

    #site-nav.navbar-default .navbar-nav > li > a {
        padding: 12px 16px;
    }

    .navbar-collapse {
        border-top: 1px solid var(--lf-color-border);
        box-shadow: none;
    }

    .lf-nav-utilities {
        display: block;
    }

    .lf-theme-nav-item {
        padding: 10px 16px 14px;
    }
}

@media (max-width: 768px) {
    .lf-brand-subtitle {
        display: none;
    }

    .lf-method-header {
        grid-template-columns: 1fr;
    }

    .lf-method-meta {
        align-items: flex-start;
    }

    .lf-method-source,
    .lf-method-origin {
        text-align: left;
    }

    .page-header h1,
    h1 {
        font-size: 28px;
    }

    .lf-parameter-table .lf-parameter-type,
    .lf-parameter-table .lf-parameter-name,
    .lf-parameter-table .lf-parameter-description {
        width: auto;
        min-width: 0;
    }

    .lf-method-summary-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.9rem 0.9rem;
    }

    .lf-method-summary-side {
        justify-content: flex-start;
    }

    .lf-footer-primary,
    .lf-footer-secondary {
        justify-content: flex-start;
        text-align: left;
    }

    #footer {
        text-align: left;
    }
}
