/* RGBJunkie for Windows landing page (RGBJunkieApp/) */

/* Shared site navigation */
.rgbj-site-nav {
    overflow: visible;
}

.rgbj-site-nav .rgbj-nav-container {
    overflow: visible;
    gap: 0.5rem;
}

.rgbj-brand-wrap {
    gap: 0.15rem;
    min-width: 0;
}

.rgbj-site-nav .navbar-brand {
    margin: 0;
    padding: 0.25rem 0.35rem 0.25rem 0;
    min-width: 0;
}

.rgbj-brand-text {
    font-size: 1.05rem;
    white-space: nowrap;
}

.rgbj-brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.rgbj-brand-dropdown {
    position: relative;
}

.rgbj-brand-menu-btn {
    padding: 0.2rem 0.45rem;
    margin: 0;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.rgbj-brand-menu-btn::after {
    margin-left: 0;
    display: none;
}

.rgbj-brand-menu {
    min-width: 15rem;
    max-width: min(20rem, 92vw);
}

.rgbj-nav-list {
    gap: 0.15rem;
}

.rgbj-nav-link,
.rgbj-site-nav .rgbj-nav-cta .btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.rgbj-nav-icon {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.85;
}

.rgbj-site-nav .rgbj-nav-cta .btn {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    white-space: nowrap;
}

/* Collapsed / tablet menu */
@media (max-width: 1199.98px) {
    .rgbj-site-nav .navbar-collapse {
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--bs-border-color);
    }

    .rgbj-site-nav .rgbj-nav-list {
        width: 100%;
        gap: 0.2rem;
    }

    .rgbj-site-nav .nav-item {
        width: 100%;
    }

    .rgbj-site-nav .rgbj-nav-link {
        width: 100%;
        padding: 0.6rem 0.75rem;
        border-radius: 0.375rem;
    }

    .rgbj-site-nav .rgbj-nav-link:hover,
    .rgbj-site-nav .rgbj-nav-link:focus-visible {
        background: rgba(255, 255, 255, 0.06);
    }

    .rgbj-site-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0.15rem 0 0.35rem;
        border: 1px solid var(--bs-border-color);
        box-shadow: none !important;
    }

    .rgbj-site-nav .rgbj-nav-more .dropdown-toggle::after {
        margin-left: auto;
    }

    .rgbj-site-nav .rgbj-nav-cta {
        margin-top: 0.5rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--bs-border-color);
    }

    .rgbj-site-nav .rgbj-nav-cta .btn {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }
}

/* Wide screens — compact horizontal bar */
@media (min-width: 1200px) {
    .rgbj-site-nav .rgbj-nav-link {
        font-size: 0.9rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .rgbj-site-nav .rgbj-nav-icon {
        display: none;
    }

    .rgbj-site-nav .rgbj-nav-cta {
        margin-left: 0.35rem;
    }

    .rgbj-site-nav .rgbj-nav-cta .btn {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 380px) {
    .rgbj-brand-text {
        font-size: 0.95rem;
        max-width: 7.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

[data-bs-theme="light"] .rgbj-site-nav .rgbj-nav-link:hover,
[data-bs-theme="light"] .rgbj-site-nav .rgbj-nav-link:focus-visible {
    background: rgba(15, 23, 42, 0.05);
}

.rgbj-site-nav .nav-link .bi,
.rgbj-site-nav .btn .bi {
    vertical-align: -0.125em;
}

/* Download section */
.rgbj-download-panel--hidden {
    display: none !important;
}

.rgbj-download-alt-links a {
    font-weight: 500;
    text-decoration: none;
}

.rgbj-download-alt-links a:hover {
    text-decoration: underline;
}

.rgbj-download-other-toggle {
    text-decoration: none;
}

.rgbj-download-other-toggle:hover {
    text-decoration: underline;
}

#rgbj-download-root .badge {
    vertical-align: middle;
}

/* Releases archive (/releases/) */
#installersArchive .accordion-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

#installersArchive .rgbj-release-section-label {
    color: var(--bs-body-color);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 0.625rem;
}

#installersArchive .rgbj-release-dl-row {
    display: grid;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 576px) {
    #installersArchive .rgbj-release-dl-row {
        grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    }
}

