/* ========================================
   Expert Panel Component Styles
   ExpertCard, ExpertGrid, ExpertSelector
   ======================================== */

/* ========== EXPERT CARD COMPONENT ========== */
.expert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    overflow: hidden;
}

.expert-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.expert-card--selectable {
    cursor: pointer;
}

.expert-card--selected {
    border-color: var(--color-active);
    background: rgba(79, 70, 229, 0.1);
}

.expert-card--placeholder {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.01);
}

/* Card Modes */
.expert-card--compact {
    padding: var(--spacing-lg);
}

.expert-card--detailed {
    padding: var(--spacing-xl);
}

.expert-card--portfolio {
    padding: var(--spacing-2xl);
    text-align: center;
}

/* Card Header */
.expert-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.expert-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-active);
    flex-shrink: 0;
}

.expert-card--compact .expert-card__icon {
    width: 32px;
    height: 32px;
}

.expert-card__info {
    flex: 1;
    min-width: 0;
}

.expert-card__name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.expert-card--compact .expert-card__name {
    font-size: var(--font-size-sm);
}

.expert-card__code {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: var(--border-radius-sm);
    display: inline-block;
}

.expert-card__specialty {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin: var(--spacing-sm) 0 0 0;
}

/* Type Badges */
.expert-card__type-badge {
    font-size: var(--font-size-xs);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.expert-card__type-badge--director {
    background: rgba(79, 70, 229, 0.2);
    color: #A5B4FC;
}

.expert-card__type-badge--persona {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.expert-card__type-badge--agent {
    background: rgba(245, 158, 11, 0.2);
    color: #FCD34D;
}

.expert-card__type-badge--hybrid {
    background: rgba(139, 92, 246, 0.2);
    color: #C4B5FD;
}

/* Card Content */
.expert-card__content {
    margin-bottom: var(--spacing-lg);
}

.expert-card__metadata {
    margin-top: var(--spacing-lg);
}

/* Confidence Score */
.expert-card__confidence {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xs);
}

.expert-card__confidence-label {
    color: var(--color-text-muted);
}

.expert-card__confidence-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.expert-card__confidence-fill {
    height: 100%;
    background: var(--color-success);
    transition: width var(--transition-base);
}

.expert-card__confidence-value {
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-semibold);
}

/* Stats */
.expert-card__stats {
    display: flex;
    gap: var(--spacing-lg);
}

.expert-card__stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.expert-card__stat i {
    width: 14px;
    height: 14px;
}

/* Actions */
.expert-card__actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

.expert-card__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    opacity: 0;
}

.expert-card:hover .expert-card__action {
    opacity: 1;
}

.expert-card__action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.expert-card__action--message:hover {
    border-color: var(--color-active);
    color: var(--color-active);
}

.expert-card__action--clone:hover {
    border-color: var(--color-warning);
    color: var(--color-warning);
}

.expert-card__action--configure:hover {
    border-color: var(--color-info);
    color: var(--color-info);
}

/* Checkbox */
.expert-card__checkbox {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
}

.expert-card__checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.expert-card__checkbox input[type="checkbox"]:checked {
    background: var(--color-active);
    border-color: var(--color-active);
}

.expert-card__checkbox input[type="checkbox"]:checked::before {
    content: '✓';
    display: block;
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 16px;
}

/* Portfolio Mode */
.expert-card__portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
}

.expert-card__avatar {
    position: relative;
}

.expert-card__avatar-image {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
}

.expert-card__avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    color: var(--color-active);
    font-size: 24px;
}

.expert-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.expert-card__tag {
    font-size: var(--font-size-xs);
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-muted);
}

.expert-card__portfolio-actions {
    display: flex;
    gap: var(--spacing-lg);
}

/* Placeholder Cards */
.expert-card__placeholder {
    text-align: center;
    padding: var(--spacing-4xl);
}

.expert-card__placeholder-icon {
    font-size: 32px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

.expert-card__placeholder-title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-lg) 0;
}

.expert-card__placeholder-message {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0 0 var(--spacing-xl) 0;
}

.expert-card__placeholder-roadmap {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* ========== EXPERT GRID COMPONENT ========== */
.expert-grid {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expert-grid__header {
    margin-bottom: var(--spacing-2xl);
}

.expert-grid__search {
    margin-bottom: var(--spacing-xl);
}

.expert-grid__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.expert-grid__filter,
.expert-grid__sort {
    position: relative;
    display: none !important;
}

.expert-grid__view-modes {
    display: flex;
    gap: var(--spacing-sm);
}

.expert-grid__view-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
}

.expert-grid__view-mode:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
}

.expert-grid__view-mode--active {
    background: var(--color-active);
    border-color: var(--color-active);
    color: white;
}

.expert-grid__content {
    flex: 1;
    position: relative;
}

.expert-grid__grid {
    display: grid;
    gap: var(--spacing-xl);
    height: 100%;
    overflow-y: auto;
}

.expert-grid__grid--compact {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.expert-grid__grid--detailed {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.expert-grid__grid--portfolio {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.expert-grid__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--color-text-muted);
    text-align: center;
}

.expert-grid__empty-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-xl);
}

.expert-grid__empty-message {
    font-size: var(--font-size-base);
}

/* Selection Summary */
.expert-grid__selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-xl);
}

.expert-grid__selection-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
}

.expert-grid__selection-count {
    font-weight: var(--font-weight-semibold);
}

