html[data-template='light'] {
    --maxsim-text: #000000;
    --maxsim-text-muted: #5a5a5a;
    --maxsim-link: #0d6efd;
    --maxsim-bg: #f4f7fb;
    --maxsim-border: #d6dce6;
    --maxsim-border-strong: rgba(0, 0, 0, .18);
    --maxsim-surface: radial-gradient(120% 180% at 20% 10%, #ffffff 0%, #f0f2f5 35%, #e2e6eb 70%, #f6f7f9 100%);
    --maxsim-surface-alt: #eef2f7;
    --maxsim-surface-elevated: #ffffff;
    --maxsim-surface-shadow: 3px 3px 8px rgba(0, 0, 0, .10);

    --maxsim-control-bg: #ffffff;
    --maxsim-control-text: #212529;
    --maxsim-control-border: #ced4da;
    --maxsim-control-border-strong: grey;

    --maxsim-sidebar-bg:
        radial-gradient(520px 260px at 12% -6%, rgba(55, 129, 250, .10) 0%, rgba(55, 129, 250, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 255, .985) 34%, rgba(239, 244, 251, .99) 100%);
    --maxsim-sidebar-mobile-bg:
        radial-gradient(480px 220px at 12% -2%, rgba(55, 129, 250, .10) 0%, rgba(55, 129, 250, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(244, 248, 255, .99) 100%);
    --maxsim-sidebar-border: rgba(15, 23, 42, .08);
    --maxsim-sidebar-shadow: 18px 0 42px rgba(15, 23, 42, .08);
    --maxsim-sidebar-mobile-shadow: 0 28px 64px rgba(15, 23, 42, .18);
    --maxsim-sidebar-divider: rgba(55, 129, 250, .12);
    --maxsim-sidebar-link: #172033;
    --maxsim-sidebar-muted: #6b7c99;
    --maxsim-sidebar-group: #8396b9;
    --maxsim-sidebar-meta: #6b7c99;
    --maxsim-sidebar-active-bg: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(243, 247, 255, .98) 100%);
    --maxsim-sidebar-active-text: #0f172a;
    --maxsim-sidebar-active-shadow: inset 2px 0 0 #3781fa, 0 14px 26px rgba(55, 129, 250, .10), 0 0 0 1px rgba(55, 129, 250, .08);
    --maxsim-sidebar-footer-bg: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(249, 251, 255, .82) 18%, rgba(243, 247, 252, .98) 100%);
    --maxsim-sidebar-footer-border: rgba(148, 163, 184, .18);
    --maxsim-sidebar-footer-shadow: 0 -22px 32px rgba(255, 255, 255, .34);
    --maxsim-sidebar-user-bg: rgba(255, 255, 255, .78);
    --maxsim-sidebar-user-bg-hover: #ffffff;
    --maxsim-sidebar-user-border: rgba(148, 163, 184, .24);
    --maxsim-sidebar-user-shadow: 0 14px 28px rgba(148, 163, 184, .14), inset 0 1px 0 rgba(255, 255, 255, .92);
    --maxsim-sidebar-user-link: #0f172a;
    --maxsim-sidebar-waitlist-link: #1d4ed8;

    --maxsim-shell-toggle-bg: rgba(255, 255, 255, .94);
    --maxsim-shell-toggle-bg-hover: #ffffff;
    --maxsim-shell-toggle-text: #475569;
    --maxsim-shell-toggle-text-hover: #0f172a;
    --maxsim-shell-toggle-border: rgba(148, 163, 184, .34);
    --maxsim-shell-toggle-shadow: 0 16px 28px rgba(15, 23, 42, .12);

    --maxsim-mobile-toggle-bg: rgba(255, 255, 255, .96);
    --maxsim-mobile-toggle-text: #0f172a;
    --maxsim-mobile-toggle-border: rgba(148, 163, 184, .34);
    --maxsim-mobile-toggle-shadow: 0 18px 32px rgba(15, 23, 42, .14);
    --maxsim-mobile-backdrop: rgba(15, 23, 42, .34);

    --maxsim-landing-pill-bg: #ffffff;
    --maxsim-landing-pill-text: #000000;
    --maxsim-landing-pill-border: rgba(0, 0, 0, .14);
    --maxsim-landing-nav-label: rgba(0, 0, 0, .72);
    --maxsim-landing-nav-link: var(--maxsim-secondary);
    --maxsim-landing-nav-border: #c2c2c2;
    --maxsim-landing-nav-active-bg: #e8e8e8;
    --maxsim-landing-nav-active-text: #000000;
    --maxsim-landing-heading: #000000;
    --maxsim-landing-muted: rgba(0, 0, 0, .78);
    --maxsim-landing-muted-soft: rgba(0, 0, 0, .6);
    --maxsim-landing-hero-bg: linear-gradient(180deg, rgba(13, 71, 161, .06) 0%, rgba(255, 255, 255, 1) 38%);
    --maxsim-landing-hero-border: rgba(13, 71, 161, .14);
    --maxsim-landing-hero-shadow: 0 24px 64px rgba(13, 71, 161, .08);
    --maxsim-landing-chip-bg: rgba(255, 255, 255, .92);
    --maxsim-landing-chip-border: rgba(13, 71, 161, .14);
    --maxsim-landing-chip-text: rgba(0, 0, 0, .74);
    --maxsim-landing-chip-shadow: 0 6px 18px rgba(13, 71, 161, .05);
    --maxsim-landing-panel-bg: rgba(255, 255, 255, .94);
    --maxsim-landing-panel-border: rgba(13, 71, 161, .12);
    --maxsim-landing-panel-shadow: none;
    --maxsim-landing-card-bg: #ffffff;
    --maxsim-landing-card-border: rgba(0, 0, 0, .12);
    --maxsim-landing-section-bg: #ffffff;
    --maxsim-landing-section-border: rgba(0, 0, 0, .12);
    --maxsim-landing-section-shadow: var(--maxsim-surface-shadow);
    --maxsim-landing-network-bg: rgba(13, 71, 161, .03);
    --maxsim-landing-network-border: rgba(13, 71, 161, .18);

    --maxsim-tos-page-bg: #eeeeee;
    --maxsim-tos-surface: #f9f9f9;
    --maxsim-tos-border: #dddddd;
    --maxsim-tos-text: #444444;
    --maxsim-tos-button-bg: #0d6efd;
    --maxsim-tos-button-text: #ffffff;
    --maxsim-tos-button-border: rgba(0, 0, 0, .08);
    --maxsim-tos-button-shadow: 0 2px 6px rgba(13, 110, 253, .16);
}

