.member-detail {
    max-width: 960px;
}

.member-detail__header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.member-detail__avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.member-detail__title {
    flex: 1;
}

.member-detail__name {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.member-detail__subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.member-detail__actions {
    display: flex;
    gap: var(--space-sm);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.detail-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.detail-section--full {
    grid-column: 1 / -1;
}

.detail-section__title {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-field {
    margin-bottom: var(--space-md);
}

.detail-field:last-child {
    margin-bottom: 0;
}

.detail-field__label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-xs);
}

.detail-field__value {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.skill-tag {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.project-item:last-child {
    border-bottom: none;
}

.project-item__name {
    font-size: var(--text-sm);
    font-weight: 500;
}

.project-item__role {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row__date {
    color: var(--text-tertiary);
    font-size: var(--text-xs);
}

.payment-row__amount {
    font-weight: 600;
}

.note-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.note-item:last-child {
    border-bottom: none;
}

.note-item__text {
    font-size: var(--text-sm);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.note-item__meta {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}
