.sidebar {
    position: fixed;
    inset: 0 auto 0 0;

    z-index: 10000;

    width: 290px;
    min-width: 290px;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;

    padding:
        max(16px, env(safe-area-inset-top))
        12px
        max(16px, env(safe-area-inset-bottom))
        12px;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: none;
    -ms-overflow-style: none;

    isolation: isolate;

    background:
        radial-gradient(
            900px 500px at -30% -10%,
            rgba(34, 201, 211, .20),
            transparent 55%
        ),
        radial-gradient(
            700px 500px at 120% 110%,
            rgba(242, 160, 74, .13),
            transparent 52%
        ),
        radial-gradient(
            500px 300px at 70% 35%,
            rgba(117, 104, 238, .045),
            transparent 60%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .96),
            rgba(239, 248, 248, .91)
        );

    border-right:
        1px solid rgba(255, 255, 255, .92);

    box-shadow:
        24px 0 80px rgba(5, 25, 32, .075),
        8px 0 25px rgba(7, 148, 163, .025),
        inset -1px 0 rgba(255, 255, 255, .70);

    backdrop-filter:
        blur(38px) saturate(155%);

    -webkit-backdrop-filter:
        blur(38px) saturate(155%);

    transform:
        translate3d(-105%, 0, 0);

transition:
    transform 160ms cubic-bezier(.16, 1, .3, 1);

    will-change: transform;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    overscroll-behavior: contain;

    touch-action: pan-y;

    -webkit-overflow-scrolling: touch;
}

.sidebar::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   SIDEBAR OPEN / CLOSED
   ========================================================= */

.sidebar:not(.closed) {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.sidebar.closed {
    transform: translate3d(-105%, 0, 0);
    pointer-events: none;
}


/* =========================================================
   SIDEBAR AMBIENT LIGHT
   ========================================================= */

.sidebar::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        radial-gradient(
            220px 220px at 10% 15%,
            rgba(34, 201, 211, .10),
            transparent 70%
        ),
        radial-gradient(
            260px 260px at 95% 75%,
            rgba(242, 160, 74, .065),
            transparent 70%
        );

    pointer-events: none;

    animation:
        sidebarAmbient 12s ease-in-out infinite alternate;
}

@keyframes sidebarAmbient {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(1.08);
        opacity: 1;
    }
}


/* =========================================================
   SIDEBAR GLASS GRAIN
   ========================================================= */

.sidebar::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");

    pointer-events: none;
}


/* =========================================================
   NEW CHAT ROW
   ========================================================= */

.new-chat-row {
    position: relative;

    display: flex;
    align-items: center;

    gap: 8px;

    width: 100%;
}


/* =========================================================
   NEW CHAT — PREMIUM FLOATING BUTTON
   ========================================================= */

.new-chat {
    position: relative;

    flex: 1;

    height: 49px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;

    color: #fff;

    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            #0aa8b6 0%,
            #0794a3 42%,
            #056b78 100%
        );

    box-shadow:
        0 12px 28px rgba(7, 148, 163, .22),
        0 2px 5px rgba(7, 21, 29, .06),
        inset 0 1px 0 rgba(255, 255, 255, .27),
        inset 0 -1px 0 rgba(0, 0, 0, .08);

    overflow: hidden;

    cursor: pointer;

    transition:
        transform .4s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .4s ease,
        filter .3s ease;

    -webkit-tap-highlight-color: transparent;
}

.new-chat::before {
    content: "";

    position: absolute;
    inset: -100%;

    background:
        linear-gradient(
            115deg,
            transparent 35%,
            rgba(255, 255, 255, .30) 48%,
            transparent 60%
        );

    transform:
        translateX(-70%) rotate(8deg);

    transition:
        transform .85s cubic-bezier(.22, 1, .36, 1);

    pointer-events: none;
}

.new-chat::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -45px;
    top: -55px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .18),
            transparent 68%
        );

    filter: blur(1px);

    pointer-events: none;
}

.new-chat:hover {
    transform:
        translateY(-3px) scale(1.015);

    filter: brightness(1.04);

    box-shadow:
        0 20px 42px rgba(7, 148, 163, .30),
        0 0 0 4px rgba(34, 201, 211, .055),
        inset 0 1px 0 rgba(255, 255, 255, .30);
}

.new-chat:hover::before {
    transform:
        translateX(70%) rotate(8deg);
}

.new-chat:active {
    transform: scale(.975);
}

.new-chat svg {
    position: relative;
    z-index: 2;

    width: 18px;
    height: 18px;

    stroke-width: 2.5;

    filter:
        drop-shadow(0 2px 5px rgba(0, 0, 0, .14));

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.new-chat:hover svg {
    transform:
        rotate(90deg) scale(1.12);
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.close-sidebar {
    position: relative;

    width: 49px;
    height: 49px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .94),
            rgba(241, 249, 249, .76)
        );

    color: var(--muted);

    box-shadow:
        0 7px 20px rgba(7, 21, 29, .045),
        inset 0 1px 0 rgba(255, 255, 255, .95);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    cursor: pointer;

    overflow: hidden;

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        background .3s ease,
        border-color .3s ease,
        box-shadow .35s ease,
        color .25s ease;

    -webkit-tap-highlight-color: transparent;
}