#installersArchive .rgbj-release-dl-btn {
    --bs-btn-color: #d4faff;
    --bs-btn-border-color: rgba(0, 229, 255, 0.55);
    --bs-btn-bg: rgba(0, 229, 255, 0.12);
    --bs-btn-hover-color: #061018;
    --bs-btn-hover-bg: #00e5ff;
    --bs-btn-hover-border-color: #00e5ff;
    --bs-btn-active-color: #061018;
    --bs-btn-active-bg: #00cce6;
    --bs-btn-active-border-color: #00cce6;
    --bs-btn-focus-shadow-rgb: 0, 229, 255;
    font-weight: 600;
    padding: 0.65rem 1rem;
    text-align: left;
    border-width: 1.5px;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

#installersArchive .rgbj-release-dl-btn:hover,
#installersArchive .rgbj-release-dl-btn:focus-visible {
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.35),
        0 4px 14px rgba(0, 229, 255, 0.18);
}

#installersArchive .rgbj-release-dl-btn .bi {
    color: #00e5ff;
}

#installersArchive .rgbj-release-dl-btn:hover .bi,
#installersArchive .rgbj-release-dl-btn:focus-visible .bi {
    color: inherit;
}

#installersArchive .rgbj-release-dl-size {
    opacity: 0.78;
    font-weight: 500;
}

#installersArchive .rgbj-release-share-block {
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
}

#installersArchive .rgbj-release-copy-btn {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-bg: rgba(255, 255, 255, 0.04);
    --bs-btn-hover-bg: rgba(0, 229, 255, 0.12);
    --bs-btn-hover-border-color: rgba(0, 229, 255, 0.45);
    --bs-btn-hover-color: var(--bs-body-color);
}

#installersArchive .input-group-text {
    min-width: 5.25rem;
    font-weight: 600;
    font-size: 0.75rem;
}

[data-bs-theme="light"] #installersArchive .rgbj-release-dl-btn {
    --bs-btn-color: #0e7490;
    --bs-btn-border-color: rgba(8, 145, 178, 0.5);
    --bs-btn-bg: rgba(8, 145, 178, 0.1);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0891b2;
    --bs-btn-hover-border-color: #0891b2;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0e7490;
    --bs-btn-active-border-color: #0e7490;
}

[data-bs-theme="light"] #installersArchive .rgbj-release-dl-btn .bi {
    color: #0891b2;
}

[data-bs-theme="light"] #installersArchive .rgbj-release-copy-btn {
    --bs-btn-bg: rgba(15, 23, 42, 0.04);
}

/* Hero wordmark (transparent PNG, left column) */
.rgbj-hero-logo {
    display: block;
    width: min(100%, 10.5rem);
    height: auto;
    object-fit: contain;
}

@media (min-width: 576px) {
    .rgbj-hero-logo {
        width: min(100%, 12.5rem);
    }
}

/* Hero feature badges */
.rgbj-hero-badges {
    gap: 0.625rem;
    align-items: center;
}

.rgbj-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.875rem;
    border-radius: 50rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.rgbj-hero-badge--accent {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.12);
    color: #c8f7ff;
}

[data-bs-theme="light"] .rgbj-hero-badge {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.82);
}

[data-bs-theme="light"] .rgbj-hero-badge--accent {
    border-color: rgba(8, 145, 178, 0.35);
    background: rgba(8, 145, 178, 0.1);
    color: #0e7490;
}

/* Hero CTAs — matched pair (overrides global .btn-primary uppercase) */
.rgbj-hero-cta {
    align-items: center;
}

.rgbj-hero-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.625rem 1.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.25;
    white-space: nowrap;
}

.rgbj-hero-cta .btn .bi {
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

.rgbj-hero-cta .btn-primary {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.9375rem;
}

.rgbj-hero-cta .btn-outline-secondary {
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--bs-body-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.rgbj-hero-cta .btn-outline-secondary:hover,
.rgbj-hero-cta .btn-outline-secondary:focus-visible {
    border-color: rgba(0, 240, 255, 0.45);
    color: var(--bs-body-color);
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.12);
}

[data-bs-theme="light"] .rgbj-hero-cta .btn-outline-secondary {
    border-color: rgba(15, 23, 42, 0.2);
    background-color: rgba(255, 255, 255, 0.85);
}

.rgbj-feature-card {
    overflow: hidden;
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color) !important;
}

.rgbj-feature-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #0d0e14;
    border-bottom: 1px solid var(--bs-border-color);
}

.rgbj-feature-card__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to top, var(--bs-body-bg) 0%, transparent 100%);
    pointer-events: none;
}

.rgbj-feature-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.rgbj-feature-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    text-align: center;
    color: var(--bs-secondary-color);
}

.rgbj-feature-card__placeholder .bi {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.rgbj-feature-card__placeholder-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
}

