.shared-nodes-section {
    margin: 20px 0;
}

.shared-nodes-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.shared-node-card {
    background: #f7f9fb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-left: 4px solid #667eea;
    transition: box-shadow 0.2s, transform 0.15s;
}

.shared-node-card.remote {
    border-left-color: #14b8a6;
}

.shared-node-card.offline {
    border-left-color: #94a3b8;
    opacity: 0.92;
}

.shared-node-status.offline {
    background: #94a3b8;
}

.shared-node-offline-hint {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 8px;
    font-size: 12px;
    color: #9a3412;
}


.shared-node-card.local {
    border-left-color: #667eea;
}

.shared-node-card.selectable {
    cursor: pointer;
}

.shared-node-card.selectable:hover:not(.disabled) {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.shared-node-card.selected {
    background: #ecfdf5;
    box-shadow: 0 0 0 2px #10b981;
}

.shared-node-card.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.shared-node-auto {
    border-left-color: #10b981;
}

.shared-node-main {
    flex: 1;
    min-width: 0;
}

.shared-node-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 10px;
}

.shared-node-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.shared-node-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.shared-node-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 100%;
}

.shared-node-badge.location {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.shared-node-badge.ip {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.shared-node-badge.provider {
    background: #f3e8ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
}

.shared-node-badge.models {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    white-space: normal;
    max-width: 360px;
}

.shared-node-badge.models.empty {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.shared-node-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.shared-node-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.shared-node-gpu-detail {
    margin-top: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.shared-node-status {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 14px;
    background: #ecfdf5;
    color: #10b981;
    font-weight: 600;
    flex-shrink: 0;
}

.shared-node-status.busy {
    background: #fef3c7;
    color: #d97706;
}

.shared-node-status.mismatch {
    background: #fee2e2;
    color: #dc2626;
}

.shared-node-status.offline {
    background: #fef2f2;
    color: #ef4444;
}

.shared-nodes-empty {
    text-align: center;
    color: #999;
    font-size: 15px;
    padding: 24px;
    background: #f7f9fb;
    border-radius: 8px;
}

.chat-pool-arch {
    margin-bottom: 8px;
}

.chat-pool-arch .compute-arch-section {
    margin-bottom: 12px;
}

.chat-pool-arch .compute-arch-panel {
    margin-bottom: 16px;
}
