.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(180deg, var(--wf-blue) 0%, #008eaf 100%);
    box-shadow: 4px 0 16px rgba(0,119,149,.12);
    transition: transform .24s ease;
}
.brand { display: flex; align-items: center; gap: 14px; min-height: 105px; padding: 16px 30px; text-decoration: none; }
.brand img { width: 104px; height: 58px; object-fit: contain; }
.brand span { max-width: 110px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.side-nav { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 12px 112px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.nav-group { margin-top: 23px; }
.nav-group:first-child { margin-top: 8px; }
.nav-label { margin: 0 10px 10px; color: var(--wf-yellow); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 45px; margin: 4px 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 11px; color: rgba(255,255,255,.91); font-size: 13px; font-weight: 500; text-decoration: none; transition: all .18s ease; }
.nav-link:hover { transform: translateX(2px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.11); }
.nav-link.active { color: var(--wf-ocean) !important; background: #fff; box-shadow: 0 6px 16px rgba(0,75,95,.14); }
.nav-icon { display: grid; place-items: center; width: 20px; height: 20px; font-size: 20px; line-height: 1; }
.nav-link svg.nav-icon { flex: 0 0 20px; }
.nav-link .nav-icon { font-size: 16px; }
.nav-link .nav-icon:not(:only-child) { flex: 0 0 20px; }
.nav-link.external::after { content: "↗"; margin-left: auto; font-size: 13px; opacity: .72; }
.sidebar-footer { position: absolute; left: 0; bottom: 0; width: 100%; padding: 13px; background: linear-gradient(180deg, rgba(0,142,175,0), #008eaf 24%); }
.user-card { display: flex; align-items: center; gap: 11px; min-height: 68px; padding: 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(0,119,149,.28); }
.user-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: var(--wf-ocean); background: var(--wf-yellow); font-size: 12px; font-weight: 700; }
.user-details { min-width: 0; flex: 1; }
.user-details strong, .user-details small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-details strong { font-size: 12.5px; }
.user-details small { margin-top: 2px; color: rgba(255,255,255,.7); font-size: 9.5px; }
.logout-link { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; text-decoration: none; }
.logout-link:hover { background: rgba(255,255,255,.12); }
.mobile-header { display: none; position: sticky; top: 0; z-index: 20; align-items: center; justify-content: space-between; height: 68px; padding: 0 18px; background: var(--wf-blue); box-shadow: 0 4px 16px rgba(0,119,149,.14); }
.mobile-header img { width: 90px; height: 52px; }
.menu-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); font-size: 20px; cursor: pointer; }
.sidebar-overlay { position: fixed; inset: 0; z-index: 25; display: none; background: rgba(77,77,77,.42); backdrop-filter: blur(2px); }
@media (max-width: 850px) {
    .sidebar { transform: translateX(-105%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.visible { display: block; }
    .mobile-header { display: flex; }
}
