@import '_content/Neureau.Designer.Framework/Neureau.Designer.Framework.4tff72kzo5.bundle.scp.css';
@import '_content/NeureauAIEngine.DataMapper/NeureauAIEngine.DataMapper.43dj69j2au.bundle.scp.css';
@import '_content/NeureauLicensing.Client/NeureauLicensing.Client.najx0fw2p8.bundle.scp.css';

/* _content/NeureauAIEngine.ServerDashboard/Components/Pages/Designer/Designer2b.razor.rz.scp.css */
/* Designer2b Container - Break out of content-wrapper padding */
.designer2b-container[b-p652mjyhdp] {
    height: calc(100vh - 56px);
    width: calc(100% + 3rem);
    margin: -1.5rem;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    overflow: hidden;
}

@media (max-width: 768px) {
    .designer2b-container[b-p652mjyhdp] {
        width: calc(100% + 2rem);
        margin: -1rem;
    }
}

/* Custom Toolbar */
.designer2b-toolbar[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.toolbar-zone[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.toolbar-left[b-p652mjyhdp] {
    flex: 0 0 auto;
}

.toolbar-center[b-p652mjyhdp] {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-right[b-p652mjyhdp] {
    flex: 0 0 auto;
}

.toolbar-btn[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    color: #555;
    transition: all 0.15s ease;
}

.toolbar-btn:hover:not(:disabled)[b-p652mjyhdp] {
    background: #e3f2fd;
    border-color: #90caf9;
    color: #1976d2;
}

.toolbar-btn:active:not(:disabled)[b-p652mjyhdp] {
    background: #bbdefb;
}

.toolbar-btn.active[b-p652mjyhdp] {
    background: #2196f3;
    color: white;
    border-color: #1976d2;
}

.toolbar-btn.running[b-p652mjyhdp] {
    background: #4CAF50;
    color: white;
    border-color: #388E3C;
}

.toolbar-btn:disabled[b-p652mjyhdp] {
    opacity: 0.4;
    cursor: not-allowed;
}

.toolbar-btn i[b-p652mjyhdp] {
    font-size: 16px;
}

.toolbar-separator[b-p652mjyhdp] {
    width: 1px;
    height: 24px;
    background: #e0e0e0;
    margin: 0 4px;
}

.toolbar-select[b-p652mjyhdp] {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    outline: none;
    cursor: pointer;
}

.toolbar-select:focus[b-p652mjyhdp] {
    border-color: #2196f3;
}

/* Layout Dropdown */
.layout-dropdown-container[b-p652mjyhdp] {
    position: relative;
    display: inline-block;
}

.layout-dropdown-menu[b-p652mjyhdp] {
    position: absolute;
    top: 100%;
    right: 0; /* Align to right edge to stay on screen */
    left: auto;
    z-index: 1000;
    min-width: 220px;
    padding: 8px 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.layout-dropdown-header[b-p652mjyhdp] {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.layout-dropdown-item[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.layout-dropdown-item:hover[b-p652mjyhdp] {
    background: #f1f5f9;
}

.layout-dropdown-item.active[b-p652mjyhdp] {
    background: #e0f2fe;
}

.layout-dropdown-item i[b-p652mjyhdp] {
    font-size: 14px;
    color: #64748b;
    margin-right: 8px;
}

.layout-dropdown-item span[b-p652mjyhdp] {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.layout-dropdown-item span i[b-p652mjyhdp] {
    margin-right: 8px;
}

.layout-dropdown-item small[b-p652mjyhdp] {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
    margin-left: 22px;
}

.layout-dropdown-divider[b-p652mjyhdp] {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.connection-name-input[b-p652mjyhdp] {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    text-align: center;
    min-width: 200px;
    outline: none;
    transition: all 0.15s;
}

.connection-name-input:hover[b-p652mjyhdp] {
    background: #f5f5f5;
}

.connection-name-input:focus[b-p652mjyhdp] {
    background: white;
    border-color: #2196f3;
}

.modified-badge[b-p652mjyhdp] {
    font-size: 10px;
    padding: 2px 6px;
    background: #ff9800;
    color: white;
    border-radius: 10px;
    font-weight: 600;
}

/* Toolbox Panel */
.toolbox-panel[b-p652mjyhdp] {
    height: 100%;
    overflow-y: auto;
    background: white;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

/* View Switcher (top icons) */
.toolbox-view-switcher[b-p652mjyhdp] {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    background: #f1f3f5;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.view-switch-btn[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.15s ease;
}

.view-switch-btn:hover[b-p652mjyhdp] {
    background: #e5e7eb;
    color: #374151;
}

.view-switch-btn.active[b-p652mjyhdp] {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

/* Toolbox Tabs */
.toolbox-tabs[b-p652mjyhdp] {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.toolbox-tab[b-p652mjyhdp] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.toolbox-tab:hover[b-p652mjyhdp] {
    color: #334155;
    background: #f1f5f9;
}

.toolbox-tab.active[b-p652mjyhdp] {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.toolbox-tab i[b-p652mjyhdp] {
    font-size: 12px;
}

/* Deployed Endpoints */
.btn-refresh-endpoints[b-p652mjyhdp] {
    margin-left: auto;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 4px;
}

.btn-refresh-endpoints:hover[b-p652mjyhdp] {
    color: #2563eb;
    background: #e2e8f0;
}

.btn-refresh-endpoints .spin[b-p652mjyhdp] {
    animation: spin 0.8s linear infinite;
}

@@keyframes spin {
    from[b-p652mjyhdp] { transform: rotate(0deg); }
    to[b-p652mjyhdp] { transform: rotate(360deg); }
}

.toolbox-loading[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    color: #64748b;
    font-size: 12px;
}

.toolbox-empty[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.toolbox-empty i[b-p652mjyhdp] {
    font-size: 24px;
}

.deployed-search[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px;
    padding: 6px 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
}

.deployed-search i[b-p652mjyhdp] {
    color: #94a3b8;
    font-size: 12px;
}

.deployed-search input[b-p652mjyhdp] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 12px;
    color: #334155;
}

.deployed-endpoint[b-p652mjyhdp] {
    cursor: pointer !important;
}

.deployed-endpoint-info[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.deployed-ep-name[b-p652mjyhdp] {
    font-size: 12px;
    font-weight: 500;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployed-ep-conn[b-p652mjyhdp] {
    font-size: 10px;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployed-ep-status[b-p652mjyhdp] {
    font-size: 10px;
    flex-shrink: 0;
}

.deployed-ep-status.running[b-p652mjyhdp] {
    color: #22c55e;
}

.deployed-ep-status.stopped[b-p652mjyhdp] {
    color: #d1d5db;
}

/* ===== NODE EDITOR VIEW ===== */
.node-tabs[b-p652mjyhdp] {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.node-tab[b-p652mjyhdp] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 6px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.node-tab:hover[b-p652mjyhdp] {
    color: #334155;
    background: #f1f5f9;
}

.node-tab.active[b-p652mjyhdp] {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.node-tab i[b-p652mjyhdp] {
    font-size: 13px;
}

.node-search[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 10px 6px;
    padding: 7px 10px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    flex-shrink: 0;
}

.node-search:focus-within[b-p652mjyhdp] {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.node-search i[b-p652mjyhdp] {
    color: #94a3b8;
    font-size: 13px;
}

.node-search input[b-p652mjyhdp] {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 12px;
    color: #334155;
}

.node-toolbox-content[b-p652mjyhdp] {
    flex: 1;
    overflow-y: auto;
}

.node-section[b-p652mjyhdp] {
    margin-bottom: 2px;
}

.node-section-header[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.node-section-header:hover[b-p652mjyhdp] {
    background: #e2e8f0;
}

.node-section-header i:first-child[b-p652mjyhdp] {
    font-size: 9px;
    color: #94a3b8;
}

.node-section-count[b-p652mjyhdp] {
    margin-left: auto;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.node-grid[b-p652mjyhdp] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
}

.node-grid.node-grid-3col[b-p652mjyhdp] {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px;
}

.node-card[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 10px;
    cursor: grab;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.node-card:hover[b-p652mjyhdp] {
    background: #f1f5f9;
    border-color: #d1d5db;
}

.node-card:active[b-p652mjyhdp] {
    cursor: grabbing;
    background: #e2e8f0;
    transform: scale(0.97);
}

/* Exhausted card — all package slots consumed */
.node-card.exhausted[b-p652mjyhdp] {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(60%);
}

.node-card.exhausted:hover[b-p652mjyhdp] {
    background: transparent;
    border-color: transparent;
    transform: none;
}

.node-card.exhausted:active[b-p652mjyhdp] {
    cursor: not-allowed;
    transform: none;
}

.node-card.exhausted .node-icon[b-p652mjyhdp] {
    box-shadow: none;
}

/* Category remaining badge (shown when package has finite capacity) */
.node-section-remaining[b-p652mjyhdp] {
    margin-left: auto;
    font-size: 9px;
    color: #f59e0b;
    font-weight: 600;
    background: #fefce8;
    padding: 1px 6px;
    border-radius: 8px;
    border: 1px solid #fde68a;
}

.node-icon[b-p652mjyhdp] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.node-icon-round[b-p652mjyhdp] {
    border-radius: 50%;
}

.node-label[b-p652mjyhdp] {
    font-size: 11px;
    font-weight: 500;
    color: #334155;
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.node-status-bar[b-p652mjyhdp] {
    padding: 6px 12px;
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* ===== CONNECTION DESIGNER VIEW ===== */
.toolbox-section[b-p652mjyhdp] {
    margin-bottom: 8px;
}

.toolbox-header[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.toolbox-header i[b-p652mjyhdp] {
    font-size: 12px;
}

.toolbox-items[b-p652mjyhdp] {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toolbox-item[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: grab;
    transition: all 0.15s;
    font-size: 13px;
    color: #334155;
}

.toolbox-item:hover[b-p652mjyhdp] {
    background: #f1f5f9;
}

.toolbox-item:active[b-p652mjyhdp] {
    cursor: grabbing;
    background: #e2e8f0;
}

.toolbox-item i[b-p652mjyhdp] {
    font-size: 16px;
}

/* Main Canvas */
.main-canvas-container[b-p652mjyhdp] {
    flex: 1;
    position: relative;
    overflow: auto; /* Enable scrolling when content exceeds viewport */
    background: #fafafa;
    min-height: 0; /* Important for flex children */
    height: 100%;
}

/* Scrollbar styling for canvas */
.main-canvas-container[b-p652mjyhdp]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.main-canvas-container[b-p652mjyhdp]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.main-canvas-container[b-p652mjyhdp]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

.main-canvas-container[b-p652mjyhdp]::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.canvas-empty-state[b-p652mjyhdp] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #94a3b8;
    z-index: 10;
    pointer-events: none;
}

.canvas-svg[b-p652mjyhdp] {
    display: block;
    min-width: 100%;
    min-height: 100%;
}

/* Drop Zones */
.drop-zone-foreign[b-p652mjyhdp] {
    overflow: visible;
}

.drop-target-zone[b-p652mjyhdp] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed transparent;
    border-radius: 8px;
    transition: all 0.2s;
}

.drop-zone-foreign.active-drop .drop-target-zone[b-p652mjyhdp] {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.drop-zone-foreign.route-target .drop-target-zone[b-p652mjyhdp] {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.drop-target-zone i[b-p652mjyhdp] {
    font-size: 24px;
    color: #94a3b8;
}

.drop-zone-foreign.active-drop .drop-target-zone i[b-p652mjyhdp],
.drop-zone-foreign.route-target .drop-target-zone i[b-p652mjyhdp] {
    color: #10b981;
}

/* Properties Panel */
.properties-panel[b-p652mjyhdp] {
    height: 100%;
    background: white;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.properties-header[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.property-tabs[b-p652mjyhdp] {
    display: flex;
    background: #f8fafc;
    padding: 8px 12px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 4px;
}

.property-tab[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 12px;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: #e9ecef;
    cursor: pointer;
    margin-bottom: -1px;
    transition: all 0.15s;
}

.property-tab:hover[b-p652mjyhdp] {
    background: #f1f5f9;
}

.property-tab.active[b-p652mjyhdp] {
    background: white;
    border-bottom-color: white;
}

.property-tab i[b-p652mjyhdp] {
    font-size: 12px;
}

.properties-content[b-p652mjyhdp] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.property-section[b-p652mjyhdp] {
    margin-bottom: 16px;
}

.property-label[b-p652mjyhdp] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
}

.property-input[b-p652mjyhdp] {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
}

.property-input:focus[b-p652mjyhdp] {
    border-color: #2196f3;
}

textarea.property-input[b-p652mjyhdp] {
    resize: vertical;
    min-height: 60px;
}

.property-section-header[b-p652mjyhdp] {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.property-divider[b-p652mjyhdp] {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 16px 0;
}

.property-help[b-p652mjyhdp] {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

/* Event List */
.event-list[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-category-header[b-p652mjyhdp] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0 4px;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 8px;
}

.event-category-header:first-child[b-p652mjyhdp] {
    margin-top: 0;
}

.event-row[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 13px;
}

.event-row:hover[b-p652mjyhdp] {
    background: #f1f5f9;
}

/* Mapping Info */
.mapping-info[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Status Bar */
.designer2b-statusbar[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #666;
    width: 100%;
}

.status-item[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-item i[b-p652mjyhdp] {
    font-size: 12px;
}

.status-right[b-p652mjyhdp] {
    margin-left: auto;
}

.text-success[b-p652mjyhdp] {
    color: #4CAF50 !important;
}

.text-muted[b-p652mjyhdp] {
    color: #9e9e9e !important;
}

/* Override framework styles */
[b-p652mjyhdp] .designer-shell {
    border-radius: 0;
}

[b-p652mjyhdp] .designer-toolbar {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 16px;
}

[b-p652mjyhdp] .designer-statusbar {
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
    padding: 6px 16px;
}

[b-p652mjyhdp] .designer-panel {
    background: white;
}

[b-p652mjyhdp] .designer-panel-left {
    overflow: visible;
}

[b-p652mjyhdp] .designer-panel-right {
    overflow: visible;
}

[b-p652mjyhdp] .designer-canvas-container {
    flex: 1;
    overflow: hidden;
}

/* Connection and endpoint node hover effects */
.connection-node[b-p652mjyhdp] {
    cursor: move;
}

.connection-node:hover rect:first-of-type[b-p652mjyhdp] {
    filter: brightness(0.98);
}

.connection-node.selected rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 2px 8px rgba(33, 150, 243, 0.3));
}

.endpoint-node[b-p652mjyhdp] {
    cursor: move;
}

.endpoint-node:hover rect:first-of-type[b-p652mjyhdp] {
    filter: brightness(0.98);
}

.endpoint-node.selected rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 2px 8px rgba(33, 150, 243, 0.3));
}

.worker-node[b-p652mjyhdp] {
    cursor: move;
}

.worker-node:hover rect:first-of-type[b-p652mjyhdp] {
    filter: brightness(0.96);
}

.worker-node.selected rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.4));
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .toolbar-center[b-p652mjyhdp] {
        flex: 0 1 auto;
    }

    .connection-name-input[b-p652mjyhdp] {
        min-width: 150px;
    }
}

/* Version Badge */
.version-badge[b-p652mjyhdp] {
    font-size: 10px;
    padding: 2px 6px;
    background: #6366f1;
    color: white;
    border-radius: 10px;
    font-weight: 600;
}

/* Modal Styles */
.modal-backdrop[b-p652mjyhdp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal-dialog-custom[b-p652mjyhdp] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-dialog-custom.modal-lg[b-p652mjyhdp] {
    max-width: 800px;
}

.modal-content-custom[b-p652mjyhdp] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header-custom[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.modal-header-custom .modal-title[b-p652mjyhdp] {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.modal-body-custom[b-p652mjyhdp] {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer-custom[b-p652mjyhdp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* List Group in Modal */
.modal-dialog-custom .list-group[b-p652mjyhdp] {
    max-height: 300px;
    overflow-y: auto;
}

.modal-dialog-custom .list-group-item[b-p652mjyhdp] {
    border: 1px solid #e2e8f0;
    margin-bottom: 4px;
    border-radius: 6px;
}

.modal-dialog-custom .list-group-item:hover:not(.active)[b-p652mjyhdp] {
    background: #f8fafc;
}

.modal-dialog-custom .list-group-item.active[b-p652mjyhdp] {
    background: #2196f3;
    border-color: #2196f3;
}

/* Connection Publish Item */
.connection-publish-item[b-p652mjyhdp] {
    background: #f8fafc;
    transition: background 0.15s;
}

.connection-publish-item:hover[b-p652mjyhdp] {
    background: #f1f5f9;
}

/* Code Editor Textarea */
.code-editor[b-p652mjyhdp] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    padding: 12px;
    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    resize: vertical;
}

.code-editor:focus[b-p652mjyhdp] {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 1px #007acc;
}

.code-editor[b-p652mjyhdp]::placeholder {
    color: #6a6a6a;
}

/* Event Row Layout */
.event-row[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    border-bottom: 1px solid #e0e0e0;
}

.event-row:last-child[b-p652mjyhdp] {
    border-bottom: none;
}

.event-row span[b-p652mjyhdp] {
    flex: 1;
    font-size: 0.85rem;
}

.event-actions[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* SuperAdmin Debug IDE Buttons */
.debug-ide-btn[b-p652mjyhdp] {
    padding: 2px 6px !important;
    font-size: 0.75rem !important;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.debug-ide-btn:hover[b-p652mjyhdp] {
    opacity: 1;
}

.debug-ide-btn i[b-p652mjyhdp] {
    font-size: 12px !important;
}

/* Lasso Selection */
.main-canvas-container[b-p652mjyhdp] {
    cursor: crosshair;
    user-select: none;
}

.main-canvas-container.dragging[b-p652mjyhdp] {
    cursor: grabbing;
}

/* Multi-select visual feedback */
.connection-node.selected rect:first-of-type[b-p652mjyhdp],
.endpoint-node.selected rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 0 6px rgba(33, 150, 243, 0.5));
}

/* ── Test Result Glow ── */
.connection-node.test-pass rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.6));
    stroke: #22c55e !important;
    stroke-width: 3;
    animation: test-glow-pulse-b-p652mjyhdp 2s ease-in-out 3;
}

.connection-node.test-fail rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.6));
    stroke: #ef4444 !important;
    stroke-width: 3;
    animation: test-glow-pulse-b-p652mjyhdp 2s ease-in-out 3;
}

.endpoint-node.test-pass rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
    stroke: #22c55e !important;
    stroke-width: 2;
    animation: test-glow-pulse-b-p652mjyhdp 2s ease-in-out 3;
}

.endpoint-node.test-fail rect:first-of-type[b-p652mjyhdp] {
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
    stroke: #ef4444 !important;
    stroke-width: 2;
    animation: test-glow-pulse-b-p652mjyhdp 2s ease-in-out 3;
}

@keyframes test-glow-pulse-b-p652mjyhdp {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Selection count indicator */
.selection-info[b-p652mjyhdp] {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(33, 150, 243, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
}

.selection-info i[b-p652mjyhdp] {
    font-size: 14px;
}

/* =============================================
   Primary 3-Tab Bar (Connections / Templates / AI Models)
   ============================================= */
.toolbox-primary-tabs[b-p652mjyhdp] {
    display: flex;
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.primary-tab[b-p652mjyhdp] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.primary-tab:hover[b-p652mjyhdp] {
    background: #e2e8f0;
    color: #334155;
}

.primary-tab.active[b-p652mjyhdp] {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
    font-weight: 600;
}

.primary-tab i[b-p652mjyhdp] {
    font-size: 13px;
}

/* Sub-tabs within the Connections primary tab (Connect / Agentic) */
.toolbox-sub-tabs[b-p652mjyhdp] {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    padding: 0 4px;
}

.sub-tab[b-p652mjyhdp] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.sub-tab:hover[b-p652mjyhdp] {
    background: #f1f5f9;
    color: #475569;
}

.sub-tab.active[b-p652mjyhdp] {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background: rgba(37, 99, 235, 0.04);
    font-weight: 600;
}

.sub-tab i[b-p652mjyhdp] {
    font-size: 11px;
}

/* =============================================
   Templates Tab — styles in Components/Designer2bTemplates.razor.css
   ============================================= */

/* =============================================
   AI Models Tab — styles in Components/Designer2bAIModels.razor.css
   ============================================= */

/* =============================================
   Pipeline Modules Section
   ============================================= */
.pipeline-modules-section[b-p652mjyhdp] {
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
}

.pipeline-module-search[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin: 4px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.pipeline-module-search i[b-p652mjyhdp] {
    color: #94a3b8;
    font-size: 11px;
}

.pipeline-module-search input[b-p652mjyhdp] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 11px;
    color: #334155;
}

.pipeline-cat-header[b-p652mjyhdp] {
    padding: 4px 12px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.pipeline-items[b-p652mjyhdp] {
    padding-bottom: 4px;
}

.pipeline-module-item[b-p652mjyhdp] {
    border-left: 3px solid transparent;
    transition: border-color 0.15s;
}

.pipeline-module-item:hover[b-p652mjyhdp] {
    border-left-color: #3b82f6;
}

/* ── Deployed Connections Section ── */

/* Old deployed-connections classes removed — now using tpl-deployed-* in templates panel */

/* =============================================
   Pipeline Module Drop Indicator
   ============================================= */
.pipeline-drop-overlay[b-p652mjyhdp] {
    pointer-events: all;
    cursor: copy;
}

.pipeline-drop-overlay:hover[b-p652mjyhdp] {
    background: rgba(139, 92, 246, 0.08) !important;
}

/* Module badge dots on canvas connection */
.module-badge-dot[b-p652mjyhdp] {
    transition: r 0.15s ease;
}

.module-badge-dot:hover[b-p652mjyhdp] {
    r: 5;
    filter: brightness(1.2);
}

/* =============================================
   Modules Tab in Properties Panel
   ============================================= */
.module-list-item[b-p652mjyhdp] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: all 0.15s;
}

.module-list-item:hover[b-p652mjyhdp] {
    border-color: #c7d2fe;
    background: #f5f3ff;
}

.module-icon-sm[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
}

.module-info[b-p652mjyhdp] {
    flex: 1;
    min-width: 0;
}

.module-name[b-p652mjyhdp] {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.module-event-badge[b-p652mjyhdp] {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    margin-left: 4px;
}

.module-event-badge.inbound[b-p652mjyhdp] {
    background: #dcfce7;
    color: #15803d;
}

.module-event-badge.outbound[b-p652mjyhdp] {
    background: #dbeafe;
    color: #1d4ed8;
}

.module-actions[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.module-toggle[b-p652mjyhdp] {
    cursor: pointer;
    accent-color: #8b5cf6;
}

.module-remove-btn[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.15s;
}

.module-remove-btn:hover[b-p652mjyhdp] {
    background: #fef2f2;
    color: #dc2626;
}

.module-config-section[b-p652mjyhdp] {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e2e8f0;
}

.module-config-row[b-p652mjyhdp] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}

.module-config-key[b-p652mjyhdp] {
    flex: 1;
    padding: 3px 6px;
    font-size: 11px;
    font-family: 'Consolas', monospace;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    background: #f1f5f9;
    color: #64748b;
}

.module-config-value[b-p652mjyhdp] {
    flex: 2;
    padding: 3px 6px;
    font-size: 11px;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    background: white;
    color: #334155;
    outline: none;
}

.module-config-value:focus[b-p652mjyhdp] {
    border-color: #8b5cf6;
}

.module-empty-state[b-p652mjyhdp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 16px;
    color: #94a3b8;
    text-align: center;
}

.module-empty-state i[b-p652mjyhdp] {
    font-size: 28px;
    color: #c4b5fd;
}

.module-empty-state p[b-p652mjyhdp] {
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================= */
/* Canvas Toast — package limit warnings                         */
/* ============================================================= */

.canvas-toast[b-p652mjyhdp] {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: toast-in-b-p652mjyhdp 0.3s ease-out;
}

.canvas-toast.warning[b-p652mjyhdp] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.canvas-toast.error[b-p652mjyhdp] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes toast-in-b-p652mjyhdp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* _content/NeureauAIEngine.ServerDashboard/Components/RainBuckets/RbHeroActions.razor.rz.scp.css */
.rb-hero-actions[b-fun0bw8w5b] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-rb-hero-primary[b-fun0bw8w5b] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #22c55e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 2px solid #22c55e;
}

.btn-rb-hero-primary:hover[b-fun0bw8w5b] {
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
    color: #ffffff;
}

.btn-rb-hero-secondary[b-fun0bw8w5b] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #1d4ed8;
    text-decoration: none;
    border: 2px solid #93c5fd;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-rb-hero-secondary:hover[b-fun0bw8w5b] {
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.15);
}

.btn-rb-hero-training[b-fun0bw8w5b] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: #7c3aed;
    text-decoration: none;
    border: 2px solid #a78bfa;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-rb-hero-training:hover[b-fun0bw8w5b] {
    border-color: #7c3aed;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

@media (max-width: 768px) {
    .rb-hero-actions[b-fun0bw8w5b] {
        flex-direction: column;
        align-items: center;
        margin-top: 1.25rem;
        gap: 0.75rem;
    }

    .btn-rb-hero-primary[b-fun0bw8w5b],
    .btn-rb-hero-secondary[b-fun0bw8w5b],
    .btn-rb-hero-training[b-fun0bw8w5b] {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.7rem 1.25rem;
        font-size: 0.88rem;
    }
}
/* _content/NeureauAIEngine.ServerDashboard/Components/Shared/ConnectionDetailPanel.razor.rz.scp.css */
/* Mobile-first endpoint table styles */
.endpoint-table[b-uuzua7q74d] {
    font-size: 0.85rem;
}

.endpoint-table th[b-uuzua7q74d],
.endpoint-table td[b-uuzua7q74d] {
    padding: 0.4rem 0.35rem;
    vertical-align: middle;
    white-space: nowrap;
}

.col-enable[b-uuzua7q74d] {
    width: 40px;
    text-align: center;
}

.col-stats[b-uuzua7q74d] {
    width: 50px;
    text-align: right;
    padding-right: 0.5rem !important;
}

.col-queue[b-uuzua7q74d] {
    width: 70px;
}

.col-actions[b-uuzua7q74d] {
    width: 50px;
    text-align: center;
}

.col-actions-sticky[b-uuzua7q74d] {
    width: 60px;
    text-align: center;
    position: sticky;
    right: 0;
    background-color: var(--theme-card-bg, white);
    box-shadow: -2px 0 5px rgba(0,0,0,0.05);
    z-index: 1;
}

/* Responsive adjustments */
@@media (max-width: 767.98px) {
    .endpoint-table[b-uuzua7q74d] {
        font-size: 0.8rem;
    }

    .endpoint-table th[b-uuzua7q74d],
    .endpoint-table td[b-uuzua7q74d] {
        padding: 0.3rem 0.25rem;
    }

    .col-stats[b-uuzua7q74d] {
        width: 40px;
    }
}

@@media (min-width: 992px) {
    .endpoint-table[b-uuzua7q74d] {
        font-size: 0.875rem;
    }

    .col-stats[b-uuzua7q74d] {
        width: 60px;
    }
}

/* Compact mode overrides (used in Dashboard2 expanded rows) */
[b-uuzua7q74d] .compact .endpoint-table {
    font-size: 0.78rem;
}

[b-uuzua7q74d] .compact .endpoint-table th,
[b-uuzua7q74d] .compact .endpoint-table td {
    padding: 0.25rem 0.2rem;
}
/* _content/NeureauAIEngine.ServerDashboard/Components/Shared/Designer2bAIModels.razor.rz.scp.css */
/* ── AI Models Panel ── */
.d2b-aimodels-panel[b-dcze1vkvic] {
    display: flex;
    flex-direction: column;
    padding: 4px;
    overflow-y: auto;
    flex: 1;
}

.aimodel-header[b-dcze1vkvic] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 2px;
    margin-bottom: 4px;
}

.aimodel-title[b-dcze1vkvic] {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.aimodel-add-btn[b-dcze1vkvic] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #3b82f6;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s;
}

.aimodel-add-btn:hover[b-dcze1vkvic] {
    background: #eff6ff;
    border-color: #93c5fd;
}

.aimodel-form[b-dcze1vkvic] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 6px;
}

.aimodel-form-row[b-dcze1vkvic] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.aimodel-form-group[b-dcze1vkvic] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aimodel-form-group label[b-dcze1vkvic] {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.aimodel-form-group input[b-dcze1vkvic],
.aimodel-form-group select[b-dcze1vkvic] {
    padding: 5px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 12px;
    background: white;
    color: #334155;
    outline: none;
}

.aimodel-form-group input:focus[b-dcze1vkvic],
.aimodel-form-group select:focus[b-dcze1vkvic] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.aimodel-form-actions[b-dcze1vkvic] {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.aimodel-form-actions .btn-save[b-dcze1vkvic],
.aimodel-form-actions .btn-cancel[b-dcze1vkvic] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-save[b-dcze1vkvic] {
    background: #2563eb;
    color: white;
}

.btn-save:hover[b-dcze1vkvic] {
    background: #1d4ed8;
}

.btn-cancel[b-dcze1vkvic] {
    background: #e5e7eb;
    color: #374151;
}

.btn-cancel:hover[b-dcze1vkvic] {
    background: #d1d5db;
}

/* ── AI Model Card Grid ── */
.aimodel-grid[b-dcze1vkvic] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    overflow-y: auto;
    padding-bottom: 4px;
}

.aim-card[b-dcze1vkvic] {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
}

.aim-card:hover[b-dcze1vkvic] {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.aim-card.default[b-dcze1vkvic] {
    border-color: #fbbf24;
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.3);
}

.aim-card.default:hover[b-dcze1vkvic] {
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.aim-card-accent[b-dcze1vkvic] {
    height: 3px;
    width: 100%;
    flex-shrink: 0;
}

.aim-card-body[b-dcze1vkvic] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px 6px;
    gap: 3px;
}

.aim-card-top[b-dcze1vkvic] {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.aim-card-icon[b-dcze1vkvic] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.aim-default-star[b-dcze1vkvic] {
    position: absolute;
    top: -2px;
    right: 4px;
    color: #f59e0b;
    font-size: 11px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

.aim-card-name[b-dcze1vkvic] {
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aim-card-model[b-dcze1vkvic] {
    font-size: 9px;
    color: #64748b;
    text-align: center;
    font-family: 'Consolas', monospace;
}

.aim-card-provider[b-dcze1vkvic] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 600;
    margin-top: 2px;
}

.aim-card-actions[b-dcze1vkvic] {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.aim-action-btn[b-dcze1vkvic] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    color: #64748b;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.15s;
}

.aim-action-btn:hover[b-dcze1vkvic] {
    background: #f1f5f9;
    color: #334155;
}

.aim-action-btn.danger:hover[b-dcze1vkvic] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

.aimodel-empty[b-dcze1vkvic] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 12px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.btn-add-first[b-dcze1vkvic] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 4px;
}

.btn-add-first:hover[b-dcze1vkvic] {
    background: #1d4ed8;
}

/* ── Purpose Badge ── */
.aim-purpose-badge[b-dcze1vkvic] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    background: #fef3c7;
    color: #92400e;
    margin-top: 3px;
    width: fit-content;
}

/* ── Purpose Conflict Warning ── */
.aimodel-purpose-conflict[b-dcze1vkvic] {
    padding: 6px 8px;
    border-radius: 4px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    font-size: 10px;
    color: #664d03;
    line-height: 1.4;
}
/* _content/NeureauAIEngine.ServerDashboard/Components/Shared/Designer2bTemplates.razor.rz.scp.css */
/* ── Templates Panel ── */
.d2b-templates-panel[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    overflow-y: auto;
    flex: 1;
}

.template-search[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 4px;
}

.template-search i[b-bbd3n3r8wn] {
    color: #94a3b8;
    font-size: 12px;
}

.template-search input[b-bbd3n3r8wn] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 12px;
    color: #334155;
}

/* ── Section Headers ── */
.tpl-section[b-bbd3n3r8wn] {
    margin-bottom: 4px;
}

.tpl-section-header[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 6px;
}

.tpl-section-header i[b-bbd3n3r8wn] {
    font-size: 14px;
    color: #64748b;
}

.tpl-section-header i:first-child[b-bbd3n3r8wn] {
    font-size: 10px;
    width: 14px;
    text-align: center;
}

.tpl-section-toggle[b-bbd3n3r8wn] {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.tpl-section-toggle:hover[b-bbd3n3r8wn] {
    color: #1e40af;
}

.tpl-section-count[b-bbd3n3r8wn] {
    margin-left: auto;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
}

/* ── Deployed Connections ── */
.tpl-deployed-list[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 2px 4px;
}

.tpl-deployed-item[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.tpl-deployed-item:hover[b-bbd3n3r8wn] {
    background: #f1f5f9;
}

.tpl-deployed-dot[b-bbd3n3r8wn] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tpl-deployed-dot.running[b-bbd3n3r8wn] {
    background: #22c55e;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}

.tpl-deployed-dot.stopped[b-bbd3n3r8wn] {
    background: #cbd5e1;
}

.tpl-deployed-info[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tpl-deployed-name[b-bbd3n3r8wn] {
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-deployed-meta[b-bbd3n3r8wn] {
    font-size: 9px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tpl-runtime-badge[b-bbd3n3r8wn] {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 8px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 3px;
}

.tpl-deployed-empty[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    color: #94a3b8;
}

.tpl-deployed-empty i[b-bbd3n3r8wn] {
    font-size: 24px;
    opacity: 0.5;
}

.tpl-deployed-empty span[b-bbd3n3r8wn] {
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
}

/* ── Category Sections (collapsible) ── */
.tpl-category[b-bbd3n3r8wn] {
    margin-bottom: 2px;
}

.tpl-category-header[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.tpl-category-header:hover[b-bbd3n3r8wn] {
    color: #334155;
}

.tpl-category-header i[b-bbd3n3r8wn] {
    font-size: 10px;
    width: 12px;
    text-align: center;
}

.tpl-category-count[b-bbd3n3r8wn] {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 8px;
    min-width: 20px;
    text-align: center;
}

/* ── Template Cards (single column, large icon) ── */
.tpl-card-list[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 0 8px;
}

.tpl-card[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
    padding: 0;
}

.tpl-card:hover[b-bbd3n3r8wn] {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.tpl-card:active[b-bbd3n3r8wn] {
    transform: scale(0.98);
}

.tpl-card-top[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 0 8px;
}

.tpl-card-icon[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.tpl-card-top-text[b-bbd3n3r8wn] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tpl-card-title[b-bbd3n3r8wn] {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-card-protocols[b-bbd3n3r8wn] {
    display: flex;
    gap: 4px;
}

.tpl-protocol-badge[b-bbd3n3r8wn] {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    background: #f0f4ff;
    color: #3b5998;
    border: 1px solid #d0daf0;
    letter-spacing: 0.3px;
}

.tpl-card-desc[b-bbd3n3r8wn] {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 4px 12px 0;
}

.tpl-card-pills[b-bbd3n3r8wn] {
    display: flex;
    gap: 4px;
    padding: 6px 12px 10px;
    flex-wrap: wrap;
}

/* ── Worker Chain Topology Pills (color-coded per worker type) ── */
.tpl-role-pill[b-bbd3n3r8wn] {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.tpl-role-pill.role-planner[b-bbd3n3r8wn] {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.tpl-role-pill.role-executor[b-bbd3n3r8wn] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.tpl-role-pill.role-evaluator[b-bbd3n3r8wn] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.tpl-role-pill.role-tool[b-bbd3n3r8wn] {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #c4b5fd;
}

.tpl-role-pill.role-router[b-bbd3n3r8wn] {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #a5b4fc;
}

.tpl-role-pill.role-aggregator[b-bbd3n3r8wn] {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}

.tpl-role-pill.role-mcp[b-bbd3n3r8wn] {
    background: #fce7f3;
    color: #9d174d;
    border: 1px solid #f9a8d4;
}

.tpl-role-pill.role-hitl[b-bbd3n3r8wn] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fda4af;
}

/* ── Fire-and-Forget type pills (dashed border = FF convention) ── */
.tpl-role-pill.role-ff-logger[b-bbd3n3r8wn] {
    background: #f1f5f9;
    color: #475569;
    border: 1px dashed #94a3b8;
}

.tpl-role-pill.role-ff-alert[b-bbd3n3r8wn] {
    background: #fff7ed;
    color: #c2410c;
    border: 1px dashed #fb923c;
}

.tpl-role-pill.role-ff-webhook[b-bbd3n3r8wn] {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px dashed #60a5fa;
}

.tpl-role-pill.role-ff-email[b-bbd3n3r8wn] {
    background: #fdf4ff;
    color: #a21caf;
    border: 1px dashed #d946ef;
}

.tpl-role-pill.role-ff-audit[b-bbd3n3r8wn] {
    background: #f0fdf4;
    color: #166534;
    border: 1px dashed #4ade80;
}

/* ── Feature Pills ── */
.tpl-feature-pill[b-bbd3n3r8wn] {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px dashed #c4b5fd;
}

.tpl-empty[b-bbd3n3r8wn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 12px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.tpl-empty i[b-bbd3n3r8wn] {
    font-size: 24px;
    opacity: 0.5;
}

/* ── Detail Expander (Configuration & Expected Results) ── */
.tpl-detail-expander[b-bbd3n3r8wn] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.tpl-detail-expander:hover[b-bbd3n3r8wn] {
    color: #4338ca;
}

.tpl-detail-panel[b-bbd3n3r8wn] {
    padding: 0 12px 10px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 2px;
}

.tpl-detail-section[b-bbd3n3r8wn] {
    margin-top: 6px;
}

.tpl-detail-label[b-bbd3n3r8wn] {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.tpl-detail-list[b-bbd3n3r8wn] {
    margin: 0;
    padding-left: 16px;
    font-size: 10px;
    color: #64748b;
    line-height: 1.5;
}

.tpl-detail-list li[b-bbd3n3r8wn] {
    margin-bottom: 1px;
}

.tpl-detail-flow[b-bbd3n3r8wn] {
    font-size: 10px;
    color: #64748b;
    line-height: 1.5;
    font-style: italic;
}
/* _content/NeureauAIEngine.ServerDashboard/Components/Shared/Designer2bTestRunner.razor.rz.scp.css */
/* ── Resize Handle ── */
.d2b-test-resize-handle[b-qyysk35lwu] {
    height: 6px;
    cursor: row-resize;
    background: transparent;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    transition: background 0.15s ease;
}

.d2b-test-resize-handle[b-qyysk35lwu]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 2px;
    width: 32px;
    border-radius: 2px;
    background: #c0c0c0;
    transition: background 0.15s ease, width 0.15s ease;
}

.d2b-test-resize-handle:hover[b-qyysk35lwu] {
    background: rgba(33, 150, 243, 0.15);
}

.d2b-test-resize-handle:hover[b-qyysk35lwu]::after {
    background: #2196f3;
    width: 48px;
}

.d2b-test-resize-handle:active[b-qyysk35lwu] {
    background: rgba(33, 150, 243, 0.3);
}

/* ── Test Panel ── */
.d2b-test-panel[b-qyysk35lwu] {
    flex-shrink: 0;
    border-top: 2px solid #1976d2;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.d2b-test-header[b-qyysk35lwu] {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: #e3f2fd;
    border-bottom: 1px solid #bbdefb;
    font-size: 12px;
    gap: 6px;
    flex-shrink: 0;
}

.d2b-test-close-btn[b-qyysk35lwu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    color: #64748b;
    transition: all 0.15s;
}

.d2b-test-close-btn:hover[b-qyysk35lwu] {
    background: #f1f5f9;
    color: #334155;
}

.d2b-test-body[b-qyysk35lwu] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Left: Controls ── */
.d2b-test-controls[b-qyysk35lwu] {
    width: 260px;
    padding: 8px 12px;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
}

.d2b-test-label[b-qyysk35lwu] {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #374151;
}

.d2b-test-select[b-qyysk35lwu] {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    background: white;
    color: #333;
    outline: none;
}

.d2b-test-select:focus[b-qyysk35lwu] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.d2b-test-input[b-qyysk35lwu] {
    width: 100%;
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 10px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    color: #333;
}

.d2b-test-input:focus[b-qyysk35lwu] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* ── Toggle Switch ── */
.d2b-toggle-switch[b-qyysk35lwu] {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    cursor: pointer;
}

.d2b-toggle-switch input[b-qyysk35lwu] {
    opacity: 0;
    width: 0;
    height: 0;
}

.d2b-toggle-slider[b-qyysk35lwu] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 9px;
    transition: background 0.2s;
}

.d2b-toggle-slider[b-qyysk35lwu]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.d2b-toggle-switch input:checked + .d2b-toggle-slider[b-qyysk35lwu] {
    background: #2196f3;
}

.d2b-toggle-switch input:checked + .d2b-toggle-slider[b-qyysk35lwu]::before {
    transform: translateX(14px);
}

/* ── Right: Trace ── */
.d2b-test-trace[b-qyysk35lwu] {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.d2b-test-empty[b-qyysk35lwu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    text-align: center;
}

/* ── Step Cards ── */
.d2b-test-step[b-qyysk35lwu] {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 11px;
    transition: background 0.15s;
}

.d2b-test-step:hover[b-qyysk35lwu] {
    background: #f5f5f5;
}

.d2b-test-step.success[b-qyysk35lwu] {
    border-left: 3px solid #198754;
}

.d2b-test-step.failed[b-qyysk35lwu] {
    border-left: 3px solid #dc3545;
    background: #fff5f5;
}

.d2b-test-step.skipped[b-qyysk35lwu] {
    border-left: 3px solid #6c757d;
    opacity: 0.7;
}

.d2b-test-step-header[b-qyysk35lwu] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.d2b-test-step-num[b-qyysk35lwu] {
    font-size: 9px;
    font-weight: 700;
    color: #888;
    min-width: 16px;
}

.d2b-test-step-icon[b-qyysk35lwu] {
    flex-shrink: 0;
}

.d2b-test-step-info[b-qyysk35lwu] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.d2b-test-step-name[b-qyysk35lwu] {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.d2b-test-step-type[b-qyysk35lwu] {
    font-size: 9px;
    color: #888;
    flex-shrink: 0;
}

.d2b-test-step-time[b-qyysk35lwu] {
    font-size: 9px;
    color: #888;
    flex-shrink: 0;
    font-family: 'Cascadia Code', monospace;
}

.d2b-test-step-detail[b-qyysk35lwu] {
    font-size: 10px;
    margin-top: 3px;
    padding-left: 28px;
    word-break: break-word;
}

/* ── I/O Data ── */
.d2b-test-step-io-label[b-qyysk35lwu] {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 5px;
    padding-left: 28px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.d2b-test-step-io-label.input[b-qyysk35lwu] {
    color: #6b7280;
}

.d2b-test-step-io-label.output[b-qyysk35lwu] {
    color: #4b7b5a;
}

.d2b-test-step-io[b-qyysk35lwu] {
    font-size: 10px;
    margin-top: 2px;
    padding: 4px 6px 4px 28px;
    border-radius: 3px;
    font-family: 'Cascadia Code', monospace;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 100px;
    overflow-y: auto;
    color: #333;
}

.d2b-test-step-io.input[b-qyysk35lwu] {
    background: #f0f4ff;
    border-left: 2px solid #93c5fd;
}

.d2b-test-step-io.output[b-qyysk35lwu] {
    background: #f0fdf4;
    border-left: 2px solid #86efac;
}

/* ── LLM Badge ── */
.d2b-test-llm-badge[b-qyysk35lwu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 3px 0 1px 28px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    width: fit-content;
}

/* ── Cross-Connection Boundary ── */
.d2b-test-connection-boundary[b-qyysk35lwu] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin: 4px 0;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    border: 1px dashed #f59e0b;
    border-radius: 4px;
}

/* ── Tier Badge ── */
.d2b-test-tier-badge[b-qyysk35lwu] {
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    background: #e0e7ff;
    color: #4338ca;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── Worker Badges ── */
.d2b-test-worker-badge[b-qyysk35lwu] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.d2b-test-worker-badge.planner[b-qyysk35lwu] {
    background: #fce7f3;
    color: #9d174d;
}

.d2b-test-worker-badge.executor[b-qyysk35lwu] {
    background: #dbeafe;
    color: #1e40af;
}

.d2b-test-worker-badge.evaluator[b-qyysk35lwu] {
    background: #ede9fe;
    color: #5b21b6;
}

.d2b-test-worker-badge.router[b-qyysk35lwu] {
    background: #dcfce7;
    color: #166534;
}

.d2b-test-worker-badge.aggregator[b-qyysk35lwu] {
    background: #ffedd5;
    color: #9a3412;
}

.d2b-test-worker-badge.tool[b-qyysk35lwu] {
    background: #ccfbf1;
    color: #115e59;
}

.d2b-test-worker-badge.ff[b-qyysk35lwu] {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px dashed #9ca3af;
}

/* ── Worker Chain Indentation ── */
.worker-chain-1[b-qyysk35lwu] { margin-left: 16px; }
.worker-chain-2[b-qyysk35lwu] { margin-left: 32px; }
.worker-chain-3[b-qyysk35lwu] { margin-left: 48px; }
.worker-chain-4[b-qyysk35lwu] { margin-left: 64px; }

/* ── Worker Boundary ── */
.d2b-test-worker-boundary[b-qyysk35lwu] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin: 4px 0;
    font-size: 11px;
    font-weight: 600;
    color: #1e40af;
    background: #eff6ff;
    border: 1px dashed #60a5fa;
    border-radius: 4px;
}

/* ── FF Worker Step ── */
.d2b-test-step.ff-worker[b-qyysk35lwu] {
    border-left: 3px dashed #9ca3af;
    opacity: 0.85;
}

/* ── Worker Chain Arrow ── */
.d2b-test-chain-from[b-qyysk35lwu] {
    font-size: 9px;
    color: #6b7280;
    margin-left: 28px;
    margin-top: 1px;
}

/* ── FF Async Indicator ── */
.d2b-test-ff-indicator[b-qyysk35lwu] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: #6b7280;
    margin-left: 28px;
    margin-top: 1px;
}

/* ── Worker Error Detail ── */
.d2b-test-worker-error[b-qyysk35lwu] {
    font-size: 10px;
    color: #dc3545;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 4px 0 2px 28px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    word-break: break-word;
}

/* ── Pre-Route Worker Boundary ── */
.d2b-test-worker-boundary.preroute[b-qyysk35lwu] {
    border-color: #e65100;
    color: #e65100;
    background: #fff3e0;
}

/* ── Warnings ── */
.d2b-test-warnings[b-qyysk35lwu] {
    padding: 6px 8px;
    background: #fff3cd;
    border-radius: 4px;
    border: 1px solid #ffc107;
}

/* ── Enrichment Summary ── */
.d2b-test-enrichment-summary[b-qyysk35lwu] {
    margin: 4px 0 4px 28px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    font-size: 10px;
}

.d2b-test-enrichment-header[b-qyysk35lwu] {
    padding: 4px 10px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    font-weight: 700;
    font-size: 10px;
    color: #e65100;
    display: flex;
    align-items: center;
    gap: 4px;
}

.d2b-test-enrichment-row[b-qyysk35lwu] {
    padding: 3px 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    border-top: 1px solid #f0f0f0;
}

.d2b-test-enrichment-label[b-qyysk35lwu] {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #888;
    min-width: 90px;
    flex-shrink: 0;
}

.d2b-test-enrichment-pill[b-qyysk35lwu] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    background: #e3f2fd;
    color: #1565c0;
}

.d2b-test-enrichment-risk[b-qyysk35lwu] {
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 10px;
}

.d2b-test-enrichment-risk.low[b-qyysk35lwu] {
    background: #e8f5e9;
    color: #2e7d32;
}

.d2b-test-enrichment-risk.medium[b-qyysk35lwu] {
    background: #fff3e0;
    color: #e65100;
}

.d2b-test-enrichment-risk.high[b-qyysk35lwu] {
    background: #ffebee;
    color: #c62828;
}

.d2b-test-enrichment-entity[b-qyysk35lwu] {
    font-size: 10px;
    padding: 1px 6px;
    background: #f5f5f5;
    border-radius: 3px;
}

.d2b-test-enrichment-directive[b-qyysk35lwu] {
    font-weight: 600;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 4px;
    background: #e8eaf6;
    color: #283593;
}

/* ── Explainer Column ── */
.d2b-test-explainer[b-qyysk35lwu] {
    width: 30%;
    min-width: 240px;
    border-left: 1px solid #e8e0d0;
    overflow-y: auto;
    padding: 8px;
    background: #fefcf3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.d2b-explainer-loading[b-qyysk35lwu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0;
    font-size: 11px;
    color: #78716c;
}

.d2b-explainer-card[b-qyysk35lwu] {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e8e0d0;
    background: #fffef9;
    font-size: 11px;
    line-height: 1.5;
    color: #44403c;
}

.d2b-explainer-step-num[b-qyysk35lwu] {
    font-size: 9px;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.d2b-explainer-narrative[b-qyysk35lwu] {
    margin-bottom: 6px;
    line-height: 1.6;
}

.d2b-explainer-section[b-qyysk35lwu] {
    margin-top: 4px;
    padding-top: 3px;
    border-top: 1px solid #f0ebe0;
    font-size: 10px;
    color: #57534e;
}

.d2b-explainer-section-label[b-qyysk35lwu] {
    font-size: 9px;
    font-weight: 700;
    color: #a8a29e;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 1px;
}

.d2b-explainer-insight[b-qyysk35lwu] {
    margin-top: 6px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #fef9c3;
    border: 1px solid #fde68a;
    font-size: 10px;
    color: #854d0e;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.d2b-explainer-insight i[b-qyysk35lwu] {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 1px;
}

.d2b-explainer-empty[b-qyysk35lwu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    flex: 1;
}
/* _content/NeureauAIEngine.ServerDashboard/Components/Shared/EndpointRoutingEditor.razor.rz.scp.css */
.endpoint-routing-editor[b-gnib4xo8cs] {
    padding: 1rem;
}

.alert-sm[b-gnib4xo8cs] {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.section-header[b-gnib4xo8cs] {
    font-size: 0.95rem;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.endpoint-card[b-gnib4xo8cs] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.endpoint-card:hover[b-gnib4xo8cs] {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.endpoint-card-header[b-gnib4xo8cs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.375rem 0.375rem 0 0;
    user-select: none;
}

.endpoint-card-header:hover[b-gnib4xo8cs] {
    background: #e9ecef;
}

.endpoint-info[b-gnib4xo8cs] {
    display: flex;
    align-items: center;
    flex: 1;
}

.endpoint-name[b-gnib4xo8cs] {
    font-weight: 600;
    color: #212529;
}

.endpoint-details[b-gnib4xo8cs] {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.endpoint-actions[b-gnib4xo8cs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.endpoint-card-body[b-gnib4xo8cs] {
    padding: 1rem;
}

.code-editor[b-gnib4xo8cs] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    resize: vertical;
}

.code-editor:focus[b-gnib4xo8cs] {
    background: #fff;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-label strong[b-gnib4xo8cs] {
    font-weight: 600;
}

.form-check-label small[b-gnib4xo8cs] {
    margin-top: 0.25rem;
}

/* Syntax highlighting hints */
.code-editor[b-gnib4xo8cs]::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Collapsible animation */
.endpoint-card-body[b-gnib4xo8cs] {
    animation: slideDown-b-gnib4xo8cs 0.2s ease-out;
}

@keyframes slideDown-b-gnib4xo8cs {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Badge styling */
.badge[b-gnib4xo8cs] {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Button group spacing */
.d-flex.gap-2[b-gnib4xo8cs] {
    gap: 0.5rem;
}

/* Template selector */
.form-select-sm[b-gnib4xo8cs] {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .endpoint-info[b-gnib4xo8cs] {
        flex-direction: column;
        align-items: flex-start;
    }

    .endpoint-details[b-gnib4xo8cs] {
        margin-left: 0;
        margin-top: 0.25rem;
    }
}