.close-sidebar::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            130deg,
            transparent 25%,
            rgba(255, 255, 255, .65),
            transparent 70%
        );

    transform: translateX(-120%);

    transition:
        transform .65s ease;

    pointer-events: none;
}

.close-sidebar:hover {
    transform:
        rotate(90deg) scale(1.07);

    border-color:
        rgba(34, 201, 211, .25);

    background: #fff;

    color: var(--primary);

    box-shadow:
        0 15px 32px rgba(7, 21, 29, .10),
        0 0 0 4px rgba(34, 201, 211, .045);
}

.close-sidebar:hover::before {
    transform: translateX(120%);
}

.close-sidebar:active {
    transform:
        rotate(90deg) scale(.92);
}

.close-sidebar svg {
    position: relative;
    z-index: 2;

    width: 17px;
    height: 17px;

    transition:
        color .25s ease;
}


/* =========================================================
   KEYBOARD FOCUS
   ========================================================= */

.new-chat:focus-visible,
.close-sidebar:focus-visible,
.section-title:focus-visible,
.quick-link:focus-visible,
.dynamic-menu-item:focus-visible,
.complaint-toggle:focus-visible,
.complaint-form input:focus-visible,
.complaint-form button:focus-visible {
    outline: 3px solid rgba(34, 201, 211, .30);
    outline-offset: 2px;
}


/* =========================================================
   SIDEBAR CONTENT
   ========================================================= */

.side-section {
    padding-top: 25px;
}

.today-label {
    display: flex;
    align-items: center;

    gap: 7px;

    margin:
        0 8px 10px;

    color: var(--muted-light);

    font-family: var(--font-display);

    font-size: 8.5px;
    font-weight: 800;

    letter-spacing: .17em;

    text-transform: uppercase;
}

.today-label::before {
    content: "";

    width: 5px;
    height: 5px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--primary);

    box-shadow:
        0 0 0 4px rgba(34, 201, 211, .08),
        0 0 10px rgba(34, 201, 211, .30);
}


/* =========================================================
   TODAY CARD
   ========================================================= */

.today-card {
    position: relative;

    margin-bottom: 10px;

    min-height: 68px;

    padding: 15px 15px 15px 19px;

    display: flex;
    align-items: center;

    border:
        1px solid rgba(63, 103, 113, .10);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(34, 201, 211, .09),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .96),
            rgba(244, 250, 250, .76)
        );

    box-shadow:
        0 8px 25px rgba(7, 21, 29, .035),
        inset 0 1px 0 rgba(255, 255, 255, .95);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    overflow: hidden;

    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1),
        border-color .35s ease,
        box-shadow .35s ease;
}

.today-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;
    bottom: 12px;

    width: 3px;

    border-radius:
        0 6px 6px 0;

    background:
        linear-gradient(
            180deg,
            var(--primary-bright),
            var(--primary)
        );

    box-shadow:
        0 0 15px rgba(34, 201, 211, .30);
}

.today-card::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -70px;
    top: -75px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34, 201, 211, .12),
            transparent 68%
        );

    pointer-events: none;
}

.today-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(34, 201, 211, .22);

    box-shadow:
        0 18px 40px rgba(7, 21, 29, .075),
        0 0 0 3px rgba(34, 201, 211, .025),
        inset 0 1px 0 rgba(255, 255, 255, .98);
}

.today-card span {
    position: relative;
    z-index: 2;

    color: var(--ink-soft);

    font-size: 11px;
    line-height: 1.55;
    font-weight: 600;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {
    position: relative;

    height: 1px;

    margin: 21px 6px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(7, 148, 163, .14),
            rgba(34, 201, 211, .12),
            transparent
        );
}

.divider::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 34px;
    height: 4px;

    transform:
        translate(-50%, -50%);

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(34, 201, 211, .22),
            transparent
        );

    filter: blur(1.5px);
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.quick-links {
    position: relative;
    margin-top: 2px;
}

.section-title {
    position: relative;

    width: 100%;
    min-height: 61px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 9px;

    border:
        1px solid rgba(63, 103, 113, .09);

    border-radius: 19px;

    color: var(--ink-soft);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .94),
            rgba(243, 250, 250, .74)
        );

    box-shadow:
        0 7px 23px rgba(7, 21, 29, .035),
        inset 0 1px 0 rgba(255, 255, 255, .90);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    overflow: hidden;

    cursor: pointer;

    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1),
        border-color .3s ease,
        box-shadow .35s ease,
        background .3s ease;
}

.section-title::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 20%,
            rgba(255, 255, 255, .60),
            transparent 75%
        );

    transform:
        translateX(-120%);

    transition:
        transform .8s cubic-bezier(.22, 1, .36, 1);

    pointer-events: none;
}

.section-title:hover::before {
    transform:
        translateX(120%);
}

