* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body,
.docs-wrap,
.docs-sidebar,
.docs-main,
.docs-content,
.docs-search-box,
.docs-pager-item {
    font-family: "Timeable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.docs-wrap { display: flex; min-height: 100vh; background: #f7f9fb; }
.darkside .docs-wrap { background: #1e1e1e; }

/* Sidebar */
.docs-sidebar {
    width: 240px; flex-shrink: 0; background: #fff;
    border-right: 1px solid #e8ecf0;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.darkside .docs-sidebar { background: #333333; border-right-color: #333333; }

.docs-header {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 16px 14px; border-bottom: 1px solid #e8ecf0; text-decoration: none;
}
.darkside .docs-header { border-bottom-color: #333; }
.docs-header-logo { height: 26px; width: auto; object-fit: contain; display: block; }
.docs-header-title {
    font-size: 14px;
    font-weight: 600;
    color: #293340;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.darkside .docs-header-title { color: #f3f4f6; }
.docs-header-badge {
    font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
    line-height: 14px; padding: 2px 7px; border-radius: 3px; background: #e5e7eb; color: #4b5563; flex-shrink: 0;
}
.darkside .docs-header-badge { background: #3f3f46; color: #d4d4d8; }

.docs-nav-list { list-style: none; margin: 0; padding: 10px 10px 0; }
.docs-nav-list.docs-nav-sub { padding: 2px 0 2px 16px; }
.docs-nav-divider {
    font-size: 10px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: #6D7784; padding: 16px 10px 4px;
}
.docs-nav-divider-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.docs-nav-divider-toggle::after {
    content: "\F0140";
    font-family: "Material Design Icons";
    font-size: 14px;
    line-height: 1;
    opacity: .75;
    transform: rotate(0deg);
    transition: transform .15s ease;
}
.docs-nav-divider-toggle.collapsed::after {
    transform: rotate(-90deg);
}
.docs-nav-collapsed-item {
    display: none !important;
}
.darkside .docs-nav-divider { color: #b6c2cf; }
.docs-nav-admin-divider { color: #6D7784; }
.darkside .docs-nav-admin-divider { color: #b6c2cf; }
.docs-nav-item > a, .docs-nav-group {
    display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px;
    font-size: 13.5px; color: #6D7784; text-decoration: none; transition: background .12s, color .12s;
}
.darkside .docs-nav-item > a,
.darkside .docs-nav-group { color: #c3ceda; }
.docs-nav-item > a:hover { background: #f0f4ff; color: #293340; }
.darkside .docs-nav-item > a:hover { background: #333; color: #fff; }
.docs-nav-item.active > a { background: #eef2ff; color: #2b69e9; font-weight: 500; }
.docs-nav-divider-toggle:focus-visible {
    outline: 2px solid #2B69E7;
    outline-offset: 2px;
    border-radius: 4px;
}
.darkside .docs-nav-item.active > a { background: rgba(43,105,233,.18); color: #7ba8ff; }
.docs-nav-icon { font-size: 15px; opacity: .7; flex-shrink: 0; }
.docs-nav-item.active > a .docs-nav-icon { opacity: 1; }
.docs-nav-admin-item > a { border-left: 2px solid transparent; padding-left: 8px; }

.docs-sidebar-back { padding: 14px 16px; border-top: 1px solid #e8ecf0; }
.darkside .docs-sidebar-back { border-top-color: #333; }
.docs-sidebar-back a {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; color: #6D7784; text-decoration: none; transition: color .15s;
}
.darkside .docs-sidebar-back a { color: #c3ceda; }
.docs-sidebar-back a:hover { color: #2b69e9; }
.docs-nav-empty { padding: 16px; font-size: 13px; color: #6D7784; }
.darkside .docs-nav-empty { color: #c3ceda; }
.docs-sidebar-note {
    margin: 10px 12px 8px;
    border: 1px solid #93c5fd;
    border-left: 3px solid #2b69e9;
    border-radius: 8px;
    background: rgba(43,105,233,.08);
    padding: 10px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #1e3a8a;
}
.darkside .docs-sidebar-note {
    border-color: #1d4ed8;
    border-left-color: #60a5fa;
    background: rgba(37,99,235,.18);
    color: #bfdbfe;
}

.docs-sidebar-user {
    margin-top: auto;
    position: relative;
    padding: 10px 12px 8px;
    border-top: 1px solid #e8ecf0;
}
.darkside .docs-sidebar-user { border-top-color: #333; }
.docs-sidebar-user-toggle {
    width: 100%;
    border: 1px solid #dbe3ee;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    color: #293340;
    text-align: left;
    text-decoration: none !important;
}
.docs-sidebar-user-toggle:hover { border-color: #93c5fd; }
.docs-sidebar-user-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
.darkside .docs-sidebar-user-toggle {
    background: #333333;
    border-color: #333333;
    color: #f4f4f5;
}
.docs-sidebar-user-pic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #d8e0ea;
}
.darkside .docs-sidebar-user-pic { border-color: #4b5563; }
.docs-sidebar-user-meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}
.docs-sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none !important;
}
.docs-sidebar-user-role {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
    margin-top: 2px;
    text-decoration: none !important;
}
.darkside .docs-sidebar-user-role { color: #a1a1aa; }
.docs-sidebar-user-arrow {
    color: #64748b;
    font-size: 20px;
    transition: transform .15s ease, color .15s ease;
}
.darkside .docs-sidebar-user-arrow { color: #a1a1aa; }
.docs-sidebar-user.open .docs-sidebar-user-arrow { transform: rotate(90deg); color: #2563eb; }

.docs-sidebar-user-menu-trigger {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f1f5f9;
}

.docs-sidebar-user-toggle:hover .docs-sidebar-user-menu-trigger {
    background: #e2e8f0;
}

.darkside .docs-sidebar-user-menu-trigger {
    background: #3a3a3a;
}

.darkside .docs-sidebar-user-toggle:hover .docs-sidebar-user-menu-trigger {
    background: #444;
}

.docs-sidebar-user-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .14);
    max-height: none;
    overflow: visible;
    z-index: 450;
}
.docs-sidebar-user.open .docs-sidebar-user-menu { display: block; }
.darkside .docs-sidebar-user-menu {
    background: #333333;
    border-color: #333333;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .34);
}
.docs-sidebar-user-menu-title {
    margin: 6px 4px 4px;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
}
.darkside .docs-sidebar-user-menu-title { color: #a1a1aa; }
.docs-sidebar-user-menu a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    padding: 6px 8px;
}
.docs-sidebar-user-menu a:hover {
    background: #edf2ff;
    color: #1d4ed8;
}

.docs-dark-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
}

.docs-dark-switch-row:hover {
    background: #edf2ff;
}

.docs-dark-switch-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #334155;
}

.docs-dark-switch {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.docs-dark-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.docs-dark-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .15s ease;
}

.docs-dark-switch-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15,23,42,.25);
    transition: transform .15s ease;
}

.docs-dark-switch input:checked + .docs-dark-switch-slider {
    background: #2563eb;
}

.docs-dark-switch input:checked + .docs-dark-switch-slider::before {
    transform: translateX(16px);
}

.docs-dark-switch input:focus-visible + .docs-dark-switch-slider {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.darkside .docs-sidebar-user-menu a {
    color: #e5e7eb;
}
.darkside .docs-sidebar-user-menu a:hover {
    background: #3a3a3a;
    color: #93c5fd;
}

.darkside .docs-dark-switch-row:hover {
    background: #3a3a3a;
}

.darkside .docs-dark-switch-label {
    color: #e5e7eb;
}

.darkside .docs-dark-switch-slider {
    background: #4b5563;
}

.darkside .docs-dark-switch input:checked + .docs-dark-switch-slider {
    background: #3b82f6;
}

/* Right side */
.docs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* Admin banners */
.docs-admin-toolbar,
.docs-view-as-user-banner {
    font-size: 13px;
    padding: 10px 32px;
    min-height: 46px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    box-sizing: border-box;
}
.docs-admin-toolbar > .mdi,
.docs-view-as-user-banner > .mdi {
    font-size: 16px;
    line-height: 1;
    margin-top: -1px;
}
.docs-admin-toolbar {
    background: #eaf2ff;
    color: #1e3a8a;
    border-bottom: 1px solid #bfdbfe;
}
.docs-admin-toolbar strong { color: #2b69e9; }
.docs-admin-toolbar .sp { flex: 1; }
.docs-admin-toolbar a { color: #2b69e9; text-decoration: underline; font-weight: 500; }
.docs-admin-toolbar a.js-docs-cache-refresh,
.docs-admin-toolbar a.js-docs-cache-refresh:hover,
.docs-admin-toolbar a.js-docs-cache-refresh:focus {
    text-decoration: none;
}
.js-docs-cache-refresh,
.js-docs-cache-refresh:hover,
.js-docs-cache-refresh:focus {
    text-decoration: none !important;
}
.darkside .docs-admin-toolbar {
    background: #26303d;
    color: #dbe7f5;
    padding-top: 11px;
    padding-bottom: 9px;
    border-bottom-color: #3f4f66;
}
.darkside .docs-admin-toolbar strong {
    color: #93c5fd;
}
.darkside .docs-admin-toolbar a {
    color: #93c5fd;
}
.docs-admin-toolbar a[data-docs-view-toggle],
.docs-view-as-user-banner a[data-docs-view-toggle],
.docs-mobile-view-toggle[data-docs-view-toggle] {
    text-decoration: none;
}
.docs-view-as-user-banner {
    background: #dbeafe;
    color: #1e3a8a;
    border-bottom: 1px solid #93c5fd;
    font-weight: 500;
}
.docs-view-as-user-banner .sp { flex: 1; }
.docs-view-as-user-banner a { color: #2b69e9; text-decoration: underline; }
.darkside .docs-view-as-user-banner {
    background: #1f3b52;
    color: #dbe7f5;
    border-bottom-color: #2f516e;
}
.darkside .docs-view-as-user-banner a {
    color: #93c5fd;
}

/* Mobile topbar */
.docs-mobile-topbar {
    display: none; align-items: center; gap: 12px; padding: 12px 16px;
    background: #fff; border-bottom: 1px solid #e8ecf0;
    position: sticky; top: 0; z-index: 50; flex-shrink: 0;
}
.darkside .docs-mobile-topbar { background: #262626; border-bottom-color: #333; }
.docs-mobile-toggle { background: none; border: none; cursor: pointer; color: #293340; font-size: 20px; padding: 2px; line-height: 1; }
.darkside .docs-mobile-toggle { color: #fff; }
.docs-mobile-logo { display: flex; align-items: center; gap: 8px; }
.docs-mobile-logo img { height: 22px; width: auto; object-fit: contain; }
.docs-mobile-logo-title {
    font-size: 13px;
    font-weight: 600;
    color: #293340;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.darkside .docs-mobile-logo-title { color: #f3f4f6; }
.docs-mobile-actions { margin-left: auto; display: none; align-items: center; }
.docs-mobile-view-toggle {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 500; text-decoration: none;
    color: #2b69e9; background: rgba(43,105,233,.08);
    padding: 6px 9px; border-radius: 6px;
}
.docs-mobile-actions { gap: 6px; }
.docs-mobile-back-toggle {
    color: #3b4656;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    text-decoration: none !important;
}
.darkside .docs-mobile-view-toggle { color: #7ba8ff; background: rgba(43,105,233,.16); }
.darkside .docs-mobile-back-toggle {
    color: #d3dbe7;
    background: #2a3038;
    border-color: #3a4655;
}

.docs-panel-return {
    width: 100%;
    max-width: 1176px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 12px 68px 0;
}
.docs-panel-return-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #3b4656;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    padding: 9px 13px;
    box-shadow: none;
    text-decoration: none !important;
}
.docs-panel-return-btn:hover {
    color: #1f2937;
    background: #f1f5f9;
    border-color: #cfd9e5;
}
.darkside .docs-panel-return-btn {
    color: #d3dbe7;
    background: #2a3038;
    border-color: #3a4655;
    box-shadow: none;
}

/* Content */
.docs-content-shell { padding: 24px 28px 70px; }
.docs-reading-wrap { max-width: 1120px; margin: 0 auto; width: 100%; }
.docs-reading-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    grid-template-areas: "main toc";
    gap: 18px;
    align-items: start;
}
.docs-reading-main {
    min-width: 0;
    grid-area: main;
}
.docs-search-trigger-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
    padding-left: 40px;
}
.docs-search-trigger {
    border: 1px solid #d7dee8; background: #fff; color: #334155;
    border-radius: 12px; padding: 10px 14px; min-width: 260px;
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    font-size: 14px; text-align: left;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.docs-search-trigger .kbd {
    margin-left: auto; font-size: 11px; color: #64748b;
    border: 1px solid #cbd5e1; border-radius: 6px; padding: 2px 6px;
    background: #f8fafc;
}
.docs-search-trigger:hover { border-color: #93c5fd; }
.darkside .docs-search-trigger { background: #333333; border-color: #333333; color: #e5e7eb; }
.darkside .docs-search-trigger .kbd { background: #2f2f2f; border-color: #4b5563; color: #cbd5e1; }

.docs-content { width: 100%; max-width: 100%; padding: 24px 40px 80px; }

/* Quick tour floating widget + popup */
.docs-tour-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(360px, calc(100vw - 22px));
    z-index: 270;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #cfe1ff;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(26, 77, 183, .18);
    overflow: hidden;
}
.docs-tour-fab.is-compact { width: min(290px, calc(100vw - 22px)); }
.darkside .docs-tour-fab {
    background: #333333;
    border-color: #4b5b73;
    box-shadow: 0 20px 42px rgba(0,0,0,.35);
}
.docs-tour-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #cfe1ff;
}
.darkside .docs-tour-head { border-bottom-color: #4b5b73; }
.docs-tour-title {
    font-size: 14px;
    font-weight: 700;
    color: #133b84;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.darkside .docs-tour-title { color: #f3f4f6; }
.docs-tour-muted {
    font-size: 12px;
    color: #64748b;
}
.darkside .docs-tour-muted { color: #c7d1dc; }
.docs-tour-body {
    padding: 10px 12px 12px;
}
.docs-tour-progress {
    height: 8px;
    width: 100%;
    border-radius: 999px;
    background: #e6eefc;
    overflow: hidden;
    margin: 0 0 10px;
}
.darkside .docs-tour-progress { background: #333333; }
.docs-tour-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2B69E7 0%, #2B69E7 100%);
    transition: width .2s ease;
}
.docs-tour-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    max-height: 210px;
    overflow: auto;
}
.docs-tour-step {
    border: 1px solid #d8e4f7;
    border-radius: 9px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
}
.darkside .docs-tour-step {
    background: #333333;
    border-color: #445066;
}
.docs-tour-step.done {
    border-color: #56c271;
    background: #effdf2;
}
.darkside .docs-tour-step.done {
    border-color: #1f7a3a;
    background: rgba(19, 98, 44, .35);
}
.docs-tour-step.current {
    border-color: #93c5fd;
}
.docs-tour-step input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #2B69E7;
}
.docs-tour-step.done input[type="checkbox"] { accent-color: #1a9b44; }
.docs-tour-step-link {
    text-decoration: none;
    color: #334155;
    font-size: 12.5px;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.docs-tour-step-link:hover { color: #2B69E7; text-decoration: underline; }
.docs-tour-step.done .docs-tour-step-link { color: #0f7a35; font-weight: 500; }
.darkside .docs-tour-step-link { color: #e5e7eb; }
.darkside .docs-tour-step.done .docs-tour-step-link { color: #7ae79f; }
.darkside .docs-tour-step-link:hover { color: #8db5ff; }
.docs-tour-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.docs-tour-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.docs-tour-compact-meta {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.darkside .docs-tour-compact-meta { color: #c7d1dc; }
.docs-tour-close {
    border: 0;
    background: transparent;
    color: #5f6f86;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
}
.docs-tour-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
}
.docs-tour-btn:hover {
    border-color: #2B69E7;
    color: #2B69E7;
}
.docs-tour-btn.danger:hover {
    border-color: #fca5a5;
    color: #b91c1c;
}
.darkside .docs-tour-btn {
    background: #262626;
    border-color: #475569;
    color: #e5e7eb;
}
.darkside .docs-tour-close { color: #c7d1dc; }
.darkside .docs-tour-btn:hover {
    border-color: #2B69E7;
    color: #8db5ff;
}
.darkside .docs-tour-btn.danger:hover {
    border-color: #ef4444;
    color: #fca5a5;
}
.docs-tour-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(15,23,42,.45);
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.docs-tour-popup.open { display: flex; }
.docs-tour-popup-card {
    width: min(520px, calc(100vw - 22px));
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15,23,42,.26);
    padding: 16px;
}
.darkside .docs-tour-popup-card {
    background: #333333;
    border-color: #333333;
}
.docs-tour-sub {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0 0;
    line-height: 1.5;
}
.darkside .docs-tour-sub { color: #a1a1aa; }

/* On this page */
.docs-toc {
    position: sticky;
    top: 24px;
    grid-area: toc;
    padding: 24px 14px 12px;
    max-height: calc(100vh - 48px);
    overflow: auto;
}
.docs-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #293340;
    margin-bottom: 10px;
}
.darkside .docs-toc-title { color: #f3f4f6; }
.docs-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid #e5e7eb;
}
.darkside .docs-toc-list { border-left-color: #3a3a3a; }
.docs-toc-item {
    margin: 0;
    padding: 0;
}
.docs-toc-item a {
    display: block;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 0 8px 12px;
    border-left: 2px solid transparent;
    margin-left: -1px;
}
.docs-toc-item.level-3 a { padding-left: 22px; font-size: 13px; }
.docs-toc-item a:hover { color: #1f2937; }
.darkside .docs-toc-item a { color: #a1a1aa; }
.darkside .docs-toc-item a:hover { color: #f4f4f5; }
.docs-toc-item.active a {
    color: #111827;
    border-left-color: #111827;
    font-weight: 500;
}
.darkside .docs-toc-item.active a {
    color: #f9fafb;
    border-left-color: #f9fafb;
}
.docs-toc-empty {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.darkside .docs-toc-empty { color: #a1a1aa; }

.docs-pager {
    margin-top: 18px;
    padding: 0 40px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.docs-pager-item {
    background: #fff; border: 1px solid #d8e0ea; border-radius: 10px;
    padding: 12px 14px; text-decoration: none; color: #111827;
    display: flex; align-items: center; gap: 10px; min-height: 72px;
    transition: border-color .15s, box-shadow .15s;
}
.docs-pager-item:hover { border-color: #93c5fd; box-shadow: 0 6px 18px rgba(15,23,42,.07); text-decoration: none; }
.docs-pager-arrow { font-size: 22px; color: #64748b; flex-shrink: 0; opacity: .8; }
.docs-pager-meta { display: flex; flex-direction: column; min-width: 0; }
.docs-pager-label { font-size: 12px; color: #64748b; line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; }
.docs-pager-title { font-size: 16px; line-height: 1.25; color: #111827; margin-top: 4px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docs-pager-page-icon { font-size: 15px; color: #2b69e9; flex-shrink: 0; opacity: .95; }
.docs-pager-right { justify-content: space-between; }
.docs-pager-right .docs-pager-meta { order: 1; }
.docs-pager-right .docs-pager-arrow { order: 2; margin-left: auto; }
.darkside .docs-pager-item { background: #333333; border-color: #333333; color: #e5e7eb; }
.darkside .docs-pager-label { color: #a1a1aa; }
.darkside .docs-pager-title { color: #f4f4f5; }
.darkside .docs-pager-arrow { color: #9ca3af; }

.docs-search-modal {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(15,23,42,.42); align-items: flex-start; justify-content: center;
    padding-top: 70px;
}
.docs-search-modal.open { display: flex; }
.docs-search-box {
    width: min(760px, calc(100vw - 28px));
    border: 1px solid #d1d9e4; border-radius: 16px; background: #fff;
    box-shadow: 0 24px 60px rgba(15,23,42,.26);
    overflow: hidden;
}
.docs-search-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e5eaf0; }
.docs-search-input {
    border: 0; outline: none; width: 100%; font-size: 18px;
    background: transparent; color: #111827;
}
.docs-search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.docs-search-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 12px; border-radius: 10px; text-decoration: none;
    color: #111827; border: 1px solid transparent;
}
.docs-search-item:hover, .docs-search-item.active {
    background: #eef4ff; border-color: #dbe7ff; text-decoration: none;
}
.docs-search-item-icon { color: #64748b; font-size: 18px; }
.docs-search-item-meta { min-width: 0; flex: 1; }
.docs-search-item-title { font-size: 15px; line-height: 1.2; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docs-search-item-snippet { font-size: 15px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docs-search-item mark { background: #dbeafe; color: #111827; padding: 0 2px; border-radius: 3px; }
.docs-search-empty { padding: 18px; color: #6b7280; font-size: 14px; }
.docs-search-foot { padding: 10px 14px; border-top: 1px solid #e5eaf0; color: #64748b; font-size: 13px; display: flex; gap: 14px; justify-content: flex-end; }
.docs-search-foot .kbd { border: 1px solid #cbd5e1; border-radius: 5px; padding: 1px 6px; font-size: 11px; background: #f8fafc; }
.docs-search-head .docs-mobile-view-toggle {
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}
.docs-search-head .docs-mobile-view-toggle:focus,
.docs-search-head .docs-mobile-view-toggle:active {
    outline: none;
    box-shadow: none;
}
.darkside .docs-search-box { background: #333333; border-color: #333333; }
.darkside .docs-search-head, .darkside .docs-search-foot { border-color: #383838; }
.darkside .docs-search-input { color: #f4f4f5; }
.darkside .docs-search-item { color: #f4f4f5; }
.darkside .docs-search-item:hover, .darkside .docs-search-item.active { background: #3a3a3a; border-color: #3a3a3a; }
.darkside .docs-search-item-icon { color: #a1a1aa; }
.darkside .docs-search-item-snippet, .darkside .docs-search-empty { color: #a1a1aa; }
.darkside .docs-search-item mark { background: #1e3a8a; color: #e5e7eb; }
.darkside .docs-search-foot .kbd { border-color: #4b5563; background: #2f2f2f; color: #d1d5db; }

/* Markdown typography */
.docs-content h1 { font-size: 31px; font-weight: 700; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.02em; color: #293340; }
.darkside .docs-content h1 { color: #fff; }
.docs-content h2 {
    font-size: 21px; font-weight: 600; margin: 42px 0 14px; padding-bottom: 10px;
    border-bottom: 1px solid #e8ecf0; color: #293340;
}
.darkside .docs-content h2 { color: #e2e8f0; border-bottom-color: #333; }
.docs-content h3 { font-size: 17px; font-weight: 600; margin: 30px 0 10px; color: #293340; }
.darkside .docs-content h3 { color: #e2e8f0; }
.docs-content h4 { font-size: 14px; font-weight: 500; margin: 20px 0 6px; }
.docs-content p { line-height: 1.78; margin: 0 0 16px; font-size: 15px; color: #293340; }
.darkside .docs-content p { color: #c5cdd8; }
.docs-tour-inline-cta {
    margin: 0 0 18px;
    border: 1px solid #cfe1ff;
    background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.docs-tour-inline-cta-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.docs-tour-inline-cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 18px;
    flex-shrink: 0;
}
.docs-tour-inline-cta-text {
    display: contents;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 1.45;
    text-align: left;
    padding-top: 0;
}
.docs-tour-inline-cta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    align-self: center;
}
.docs-tour-inline-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    white-space: nowrap;
    border-color: #1d4ed8;
    color: #fff;
    background: #2B69E7;
}
.docs-tour-inline-cta-btn:hover {
    border-color: #1e40af;
    color: #fff;
}
.darkside .docs-tour-inline-cta {
    border-color: #3f4f66;
    background: linear-gradient(135deg, #2f3642 0%, #26303d 100%);
}
.darkside .docs-tour-inline-cta-icon {
    background: rgba(59,130,246,.2);
    color: #93c5fd;
}
.darkside .docs-tour-inline-cta-text { color: #d1dae5; }

@media (max-width: 640px) {
    .docs-tour-inline-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .docs-tour-inline-cta-actions {
        width: 100%;
    }

    .docs-tour-inline-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
.docs-content a { color: #2563eb; text-decoration: none; font-weight: 500; }
.docs-content a:hover { text-decoration: underline; }
.docs-content ul, .docs-content ol { padding-left: 28px; margin: 0 0 18px; line-height: 1.78; font-size: 15px; color: #293340; }
.darkside .docs-content ul, .darkside .docs-content ol { color: #c5cdd8; }
.docs-content ul { list-style: disc; }
.docs-content ol { list-style: decimal; }
.docs-content ul ul, .docs-content ul ol,
.docs-content ol ul, .docs-content ol ol { margin-top: 4px; margin-bottom: 4px; }
.docs-content li { margin-bottom: 6px; }
/* Icon-prefixed list items: hide the default bullet so the mdi icon acts as the marker */
.docs-content li:has(> span[class*="mdi"]:first-child),
.docs-content li:has(> span[class*="sli"]:first-child) { list-style: none; margin-left: -28px; }
.docs-content strong { font-weight: 600; }
.docs-content hr { border: none; border-top: 1px solid #e8ecf0; margin: 32px 0; }
.darkside .docs-content hr { border-top-color: #333; }
.docs-content blockquote {
    border-left: 3px solid #3b82f6; margin: 24px 0; padding: 14px 18px;
    background: #eff6ff; border-radius: 0 8px 8px 0; font-size: 14px; color: #334155;
}
.darkside .docs-content blockquote { background: rgba(59,130,246,.14); color: #c5d4f3; }
.docs-content blockquote p { margin-bottom: 0; color: inherit; }
.docs-access-error {
    margin: 4px 0 24px;
    padding: 22px 24px;
    border: 1px solid #f3c7c7;
    border-left: 4px solid #ef4444;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.darkside .docs-access-error {
    border-color: rgba(248, 113, 113, .35);
    background: linear-gradient(180deg, rgba(127, 29, 29, .26) 0%, rgba(127, 29, 29, .14) 100%);
    box-shadow: none;
}
.docs-access-error-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, .12);
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.darkside .docs-access-error-kicker {
    background: rgba(248, 113, 113, .2);
    color: #fecaca;
}
.docs-access-error h1 {
    margin-top: 0;
    margin-bottom: 10px;
}
.docs-access-error p {
    margin-bottom: 14px;
}
.docs-access-error-lead {
    font-size: 16px;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 12px;
}
.darkside .docs-access-error-lead { color: #f3f4f6; }
.docs-access-error-summary {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(239, 68, 68, .08);
    color: #7f1d1d;
    font-size: 14px;
    line-height: 1.6;
}
.darkside .docs-access-error-summary {
    background: rgba(248, 113, 113, .12);
    color: #fecaca;
}
.docs-access-error-subtitle {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.darkside .docs-access-error-subtitle { color: #e2e8f0; }
.docs-access-error-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.7;
    color: #334155;
}
.darkside .docs-access-error-list { color: #c5cdd8; }
.docs-access-error-list li { margin-bottom: 8px; }
.docs-access-error-details {
    margin-top: 16px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: rgba(248, 250, 252, .9);
    overflow: hidden;
}
.darkside .docs-access-error-details {
    border-color: #3f3f46;
    background: rgba(38, 38, 38, .9);
}
.docs-access-error-details > summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.docs-access-error-details > summary::-webkit-details-marker { display: none; }
.docs-access-error-details > summary::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
    color: #64748b;
}
.docs-access-error-details[open] > summary::after { content: "-"; }
.darkside .docs-access-error-details > summary { color: #e2e8f0; }
.darkside .docs-access-error-details > summary::after { color: #cbd5e1; }
.docs-access-error-details-body {
    padding: 0 14px 14px;
    border-top: 1px solid #dbe3ee;
}
.darkside .docs-access-error-details-body { border-top-color: #3f3f46; }
.docs-access-error-details-body p {
    margin: 12px 0 10px;
    font-size: 13px;
    line-height: 1.65;
}
.docs-access-error-technical {
    display: grid;
    gap: 10px;
}
.docs-access-error-technical > div {
    display: grid;
    gap: 4px;
}
.docs-access-error-technical span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}
.darkside .docs-access-error-technical span { color: #a1a1aa; }
.docs-access-error-technical code {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.docs-content code {
    background: #eff6ff; padding: 2px 7px; border-radius: 6px; font-size: 12.5px; color: #1e3a8a;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.darkside .docs-content code { background: #1f2937; color: #c5cdd8; }
.docs-content pre {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 18px; overflow-x: auto; margin: 0 0 22px;
}
.darkside .docs-content pre { background: #333333; border-color: #333333; }
.docs-content pre code { background: none; padding: 0; font-size: 13px; line-height: 1.6; }
.docs-content .docs-code-wrap {
    position: relative;
    margin: 0 0 22px;
}
.docs-content .docs-code-wrap pre {
    margin: 0;
}
.docs-code-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid #cbd5e1;
    background: rgba(255,255,255,.96);
    color: #334155;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: border-color .14s, background .14s, color .14s;
}
.docs-code-copy:hover {
    border-color: #93c5fd;
    background: #ffffff;
    color: #1d4ed8;
}
.docs-code-copy:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 1px;
}
.docs-code-copy.copied {
    border-color: #34d399;
    color: #065f46;
    background: #ecfdf5;
}
.darkside .docs-code-copy {
    border-color: #475569;
    background: rgba(15,23,42,.86);
    color: #e5e7eb;
}
.darkside .docs-code-copy:hover {
    border-color: #60a5fa;
    background: rgba(15,23,42,.96);
    color: #93c5fd;
}
.darkside .docs-code-copy.copied {
    border-color: #10b981;
    color: #6ee7b7;
    background: rgba(6, 78, 59, .35);
}
.docs-content table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    font-size: 14px; margin: 0 0 24px;
    border: 1px solid #e2e8f0; border-radius: 10px;
    overflow: hidden; display: table; table-layout: auto;
    background: #fff;
}
.docs-content th {
    background: #f8fafc; font-weight: 700; text-align: left;
    padding: 10px 14px; border-bottom: 1px solid #e2e8f0; color: #0f172a;
    vertical-align: top;
}
.docs-content td {
    padding: 10px 14px; border-bottom: 1px solid #e2e8f0; color: #1e293b;
    vertical-align: top;
}
.docs-content tbody tr:nth-child(even) { background: #fcfdff; }
.docs-content tbody tr:last-child td { border-bottom: 0; }
.docs-content tbody tr:hover { background: #f8fafc; }
.darkside .docs-content table { border-color: #333; }
.darkside .docs-content th { background: #333333; border-bottom-color: #333333; color: #e2e8f0; }
.darkside .docs-content td { background-color: #3a3a3a; border-bottom-color: #333333; color: #c5cdd8; }
.darkside .docs-content tbody tr:nth-child(even) { background: #333333; }
.darkside .docs-content tbody tr:hover { background: #3a3a3a; }
.docs-content img {
    width: auto !important;
    max-width: min(100%, var(--docs-content-img-max-w, 420px));
    height: auto;
    border-radius: 8px;
}

/* Screenshots */
.docs-shot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 16px 0 26px;
    justify-items: start;
}
.docs-content figure.docs-shot {
    margin: 0 0 22px !important;
    display: table !important;
    width: auto !important;
    max-width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    table-layout: auto;
}
.docs-content figure.docs-shot .docs-shot-frame {
    display: inline-block !important;
    width: auto !important;
    max-width: min(100%, var(--docs-shot-max-w, 340px)) !important;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.darkside .docs-content figure.docs-shot .docs-shot-frame {
    border-color: #3a3a3a;
    background: linear-gradient(180deg, #2b2b2b 0%, #242424 100%);
}
.docs-shot-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 10px;
    border-bottom: 1px solid #e8edf5;
}
.docs-shot-bar > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.docs-shot-bar > span:nth-child(1) { background: #f87171; }
.docs-shot-bar > span:nth-child(2) { background: #fbbf24; }
.docs-shot-bar > span:nth-child(3) { background: #34d399; }
.docs-content figure.docs-shot .docs-shot-open {
    display: block;
    width: auto;
    max-width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
    text-align: left;
    margin: 0;
}
.docs-content figure.docs-shot .docs-shot-open:focus {
    outline: 2px solid #93c5fd;
    outline-offset: -2px;
}
.docs-content figure.docs-shot .docs-shot-open img {
    display: block;
    width: auto !important;
    max-width: min(100%, var(--docs-shot-max-w, 340px)) !important;
    height: auto;
    max-height: min(58vh, var(--docs-shot-max-h, 500px));
    margin: 0;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}
.docs-content figure.docs-shot .docs-shot-meta {
    padding: 12px 14px 14px;
    border-top: 0;
    width: auto;
    max-width: min(100%, var(--docs-shot-max-w, 340px));
    margin: 0;
    text-align: left;
    box-sizing: border-box;
    background: transparent;
}
.darkside .docs-content figure.docs-shot .docs-shot-meta { background: transparent; }
.docs-shot-meta strong {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: #0f172a;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.darkside .docs-shot-meta strong { color: #f3f4f6; }
.docs-shot-meta p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.darkside .docs-shot-meta p { color: #d1d5db; }
.docs-shot-file {
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
    word-break: break-word;
}
.darkside .docs-shot-file { color: #9ca3af; }

.docs-shot-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 350;
    background: rgba(15, 23, 42, .34);
    padding: 24px;
    align-items: center;
    justify-content: center;
}
.docs-shot-modal.open { display: flex; }
.docs-shot-modal-panel {
    width: min(1380px, calc(100vw - 20px));
    max-height: calc(100vh - 24px);
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 26px 72px rgba(15, 23, 42, .24);
}
.docs-shot-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5ebf2;
}
.docs-shot-modal-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.docs-shot-modal-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.docs-shot-modal-dots > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.docs-shot-modal-dots > span:nth-child(1) { background: #f87171; }
.docs-shot-modal-dots > span:nth-child(2) { background: #fbbf24; }
.docs-shot-modal-dots > span:nth-child(3) { background: #34d399; }
.docs-shot-modal-title {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.docs-shot-modal-close {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.docs-shot-modal-close:hover { background: #f8fafc; border-color: #94a3b8; }
.docs-shot-modal-body {
    max-height: calc(100vh - 158px);
    overflow: auto;
    text-align: center;
    background: #fff;
    padding: 10px;
}
.docs-shot-modal-img {
    max-width: min(100%, 1320px);
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}
.docs-shot-modal-caption {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    padding: 12px 16px 14px;
    border-top: 1px solid #e5ebf2;
    background: #f8fafc;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.darkside .docs-shot-modal {
    background: rgba(2, 6, 23, .62);
}
.darkside .docs-shot-modal-panel {
    background: #111827;
    border-color: #334155;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .42);
}
.darkside .docs-shot-modal-top {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border-bottom-color: #334155;
}
.darkside .docs-shot-modal-title { color: #e5e7eb; }
.darkside .docs-shot-modal-close {
    background: #111827;
    border-color: #475569;
    color: #e5e7eb;
}
.darkside .docs-shot-modal-close:hover {
    background: #1f2937;
    border-color: #64748b;
}
.darkside .docs-shot-modal-body { background: #0b1220; }
.darkside .docs-shot-modal-caption {
    color: #cbd5e1;
    border-top-color: #334155;
    background: #0f172a;
}

/* Admin-only blocks */
.docs-admin-block {
    border: 1px solid #f59e0b; border-left: 3px solid #f59e0b;
    background: rgba(245,158,11,.06); border-radius: 0 6px 6px 0;
    padding: 14px 20px 6px; margin: 24px 0;
}
.docs-admin-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: #92400e; background: #fef3c7; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px;
}
.darkside .docs-admin-badge { color: #fbbf24; background: rgba(245,158,11,.2); }
.docs-admin-block p, .docs-admin-block li { font-size: 13.5px; }

/* Package/module unavailable blocks */
.docs-unavailable-block {
    border: 1px solid #f43f5e; border-left: 3px solid #f43f5e;
    background: rgba(244,63,94,.06); border-radius: 0 6px 6px 0;
    padding: 14px 20px 6px; margin: 24px 0;
}
.docs-unavailable-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: #9f1239; background: #ffe4e6; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px;
}
.darkside .docs-unavailable-badge { color: #fb7185; background: rgba(244,63,94,.2); }
.docs-unavailable-block p, .docs-unavailable-block li { font-size: 13.5px; }

/* Responsive */
@media (max-width: 768px) {
    .docs-mobile-topbar {
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .docs-mobile-toggle {
        font-size: 26px;
        padding: 6px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 10px;
    }
    .docs-mobile-logo {
        flex: 1;
        min-width: 0;
        gap: 10px;
    }
    .docs-mobile-logo img { height: 28px; }
    .docs-mobile-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
        width: 100%;
        margin-left: 0;
    }
    .docs-mobile-actions .docs-mobile-view-toggle {
        width: 100%;
        justify-content: center;
        min-height: 36px;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .docs-mobile-actions .docs-mobile-view-toggle:only-child {
        grid-column: 1 / -1;
    }
    .docs-panel-return { display: none; }
    .docs-mobile-logo-title {
        font-size: 16px;
        font-weight: 700;
    }
    .docs-header-badge { font-size: 10.5px; }
    .docs-reading-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .docs-toc {
        display: none;
    }
    .docs-sidebar {
        position: fixed; top: 0; left: 0; z-index: 200; height: 100%;
        transform: translateX(-100%); transition: transform .25s ease;
        width: min(320px, 88vw);
    }
    .docs-sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,.15); }
    .docs-header-title { font-size: 15px; max-width: 150px; }
    .docs-nav-list { padding: 12px 12px 4px; }
    .docs-nav-divider { font-size: 11px; padding: 18px 10px 6px; }
    .docs-nav-item > a,
    .docs-nav-group {
        font-size: 15px;
        padding: 10px 12px;
        border-radius: 8px;
    }
    .docs-nav-list.docs-nav-sub {
        padding: 4px 0 4px 16px;
    }
    .docs-nav-sub .docs-nav-item > a,
    .docs-nav-sub .docs-nav-group {
        font-size: 14px;
        padding: 8px 10px;
    }
    .docs-nav-icon { font-size: 17px; }
    .docs-sidebar-note {
        font-size: 13px;
        line-height: 1.55;
    }
    .docs-sidebar-user-name { font-size: 14px; }
    .docs-sidebar-user-role { font-size: 12px; }
    .docs-sidebar-user-menu {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: calc(100% + 8px);
        top: auto;
        width: auto;
    }
    .docs-sidebar-user-menu-title { font-size: 11px; }
    .docs-sidebar-user-menu a { font-size: 13.5px; padding: 8px 10px; }
    .docs-sidebar-back a { font-size: 14px; }
    .docs-content-shell { padding: 16px 20px 42px; }
    .docs-reading-wrap { max-width: 100%; }
    .docs-search-trigger-wrap {
        margin-bottom: 10px;
        padding: 0;
    }
    .docs-search-trigger {
        width: 100%;
        min-width: 0;
        font-size: 15px;
        padding: 11px 13px;
    }
    .docs-search-trigger .kbd { font-size: 12px; }
    .docs-content { max-width: 100%; padding: 24px 0 36px; }
    .docs-content h1 { font-size: 28px; }
    .docs-content h2 { font-size: 23px; margin-top: 34px; }
    .docs-content h3 { font-size: 19px; }
    .docs-content h4 { font-size: 16px; }
    .docs-content p,
    .docs-content ul,
    .docs-content ol { font-size: 16px; line-height: 1.72; }
    .docs-content li { margin-bottom: 8px; }
    .docs-content code { font-size: 13px; }
    .docs-content pre code { font-size: 13.5px; line-height: 1.65; }
    .docs-content table { font-size: 14px; }
    .docs-pager-label { font-size: 13px; }
    .docs-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        font-size: 14px;
    }
    .docs-shot-grid,
    .docs-shot-grid.cols-3,
    .docs-shot-grid.cols-2 {
        grid-template-columns: 1fr;
    }
    .docs-content th,
    .docs-content td { min-width: 150px; }
    .docs-pager { 
        grid-template-columns: 1fr; 
        padding: 0;
    }
    .docs-pager-title { font-size: 17px; }
    .docs-search-modal { padding-top: 26px; }
    .docs-admin-toolbar { display: none; }
    .docs-view-as-user-banner {
        min-height: 0;
        padding: 10px 12px;
        gap: 8px;
        align-items: flex-start;
        flex-wrap: wrap;
        line-height: 1.45;
    }
    .docs-view-as-user-banner .sp {
        display: none;
    }
    .docs-view-as-user-banner a {
        margin-left: 0;
        margin-top: 2px;
    }
    .docs-header-title { max-width: 96px; }
    .docs-mobile-logo-title { max-width: 140px; }
    .docs-shot-modal { padding: 12px; }
    .docs-shot-modal-panel {
        width: calc(100vw - 10px);
        max-height: calc(100vh - 10px);
    }
    .docs-shot-modal-top { padding: 10px 12px; }
    .docs-shot-modal-title { font-size: 13px; }
    .docs-shot-modal-close { font-size: 13px; padding: 7px 10px; }
    .docs-shot-modal-body { max-height: calc(100vh - 142px); padding: 6px; }
    .docs-shot-modal-caption { font-size: 13px; padding: 10px 12px 12px; }
    .docs-tour-fab {
        right: 8px;
        left: 8px;
        bottom: 8px;
        width: auto;
        max-width: none;
    }
    .docs-tour-popup-card {
        width: calc(100vw - 18px);
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .docs-mobile-topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .docs-content-shell { padding: 14px 18px 36px; }
    .docs-content { padding: 22px 0 32px; }
}