:root {
    --zs-sidebar-w: 272px;
    --zs-topbar-h: 68px;
    --zs-bg: #07070b;
    --zs-surface: #0f0f16;
    --zs-surface-elevated: #16161f;
    --zs-surface-hover: #1c1c27;
    --zs-border: rgba(255,255,255,0.04);
    --zs-border-hover: rgba(255,255,255,0.08);
    --zs-border-gold: rgba(235,190,55,0.15);
    --zs-gold: #EBBE37;
    --zs-gold-light: #EBBE37;
    --zs-gold-dark: #a88a3a;
    --zs-gold-glow: rgba(235,190,55,0.12);
    --zs-gold-text: #0a0a0f;
    --zs-text: #f0f0f5;
    --zs-text-secondary: #9ca3af;
    --zs-text-muted: #6b7280;
    --zs-text-dim: #4b5563;
    --zs-success: #10b981;
    --zs-success-glow: rgba(16,185,129,0.12);
    --zs-danger: #ef4444;
    --zs-danger-soft: rgba(239,68,68,0.08);
    --zs-warning: #f59e0b;
    --zs-radius-sm: 6px;
    --zs-radius-md: 10px;
    --zs-radius-lg: 14px;
    --zs-radius-xl: 18px;
    --zs-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --zs-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --zs-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --zs-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zs-sidebar {
    position: fixed;
    left: 14px;
    top: 14px;
    width: var(--zs-sidebar-w);
    height: calc(100vh - 28px);
    background: linear-gradient(180deg, #0e0e14 0%, #0a0a10 50%, #08080d 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.28s ease, width 0.28s ease, left 0.28s ease, top 0.28s ease, border-radius 0.28s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.04);
    will-change: transform, width;
    overflow: hidden;
}

.zs-sidebar__brand {
    height: var(--zs-topbar-h);
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--zs-border);
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(235,190,55,0.02) 0%, transparent 100%);
    border-radius: 20px 20px 0 0;
}

.zs-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.zs-brand__mark {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: none;
    padding: 0;
}

.zs-brand__mark::before { display: none !important; content: none !important; }

.zs-brand:hover .zs-brand__mark {
    border: none;
    box-shadow: none;
}

.zs-brand__svg { width: 40px; height: 40px; position: relative; z-index: 1; }

.zs-brand__logo {
  width: 44px; height: 44px; object-fit: contain; position: relative; z-index: 1;
  display: block; border-radius: 0;
}

.zs-brand__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.zs-brand__name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--zs-text);
    line-height: 1;
}

.zs-brand__sub {
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--zs-text-muted);
    line-height: 1;
}

.zs-sidebar__close {
    display: none;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid var(--zs-border);
    border-radius: var(--zs-radius-sm);
    color: var(--zs-text-secondary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--zs-transition-fast);
}

.zs-sidebar__close:hover {
    background: var(--zs-danger-soft);
    border-color: rgba(239,68,68,0.2);
    color: var(--zs-danger);
}

.zs-sidebar__mobile-user {
    display: none;
    padding: 18px 22px;
    border-bottom: 1px solid var(--zs-border);
}

.zs-muser {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zs-muser__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(235,190,55,0.25);
    object-fit: cover;
    box-shadow: 0 0 16px rgba(235,190,55,0.08);
}

.zs-muser__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.zs-muser__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--zs-text);
}

.zs-muser__role {
    font-size: 12px;
    color: var(--zs-text-muted);
}

.zs-plan-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.zs-plan-badge--free {
    background: var(--zs-surface-elevated);
    color: var(--zs-text-muted);
    border: 1px solid var(--zs-border);
}

.zs-plan-badge--pro {
    background: linear-gradient(135deg, var(--zs-gold) 0%, var(--zs-gold-dark) 100%);
    color: var(--zs-gold-text);
    box-shadow: 0 2px 10px rgba(235,190,55,0.2);
}

.zs-sidebar__mobile-sub {
    display: none;
    padding: 16px 22px;
    border-bottom: 1px solid var(--zs-border);
}

.zs-sub-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--zs-radius-md);
    border: 1px solid var(--zs-border);
    text-decoration: none;
    transition: var(--zs-transition-base);
    position: relative;
    overflow: hidden;
}

.zs-sub-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--zs-transition-base);
}

.zs-sub-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.zs-sub-card:hover::before { opacity: 1; }