.section-title:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(34, 201, 211, .18);

    box-shadow:
        0 13px 32px rgba(7, 21, 29, .065),
        0 0 0 3px rgba(34, 201, 211, .025),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.section-title.open {
    border-color:
        rgba(34, 201, 211, .24);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(233, 249, 250, .82)
        );

    box-shadow:
        0 14px 35px rgba(7, 21, 29, .075),
        0 0 0 4px rgba(34, 201, 211, .045);
}


/* =========================================================
   QUICK HEADER
   ========================================================= */

.quick-title-left {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.quick-title-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 13px;

    font-size: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(34, 201, 211, .15),
            rgba(7, 148, 163, .055)
        );

    border:
        1px solid rgba(34, 201, 211, .10);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        0 6px 17px rgba(7, 148, 163, .055);

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .35s ease,
        background .3s ease;
}

.section-title:hover .quick-title-icon {
    transform:
        scale(1.08) rotate(-5deg);
}

.section-title.open .quick-title-icon {
    transform:
        scale(1.08) rotate(-8deg);

    box-shadow:
        0 9px 22px rgba(7, 148, 163, .14),
        0 0 0 4px rgba(34, 201, 211, .045);
}

.quick-title-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;

    text-align: left;
}

.quick-title-text span {
    color: var(--ink);

    font-family: var(--font-display);

    font-size: 11px;
    font-weight: 800;

    white-space: nowrap;
}

.quick-title-text small {
    color: var(--muted-light);

    font-size: 7.5px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   QUICK HEADER ARROW
   ========================================================= */

.quick-title-arrow {
    position: relative;
    z-index: 2;

    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: var(--muted);

    background:
        rgba(34, 201, 211, .055);

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        color .25s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.quick-title-arrow svg {
    width: 15px;
    height: 15px;

    stroke-width: 2.3;

    transition:
        transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.section-title.open .quick-title-arrow {
    color: var(--primary);

    background:
        rgba(34, 201, 211, .11);

    box-shadow:
        0 6px 16px rgba(34, 201, 211, .10);
}

.section-title.open .quick-title-arrow svg {
    transform:
        rotate(180deg);
}


/* =========================================================
   COLLAPSED CONTENT
   ========================================================= */

.collapsed-content {
    display: flex;
    flex-direction: column;

    gap: 7px;

    padding: 0 3px;

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    transform:
        translateY(-10px) scale(.985);

    pointer-events: none;

    transition:
        max-height .6s cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease,
        transform .5s cubic-bezier(.22, 1, .36, 1),
        padding .5s cubic-bezier(.22, 1, .36, 1);
}

.collapsed-content.open {
    max-height: 420px;

    opacity: 1;

    padding:
        9px 3px 4px;

    transform:
        translateY(0) scale(1);

    pointer-events: auto;
}


/* =========================================================
   QUICK LINK CARD
   ========================================================= */

.quick-link {
    position: relative;

    min-height: 58px;

    display: flex !important;
    align-items: center;

    gap: 10px;

    padding: 8px !important;

    border:
        1px solid rgba(63, 103, 113, .085) !important;

    border-radius: 16px;

    color: var(--ink) !important;

    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .91),
            rgba(247, 252, 252, .69)
        );

    box-shadow:
        0 5px 17px rgba(7, 21, 29, .025),
        inset 0 1px 0 rgba(255, 255, 255, .85);

    overflow: hidden;

    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1),
        border-color .3s ease,
        box-shadow .35s ease,
        background .3s ease;

    -webkit-tap-highlight-color: transparent;
}

.quick-link::after {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;
    bottom: 9px;

    width: 3px;

    border-radius:
        0 5px 5px 0;

    background:
        var(--action-color, var(--primary));

    opacity: .55;

    transform:
        scaleY(.35);

    transition:
        transform .4s cubic-bezier(.34, 1.56, .64, 1),
        opacity .3s ease;
}

.quick-link::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            105deg,
            transparent 20%,
            rgba(255, 255, 255, .65) 50%,
            transparent 80%
        );

    transform:
        translateX(-120%);

    transition:
        transform .75s cubic-bezier(.22, 1, .36, 1);

    pointer-events: none;
}

.quick-link:hover::before {
    transform:
        translateX(120%);
}

.quick-link:hover::after {
    opacity: 1;

    transform:
        scaleY(1);
}

.quick-link:hover {
    transform:
        translateX(4px) translateY(-2px);

    border-color:
        rgba(34, 201, 211, .19) !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(238, 249, 250, .84)
        );

    box-shadow:
        0 14px 30px rgba(7, 21, 29, .07),
        0 0 0 2px rgba(34, 201, 211, .025);
}

.quick-link:active {
    transform:
        scale(.975);
}


/* =========================================================
   QUICK ICON
   ========================================================= */

.quick-link-icon {
    position: relative;
    z-index: 2;

    width: 37px;
    height: 37px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-size: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(34, 201, 211, .12),
            rgba(7, 148, 163, .045)
        );

    border:
        1px solid rgba(34, 201, 211, .08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82);

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .35s ease;
}