.rgbj-feature-card__placeholder-hint {
    font-size: 0.8125rem;
    max-width: 16rem;
    line-height: 1.35;
}

.rgbj-feature-card .card-body {
    padding-top: 1rem;
}

.rgbj-feature-card .card-title .bi {
    font-size: 1rem;
    vertical-align: -0.125em;
}

.rgbj-feature-card .card-text a {
    font-weight: 500;
}

/* Supported gear page — Amazon Associates links */
.gear-line__name {
    min-width: 0;
}

.gear-amazon-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.55rem;
    border-radius: 0.375rem;
    background: #2c2c30;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.gear-amazon-link:hover {
    background: #36363c;
    border-color: rgba(255, 255, 255, 0.35);
}

.gear-amazon-logo {
    display: block;
    height: 18px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
}

/* Documentation — app deep link reference page */
.rgbj-deep-link-uri {
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.375rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--bs-border-color);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: normal;
    overflow-wrap: anywhere;
}

.rgbj-deep-link-uri code {
    color: var(--bs-code-color);
    white-space: pre-wrap;
    word-break: normal;
}

.rgbj-deep-link-handoff {
    font-size: 0.8125rem;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: anywhere;
}

.rgbj-deep-link-entry .card-title {
    line-height: 1.35;
}

/* Documentation hub cards */
.rgbj-doc-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    background-color: var(--bs-body-bg);
}

.rgbj-doc-card:hover,
.rgbj-doc-card:focus-visible {
    border-color: rgba(0, 240, 255, 0.45) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.rgbj-doc-card:focus-visible {
    outline: 2px solid rgba(0, 240, 255, 0.5);
    outline-offset: 2px;
}

/* Download stats — charts */
.rgbj-stats-chart-card {
    background: linear-gradient(145deg, rgba(0, 240, 255, 0.05) 0%, rgba(167, 139, 250, 0.07) 55%, rgba(10, 16, 28, 0.4) 100%);
    box-shadow: 0 0 32px rgba(0, 240, 255, 0.06);
}

.rgbj-stats-chart-wrap {
    position: relative;
    width: 100%;
}

.rgbj-stats-timeline-filter .rgbj-stats-date-input {
    width: 9.5rem;
    max-width: 100%;
}

.rgbj-stats-timeline-filter .btn-group .btn.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.55);
    color: #e2e8f0;
}

.rgbj-stats-chart-wrap canvas {
    opacity: 0;
    transition: opacity 0.35s ease-out;
}

.rgbj-stats-chart-wrap.rgbj-stats-chart-wrap--visible canvas {
    opacity: 1;
}

.rgbj-stats-chart-wrap--timeline {
    height: min(320px, 52vw);
    min-height: 220px;
}

.rgbj-stats-chart-wrap--donut {
    height: min(260px, 45vw);
    min-height: 200px;
}

.rgbj-stats-chart-wrap--bar {
    height: min(280px, 48vw);
    min-height: 220px;
}

.rgbj-stats-chart-wrap--files {
    height: min(300px, 50vw);
    min-height: 240px;
}

/* Download stats — sortable tables */
.rgbj-stats-sortable th[data-sort] {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.rgbj-stats-sortable th[data-sort]:hover {
    color: var(--bs-info);
}

.rgbj-stats-sortable th[data-sort].rgbj-sort-active {
    color: var(--bs-info);
}

.rgbj-stats-sortable th[data-sort].rgbj-sort-active::after {
    font-size: 0.65em;
    opacity: 0.9;
    margin-left: 0.2em;
}

.rgbj-stats-sortable th[data-sort].rgbj-sort-asc.rgbj-sort-active::after {
    content: '▲';
}

.rgbj-stats-sortable th[data-sort].rgbj-sort-desc.rgbj-sort-active::after {
    content: '▼';
}

/* Post-download thank-you page tool cards */
.rgbj-thanks-tool-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    background-color: var(--bs-body-bg);
}

.rgbj-thanks-tool-card:hover,
.rgbj-thanks-tool-card:focus-visible {
    border-color: rgba(0, 240, 255, 0.45) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.rgbj-thanks-tool-card:focus-visible {
    outline: 2px solid rgba(0, 240, 255, 0.5);
    outline-offset: 2px;
}

/* Subpage / hero top glow (shared across site pages) */
.rgbj-subpage-glow {
    position: relative;
}

.rgbj-subpage-glow::before {
    content: "";
    position: absolute;
    inset: -2rem -1rem auto -1rem;
    height: 12rem;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.rgbj-subpage-glow > * {
    position: relative;
    z-index: 1;
}

[data-bs-theme="light"] .rgbj-subpage-glow::before {
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(0, 180, 200, 0.1) 0%, transparent 70%);
}

/* Changelog timeline (synced from docs/CHANGELOG.md) */
.rgbj-changelog-page > * {
    position: relative;
    z-index: 1;
}

.rgbj-changelog-intro {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 240, 255, 0.22);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.rgbj-changelog-intro__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--bs-body-emphasis);
}