.zs-sub-card__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--zs-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.zs-sub-card--free .zs-sub-card__icon {
    background: var(--zs-danger-soft);
    color: var(--zs-danger);
}

.zs-sub-card--free::before {
    background: linear-gradient(135deg, rgba(239,68,68,0.04) 0%, transparent 100%);
}

.zs-sub-card--free:hover { border-color: rgba(239,68,68,0.15); }

.zs-sub-card--pro .zs-sub-card__icon {
    background: var(--zs-gold-glow);
    color: var(--zs-gold);
}

.zs-sub-card--pro::before {
    background: linear-gradient(135deg, rgba(235,190,55,0.05) 0%, transparent 100%);
}

.zs-sub-card--pro:hover { border-color: var(--zs-border-gold); }

.zs-sub-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.zs-sub-card__body strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--zs-text);
}

.zs-sub-card__body span {
    font-size: 11.5px;
    color: var(--zs-text-muted);
}

.zs-sub-card__action {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--zs-radius-sm);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.zs-sub-card--free .zs-sub-card__action {
    background: linear-gradient(135deg, var(--zs-danger) 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(239,68,68,0.2);
}

.zs-sub-card--pro .zs-sub-card__action {
    background: linear-gradient(135deg, var(--zs-gold) 0%, var(--zs-gold-dark) 100%);
    color: var(--zs-gold-text);
    box-shadow: 0 2px 8px rgba(235,190,55,0.2);
}

.zs-sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(235,190,55,0.1) transparent;
}

.zs-nav-group { margin-bottom: 28px; }

.zs-nav-group__title {
    padding: 0 14px;
    margin-bottom: 10px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--zs-text-dim);
}

.zs-nav-group__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.zs-nav-item { position: relative; }

.zs-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--zs-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--zs-radius-md);
    transition: all var(--zs-transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.zs-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 18px;
    background: var(--zs-gold);
    border-radius: 0 3px 3px 0;
    transition: transform var(--zs-transition-fast);
}

.zs-nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(235,190,55,0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--zs-transition-fast);
}

.zs-nav-link:hover {
    color: var(--zs-text);
    background: var(--zs-surface-hover);
    border-color: var(--zs-border-hover);
}

.zs-nav-link:hover::before { transform: translateY(-50%) scaleY(1); opacity: 0.6; }

.zs-nav-link:hover::after { opacity: 1; }

.zs-nav-link--active {
    color: var(--zs-gold);
    background: linear-gradient(135deg, rgba(235,190,55,0.08) 0%, rgba(235,190,55,0.02) 100%);
    border-color: rgba(235,190,55,0.15);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(235,190,55,0.04), inset 0 1px 0 rgba(235,190,55,0.04);
}

.zs-nav-link--active::before {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
    box-shadow: 0 0 8px rgba(235,190,55,0.35);
}

.zs-nav-link--active::after { opacity: 0; }

.zs-nav-link__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    transition: transform var(--zs-transition-fast);
    position: relative;
    z-index: 1;
}

.zs-nav-link:hover .zs-nav-link__icon { transform: scale(1.1); }

.zs-nav-link--active .zs-nav-link__icon { color: var(--zs-gold); }