.quick-link:hover .quick-link-icon {
    transform:
        scale(1.10) rotate(-6deg);

    box-shadow:
        0 8px 18px rgba(7, 148, 163, .12);
}


/* =========================================================
   QUICK INFO
   ========================================================= */

.quick-link-info {
    position: relative;
    z-index: 2;

    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.quick-link-info span {
    color: var(--muted-light);

    font-family: var(--font-display);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .10em;

    text-transform: uppercase;
}

.quick-link-info strong {
    color: var(--ink-soft);

    font-family: var(--font-display);

    font-size: 9.8px;
    font-weight: 800;

    line-height: 1.25;

    transition:
        color .25s ease;
}

.quick-link:hover .quick-link-info strong {
    color:
        var(--primary-dark);
}


/* =========================================================
   QUICK ARROW
   ========================================================= */

.quick-link-arrow {
    position: relative;
    z-index: 2;

    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: var(--primary);

    background:
        rgba(34, 201, 211, .055);

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .4s cubic-bezier(.34, 1.56, .64, 1),
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.quick-link:hover .quick-link-arrow {
    transform:
        translateX(4px);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );

    box-shadow:
        0 7px 16px rgba(7, 148, 163, .20);
}


/* =========================================================
   QUICK LINK COLORS
   ========================================================= */

.quick-link-schedule {
    --action-color: #0794a3;
}

.quick-link-news {
    --action-color: #f2a04a;
}

.quick-link-calendar {
    --action-color: #17b47e;
}

.quick-link-school {
    --action-color: #7568ee;
}

.quick-link-news .quick-link-icon {
    background:
        linear-gradient(
            145deg,
            rgba(242, 160, 74, .16),
            rgba(242, 160, 74, .045)
        );
}

.quick-link-calendar .quick-link-icon {
    background:
        linear-gradient(
            145deg,
            rgba(23, 180, 126, .15),
            rgba(23, 180, 126, .045)
        );
}

.quick-link-school .quick-link-icon {
    background:
        linear-gradient(
            145deg,
            rgba(117, 104, 238, .15),
            rgba(117, 104, 238, .045)
        );
}


/* =========================================================
   QUICK ENTRY ANIMATION
   ========================================================= */

.quick-links-content.open .quick-link {
    animation:
        quickLinkReveal .48s cubic-bezier(.22, 1, .36, 1) both;
}

.quick-links-content.open .quick-link:nth-child(1) {
    animation-delay: .03s;
}

.quick-links-content.open .quick-link:nth-child(2) {
    animation-delay: .09s;
}

.quick-links-content.open .quick-link:nth-child(3) {
    animation-delay: .15s;
}

.quick-links-content.open .quick-link:nth-child(4) {
    animation-delay: .21s;
}

@keyframes quickLinkReveal {
    from {
        opacity: 0;

        transform:
            translateY(-10px)
            translateX(-5px)
            scale(.97);

        filter: blur(4px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            translateX(0)
            scale(1);

        filter: blur(0);
    }
}


/* =========================================================
   COMPLAINT CARD
   ========================================================= */

.complaint-card {
    position: relative;

    margin:
        0 3px 10px;

    border:
        1px solid rgba(228, 91, 91, .11);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(242, 160, 74, .08),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .94),
            rgba(255, 248, 248, .73)
        );

    box-shadow:
        0 7px 22px rgba(7, 21, 29, .035),
        inset 0 1px 0 rgba(255, 255, 255, .90);

    overflow: hidden;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1),
        border-color .3s ease,
        box-shadow .35s ease;
}

.complaint-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(228, 91, 91, .23);

    box-shadow:
        0 18px 38px rgba(7, 21, 29, .075),
        0 0 0 3px rgba(228, 91, 91, .025);
}


/* =========================================================
   COMPLAINT TOGGLE
   ========================================================= */

.complaint-toggle {
    position: relative;

    width: 100%;
    min-height: 61px;

    padding:
        9px 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;

    list-style: none;
    user-select: none;

    -webkit-tap-highlight-color: transparent;
}

.complaint-toggle::-webkit-details-marker,
.complaint-toggle::marker {
    display: none;
}

.complaint-toggle::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;

    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(228, 91, 91, .10),
            transparent
        );

    opacity: 0;

    transition:
        opacity .3s ease;
}

.complaint-card[open] .complaint-toggle::after {
    opacity: 1;
}


/* =========================================================
   COMPLAINT LEFT
   ========================================================= */

.complaint-toggle-left {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}


/* =========================================================
   COMPLAINT ICON
   ========================================================= */

.complaint-icon {
    position: relative;

    width: 37px;
    height: 37px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-size: 19px;

    background:
        linear-gradient(
            145deg,
            rgba(228, 91, 91, .15),
            rgba(242, 160, 74, .075)
        );

    border:
        1px solid rgba(228, 91, 91, .11);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, .78),
        0 6px 15px rgba(228, 91, 91, .07);

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .35s ease;
}

