        /* --- 外观设置 --- */
        .settings-appearance-panel {
            display: none;
            flex-direction: column;
            gap: 10px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            min-height: 320px;
            max-height: 60vh;
            overflow-y: auto;
            padding: 16px;
            margin-bottom: 12px;
            background: var(--bg-surface);
        }

        .settings-help-text {
            color: var(--text-muted);
            font-size: 12px;
            line-height: 1.6;
        }

        .password-input-wrap {
            position: relative;
            width: 100%;
        }

        .password-input-wrap input {
            padding-right: 38px !important;
        }

        .password-toggle-btn {
            position: absolute;
            top: 50%;
            right: 8px;
            transform: translateY(-50%);
            width: 26px;
            height: 26px;
            border: none;
            border-radius: 6px;
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s, color 0.15s;
        }

        .password-toggle-btn:hover,
        .password-toggle-btn.active {
            background: var(--bg-hover);
            color: var(--text-main);
        }

        .model-tag-testable {
            cursor: pointer;
            position: relative;
        }

        .model-test-hint {
            color: var(--text-muted);
            font-size: 11px;
            max-width: 0;
            overflow: hidden;
            white-space: nowrap;
            opacity: 0;
            transition: max-width 0.18s, opacity 0.18s;
        }

        .model-tag-testable:hover .model-test-hint {
            max-width: 72px;
            opacity: 1;
        }

        .provider-custom-body-textarea {
            width: 100%;
            min-height: 96px;
            padding: 8px 10px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            resize: vertical;
            font-size: 12px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
            background: var(--bg-surface);
            color: var(--text-main);
            outline: none;
        }

        .provider-custom-body-textarea:focus {
            border-color: var(--black-btn);
        }