.zs-nav-link__text {
    flex: 1;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zs-nav-link__chevron {
    flex-shrink: 0;
    color: var(--zs-text-dim);
    transition: transform var(--zs-transition-fast);
    position: relative;
    z-index: 1;
}

.zs-nav-item--open .zs-nav-link__chevron {
    transform: rotate(180deg);
    color: var(--zs-gold);
}

.zs-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.zs-badge--default {
    background: linear-gradient(135deg, var(--zs-gold) 0%, var(--zs-gold-dark) 100%);
    color: var(--zs-gold-text);
}

.zs-badge--hot {
    background: linear-gradient(135deg, var(--zs-danger) 0%, #dc2626 100%);
    color: white;
}

.zs-badge--success {
    background: linear-gradient(135deg, var(--zs-success) 0%, #059669 100%);
    color: white;
}

.zs-badge--warning {
    background: linear-gradient(135deg, var(--zs-warning) 0%, #d97706 100%);
    color: white;
}

.zs-submenu {
    list-style: none;
    padding: 4px 0 4px 12px;
    margin: 2px 0 2px 18px;
    border-left: 1px solid rgba(255,255,255,.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .32s ease, opacity .18s ease;
}

.zs-nav-item--open .zs-submenu {
    max-height: 520px;
    opacity: 1;
}

.zs-submenu__item + .zs-submenu__item { margin-top: 2px; }

.zs-submenu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: var(--zs-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}

.zs-submenu__icon {
    width: 20px;
    display: grid; place-items: center;
    font-size: 13px;
    color: var(--zs-text-muted);
    flex-shrink: 0;
}

.zs-submenu__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.zs-submenu__link:hover {
    background: var(--zs-surface-hover);
    color: var(--zs-text);
}

.zs-submenu__link:hover .zs-submenu__icon { color: var(--zs-text); }

.zs-submenu__link--active {
    background: rgba(235,190,55,.10);
    color: var(--zs-gold);
    font-weight: 600;
}

.zs-submenu__link--active .zs-submenu__icon { color: var(--zs-gold); }

html[data-theme="light"] .zs-submenu { border-left-color: rgba(20,20,20,.08); }

html[data-theme="light"] .zs-submenu__link:hover { background: rgba(20,20,20,.04); }

html[data-theme="light"] .zs-submenu__link--active { background: rgba(235,190,55,.12); }

.zs-nav-link[aria-expanded="true"] .zs-nav-link__chevron { transform: rotate(180deg); color: var(--zs-gold); }

.zs-nav-link__chevron { transition: transform .18s ease, color .18s ease; }

.zs-sidebar__footer {
    padding: 14px;
    border-top: 1px solid var(--zs-border);
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
    background: linear-gradient(0deg, rgba(235,190,55,0.015) 0%, transparent 100%);
}

.zs-footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--zs-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--zs-radius-md);
    transition: all var(--zs-transition-fast);
    border: 1px solid transparent;
}

.zs-footer-link:hover {
    color: var(--zs-text);
    background: var(--zs-surface-hover);
    border-color: var(--zs-border-hover);
}

.zs-footer-link.active {
    color: var(--zs-gold);
    background: linear-gradient(135deg, rgba(235,190,55,0.06) 0%, transparent 100%);
}

.zs-footer-link__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.zs-footer-link--danger {
    color: rgba(239,68,68,0.75);
}

.zs-footer-link--danger:hover {
    background: var(--zs-danger-soft);
    border-color: rgba(239,68,68,0.1);
    color: #f87171;
}

.zs-topbar {
    position: fixed;
    top: 14px;
    left: calc(var(--zs-sidebar-w) + 28px);
    right: 14px;
    height: var(--zs-topbar-h);
    background: linear-gradient(180deg, rgba(12,12,18,0.97) 0%, rgba(10,10,15,0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    gap: 20px;
    z-index: 999;
    transition: left var(--zs-transition-slow), right var(--zs-transition-slow), top var(--zs-transition-slow);
}

.zs-topbar__left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.zs-menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--zs-border);
    border-radius: var(--zs-radius-md);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--zs-transition-fast);
    flex-shrink: 0;
}

.zs-menu-toggle span {
    display: block;
    width: 17px;
    height: 1.8px;
    background: var(--zs-text-secondary);
    border-radius: 2px;
    transition: var(--zs-transition-fast);
    transform-origin: center;
}

.zs-menu-toggle:hover {
    border-color: rgba(235,190,55,0.25);
    background: rgba(235,190,55,0.03);
}

.zs-menu-toggle:hover span { background: var(--zs-gold); }

.zs-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: var(--zs-text-secondary);
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.zs-breadcrumb__current {
    position: relative;
    padding-left: 14px;
}

.zs-breadcrumb__current::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--zs-gold);
    box-shadow: 0 0 6px rgba(235,190,55,0.4);
}

.zs-topbar__center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@keyframes zs-pulse-ring {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

.zs-topbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.zs-btn-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: transparent;
    border: 1.5px solid rgba(235,190,55,0.22);
    border-radius: var(--zs-radius-md);
    color: var(--zs-gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--zs-transition-base);
    position: relative;
    overflow: hidden;
}

.zs-btn-quick::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(235,190,55,0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--zs-transition-fast);
}

.zs-btn-quick:hover {
    border-color: rgba(235,190,55,0.45);
    box-shadow: 0 0 24px rgba(235,190,55,0.08);
    transform: translateY(-1px);
}

.zs-btn-quick:hover::before { opacity: 1; }

.zs-btn-quick svg, .zs-btn-quick span { position: relative; z-index: 1; }