.complaint-icon::after {
    content: "";

    position: absolute;
    inset: -4px;

    border-radius: 15px;

    border:
        1px solid rgba(228, 91, 91, .09);

    opacity: 0;

    transform:
        scale(.8);

    transition:
        opacity .3s ease,
        transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.complaint-card:hover .complaint-icon {
    transform:
        scale(1.08) rotate(-5deg);

    box-shadow:
        0 10px 22px rgba(228, 91, 91, .14);
}

.complaint-card:hover .complaint-icon::after {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   COMPLAINT TITLE
   ========================================================= */

.complaint-title {
    min-width: 0;
}

.complaint-title span {
    display: block;

    color: var(--ink);

    font-family: var(--font-display);

    font-size: 10.5px;
    font-weight: 800;

    line-height: 1.2;

    transition:
        color .25s ease;
}

.complaint-card:hover .complaint-title span {
    color:
        #bd4848;
}


/* =========================================================
   COMPLAINT CHEVRON
   ========================================================= */

.complaint-chevron {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color:
        rgba(228, 91, 91, .72);

    background:
        rgba(228, 91, 91, .055);

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.complaint-chevron svg {
    width: 14px;
    height: 14px;

    stroke-width: 2.3;
}

.complaint-card:hover .complaint-chevron {
    background:
        rgba(228, 91, 91, .09);
}

.complaint-card[open] .complaint-chevron {
    transform:
        rotate(180deg);

    color:
        var(--danger);

    background:
        rgba(228, 91, 91, .11);

    box-shadow:
        0 6px 14px rgba(228, 91, 91, .08);
}


/* =========================================================
   COMPLAINT CONTENT
   ========================================================= */

.complaint-content {
    padding:
        0 11px 11px;

    animation:
        complaintOpen .4s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes complaintOpen {
    from {
        opacity: 0;

        transform:
            translateY(-8px);

        filter: blur(3px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);

        filter: blur(0);
    }
}

.complaint-description {
    margin:
        0 3px 9px;

    color:
        var(--muted);

    font-size: 9.5px;
    line-height: 1.5;
}


/* =========================================================
   COMPLAINT FORM
   ========================================================= */

.complaint-form {
    display: flex;
    align-items: center;

    gap: 6px;
}

.complaint-form input {
    min-width: 0;
    flex: 1;

    height: 39px;

    padding:
        0 11px;

    border:
        1px solid rgba(228, 91, 91, .12);

    border-radius: 12px;

    outline: none;

    background:
        rgba(255, 255, 255, .72);

    color:
        var(--ink);

    font-family:
        var(--font-body);

    font-size:
        9.5px;

    box-shadow:
        inset 0 1px 4px rgba(7, 21, 29, .025);

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        transform .25s ease;
}

.complaint-form input::placeholder {
    color:
        var(--muted-light);
}

.complaint-form input:hover {
    border-color:
        rgba(228, 91, 91, .24);
}

.complaint-form input:focus {
    background:
        #fff;

    border-color:
        rgba(228, 91, 91, .42);

    box-shadow:
        0 0 0 4px rgba(228, 91, 91, .065),
        0 8px 20px rgba(228, 91, 91, .06);

    transform:
        translateY(-1px);
}


/* =========================================================
   COMPLAINT BUTTON
   ========================================================= */

.complaint-form button {
    width: 39px;
    height: 39px;
    min-width: 39px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #f28a6f,
            #e26157 55%,
            #d94d4d
        );

    box-shadow:
        0 9px 20px rgba(228, 91, 91, .20),
        inset 0 1px 0 rgba(255, 255, 255, .28);

    cursor: pointer;

    transition:
        transform .35s cubic-bezier(.34, 1.56, .64, 1),
        box-shadow .3s ease,
        filter .25s ease;
}

.complaint-form button svg {
    width: 16px;
    height: 16px;

    stroke-width: 2.2;

    transition:
        transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.complaint-form button:hover {
    transform:
        translateY(-3px) scale(1.06);

    box-shadow:
        0 15px 30px rgba(228, 91, 91, .30),
        0 0 0 4px rgba(228, 91, 91, .05);

    filter:
        brightness(1.05);
}

.complaint-form button:hover svg {
    transform:
        translateX(2px);
}

.complaint-form button:active {
    transform:
        scale(.91);
}


/* =========================================================
   COMPLAINT OPEN
   ========================================================= */

.complaint-card[open] {
    border-color:
        rgba(228, 91, 91, .21);

    box-shadow:
        0 17px 36px rgba(7, 21, 29, .07),
        0 0 0 3px rgba(228, 91, 91, .025);
}

.complaint-card[open] .complaint-toggle {
    background:
        linear-gradient(
            90deg,
            rgba(228, 91, 91, .025),
            transparent
        );
}


/* =========================================================
   DYNAMIC FIREBASE MENU
   ========================================================= */

.menu-container {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-top: 2px;

    padding: 0 1px;
}

.menu-container .collapsible,
.menu-container .menu-direct-item {
    position: relative;
}


/* =========================================================
   DYNAMIC SECTION BUTTON
   ========================================================= */

.menu-container .section-title {
    position: relative;

    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 7px 9px;

    border:
        1px solid rgba(63, 103, 113, .085);

    border-radius: 16px;

    color: var(--ink-soft);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .86),
            rgba(244, 250, 250, .68)
        );

    box-shadow:
        0 4px 15px rgba(7, 21, 29, .025),
        inset 0 1px 0 rgba(255, 255, 255, .82);

    backdrop-filter:
        blur(18px) saturate(130%);

    -webkit-backdrop-filter:
        blur(18px) saturate(130%);

    overflow: hidden;

    cursor: pointer;

    isolation: isolate;

    transition:
        transform .38s cubic-bezier(.22, 1, .36, 1),
        background .3s ease,
        border-color .3s ease,
        box-shadow .35s ease,
        color .25s ease;
}


/* =========================================================
   CATEGORY SHINE
   ========================================================= */

.menu-container .section-title::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            105deg,
            transparent 20%,
            rgba(255, 255, 255, .62) 48%,
            transparent 72%
        );

    transform:
        translateX(-125%);

    transition:
        transform .75s cubic-bezier(.22, 1, .36, 1);

    pointer-events: none;
}