.expert-grid__selection-actions {
    display: flex;
    gap: var(--spacing-lg);
}

/* ========== SEARCH INPUT ========== */
.search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input i {
    position: absolute;
    left: var(--spacing-lg);
    color: var(--color-text-muted);
    z-index: 2;
}

.search-input__field {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
}

.search-input__field:focus {
    outline: none;
    border-color: var(--color-active);
    background: rgba(255, 255, 255, 0.05);
}

.search-input--sm .search-input__field {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 36px;
    font-size: var(--font-size-xs);
}

.search-input--sm i {
    left: var(--spacing-md);
    font-size: 14px;
}

/* ========== DROPDOWN COMPONENT ========== */
.dropdown {
    position: relative;
}

.dropdown__content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
}

.dropdown:hover .dropdown__content,
.dropdown--open .dropdown__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__item {
    display: block;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dropdown__item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
}

.dropdown__item--active {
    background: var(--color-active);
    color: white;
}

.dropdown__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-xs) 0;
}

/* Filter Group */
.filter-group {
    padding: var(--spacing-lg);
}

.filter-group__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Checkbox */
.checkbox {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.checkbox input[type="checkbox"]:checked {
    background: var(--color-active);
    border-color: var(--color-active);
}

.checkbox input[type="checkbox"]:checked::before {
    content: '✓';
    display: block;
    color: white;
    font-size: 10px;
    text-align: center;
    line-height: 12px;
}

.checkbox__label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    user-select: none;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    background: var(--color-active);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    border-radius: 9px;
    margin-left: var(--spacing-xs);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .expert-grid__grid--detailed {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .expert-grid__controls {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .expert-grid__grid--detailed,
    .expert-grid__grid--portfolio {
        grid-template-columns: 1fr;
    }

    .expert-card__header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .expert-card__actions {
        justify-content: center;
    }

    .expert-grid__selection {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

/* ======================================
   CROSS-TYPE CLONE MODAL
   ====================================== */
.cross-clone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cross-clone-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cross-clone-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cross-clone-overlay.active .cross-clone-modal {
    transform: scale(1);
}

.cross-clone-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 32px;
    position: relative;
}

.cross-clone-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
}

.cross-clone-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.cross-clone-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cross-clone-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cross-clone-content {
    flex: 1;
    overflow: auto;
    padding: 32px;
}

.clone-step {
    display: block;
}

.clone-step.hidden {
    display: none;
}

.clone-step-header {
    margin-bottom: 24px;
    text-align: center;
}

.clone-step-header h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
}

.clone-step-header p {
    margin: 0;
    color: #718096;
    font-size: 16px;
}

.clone-search {
    margin-bottom: 24px;
}

.clone-search .config-input {
    width: 100%;
    margin-bottom: 16px;
}

.clone-type-filter {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.clone-filter-btn {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.clone-filter-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.clone-filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.clone-experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
}

.clone-expert-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.clone-expert-card:hover {
    background: #f1f3f4;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clone-expert-card.selected {
    background: #e8f4f8;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clone-expert-icon {
    width: 48px;
    height: 48px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 12px;
}

.clone-expert-info h6 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.clone-expert-code {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    display: inline-block;
}

.clone-expert-specialty {
    margin: 8px 0 12px 0;
    font-size: 14px;
    color: #718096;
    line-height: 1.4;
}

.clone-expert-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e2e8f0;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.clone-target-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.clone-target-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.clone-target-option:hover {
    background: #f1f3f4;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clone-target-option.selected {
    background: #e8f4f8;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clone-target-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 16px;
    font-size: 28px;
}

.clone-target-info h5 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.clone-target-info p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.clone-mapping-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
    margin: 24px 0;
}

.clone-mapping-source,
.clone-mapping-target {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.clone-mapping-source h5,
.clone-mapping-target h5 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.clone-mapping-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 24px;
    align-self: center;
    margin-top: 40px;
}

.clone-mapping-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mapping-field {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    position: relative;
}

.mapping-field.compatible {
    border-left: 4px solid #48bb78;
}

.mapping-field.adapted {
    border-left: 4px solid #ed8936;
}

.mapping-field .field-name {
    display: block;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 4px;
}

.mapping-field .field-value,
.mapping-field .field-preview {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
}

.clone-mapping-options {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
}

.clone-mapping-options .checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.clone-mapping-options .checkbox:last-child {
    margin-bottom: 0;
}

.clone-mapping-options input[type="checkbox"] {
    margin-right: 8px;
}

.cross-clone-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clone-progress {
    display: flex;
    gap: 8px;
    align-items: center;
}

.clone-progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.clone-progress-step.active {
    background: #667eea;
    color: white;
}

/* Loading spinner for clone button */
.cross-clone-footer .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Empty state for experts grid */
.clone-experts-grid .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: #718096;
}

.clone-experts-grid .empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Cross-type clone responsive adjustments */
@media (max-width: 768px) {
    .cross-clone-modal {
        width: 95%;
        max-height: 95vh;
    }

    .cross-clone-content {
        padding: 24px 16px;
    }

    .clone-experts-grid {
        grid-template-columns: 1fr;
    }

    .clone-target-options {
        grid-template-columns: 1fr;
    }

    .clone-mapping-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .clone-mapping-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .cross-clone-footer {
        padding: 16px;
        flex-direction: column;
        gap: 16px;
    }

    .clone-progress {
        order: -1;
    }
}