#sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--side);
    padding: 28px 18px;
    background: #0c1018;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    z-index: 30
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 8px 28px
}

.brand>b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--accent), #5433db);
    font: 800 1rem Manrope
}

.brand strong,
.brand small,
#sidebar footer strong,
#sidebar footer small {
    display: block
}

.brand small,
#sidebar footer small {
    font-size: .75rem;
    color: var(--muted)
}

nav {
    display: grid;
    gap: 6px
}

nav button {
    display: flex;
    justify-content: space-between;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    padding: 12px;
    font-weight: 600;
    text-align: left
}

nav button:hover,
nav button.active {
    background: var(--raised);
    color: var(--text)
}

nav button.active {
    box-shadow: inset 3px 0 var(--accent)
}

nav i {
    font-style: normal;
    background: #202a39;
    border-radius: 99px;
    padding: 0 7px;
    font-size: .75rem
}

#sidebar footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 16px 8px 0;
    display: flex;
    gap: 10px
}

#sidebar footer>span {
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px #35c58a20
}

.main {
    margin-left: var(--side)
}

header {
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0 36px;
    background: #080b12dc;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px
}

header>div {
    flex: 1
}

header small {
    color: #a995ff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em
}

main {
    max-width: 1440px;
    margin: auto;
    padding: 36px
}

.section {
    display: none
}

.section.active {
    display: block;
    animation: in .2s ease
}

@keyframes in {
    from {
        opacity: 0;
        transform: translateY(5px)
    }
}

.icon {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--raised);
    color: white;
    font-size: 1.3rem
}

@media(max-width:760px) {
    #sidebar {
        transform: translateX(-100%);
        transition: .2s
    }

    #sidebar.open {
        transform: none
    }

    #backdrop.open {
        position: fixed;
        inset: 0;
        background: #0009;
        z-index: 25
    }

    .main {
        margin: 0
    }

    .icon {
        display: block
    }

    header {
        height: 72px;
        padding: 0 16px
    }

    main {
        padding: 24px 16px 90px
    }
}