.menu-container .section-title:hover::before {
    transform:
        translateX(125%);
}


/* =========================================================
   LEFT ACCENT LIGHT
   ========================================================= */

.menu-container .section-title::after {
    content: "";

    position: absolute;

    left: 0;
    top: 10px;
    bottom: 10px;

    width: 3px;

    border-radius:
        0 6px 6px 0;

    background:
        linear-gradient(
            180deg,
            var(--primary-bright),
            var(--primary)
        );

    opacity: 0;

    transform:
        scaleY(.3);

    box-shadow:
        0 0 13px rgba(34, 201, 211, .30);

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.34, 1.56, .64, 1);
}


/* =========================================================
   CATEGORY HOVER
   ========================================================= */

.menu-container .section-title:hover {
    transform:
        translateX(3px) translateY(-1px);

    color:
        var(--primary-dark);

    border-color:
        rgba(34, 201, 211, .18);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .96),
            rgba(236, 249, 250, .78)
        );

    box-shadow:
        0 10px 25px rgba(7, 21, 29, .055),
        0 0 0 2px rgba(34, 201, 211, .025),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.menu-container .section-title:hover::after {
    opacity: 1;

    transform:
        scaleY(1);
}


/* =========================================================
   ACTIVE / OPEN CATEGORY
   ========================================================= */

.menu-container .section-title.active {
    color:
        var(--primary-dark);

    border-color:
        rgba(34, 201, 211, .22);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(232, 249, 250, .84)
        );

    box-shadow:
        0 11px 28px rgba(7, 21, 29, .065),
        0 0 0 3px rgba(34, 201, 211, .035),
        inset 0 1px 0 rgba(255, 255, 255, .96);
}

.menu-container .section-title.active::after {
    opacity: 1;

    transform:
        scaleY(1);
}


/* =========================================================
   CATEGORY TEXT
   ========================================================= */

.menu-container .section-title > span {
    position: relative;
    z-index: 3;

    min-width: 0;

    flex: 1;

    display: block;

    overflow: hidden;

    color: inherit;

    font-family:
        var(--font-display);

    font-size: 10px;
    font-weight: 800;

    line-height: 1.3;

    text-align: left;

    white-space: nowrap;
    text-overflow: ellipsis;

    transition:
        color .25s ease,
        transform .3s cubic-bezier(.22, 1, .36, 1);
}

.menu-container .section-title:hover > span {
    transform:
        translateX(2px);
}


/* =========================================================
   CATEGORY CHEVRON
   ========================================================= */