.rgbj-changelog-intro__lead {
    margin: 0;
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    line-height: 1.55;
}

.rgbj-changelog-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rgbj-changelog-release {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0 1.25rem;
    margin-bottom: 1.75rem;
}

.rgbj-changelog-release--last .rgbj-changelog-timeline-line {
    display: none;
}

.rgbj-changelog-release__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.35rem;
}

.rgbj-changelog-timeline-line {
    flex: 1;
    width: 2px;
    min-height: 1.5rem;
    margin-top: 0.5rem;
    background: linear-gradient(to bottom, rgba(0, 240, 255, 0.55), rgba(0, 240, 255, 0.08));
    border-radius: 1px;
}

.rgbj-changelog-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.rgbj-changelog-date-badge--release {
    color: #0a1628;
    background: linear-gradient(145deg, #00f0ff 0%, #38bdf8 45%, #818cf8 100%);
}

.rgbj-changelog-date-badge--notes {
    color: #fff;
    background: linear-gradient(145deg, #0ea5e9 0%, #6366f1 100%);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
}

.rgbj-changelog-release__card {
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(255, 255, 255, 0.12) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rgbj-changelog-release__card:hover {
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.08);
}

.rgbj-changelog-release__header {
    padding: 1.25rem 1.35rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.06) 0%, transparent 55%);
}

.rgbj-changelog-release__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
}

.rgbj-changelog-version-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    color: #0a1628;
    background: linear-gradient(135deg, #00f0ff 0%, #a78bfa 100%);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.rgbj-changelog-release__date-label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
}

.rgbj-changelog-date-badge--version {
    color: #0a1628;
    background: linear-gradient(145deg, #a78bfa 0%, #00f0ff 55%, #38bdf8 100%);
}

.rgbj-changelog-release--versioned .rgbj-changelog-release__card {
    border-color: rgba(167, 139, 250, 0.28) !important;
}

.rgbj-changelog-versions-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);
    background: rgba(0, 0, 0, 0.2);
    color-scheme: dark;
}

.rgbj-changelog-versions-nav__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}

.rgbj-changelog-versions-nav__select {
    flex: 1 1 12rem;
    max-width: 18rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    color-scheme: dark;
    --bs-form-select-bg: #0c1524;
    --bs-form-select-color: #c8f7ff;
    --bs-form-select-border-color: rgba(255, 255, 255, 0.14);
    --bs-form-select-focus-border-color: rgba(0, 240, 255, 0.45);
    --bs-form-select-focus-box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
    background-color: #0c1524;
    color: #c8f7ff;
}

.rgbj-changelog-versions-nav__select option {
    background-color: #0a1628;
    color: #e8f4ff;
}

.rgbj-changelog-versions-nav__select:hover,
.rgbj-changelog-versions-nav__select:focus {
    border-color: rgba(0, 240, 255, 0.45);
    background-color: #101c30;
    color: #c8f7ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.12);
}

.rgbj-changelog-release:target .rgbj-changelog-release__card {
    border-color: rgba(0, 240, 255, 0.55) !important;
    box-shadow: 0 0 32px rgba(0, 240, 255, 0.15);
}

.rgbj-changelog-release__summary {
    margin: 0;
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    line-height: 1.5;
}

.rgbj-changelog-release__body {
    padding: 1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rgbj-changelog-group {
    padding: 0.9rem 1rem;
    margin: 0;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.18);
}

.rgbj-changelog-group__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-body-emphasis);
}

.rgbj-changelog-group__title .bi {
    font-size: 1rem;
    color: rgba(0, 240, 255, 0.85);
}

.rgbj-changelog-group__intro {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--bs-secondary-color);
}

.rgbj-changelog-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rgbj-changelog-feature {
    margin: 0;
    padding: 0.65rem 0.75rem 0.65rem 0.85rem;
    border-left: 3px solid rgba(0, 240, 255, 0.45);
    border-radius: 0 0.375rem 0.375rem 0;
    background: rgba(0, 240, 255, 0.04);
}

.rgbj-changelog-feature__title {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-body-emphasis);
}

.rgbj-changelog-feature__title .bi {
    margin-top: 0.1rem;
    font-size: 0.8rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.45));
}

