/* Mobile navigation: shared Career Center drawer. */
@media screen and (max-width: 1024px) {
    html.career-responsive #sidebar,
    html.career-responsive #sidebar.collapsed {
        width: min(360px, 92vw) !important;
        padding: 0 16px max(20px, env(safe-area-inset-bottom));
        gap: 6px;
        background: #fff;
        color: #23465e;
        border-radius: 22px 0 0 0;
        box-shadow: -12px 0 40px rgba(15, 35, 60, .18);
        backdrop-filter: none;
    }
    html.career-responsive #sidebar > * { flex-shrink: 0; }
    html.career-responsive #sidebar .sidebar-header {
        align-items: flex-start;
        gap: 12px;
        margin: 0 -16px 16px;
        padding: 28px 24px 24px;
        background: none;
        color: #23465e;
        border-bottom: 1px solid var(--cc-night-border, #e1e9f1);
        border-radius: 22px 0 0 0;
    }
    html.career-responsive #sidebar .sidebar-header img {
        width: 56px;
        max-width: 56px;
        height: 46px;
        object-fit: contain;
        padding: 8px;
        background: #fff;
        border-radius: 12px;
        box-sizing: border-box;
    }
    html.career-responsive #sidebar .sidebar-header h2 {
        margin: 0;
        color: inherit;
        text-align: left;
        font-size: 22px !important;
        line-height: 1.3;
    }
    html.career-responsive #sidebar .sidebar-header::after {
        content: 'Your career workspace';
        font-size: 12px;
        color: var(--cc-night-muted, #61788c);
        font-style: italic;
    }
    html.career-responsive #sidebar a,
    html.career-responsive #sidebar .dropdown a {
        justify-content: flex-start;
        min-height: 50px;
        margin: 0;
        padding: 10px 12px;
        gap: 12px;
        border-radius: 12px;
        color: #23465e;
        font-weight: 500;
        line-height: 1.45;
        white-space: normal;
        overflow-wrap: anywhere;
        transform: none;
        transition: background-color .15s ease, color .15s ease;
    }
    html.career-responsive #sidebar a span { min-width: 0; }
    html.career-responsive #sidebar a > i,
    html.career-responsive #sidebar .dropdown a > i {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        margin: 0;
        padding: 0;
        background: #eef4f9;
        border-radius: 10px;
        color: #376c92;
    }
    html.career-responsive #sidebar a:hover {
        background: #edf4fa !important;
        transform: none;
    }
    html.career-responsive #sidebar a.active,
    html.career-responsive #sidebar a.cc-nav-current {
        background: #23465e !important;
        color: #fff;
        font-weight: 600;
    }
    html.career-responsive #sidebar a.cc-nav-current > i,
    html.career-responsive #sidebar a.active > i {
        background: rgba(255,255,255,.14);
        color: #fff;
    }
    html.career-responsive #sidebar a:focus-visible,
    html.career-responsive .cc-mobile-menu-button:focus-visible {
        outline: 3px solid #3683ba;
        outline-offset: 2px;
    }
    html.career-responsive #sidebar .dropdown > a::after {
        content: '';
        width: 7px;
        height: 7px;
        flex: 0 0 7px;
        margin-left: auto;
        margin-right: 4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }
    html.career-responsive #sidebar .cc-nav-expanded > a::after {
        transform: rotate(225deg);
    }
    html.career-responsive #sidebar .cc-nav-expanded > .dropdown-menu {
        margin: 6px 0 10px 28px;
        padding: 0 0 0 12px;
        border-left: 2px solid #dce7f0;
        gap: 4px;
    }
    html.career-responsive #sidebar .dropdown-menu a {
        font-size: 13px !important;
        min-height: 46px;
        padding: 8px;
        gap: 8px;
    }
    html.career-responsive #sidebar .dropdown .dropdown-menu a > i {
        flex-basis: 24px;
        width: 24px;
        height: 28px;
        background: transparent;
        font-size: 14px !important;
    }
    html.career-responsive #sidebar .admin-card {
        padding: 16px 8px 8px;
        margin: 14px 0 6px;
        background: #f4f7fb;
        border: 1px solid #e1e9f1;
        border-radius: 16px;
        box-shadow: none;
        color: #23465e;
    }
    html.career-responsive #sidebar .admin-header {
        justify-content: flex-start;
        gap: 8px;
        margin: 0 8px 10px;
        color: #567085;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
    }
    html.career-responsive #sidebar .admin-header i { margin-right: 0 !important; }
    html.career-responsive #sidebar .admin-links { display: grid; gap: 4px; }
    html.career-responsive #sidebar a.cc-nav-logout {
        margin-top: 16px;
        border-top: 1px solid #e4eaf0;
        border-radius: 0 0 12px 12px;
        padding-top: 16px;
        color: #a53747;
    }
    html.career-responsive #sidebar a.cc-nav-logout > i { background: #fbedef; color: #a53747; }
}
