 /* ===== GLOBALS & RESET ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
        }

        body {
            background: var(--bg-deep);
            color: var(--text-primary);
            font-family: 'Poppins', sans-serif;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* ===== CSS VARIABLES ===== */
        :root {
            --bg-deep: #060609;
            --bg-panel: #0D0D14;
            --bg-side: #0A0A10;
            --bg-element: #08080C;
            --border-subtle: #1C1C26;
            --text-primary: #FFFFFF;
            --text-muted: #7B7FA3;
            --accent: #CE1E1E;
            --accent-glow: rgba(206,30,30,0.6);
            --gold: #E8B830;
            --green: #2ECC71;
            --blue: #5B7FFF;
            --purple: #9B59B6;
            --orange: #F39C12;
            --cyan: #00D4AA;
            --radius: 18px;
        }

        /* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-element); }
        ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

        /* ===== PRELOADER ===== */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #060609;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
        }

        #preloader.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .loader-content {
            text-align: center;
        }

        .loader-ring {
            width: 60px;
            height: 60px;
            margin: 0 auto 30px;
            position: relative;
        }

        .loader-ring::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 3px solid transparent;
            border-top: 3px solid #CE1E1E;
            border-right: 3px solid #CE1E1E;
            border-radius: 50%;
            animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
        }

        .loader-ring::after {
            content: '';
            position: absolute;
            top: 8px;
            left: 8px;
            width: calc(100% - 16px);
            height: calc(100% - 16px);
            border: 2px solid transparent;
            border-bottom: 2px solid rgba(206, 30, 30, 0.4);
            border-left: 2px solid rgba(206, 30, 30, 0.4);
            border-radius: 50%;
            animation: spin 1.8s linear infinite reverse;
        }

        .loader-logo-text {
            font-size: 28px;
            font-weight: 800;
            letter-spacing: 6px;
            color: #fff;
            animation: textPulse 2s ease-in-out infinite;
        }

        /* ===== CANVAS & FIREFLY ===== */
        #trail-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9998;
        }

        #firefly {
            position: fixed;
            width: 1px;
            height: 1px;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #dc143c, #4a0f0f);
            box-shadow: 0 0 20px 8px rgba(180, 30, 30, 0.8), 0 0 40px 15px rgba(80, 80, 80, 0.5), 0 0 60px 25px rgba(60, 20, 20, 0.3);
            pointer-events: none;
            transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
            z-index: 9999;
            animation: flicker 0.12s infinite alternate;
        }

        #firefly.on-link {
            width: 1px;
            height: 1px;
            background: radial-gradient(circle at 30% 30%, #ff4444, #8b0000);
            box-shadow: 0 0 30px 15px rgba(200, 30, 30, 0.9), 0 0 60px 25px rgba(100, 100, 100, 0.6), 0 0 80px 35px rgba(60, 15, 15, 0.5);
            animation: flicker-intense 0.1s infinite alternate;
        }

        #particles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            will-change: transform;
        }

        /* ===== ANIMATIONS ===== */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes textPulse {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 1; }
        }

        @keyframes flicker {
            0% { opacity: 0.85; transform: translate(-50%, -50%) scale(0.95); }
            50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.05); }
            100% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
        }

        @keyframes flicker-intense {
            0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.9); }
            100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes shimmer {
            0% { background-position: 0% center; }
            100% { background-position: 200% center; }
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.95) translateY(20px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeSlide {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ===== HEADER ===== */
        .header {
            width: 100%;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--bg-side);
            border-bottom: 1px solid var(--border-subtle);
            animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            animation-delay: 0.1s;
        }

        .header__inner {
            width: 100%;
            max-width: 1400px;
            height: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 60px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .logo h2 {
            font-size: 26px;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: var(--text-primary);
        }

        .nav_catalog {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .nav_categories {
            color: var(--text-muted);
            cursor: pointer;
            font-weight: 700;
            font-size: 16px;
            position: relative;
            padding-bottom: 5px;
            transition: color 0.3s ease;
            text-decoration: none;
        }

        .nav_categories::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .nav_categories:hover {
            color: var(--text-primary);
        }

        .nav_categories:hover::after {
            width: 100%;
        }

        /* ===== LANGUAGE ===== */
        .lang-trigger-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #08080C;
            border: 1px solid #1C1C26;
            border-radius: 8px;
            padding: 6px 10px;
            cursor: pointer;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            margin-left: 15px;
            transition: all 0.3s;
        }

        .lang-trigger-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .lang-trigger-btn img {
            width: 22px;
            height: 16px;
            border-radius: 2px;
            object-fit: cover;
        }

        .lang-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            padding: 10px 0;
        }

        .lang-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 10px;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: all 0.2s;
            color: #7B7FA3;
            font-size: 14px;
            font-weight: 600;
        }

        .lang-option:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.15);
        }

        .lang-option.active {
            background: rgba(206, 30, 30, 0.15);
            color: #fff;
            border-color: rgba(206, 30, 30, 0.3);
        }

        .lang-option img {
            width: 24px;
            height: 18px;
            border-radius: 2px;
            object-fit: cover;
        }

        .lang-option .check-icon {
            margin-left: auto;
            color: #CE1E1E;
            opacity: 0;
            font-size: 14px;
        }

        .lang-option.active .check-icon {
            opacity: 1;
        }

        /* INTRO */
        .intro { padding: 60px 0; position: relative; z-index: 0; }
        .intro__inner { text-align: center; }
        .intro__inner h1 {
            animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            animation-delay: 0.3s;
            font-size: 48px;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-element); }
        ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

        .admin-shell {
            display: flex;
            min-height: 100vh;
        }

        /* ===== САЙДБАР ===== */
        .nav-panel {
            width: 280px;
            background: var(--bg-side);
            border-right: 1px solid var(--border-subtle);
            padding: 28px 16px;
            display: flex;
            flex-direction: column;
            position: sticky;
            top: 0;
            height: 100vh;
            z-index: 10;
            flex-shrink: 0;
        }

        .brand-block {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 0 8px 28px 8px;
            border-bottom: 1px solid var(--border-subtle);
            margin-bottom: 24px;
        }

        .brand-icon-img {
            width: 40px;
            height: 40px;
        }

        .brand-text {
            font-size: 26px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .brand-sub {
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        .menu-list {
            list-style: none;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }

        .menu-link {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 18px;
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 500;
            border-radius: 12px;
            font-size: 14px;
            transition: all 0.25s;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
        }

        .menu-link i {
            font-size: 18px;
            width: 22px;
            text-align: center;
        }

        .menu-link:hover {
            background: rgba(206, 30, 30, 0.08);
            color: var(--text-primary);
        }

        .menu-entry.active .menu-link {
            background: rgba(206, 30, 30, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--accent);
        }

        .menu-entry.active .menu-link i {
            color: var(--accent);
        }

        .nav-footer {
            margin-top: auto;
            padding-top: 20px;
            border-top: 1px solid var(--border-subtle);
        }

        .admin-profile {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px;
            border-radius: 14px;
        }

        .admin-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), #ff4444);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 18px;
        }

        .admin-info .admin-name {
            font-weight: 700;
            font-size: 14px;
        }

        .admin-info .admin-role {
            font-size: 11px;
            color: var(--text-muted);
        }

        /* ===== РАБОЧАЯ ОБЛАСТЬ ===== */
        .workspace {
            flex: 1;
            padding: 40px 48px;
            overflow-y: auto;
            max-height: 100vh;
        }

        .view-panel {
            display: none;
            animation: fadeSlide 0.4s ease;
        }

        .view-panel.visible {
            display: block;
        }

        .section-head {
            margin-bottom: 40px;
        }

        .section-title {
            font-size: 32px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .title-dot {
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
            box-shadow: 0 0 20px var(--accent);
        }

        .section-subtitle {
            font-size: 16px;
            color: var(--text-muted);
            margin-top: 12px;
            font-weight: 500;
        }

        /* ===== КАРТОЧКИ ШАГОВ ===== */
        .steps-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .step-card {
            background: var(--bg-element);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius);
            padding: 28px;
            transition: all 0.3s;
        }

        .step-card:hover {
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .step-card-header {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 24px;
        }

        .step-icon-circle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            flex-shrink: 0;
        }

        .step-icon-circle.red {
            background: linear-gradient(135deg, var(--accent), #ff4d4d);
            box-shadow: 0 8px 24px rgba(206, 30, 30, 0.3);
        }

        .step-icon-circle.blue {
            background: linear-gradient(135deg, var(--blue), #7b9bff);
            box-shadow: 0 8px 24px rgba(91, 127, 255, 0.3);
        }

        .step-icon-circle.green {
            background: linear-gradient(135deg, var(--green), #5edb8d);
            box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
        }

        .step-icon-circle.purple {
            background: linear-gradient(135deg, var(--purple), #b87bc7);
            box-shadow: 0 8px 24px rgba(155, 89, 182, 0.3);
        }

        .step-icon-circle.orange {
            background: linear-gradient(135deg, var(--orange), #f5b041);
            box-shadow: 0 8px 24px rgba(243, 156, 18, 0.3);
        }

        .step-icon-circle.cyan {
            background: linear-gradient(135deg, var(--cyan), #5eead4);
            box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
        }

        .step-card-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .step-card-subtitle {
            font-size: 14px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .step-content {
            padding-left: 76px;
        }

        .info-blocks {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }

        .info-block {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-subtle);
            border-radius: 12px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all 0.2s;
        }

        .info-block:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .info-block-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .info-block-icon.warn {
            background: rgba(243, 156, 18, 0.15);
            color: var(--orange);
        }

        .info-block-icon.info {
            background: rgba(91, 127, 255, 0.15);
            color: var(--blue);
        }

        .info-block-icon.success {
            background: rgba(46, 204, 113, 0.15);
            color: var(--green);
        }

        .info-block-icon.accent {
            background: rgba(206, 30, 30, 0.15);
            color: var(--accent);
        }

        .info-block-text {
            font-size: 14px;
            color: #a1a7c2;
            font-weight: 500;
            line-height: 1.5;
            display: flex;
            align-items: center;
        }

        .info-block-text strong {
            color: #fff;
        }

        /* ===== ОСОБЫЕ БЛОКИ ===== */
        .subsection-title {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin: 24px 0 16px 0;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-left: 0;
        }

        .subsection-title i {
            color: var(--accent);
            font-size: 20px;
        }

        .indicator-row {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            margin: 12px 0;
        }

        .indicator-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-subtle);
            border-radius: 10px;
            padding: 12px 18px;
            font-size: 14px;
            color: #a1a7c2;
            font-weight: 500;
        }

        .indicator-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .indicator-dot.on {
            background: var(--green);
            box-shadow: 0 0 12px rgba(46, 204, 113, 0.6);
        }

        .indicator-dot.off {
            background: #444;
            border: 2px solid #555;
        }

        .indicator-dot.red {
            background: var(--accent);
            box-shadow: 0 0 12px rgba(206, 30, 30, 0.6);
        }

        .indicator-dot.green-status {
            background: var(--green);
            box-shadow: 0 0 12px rgba(46, 204, 113, 0.6);
        }

        .settings-grid-modern {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-subtle);
            border-radius: 16px;
            padding: 20px 24px;
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 12px 24px;
            margin: 20px 0;
        }

        .settings-key {
            color: var(--text-muted);
            font-weight: 600;
            font-size: 14px;
        }

        .settings-val {
            color: white;
            font-weight: 700;
            font-size: 14px;
            font-family: 'JetBrains Mono', monospace;
        }

        .action-area {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        .btn-accent {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #CE1E1E, #ff4444);
            padding: 14px 28px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 15px;
            border: none;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 5px 20px rgba(206, 30, 30, 0.4);
            text-decoration: none;
        }

        .btn-accent:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(206, 30, 30, 0.6);
        }

        /* Активная кнопка */
        .btn-accent.active {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            box-shadow: 0 5px 20px rgba(46, 204, 113, 0.4);
            animation: pulse-green 2s infinite;
        }

        .btn-accent.active:hover {
            box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
        }

        @keyframes pulse-green {
            0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
            100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: transparent;
            border: 1px solid var(--border-subtle);
            padding: 14px 28px;
            border-radius: 14px;
            color: var(--text-muted);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
        }

        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(206, 30, 30, 0.05);
        }

        .btn-download {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #2ECC71, #27ae60);
            padding: 16px 32px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 16px;
            border: none;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 5px 20px rgba(46, 204, 113, 0.4);
            text-decoration: none;
        }

        .btn-download:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(46, 204, 113, 0.6);
        }

        .btn-label {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* ===== КНОПКА ПОКАЗАТЬ ФОТО ===== */
        .btn-show-image {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(91, 127, 255, 0.1);
            border: 1px solid rgba(91, 127, 255, 0.3);
            color: var(--blue);
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            flex-shrink: 0;
            font-family: 'Segoe UI', 'Inter', system-ui, sans-serif;
        }

        .btn-show-image:hover {
            background: rgba(91, 127, 255, 0.2);
            border-color: rgba(91, 127, 255, 0.5);
            transform: scale(1.02);
        }

        .btn-show-image i {
            font-size: 14px;
        }

        /* ===== КЛИКАБЕЛЬНЫЕ СТРОКИ ===== */
        .info-block.clickable {
            cursor: pointer;
            position: relative;
            padding-right: 50px;
        }

        .info-block.clickable:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .toggle-arrow {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .info-block.clickable.open .toggle-arrow {
            transform: translateY(-50%) rotate(180deg);
            color: var(--accent);
        }

        /* ===== ПРЕВЬЮ ИЗОБРАЖЕНИЯ ===== */
        .image-preview {
            margin: 12px 0;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            animation: fadeSlide 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.2);
        }
        .image-preview-img {
            max-width: 900px;
            width: 100%;
            height: auto;
            display: block;
            border-radius: 5px;
            margin: 0 auto;
        }

        .image-preview-img-2-3 {
            max-width: 600px;
            width: 100%;
            height: auto;
            display: block;
            border-radius: 5px;
            margin: 0 auto;
        }

        .video-placeholder-modern {
            background: rgba(0, 0, 0, 0.4);
            border: 1px dashed var(--border-subtle);
            border-radius: 14px;
            aspect-ratio: 16/9;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            width: 100%;
        }

        .play-icon-modern {
            width: 56px;
            height: 56px;
            background: rgba(206, 30, 30, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 24px;
        }

        /* ===== ВЫПАДАЮЩЕЕ МЕНЮ ФУНКЦИОНАЛА ===== */
        .menu-entry.has-submenu {
            position: relative;
        }

        .submenu-toggle {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 18px;
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 500;
            border-radius: 12px;
            font-size: 14px;
            transition: all 0.25s;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            font-family: 'Poppins', sans-serif;
        }

        .submenu-toggle i {
            font-size: 18px;
            width: 22px;
            text-align: center;
        }

        .submenu-toggle .submenu-arrow {
            margin-left: auto;
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .menu-entry.has-submenu.open .submenu-toggle .submenu-arrow {
            transform: rotate(180deg);
        }

        .menu-entry.has-submenu.open .submenu-toggle {
            background: rgba(206, 30, 30, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--accent);
        }

        .menu-entry.has-submenu.open .submenu-toggle i {
            color: var(--accent);
        }

        .submenu {
            list-style: none;
            padding: 4px 0;
            margin: 0 0 0 18px;
            border-left: 1px solid var(--border-subtle);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, opacity 0.3s ease;
            opacity: 0;
        }

        /* ===== ИКОНКА В ТЕКСТЕ (СИНИЙ КРУЖОК С ПИСЬМОМ) ===== */
        .inline-icon-circle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #5f8fdc;
            color: #ffffff;
            font-size: 14px;
            vertical-align: middle;
            margin: 0 4px;
            border: 1px solid rgba(95, 143, 220, 0.5);
        }

        /* ===== ПЕРЕКЛЮЧАТЕЛЬ (TOGGLE SWITCH) ===== */
        .toggle-switch {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--border-subtle);
            border-radius: 10px;
            padding: 12px 18px;
            font-size: 14px;
            color: #a1a7c2;
            font-weight: 500;
        }

        .toggle-oval {
            width: 44px;
            height: 24px;
            border-radius: 12px;
            position: relative;
            cursor: pointer;
            flex-shrink: 0;
            transition: background 0.3s ease;
        }

        .toggle-oval.on {
            background: #351717;
        }

        .toggle-oval.off {
            background: #17181b;
        }

        .toggle-circle {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            position: absolute;
            top: 3px;
            transition: left 0.3s ease, background 0.3s ease;
        }

        .toggle-oval.on .toggle-circle {
            left: 23px;
            background: #ef3b3b;
            box-shadow: 0 0 8px rgba(239, 59, 59, 0.4);
        }

        .toggle-oval.off .toggle-circle {
            left: 3px;
            background: #666666;
        }

        .menu-entry.has-submenu.open .submenu {
            max-height: 800px;
            opacity: 1;
        }

        .submenu .menu-link {
            padding: 10px 18px;
            font-size: 13px;
            border-radius: 8px;
        }

        .submenu .menu-link i {
            font-size: 14px;
            width: 20px;
        }

        .submenu .menu-entry.active .menu-link {
            background: rgba(206, 30, 30, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--accent);
        }

        .submenu .menu-entry.active .menu-link i {
            color: var(--accent);
        }

        @media (max-width: 768px) {
            .admin-shell {
                flex-direction: column;
            }
            
            .nav-panel {
                width: 100%;
                height: auto;
                position: relative;
                padding: 16px;
                border-right: none;
                border-bottom: 1px solid var(--border-subtle);
            }
            
            .workspace {
                padding: 24px 16px;
            }
            
            .step-content {
                padding-left: 0;
            }
            
            .step-card {
                padding: 20px;
            }
        }
