@media (min-width: 768px) {
    body.tt-shell {
        --tt-sidebar-expanded-width: 15rem;
        --tt-sidebar-collapsed-width: 4.75rem;
        transition: none;
    }

    .tt-sidebar-collapse {
        position: fixed;
        z-index: 104;
        top: 18px;
        left: calc(var(--tt-sidebar-width) - 16px);
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 1px solid #314550;
        border-radius: 50%;
        color: #e9f1f4;
        background: #0b151c;
        box-shadow: 0 5px 16px rgb(0 0 0 / 38%);
        cursor: pointer;
        transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
    }

    body.tt-sidebar-animate :is(.tt-sidebar, .tt-main, .tt-header) {
        transition: width 220ms ease, margin-left 220ms ease, padding-left 220ms ease;
    }
    body.tt-sidebar-animate .tt-sidebar-collapse { transition: left 220ms ease; }
    body.tt-sidebar-animate .tt-sidebar-collapse svg { transition: transform 220ms ease; }

    .tt-sidebar-collapse:hover {
        border-color: #9cff00;
        color: #9cff00;
        transform: scale(1.05);
    }

    .tt-sidebar-collapse svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: none;
    }

    .tt-sidebar,
    .tt-main,
    .tt-header {
        transition: none;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) {
        --tt-sidebar-width: var(--tt-sidebar-collapsed-width);
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-sidebar-collapse svg {
        transform: rotate(180deg);
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-sidebar {
        padding-inline: 8px;
        overflow-x: hidden;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-sidebar-brand-mascot {
        height: 76px;
        margin: 0 0 10px;
        padding: 0 0 10px;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-logo-lockup {
        width: 60px;
        height: 64px;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-logo-mascot {
        top: 0;
        width: 64px !important;
        height: 64px;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-logo-wordmark,
    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-logo-subtitle,
    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-navitem > span,
    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-navitem > small,
    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-support-hours,
    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-support-status,
    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-responsible p {
        display: none !important;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-navitem {
        justify-content: center;
        gap: 0;
        padding-inline: 0;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-navitem.is-active::before {
        top: 7px;
        bottom: 7px;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-support .tt-navitem {
        padding-inline: 0;
    }

    :is(body.tt-sidebar-collapsed, html.tt-sidebar-start-collapsed body) .tt-responsible {
        justify-content: center;
        margin-inline: 0;
    }
}

@media (max-width: 767px) {
    .tt-sidebar-collapse {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt-sidebar-collapse,
    .tt-sidebar-collapse svg,
    .tt-sidebar,
    .tt-main,
    .tt-header {
        transition: none !important;
    }
}
