          * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-primary: #ffffff;
            --bg-black: #000;
            --bg-secondary: #f8f9fa;
            --bg-d-secondary: #a1a2a3;
            --bg-card: #ffffff;
            --text-primary: #212529;
            --text-secondary: #6c757d;
            --accent: #0d6efd;
            --accent-hover: #055530;
            --border: #dee2e6;
            --darkborder: #666;
            --success: #198754;
            --warning: #ffc107;
            --error: #dc3545;
            --blue: #0d6efd;
            --purple: #6f42c1;
            --orange: #fd7e14;
            --black: #000;
            --grey: #666;
            --sweetgrey: #999;
            --darkgrey: #333;
            --max-width: 1200px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header */
        .header {
            background: var(--bg-black);
            border-bottom: 1px solid var(--border);
            padding: 0.75rem 10%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            color: var(--text-primary);
        }
        
        .logo a {
        text-decoration: none;
        }

        .logo-icon {
            font-size: 1.75rem;
        }

        .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: white;
        }

        .logo-badge {
            background: var(--success);
            color: white;
            font-size: 0.65rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        
        .logo-images {
            max-width: 40px;
        }

        .header-info {
            color: var(--sweetgrey);
            font-size: 0.85rem;
        }

        /* Main Container */
        .main-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 1.5rem 1rem;
            gap: 1.5rem;
            max-width: var(--max-width);
            margin: 0 auto;
            width: 100%;
        }

        /* Call for Collaborators Banner */
        .collaborators-banner {
            background: linear-gradient(135deg, #f3f3f3, #f8f9fa);
            border: 1px #d5d5d5;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .collaborators-banner h2 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .banner-subtitle {
            color: #674d00;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            padding: 0.5rem;
            background: rgba(255, 193, 7, 0.5);
            border-radius: 4px;
            border-left: 3px solid var(--warning);
        }

        /* Info Blocks */
        .info-blocks {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .info-section {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .info-section h2 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-section h3 {
            color: var(--black);
            margin: 1rem 0 0.5rem;
            font-size: 1rem;
        }

        .info-section h4 {
            color: var(--black);
            margin: 1rem 0 0.5rem;
            font-size: 0.95rem;
        }

        .info-section p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }

        .info-list {
            list-style: none;
            margin: 0.75rem 0;
            padding-left: 1rem;
        }

        .info-list li {
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            line-height: 1.5;
            position: relative;
            padding-left: 1.5rem;
        }

        .info-list li:before {
            content: "•";
            color: var(--black);
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        .collaborator-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
            margin: 1rem 0;
        }

        .collaborator-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .collaborator-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .collaborator-card h4 {
            color: var(--black);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .collaborator-card p {
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }

        .role-tag {
            display: inline-block;
            background: rgba(36, 36, 37, 0.1);
            color: var(--darkgrey);
            font-size: 0.75rem;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            border: 1px solid rgba(77, 77, 77, 0.2);
        }

        .template-section {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1rem;
            margin: 1rem 0;
        }

        .template-section pre {
            background: var(--bg-primary);
            padding: 1rem;
            border-radius: 6px;
            overflow-x: auto;
            font-size: 0.8rem;
            line-height: 1.5;
            color: var(--text-secondary);
            margin: 0.5rem 0;
            border: 1px solid var(--border);
            font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
        }

        .status-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .badge {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            padding: 0.4rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .badge.supported {
            border-color: var(--success);
            color: var(--success);
            background: rgba(25, 135, 84, 0.1);
        }

        .badge.limited {
            border-color: var(--warning);
            color: var(--warning);
            background: rgba(255, 193, 7, 0.1);
        }

        .badge.not-supported {
            border-color: var(--error);
            color: var(--error);
            background: rgba(220, 53, 69, 0.1);
        }

        /* Request Form */
        .request-form {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .request-form h2 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .form-group select,
        .form-group input,
        .form-group textarea {
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid var(--border);
            padding: 0.6rem 0.75rem;
            border-radius: 6px;
            font-size: 0.9rem;
            font-family: inherit;
            transition: border-color 0.2s;
        }

        .form-group select:focus,
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 80px;
        }

        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        /* Architecture Diagram Placeholder */
        .architecture {
            background: var(--bg-secondary);
            border: 2px dashed var(--border);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            margin: 2rem 0;
        }

        .architecture h3 {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        /* FAQ Section */
        .faq-section {
            margin-top: 2rem;
        }

        .faq-item {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 1.25rem;
            margin-bottom: 1rem;
            transition: all 0.2s;
        }

        .faq-item:hover {
            background: var(--bg-card);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }

        .faq-item h4 {
            color: var(--black);
            margin-bottom: 0.75rem;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .faq-item p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Toolbar */
        .toolbar {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-wrap: wrap;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.25rem;
            border: none;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .btn-primary {
            background: var(--success);
            color: white;
        }

        .btn-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
        }

        .btn-primary:disabled {
            background: var(--border);
            color: var(--text-secondary);
            cursor: not-allowed;
            transform: none;
        }

        .btn-secondary {
            background: var(--bg-secondary);
            color: var(--text-primary);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: var(--border);
            transform: translateY(-1px);
        }

        .btn-collaborate {
            background: var(--orange);
            color: white;
        }

        .btn-collaborate:hover {
            background: #e56a00;
            transform: translateY(-1px);
        }

        select {
            background: var(--bg-primary);
            color: var(--text-primary);
            border: 1px solid var(--border);
            padding: 0.6rem 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            cursor: pointer;
            min-width: 180px;
            transition: border-color 0.2s;
        }

        select:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
        }

        .status {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--success);
        }

        /* Editor Container */
        .editor-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            height: 700px;
        }

        @media (max-width: 1024px) {
            .editor-container {
                grid-template-columns: 1fr;
                grid-template-rows: 1fr 1fr;
                height: 800px;
            }
        }

        /* Panels */
        .panel {
            background: var(--bg-primary);
            border: 1px solid var(--border);
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .panel-header {
            background: var(--bg-secondary);
            padding: 0.6rem 1rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 7%;
        }

        .panel-title {
            font-weight: 600;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .panel-content {
            flex: 1;
            overflow: hidden;
            position: relative;
        }

        /* Monaco Editor */
        #editor {
            width: 100%;
            height: 100%;
        }

        /* Output */
        .output {
            font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
            font-size: 0.8rem;
            line-height: 1.7;
            padding: 1rem;
            overflow: auto;
            height: 100%;
            white-space: pre-wrap;
            word-break: break-word;
            background: var(--bg-primary);
            color: var(--text-primary);
        }

        .output:empty::before {
            content: '👈 Enter code and click "Compile"';
            color: var(--text-secondary);
        }

        /* Output syntax highlighting */
        .output .stage { color: var(--blue); font-weight: 600; }
        .output .success { color: var(--success); }
        .output .warning { color: var(--warning); }
        .output .error { color: var(--error); }
        .output .info { color: var(--text-secondary); }
        .output .purple { color: var(--purple); }

        /* Stats Bar */
        .stats-bar {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            padding: 0.5rem 1rem;
            display: flex;
            gap: 1.5rem;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .stat {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .stat-value {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Footer */
        .footer {
           background: #1f2937;
           color: white;
           padding: 3rem 0 1rem;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h4 {
            margin-bottom: 1rem;
            color: #fbbf24;
        }
        
        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
             color: #d1d5db;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
             color: #fbbf24;
        }

         .footer-bottom {
             border-top: 1px solid #374151;
            padding-top: 1rem;
            text-align: center;
            color: #9ca3af;
        }

        /* Tabs */
        .tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--darkborder);
            padding-bottom: 0.5rem;
        }

        .tab {
            padding: 0.5rem 1rem;
            background: transparent;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 0.9rem;
            border-radius: 4px 4px 0 0;
            transition: all 0.2s;
        }

        .tab:hover {
            background: var(--bg-d-secondary);
            color: var(--text-primary);
        }

        .tab.active {
            background: var(--bg-black);
            color: white;
            border-bottom: 2px solid var(--darkgrey);
        }
        
        .badge {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            padding: 0.4rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .badge.verified {
            border-color: var(--success);
            color: var(--success);
            background: rgba(25, 135, 84, 0.1);
        }

        .badge.experimental {
            border-color: var(--warning);
            color: var(--warning);
            background: rgba(255, 193, 7, 0.1);
        }

        .badge.security {
            border-color: var(--purple);
            color: var(--purple);
            background: rgba(111, 66, 193, 0.1);
        }
        
        /* Нумерованные маркеры */
.numbered-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #666;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 1px;
    margin-right: 5px;
    flex-shrink: 0;
    border: 1px solid #000;
}

/* Вариант для использования в списках */
.numbered-list {
    list-style: none;
    padding-left: 0;
}

.numbered-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-left: 0;
}

/* Альтернативный вариант - более крупные маркеры */
.numbered-marker.large {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 6px;
}

/* Цветовые варианты */
.numbered-marker.accent {
    background-color: #0d6efd; /* Синий акцентный */
}

.numbered-marker.success {
    background-color: #198754; /* Зеленый успех */
}

.numbered-marker.warning {
    background-color: #ffc107; /* Желтый предупреждение */
    color: #212529; /* Темный текст для контраста */
}

.numbered-marker.error {
    background-color: #dc3545; /* Красный ошибка */
}