.zs-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--zs-surface);
    border: 1px solid var(--zs-border);
    border-radius: var(--zs-radius-md);
    color: var(--zs-text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--zs-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zs-icon-btn:hover {
    border-color: rgba(235,190,55,0.2);
    color: var(--zs-gold);
    background: var(--zs-surface-hover);
    box-shadow: 0 0 20px rgba(235,190,55,0.06);
    transform: translateY(-1px);
}

.zs-icon-btn__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--zs-danger) 0%, #dc2626 100%);
    color: white;
    font-size: 9px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--zs-bg);
    box-shadow: 0 2px 6px rgba(239,68,68,0.3);
    animation: zs-badge-pop 0.3s var(--zs-spring);
}

@keyframes zs-badge-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.zs-dropdown-wrap { position: relative; }

.zs-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: linear-gradient(180deg, #181824 0%, #12121a 100%);
    border: 1px solid rgba(235,190,55,0.08);
    border-radius: var(--zs-radius-lg);
    box-shadow: 
        0 24px 64px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.02),
        inset 0 1px 0 rgba(255,255,255,0.03);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transition: all var(--zs-transition-base);
    z-index: 1001;
    overflow: hidden;
    min-width: 260px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.zs-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.zs-dropdown--notifications { width: 380px; }

.zs-dropdown--profile { width: 290px; }

.zs-dropdown__head {
    padding: 18px 22px;
    border-bottom: 1px solid var(--zs-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(235,190,55,0.015) 0%, transparent 100%);
}

.zs-dropdown__head h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--zs-text);
    letter-spacing: 0.2px;
}

.zs-dropdown__action {
    font-size: 11.5px;
    color: var(--zs-gold);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: color var(--zs-transition-fast);
    padding: 0;
}

.zs-dropdown__action:hover { color: var(--zs-gold-light); }

.zs-dropdown__body {
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(235,190,55,0.08) transparent;
}

.zs-dropdown__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    color: var(--zs-text-muted);
    font-size: 13px;
}

.zs-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid var(--zs-border);
    border-top-color: var(--zs-gold);
    border-radius: 50%;
    animation: zs-spin 0.8s linear infinite;
}

@keyframes zs-spin { to { transform: rotate(360deg); } }

.zs-dropdown__foot {
    padding: 14px 22px;
    text-align: center;
    border-top: 1px solid var(--zs-border);
    background: linear-gradient(0deg, rgba(235,190,55,0.01) 0%, transparent 100%);
}

.zs-dropdown__foot a {
    color: var(--zs-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color var(--zs-transition-fast);
}

.zs-dropdown__foot a:hover { color: var(--zs-gold); }

.zs-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--zs-surface);
    border: 1px solid var(--zs-border);
    border-radius: var(--zs-radius-md);
    padding: 4px 4px 4px 16px;
    cursor: pointer;
    transition: all var(--zs-transition-fast);
}

.zs-profile-btn:hover {
    border-color: rgba(235,190,55,0.2);
    background: var(--zs-surface-hover);
    box-shadow: 0 0 20px rgba(235,190,55,0.04);
}

.zs-profile-btn.active {
    border-color: rgba(235,190,55,0.3);
    background: linear-gradient(135deg, rgba(235,190,55,0.04) 0%, transparent 100%);
}

.zs-profile-btn__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.zs-profile-btn__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--zs-text);
}

.zs-profile-btn__img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(235,190,55,0.3);
    object-fit: cover;
    transition: all var(--zs-transition-fast);
}

.zs-profile-btn:hover .zs-profile-btn__img {
    border-color: var(--zs-gold);
    box-shadow: 0 0 14px rgba(235,190,55,0.12);
}

.zs-avatar-fallback {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #EBBE37 0%, #c9a227 100%);
    color: #111; font-weight: 800; font-size: 13px; letter-spacing: .04em;
    border: 2px solid rgba(235,190,55,0.35);
    flex-shrink: 0;
}

.zs-muser__avatar { object-fit: cover; }

.zs-avatar-fallback--muser { width: 44px; height: 44px; font-size: 14px; border-radius: 50%; }

.zs-avatar-fallback--lg { width: 48px; height: 48px; font-size: 15px; border-radius: 50%; border-color: var(--zs-gold); box-shadow: 0 0 20px rgba(235,190,55,.12); }