.menu-container .section-title > svg {
    position: relative;
    z-index: 3;

    width: 29px;
    height: 29px;

    flex-shrink: 0;

    padding: 7px;

    border-radius: 9px;

    color:
        var(--muted-light);

    background:
        rgba(34, 201, 211, .045);

    stroke-width: 2.2;

    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        color .25s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.menu-container .section-title:hover > svg {
    color:
        var(--primary);

    background:
        rgba(34, 201, 211, .08);
}

.menu-container .section-title.active > svg {
    color:
        var(--primary);

    background:
        rgba(34, 201, 211, .11);

    box-shadow:
        0 5px 13px rgba(34, 201, 211, .10);

    transform:
        rotate(180deg);
}


/* =========================================================
   SUBMENU GLASS PANEL
   ========================================================= */

.menu-container .collapsed-content {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 5px;

    margin:
        5px 0 3px 9px;

    padding:
        7px 5px 7px 10px;

    border-left:
        1px solid rgba(34, 201, 211, .13);

    border-radius:
        0 14px 14px 0;

    background:
        linear-gradient(
            90deg,
            rgba(34, 201, 211, .025),
            rgba(255, 255, 255, .18)
        );

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    transform:
        translateY(-7px);

    pointer-events: none;

    transition:
        max-height .55s cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease,
        transform .4s cubic-bezier(.22, 1, .36, 1),
        padding .4s ease;
}

.menu-container .collapsed-content.open {
    max-height:
        700px;

    opacity: 1;

    transform:
        translateY(0);

    pointer-events: auto;
}


/* =========================================================
   DYNAMIC MENU ITEM
   ========================================================= */

.menu-container .dynamic-menu-item {
    position: relative;

    min-height: 40px;

    display: flex;

    align-items: center;

    padding:
        7px 10px 7px 14px;

    border:
        1px solid transparent;

    border-radius:
        12px;

    color:
        var(--muted) !important;

    background:
        rgba(255, 255, 255, .28);

    font-family:
        var(--font-body);

    font-size:
        9.5px;

    font-weight:
        650;

    line-height:
        1.35;

    text-decoration:
        none;

    overflow:
        hidden;

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        color .25s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   SUBMENU DOT
   ========================================================= */

.menu-container .dynamic-menu-item::before {
    content: "";

    position: absolute;

    left: 5px;

    width: 5px;
    height: 5px;

    border-radius:
        50%;

    background:
        rgba(7, 148, 163, .30);

    box-shadow:
        0 0 0 3px rgba(34, 201, 211, .035);

    transition:
        transform .35s cubic-bezier(.34, 1.56, .64, 1),
        background .25s ease,
        box-shadow .3s ease;
}


/* =========================================================
   SUBMENU SHINE
   ========================================================= */

.menu-container .dynamic-menu-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            105deg,
            transparent 25%,
            rgba(255, 255, 255, .48) 50%,
            transparent 75%
        );

    transform:
        translateX(-120%);

    transition:
        transform .65s cubic-bezier(.22, 1, .36, 1);

    pointer-events:
        none;
}

.menu-container .dynamic-menu-item:hover::after {
    transform:
        translateX(120%);
}


/* =========================================================
   SUBMENU HOVER
   ========================================================= */

.menu-container .dynamic-menu-item:hover {
    transform:
        translateX(5px);

    color:
        var(--primary-dark) !important;

    border-color:
        rgba(34, 201, 211, .12);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .80),
            rgba(232, 249, 250, .65)
        );

    box-shadow:
        0 7px 18px rgba(7, 21, 29, .045);
}

.menu-container .dynamic-menu-item:hover::before {
    background:
        var(--primary);

    transform:
        scale(1.45);

    box-shadow:
        0 0 0 4px rgba(34, 201, 211, .08),
        0 0 10px rgba(34, 201, 211, .22);
}

.menu-container .dynamic-menu-item:active {
    transform:
        translateX(3px) scale(.985);
}


/* =========================================================
   SUBMENU ENTRY ANIMATION
   ========================================================= */