body.template-light #sidebar {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.template-light #sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, 0) 15%),
        linear-gradient(90deg, rgba(55, 129, 250, .05) 0%, rgba(55, 129, 250, 0) 26%);
}

body.template-light #sidebar_scroll,
body.template-light #sidebar_bottom {
    position: relative;
    z-index: 1;
}

body.template-light #sidebar .menu_logo {
    width: auto;
    margin: 8px 14px 6px 14px;
}

body.template-light #sidebar_nav > .menu_group:first-child {
    padding-top: 8px;
}

body.template-light #sidebar .menu_group {
    justify-content: flex-start;
    padding: 14px 18px 4px 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #8396b9;
}

body.template-light #sidebar li {
    padding: 2px 12px;
    font-size: 14px;
}

body.template-light #sidebar li a {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 600;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.template-light #sidebar li .icon {
    color: #6a86c9;
    transition: color .18s ease;
}

body.template-light #sidebar li.active {
    width: auto;
    margin: 0 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body.template-light #sidebar li.active a {
    border-color: rgba(55, 129, 250, .12);
    background: var(--maxsim-sidebar-active-bg);
    color: var(--maxsim-sidebar-active-text);
    box-shadow: var(--maxsim-sidebar-active-shadow);
}

body.template-light #sidebar li.active .icon {
    color: #3781fa;
}