.rgbj-changelog-feature__text {
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--bs-body-color);
}

.rgbj-changelog-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.rgbj-changelog-list li {
    margin-bottom: 0.4rem;
}

.rgbj-changelog-list li::marker {
    color: rgba(0, 240, 255, 0.7);
}

.rgbj-changelog-list--compact {
    margin-top: 0.25rem;
}

.rgbj-changelog-notes {
    margin-top: 0.5rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
}

.rgbj-changelog-notes__inner {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    align-items: flex-start;
}

.rgbj-changelog-notes__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.rgbj-changelog-notes__content p {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

.rgbj-changelog-notes .rgbj-changelog-list--notes {
    margin: 0;
}

.rgbj-changelog a {
    font-weight: 500;
}

[data-bs-theme="light"] .rgbj-changelog-intro {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(99, 102, 241, 0.06) 100%);
    border-color: rgba(8, 145, 178, 0.25);
}

[data-bs-theme="light"] .rgbj-changelog-release__date {
    color: #0e7490;
}

[data-bs-theme="light"] .rgbj-changelog-release__card {
    background: rgba(255, 255, 255, 0.85);
}

[data-bs-theme="light"] .rgbj-changelog-group {
    background: rgba(15, 23, 42, 0.04);
}

[data-bs-theme="light"] .rgbj-changelog-feature {
    background: rgba(8, 145, 178, 0.06);
    border-left-color: rgba(8, 145, 178, 0.45);
}

@media (max-width: 575.98px) {
    .rgbj-changelog-release {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        gap: 0 0.75rem;
    }

    .rgbj-changelog-date-badge {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1rem;
    }

    .rgbj-changelog-release__header,
    .rgbj-changelog-release__body {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

/* Help Center (Markdown articles in help/content/) */
.rgbj-help-page > * {
    position: relative;
    z-index: 1;
}

.rgbj-help-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rgbj-help-card:hover,
.rgbj-help-card:focus-visible {
    border-color: rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.1);
    transform: translateY(-1px);
}

.rgbj-help-card .rgbj-help-article-edit,
.rgbj-help-card .rgbj-help-article-delete {
    position: relative;
    z-index: 2;
}

.rgbj-help-pre {
    margin: 1rem 0 1.25rem;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0.5rem;
    overflow: hidden;
}

.rgbj-help-pre code.rgbj-help-code {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    tab-size: 4;
}

.rgbj-help-code-block {
    margin: 1rem 0 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.rgbj-help-code-block .rgbj-help-pre {
    margin: 0;
    border-radius: 0;
}

.rgbj-help-code-block__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.3rem 0.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.rgbj-help-code-block__title {
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rgbj-help-code-block__title--fallback {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.rgbj-help-code-block__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.35rem;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rgbj-help-code-block__copy:hover,
.rgbj-help-code-block__copy:focus-visible {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.28);
    color: #9ef6ff;
    outline: none;
}

.rgbj-help-code-block__copy.is-copied {
    border-color: rgba(125, 255, 179, 0.35);
    background: rgba(125, 255, 179, 0.12);
    color: #7dffb3;
}

.rgbj-help-code-fold.is-collapsed .rgbj-help-code-fold__viewport {
    max-height: calc(var(--rgbj-code-fold-visible-lines, 12) * 1.5em + 1.7rem);
    overflow: hidden;
    position: relative;
}

.rgbj-help-code-fold.is-collapsed .rgbj-help-code-fold__viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.75rem;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.92));
}

