        .provider-protocol-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 10px;
        }

        .provider-protocol-grid select,
        .model-candidate-search {
            width: 100%;
            padding: 7px 10px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 13px;
            outline: none;
            background: var(--bg-surface);
            color: var(--text-main);
        }

        .provider-protocol-grid select:focus,
        .model-candidate-search:focus {
            border-color: var(--black-btn);
        }

        .provider-protocol-tip {
            font-size: 11px;
            color: var(--text-muted);
            background: var(--bg-gray);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 7px 9px;
            line-height: 1.5;
        }

        .model-candidate-panel {
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 10px;
            background: var(--bg-surface);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .model-candidate-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
        }

        .model-candidate-title {
            font-size: 13px;
            color: var(--text-main);
            font-weight: 600;
        }

        .model-candidate-desc {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .model-candidate-link {
            border: none;
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 12px;
            padding: 2px 0;
        }

        .model-candidate-link:hover {
            color: var(--text-main);
        }

        .model-candidate-actions {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .model-candidate-actions button {
            border: 1px solid var(--border-color);
            background: var(--bg-surface);
            color: var(--text-main);
            border-radius: 6px;
            font-size: 11px;
            padding: 4px 9px;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s;
        }

        .model-candidate-actions button:hover {
            background: var(--bg-hover);
            border-color: var(--text-muted);
        }

        .model-candidate-list {
            max-height: 190px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .model-candidate-item {
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 32px;
            padding: 6px 8px;
            border: 1px solid transparent;
            border-radius: 7px;
            color: var(--text-main);
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s;
        }

        .model-candidate-item:hover {
            background: var(--bg-hover);
            border-color: var(--border-light);
        }

        .model-candidate-item.added {
            color: var(--text-muted);
            cursor: default;
        }

        .model-candidate-item input {
            width: auto !important;
            margin: 0;
        }

        .model-candidate-existing {
            margin-left: auto;
            font-size: 11px;
            color: var(--text-muted);
        }

        .model-candidate-empty {
            color: var(--text-muted);
            font-size: 12px;
            text-align: center;
            padding: 14px 0;
        }

        @media (max-width: 640px) {
            .provider-protocol-grid {
                grid-template-columns: 1fr;
            }

            .model-candidate-actions button {
                flex: 1 1 calc(50% - 6px);
            }
        }