html[data-theme="light"] .zs-avatar-fallback { background: linear-gradient(135deg, #EBBE37, #c9a227); color: #111; }

.zs-profile-btn__arrow {
    font-size: 10px;
    color: var(--zs-text-muted);
    margin-right: 4px;
    transition: transform var(--zs-transition-fast);
}

.zs-profile-btn.active .zs-profile-btn__arrow {
    transform: rotate(180deg);
    color: var(--zs-gold);
}

.zs-dropdown__user {
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(235,190,55,0.02) 0%, transparent 100%);
}

.zs-dropdown__user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--zs-gold);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(235,190,55,0.12);
}

.zs-dropdown__user-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--zs-text);
    margin: 0 0 3px 0;
}

.zs-dropdown__user-info p {
    font-size: 12px;
    color: var(--zs-text-muted);
    margin: 0 0 10px 0;
}

.zs-dropdown__sep {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--zs-border) 20%, var(--zs-border) 80%, transparent 100%);
    margin: 0 18px;
}

.zs-dropdown__menu {
    list-style: none;
    padding: 8px;
}

.zs-dropdown__menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: var(--zs-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--zs-radius-sm);
    transition: all var(--zs-transition-fast);
}

.zs-dropdown__menu li a:hover {
    background: rgba(255,255,255,0.03);
    color: var(--zs-text);
}

.zs-dropdown__menu li a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.zs-text-danger { color: var(--zs-danger) !important; }

.zs-dropdown__menu li a.zs-text-danger:hover {
    background: var(--zs-danger-soft);
    color: #f87171 !important;
}

.zs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    transition: opacity 200ms ease;
}

.zs-overlay.show {
    display: block;
    opacity: 1;
}

.zs-sidebar__controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.zs-sb-ctrl {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--zs-border);
    border-radius: var(--zs-radius-sm);
    color: var(--zs-text-secondary);
    cursor: pointer;
    font-size: 12px;
    transition: var(--zs-transition-fast);
}

.zs-sb-ctrl:hover {
    border-color: var(--zs-border-gold);
    color: var(--zs-gold);
    background: var(--zs-gold-glow);
}

.zs-sidebar-reopen {
    display: none;
    position: fixed;
    left: 14px;
    top: calc(var(--zs-topbar-h) + 12px);
    z-index: 1100;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--zs-border);
    background: var(--zs-surface);
    color: var(--zs-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: var(--zs-transition-fast);
}

.zs-sidebar-reopen:hover {
    border-color: var(--zs-border-gold);
    color: var(--zs-gold);
}

html[data-sidebar="hidden"] .zs-sidebar-reopen {
    display: inline-flex;
}