.rgbj-help-code-fold__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(0, 240, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.rgbj-help-code-fold__toggle:hover,
.rgbj-help-code-fold__toggle:focus-visible {
    background: rgba(0, 240, 255, 0.1);
    color: #9ef6ff;
    outline: none;
}

.rgbj-help-code-fold.is-collapsed .rgbj-help-code-fold__toggle-hide {
    display: none;
}

.rgbj-help-code-fold:not(.is-collapsed) .rgbj-help-code-fold__toggle-show {
    display: none;
}

.rgbj-help-callout {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid rgba(0, 240, 255, 0.55);
    background: rgba(0, 240, 255, 0.06);
    border-radius: 0 0.5rem 0.5rem 0;
}

.rgbj-help-panel {
    margin: 1.25rem 0;
}

.rgbj-help-divider {
    margin: 1.5rem 0;
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.rgbj-help-figure {
    margin: 1.25rem auto 1.5rem;
    max-width: min(520px, 100%);
    text-align: center;
}

.rgbj-help-image-wrap--inline {
    display: block;
    margin: 0.75rem auto;
    max-width: min(520px, 100%);
    text-align: center;
}

.rgbj-help-article__body li .rgbj-help-image-wrap--inline,
.rgbj-help-article__body li .rgbj-help-media-wrap--video {
    display: inline-block;
    vertical-align: bottom;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    margin-left: 0;
    margin-right: 0;
}

.rgbj-help-article__body li > .rgbj-help-image-wrap--inline:only-child,
.rgbj-help-article__body li > br + .rgbj-help-image-wrap--inline,
.rgbj-help-article__body li > .rgbj-help-media-wrap--video:only-child,
.rgbj-help-article__body li > br + .rgbj-help-media-wrap--video {
    display: block;
    width: fit-content;
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.rgbj-help-article__body li > br + .rgbj-help-media-wrap--video,
.rgbj-help-article__body li > .rgbj-help-media-wrap--video:only-child {
    max-width: min(720px, 100%);
}

.rgbj-help-media-wrap--video {
    display: block;
    margin: 0.75rem auto;
    max-width: min(720px, 100%);
    text-align: center;
}

.rgbj-help-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.rgbj-help-video--preview {
    max-height: 420px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
}

.rgbj-help-image__link {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.rgbj-help-image__link:hover .rgbj-help-image {
    border-color: rgba(0, 240, 255, 0.45) !important;
    box-shadow: 0 8px 28px rgba(0, 240, 255, 0.12);
}

.rgbj-help-image {
    display: block;
    width: auto;
    height: auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.rgbj-help-image--preview {
    max-width: 100%;
    max-height: 360px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
}

.rgbj-help-image__open {
    margin-top: 0.45rem;
    font-size: 0.8125rem;
}

.rgbj-help-image__open a {
    color: rgba(0, 240, 255, 0.9);
    text-decoration: none;
}

.rgbj-help-image__open a:hover {
    text-decoration: underline;
}

.rgbj-help-figure__caption,
.rgbj-help-image__caption {
    text-align: center;
}

.rgbj-help-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 10, 16, 0.92);
    backdrop-filter: blur(6px);
}

.rgbj-help-lightbox[hidden] {
    display: none !important;
}

.rgbj-help-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.rgbj-help-lightbox__close:hover,
.rgbj-help-lightbox__close:focus-visible {
    background: rgba(0, 240, 255, 0.16);
    border-color: rgba(0, 240, 255, 0.35);
}

.rgbj-help-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: min(96vw, 1400px);
    max-height: calc(100vh - 3rem);
}

.rgbj-help-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 3rem);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

body.rgbj-help-lightbox-open {
    overflow: hidden;
}

[data-bs-theme="light"] .rgbj-help-lightbox {
    background: rgba(248, 250, 252, 0.96);
}

[data-bs-theme="light"] .rgbj-help-lightbox__close {
    color: rgba(15, 23, 42, 0.92);
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.12);
}

[data-bs-theme="light"] .rgbj-help-code-block__title {
    color: rgba(15, 23, 42, 0.82);
}

[data-bs-theme="light"] .rgbj-help-code-block__title--fallback {
    color: rgba(15, 23, 42, 0.55);
}

[data-bs-theme="light"] .rgbj-help-code-block {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.06);
}

[data-bs-theme="light"] .rgbj-help-code-block__bar {
    border-bottom-color: rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.03);
}

[data-bs-theme="light"] .rgbj-help-code-block__copy {
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: #334155;
}

[data-bs-theme="light"] .rgbj-help-code-block__copy:hover,
[data-bs-theme="light"] .rgbj-help-code-block__copy:focus-visible {
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.25);
    color: #0e7490;
}

[data-bs-theme="light"] .rgbj-help-code-block__copy.is-copied {
    border-color: rgba(21, 128, 61, 0.28);
    background: rgba(21, 128, 61, 0.08);
    color: #15803d;
}

[data-bs-theme="light"] .rgbj-help-code-fold.is-collapsed .rgbj-help-code-fold__viewport::after {
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0), rgba(241, 245, 249, 0.98));
}

[data-bs-theme="light"] .rgbj-help-code-fold__toggle {
    border-top-color: rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.04);
    color: #0e7490;
}

[data-bs-theme="light"] .rgbj-help-code-fold__toggle:hover,
[data-bs-theme="light"] .rgbj-help-code-fold__toggle:focus-visible {
    background: rgba(8, 145, 178, 0.1);
    color: #155e75;
}

