.kb-settings-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    min-width: 700px;
}

.kb-settings-left, .kb-settings-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kb-settings-right {
    border-left: 1px solid var(--rz-base-300);
    padding-left: 1.5rem;
}

.kb-settings-right.kb-disabled {
    opacity: 0.6;
}

.kb-icon-preview {
    text-align: center;
    padding: 1rem;
    background: var(--rz-base-200);
    border-radius: 8px;
}

.kb-icon-large {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.kb-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kb-field-highlight {
    padding: 0.75rem;
    background: var(--rz-base-200);
    border-radius: 6px;
}

.kb-emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    max-height: 80px;
    overflow-y: auto;
    padding: 6px;
    background: var(--rz-base-200);
    border-radius: 6px;
}

.kb-emoji-btn {
    font-size: 1rem;
    min-width: 28px;
    padding: 2px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.kb-emoji-btn:hover {
    background: var(--rz-base-300);
}

.kb-emoji-btn.selected {
    background: var(--rz-primary-lighter);
}

.kb-members-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.kb-member-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    background: var(--rz-base-200);
}

.kb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.kb-avatar-initial {
    background: var(--rz-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

.kb-avatar-group {
    background: var(--rz-info);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.kb-member-name {
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kb-member-email {
    font-size: 0.7rem;
    color: var(--rz-text-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kb-add-member {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--rz-info-lighter);
    border-radius: 6px;
    border: 1px dashed var(--rz-info);
}

.kb-members-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: var(--rz-base-100);
    border-radius: 8px;
    border: 1px dashed var(--rz-base-400);
    flex: 1;
}