@media (min-width: 993px) {
  /* 2026-10-18 (4): kabuk artık sabit "ikon" modunda — etiket yok, genişlik %40 az (272 → 164) */
  html[data-sidebar="icons"] {
        --zs-sidebar-w: 164px;
    }
  html[data-sidebar="icons"] .zs-sidebar {
        width: 164px;
        overflow: visible;
    }
  html[data-sidebar="icons"] .zs-brand__text,
    html[data-sidebar="icons"] .zs-nav-group__title,
    html[data-sidebar="icons"] .zs-nav-link__text,
    html[data-sidebar="icons"] .zs-nav-link__badge,
    html[data-sidebar="icons"] .zs-nav-link__chevron,
    html[data-sidebar="icons"] .zs-footer-link > span:not(.zs-footer-link__icon),
    html[data-sidebar="icons"] .zs-submenu,
    html[data-sidebar="icons"] .zs-sidebar__mobile-user,
    html[data-sidebar="icons"] .zs-sidebar__mobile-sub {
        display: none !important;
    }
  html[data-sidebar="icons"] .zs-sidebar__brand {
        height: var(--zs-topbar-h);
        min-height: var(--zs-topbar-h);
        padding: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }
  html[data-sidebar="icons"] .zs-brand {
        gap: 0;
        justify-content: center;
        width: 100%;
    }
  html[data-sidebar="icons"] .zs-brand__mark { width: 40px; height: 40px; background: transparent; border: none; }
  html[data-sidebar="icons"] .zs-brand__svg {
        width: 22px;
        height: 22px;
    }
  html[data-sidebar="icons"] .zs-sidebar__controls {
        display: none !important;
    }
  html[data-sidebar="icons"] .zs-sb-ctrl {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 11px;
    }
  html[data-sidebar="icons"] .zs-sidebar__nav {
        padding: 8px 0;
        overflow-x: hidden;
        overflow-y: auto;
    }
  html[data-sidebar="icons"] .zs-nav-group {
        margin-bottom: 6px;
    }
  html[data-sidebar="icons"] .zs-nav-group__list {
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
  html[data-sidebar="icons"] .zs-nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }
  html[data-sidebar="icons"] .zs-nav-link {
        width: 44px;
        height: 44px;
        min-height: 44px;
        max-width: 44px;
        padding: 0 !important;
        margin: 0 auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        gap: 0;
    }
  html[data-sidebar="icons"] .zs-nav-link::before,
    html[data-sidebar="icons"] .zs-nav-link::after {
        display: none !important;
    }
  html[data-sidebar="icons"] .zs-nav-link__icon {
        width: 20px;
        height: 20px;
        margin: 0;
        font-size: 16px;
        transform: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
  html[data-sidebar="icons"] .zs-nav-link:hover .zs-nav-link__icon {
        transform: none !important;
    }
  html[data-sidebar="icons"] .zs-nav-link--active {
        box-shadow: none;
    }
  html[data-sidebar="icons"] .zs-sidebar__footer {
        padding: 10px 0 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
  html[data-sidebar="icons"] .zs-footer-link {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        margin: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        gap: 0;
    }
  html[data-sidebar="icons"] .zs-footer-link__icon {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        margin: 0;
    }
  html[data-sidebar="icons"] .zs-nav-link {
        position: relative;
    }
  html[data-sidebar="icons"] .zs-nav-link:hover::after {
        content: attr(data-title);
        display: block !important;
        position: absolute;
        left: calc(100% + 12px);
        top: 50%;
        transform: translateY(-50%);
        background: var(--zs-surface-elevated);
        border: 1px solid var(--zs-border);
        color: var(--zs-text);
        font-size: 12px;
        font-weight: 600;
        padding: 7px 11px;
        border-radius: 8px;
        white-space: nowrap;
        z-index: 1300;
        box-shadow: 0 8px 24px rgba(0,0,0,.35);
        pointer-events: none;
        opacity: 1;
        inset: auto;
        left: calc(100% + 12px);
        background-image: none;
    }
  html[data-sidebar="hidden"] .zs-sidebar {
        width: 272px;
        transform: translateX(-100%);
        pointer-events: none;
    }
  html[data-sidebar="hidden"] .zs-topbar {
        left: 0 !important;
    }
}

.zs-topbar { transition: left 0.28s ease, right 0.28s ease; }

@media (max-width: 992px) {
  .zs-sb-ctrl { display: none; }
  .zs-sidebar-reopen { display: none !important; }
}

@media (max-width: 992px) {
  .zs-sidebar { transform: translateX(-100%); left:0; top:0; height:100vh; border-radius:0; }
  .zs-sidebar.show { transform: translateX(0); }
  .zs-topbar { left: 0; right:0; top:0; border-radius:0; padding: 0 18px; }
  .zs-menu-toggle { display: flex; }
  .zs-overlay.show { display: block; opacity: 1; }
  .zs-topbar__center { display: none; }
  .zs-btn-quick span { display: none; }
  .zs-btn-quick { padding: 9px 12px; }
  .zs-profile-btn__info { display: none; }
}

@media (max-width: 768px) {
  .zs-topbar { height: 60px; gap: 12px; }
  .zs-btn-quick {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: var(--zs-radius-sm);
    }
  .zs-btn-quick svg { margin: 0; }
  .zs-dropdown--notifications,
    .zs-dropdown--profile {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        width: auto;
    }
  .zs-sidebar__mobile-user { display: flex; }
  .zs-sidebar__mobile-sub { display: none !important; }
  .zs-sidebar__close { display: flex; }
  .zs-topbar__right { gap: 10px; }
  .zs-icon-btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .zs-btn-quick { display: none; }
  .zs-profile-btn { padding: 3px; border-radius: var(--zs-radius-sm); }
  .zs-profile-btn__img { width: 34px; height: 34px; }
  .zs-profile-btn__arrow { display: none; }
}

html[data-theme="light"] {
    --zs-bg: #f7f6f2;
    --zs-surface: #ffffff;
    --zs-surface-elevated: #ffffff;
    --zs-surface-hover: #f0eee8;
    --zs-border: rgba(20,20,20,0.08);
    --zs-border-hover: rgba(20,20,20,0.14);
    --zs-border-gold: rgba(235,190,55,0.28);
    --zs-gold: #EBBE37;
    --zs-gold-light: #c9a227;
    --zs-gold-dark: #C9A227;
    --zs-gold-glow: rgba(235,190,55,0.1);
    --zs-gold-text: #141414;
    --zs-text: #141414;
    --zs-text-secondary: #3f3f3a;
    --zs-text-muted: #5c5c58;
    --zs-text-dim: #8a8a84;
    --zs-success: #1f7a4d;
    --zs-danger: #c0392b;
    --zs-warning: #9a6b1f;
    --zs-danger-soft: rgba(192,57,43,0.08);
    --zs-success-glow: rgba(31,122,77,0.1);

    /* Page-level vars (releases, revenue, payments, billing, etc.) */
    --bg: #f7f6f2;
    --s: #ffffff;
    --s2: #f0eee8;
    --s3: #e8e4da;
    --b: rgba(20,20,20,0.08);
    --b2: rgba(20,20,20,0.12);
    --t: #141414;
    --m: #5c5c58;
    --y: #EBBE37;
    --g: #1f7a4d;
    --r: #c0392b;
    --o: #9a6b1f;
    --bl: #2563eb;
    --rad: 14px;

    /* artists.php legacy vars */
    --pure-black: #141414;
    --light-gray: #ffffff;
    --medium-gray: #f3f1ec;
    --lighter-gray: #e8e4da;
    --border-color: rgba(20,20,20,0.08);
    --text-white: #141414;
    --text-gray: #5c5c58;
    --primary-yellow: #EBBE37;
    --gradient-gold: linear-gradient(135deg, #c9a227, #EBBE37);
    --shadow-gold: 0 4px 16px rgba(235,190,55,0.15);
    --success-green: #1f7a4d;
    --error-red: #c0392b;
    --warning-orange: #9a6b1f;
    --locked-color: #8a8a84;

    /* dashboard/account/calendar/artists legacy vars (devamı) */
    --dark-black: #f7f6f2;
    --primary-gold: #c9a227;
    --info-blue: #2563eb;
    --purple: #8b5cf6;
    --hover-bg: rgba(235,190,55,0.05);
    --active-bg: rgba(235,190,55,0.1);
    --gradient-dark: linear-gradient(135deg, #fbfaf7 0%, #f0eee8 100%);
    --shadow-soft: 0 10px 40px rgba(20,20,20,0.12);
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* subscription.php / index.php şeması (--bg2/--text/--line...) */
    --bg2: #ffffff;
    --bg3: #f0eee8;
    --bg4: #e8e4da;
    --bg5: #ffffff;
    --line: rgba(20,20,20,0.075);
    --line2: rgba(20,20,20,0.13);
    --line3: rgba(20,20,20,0.04);
    --text: #141414;
    --muted: #5c5c58;
    --faint: #8a8a84;
    --dim: #9a9a94;
    --y2: #c9a227;
    --y3: #C9A227;
    --ydim: rgba(235,190,55,0.12);
    --ydim2: rgba(235,190,55,0.06);
    --green: #1f7a4d;
    --red: #c0392b;
    --orange: #9a6b1f;
    --blue: #2563eb;
    --radius: 14px;
    --radius-lg: 20px;
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(20,20,20,0.06);
    --shadow-md: 0 8px 30px rgba(20,20,20,0.1);
    --shadow-lg: 0 20px 60px rgba(20,20,20,0.16);
}

html[data-theme="light"] .zs-sidebar {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}

html[data-theme="light"] .zs-topbar {
    background: rgba(255,255,255,0.92);
    border-bottom-color: rgba(0,0,0,0.08);
    backdrop-filter: blur(12px);
}

html[data-theme="light"] .zs-overlay {
    background: rgba(0,0,0,0.35);
}

html[data-theme="light"] .zs-dropdown {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.zs-mode-switch {display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 14px 12px;margin:0 10px 6px;border-bottom:1px solid rgba(255,255,255,.06)}

.zs-mode-btn {flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 10px;border-radius:11px;border:1px solid transparent;background:transparent;color:var(--zs-text-muted,#9a9aa3);font-family:inherit;font-size:12.5px;font-weight:700;cursor:pointer;transition:.18s;position:relative}

.zs-beta-tag {position:absolute;top:-7px;right:6px;font-size:8.5px;font-weight:800;letter-spacing:.8px;padding:1.5px 6px;border-radius:7px;background:var(--zs-gold,#EBBE37);color:#131313;box-shadow:0 2px 8px rgba(235,190,55,.4)}

html[data-sidebar="icons"] .zs-beta-tag {display:none}

.zs-mode-btn:hover {color:var(--zs-gold,#EBBE37);border-color:rgba(235,190,55,.25)}

.zs-mode-btn--off {opacity:.5;cursor:not-allowed}

.zs-mode-btn--off:hover {color:var(--zs-text-muted,#9a9aa3);border-color:transparent;opacity:.68}

.zs-beta-tag--off {background:#f59e0b;color:#1a1206;box-shadow:0 2px 8px rgba(245,158,11,.45)}

html[data-theme="light"] .zs-mode-btn--off:hover {color:#8a8a84}

html[data-theme="light"] .zs-beta-tag--off {background:#d97706;color:#fff;box-shadow:0 2px 8px rgba(217,119,6,.35)}

html[data-panel-mode="distribution"] .zs-mode-btn[data-mode="distribution"] {background:rgba(235,190,55,.14);color:var(--zs-gold,#EBBE37);border-color:rgba(235,190,55,.35)}

html[data-sidebar="icons"] .zs-mode-btn span {display:none}

html[data-sidebar="icons"] .zs-mode-switch {grid-template-columns:1fr;gap:4px;padding:10px 8px 12px;margin:0 6px 6px}

html[data-sidebar="icons"] .zs-mode-btn {padding:10px 0;justify-content:center}

html[data-sidebar="icons"] .zs-mode-btn i {font-size:14px}

.zs-badge--gold {background:rgba(235,190,55,.2);color:#EBBE37}

html[data-theme="light"] .zs-mode-switch {border-bottom-color:#e8e4da}

html[data-theme="light"] .zs-mode-btn {color:#6b6b76}

.zs-topbar {backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:linear-gradient(180deg,rgba(15,15,22,.88),rgba(10,10,16,.82))!important;border-color:rgba(235,190,55,.1)!important}

html[data-theme="light"] .zs-topbar {background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(250,249,245,.85))!important;border-color:rgba(20,20,20,.07)!important}

.zs-nav-link {position:relative;transition:background var(--zs-transition-fast),color var(--zs-transition-fast),transform var(--zs-transition-fast)}

.zs-nav-link:hover {transform:translateX(2px)}

.zs-nav-link::before {content:'';position:absolute;left:0;top:20%;bottom:20%;width:2.5px;border-radius:3px;background:var(--zs-gold);opacity:0;transition:opacity var(--zs-transition-fast)}

.zs-nav-link:hover::before,.zs-nav-link--active::before {opacity:1}

/* ── 2026-10-18 (4): ikon-mod ipucu + alt menü flyout ─────────────────────────
   .zs-sidebar__nav{overflow-x:hidden} ::after ipucunu kırpıyordu → JS ile body'ye
   çizilen .zs-tip / .zs-fly kullanılır (includes/zs_shell.php). */
html[data-sidebar="icons"] .zs-nav-link:hover::after { content: none !important; display: none !important; }

.zs-tip {
    position: fixed;
    left: 0; top: 0;
    transform: translateY(-50%);
    z-index: 1400;
    background: var(--zs-surface-elevated, #16161f);
    border: 1px solid var(--zs-border, rgba(255,255,255,.1));
    color: var(--zs-text, #f2f2f5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 7px 11px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s ease;
}
.zs-tip.on { opacity: 1; }

.zs-fly {
    position: fixed;
    left: 0; top: 0;
    z-index: 1400;
    min-width: 200px;
    max-width: 300px;
    padding: 8px;
    border-radius: 12px;
    background: var(--zs-surface-elevated, #16161f);
    border: 1px solid var(--zs-border, rgba(255,255,255,.1));
    box-shadow: 0 14px 36px rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .12s ease;
}
.zs-fly.on, html[data-sidebar="icons"] .zs-fly.on { opacity: 1 !important; visibility: visible !important; }
html[data-sidebar="icons"] .zs-fly .zs-submenu, .zs-fly .zs-submenu { display: block !important; position: static !important; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; max-height: none !important; overflow: visible !important; opacity: 1 !important; }
.zs-fly .zs-submenu__link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 10px !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--zs-text-muted, #9b9ba6) !important;
    text-decoration: none;
}
.zs-fly .zs-submenu__link:hover { background: rgba(235,190,55,.1) !important; color: var(--zs-text, #f2f2f5) !important; }
.zs-fly .zs-submenu__link--active { background: rgba(235,190,55,.12) !important; color: var(--zs-gold, #EBBE37) !important; }
