/* /Components/ActivityBar.razor.rz.scp.css */
.activity-bar[b-kmb8byk7cb] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 56px;
    min-width: 56px;
    background: var(--bg-secondary, #16162a);
    border-left: 1px solid var(--border-color, #2d2d44);
    padding: 12px 0;
    transition: border-color 0.15s ease;
}

/* When artifacts is active, remove the top border to blend with header */
.activity-bar.artifacts-active[b-kmb8byk7cb] {
    border-left-color: transparent;
}

.activity-bar-top[b-kmb8byk7cb],
.activity-bar-bottom[b-kmb8byk7cb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.activity-bar-button[b-kmb8byk7cb] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-muted, #6b6b80);
    cursor: pointer;
    transition: all 0.15s ease;
}

.activity-bar-button:hover[b-kmb8byk7cb] {
    color: var(--text-secondary, #a0a0a0);
    background: var(--bg-hover, rgba(255, 255, 255, 0.05));
}

.activity-bar-button.active[b-kmb8byk7cb] {
    color: var(--text-primary, #e0e0e0);
    background: var(--bg-active, rgba(212, 96, 160, 0.15));
}

/* Pink indicator on the LEFT side */
.activity-bar-button.active[b-kmb8byk7cb]::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--accent-primary, #d460a0);
    border-radius: 0 2px 2px 0;
}

.activity-badge[b-kmb8byk7cb] {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--accent-primary, #d460a0);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Components/ArtifactsPanel.razor.rz.scp.css */
.artifacts-panel[b-v3ot2yiphg] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-primary, #ffffff);
}

.artifacts-header[b-v3ot2yiphg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.artifacts-title[b-v3ot2yiphg] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted, #6b7280);
}

.artifacts-actions[b-v3ot2yiphg] {
    display: flex;
    gap: 4px;
}

.artifacts-action-btn[b-v3ot2yiphg] {
    background: transparent;
    border: none;
    color: var(--text-muted, #6b7280);
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.artifacts-action-btn:hover[b-v3ot2yiphg] {
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-primary, #1f2937);
}

.artifacts-action-btn.danger:hover[b-v3ot2yiphg] {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.artifacts-content[b-v3ot2yiphg] {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.artifacts-empty[b-v3ot2yiphg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
}

.empty-icon[b-v3ot2yiphg] {
    color: var(--text-muted, #9ca3af);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text[b-v3ot2yiphg] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #6b7280);
    margin: 0 0 8px 0;
}

.empty-hint[b-v3ot2yiphg] {
    font-size: 12px;
    color: var(--text-muted, #9ca3af);
    margin: 0 0 16px 0;
}

.empty-dropzone-hint[b-v3ot2yiphg] {
    font-size: 11px;
    color: var(--text-muted, #9ca3af);
    padding: 12px 16px;
    border: 2px dashed var(--border-color, #e5e7eb);
    border-radius: 8px;
    margin-top: 8px;
}

/* Drag and drop states */
.artifacts-panel.drag-over .artifacts-content[b-v3ot2yiphg] {
    background: rgba(212, 96, 160, 0.05);
    border: 2px dashed var(--accent-primary, #d460a0);
    border-radius: 8px;
    margin: 8px;
}

.artifacts-panel.drag-over .empty-dropzone-hint[b-v3ot2yiphg] {
    border-color: var(--accent-primary, #d460a0);
    background: rgba(212, 96, 160, 0.1);
    color: var(--accent-primary, #d460a0);
}

/* File Tree */
.file-tree[b-v3ot2yiphg] {
    user-select: none;
}

.tree-item[b-v3ot2yiphg] {
    position: relative;
}

.tree-item-content[b-v3ot2yiphg] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    padding-left: calc(8px + var(--depth, 0) * 16px);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.tree-item-content:hover[b-v3ot2yiphg] {
    background: var(--bg-hover, #f3f4f6);
}

.tree-item.selected>.tree-item-content[b-v3ot2yiphg] {
    background: var(--bg-active, #e5e7eb);
}

.tree-item.open>.tree-item-content[b-v3ot2yiphg] {
    background: rgba(212, 96, 160, 0.1);
}

.tree-chevron[b-v3ot2yiphg] {
    color: var(--text-muted, #9ca3af);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.tree-item.folder.expanded>.tree-item-content>.tree-chevron[b-v3ot2yiphg] {
    transform: rotate(90deg);
}

.tree-icon[b-v3ot2yiphg] {
    flex-shrink: 0;
}

.folder-icon[b-v3ot2yiphg] {
    color: #f59e0b;
}

.file-icon[b-v3ot2yiphg] {
    color: var(--text-muted, #9ca3af);
}

.tree-name[b-v3ot2yiphg] {
    font-size: 13px;
    color: var(--text-primary, #1f2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Editable folder name */
.tree-name-input[b-v3ot2yiphg] {
    font-size: 13px;
    color: var(--text-primary, #1f2937);
    background: var(--bg-primary, #ffffff);
    border: 1px solid var(--accent-primary, #d460a0);
    border-radius: 4px;
    padding: 2px 6px;
    margin: -2px 0;
    outline: none;
    width: 100%;
    min-width: 80px;
}

.tree-children[b-v3ot2yiphg] {
    position: relative;
}

.tree-children[b-v3ot2yiphg]::before {
    content: '';
    position: absolute;
    left: calc(18px + var(--depth, 0) * 16px);
    top: 0;
    bottom: 8px;
    width: 1px;
    background: var(--border-color, #e5e7eb);
}

/* File Preview */
.file-preview[b-v3ot2yiphg] {
    border-top: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-secondary, #f9fafb);
    max-height: 40%;
    display: flex;
    flex-direction: column;
}

.file-preview-header[b-v3ot2yiphg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(212, 96, 160, 0.1);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.file-preview-name[b-v3ot2yiphg] {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-primary, #d460a0);
}

.file-preview-close[b-v3ot2yiphg] {
    background: transparent;
    border: none;
    color: var(--text-muted, #9ca3af);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-preview-close:hover[b-v3ot2yiphg] {
    background: var(--bg-hover, #f3f4f6);
    color: var(--text-primary, #1f2937);
}

.file-preview-content[b-v3ot2yiphg] {
    flex: 1;
    overflow: auto;
    padding: 12px;
}

.file-preview-content pre[b-v3ot2yiphg] {
    margin: 0;
    font-family: 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 12px;
    line-height: 1.6;
}

.file-preview-content code[b-v3ot2yiphg] {
    color: var(--text-primary, #1f2937);
    white-space: pre-wrap;
    word-break: break-word;
}

/* Upload progress styles */
.tree-item.uploading>.tree-item-content[b-v3ot2yiphg] {
    opacity: 0.8;
}

.tree-item.uploading .tree-name[b-v3ot2yiphg] {
    font-style: italic;
}

.tree-item.upload-failed>.tree-item-content[b-v3ot2yiphg] {
    opacity: 0.6;
}

.upload-progress-wrapper[b-v3ot2yiphg] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon[b-v3ot2yiphg] {
    color: #ef4444;
    flex-shrink: 0;
}

/* Artifact grouping styles */
.artifact-group[b-v3ot2yiphg] {
    margin-bottom: 4px;
}

.artifact-group-header[b-v3ot2yiphg] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    user-select: none;
}

.artifact-group-header:hover[b-v3ot2yiphg] {
    background: var(--bg-hover, #f3f4f6);
}

.group-chevron[b-v3ot2yiphg] {
    color: var(--text-muted, #9ca3af);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.group-chevron.expanded[b-v3ot2yiphg] {
    transform: rotate(90deg);
}

.group-icon[b-v3ot2yiphg] {
    font-size: 14px;
    flex-shrink: 0;
}

.group-name[b-v3ot2yiphg] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    flex: 1;
}

.group-count[b-v3ot2yiphg] {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted, #9ca3af);
    background: var(--bg-tertiary, #f5f5f6);
    padding: 2px 8px;
    border-radius: 10px;
}

.artifact-group-items[b-v3ot2yiphg] {
    margin-left: 8px;
    border-left: 1px solid var(--border-subtle, #f0f1f4);
    padding-left: 8px;
}
/* /Components/Auth/LoginModal.razor.rz.scp.css */
.modal-backdrop[b-3aod54axoa] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn-b-3aod54axoa 0.2s ease-out;
}

@keyframes fadeIn-b-3aod54axoa {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container[b-3aod54axoa] {
    position: relative;
    background: var(--bg-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 360px;
    margin: 16px;
    margin-top: 48px;
    animation: slideUp-b-3aod54axoa 0.25s ease-out;
}

@keyframes slideUp-b-3aod54axoa {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-btn[b-3aod54axoa] {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close-btn:hover[b-3aod54axoa] {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.modal-icon[b-3aod54axoa] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.modal-header[b-3aod54axoa] {
    padding: 40px 24px 8px;
    text-align: center;
}

.modal-title[b-3aod54axoa] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-content[b-3aod54axoa] {
    padding: 16px 24px;
}

.input-group[b-3aod54axoa] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group+.input-group[b-3aod54axoa] {
    margin-top: 12px;
}

.input-label[b-3aod54axoa] {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-input[b-3aod54axoa] {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input:focus[b-3aod54axoa] {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 96, 160, 0.1);
}

.text-input[b-3aod54axoa]::placeholder {
    color: var(--text-muted);
}

.text-input.suggesting[b-3aod54axoa] {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* Input with indicator (for name suggestion) */
.input-with-indicator[b-3aod54axoa] {
    position: relative;
}

.input-with-indicator .text-input[b-3aod54axoa] {
    padding-right: 36px;
}

.input-spinner[b-3aod54axoa] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
}

.input-spinner.visible[b-3aod54axoa] {
    opacity: 1;
    visibility: visible;
    animation: spin-b-3aod54axoa 0.8s linear infinite;
}

.error-message[b-3aod54axoa] {
    margin-top: 12px;
    padding: 8px 10px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    font-size: 13px;
    color: var(--accent-error);
}

.modal-footer[b-3aod54axoa] {
    padding: 8px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.primary-btn[b-3aod54axoa] {
    width: 100%;
    padding: 12px 20px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn:hover:not(:disabled)[b-3aod54axoa] {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.primary-btn:disabled[b-3aod54axoa] {
    opacity: 0.5;
    cursor: not-allowed;
}

.primary-btn.passkey-btn[b-3aod54axoa] {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.text-link[b-3aod54axoa] {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.text-link:hover[b-3aod54axoa] {
    color: var(--text-secondary);
}

.text-link svg[b-3aod54axoa] {
    opacity: 0.7;
}

.spinner[b-3aod54axoa] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-3aod54axoa 0.8s linear infinite;
}

@keyframes spin-b-3aod54axoa {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Chat/ChatPanel.razor.rz.scp.css */
.chat-panel[b-be8tbe2r7a] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.messages-container[b-be8tbe2r7a] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    padding-bottom: 60px;
    scroll-behavior: smooth;
    background: var(--bg-primary);
}

/* Fade element - overlays bottom of messages container */
.messages-fade[b-be8tbe2r7a] {
    position: relative;
    z-index: 2;
    height: 48px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
    flex-shrink: 0;
    margin-top: -48px;
}

/* Welcome Screen - Clean UniFi Style */
.welcome-screen[b-be8tbe2r7a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
    color: var(--text-primary);
    animation: fadeIn 0.6s ease;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-header[b-be8tbe2r7a] {
    margin-bottom: 60px;
}

.welcome-logo-container[b-be8tbe2r7a] {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.logo-glow[b-be8tbe2r7a] {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(212, 96, 160, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow-b-be8tbe2r7a 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-glow-b-be8tbe2r7a {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.welcome-logo[b-be8tbe2r7a] {
    font-size: 100px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 20px rgba(212, 96, 160, 0.25));
}

.welcome-header h1[b-be8tbe2r7a] {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.gradient-text[b-be8tbe2r7a] {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle[b-be8tbe2r7a] {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Features Section */
.features-section[b-be8tbe2r7a] {
    width: 100%;
    margin-bottom: 60px;
}

.section-title[b-be8tbe2r7a] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.features[b-be8tbe2r7a] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.feature[b-be8tbe2r7a] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.feature:hover[b-be8tbe2r7a] {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper[b-be8tbe2r7a] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 96, 160, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--accent-primary);
}

.feature-icon[b-be8tbe2r7a] {
    font-size: 20px;
}

.feature-content[b-be8tbe2r7a] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-title[b-be8tbe2r7a] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-desc[b-be8tbe2r7a] {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.cta-section[b-be8tbe2r7a] {
    padding: 28px 40px;
    background: rgba(212, 96, 160, 0.04);
    border: 1px solid rgba(212, 96, 160, 0.12);
    border-radius: 16px;
}

.cta-text[b-be8tbe2r7a] {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.cta-hint[b-be8tbe2r7a] {
    font-size: 14px;
    color: var(--text-secondary);
}

.cta-hint strong[b-be8tbe2r7a] {
    color: var(--accent-primary);
}

/* Layout Toggle Button */
.layout-toggle-container[b-be8tbe2r7a] {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0;
    margin-bottom: 8px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.layout-toggle-btn[b-be8tbe2r7a] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.layout-toggle-btn:hover[b-be8tbe2r7a] {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.layout-toggle-btn svg[b-be8tbe2r7a] {
    opacity: 0.7;
}

.layout-toggle-btn:hover svg[b-be8tbe2r7a] {
    opacity: 1;
}

@media (max-width: 768px) {
    .layout-toggle-container[b-be8tbe2r7a] {
        padding: 8px 16px;
    }
}

/* Typing Indicator */
.typing-indicator-container[b-be8tbe2r7a] {
    display: flex;
    padding: 12px 24px;
}

.typing-indicator[b-be8tbe2r7a] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 18px;
    border: 1px solid var(--border-color);
}

.typing-indicator .dot[b-be8tbe2r7a] {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: bounce-b-be8tbe2r7a 1.4s infinite ease-in-out both;
}

.typing-indicator .dot:nth-child(1)[b-be8tbe2r7a] {
    animation-delay: -0.32s;
}

.typing-indicator .dot:nth-child(2)[b-be8tbe2r7a] {
    animation-delay: -0.16s;
}

.typing-indicator .dot:nth-child(3)[b-be8tbe2r7a] {
    animation-delay: 0s;
}

@keyframes bounce-b-be8tbe2r7a {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Error Message Container */
.error-message-container[b-be8tbe2r7a] {
    display: flex;
    justify-content: center;
    padding: 16px;
    animation: fadeIn 0.3s ease;
}

.error-message[b-be8tbe2r7a] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 600px;
    padding: 16px 20px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
}

.error-icon[b-be8tbe2r7a] {
    color: var(--accent-error, #ef4444);
    flex-shrink: 0;
    margin-top: 2px;
}

.error-content[b-be8tbe2r7a] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.error-text[b-be8tbe2r7a] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

.error-retry-btn[b-be8tbe2r7a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent-error, #ef4444);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.error-retry-btn:hover[b-be8tbe2r7a] {
    background: #dc2626;
    transform: translateY(-1px);
}

.error-dismiss-btn[b-be8tbe2r7a] {
    padding: 8px 16px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.error-dismiss-btn:hover[b-be8tbe2r7a] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Pending Conversation State */
.pending-conversation-state[b-be8tbe2r7a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
    color: var(--text-primary);
    animation: fadeIn 0.4s ease;
    padding: 60px 40px;
}

.pending-icon[b-be8tbe2r7a] {
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0.6;
}

.pending-title[b-be8tbe2r7a] {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.pending-hint[b-be8tbe2r7a] {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}
/* /Components/Chat/ConfluenceResponse.razor.rz.scp.css */
.confluence-container[b-0y1g9i1oj8] {
    margin: 12px 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(59, 130, 246, 0.08) 50%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideIn-b-0y1g9i1oj8 0.3s ease;
}

@keyframes slideIn-b-0y1g9i1oj8 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confluence-header[b-0y1g9i1oj8] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(168, 85, 247, 0.1);
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    cursor: pointer;
    transition: background 0.2s ease;
}

.confluence-header:hover[b-0y1g9i1oj8] {
    background: rgba(168, 85, 247, 0.15);
}

.confluence-icon[b-0y1g9i1oj8] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a855f7, #3b82f6, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.confluence-title[b-0y1g9i1oj8] {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    flex-grow: 1;
}

.confluence-phase-badge[b-0y1g9i1oj8] {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confluence-phase-badge.gathering[b-0y1g9i1oj8] {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.confluence-phase-badge.synthesising[b-0y1g9i1oj8] {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: pulse-badge-b-0y1g9i1oj8 2s infinite;
}

.confluence-phase-badge.complete[b-0y1g9i1oj8] {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

@keyframes pulse-badge-b-0y1g9i1oj8 {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.expand-toggle[b-0y1g9i1oj8] {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-toggle:hover[b-0y1g9i1oj8] {
    color: var(--text-primary);
}

.chevron[b-0y1g9i1oj8] {
    transition: transform 0.3s ease;
}

.chevron.up[b-0y1g9i1oj8] {
    transform: rotate(180deg);
}

.confluence-body[b-0y1g9i1oj8] {
    padding: 20px;
}

.analysis-section[b-0y1g9i1oj8] {
    margin-bottom: 20px;
}

.analysis-grid[b-0y1g9i1oj8] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .analysis-grid[b-0y1g9i1oj8] {
        grid-template-columns: 1fr;
    }

    .vs-divider[b-0y1g9i1oj8] {
        transform: rotate(90deg);
        margin: 8px auto;
    }
}

.analysis-card[b-0y1g9i1oj8] {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.analysis-card:hover[b-0y1g9i1oj8] {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.analysis-card.streaming[b-0y1g9i1oj8] {
    border-color: rgba(168, 85, 247, 0.4);
}

.analysis-card.secondary[b-0y1g9i1oj8] {
    border-color: var(--border-color);
}

.analysis-card.secondary:hover[b-0y1g9i1oj8] {
    border-color: rgba(59, 130, 246, 0.4);
}

.analysis-card.secondary.streaming[b-0y1g9i1oj8] {
    border-color: rgba(59, 130, 246, 0.4);
}

.analysis-header[b-0y1g9i1oj8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.model-badge[b-0y1g9i1oj8] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
}

.model-badge.primary[b-0y1g9i1oj8] {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.model-badge.secondary[b-0y1g9i1oj8] {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.streaming-indicator[b-0y1g9i1oj8] {
    display: flex;
    gap: 4px;
}

.streaming-indicator .dot[b-0y1g9i1oj8] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a855f7;
    animation: pulse-b-0y1g9i1oj8 1.4s infinite ease-in-out both;
}

.analysis-card.secondary .streaming-indicator .dot[b-0y1g9i1oj8] {
    background: #3b82f6;
}

.streaming-indicator .dot:nth-child(1)[b-0y1g9i1oj8] {
    animation-delay: -0.32s;
}

.streaming-indicator .dot:nth-child(2)[b-0y1g9i1oj8] {
    animation-delay: -0.16s;
}

@keyframes pulse-b-0y1g9i1oj8 {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.token-count[b-0y1g9i1oj8] {
    font-size: 11px;
    color: var(--text-muted);
}

.analysis-content[b-0y1g9i1oj8] {
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    flex: 1;
    min-height: 0;
}

.analysis-content[b-0y1g9i1oj8]::-webkit-scrollbar {
    width: 6px;
}

.analysis-content[b-0y1g9i1oj8]::-webkit-scrollbar-track {
    background: transparent;
}

.analysis-content[b-0y1g9i1oj8]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.analysis-content[b-0y1g9i1oj8]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.analysis-content .waiting[b-0y1g9i1oj8] {
    color: var(--text-muted);
    font-style: italic;
}

.cursor[b-0y1g9i1oj8] {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: #a855f7;
    animation: blink-b-0y1g9i1oj8 1s infinite;
}

.analysis-card.secondary .cursor[b-0y1g9i1oj8] {
    background: #3b82f6;
}

.cursor.synthesis[b-0y1g9i1oj8] {
    background: #10b981;
}

@keyframes blink-b-0y1g9i1oj8 {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.vs-divider[b-0y1g9i1oj8] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.vs-divider span[b-0y1g9i1oj8] {
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Synthesis Section - Drawer Style */
.synthesis-section[b-0y1g9i1oj8] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.synthesis-section.pending[b-0y1g9i1oj8] {
    opacity: 0.6;
    border-style: dashed;
}

.synthesis-section.active[b-0y1g9i1oj8] {
    opacity: 1;
    border-style: solid;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.synthesis-header[b-0y1g9i1oj8] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.synthesis-icon[b-0y1g9i1oj8] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.synthesis-title[b-0y1g9i1oj8] {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
    flex-grow: 1;
}

.synthesis-model[b-0y1g9i1oj8] {
    font-size: 11px;
    color: var(--text-muted);
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
}

.synthesis-content[b-0y1g9i1oj8] {
    padding: 16px;
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
}

.synthesis-content[b-0y1g9i1oj8]::-webkit-scrollbar {
    width: 6px;
}

.synthesis-content[b-0y1g9i1oj8]::-webkit-scrollbar-track {
    background: transparent;
}

.synthesis-content[b-0y1g9i1oj8]::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 3px;
}

.synthesis-content[b-0y1g9i1oj8]::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.3);
}

.synthesis-waiting[b-0y1g9i1oj8] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.waiting-icon[b-0y1g9i1oj8] {
    opacity: 0.5;
    animation: spin-b-0y1g9i1oj8 3s linear infinite;
}

@keyframes spin-b-0y1g9i1oj8 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Collapsed Summary */
.confluence-summary[b-0y1g9i1oj8] {
    padding: 12px 20px;
}

.summary-preview[b-0y1g9i1oj8] {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.summary-status[b-0y1g9i1oj8] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-text[b-0y1g9i1oj8] {
    color: var(--text-muted);
    font-size: 13px;
}
/* /Components/Chat/MessageBubble.razor.rz.scp.css */
/* Message Thread - Clean ChatGPT-style Design */
.message-bubble[b-nxx04u71x3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    animation: fadeIn-b-nxx04u71x3 0.3s ease;
    position: relative;
    max-width: 768px;
    margin: 0 auto;
    width: 100%;
}

/* No banding between regular messages */
.message-bubble.user[b-nxx04u71x3],
.message-bubble.assistant[b-nxx04u71x3] {
    background: transparent;
}

/* System messages - keep visual indicator */
.message-bubble.system[b-nxx04u71x3] {
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-secondary);
    padding-left: 24px;
    margin-left: calc((100% - 768px) / 2);
    margin-right: calc((100% - 768px) / 2);
    max-width: none;
    width: auto;
}

/* Tool messages - keep visual indicator */
.message-bubble.tool[b-nxx04u71x3] {
    background: rgba(249, 115, 22, 0.04);
    border-left: 3px solid var(--accent-orange);
    padding-left: 24px;
    margin-left: calc((100% - 768px) / 2);
    margin-right: calc((100% - 768px) / 2);
    max-width: none;
    width: auto;
}

/* Message header with avatar, role, and metadata */
.message-header[b-nxx04u71x3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left[b-nxx04u71x3] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar styles - smaller, cleaner circles */
.avatar[b-nxx04u71x3] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.user .avatar[b-nxx04u71x3] {
    background: var(--gradient-primary);
}

.assistant .avatar[b-nxx04u71x3] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.system .avatar[b-nxx04u71x3] {
    background: var(--text-muted);
}

.tool .avatar[b-nxx04u71x3] {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* Role label - clean header style */
.role-label[b-nxx04u71x3] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.tool .role-label[b-nxx04u71x3] {
    color: var(--accent-orange);
}

/* Message metadata - hidden by default, shown on hover */
.message-meta[b-nxx04u71x3] {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.message-bubble:hover .message-meta[b-nxx04u71x3] {
    opacity: 1;
    visibility: visible;
}

/* Model info */
.model-info[b-nxx04u71x3] {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

/* Token count button */
.token-count-btn[b-nxx04u71x3] {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.token-count-btn:hover[b-nxx04u71x3] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.token-count-value[b-nxx04u71x3] {
    font-weight: 500;
}

/* Message text - optimized for reading */
.message-text[b-nxx04u71x3] {
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 15px;
}

/* Streaming cursor */
.cursor[b-nxx04u71x3] {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--accent-primary);
    animation: blink-b-nxx04u71x3 1s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes blink-b-nxx04u71x3 {

    0%,
    50% {
        opacity: 0.8;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn-b-nxx04u71x3 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .message-bubble[b-nxx04u71x3] {
        padding: 16px 24px;
        gap: 12px;
        max-width: 100%;
    }

    .message-bubble.system[b-nxx04u71x3],
    .message-bubble.tool[b-nxx04u71x3] {
        margin-left: 0;
        margin-right: 0;
        padding-left: 24px;
    }

    .avatar[b-nxx04u71x3] {
        width: 24px;
        height: 24px;
    }

    .message-text[b-nxx04u71x3] {
        font-size: 14px;
    }

    /* Always show metadata on mobile */
    .message-meta[b-nxx04u71x3] {
        opacity: 1;
        visibility: visible;
    }
}
/* /Components/Chat/MessageBubbleCompact.razor.rz.scp.css */
/* iOS-style Compact Bubble Layout */
.bubble-row[b-rm53hz0k0k] {
    display: flex;
    padding: 4px 16px;
    animation: bubbleFadeIn-b-rm53hz0k0k 0.2s ease;
}

.bubble-row.align-left[b-rm53hz0k0k] {
    justify-content: flex-start;
}

.bubble-row.align-right[b-rm53hz0k0k] {
    justify-content: flex-end;
}

.bubble-row.align-center[b-rm53hz0k0k] {
    justify-content: center;
}

/* Bubble container */
.bubble[b-rm53hz0k0k] {
    max-width: 75%;
    min-width: 60px;
    padding: 10px 14px;
    border-radius: 18px;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

/* User messages - right aligned with primary accent colour */
.bubble.user[b-rm53hz0k0k] {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 4px;
}

/* Assistant messages - left aligned with subtle background */
.bubble.assistant[b-rm53hz0k0k] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}

/* System messages - centered with muted styling */
.bubble.system[b-rm53hz0k0k] {
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    border: 1px dashed var(--border-color);
    max-width: 90%;
}

/* Tool messages - left aligned with orange accent */
.bubble.tool[b-rm53hz0k0k] {
    background: rgba(249, 115, 22, 0.08);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Bubble content */
.bubble-content[b-rm53hz0k0k] {
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}

.bubble.user .bubble-content[b-rm53hz0k0k] {
    color: white;
    white-space: pre-wrap;
}

.bubble.assistant .bubble-content[b-rm53hz0k0k] {
    /* Allow proper markdown/HTML rendering - no pre-wrap */
}

/* Timestamp metadata */
.bubble-meta[b-rm53hz0k0k] {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
    opacity: 0.6;
}

.bubble-time[b-rm53hz0k0k] {
    font-size: 11px;
}

.bubble.user .bubble-time[b-rm53hz0k0k] {
    color: rgba(255, 255, 255, 0.8);
}

.bubble.assistant .bubble-time[b-rm53hz0k0k],
.bubble.tool .bubble-time[b-rm53hz0k0k] {
    color: var(--text-muted);
}

/* Streaming cursor */
.cursor[b-rm53hz0k0k] {
    display: inline-block;
    width: 6px;
    height: 15px;
    background: currentColor;
    animation: blink-b-rm53hz0k0k 1s step-end infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
    border-radius: 1px;
    opacity: 0.7;
}

@keyframes blink-b-rm53hz0k0k {

    0%,
    50% {
        opacity: 0.7;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes bubbleFadeIn-b-rm53hz0k0k {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bubble-row[b-rm53hz0k0k] {
        padding: 3px 12px;
    }

    .bubble[b-rm53hz0k0k] {
        max-width: 85%;
        padding: 8px 12px;
    }

    .bubble-content[b-rm53hz0k0k] {
        font-size: 14px;
    }
}

/* Ensure links in user bubbles are visible */
.bubble.user a[b-rm53hz0k0k] {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.bubble.user a:hover[b-rm53hz0k0k] {
    color: white;
}

/* Code blocks within bubbles */
.bubble :global(pre)[b-rm53hz0k0k],
.bubble :global(code)[b-rm53hz0k0k] {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 13px;
}

.bubble.user :global(pre)[b-rm53hz0k0k],
.bubble.user :global(code)[b-rm53hz0k0k] {
    background: rgba(255, 255, 255, 0.15);
}

.bubble.assistant :global(pre)[b-rm53hz0k0k],
.bubble.assistant :global(code)[b-rm53hz0k0k] {
    background: var(--bg-secondary);
}

/* Reasoning panel adjustments for compact view */
.bubble :global(.reasoning-panel)[b-rm53hz0k0k] {
    margin-bottom: 8px;
    font-size: 13px;
}
/* /Components/Chat/MessageBubbleRaw.razor.rz.scp.css */
/* Raw message view - shows context window format */
.raw-message[b-wm49orwbqu] {
    margin: 8px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    border-left: 3px solid;
    background: var(--bg-secondary);
}

.raw-message.role-user[b-wm49orwbqu] {
    border-left-color: var(--accent-primary, #d460a0);
    background: rgba(212, 96, 160, 0.05);
}

.raw-message.role-assistant[b-wm49orwbqu] {
    border-left-color: var(--accent-success, #10b981);
    background: rgba(16, 185, 129, 0.05);
}

.raw-message.role-system[b-wm49orwbqu] {
    border-left-color: var(--accent-warning, #f59e0b);
    background: rgba(245, 158, 11, 0.05);
}

.raw-message.role-tool[b-wm49orwbqu] {
    border-left-color: var(--accent-info, #3b82f6);
    background: rgba(59, 130, 246, 0.05);
}

.raw-header[b-wm49orwbqu] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.raw-role[b-wm49orwbqu] {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.role-user .raw-role[b-wm49orwbqu] {
    background: rgba(212, 96, 160, 0.2);
    color: var(--accent-primary);
}

.role-assistant .raw-role[b-wm49orwbqu] {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.role-system .raw-role[b-wm49orwbqu] {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-warning);
}

.role-tool .raw-role[b-wm49orwbqu] {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-info);
}

.raw-model[b-wm49orwbqu] {
    font-size: 11px;
    color: var(--text-muted);
    padding: 2px 6px;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.raw-time[b-wm49orwbqu] {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: auto;
}

.raw-tokens[b-wm49orwbqu] {
    font-size: 10px;
    color: var(--text-muted);
    padding: 2px 6px;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.raw-content[b-wm49orwbqu] {
    margin: 0;
}

.raw-content pre[b-wm49orwbqu] {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: inherit;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Reasoning section */
.raw-reasoning[b-wm49orwbqu] {
    margin: 8px 0;
    padding: 8px 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.raw-reasoning-header[b-wm49orwbqu],
.raw-reasoning-footer[b-wm49orwbqu] {
    font-size: 11px;
    color: var(--accent-warning);
    font-weight: 600;
}

.raw-reasoning-content[b-wm49orwbqu] {
    margin: 4px 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tool calls */
.raw-tools[b-wm49orwbqu] {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.raw-tool-call[b-wm49orwbqu] {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
}

.raw-tool-header[b-wm49orwbqu] {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-info);
    margin-bottom: 4px;
}

.raw-tool-args[b-wm49orwbqu] {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: 11px;
    color: var(--text-secondary);
}
/* /Components/Chat/MessageInput.razor.rz.scp.css */
.message-input-container[b-mkeagbr9yw] {
    padding: 16px 24px 24px;
    background: transparent;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.message-input-container.disabled[b-mkeagbr9yw] {
    opacity: 0.5;
    pointer-events: none;
}

.message-input-container.disabled .input-wrapper[b-mkeagbr9yw] {
    border-color: var(--border-color);
    box-shadow: none;
}

.input-wrapper[b-mkeagbr9yw] {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 0;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.input-wrapper:focus-within[b-mkeagbr9yw] {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* Textarea Row */
.textarea-row[b-mkeagbr9yw] {
    padding: 16px 20px 8px;
}

.textarea-container[b-mkeagbr9yw] {
    position: relative;
    width: 100%;
}

.message-textarea[b-mkeagbr9yw] {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.5;
    resize: none;
    outline: none;
    max-height: 200px;
    min-height: 24px;
    font-family: inherit;
    overflow-y: hidden;
}

/* Interim transcript overlay - positioned over the textarea */
.interim-overlay[b-mkeagbr9yw] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 16px;
    line-height: 1.5;
    font-family: inherit;
    pointer-events: none;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.interim-overlay .existing-text[b-mkeagbr9yw] {
    color: transparent;
}

.interim-overlay .interim-transcript[b-mkeagbr9yw] {
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
    animation: pulse-text-b-mkeagbr9yw 1.5s ease-in-out infinite;
}

.message-textarea[b-mkeagbr9yw]::placeholder {
    color: var(--text-muted);
}

.message-textarea:disabled[b-mkeagbr9yw] {
    opacity: 1;
    cursor: text;
}

.message-textarea:disabled[b-mkeagbr9yw]::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Interim transcript styling - appears inline after existing text */
.interim-transcript[b-mkeagbr9yw] {
    display: inline;
    color: var(--text-muted);
    font-style: italic;
    font-size: 16px;
    opacity: 0.7;
    pointer-events: none;
    white-space: pre-wrap;
    animation: pulse-text-b-mkeagbr9yw 1.5s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

/* When transcript solidifies (pause in input), it becomes part of the text */
.interim-transcript.solidifying[b-mkeagbr9yw] {
    animation: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

@keyframes pulse-text-b-mkeagbr9yw {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.4;
    }
}

/* Recording active border glow */
.input-wrapper.recording-active[b-mkeagbr9yw] {
    border-color: var(--accent-error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15), 0 0 20px rgba(239, 68, 68, 0.1);
}

/* Controls Row */
.controls-row[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 12px;
}

.left-controls[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.right-controls[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Action Button (Plus) */
.action-button[b-mkeagbr9yw] {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.action-button:hover:not(:disabled)[b-mkeagbr9yw] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.action-button:disabled[b-mkeagbr9yw] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Model Pill */
.model-pill[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 20px;
    padding: 4px 8px;
    transition: all var(--transition-fast);
    font-size: 14px;
    color: var(--text-primary);
}

.model-pill.toggleable:hover:not(:disabled)[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.08);
}

.model-pill.toggleable:hover:not(:disabled) .compare-icon[b-mkeagbr9yw] {
    color: var(--accent-primary);
}

.model-pill.active[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.1);
    padding: 4px 8px 4px 4px;
}

.model-pill:disabled[b-mkeagbr9yw] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Compare Toggle Button */
.compare-toggle[b-mkeagbr9yw] {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.compare-toggle:hover:not(:disabled)[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.1);
    color: var(--accent-primary);
}

.compare-toggle:disabled[b-mkeagbr9yw] {
    opacity: 0.4;
    cursor: not-allowed;
}

.compare-icon[b-mkeagbr9yw] {
    color: inherit;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.pill-dismiss[b-mkeagbr9yw] {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(212, 96, 160, 0.15);
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.pill-dismiss:hover[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.25);
}

/* Model Help Button */
.model-help-button[b-mkeagbr9yw] {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    margin-left: 2px;
}

.model-help-button:hover[b-mkeagbr9yw] {
    background: rgba(137, 180, 250, 0.15);
    color: var(--accent-primary);
}

/* Auto Mode Indicator */
.model-pill.auto-mode[b-mkeagbr9yw] {
    background: linear-gradient(135deg, rgba(137, 180, 250, 0.1), rgba(180, 190, 254, 0.1));
    border: 1px solid rgba(137, 180, 250, 0.3);
}

.auto-indicator[b-mkeagbr9yw] {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-right: 4px;
    animation: pulse-glow-b-mkeagbr9yw 2s ease-in-out infinite;
}

@keyframes pulse-glow-b-mkeagbr9yw {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Custom Select */
.custom-select[b-mkeagbr9yw] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.custom-select:hover[b-mkeagbr9yw] {
    background: var(--bg-hover);
}

.select-value[b-mkeagbr9yw] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.mode-indicator[b-mkeagbr9yw] {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-right: 4px;
}

.select-chevron[b-mkeagbr9yw] {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.custom-select:hover .select-chevron[b-mkeagbr9yw] {
    color: var(--text-secondary);
}

/* Dropdown Menu */
.select-dropdown[b-mkeagbr9yw] {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    max-width: 280px;
    max-height: min(400px, calc(100vh - 120px));
    overflow-y: auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 4px;
    z-index: 1000;
    animation: dropdownSlide-b-mkeagbr9yw 0.15s ease-out;
}

@keyframes dropdownSlide-b-mkeagbr9yw {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Provider Grouped Dropdown */
.select-dropdown.grouped[b-mkeagbr9yw] {
    max-height: 320px;
    overflow-y: auto;
}

.provider-group[b-mkeagbr9yw] {
    padding: 4px 0;
}

.provider-group:not(:first-child)[b-mkeagbr9yw] {
    border-top: 1px solid var(--border-subtle);
    margin-top: 4px;
    padding-top: 8px;
}

.provider-label[b-mkeagbr9yw] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 4px 12px 6px;
}

/* Sub-menu Dropdown */
.select-dropdown.with-submenus[b-mkeagbr9yw] {
    min-width: 180px;
    max-width: 220px;
    overflow: visible;
}

.provider-menu-item[b-mkeagbr9yw] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.provider-menu-item:hover[b-mkeagbr9yw] {
    background: var(--bg-hover);
}

.provider-menu-label[b-mkeagbr9yw] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.submenu-arrow[b-mkeagbr9yw] {
    color: var(--text-muted);
    flex-shrink: 0;
}

.submenu[b-mkeagbr9yw] {
    position: absolute;
    left: calc(100% + 4px);
    min-width: 200px;
    max-width: 280px;
    max-height: min(400px, calc(100vh - 120px));
    overflow-y: auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.15s ease-out;
    z-index: 1001;
}

/* Default: align top of submenu with bottom of menu item (flip-up) */
.submenu.flip-up[b-mkeagbr9yw] {
    bottom: 0;
    top: auto;
}

/* Alternative: align top of submenu with top of menu item (flip-down) */
.submenu.flip-down[b-mkeagbr9yw] {
    top: 0;
    bottom: auto;
}

.provider-menu-item:hover .submenu[b-mkeagbr9yw] {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.provider-menu-item:hover .submenu-arrow[b-mkeagbr9yw] {
    color: var(--text-primary);
}

.select-option[b-mkeagbr9yw] {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-option:hover[b-mkeagbr9yw] {
    background: var(--bg-hover);
}

.select-option.selected[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.08);
    color: var(--accent-primary);
    font-weight: 500;
}

.select-option.selected:hover[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.12);
}

.vs-label[b-mkeagbr9yw] {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: lowercase;
    padding: 0 4px;
}

/* Send Button */
.send-button[b-mkeagbr9yw] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.send-button.disabled[b-mkeagbr9yw] {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.send-button.active[b-mkeagbr9yw] {
    background: var(--accent-primary);
    color: white;
    cursor: pointer;
    opacity: 1;
}

.send-button.active:hover[b-mkeagbr9yw] {
    background: var(--accent-primary-hover);
    transform: scale(1.05);
}

.send-button.active:active[b-mkeagbr9yw] {
    transform: scale(0.95);
}

.send-button:disabled[b-mkeagbr9yw] {
    background: transparent;
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Footer */
.input-footer[b-mkeagbr9yw] {
    margin-top: 12px;
    text-align: center;
}

.disclaimer[b-mkeagbr9yw] {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Dictation Pill - Slide-out effect */
.dictation-pill[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    height: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.dictation-pill.hidden[b-mkeagbr9yw] {
    display: none;
}

.dictation-pill.expanded[b-mkeagbr9yw] {
    background: var(--accent-error);
    padding: 0 12px 0 0;
    gap: 8px;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    animation: pulse-pill-b-mkeagbr9yw 2s ease-in-out infinite;
}

@keyframes pulse-pill-b-mkeagbr9yw {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.dictation-pill .wave-container[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 18px;
    width: auto;
    padding-right: 4px;
}

.dictation-pill .wave-bar[b-mkeagbr9yw] {
    width: 3px;
    min-height: 4px;
    height: calc(4px + var(--level, 0) * 14px);
    background: white;
    border-radius: 2px;
    transition: height 0.05s ease-out;
    animation: wave-idle-b-mkeagbr9yw 1s ease-in-out infinite;
}

.dictation-pill .wave-bar:nth-child(1)[b-mkeagbr9yw] {
    animation-delay: 0s;
}

.dictation-pill .wave-bar:nth-child(2)[b-mkeagbr9yw] {
    animation-delay: 0.1s;
}

.dictation-pill .wave-bar:nth-child(3)[b-mkeagbr9yw] {
    animation-delay: 0.2s;
}

.dictation-pill .wave-bar:nth-child(4)[b-mkeagbr9yw] {
    animation-delay: 0.3s;
}

.dictation-pill .wave-bar:nth-child(5)[b-mkeagbr9yw] {
    animation-delay: 0.4s;
}

/* Microphone Button */
.mic-button[b-mkeagbr9yw] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mic-button:hover:not(:disabled)[b-mkeagbr9yw] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.mic-button:disabled[b-mkeagbr9yw] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* When recording inside the pill, adjust styles */
.dictation-pill.expanded .mic-button[b-mkeagbr9yw] {
    background: transparent;
    color: white;
    animation: none;
}

.dictation-pill.expanded .mic-button:hover:not(:disabled)[b-mkeagbr9yw] {
    background: rgba(255, 255, 255, 0.2);
}

.mic-button.recording[b-mkeagbr9yw] {
    background: transparent;
    color: white;
    animation: none;
}

.mic-button.recording:hover:not(:disabled)[b-mkeagbr9yw] {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes pulse-recording-b-mkeagbr9yw {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

/* Wave Container for Audio Visualization */
.wave-container[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 18px;
    width: 18px;
}

.wave-bar[b-mkeagbr9yw] {
    width: 3px;
    min-height: 4px;
    height: calc(4px + var(--level, 0) * 14px);
    background: currentColor;
    border-radius: 2px;
    transition: height 0.05s ease-out;
    animation: wave-idle-b-mkeagbr9yw 1s ease-in-out infinite;
}

.wave-bar:nth-child(1)[b-mkeagbr9yw] {
    animation-delay: 0s;
}

.wave-bar:nth-child(2)[b-mkeagbr9yw] {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3)[b-mkeagbr9yw] {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4)[b-mkeagbr9yw] {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5)[b-mkeagbr9yw] {
    animation-delay: 0.4s;
}

@keyframes wave-idle-b-mkeagbr9yw {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.2);
    }
}

/* Consensus Toggle Button */
.consensus-toggle[b-mkeagbr9yw] {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.consensus-toggle:hover:not(:disabled)[b-mkeagbr9yw] {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.consensus-toggle:disabled[b-mkeagbr9yw] {
    opacity: 0.4;
    cursor: not-allowed;
}

.consensus-icon[b-mkeagbr9yw] {
    color: inherit;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

/* Consensus Mode Pill */
.model-pill.consensus[b-mkeagbr9yw] {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    gap: 6px;
    padding: 4px 8px 4px 4px;
}

.model-pill.consensus .pill-dismiss[b-mkeagbr9yw] {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.model-pill.consensus .pill-dismiss:hover[b-mkeagbr9yw] {
    background: rgba(168, 85, 247, 0.25);
}

.model-pill.consensus .custom-select.synthesis[b-mkeagbr9yw] {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

/* Consensus Model Labels */
.select-value.model-a[b-mkeagbr9yw] {
    color: #a855f7;
}

.select-value.model-b[b-mkeagbr9yw] {
    color: #3b82f6;
}

.select-value.model-synthesis[b-mkeagbr9yw] {
    color: #10b981;
}

/* Consensus Connectors */
.consensus-connector[b-mkeagbr9yw] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0 2px;
}

.consensus-arrow[b-mkeagbr9yw] {
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
    padding: 0 4px;
}

/* Dropdown backdrop for click-away close */
.dropdown-backdrop[b-mkeagbr9yw] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: transparent;
}

/* Actions Menu Container */
.action-menu-container[b-mkeagbr9yw] {
    position: relative;
}

/* Actions Dropdown Menu */
.actions-dropdown[b-mkeagbr9yw] {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    padding: 8px;
    animation: dropdownFadeIn-b-mkeagbr9yw 0.15s ease;
}

@keyframes dropdownFadeIn-b-mkeagbr9yw {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.actions-group[b-mkeagbr9yw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.actions-group-label[b-mkeagbr9yw] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 6px 10px 4px;
}

.actions-divider[b-mkeagbr9yw] {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

.action-item[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.action-item:hover:not(:disabled)[b-mkeagbr9yw] {
    background: var(--bg-tertiary);
}

.action-item:disabled[b-mkeagbr9yw] {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-item svg[b-mkeagbr9yw] {
    color: var(--text-muted);
    flex-shrink: 0;
}

.action-item:hover:not(:disabled) svg[b-mkeagbr9yw] {
    color: var(--accent-primary);
}

.action-item.active[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.15);
    color: var(--accent-primary);
}

.action-item.active svg[b-mkeagbr9yw] {
    color: var(--accent-primary);
}

/* Connector check icon */
.action-item .check-icon[b-mkeagbr9yw] {
    margin-left: auto;
    color: var(--accent-primary);
}

/* Connector status hint */
.connector-status-hint[b-mkeagbr9yw] {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Reasoning Effort Selector in Actions Menu */
.reasoning-effort-selector[b-mkeagbr9yw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    align-items: center;
}

.effort-label[b-mkeagbr9yw] {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-bottom: 4px;
}

.effort-option[b-mkeagbr9yw] {
    padding: 4px 10px;
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.effort-option:hover[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.08);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.effort-option.selected[b-mkeagbr9yw] {
    background: rgba(212, 96, 160, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 500;
}

/* Reasoning Pill */
.reasoning-pill[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 20px;
    padding: 4px 8px;
    transition: all var(--transition-fast);
    font-size: 14px;
    color: var(--text-primary);
    margin-left: 6px;
}

.reasoning-pill.active[b-mkeagbr9yw] {
    background: rgba(139, 92, 246, 0.12);
    padding: 4px 8px 4px 4px;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.reasoning-pill .pill-dismiss[b-mkeagbr9yw] {
    background: rgba(139, 92, 246, 0.18);
    color: rgb(139, 92, 246);
}

.reasoning-pill .pill-dismiss:hover[b-mkeagbr9yw] {
    background: rgba(139, 92, 246, 0.3);
}

.reasoning-icon[b-mkeagbr9yw] {
    color: rgb(139, 92, 246);
    flex-shrink: 0;
}

.reasoning-pill .custom-select[b-mkeagbr9yw] {
    padding: 2px 6px;
}

.reasoning-pill .select-value[b-mkeagbr9yw] {
    color: rgb(139, 92, 246);
    font-weight: 500;
}

.reasoning-pill .select-chevron[b-mkeagbr9yw] {
    color: rgb(139, 92, 246);
}

.reasoning-pill .select-dropdown[b-mkeagbr9yw] {
    min-width: 120px;
}

.reasoning-pill .select-option.selected[b-mkeagbr9yw] {
    color: rgb(139, 92, 246);
    background: rgba(139, 92, 246, 0.1);
}

/* Connector Pill (Microsoft 365) */
.connector-pill[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 20px;
    padding: 4px 10px;
    transition: all var(--transition-fast);
    font-size: 14px;
    color: var(--text-primary);
    margin-left: 6px;
}

.connector-pill.active[b-mkeagbr9yw] {
    background: rgba(0, 120, 212, 0.12);
    padding: 4px 10px 4px 4px;
    border: 1px solid rgba(0, 120, 212, 0.25);
}

.connector-pill .pill-dismiss[b-mkeagbr9yw] {
    background: rgba(0, 120, 212, 0.18);
    color: rgb(0, 120, 212);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.connector-pill .pill-dismiss:hover[b-mkeagbr9yw] {
    background: rgba(0, 120, 212, 0.3);
}

.connector-icon[b-mkeagbr9yw] {
    color: rgb(0, 120, 212);
    flex-shrink: 0;
}

.connector-label[b-mkeagbr9yw] {
    color: rgb(0, 120, 212);
    font-weight: 500;
    font-size: 13px;
}

/* Auto Selection Styles for Confluence Mode */
.provider-label.auto-label[b-mkeagbr9yw] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
}

.provider-label.auto-label svg[b-mkeagbr9yw] {
    opacity: 0.8;
}

.select-option.auto-option[b-mkeagbr9yw] {
    color: var(--accent-primary);
    font-style: italic;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(255, 105, 180, 0.1));
    border-left: 2px solid var(--accent-primary);
}

.select-option.auto-option:hover[b-mkeagbr9yw] {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(255, 105, 180, 0.2));
}

.select-option.auto-option.selected[b-mkeagbr9yw] {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(255, 105, 180, 0.3));
    color: var(--accent-primary);
}
/* /Components/Chat/ModelExplorer.razor.rz.scp.css */
/* Model Explorer Overlay */
.model-explorer-overlay[b-93dx0tf8n5] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn-b-93dx0tf8n5 0.2s ease;
}

@keyframes fadeIn-b-93dx0tf8n5 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.model-explorer-modal[b-93dx0tf8n5] {
    background: var(--bg-primary);
    border-radius: 16px;
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: slideUp-b-93dx0tf8n5 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp-b-93dx0tf8n5 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header[b-93dx0tf8n5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.modal-header h2[b-93dx0tf8n5] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.close-button[b-93dx0tf8n5] {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.close-button:hover[b-93dx0tf8n5] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Search Container */
.search-container[b-93dx0tf8n5] {
    padding: 16px 24px;
    background: var(--bg-secondary);
    position: relative;
}

.search-input[b-93dx0tf8n5] {
    width: 100%;
    padding: 10px 16px;
    padding-right: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input[b-93dx0tf8n5]::placeholder {
    color: var(--text-muted);
}

.search-input:focus[b-93dx0tf8n5] {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 96, 160, 0.1);
}

/* Search Spinner */
.search-spinner[b-93dx0tf8n5] {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
}

.spinner-icon[b-93dx0tf8n5] {
    animation: spin-b-93dx0tf8n5 1s linear infinite;
    color: var(--accent-primary);
}

@keyframes spin-b-93dx0tf8n5 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* AI Summary Banner */
.ai-summary-banner[b-93dx0tf8n5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(212, 96, 160, 0.1), rgba(212, 96, 160, 0.05));
    border-bottom: 1px solid rgba(212, 96, 160, 0.2);
    gap: 12px;
}

.ai-summary-content[b-93dx0tf8n5] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ai-summary-content svg[b-93dx0tf8n5] {
    flex-shrink: 0;
    color: var(--accent-primary);
    margin-top: 2px;
}

.ai-summary-content span[b-93dx0tf8n5] {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

.clear-ai-button[b-93dx0tf8n5] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid rgba(212, 96, 160, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.clear-ai-button:hover[b-93dx0tf8n5] {
    background: rgba(212, 96, 160, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Provider Tabs */
.provider-tabs[b-93dx0tf8n5] {
    display: flex;
    gap: 6px;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab[b-93dx0tf8n5] {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.tab:hover[b-93dx0tf8n5] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.tab.active[b-93dx0tf8n5] {
    background: rgba(212, 96, 160, 0.1);
    color: var(--accent-primary);
    border-color: rgba(212, 96, 160, 0.2);
}

/* Models Grid */
.models-grid[b-93dx0tf8n5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 200px;
    max-height: 380px;
}

/* Model Card */
.model-card[b-93dx0tf8n5] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover[b-93dx0tf8n5] {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.model-card.selected[b-93dx0tf8n5] {
    border-color: var(--accent-primary);
    background: rgba(212, 96, 160, 0.06);
}

.model-card.auto-card[b-93dx0tf8n5] {
    background: linear-gradient(135deg, rgba(212, 96, 160, 0.08), rgba(212, 96, 160, 0.04));
    border-color: rgba(212, 96, 160, 0.3);
}

.model-card.auto-card:hover[b-93dx0tf8n5] {
    border-color: var(--accent-primary);
}

/* Model Header */
.model-header[b-93dx0tf8n5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.model-name[b-93dx0tf8n5] {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Provider Badge */
.provider-badge[b-93dx0tf8n5] {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.provider-badge.anthropic[b-93dx0tf8n5] {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.provider-badge.openai[b-93dx0tf8n5] {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.provider-badge.gemini[b-93dx0tf8n5] {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

/* Auto Badge */
.auto-badge[b-93dx0tf8n5] {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    background: var(--accent-primary);
    color: white;
    flex-shrink: 0;
}

/* AI Recommendation Styles */
.model-card.ai-recommended[b-93dx0tf8n5] {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.06);
}

.model-card.ai-recommended:hover[b-93dx0tf8n5] {
    border-color: #a855f7;
}

.model-card.top-recommendation[b-93dx0tf8n5] {
    border-color: #a855f7;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(168, 85, 247, 0.06));
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.2), var(--shadow-sm);
}

.model-card.top-recommendation:hover[b-93dx0tf8n5] {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.3), var(--shadow-md);
}

.ai-top-badge[b-93dx0tf8n5] {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
    flex-shrink: 0;
}

/* Model Description */
.model-description[b-93dx0tf8n5] {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Capabilities */
.capabilities[b-93dx0tf8n5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.capability-tag[b-93dx0tf8n5] {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 500;
}

.capability-tag.vision[b-93dx0tf8n5] {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
}

.capability-tag.reasoning[b-93dx0tf8n5] {
    background: rgba(212, 96, 160, 0.12);
    color: var(--accent-primary);
}

.capability-tag.toolCalling[b-93dx0tf8n5] {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

/* Model Specs */
.model-specs[b-93dx0tf8n5] {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}

.spec[b-93dx0tf8n5] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.spec svg[b-93dx0tf8n5] {
    opacity: 0.7;
}

/* Model Details Panel */
.model-details[b-93dx0tf8n5] {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    max-height: 200px;
    overflow-y: auto;
}

.model-details h3[b-93dx0tf8n5] {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.details-section[b-93dx0tf8n5] {
    margin-bottom: 12px;
}

.details-section:last-child[b-93dx0tf8n5] {
    margin-bottom: 0;
}

.details-section h4[b-93dx0tf8n5] {
    margin: 0 0 6px 0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.strengths-list[b-93dx0tf8n5],
.weaknesses-list[b-93dx0tf8n5] {
    margin: 0;
    padding-left: 16px;
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.6;
}

.strengths-list li[b-93dx0tf8n5] {
    margin-bottom: 2px;
}

.weaknesses-list li[b-93dx0tf8n5] {
    margin-bottom: 2px;
}

.strengths-list li[b-93dx0tf8n5]::marker {
    color: #4ade80;
}

.weaknesses-list li[b-93dx0tf8n5]::marker {
    color: #fb923c;
}

/* Modal Footer */
.modal-footer[b-93dx0tf8n5] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.cancel-button[b-93dx0tf8n5],
.select-button[b-93dx0tf8n5] {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cancel-button[b-93dx0tf8n5] {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.cancel-button:hover[b-93dx0tf8n5] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.select-button[b-93dx0tf8n5] {
    background: var(--accent-primary);
    border: none;
    color: white;
}

.select-button:hover:not(:disabled)[b-93dx0tf8n5] {
    background: var(--accent-primary-hover);
    transform: translateY(-1px);
}

.select-button:disabled[b-93dx0tf8n5] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .model-explorer-overlay[b-93dx0tf8n5] {
        padding: 12px;
    }

    .model-explorer-modal[b-93dx0tf8n5] {
        max-height: 95vh;
        border-radius: 12px;
    }

    .models-grid[b-93dx0tf8n5] {
        grid-template-columns: 1fr;
        max-height: 320px;
    }

    .modal-header[b-93dx0tf8n5],
    .search-container[b-93dx0tf8n5],
    .provider-tabs[b-93dx0tf8n5],
    .models-grid[b-93dx0tf8n5],
    .model-details[b-93dx0tf8n5],
    .modal-footer[b-93dx0tf8n5] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .provider-tabs[b-93dx0tf8n5] {
        gap: 4px;
    }

    .tab[b-93dx0tf8n5] {
        padding: 6px 12px;
        font-size: 12px;
    }
}
/* /Components/Chat/MultiModelResponse.razor.rz.scp.css */
.multi-model-container[b-6i80a3zhf3] {
    padding: 20px;
    margin: 12px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    animation: slideIn-b-6i80a3zhf3 0.3s ease;
}

@keyframes slideIn-b-6i80a3zhf3 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.multi-model-header[b-6i80a3zhf3] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.multi-model-icon[b-6i80a3zhf3] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.multi-model-title[b-6i80a3zhf3] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.responses-grid[b-6i80a3zhf3] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 900px) {
    .responses-grid[b-6i80a3zhf3] {
        grid-template-columns: 1fr;
    }

    .vs-divider[b-6i80a3zhf3] {
        transform: rotate(90deg);
        margin: 8px auto;
    }
}

.response-card[b-6i80a3zhf3] {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.response-card:hover[b-6i80a3zhf3] {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.response-card.streaming[b-6i80a3zhf3] {
    border-color: rgba(16, 185, 129, 0.4);
}

.response-card.complete[b-6i80a3zhf3] {
    border-color: var(--border-color);
}

.response-header[b-6i80a3zhf3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.model-badge[b-6i80a3zhf3] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
}

.model-badge.secondary[b-6i80a3zhf3] {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.streaming-indicator[b-6i80a3zhf3] {
    display: flex;
    gap: 4px;
}

.streaming-indicator .dot[b-6i80a3zhf3] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-b-6i80a3zhf3 1.4s infinite ease-in-out both;
}

.streaming-indicator .dot:nth-child(1)[b-6i80a3zhf3] {
    animation-delay: -0.32s;
}

.streaming-indicator .dot:nth-child(2)[b-6i80a3zhf3] {
    animation-delay: -0.16s;
}

@keyframes pulse-b-6i80a3zhf3 {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.token-count[b-6i80a3zhf3] {
    font-size: 11px;
    color: var(--text-muted);
}

.response-content[b-6i80a3zhf3] {
    color: var(--text-primary);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 12px;
    padding-right: 8px;
}

.response-content[b-6i80a3zhf3]::-webkit-scrollbar {
    width: 6px;
}

.response-content[b-6i80a3zhf3]::-webkit-scrollbar-track {
    background: transparent;
}

.response-content[b-6i80a3zhf3]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.response-content[b-6i80a3zhf3]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cursor[b-6i80a3zhf3] {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: #10b981;
    animation: blink-b-6i80a3zhf3 1s infinite;
}

@keyframes blink-b-6i80a3zhf3 {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.response-actions[b-6i80a3zhf3] {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.select-button[b-6i80a3zhf3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-button:hover:not(:disabled)[b-6i80a3zhf3] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.select-button:disabled[b-6i80a3zhf3] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.select-button.secondary[b-6i80a3zhf3] {
    background: linear-gradient(135deg, #10b981, #059669);
}

.select-button.secondary:hover:not(:disabled)[b-6i80a3zhf3] {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.vs-divider[b-6i80a3zhf3] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px;
}

.vs-divider span[b-6i80a3zhf3] {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
}
/* /Components/Chat/PromptBuilder.razor.rz.scp.css */
/* Prompt Builder Overlay */
.prompt-builder-overlay[b-281zgh1lr2] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn-b-281zgh1lr2 0.2s ease;
}

@keyframes fadeIn-b-281zgh1lr2 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.prompt-builder-modal[b-281zgh1lr2] {
    background: var(--bg-primary);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: slideUp-b-281zgh1lr2 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp-b-281zgh1lr2 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header[b-281zgh1lr2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.03));
}

.header-content[b-281zgh1lr2] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-content svg[b-281zgh1lr2] {
    color: #a855f7;
}

.modal-header h2[b-281zgh1lr2] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.close-button[b-281zgh1lr2] {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.close-button:hover[b-281zgh1lr2] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Modal Body */
.modal-body[b-281zgh1lr2] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Goal Section */
.goal-section label[b-281zgh1lr2] {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.helper-text[b-281zgh1lr2] {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.goal-textarea[b-281zgh1lr2] {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: all var(--transition-fast);
}

.goal-textarea[b-281zgh1lr2]::placeholder {
    color: var(--text-muted);
}

.goal-textarea:focus[b-281zgh1lr2] {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.goal-textarea:disabled[b-281zgh1lr2] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Example Goals */
.example-goals[b-281zgh1lr2] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.examples-label[b-281zgh1lr2] {
    font-size: 12px;
    color: var(--text-muted);
}

.example-chip[b-281zgh1lr2] {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.example-chip:hover[b-281zgh1lr2] {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

/* Result Section */
.result-section[b-281zgh1lr2] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-header[b-281zgh1lr2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header label[b-281zgh1lr2] {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.copy-inline-button[b-281zgh1lr2] {
    padding: 4px 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition-fast);
}

.copy-inline-button:hover[b-281zgh1lr2] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

/* Generated Prompt */
.generated-prompt-container label[b-281zgh1lr2] {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.generated-prompt[b-281zgh1lr2] {
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 8px;
}

/* Explanation */
.explanation-container label[b-281zgh1lr2] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.explanation-text[b-281zgh1lr2] {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 12px;
    background: rgba(168, 85, 247, 0.06);
    border-radius: var(--radius-sm);
    border-left: 3px solid #a855f7;
}

/* Tips */
.tips-container label[b-281zgh1lr2] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.tips-list[b-281zgh1lr2] {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tips-list li[b-281zgh1lr2] {
    margin-bottom: 4px;
}

.tips-list li[b-281zgh1lr2]::marker {
    color: #a855f7;
}

/* Refine Section */
.refine-section label[b-281zgh1lr2] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.refine-input-row[b-281zgh1lr2] {
    display: flex;
    gap: 8px;
}

.refine-input[b-281zgh1lr2] {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all var(--transition-fast);
}

.refine-input[b-281zgh1lr2]::placeholder {
    color: var(--text-muted);
}

.refine-input:focus[b-281zgh1lr2] {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.refine-input:disabled[b-281zgh1lr2] {
    opacity: 0.6;
    cursor: not-allowed;
}

.refine-button[b-281zgh1lr2] {
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.refine-button:hover:not(:disabled)[b-281zgh1lr2] {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.refine-button:disabled[b-281zgh1lr2] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal Footer */
.modal-footer[b-281zgh1lr2] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.secondary-button[b-281zgh1lr2],
.primary-button[b-281zgh1lr2] {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-button[b-281zgh1lr2] {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.secondary-button:hover[b-281zgh1lr2] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.primary-button[b-281zgh1lr2] {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border: none;
    color: white;
}

.primary-button:hover:not(:disabled)[b-281zgh1lr2] {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.primary-button:disabled[b-281zgh1lr2] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.spinner-icon[b-281zgh1lr2] {
    animation: spin-b-281zgh1lr2 1s linear infinite;
}

@keyframes spin-b-281zgh1lr2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 640px) {
    .prompt-builder-overlay[b-281zgh1lr2] {
        padding: 12px;
    }

    .prompt-builder-modal[b-281zgh1lr2] {
        max-height: 95vh;
        border-radius: 12px;
    }

    .modal-header[b-281zgh1lr2],
    .modal-body[b-281zgh1lr2],
    .modal-footer[b-281zgh1lr2] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .example-goals[b-281zgh1lr2] {
        flex-direction: column;
        align-items: flex-start;
    }

    .refine-input-row[b-281zgh1lr2] {
        flex-direction: column;
    }

    .refine-button[b-281zgh1lr2] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Chat/ReasoningPanel.razor.rz.scp.css */
.reasoning-panel[b-njgb4vzmpe] {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reasoning-panel:hover[b-njgb4vzmpe] {
    border-color: rgba(139, 92, 246, 0.35);
}

.reasoning-panel.streaming[b-njgb4vzmpe] {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.reasoning-header[b-njgb4vzmpe] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.reasoning-header:hover[b-njgb4vzmpe] {
    background: rgba(139, 92, 246, 0.08);
}

.reasoning-icon[b-njgb4vzmpe] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #a78bfa;
}

.thinking-animation[b-njgb4vzmpe] {
    display: flex;
    align-items: center;
    gap: 3px;
}

.thinking-animation .dot[b-njgb4vzmpe] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a78bfa;
    animation: thinking-pulse-b-njgb4vzmpe 1.4s infinite ease-in-out;
}

.thinking-animation .dot:nth-child(1)[b-njgb4vzmpe] {
    animation-delay: 0s;
}

.thinking-animation .dot:nth-child(2)[b-njgb4vzmpe] {
    animation-delay: 0.2s;
}

.thinking-animation .dot:nth-child(3)[b-njgb4vzmpe] {
    animation-delay: 0.4s;
}

@keyframes thinking-pulse-b-njgb4vzmpe {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.reasoning-label[b-njgb4vzmpe] {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #c4b5fd;
    letter-spacing: 0.01em;
}

.expand-icon[b-njgb4vzmpe] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    transition: transform 0.3s ease;
}

.expand-icon.rotated[b-njgb4vzmpe] {
    transform: rotate(180deg);
}

.reasoning-content[b-njgb4vzmpe] {
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    padding: 16px;
    animation: expand-b-njgb4vzmpe 0.3s ease;
}

@keyframes expand-b-njgb4vzmpe {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reasoning-text[b-njgb4vzmpe] {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
    word-break: break-word;
    font-family: var(--font-mono, 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace);
}

.reasoning-text .placeholder[b-njgb4vzmpe] {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.reasoning-text .cursor[b-njgb4vzmpe] {
    display: inline-block;
    animation: blink-b-njgb4vzmpe 1s infinite;
    color: #a78bfa;
}

@keyframes blink-b-njgb4vzmpe {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.reasoning-footer[b-njgb4vzmpe] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.token-count[b-njgb4vzmpe] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.reasoning-content.redacted .reasoning-text[b-njgb4vzmpe] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(251, 146, 60, 0.9);
    font-family: inherit;
}

.redacted-icon[b-njgb4vzmpe] {
    flex-shrink: 0;
    margin-top: 2px;
    color: #fb923c;
}

/* Collapsed state indicator */
.reasoning-panel.collapsed .reasoning-header[b-njgb4vzmpe]::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Animation for streaming state */
.reasoning-panel.streaming .reasoning-icon[b-njgb4vzmpe] {
    animation: glow-b-njgb4vzmpe 2s infinite ease-in-out;
}

@keyframes glow-b-njgb4vzmpe {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    }
}
/* /Components/Chat/TokenCounter.razor.rz.scp.css */
.token-counter[b-ujrs96ibp7] {
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 180px;
    transition: all 0.2s ease;
}

.token-counter:hover[b-ujrs96ibp7] {
    background: var(--bg-hover);
    border-color: var(--border-color);
}

.counter-content[b-ujrs96ibp7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar[b-ujrs96ibp7] {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill[b-ujrs96ibp7] {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 3px;
    position: relative;
}

.counter-text[b-ujrs96ibp7] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.used[b-ujrs96ibp7] {
    color: var(--text-primary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.separator[b-ujrs96ibp7] {
    color: var(--text-muted);
}

.max[b-ujrs96ibp7] {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.counter-empty[b-ujrs96ibp7] {
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
}
/* /Components/Chat/TokenView.razor.rz.scp.css */
.token-view[b-4jkliwwdpo] {
    padding: 8px 0;
}

.loading[b-4jkliwwdpo] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.loading-spinner[b-4jkliwwdpo] {
    animation: spin-b-4jkliwwdpo 1s linear infinite;
}

@keyframes spin-b-4jkliwwdpo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.token-container[b-4jkliwwdpo] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.token[b-4jkliwwdpo] {
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
    cursor: default;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    border: 1px solid transparent;
    white-space: pre;
}

.token:hover[b-4jkliwwdpo] {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

/* Token type colors - light theme */
.token.word[b-4jkliwwdpo] {
    background: rgba(212, 96, 160, 0.1);
    border-color: rgba(212, 96, 160, 0.2);
    color: #D460A0;
}

.token.number[b-4jkliwwdpo] {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.25);
    color: #b45309;
}

.token.punctuation[b-4jkliwwdpo] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.token.whitespace[b-4jkliwwdpo] {
    background: rgba(107, 114, 128, 0.08);
    border-color: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.token.special[b-4jkliwwdpo] {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #059669;
}

.token-legend[b-4jkliwwdpo] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.legend-item[b-4jkliwwdpo] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.token-sample[b-4jkliwwdpo] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.token-sample.word[b-4jkliwwdpo] {
    background: rgba(212, 96, 160, 0.2);
    border: 1px solid rgba(212, 96, 160, 0.35);
}

.token-sample.number[b-4jkliwwdpo] {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.token-sample.punctuation[b-4jkliwwdpo] {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.token-sample.whitespace[b-4jkliwwdpo] {
    background: rgba(107, 114, 128, 0.15);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.token-sample.special[b-4jkliwwdpo] {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.no-tokens[b-4jkliwwdpo] {
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
}
/* /Components/CircularProgress.razor.rz.scp.css */
.circular-progress[b-dvehu95xke] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Size variants */
.circular-progress.size-small[b-dvehu95xke] {
    width: 24px;
    height: 24px;
}

.circular-progress.size-medium[b-dvehu95xke] {
    width: 36px;
    height: 36px;
}

.circular-progress.size-large[b-dvehu95xke] {
    width: 48px;
    height: 48px;
}

.progress-ring[b-dvehu95xke] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg[b-dvehu95xke] {
    fill: none;
    stroke: var(--border-color, #e5e7eb);
    stroke-width: 3;
}

.progress-bar[b-dvehu95xke] {
    fill: none;
    stroke: var(--accent-primary, #d460a0);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

.progress-text[b-dvehu95xke] {
    position: absolute;
    font-size: 8px;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
}

.size-large .progress-text[b-dvehu95xke] {
    font-size: 10px;
}

.progress-content[b-dvehu95xke] {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Components/Layout/LegalLayout.razor.rz.scp.css */
.legal-page[b-vadircum96] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary, #0d1117);
    color: var(--text-primary, #e6edf3);
}

.legal-header[b-vadircum96] {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-primary, #30363d);
}

.legal-logo[b-vadircum96] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary, #e6edf3);
    text-decoration: none;
}

.legal-logo:hover[b-vadircum96] {
    color: var(--accent-primary, #58a6ff);
}

.legal-content[b-vadircum96] {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.legal-footer[b-vadircum96] {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-primary, #30363d);
    text-align: center;
    color: var(--text-secondary, #8b949e);
    font-size: 0.875rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-container[b-iayvpqzcb1] {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-secondary);
}

.main-wrapper[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top Navigation Bar - UniFi Style */
.top-navbar[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.navbar-left[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-toggle[b-iayvpqzcb1] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.sidebar-toggle:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-title[b-iayvpqzcb1] {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.navbar-center[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Status button - icon-only style matching view toggle */
.status-btn[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: default;
    transition: all 0.2s ease;
}

.status-btn.status-warning[b-iayvpqzcb1] {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-btn.status-error[b-iayvpqzcb1] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.status-btn .status-dot[b-iayvpqzcb1] {
    width: 10px;
    height: 10px;
}

.status-indicator[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.status-indicator.status-warning[b-iayvpqzcb1] {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-indicator.status-error[b-iayvpqzcb1] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.status-dot[b-iayvpqzcb1] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-success);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.status-dot.ready[b-iayvpqzcb1] {
    background: var(--accent-success);
    animation: pulse-soft-b-iayvpqzcb1 2s infinite;
}

.status-dot.streaming[b-iayvpqzcb1] {
    background: var(--accent-warning);
    animation: pulse-fast-b-iayvpqzcb1 0.5s infinite;
}

.status-dot.connecting[b-iayvpqzcb1],
.status-dot.reconnecting[b-iayvpqzcb1] {
    background: var(--accent-warning);
    animation: pulse-warning-b-iayvpqzcb1 1s infinite;
}

.status-dot.error[b-iayvpqzcb1],
.status-dot.disconnected[b-iayvpqzcb1] {
    background: var(--accent-error, #ef4444);
    animation: pulse-error-b-iayvpqzcb1 1.5s infinite;
}

@keyframes pulse-soft-b-iayvpqzcb1 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    }
}

@keyframes pulse-fast-b-iayvpqzcb1 {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-warning-b-iayvpqzcb1 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
        transform: scale(1.1);
    }
}

@keyframes pulse-error-b-iayvpqzcb1 {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    }
}

.status-text[b-iayvpqzcb1] {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.navbar-right[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Pill button group */
.nav-actions-pill[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pill-btn[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.pill-btn:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.pill-btn.active[b-iayvpqzcb1] {
    background: rgba(212, 96, 160, 0.12);
    color: var(--accent-primary);
}

.pill-btn.active:hover[b-iayvpqzcb1] {
    background: rgba(212, 96, 160, 0.2);
}

.pill-btn .status-dot[b-iayvpqzcb1] {
    width: 10px;
    height: 10px;
}

.pill-divider[b-iayvpqzcb1] {
    width: 1px;
    height: 18px;
    background: var(--border-color);
    margin: 0;
}

/* Connection Stats Modal */
.stats-modal-backdrop[b-iayvpqzcb1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.stats-modal[b-iayvpqzcb1] {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stats-header[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.stats-title[b-iayvpqzcb1] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.stats-close-btn[b-iayvpqzcb1] {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.stats-close-btn:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.stats-body[b-iayvpqzcb1] {
    padding: 16px 20px;
}

.stats-row[b-iayvpqzcb1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.stats-row:last-child[b-iayvpqzcb1] {
    border-bottom: none;
}

.stats-label[b-iayvpqzcb1] {
    font-size: 13px;
    color: var(--text-muted);
}

.stats-value[b-iayvpqzcb1] {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.stats-value.connected[b-iayvpqzcb1] {
    color: var(--accent-success);
}

.stats-value.warning[b-iayvpqzcb1] {
    color: var(--accent-warning);
}

.stats-value.error[b-iayvpqzcb1] {
    color: var(--accent-error, #ef4444);
}

.stats-footer[b-iayvpqzcb1] {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.stats-footer-btn[b-iayvpqzcb1] {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.stats-footer-btn:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.stats-divider[b-iayvpqzcb1] {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.stats-retry-btn[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    background: var(--accent-primary);
    color: white;
    cursor: pointer;
    transition: all 0.15s ease;
}

.stats-retry-btn:hover[b-iayvpqzcb1] {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.stats-value[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stats-value .status-dot[b-iayvpqzcb1] {
    width: 8px;
    height: 8px;
}

.nav-actions[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn[b-iayvpqzcb1] {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.nav-btn:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: scale(1.05);
}

.chat-view-control[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
}

.view-toggle-btn[b-iayvpqzcb1] {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.view-toggle-btn.active[b-iayvpqzcb1] {
    background: rgba(212, 96, 160, 0.15);
    color: var(--accent-primary);
}

.view-toggle-btn.active:hover[b-iayvpqzcb1] {
    background: rgba(212, 96, 160, 0.25);
}

.user-avatar[b-iayvpqzcb1] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(212, 96, 160, 0.25);
    color: white;
}

.user-avatar:hover[b-iayvpqzcb1] {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 96, 160, 0.35);
}

.main-content[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary);
    position: relative;
    margin: 0;
    border-radius: 0;
}

/* Connection Overlay - Non-blocking */
.connection-overlay[b-iayvpqzcb1] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    animation: slideIn-b-iayvpqzcb1 0.3s ease-out;
}

.connection-overlay.failed[b-iayvpqzcb1] {
    animation: slideIn-b-iayvpqzcb1 0.3s ease-out, shake-b-iayvpqzcb1 0.5s ease-in-out 0.3s;
}

@keyframes slideIn-b-iayvpqzcb1 {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shake-b-iayvpqzcb1 {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

.connection-card[b-iayvpqzcb1] {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 360px;
    backdrop-filter: blur(20px);
}

.connection-spinner[b-iayvpqzcb1] {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary, #D460A0);
    border-radius: 50%;
    animation: spin-b-iayvpqzcb1 1s linear infinite;
}

@keyframes spin-b-iayvpqzcb1 {
    to {
        transform: rotate(360deg);
    }
}

.connection-icon-error[b-iayvpqzcb1] {
    color: var(--accent-error, #ef4444);
    animation: fadeIn-b-iayvpqzcb1 0.3s ease-out;
}

@keyframes fadeIn-b-iayvpqzcb1 {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.connection-title[b-iayvpqzcb1] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.connection-title.failed[b-iayvpqzcb1] {
    color: var(--accent-error, #ef4444);
}

.connection-message[b-iayvpqzcb1] {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.attempt-counter[b-iayvpqzcb1] {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 4px;
}

.connection-error[b-iayvpqzcb1] {
    margin: 0;
    font-size: 12px;
    color: var(--accent-error, #ef4444);
    text-align: center;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    max-width: 100%;
    word-break: break-word;
}

.verbose-hint[b-iayvpqzcb1] {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    opacity: 0.7;
}

.retry-btn[b-iayvpqzcb1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.retry-btn:hover[b-iayvpqzcb1] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 96, 160, 0.35);
}

.retry-btn:active[b-iayvpqzcb1] {
    transform: translateY(0);
}

.dismiss-btn[b-iayvpqzcb1] {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dismiss-btn:hover[b-iayvpqzcb1] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Sidebar Collapsed State */
.app-container.sidebar-collapsed[b-iayvpqzcb1]  .sidebar {
    width: 0;
    padding: 0;
    overflow: hidden;
    border-right: none;
}

/* Content Area - container for main content, side panel, and activity bar */
.content-area[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Main content - takes full width normally, shrinks when panel is open */
.content-area .main-content[b-iayvpqzcb1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    margin: 0;
    border-radius: 0;
    min-width: 0;
    /* Allow shrinking below content size */
}

/* Side Panel Wrapper - appears on the RIGHT between main content and activity bar */
.side-panel-wrapper[b-iayvpqzcb1] {
    position: relative;
    flex: 0 0 40%;
    max-width: 600px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--border-color);
    animation: slideInFromRight-b-iayvpqzcb1 0.3s ease-out;
}

/* Resize Handle */
.panel-resize-handle[b-iayvpqzcb1] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: ew-resize;
    background: transparent;
    z-index: 10;
    transition: background 0.15s ease;
}

.panel-resize-handle:hover[b-iayvpqzcb1],
.panel-resize-handle.resizing[b-iayvpqzcb1] {
    background: var(--accent-primary, #d460a0);
}

@keyframes slideInFromRight-b-iayvpqzcb1 {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Streaming overlay for tool panel */
.panel-streaming-overlay[b-iayvpqzcb1] {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn-b-iayvpqzcb1 0.2s ease-out;
}

.panel-streaming-spinner[b-iayvpqzcb1] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin-b-iayvpqzcb1 0.8s linear infinite;
}

@keyframes spin-b-iayvpqzcb1 {
    to {
        transform: rotate(360deg);
    }
}

/* When panel is expanded, main content shrinks */
.app-container.tool-panel-expanded .content-area .main-content[b-iayvpqzcb1] {
    flex: 1;
    animation: slideToLeft-b-iayvpqzcb1 0.3s ease-out;
}

@keyframes slideToLeft-b-iayvpqzcb1 {
    from {
        opacity: 0.8;
    }

    to {
        opacity: 1;
    }
}

/* Ensure sidebar collapses smoothly with tool panel */
.app-container.tool-panel-expanded.sidebar-collapsed[b-iayvpqzcb1]  .sidebar {
    width: 0;
    padding: 0;
    overflow: hidden;
    border-right: none;
}
/* /Components/Layout/SettingsPopover.razor.rz.scp.css */
.settings-popover-overlay[b-7xa3tg30xm] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 999;
}

.settings-popover-overlay.open[b-7xa3tg30xm] {
    opacity: 1;
    visibility: visible;
}

.settings-popover[b-7xa3tg30xm] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 600px;
    height: 70vh;
    max-height: 500px;
    background: var(--bg-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.settings-popover.open[b-7xa3tg30xm] {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.settings-header[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.settings-title[b-7xa3tg30xm] {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.close-btn[b-7xa3tg30xm] {
    padding: 6px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.close-btn:hover[b-7xa3tg30xm] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Settings Body - Side Panel Layout */
.settings-body[b-7xa3tg30xm] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.settings-nav[b-7xa3tg30xm] {
    width: 180px;
    flex-shrink: 0;
    padding: 12px;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-secondary);
}

.nav-item[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    transition: all 0.15s ease;
}

.nav-item:hover[b-7xa3tg30xm] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active[b-7xa3tg30xm] {
    background: var(--accent-primary);
    color: white;
}

.nav-item.active svg[b-7xa3tg30xm] {
    color: white;
}

.nav-item svg[b-7xa3tg30xm] {
    flex-shrink: 0;
    color: var(--text-muted);
}

.nav-item:hover svg[b-7xa3tg30xm] {
    color: var(--text-secondary);
}

.settings-content[b-7xa3tg30xm] {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
}

.settings-panel[b-7xa3tg30xm] {
    animation: fadeIn-b-7xa3tg30xm 0.2s ease;
}

@keyframes fadeIn-b-7xa3tg30xm {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-title[b-7xa3tg30xm] {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.panel-hint[b-7xa3tg30xm] {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.panel-section[b-7xa3tg30xm] {
    margin-bottom: 20px;
}

.panel-section:last-child[b-7xa3tg30xm] {
    margin-bottom: 0;
}

.logout-btn[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.logout-btn:hover:not(:disabled)[b-7xa3tg30xm] {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.logout-btn:disabled[b-7xa3tg30xm] {
    opacity: 0.6;
    cursor: not-allowed;
}

.logout-btn .spinner[b-7xa3tg30xm] {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin-b-7xa3tg30xm 0.8s linear infinite;
}

@keyframes spin-b-7xa3tg30xm {
    to {
        transform: rotate(360deg);
    }
}

.logout-hint[b-7xa3tg30xm] {
    font-size: 12px;
    color: var(--text-muted);
    margin: 8px 0 0;
}

/* Danger Section */
.danger-section[b-7xa3tg30xm] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.section-title[b-7xa3tg30xm] {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.section-title.danger[b-7xa3tg30xm] {
    color: #ef4444;
}

.delete-account-btn[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 12px 16px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.08);
    border-radius: 8px;
    cursor: pointer;
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.delete-account-btn:hover:not(:disabled)[b-7xa3tg30xm] {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
}

.delete-account-btn:disabled[b-7xa3tg30xm] {
    opacity: 0.6;
    cursor: not-allowed;
}

.delete-account-btn .spinner[b-7xa3tg30xm] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-top-color: #ef4444;
    border-radius: 50%;
    animation: spin-b-7xa3tg30xm 0.8s linear infinite;
}

/* About Panel */
.about-info[b-7xa3tg30xm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.about-logo[b-7xa3tg30xm] {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(212, 96, 160, 0.3);
}

.about-name[b-7xa3tg30xm] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.about-version[b-7xa3tg30xm] {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px 0;
}

.about-description[b-7xa3tg30xm] {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 280px;
}

/* General Settings Form */
.setting-group[b-7xa3tg30xm] {
    margin-bottom: 20px;
}

.setting-group:last-child[b-7xa3tg30xm] {
    margin-bottom: 0;
}

.setting-label[b-7xa3tg30xm] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.setting-hint[b-7xa3tg30xm] {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

.setting-input[b-7xa3tg30xm] {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.setting-input:focus[b-7xa3tg30xm] {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 96, 160, 0.15);
}

.setting-input[b-7xa3tg30xm]::placeholder {
    color: var(--text-muted);
}

.setting-textarea[b-7xa3tg30xm] {
    width: 100%;
    min-height: 80px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    resize: vertical;
    transition: all 0.15s ease;
}

.setting-textarea:focus[b-7xa3tg30xm] {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 96, 160, 0.15);
}

.setting-textarea[b-7xa3tg30xm]::placeholder {
    color: var(--text-muted);
}

.setting-row[b-7xa3tg30xm] {
    display: flex;
    gap: 16px;
}

.flex-1[b-7xa3tg30xm] {
    flex: 1;
}

.input-with-button[b-7xa3tg30xm] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.input-with-button .setting-input[b-7xa3tg30xm] {
    flex: 1;
}

.detect-location-btn[b-7xa3tg30xm] {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.detect-location-btn:hover:not(:disabled)[b-7xa3tg30xm] {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.detect-location-btn:disabled[b-7xa3tg30xm] {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner-small[b-7xa3tg30xm] {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin-b-7xa3tg30xm 0.8s linear infinite;
}

/* Language Select */
.setting-select[b-7xa3tg30xm] {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.setting-select:focus[b-7xa3tg30xm] {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 96, 160, 0.15);
}

/* Account Info */
.account-info[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 16px;
}

.account-avatar[b-7xa3tg30xm] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.account-details[b-7xa3tg30xm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-name[b-7xa3tg30xm] {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.account-email[b-7xa3tg30xm] {
    font-size: 13px;
    color: var(--text-secondary);
}

.account-member[b-7xa3tg30xm] {
    font-size: 12px;
    color: var(--text-muted);
}

/* Connector Panel Styles */
.connector-card[b-7xa3tg30xm] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.connector-header[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}

.connector-info[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.connector-icon[b-7xa3tg30xm] {
    color: var(--accent-primary);
}

.connector-name[b-7xa3tg30xm] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.connector-status[b-7xa3tg30xm] {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-connected[b-7xa3tg30xm] {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-connecting[b-7xa3tg30xm] {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.status-failed[b-7xa3tg30xm] {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-disconnected[b-7xa3tg30xm] {
    background: var(--bg-hover);
    color: var(--text-muted);
}

.connector-body[b-7xa3tg30xm] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.connector-actions[b-7xa3tg30xm] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.action-btn[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.action-btn:hover:not(:disabled)[b-7xa3tg30xm] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.action-btn:disabled[b-7xa3tg30xm] {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.primary[b-7xa3tg30xm] {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.action-btn.primary:hover:not(:disabled)[b-7xa3tg30xm] {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.action-btn.secondary[b-7xa3tg30xm] {
    border-color: var(--border-color);
}

.toggle-switch[b-7xa3tg30xm] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

.toggle-slider[b-7xa3tg30xm] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-hover);
    transition: 0.2s;
    border-radius: 24px;
}

.toggle-slider[b-7xa3tg30xm]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked+.toggle-slider[b-7xa3tg30xm] {
    background-color: var(--accent-primary);
}

input:checked+.toggle-slider[b-7xa3tg30xm]:before {
    transform: translateX(20px);
}

input:disabled+.toggle-slider[b-7xa3tg30xm] {
    opacity: 0.5;
    cursor: not-allowed;
}

.device-code-panel[b-7xa3tg30xm] {
    background: var(--bg-elevated);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.device-code-message[b-7xa3tg30xm] {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.device-code-box[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.device-code[b-7xa3tg30xm] {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 4px;
}

.copy-btn[b-7xa3tg30xm] {
    padding: 6px;
    border: none;
    background: var(--bg-hover);
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.copy-btn:hover[b-7xa3tg30xm] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.device-code-link[b-7xa3tg30xm] {
    font-size: 13px;
    color: var(--accent-primary);
    text-decoration: none;
}

.device-code-link:hover[b-7xa3tg30xm] {
    text-decoration: underline;
}

.error-message[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 13px;
}

.success-message[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #22c55e;
    font-size: 13px;
}

.connected-info[b-7xa3tg30xm] {
    margin-bottom: 16px;
}

.connected-user[b-7xa3tg30xm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--color-bg-secondary, #1a1a2e);
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-text-primary, #e0e0e0);
}

.connector-description[b-7xa3tg30xm] {
    font-size: 13px;
    color: var(--color-text-secondary, #888);
    margin-bottom: 16px;
    line-height: 1.5;
}

.status-paused[b-7xa3tg30xm] {
    color: #f59e0b;
}

.spinner-small[b-7xa3tg30xm] {
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin-b-7xa3tg30xm 0.8s linear infinite;
}

@keyframes spin-b-7xa3tg30xm {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Layout/Sidebar.razor.rz.scp.css */
.sidebar[b-m4rqzwytg0] {
    width: 280px;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    border-right: 1px solid var(--border-color);
    position: relative;
    transition: width 0.2s ease, padding 0.2s ease;
}

.sidebar.collapsed[b-m4rqzwytg0] {
    width: 0;
    overflow: hidden;
    border-right: none;
}

/* Header / Brand */
.sidebar-header[b-m4rqzwytg0] {
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.brand[b-m4rqzwytg0] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin: -4px;
    border-radius: 8px;
    transition: all 0.15s ease;
    width: 100%;
    text-align: left;
}

.brand:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
}

.brand-icon[b-m4rqzwytg0] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
    box-shadow: 0 2px 8px rgba(212, 96, 160, 0.3);
}

.brand-text[b-m4rqzwytg0] {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Actions */
.sidebar-actions[b-m4rqzwytg0] {
    padding: 16px;
}

.new-chat-btn[b-m4rqzwytg0] {
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: var(--accent-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(212, 96, 160, 0.25);
}

.new-chat-btn:hover[b-m4rqzwytg0] {
    background: var(--accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 96, 160, 0.35);
}

.new-chat-btn:active[b-m4rqzwytg0] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(212, 96, 160, 0.25);
}

.btn-icon[b-m4rqzwytg0] {
    flex-shrink: 0;
}

/* Sections */
.sidebar-section[b-m4rqzwytg0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 12px;
}

.section-header[b-m4rqzwytg0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px 8px;
}

.section-label[b-m4rqzwytg0] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.section-action-btn[b-m4rqzwytg0] {
    padding: 4px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header:hover .section-action-btn[b-m4rqzwytg0] {
    opacity: 1;
}

.section-action-btn:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.conversation-list[b-m4rqzwytg0] {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 12px;
}

/* Empty State */
.empty-state[b-m4rqzwytg0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.empty-icon[b-m4rqzwytg0] {
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 16px;
}

.empty-title[b-m4rqzwytg0] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.empty-hint[b-m4rqzwytg0] {
    font-size: 13px;
    color: var(--text-muted);
}

/* Conversation Items */
.conversation-item[b-m4rqzwytg0] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2px;
    border: none;
    background: transparent;
    text-align: left;
    position: relative;
}

.conversation-item:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
}

.conversation-item.active[b-m4rqzwytg0] {
    background: rgba(212, 96, 160, 0.08);
}

.conversation-item.active:hover[b-m4rqzwytg0] {
    background: rgba(212, 96, 160, 0.12);
}

.conversation-icon[b-m4rqzwytg0] {
    flex-shrink: 0;
    color: var(--text-muted);
}

.conversation-item.active .conversation-icon[b-m4rqzwytg0] {
    color: var(--accent-primary);
}

.conversation-title[b-m4rqzwytg0] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.conversation-item.active .conversation-title[b-m4rqzwytg0] {
    color: var(--text-primary);
    font-weight: 500;
}

.active-indicator[b-m4rqzwytg0] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
}

/* Conversation item wrapper with delete button */
.conversation-item-wrapper[b-m4rqzwytg0] {
    position: relative;
    display: flex;
    align-items: center;
}

.conversation-item-wrapper .conversation-item[b-m4rqzwytg0] {
    flex: 1;
    min-width: 0;
    padding-right: 32px;
}

.conversation-item-wrapper:hover .conversation-item[b-m4rqzwytg0] {
    padding-right: 32px;
}

.conversation-delete-btn[b-m4rqzwytg0] {
    position: absolute;
    right: 8px;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.15s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.conversation-item-wrapper:hover .conversation-delete-btn[b-m4rqzwytg0] {
    opacity: 1;
}

.conversation-delete-btn:hover[b-m4rqzwytg0] {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Folder styles */
.folder-item[b-m4rqzwytg0] {
    margin-bottom: 4px;
}

.folder-header[b-m4rqzwytg0] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.folder-header:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
}

.folder-icon[b-m4rqzwytg0] {
    flex-shrink: 0;
    color: var(--text-muted);
}

.folder-name[b-m4rqzwytg0] {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: text;
}

.folder-name-input[b-m4rqzwytg0] {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--accent-primary, #d460a0);
    border-radius: 4px;
    padding: 2px 6px;
    outline: none;
    min-width: 0;
}

.folder-name-input:focus[b-m4rqzwytg0] {
    box-shadow: 0 0 0 2px rgba(212, 96, 160, 0.2);
}

.folder-count[b-m4rqzwytg0] {
    font-size: 11px;
    color: var(--text-muted);
    padding: 2px 6px;
    background: var(--bg-hover);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.folder-header:hover .folder-count[b-m4rqzwytg0] {
    opacity: 1;
}

.folder-action-btn[b-m4rqzwytg0] {
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.15s ease;
    border-radius: 4px;
}

.folder-header:hover .folder-action-btn[b-m4rqzwytg0] {
    opacity: 1;
}

.folder-action-btn:hover[b-m4rqzwytg0] {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.folder-contents[b-m4rqzwytg0] {
    margin-left: 24px;
    padding-left: 8px;
    border-left: 1px solid var(--border-subtle);
}

/* Drag and Drop Styles */
.folder-item.drag-over[b-m4rqzwytg0] {
    background: rgba(212, 96, 160, 0.1);
    border-radius: 8px;
}

.folder-item.drag-over .folder-header[b-m4rqzwytg0] {
    background: rgba(212, 96, 160, 0.15);
}

.conversation-item-wrapper[draggable="true"][b-m4rqzwytg0] {
    cursor: grab;
}

.conversation-item-wrapper[draggable="true"]:active[b-m4rqzwytg0] {
    cursor: grabbing;
}

.root-drop-zone[b-m4rqzwytg0] {
    min-height: 0;
    padding: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: 4px 0;
}

.root-drop-zone.drag-over[b-m4rqzwytg0] {
    min-height: 40px;
    padding: 8px 12px;
    background: rgba(212, 96, 160, 0.08);
    border: 2px dashed var(--accent-primary);
}

.drop-hint[b-m4rqzwytg0] {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 500;
}

/* Footer */
.sidebar-footer[b-m4rqzwytg0] {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.footer-profile[b-m4rqzwytg0] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.footer-profile:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
}

.profile-chevron[b-m4rqzwytg0] {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.profile-chevron.open[b-m4rqzwytg0] {
    transform: rotate(180deg);
}

.profile-menu[b-m4rqzwytg0] {
    position: absolute;
    bottom: 100%;
    left: 12px;
    right: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    margin-bottom: 8px;
    z-index: 100;
}

.profile-menu-item[b-m4rqzwytg0] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.profile-menu-item:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
}

.profile-menu-item.danger[b-m4rqzwytg0] {
    color: var(--accent-error);
}

.profile-menu-item.danger:hover[b-m4rqzwytg0] {
    background: rgba(239, 68, 68, 0.1);
}

.profile-avatar[b-m4rqzwytg0] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    box-shadow: 0 2px 8px rgba(212, 96, 160, 0.25);
}

.profile-info[b-m4rqzwytg0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-name[b-m4rqzwytg0] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-role[b-m4rqzwytg0] {
    font-size: 11px;
    color: var(--text-muted);
}

.profile-avatar.empty[b-m4rqzwytg0] {
    background: transparent;
    border: 2px dashed var(--text-muted);
    box-shadow: none;
    color: var(--text-muted);
}

.footer-profile.guest:hover .profile-avatar.empty[b-m4rqzwytg0] {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.footer-links[b-m4rqzwytg0] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-link[b-m4rqzwytg0] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.footer-link:hover[b-m4rqzwytg0] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Login Button */
.login-btn[b-m4rqzwytg0] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.login-btn:hover[b-m4rqzwytg0] {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

.login-btn svg[b-m4rqzwytg0] {
    color: var(--accent-primary);
    flex-shrink: 0;
}
/* /Components/Pages/Chat.razor.rz.scp.css */
.chat-page[b-v596xrti9v] {
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* /Components/Pages/Privacy.razor.rz.scp.css */
.legal-document[b-kkcntdnval] {
    line-height: 1.7;
}

.legal-document h1[b-kkcntdnval] {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #e6edf3);
}

.legal-document .effective-date[b-kkcntdnval] {
    color: var(--text-secondary, #8b949e);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.legal-document h2[b-kkcntdnval] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary, #e6edf3);
}

.legal-document h3[b-kkcntdnval] {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #e6edf3);
}

.legal-document p[b-kkcntdnval] {
    margin-bottom: 1rem;
    color: var(--text-secondary, #8b949e);
}

.legal-document section[b-kkcntdnval] {
    margin-bottom: 1.5rem;
}

.legal-document ul[b-kkcntdnval] {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-document li[b-kkcntdnval] {
    margin-bottom: 0.5rem;
    color: var(--text-secondary, #8b949e);
}

.legal-document a[b-kkcntdnval] {
    color: var(--accent-primary, #58a6ff);
    text-decoration: none;
}

.legal-document a:hover[b-kkcntdnval] {
    text-decoration: underline;
}
/* /Components/Pages/Terms.razor.rz.scp.css */
.legal-document[b-ovmlodky0t] {
    line-height: 1.7;
}

.legal-document h1[b-ovmlodky0t] {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #e6edf3);
}

.legal-document .effective-date[b-ovmlodky0t] {
    color: var(--text-secondary, #8b949e);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.legal-document h2[b-ovmlodky0t] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary, #e6edf3);
}

.legal-document h3[b-ovmlodky0t] {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #e6edf3);
}

.legal-document p[b-ovmlodky0t] {
    margin-bottom: 1rem;
    color: var(--text-secondary, #8b949e);
}

.legal-document section[b-ovmlodky0t] {
    margin-bottom: 1.5rem;
}

.legal-document ul[b-ovmlodky0t] {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-document li[b-ovmlodky0t] {
    margin-bottom: 0.5rem;
    color: var(--text-secondary, #8b949e);
}

.legal-document a[b-ovmlodky0t] {
    color: var(--accent-primary, #58a6ff);
    text-decoration: none;
}

.legal-document a:hover[b-ovmlodky0t] {
    text-decoration: underline;
}
/* /Components/PresentableToolPanel.razor.rz.scp.css */
.presentable-tool-panel[b-r3jt0xmu7j] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
}

.presentable-tool-panel.collapsed[b-r3jt0xmu7j] {
    display: none;
}

.presentable-tool-header[b-r3jt0xmu7j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.presentable-tool-title[b-r3jt0xmu7j] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.presentable-tool-close[b-r3jt0xmu7j] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.presentable-tool-close:hover[b-r3jt0xmu7j] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.presentable-tool-content[b-r3jt0xmu7j] {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.presentable-tool-iframe[b-r3jt0xmu7j] {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--bg-primary);
}

.presentable-tool-empty[b-r3jt0xmu7j] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.presentable-tool-empty .empty-icon[b-r3jt0xmu7j] {
    color: var(--text-tertiary);
    opacity: 0.5;
    margin-bottom: 16px;
}

.presentable-tool-empty .empty-text[b-r3jt0xmu7j] {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.presentable-tool-empty .empty-hint[b-r3jt0xmu7j] {
    margin: 0;
    font-size: 12px;
    color: var(--text-tertiary);
    max-width: 200px;
}
/* /Components/ToolPanel.razor.rz.scp.css */
.tool-panel[b-sncsdy703v] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
}

.tool-panel-header[b-sncsdy703v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.tool-panel-title[b-sncsdy703v] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.tool-panel-close[b-sncsdy703v] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tool-panel-close:hover[b-sncsdy703v] {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.tool-panel-content[b-sncsdy703v] {
    flex: 1;
    overflow: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
}

/* Empty state */
.tool-panel-empty[b-sncsdy703v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    height: 100%;
}

.tool-panel-empty .empty-icon[b-sncsdy703v] {
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 16px;
}

.tool-panel-empty .empty-text[b-sncsdy703v] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.tool-panel-empty .empty-hint[b-sncsdy703v] {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* TicTacToe styling for expanded side panel view - modern aesthetic */
.tool-panel-content[b-sncsdy703v]  .tictactoe-container {
    max-width: none;
    padding: 32px;
    background: linear-gradient(135deg,
            rgba(212, 96, 160, 0.08) 0%,
            rgba(147, 112, 219, 0.08) 50%,
            rgba(100, 149, 237, 0.08) 100%);
    border: none;
    border-radius: 24px;
    margin: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-board {
    gap: 12px;
    padding: 16px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-cell {
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-cell:hover:not(.cell-x):not(.cell-o) {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    transform: scale(1.05);
    box-shadow:
        0 6px 20px rgba(212, 96, 160, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(212, 96, 160, 0.3);
}

.tool-panel-content[b-sncsdy703v]  .cell-content {
    font-size: 48px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-panel-content[b-sncsdy703v]  .cell-content-x {
    color: #3b82f6;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

.tool-panel-content[b-sncsdy703v]  .cell-content-o {
    color: #ef4444;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-cell.cell-x {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-cell.cell-o {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.04) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-cell.cell-winning {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border-color: #22c55e;
    box-shadow:
        0 0 20px rgba(34, 197, 94, 0.25),
        inset 0 0 12px rgba(34, 197, 94, 0.1);
    animation: winPulse-b-sncsdy703v 1.5s ease-in-out infinite;
}

@keyframes winPulse-b-sncsdy703v {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-cell.cell-last-ai {
    box-shadow:
        inset 0 0 0 3px var(--accent-primary, #d460a0),
        0 4px 12px rgba(212, 96, 160, 0.2);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-message {
    font-size: 16px;
    padding: 14px 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-status {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-message.status-playerwins {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-message.status-aiwins {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.tool-panel-content[b-sncsdy703v]  .tictactoe-message.status-draw {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.3);
    color: #ca8a04;
}
/* /Visualisation/ContentVisualiser.razor.rz.scp.css */
.content-visualiser[b-v966dbc2r0] {
    font-family: inherit;
    line-height: 1.6;
}

/* Markdown Styles */
.markdown-content[b-v966dbc2r0] {
    color: inherit;
}

.md-heading[b-v966dbc2r0] {
    margin: 0.5em 0 0.3em 0;
    font-weight: 600;
    line-height: 1.3;
}

.md-h1[b-v966dbc2r0] {
    font-size: 1.5em;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    padding-bottom: 0.2em;
}

.md-h2[b-v966dbc2r0] {
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    padding-bottom: 0.2em;
}

.md-h3[b-v966dbc2r0] {
    font-size: 1.15em;
}

.md-h4[b-v966dbc2r0] {
    font-size: 1.05em;
}

.md-h5[b-v966dbc2r0],
.md-h6[b-v966dbc2r0] {
    font-size: 1em;
}

.md-paragraph[b-v966dbc2r0] {
    margin: 0.5em 0;
}

.md-bold[b-v966dbc2r0] {
    font-weight: 600;
}

.md-italic[b-v966dbc2r0] {
    font-style: italic;
}

.md-inline-code[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.9em;
    padding: 0.15em 0.4em;
    background: var(--code-bg, #f0f0f0);
    border-radius: 4px;
    color: var(--code-color, #d63384);
}

.md-code-block[b-v966dbc2r0] {
    margin: 0.75em 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--code-block-bg, #1e1e1e);
}

.md-code-language[b-v966dbc2r0] {
    font-size: 0.75em;
    padding: 0.3em 0.8em;
    background: var(--code-lang-bg, #333);
    color: var(--code-lang-color, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.md-code-block pre[b-v966dbc2r0] {
    margin: 0;
    padding: 0.8em 1em;
    overflow-x: auto;
}

.md-code-block code[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    color: var(--code-block-color, #d4d4d4);
    line-height: 1.5;
}

.md-link[b-v966dbc2r0] {
    color: var(--link-color, #D460A0);
    text-decoration: none;
}

.md-link:hover[b-v966dbc2r0] {
    text-decoration: underline;
}

.md-blockquote[b-v966dbc2r0] {
    margin: 0.75em 0;
    padding: 0.5em 1em;
    border-left: 4px solid var(--quote-border, #D460A0);
    background: var(--quote-bg, rgba(212, 96, 160, 0.05));
    color: var(--quote-color, #555);
}

.md-list[b-v966dbc2r0] {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

.md-list li[b-v966dbc2r0] {
    margin: 0.25em 0;
}

.md-hr[b-v966dbc2r0] {
    border: none;
    border-top: 1px solid var(--border-color, #e0e0e0);
    margin: 1em 0;
}

/* JSON Styles */
.json-content[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    background: var(--json-bg, #1e1e1e);
    color: var(--json-color, #d4d4d4);
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre;
}

.json-raw[b-v966dbc2r0] {
    margin: 0;
    font-family: inherit;
}

.json-key[b-v966dbc2r0] {
    color: var(--json-key-color, #9cdcfe);
}

.json-string[b-v966dbc2r0] {
    color: var(--json-string-color, #ce9178);
}

.json-number[b-v966dbc2r0] {
    color: var(--json-number-color, #b5cea8);
}

.json-boolean[b-v966dbc2r0] {
    color: var(--json-boolean-color, #569cd6);
}

.json-null[b-v966dbc2r0] {
    color: var(--json-null-color, #569cd6);
    font-style: italic;
}

.json-brace[b-v966dbc2r0],
.json-bracket[b-v966dbc2r0] {
    color: var(--json-brace-color, #ffd700);
}

.json-colon[b-v966dbc2r0] {
    color: var(--json-colon-color, #d4d4d4);
}

.json-comma[b-v966dbc2r0] {
    color: var(--json-comma-color, #d4d4d4);
}

/* Streaming cursor */
.cursor[b-v966dbc2r0] {
    display: inline-block;
    animation: blink-b-v966dbc2r0 1s step-end infinite;
    color: var(--cursor-color, #D460A0);
}

@keyframes blink-b-v966dbc2r0 {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Content type indicators */
.content-markdown[b-v966dbc2r0] {
    /* Default styling for markdown */
}

.content-json[b-v966dbc2r0] {
    /* JSON gets special background treatment */
}

.content-code[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
}

.content-table[b-v966dbc2r0] {
    overflow-x: auto;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .md-inline-code[b-v966dbc2r0] {
        background: #2d2d2d;
        color: #f8a4c6;
    }

    .md-code-block[b-v966dbc2r0] {
        background: #0d0d0d;
    }

    .md-blockquote[b-v966dbc2r0] {
        background: rgba(212, 96, 160, 0.1);
        color: #aaa;
    }

    .json-content[b-v966dbc2r0] {
        background: #0d0d0d;
    }
}

/* Code Visualiser Styles */
.code-block[b-v966dbc2r0] {
    margin: 0.75em 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--code-block-bg, #1e1e1e);
}

.code-language[b-v966dbc2r0] {
    font-size: 0.75em;
    padding: 0.3em 0.8em;
    background: var(--code-lang-bg, #333);
    color: var(--code-lang-color, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--code-border, #444);
}

.code-container[b-v966dbc2r0] {
    position: relative;
}

.code-container pre[b-v966dbc2r0] {
    margin: 0;
    padding: 0.8em 1em;
    overflow-x: auto;
}

.code-container code[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    color: var(--code-block-color, #d4d4d4);
    line-height: 1.5;
}

/* Syntax highlighting */
.code-comment[b-v966dbc2r0] {
    color: var(--code-comment, #6a9955);
    font-style: italic;
}

.code-string[b-v966dbc2r0] {
    color: var(--code-string, #ce9178);
}

.code-keyword[b-v966dbc2r0] {
    color: var(--code-keyword, #569cd6);
    font-weight: 500;
}

.code-type[b-v966dbc2r0] {
    color: var(--code-type, #4ec9b0);
}

.code-number[b-v966dbc2r0] {
    color: var(--code-number, #b5cea8);
}

.code-punctuation[b-v966dbc2r0] {
    color: var(--code-punctuation, #d4d4d4);
}

.code-operator[b-v966dbc2r0] {
    color: var(--code-operator, #d4d4d4);
}

/* Image Visualiser Styles */
.image-visualiser[b-v966dbc2r0] {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.image-figure[b-v966dbc2r0] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    max-width: 100%;
}

.image-preview[b-v966dbc2r0] {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--image-bg, #f5f5f5);
    border: 1px solid var(--border-color, #e0e0e0);
}

.image-caption[b-v966dbc2r0] {
    font-size: 0.85em;
    color: var(--caption-color, #666);
    text-align: center;
    font-style: italic;
}

.image-link[b-v966dbc2r0] {
    font-size: 0.8em;
    color: var(--link-color, #D460A0);
    text-decoration: none;
}

.image-link:hover[b-v966dbc2r0] {
    text-decoration: underline;
}

/* Diff Visualiser Styles */
.diff-visualiser[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    border-radius: 8px;
    overflow: hidden;
    background: var(--diff-bg, #1e1e1e);
    border: 1px solid var(--border-color, #333);
}

.diff-header[b-v966dbc2r0] {
    padding: 0.5em 1em;
    background: var(--diff-header-bg, #252525);
    border-bottom: 1px solid var(--border-color, #333);
}

.diff-stats[b-v966dbc2r0] {
    display: flex;
    gap: 1em;
}

.diff-additions[b-v966dbc2r0] {
    color: var(--diff-add-color, #3fb950);
}

.diff-deletions[b-v966dbc2r0] {
    color: var(--diff-delete-color, #f85149);
}

.diff-content[b-v966dbc2r0] {
    overflow-x: auto;
}

.diff-table[b-v966dbc2r0] {
    width: 100%;
    border-collapse: collapse;
}

.diff-line[b-v966dbc2r0] {
    line-height: 1.4;
}

.diff-line-num[b-v966dbc2r0] {
    width: 40px;
    padding: 0 0.5em;
    text-align: right;
    color: var(--diff-line-num-color, #6e7681);
    user-select: none;
    vertical-align: top;
}

.diff-line-sign[b-v966dbc2r0] {
    width: 20px;
    padding: 0 0.3em;
    text-align: center;
    user-select: none;
    vertical-align: top;
}

.diff-line-content[b-v966dbc2r0] {
    padding: 0 0.5em;
    white-space: pre-wrap;
    word-break: break-word;
}

.diff-line-content pre[b-v966dbc2r0] {
    margin: 0;
    font-family: inherit;
}

.diff-line-addition[b-v966dbc2r0] {
    background: var(--diff-add-bg, rgba(63, 185, 80, 0.15));
}

.diff-line-addition .diff-line-sign[b-v966dbc2r0] {
    color: var(--diff-add-color, #3fb950);
}

.diff-line-deletion[b-v966dbc2r0] {
    background: var(--diff-delete-bg, rgba(248, 81, 73, 0.15));
}

.diff-line-deletion .diff-line-sign[b-v966dbc2r0] {
    color: var(--diff-delete-color, #f85149);
}

.diff-line-hunk[b-v966dbc2r0] {
    background: var(--diff-hunk-bg, rgba(56, 139, 253, 0.15));
    color: var(--diff-hunk-color, #58a6ff);
}

.diff-line-header[b-v966dbc2r0] {
    background: var(--diff-header-line-bg, #252525);
    color: var(--diff-header-color, #8b949e);
    font-weight: 600;
}

/* URL Visualiser Styles */
.url-visualiser[b-v966dbc2r0] {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.url-card[b-v966dbc2r0] {
    display: flex;
    align-items: flex-start;
    gap: 0.75em;
    padding: 0.75em;
    background: var(--url-card-bg, #f8f9fa);
    border-radius: 8px;
    border: 1px solid var(--border-color, #e0e0e0);
    transition: background 0.2s;
}

.url-card:hover[b-v966dbc2r0] {
    background: var(--url-card-hover-bg, #f0f1f2);
}

.url-icon[b-v966dbc2r0] {
    font-size: 1.5em;
    flex-shrink: 0;
}

.url-details[b-v966dbc2r0] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.url-link[b-v966dbc2r0] {
    color: var(--link-color, #D460A0);
    text-decoration: none;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.url-link:hover[b-v966dbc2r0] {
    text-decoration: underline;
}

.url-meta[b-v966dbc2r0] {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.url-domain[b-v966dbc2r0] {
    font-size: 0.8em;
    color: var(--url-domain-color, #666);
}

/* YAML Visualiser Styles */
.yaml-visualiser[b-v966dbc2r0] {
    border-radius: 8px;
    overflow: hidden;
    background: var(--yaml-bg, #1e1e1e);
    border: 1px solid var(--border-color, #333);
}

.yaml-header[b-v966dbc2r0] {
    padding: 0.3em 0.8em;
    background: var(--yaml-header-bg, #333);
    color: var(--yaml-header-color, #888);
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yaml-content[b-v966dbc2r0] {
    margin: 0;
    padding: 1em;
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    line-height: 1.5;
    color: var(--yaml-color, #d4d4d4);
}

.yaml-key[b-v966dbc2r0] {
    color: var(--yaml-key-color, #9cdcfe);
}

.yaml-colon[b-v966dbc2r0] {
    color: var(--yaml-colon-color, #d4d4d4);
}

.yaml-string[b-v966dbc2r0] {
    color: var(--yaml-string-color, #ce9178);
}

.yaml-number[b-v966dbc2r0] {
    color: var(--yaml-number-color, #b5cea8);
}

.yaml-boolean[b-v966dbc2r0] {
    color: var(--yaml-boolean-color, #569cd6);
}

.yaml-value[b-v966dbc2r0] {
    color: var(--yaml-value-color, #ce9178);
}

.yaml-comment[b-v966dbc2r0] {
    color: var(--yaml-comment-color, #6a9955);
    font-style: italic;
}

.yaml-list-marker[b-v966dbc2r0] {
    color: var(--yaml-list-marker-color, #d4d4d4);
}

/* CSV Visualiser Styles */
.csv-visualiser[b-v966dbc2r0] {
    border-radius: 8px;
    overflow: hidden;
    background: var(--csv-bg, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
}

.csv-header[b-v966dbc2r0] {
    padding: 0.5em 1em;
    background: var(--csv-header-bg, #f5f5f5);
    color: var(--csv-header-color, #666);
    font-size: 0.85em;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
}

.csv-table-container[b-v966dbc2r0] {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
}

.csv-table[b-v966dbc2r0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.csv-table th[b-v966dbc2r0],
.csv-table td[b-v966dbc2r0] {
    padding: 0.5em 0.75em;
    text-align: left;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    white-space: nowrap;
}

.csv-table th[b-v966dbc2r0] {
    background: var(--csv-th-bg, #f9f9f9);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.csv-table tbody tr:hover[b-v966dbc2r0] {
    background: var(--csv-row-hover, #f5f7fa);
}

.csv-row-num[b-v966dbc2r0] {
    color: var(--csv-row-num-color, #999);
    font-size: 0.85em;
    width: 40px;
    text-align: center;
    background: var(--csv-row-num-bg, #fafafa);
}

.csv-cell-number[b-v966dbc2r0] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    text-align: right;
    color: var(--csv-number-color, #1a73e8);
}

.csv-cell-boolean[b-v966dbc2r0] {
    font-weight: 500;
    color: var(--csv-boolean-color, #9334e6);
}

.csv-cell-empty[b-v966dbc2r0] {
    color: var(--csv-empty-color, #ccc);
}

.csv-cell-empty[b-v966dbc2r0]::before {
    content: "–";
}

/* Dark mode support for new visualisers */
@media (prefers-color-scheme: dark) {
    .image-preview[b-v966dbc2r0] {
        background: #2d2d2d;
        border-color: #444;
    }

    .image-caption[b-v966dbc2r0] {
        color: #999;
    }

    .url-card[b-v966dbc2r0] {
        background: #2d2d2d;
        border-color: #444;
    }

    .url-card:hover[b-v966dbc2r0] {
        background: #363636;
    }

    .url-domain[b-v966dbc2r0] {
        color: #999;
    }

    .csv-visualiser[b-v966dbc2r0] {
        background: #1e1e1e;
        border-color: #333;
    }

    .csv-header[b-v966dbc2r0] {
        background: #252525;
        color: #999;
        border-color: #333;
    }

    .csv-table th[b-v966dbc2r0],
    .csv-table td[b-v966dbc2r0] {
        border-color: #333;
    }

    .csv-table th[b-v966dbc2r0] {
        background: #252525;
    }

    .csv-table tbody tr:hover[b-v966dbc2r0] {
        background: #2a2a2a;
    }

    .csv-row-num[b-v966dbc2r0] {
        background: #1a1a1a;
        color: #666;
    }
}

/* Tic-Tac-Toe Visualiser Styles */
[b-v966dbc2r0] .tictactoe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary, #f5f5f5);
    border-radius: 16px;
    border: 1px solid var(--border-color, #e0e0e0);
    max-width: 320px;
    margin: 12px 0;
}

[b-v966dbc2r0] .tictactoe-message {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-tertiary, #eee);
}

[b-v966dbc2r0] .tictactoe-message.status-playerwins {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

[b-v966dbc2r0] .tictactoe-message.status-aiwins {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

[b-v966dbc2r0] .tictactoe-message.status-draw {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

[b-v966dbc2r0] .tictactoe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: var(--border-color, #ccc);
    padding: 4px;
    border-radius: 12px;
}

[b-v966dbc2r0] .tictactoe-cell {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary, #fff);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

[b-v966dbc2r0] .tictactoe-cell:hover:not(.cell-x):not(.cell-o) {
    background: var(--bg-tertiary, #f0f0f0);
}

[b-v966dbc2r0] .tictactoe-cell.cell-winning {
    background: rgba(34, 197, 94, 0.2);
    animation: winPulse-b-v966dbc2r0 0.6s ease infinite alternate;
}

[b-v966dbc2r0] .tictactoe-cell.cell-last-ai {
    box-shadow: inset 0 0 0 2px var(--accent-primary, #d460a0);
}

[b-v966dbc2r0] .cell-content {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

[b-v966dbc2r0] .cell-content-x {
    color: #3b82f6;
}

[b-v966dbc2r0] .cell-content-o {
    color: #ef4444;
}

[b-v966dbc2r0] .tictactoe-status {
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-tertiary, #eee);
}

[b-v966dbc2r0] .tictactoe-status.status-inprogress {
    color: var(--text-secondary, #666);
}

[b-v966dbc2r0] .tictactoe-status.status-playerwins {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

[b-v966dbc2r0] .tictactoe-status.status-aiwins {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

[b-v966dbc2r0] .tictactoe-status.status-draw {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

[b-v966dbc2r0] .tictactoe-error {
    color: var(--accent-error, #ef4444);
    font-size: 14px;
}

@keyframes winPulse-b-v966dbc2r0 {
    from {
        background: rgba(34, 197, 94, 0.15);
    }

    to {
        background: rgba(34, 197, 94, 0.3);
    }
}

/* Tool Call/Result Block Styles */
[b-v966dbc2r0] .tool-call-block,
[b-v966dbc2r0] .tool-result-block {
    margin: 0.75em 0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9em;
}

[b-v966dbc2r0] .tool-call-block {
    background: var(--bg-tertiary, #f5f5f5);
    border: 1px solid var(--border-color, #e0e0e0);
}

[b-v966dbc2r0] .tool-result-block:not(.tool-result-visualised) {
    background: var(--bg-secondary, #f8f8f8);
    border: 1px solid var(--border-color, #e0e0e0);
}

[b-v966dbc2r0] .tool-result-visualised {
    /* Visualised results get their own styling from the visualiser */
    margin: 1em 0;
}

[b-v966dbc2r0] .tool-call-summary,
[b-v966dbc2r0] .tool-result-summary {
    cursor: pointer;
    padding: 0.5em 1em;
    font-weight: 500;
    color: var(--text-secondary, #666);
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

[b-v966dbc2r0] .tool-call-summary:hover,
[b-v966dbc2r0] .tool-result-summary:hover {
    background: var(--bg-hover, rgba(0, 0, 0, 0.05));
}

[b-v966dbc2r0] .tool-call-content,
[b-v966dbc2r0] .tool-result-content {
    margin: 0;
    padding: 0.8em 1em;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    font-size: 0.85em;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--code-block-bg, #1e1e1e);
    color: var(--code-block-color, #d4d4d4);
}
}

/* Expanded Tool Indicator - shown in chat when tool is in side panel */
[b-v966dbc2r0] .tool-result-expanded {
    margin: 0.75em 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary, #16162a), var(--bg-tertiary, #1e1e3f));
    border: 1px solid var(--accent-primary, #D460A0);
    box-shadow: 0 0 0 1px rgba(212, 96, 160, 0.2);
}

[b-v966dbc2r0] .expanded-tool-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

[b-v966dbc2r0] .expanded-tool-indicator:hover {
    background: rgba(212, 96, 160, 0.1);
}

[b-v966dbc2r0] .tool-indicator-icon {
    font-size: 20px;
}

[b-v966dbc2r0] .tool-indicator-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #e0e0e0);
}

/* Artifact Result Styles */
[b-v966dbc2r0] .artifact-result {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin: 0.5em 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-size: 13px;
}

[b-v966dbc2r0] .artifact-icon {
    font-size: 16px;
}

[b-v966dbc2r0] .artifact-message {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

[b-v966dbc2r0] .artifact-hint {
    color: rgba(34, 197, 94, 0.8);
    font-size: 12px;
    font-style: italic;
}

/* List Manager Styles */
[b-v966dbc2r0] .listmanager-container {
    padding: 12px;
    background: var(--card-bg, rgba(30, 30, 46, 0.6));
    border-radius: 8px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

[b-v966dbc2r0] .listmanager-message {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}

[b-v966dbc2r0] .listmanager-message.status-success {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

[b-v966dbc2r0] .listmanager-message.status-error {
    background: rgba(233, 69, 96, 0.1);
    color: #e94560;
}

[b-v966dbc2r0] .listmanager-active-list {
    margin-bottom: 12px;
}

[b-v966dbc2r0] .listmanager-active-list .list-header {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #00d9ff;
}

[b-v966dbc2r0] .listmanager-active-list .list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

[b-v966dbc2r0] .listmanager-active-list .list-items .item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(15, 52, 96, 0.5);
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 13px;
}

[b-v966dbc2r0] .listmanager-active-list .list-items .item.checked {
    background: rgba(0, 255, 136, 0.1);
}

[b-v966dbc2r0] .listmanager-active-list .list-items .item.checked .item-text {
    text-decoration: line-through;
    opacity: 0.7;
}

[b-v966dbc2r0] .listmanager-active-list .list-items .item-checkbox {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #00ff88;
}

[b-v966dbc2r0] .listmanager-active-list .list-items .item-text {
    flex: 1;
}

[b-v966dbc2r0] .listmanager-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

[b-v966dbc2r0] .listmanager-summary .list-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(15, 52, 96, 0.4);
    border-radius: 16px;
    font-size: 12px;
}

[b-v966dbc2r0] .listmanager-summary .list-summary.active {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

[b-v966dbc2r0] .listmanager-summary .list-name {
    font-weight: 500;
}

[b-v966dbc2r0] .listmanager-summary .list-stats {
    color: rgba(255, 255, 255, 0.6);
}

[b-v966dbc2r0] .listmanager-error {
    color: #e94560;
    font-size: 13px;
}
/* /Visualisation/ExpandableToolContent.razor.rz.scp.css */
.expandable-tool-content[b-5soss2hw2l] {
    border: 1px solid var(--border-color, #2d2d44);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary, #16162a);
    cursor: pointer;
    transition: all 0.2s ease;
}

.expandable-tool-content:hover[b-5soss2hw2l] {
    border-color: var(--accent-primary, #D460A0);
    box-shadow: 0 0 0 1px rgba(212, 96, 160, 0.2);
}

.expandable-tool-header[b-5soss2hw2l] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-hover, #2d2d44);
    border-bottom: 1px solid var(--border-color, #2d2d44);
}

.tool-icon[b-5soss2hw2l] {
    font-size: 16px;
}

.tool-name[b-5soss2hw2l] {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #e0e0e0);
}

.expand-button[b-5soss2hw2l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-color, #2d2d44);
    border-radius: 6px;
    color: var(--text-secondary, #a0a0a0);
    cursor: pointer;
    transition: all 0.15s ease;
}

.expand-button:hover[b-5soss2hw2l] {
    background: var(--accent-primary, #D460A0);
    border-color: var(--accent-primary, #D460A0);
    color: white;
}

.expandable-tool-preview[b-5soss2hw2l] {
    padding: 12px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.expandable-tool-preview[b-5soss2hw2l]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--bg-secondary, #16162a));
    pointer-events: none;
}

.expandable-tool-placeholder[b-5soss2hw2l] {
    padding: 20px;
    text-align: center;
    color: var(--text-muted, #666);
    font-size: 13px;
    font-style: italic;
}

/* Expanded state in tool panel */
.tictactoe-expanded[b-5soss2hw2l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
}

.tictactoe-expanded[b-5soss2hw2l]  .tictactoe-container {
    transform: scale(1.3);
    transform-origin: center;
}

.tictactoe-expanded[b-5soss2hw2l]  .tictactoe-board {
    gap: 8px;
}

.tictactoe-expanded[b-5soss2hw2l]  .tictactoe-cell {
    width: 90px;
    height: 90px;
}

.tictactoe-expanded[b-5soss2hw2l]  .cell-content {
    font-size: 42px;
}