body.template-light #sidebar li:not(.active) a:hover,
body.template-light #sidebar li:not(.active) a:focus-visible {
    background: rgba(255, 255, 255, .56);
    border-color: rgba(55, 129, 250, .08);
    color: #0f172a;
    box-shadow: 0 10px 20px rgba(148, 163, 184, .10);
    transform: translateX(1px);
}

body.template-light #sidebar li:not(.active) a:hover .icon,
body.template-light #sidebar li:not(.active) a:focus-visible .icon {
    color: #3781fa;
}

body.template-light #sidebar_bottom {
    padding: 10px 8px 12px 8px;
    background-image:
        linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(249, 251, 255, .82) 18%, rgba(243, 247, 252, .98) 100%),
        radial-gradient(180px 90px at 18% 0, rgba(55, 129, 250, .10) 0%, rgba(55, 129, 250, 0) 72%);
}

body.template-light #sidebar_meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.template-light #menu_user_dropdown .menu_user_toggle {
    padding: 8px 10px 9px 10px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 28px rgba(148, 163, 184, .14), inset 0 1px 0 rgba(255, 255, 255, .92);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.template-light #menu_user_dropdown .menu_user_toggle:hover,
body.template-light #menu_user_dropdown .menu_user_toggle:focus-visible {
    background: #ffffff;
    border-color: rgba(55, 129, 250, .16);
    box-shadow: 0 16px 30px rgba(148, 163, 184, .18), inset 0 1px 0 rgba(255, 255, 255, .96);
}

body.template-light #menu_user_dropdown .menu_user_label {
    color: #0f172a;
    font-weight: 700;
}

body.template-light #menu_user_dropdown .menu_user_email {
    color: #6b7c99;
}

body.template-light #menu_user_dropdown .dropdown-menu {
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 48px rgba(15, 23, 42, .12);
}

body.template-light #menu_user_dropdown .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
}

body.template-light #menu_user_dropdown .dropdown-item:hover,
body.template-light #menu_user_dropdown .dropdown-item:focus {
    background: rgba(55, 129, 250, .08);
    color: #0f172a;
}

body.template-light #menu_user_dropdown .dropdown-divider {
    border-top-color: rgba(148, 163, 184, .18);
    opacity: 1;
}

body.template-light .menu_meta_links {
    justify-content: flex-start;
    padding-left: 0;
}

body.template-light .menu_meta_links a {
    color: #6b7c99;
    transition: color .18s ease;
}

body.template-light .menu_meta_links a:hover,
body.template-light .menu_meta_links a:focus-visible {
    color: #3781fa;
}

body.template-light #sidebar .version,
body.template-light #sidebar .version a,
body.template-light #sidebar_online_count {
    color: #6b7c99;
}

body.template-light .menu_alpha_footer {
    color: #8396b9;
    letter-spacing: .08em;
}

body.template-light .menu_template_select {
    max-width: 78px;
    height: 20px;
    padding: 0 18px 0 8px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #6b7c99;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

body.template-light .menu_template_select:hover,
body.template-light .menu_template_select:focus-visible {
    background: #ffffff;
    border-color: rgba(55, 129, 250, .16);
    color: #0f172a;
}

body.template-light #desktop_sidebar_toggle {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.template-light .menu_user_waitlist_link:hover,
body.template-light .menu_user_waitlist_link:focus-visible {
    color: #0b5ed7;
}

body.template-light .dropdown-menu,
body.template-light .modal-content,
body.template-light .popover,
body.template-light .card,
body.template-light .offcanvas {
    box-shadow: var(--maxsim-surface-shadow);
}

@media (min-width: 901px) {
    body.template-light.has_shell_nav.is_sidebar_collapsed #sidebar .menu_logo {
        width: 44px;
        margin: 8px auto 6px auto;
    }

    body.template-light.has_shell_nav.is_sidebar_collapsed #sidebar li.active {
        margin: 0 8px;
    }
}

@media (max-width: 900px) {
    body.template-light #sidebar .menu_logo {
        margin: 8px 16px 6px 16px;
    }

    body.template-light #sidebar_nav > .menu_group:first-child {
        padding-top: 8px;
    }
}