[data-bs-theme="light"] .rgbj-help-callout {
    background: rgba(8, 145, 178, 0.08);
    border-left-color: rgba(8, 145, 178, 0.45);
}

/* Help Center layout: doc map, article, TOC, search */
.rgbj-help-page {
    max-width: none;
}

.rgbj-help-layout {
    align-items: stretch;
}

.rgbj-help-layout > [class*="col-"] {
    min-width: 0;
}

.rgbj-help-sidebar-panel {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.rgbj-help-sidebar-panel__header {
    flex-shrink: 0;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 240, 255, 0.04);
}

.rgbj-help-sidebar-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.75rem;
    overflow: auto;
}

.rgbj-help-doc-map__section.is-empty {
    display: none;
}

.rgbj-help-doc-map__group-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.75rem 0 0.35rem;
    padding: 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.rgbj-help-doc-map__section:first-of-type .rgbj-help-doc-map__group-label {
    margin-top: 0.65rem;
}

.rgbj-help-doc-map__section + .rgbj-help-doc-map__section .rgbj-help-doc-map__group-label {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rgbj-help-doc-map__group-count {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--bs-secondary-color);
    opacity: 0.85;
}

.rgbj-help-doc-map__articles {
    margin: 0;
}

.rgbj-help-index-shell {
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: normal;
}

.rgbj-help-index-header .h2 {
    font-family: inherit;
    letter-spacing: normal;
}

.rgbj-help-index-lead {
    font-size: 1rem;
    line-height: 1.6;
}

.rgbj-help-index-header .rgbj-help-intro-app-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    opacity: 0.9;
}

.rgbj-help-index-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rgbj-help-index-section {
    padding-left: 1rem;
    border-left: 3px solid rgba(0, 240, 255, 0.28);
}

.rgbj-help-index-section + .rgbj-help-index-section {
    padding-top: 2rem;
    border-top: none;
}

.rgbj-help-index-section-title {
    margin: 0 0 0.85rem;
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    color: var(--bs-body-emphasis);
    line-height: 1.25;
}

.rgbj-help-index-section-note {
    margin-top: -0.35rem;
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    line-height: 1.5;
}

.rgbj-help-index-subgroup {
    padding-left: 1.25rem;
}

.rgbj-help-index-subgroup + .rgbj-help-index-subgroup {
    margin-top: 1.75rem;
}

.rgbj-help-index-subgroup-title {
    margin: 0 0 0.35rem;
    padding-bottom: 0.35rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(0, 240, 255, 0.82);
    line-height: 1.3;
    border-bottom: 1px solid rgba(0, 240, 255, 0.14);
}

