.websocket-panel {
            background: #f8fafc;
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 1.5rem;
            border: 1px solid #e2e8f0;
        }
        .log-area {
            background: #0f172a;
            color: #e2e8f0;
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            font-size: 0.85rem;
            padding: 1rem;
            border-radius: 8px;
            height: 300px;
            overflow-y: auto;
            white-space: pre-wrap;
            word-break: break-all;
        }
        .log-entry {
            margin-bottom: 0.5rem;
            border-left: 3px solid;
            padding-left: 0.75rem;
        }
        .log-info { border-left-color: #3b82f6; color: #b9c7d9; }
        .log-success { border-left-color: #10b981; color: #a7f3d0; }
        .log-error { border-left-color: #ef4444; color: #fecaca; }
        .log-sent { border-left-color: #f59e0b; color: #fed7aa; }
        .log-received { border-left-color: #8b5cf6; color: #c4b5fd; }
        .log-binary { border-left-color: #06b6d4; color: #a5f3fc; }
        .connection-badge {
            font-size: 0.9rem;
            padding: 0.35rem 0.75rem;
            border-radius: 40px;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
        }
        .status-connected { background-color: #10b981; box-shadow: 0 0 5px #10b981; }
        .status-disconnected { background-color: #94a3b8; }
        .status-connecting { background-color: #f59e0b; animation: pulse 1.2s infinite; }
        @keyframes pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
        .message-actions {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .preset-btn {
            background: #f1f5f9;
            border: 1px solid #cbd5e1;
            font-size: 0.75rem;
            padding: 0.25rem 0.7rem;
            border-radius: 20px;
            transition: all 0.2s;
            position: relative;
        }
        .preset-btn:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
        }
        .preset-btn[data-auto-send="false"]::after {
            content: "📋";
            font-size: 0.7rem;
            margin-left: 4px;
            opacity: 0.7;
        }
        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 0.75rem 1rem;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            border: 1px solid #eef2f6;
            text-align: center;
        }
        .stat-number {
            font-size: 1.6rem;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.2;
        }
        .url-validation-feedback {
            font-size: 0.8rem;
            margin-top: 4px;
        }
        .binary-toggle {
            cursor: pointer;
            font-size: 0.7rem;
            background: #334155;
            padding: 2px 6px;
            border-radius: 12px;
            color: #cbd5e6;
        }
        .protocol-deepdive {
            background: #fef9e6;
            border-left: 5px solid #f59e0b;
            padding: 1.2rem;
            margin: 1.5rem 0;
            border-radius: 0 12px 12px 0;
        }
        .code-block {
            background: #1e293b;
            padding: 1rem;
            border-radius: 8px;
            font-family: monospace;
            color: #cbd5e6;
            overflow-x: auto;
        }
        .faq-section .accordion-button:not(.collapsed) {
            background-color: rgba(59,130,246,0.1);
            color: #1e40af;
        }
        .reference-link {
            font-size: 0.9rem;
        }
        .preset-tooltip {
            font-size: 0.7rem;
            color: #6c757d;
            margin-top: 4px;
        }