.menu-container .collapsed-content.open .dynamic-menu-item {
    animation:
        dynamicMenuReveal .42s cubic-bezier(.22, 1, .36, 1) both;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(1) {
    animation-delay: .025s;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(2) {
    animation-delay: .065s;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(3) {
    animation-delay: .105s;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(4) {
    animation-delay: .145s;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(5) {
    animation-delay: .185s;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(6) {
    animation-delay: .225s;
}

.menu-container .collapsed-content.open .dynamic-menu-item:nth-child(7) {
    animation-delay: .265s;
}

@keyframes dynamicMenuReveal {
    from {
        opacity: 0;

        transform:
            translateX(-7px)
            translateY(-5px);

        filter:
            blur(3px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0)
            translateY(0);

        filter:
            blur(0);
    }
}


/* =========================================================
   EMPTY MENU
   ========================================================= */

.menu-container .menu-empty {
    padding:
        13px 11px;

    margin:
        2px 0;

    border:
        1px dashed rgba(63, 103, 113, .14);

    border-radius:
        12px;

    color:
        var(--muted-light);

    background:
        rgba(255, 255, 255, .30);

    font-size:
        8.5px;

    line-height:
        1.5;

    text-align:
        center;

    animation:
        emptyMenuIn .35s ease both;
}

@keyframes emptyMenuIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================================
   MENU LOADING
   ========================================================= */

.menu-container .menu-loading {
    min-height:
        55px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(63, 103, 113, .08);

    border-radius:
        16px;

    color:
        var(--muted);

    background:
        rgba(255, 255, 255, .45);

    font-family:
        var(--font-display);

    font-size:
        9px;

    font-weight:
        700;

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    animation:
        menuLoadingPulse 1.5s ease-in-out infinite;
}

@keyframes menuLoadingPulse {
    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}


/* =========================================================
   MENU ERROR
   ========================================================= */

.menu-container .menu-error {
    padding:
        12px;

    border:
        1px solid rgba(228, 91, 91, .13);

    border-radius:
        14px;

    color:
        #b85a5a;

    background:
        rgba(228, 91, 91, .045);

    font-size:
        9px;

    line-height:
        1.45;

    text-align:
        center;
}


/* =========================================================
   DIRECT CATEGORY
   ========================================================= */

.menu-container .menu-direct-item .section-title.no-submenu {
    min-height:
        49px;
}

.menu-container .section-title.no-submenu:hover {
    transform:
        translateX(4px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .97),
            rgba(237, 249, 250, .78)
        );
}

.menu-container .section-title.no-submenu:active {
    transform:
        translateX(2px) scale(.985);
}


/* =========================================================
   MENU GROUP SEPARATOR
   ========================================================= */

.menu-container .collapsible + .collapsible,
.menu-container .menu-direct-item + .collapsible,
.menu-container .collapsible + .menu-direct-item {
    margin-top:
        1px;
}


/* =========================================================
   SIDEBAR OVERLAY — MOBILE / ANDROID
   ========================================================= */

.overlay {
    position: fixed !important;

    inset: 0 !important;

    width: 100% !important;

    height: 100vh !important;
    height: 100dvh !important;

    z-index: 9999;

    background:
        rgba(3, 16, 22, 0);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

transition:
    opacity 140ms ease-out,
    background-color 140ms ease-out,
    visibility 0s linear 140ms;

    -webkit-tap-highlight-color: transparent;

    touch-action: none;
}

.overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    background:
        rgba(3, 16, 22, .48);

transition:
    opacity 140ms ease-out,
    background-color 140ms ease-out,
    visibility 0s linear 0s;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .sidebar {
        width:
            min(305px, 87vw);

        min-width:
            min(305px, 87vw);

        box-shadow:
            25px 0 75px rgba(7, 21, 29, .18),
            0 0 0 1px rgba(255, 255, 255, .18);

        padding-left:
            max(12px, env(safe-area-inset-left));

        padding-right:
            max(12px, env(safe-area-inset-right));
    }

    .new-chat {
        height: 50px;
    }

    .close-sidebar {
        width: 50px;
        height: 50px;
    }

    .today-card {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .menu-container {
        gap:
            8px;
    }

    .menu-container .section-title {
        min-height:
            54px;

        border-radius:
            17px;
    }

    .menu-container .dynamic-menu-item {
        min-height:
            42px;

        font-size:
            9.5px;
    }

    .menu-container .collapsed-content {
        margin-left:
            8px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .sidebar {
        width: 88vw;
        min-width: 88vw;

        padding-left: 10px;
        padding-right: 10px;
    }

    .new-chat {
        font-size:
            11px;
    }

    .quick-title-text span {
        font-size:
            10.5px;
    }

    .quick-title-text small {
        font-size:
            7px;
    }
}


/* =========================================================
   LANDSCAPE MOBILE
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

    .sidebar {
        padding-top:
            max(10px, env(safe-area-inset-top));

        padding-bottom:
            max(10px, env(safe-area-inset-bottom));
    }

    .new-chat,
    .close-sidebar {
        height:
            45px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .sidebar,
    .new-chat,
    .close-sidebar,
    .today-card,
    .section-title,
    .quick-link,
    .quick-link-icon,
    .complaint-card,
    .complaint-icon,
    .complaint-chevron,
    .complaint-form input,
    .complaint-form button,
    .menu-container *,
    .menu-container *::before,
    .menu-container *::after,
    .overlay {
        transition:
            none !important;

        animation:
            none !important;
    }

    .sidebar::before {
        animation:
            none !important;
    }

    .quick-links-content.open .quick-link,
    .complaint-content {
        animation:
            none !important;
    }
}


/* =========================================================
   LOW PERFORMANCE / TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .new-chat:hover,
    .close-sidebar:hover,
    .today-card:hover,
    .section-title:hover,
    .quick-link:hover,
    .complaint-card:hover,
    .complaint-form button:hover,
    .menu-container .section-title:hover,
    .menu-container .dynamic-menu-item:hover {
        transform: none;
    }

    .new-chat:hover svg,
    .close-sidebar:hover,
    .quick-link:hover .quick-link-icon,
    .complaint-card:hover .complaint-icon {
        transform: none;
    }

    .quick-link:hover::before,
    .new-chat:hover::before,
    .section-title:hover::before,
    .menu-container .section-title:hover::before,
    .menu-container .dynamic-menu-item:hover::after {
        transform: translateX(-120%);
    }
}


/* =========================================================
   SAFETY — HIDDEN SIDEBAR MUST NOT CAPTURE EVENTS
   ========================================================= */

.sidebar.closed * {
    pointer-events: none;
}


.sidebar {
    transition:
        transform 150ms cubic-bezier(.16, 1, .3, 1) !important;
}

.overlay {
    transition:
        opacity 120ms ease-out,
        background-color 120ms ease-out,
        visibility 0s linear 120ms !important;
}

.overlay.active {
    transition:
        opacity 120ms ease-out,
        background-color 120ms ease-out,
        visibility 0s linear 0s !important;
}
.footer-note {
    padding-top: 10px;
    text-align: center;
    color: var(--muted-light);
    font-size: 9.5px;
    line-height: 1.4;
}

.footer-note span {
    color: var(--ink-soft);
    font-weight: 600;
}