
        /* CSS Reset и базовые настройки */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #2563eb;
            --primary-hover: #1d4ed8;
            --secondary-color: #64748b;
            --bg-color: #f8fafc;
            --card-bg: #ffffff;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --border-color: #e2e8f0;
            --border-radius: 12px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
            --gap-sm: 1rem;
            --gap-md: 1.5rem;
            --gap-lg: 2rem;
        }

        html {
            height: 100%;
            -webkit-text-size-adjust: 100%;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 16px;
            line-height: 1.5;
            color: var(--text-primary);
            background-color: var(--bg-color);
            min-height: 100vh;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            width: 100%;
        }
        #box {
            display: flex;
            min-height: 100vh;
            width: 100%;
            padding: 1rem;
            gap: var(--gap-md);
        }

        /* Левая колонка - Инструменты */
        #left {
            flex: 0 0 220px;
            min-width: 350px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: var(--gap-md);
            display: flex;
            flex-direction: column;
            gap: var(--gap-md);
        }

        .tools-section {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .tools-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tools-title i {
            color: var(--primary-color);
            font-size: 1.1rem;
        }

        .tools-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .tool-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 12px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            width: 100%;

        }

        .tool-item:hover {
            background: white;
            border-color: var(--primary-color);
            transform: translateY(-1px);
            box-shadow: var(--shadow-sm);
        }

        .tool-item.active {
            background: white;
            border-color: var(--primary-color);
        }
        .tool-item.inactive {
            background: white;
            border-color: var(--primary-color);
            opacity:.2;
        } 
        .tool-icon {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 18px;
        }

        .tool-info {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .tool-name {
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--text-primary);
        }

        .tool-desc {
            font-size: 0.7rem;
            color: var(--text-secondary);
        }

        .tool-divider {
            height: 1px;
            background: var(--border-color);
            margin: 8px 0;
        }

        /* Правая колонка - Участники проекта */
        #right {
            flex: 0 0 280px;
            min-width: 250px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: var(--gap-md);
            display: flex;
            flex-direction: column;
            gap: var(--gap-md);
        }

        .right-header {
            display: flex;
            flex-direction: column;
            gap: var(--gap-sm);
        }

        .join-button {
            width: 100%;
            cursor: pointer;
            background: black;
            color: white;
            font: 14px 'Ubuntu';
            padding: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .join-button:hover {
            background: #333;
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-color);
            margin-top: 0;
        }

        /* Центральная колонка - Рабочая область */
        #center {
            flex: 1;
            min-width: 300px;
            background: white;
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: var(--gap-md);
            display: flex;
            flex-direction: column;
        }

        .input-group {
            display: flex;
            gap: var(--gap-sm);
            margin-bottom: var(--gap-lg);
            align-items: flex-start;
        }

        #repo {
            flex: 1;
            padding: 12px 16px;
            font: 14px 'Ubuntu';
            border: 1px solid var(--border-color);
            border-radius: 8px;
            outline: none;
            transition: all 0.3s ease;
            margin-top: 2vh;
            width: 100%;
        }

        #repo:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .start-button {
            padding: 12px 24px;
            font: 14px 'Ubuntu';
            font-weight: 500;
            background: #e2e8f0;
            color: #94a3b8;
            border: none;
            border-radius: 8px;
            cursor: not-allowed;
            transition: all 0.3s ease;
            white-space: nowrap;
            user-select: none;
            margin-top: 2vh;
        }

        .start-button.active {
            background: var(--primary-color);
            color: white;
            cursor: pointer;
        }

        .start-button.active:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .url-validation {
            font-size: 12px;
            color: #64748b;
            margin-bottom: 2vh;
            display: flex;
            align-items: center;
            gap: 4px;
            min-height: 20px;
        }

        .url-validation.valid {
            color: #10b981;
        }

        .url-validation.invalid {
            color: #ef4444;
        }

        .url-icon {
            font-size: 14px;
        }

        /* Карточный дизайн для таблицы задач */
        .card-table {
            flex: 1;
            overflow-y: auto;
        }

        .card-section {
            margin-bottom: var(--gap-lg);
        }

        .card-section .section-title {
            font-size: 1.1rem;
            color: var(--text-primary);
            margin-bottom: var(--gap-sm);
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .card {
            background: white;
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 0.75rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: all 0.2s ease;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .task-id {
            background: #4a5568;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            min-width: 30px;
            text-align: center;
        }

        .task-status {
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 500;
            text-align: center;
        }

        .task-status.pending {
            background: #fed7d7;
            color: #c53030;
        }

        .task-status.in-progress {
            background: #feebc8;
            color: #c05621;
        }

        .task-status.completed {
            background: #c6f6d5;
            color: #22543d;
        }

        .card-body h4 {
            margin: 0 0 8px 0;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-primary);
        }

        .progress-container {
            height: 6px;
            background: #edf2f7;
            border-radius: 3px;
            overflow: hidden;
            margin-top: 8px;
        }

        .progress {
            height: 100%;
            background: linear-gradient(90deg, #4299e1, #667eea);
            border-radius: 3px;
            transition: width 0.3s ease;
        }

        /* Список участников */
        .participant-list {
            flex: 1;
            overflow-y: auto;
        }

        .participant-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: white;
            border-radius: var(--border-radius);
            border: 1px solid var(--border-color);
            margin-bottom: 0.5rem;
            transition: all 0.2s ease;
        }

        .participant-item:hover {
            background: #f8fafc;
            border-color: var(--primary-color);
        }

        .participant-avatar {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }

        .participant-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .participant-info {
            flex: 1;
            min-width: 0;
        }

        .participant-name {
            font-weight: 500;
            font-size: 0.650rem;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .participant-role {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            :root {
                --gap-sm: 0.75rem;
                --gap-md: 1rem;
                --gap-lg: 1.5rem;
            }

            #box {
                flex-wrap: wrap;
                gap: var(--gap-sm);
            }

            #left, #center, #right {
                flex: 1 1 calc(50% - var(--gap-sm));
                min-width: 280px;
            }
        }

        @media (max-width: 768px) {
            body {
                font-size: 14px;
            }

            #box {
                flex-direction: column;
                padding: 0.5rem;
                gap: 0.75rem;
            }

            #left, #center, #right {
                flex: 1 1 100%;
                min-width: 100%;
                width: 100%;
            }

            .input-group {
                flex-direction: column;
            }

            .start-button {
                width: 100%;
                padding: 14px;
            }

            .tools-grid {
                flex-direction: row;
                flex-wrap: wrap;
            }

            .tool-item {
                flex: 1 1 calc(50% - 6px);
            }
        }

        @media (max-width: 480px) {
            .tool-item {
                flex: 1 1 100%;
            }
        }

        /* Поддержка тёмной темы */
        @media (prefers-color-scheme: dark) {
            :root {
                --primary-color: #3b82f6;
                --primary-hover: #2563eb;
                --secondary-color: #94a3b8;
                --bg-color: #0f172a;
                --card-bg: #1e293b;
                --text-primary: #f1f5f9;
                --text-secondary: #cbd5e1;
                --border-color: #334155;
            }

            #left, #center, #right, .card, .tool-item {
                background: var(--card-bg);
                border-color: var(--border-color);
            }

            .tool-item:hover {
                background: #2d3748;
            }

            .tool-item.active {
                background: #1e3a8a;
            }

            #repo {
                background: #2d3748;
                color: white;
                border-color: var(--border-color);
            }

            .start-button:not(.active) {
                background: #374151;
                color: #9ca3af;
            }

            .participant-item {
                background: var(--card-bg);
            }

            .participant-item:hover {
                background: #2d3748;
            }

            .join-button {
                background: #4a5568;
            }

            .join-button:hover {
                background: #5a6578;
            }
        }

        /* Улучшения производительности скролла */
        .card-table,
        .participant-list {
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: var(--secondary-color) transparent;
        }

        .card-table::-webkit-scrollbar,
        .participant-list::-webkit-scrollbar {
            width: 6px;
        }

        .card-table::-webkit-scrollbar-track,
        .participant-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .card-table::-webkit-scrollbar-thumb,
        .participant-list::-webkit-scrollbar-thumb {
            background-color: var(--secondary-color);
            border-radius: 3px;
        }

        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

                /* Черная иконка для особых случаев */
        .black-icon {
            color: #0f172a !important;
            background: white;
        }
        .black-icon.active {
            background: #eff6ff;
        }