.rgbj-help-index-list {
    margin: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.rgbj-help-index-subgroup:not(:has(.rgbj-help-index-subgroup-title)) .rgbj-help-index-list {
    padding-left: 0;
    border-left: none;
}

.rgbj-help-start-here {
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 0.75rem;
    background: linear-gradient(145deg, rgba(0, 240, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-left: 3px solid rgba(0, 240, 255, 0.45);
}

.rgbj-help-start-here .rgbj-help-index-section-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.rgbj-help-start-here__list {
    display: grid;
    gap: 0.35rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 240, 255, 0.18);
}

@media (min-width: 768px) {
    .rgbj-help-start-here__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem 1.25rem;
    }
}

@media (min-width: 1200px) {
    .rgbj-help-start-here__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.rgbj-help-start-here__link {
    display: block;
    padding: 0.3rem 0;
    color: var(--bs-body-emphasis);
    text-decoration: none;
}

.rgbj-help-start-here__link:hover .rgbj-help-index-item__title,
.rgbj-help-start-here__link:focus-visible .rgbj-help-index-item__title {
    color: rgba(0, 240, 255, 0.95);
}

.rgbj-help-index-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0 0.5rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rgbj-help-index-list .rgbj-help-index-item:last-child {
    border-bottom: none;
    padding-bottom: 0.15rem;
}

.rgbj-help-index-item__link {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    color: var(--bs-body-emphasis);
    text-decoration: none;
}

.rgbj-help-index-item__text {
    min-width: 0;
}

.rgbj-help-index-item__link:hover .rgbj-help-index-item__title,
.rgbj-help-index-item__link:focus-visible .rgbj-help-index-item__title {
    color: rgba(0, 240, 255, 0.95);
}

.rgbj-help-index-item__title {
    display: block;
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.35;
}

.rgbj-help-index-item__summary {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(232, 236, 244, 0.76);
}

.rgbj-help-index-item__link:hover .rgbj-help-index-item__summary,
.rgbj-help-index-item__link:focus-visible .rgbj-help-index-item__summary {
    color: rgba(232, 236, 244, 0.78);
}

.rgbj-help-index-item__meta {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.rgbj-help-index-item:hover .rgbj-help-index-item__meta,
.rgbj-help-index-item:focus-within .rgbj-help-index-item__meta {
    opacity: 1;
    pointer-events: auto;
}

.rgbj-help-index-item .rgbj-help-admin-only:not(.d-none) {
    display: inline-flex !important;
}

.rgbj-help-index-item .rgbj-help-article-edit,
.rgbj-help-index-item .rgbj-help-article-delete {
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .rgbj-help-index-item__meta {
        opacity: 1;
        pointer-events: auto;
    }
}

[data-bs-theme="light"] .rgbj-help-index-section {
    border-left-color: rgba(8, 145, 178, 0.35);
}

[data-bs-theme="light"] .rgbj-help-index-list {
    border-left-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .rgbj-help-start-here__list {
    border-left-color: rgba(8, 145, 178, 0.22);
}

[data-bs-theme="light"] .rgbj-help-index-subgroup-title {
    color: rgba(8, 145, 178, 0.9);
    border-bottom-color: rgba(8, 145, 178, 0.18);
}

[data-bs-theme="light"] .rgbj-help-index-item__summary {
    color: rgba(15, 23, 42, 0.68);
}

[data-bs-theme="light"] .rgbj-help-index-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .rgbj-help-start-here {
    border-color: rgba(8, 145, 178, 0.25);
    background: linear-gradient(145deg, rgba(8, 145, 178, 0.08) 0%, #f8fafc 100%);
}

.rgbj-help-toc__item {
    margin-bottom: 0.15rem;
}

.rgbj-help-toc__link {
    display: block;
    padding: 0.35rem 0.45rem;
    border-radius: 0.4rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.35;
    border-left: 2px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rgbj-help-toc__item--depth-2 .rgbj-help-toc__link {
    padding-left: 0.45rem;
}

.rgbj-help-toc__item--depth-3 .rgbj-help-toc__link {
    padding-left: 1rem;
    font-size: 0.84rem;
}

.rgbj-help-toc__item--depth-4 .rgbj-help-toc__link {
    padding-left: 1.55rem;
    font-size: 0.82rem;
}

.rgbj-help-toc__link:hover,
.rgbj-help-toc__link:focus-visible {
    color: var(--bs-body-emphasis);
    background: rgba(0, 240, 255, 0.08);
    border-left-color: rgba(0, 240, 255, 0.75);
}

.rgbj-help-toc__link.is-active {
    color: var(--bs-body-emphasis);
    background: rgba(0, 240, 255, 0.14);
    border-left-color: rgba(0, 240, 255, 0.85);
    font-weight: 600;
}

.rgbj-help-heading {
    scroll-margin-top: 5.5rem;
}

.rgbj-help-search {
    position: relative;
    z-index: 1;
}

.rgbj-help-search:has(.rgbj-help-search__results.is-open) {
    z-index: 1050;
}

.rgbj-help-search__input-wrap .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.45);
}

.rgbj-help-search__results {
    position: absolute;
    z-index: 1051;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.75rem;
    background-color: #161b24;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.rgbj-help-search__results.is-open {
    display: block !important;
}

.rgbj-help-search__result {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--bs-body-color);
    text-decoration: none;
    background-color: #161b24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rgbj-help-search__result:last-child {
    border-bottom: 0;
}

.rgbj-help-search__result:hover,
.rgbj-help-search__result:focus-visible {
    background-color: #1f2836;
}

.rgbj-help-search__result-title {
    display: block;
    font-weight: 600;
    color: var(--bs-body-emphasis);
}

.rgbj-help-search__result-meta {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}

[data-bs-theme="light"] .rgbj-help-sidebar-panel {
    background: rgba(255, 255, 255, 0.92);
}

[data-bs-theme="light"] .rgbj-help-doc-map__section + .rgbj-help-doc-map__section .rgbj-help-doc-map__group-label {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .rgbj-help-search__results,
[data-bs-theme="light"] .rgbj-help-search__result {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}

[data-bs-theme="light"] .rgbj-help-search__result {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .rgbj-help-search__result:hover,
[data-bs-theme="light"] .rgbj-help-search__result:focus-visible {
    background-color: #f0f4f8;
}

@media (max-width: 1199.98px) {
    .rgbj-help-sidebar-panel {
        position: static;
        max-height: none;
    }

    .rgbj-help-sidebar-panel__body {
        max-height: 16rem;
    }
}
