/* /Components/Chat/ConversationSettingsPopover.razor.rz.scp.css */
/* T060: Conversation settings popover styles (SPEC-007 - User Story 4) */

.settings-popover[b-7w2t624itm] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    width: 90%;
    max-width: 450px;
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--modal-border-radius, 1rem);
    box-shadow: var(--modal-shadow);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out);
}

.settings-popover.visible[b-7w2t624itm] {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Backdrop */
.settings-popover-backdrop[b-7w2t624itm] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsl(var(--modal-backdrop) / 0.75);
    z-index: 1040;
    animation: fade-in var(--duration-normal) var(--ease-out) both;
}

/* Header */
.settings-popover-header[b-7w2t624itm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--chat-spacing-lg, 16px);
    border-bottom: 1px solid hsl(var(--c-border));
}

.settings-popover-title[b-7w2t624itm] {
    margin: 0;
    font-size: var(--chat-font-size-lg, 16px);
    font-weight: 600;
    color: hsl(var(--c-text));
}

.settings-popover-close[b-7w2t624itm] {
    background: none;
    border: none;
    color: hsl(var(--c-text-muted));
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--chat-radius-sm, 4px);
    transition: all var(--chat-transition-fast, 100ms) ease;
}

.settings-popover-close:hover[b-7w2t624itm] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

.settings-popover-close:focus-visible[b-7w2t624itm] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

/* Body */
.settings-popover-body[b-7w2t624itm] {
    padding: var(--chat-spacing-lg, 16px);
    max-height: 60vh;
    overflow-y: auto;
}

/* Settings Group */
.settings-group[b-7w2t624itm] {
    margin-bottom: var(--chat-spacing-lg, 16px);
}

.settings-group:last-child[b-7w2t624itm] {
    margin-bottom: 0;
}

.settings-label[b-7w2t624itm] {
    display: block;
    font-size: var(--chat-font-size-md, 14px);
    font-weight: 500;
    color: hsl(var(--c-text));
    margin-bottom: var(--chat-spacing-sm, 8px);
}

.settings-help-text[b-7w2t624itm] {
    display: block;
    font-size: var(--chat-font-size-sm, 12px);
    color: hsl(var(--c-text-muted));
    margin-top: 4px;
}

/* Select */
.settings-select[b-7w2t624itm] {
    width: 100%;
    padding: var(--chat-spacing-sm, 8px) var(--chat-spacing-md, 12px);
    font-size: var(--chat-font-size-md, 14px);
    color: hsl(var(--c-text));
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--chat-radius-md, 8px);
    transition: all var(--chat-transition-fast, 100ms) ease;
}

.settings-select:hover[b-7w2t624itm] {
    border-color: hsl(var(--c-primary));
}

.settings-select:focus[b-7w2t624itm] {
    outline: none;
    border-color: hsl(var(--c-primary));
    box-shadow: 0 0 0 3px hsl(var(--c-primary) / 0.1);
}

/* Slider */
.settings-slider-container[b-7w2t624itm] {
    display: flex;
    align-items: center;
    gap: var(--chat-spacing-md, 12px);
}

.settings-slider[b-7w2t624itm] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: hsl(var(--c-border));
    outline: none;
    -webkit-appearance: none;
}

.settings-slider[b-7w2t624itm]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: hsl(var(--c-primary));
    cursor: pointer;
    transition: all var(--chat-transition-fast, 100ms) ease;
}

.settings-slider[b-7w2t624itm]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px hsl(var(--c-primary) / 0.1);
}

.settings-slider[b-7w2t624itm]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: hsl(var(--c-primary));
    cursor: pointer;
    border: none;
}

.settings-slider-value[b-7w2t624itm] {
    min-width: 40px;
    text-align: center;
    font-size: var(--chat-font-size-md, 14px);
    font-weight: 500;
    color: hsl(var(--c-text));
}

/* Footer */
.settings-popover-footer[b-7w2t624itm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--chat-spacing-lg, 16px);
    border-top: 1px solid hsl(var(--c-border));
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .settings-popover[b-7w2t624itm],
    .settings-popover-backdrop[b-7w2t624itm] {
        transition: none;
        animation: none;
    }

    .settings-popover.visible[b-7w2t624itm] {
        transform: translate(-50%, -50%);
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .settings-popover[b-7w2t624itm] {
        width: 95%;
        max-width: none;
    }

    .settings-popover-body[b-7w2t624itm] {
        max-height: 70vh;
    }
}

/* /Components/Chat/FileChip.razor.rz.scp.css */
/* SPEC-014 FileChip component styles */

.file-chip[b-lb1crklhke] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-family: var(--font-sans);
    color: hsl(var(--c-text));
    transition: all 0.2s ease;
    max-width: 300px;
    cursor: pointer;
}

.file-chip:hover[b-lb1crklhke] {
    background: hsl(var(--c-surface-2));
    border-color: hsl(var(--c-border-strong));
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.file-icon[b-lb1crklhke] {
    font-size: 1rem;
    color: hsl(var(--c-text-muted));
}

.file-chip.uploading .file-icon[b-lb1crklhke] {
    animation: pulse-b-lb1crklhke 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-b-lb1crklhke {
    from { opacity: 1; }
    to { opacity: 0.5; }
}

.file-name[b-lb1crklhke] {
    font-weight: 500;
    color: hsl(var(--c-text));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-info[b-lb1crklhke] {
    font-size: var(--font-size-xs);
    color: hsl(var(--c-text-muted));
    white-space: nowrap;
}

.file-size[b-lb1crklhke] {
    margin-left: var(--space-1);
    font-size: var(--font-size-xs);
    color: hsl(var(--c-text-muted));
}

.file-remove[b-lb1crklhke] {
    background: none;
    border: none;
    padding: var(--space-1);
    margin-left: var(--space-1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
    transition: all 0.2s ease;
}

.file-remove:hover[b-lb1crklhke] {
    background: hsl(var(--c-danger));
    color: hsl(var(--c-primary-contrast));
}

.file-chip.uploading[b-lb1crklhke] {
    border-color: hsl(var(--c-primary));
}

.file-chip.success[b-lb1crklhke] {
    border-color: hsl(var(--c-success));
}

.file-chip.error[b-lb1crklhke] {
    border-color: hsl(var(--c-danger));
    background: hsl(var(--c-danger) / 0.05);
}

/* File Icon */
.file-chip > i:first-child[b-lb1crklhke] {
    flex-shrink: 0;
    font-size: 14px;
    color: hsl(var(--c-text-muted));
}

/* File Info Container */
.file-chip-info[b-lb1crklhke] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0; /* Allow text truncation */
    flex: 1;
}

.file-chip-name[b-lb1crklhke] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: hsl(var(--c-text));
}

.file-chip-size[b-lb1crklhke] {
    font-size: 11px;
    color: hsl(var(--c-text-muted));
}

/* Remove Button */
.file-chip-remove[b-lb1crklhke] {
    flex-shrink: 0;
    background: none;
    border: none;
    color: hsl(var(--c-text-muted));
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: all var(--chat-transition-fast, 100ms) ease;
}

.file-chip-remove:hover[b-lb1crklhke] {
    background: hsl(var(--c-border));
    color: hsl(var(--c-text));
}

.file-chip-remove:focus-visible[b-lb1crklhke] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

/* Upload States */
.file-chip-uploading[b-lb1crklhke] {
    border-color: hsl(var(--c-primary));
    background: hsl(var(--c-surface-2));
}

.file-chip-complete[b-lb1crklhke] {
    border-color: hsl(var(--c-success));
}

.file-chip-failed[b-lb1crklhke] {
    border-color: hsl(var(--c-danger));
    background: hsl(var(--c-danger) / 0.1);
}

/* Upload Progress Bar */
.file-chip-progress[b-lb1crklhke] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: hsl(var(--c-border));
    border-radius: 0 0 var(--chat-radius-md, 8px) var(--chat-radius-md, 8px);
    overflow: hidden;
}

.file-chip-progress-bar[b-lb1crklhke] {
    height: 100%;
    background: hsl(var(--c-primary));
    transition: width var(--chat-transition-normal, 200ms) ease;
    border-radius: 0 0 var(--chat-radius-md, 8px) var(--chat-radius-md, 8px);
}

/* State Icons */
.file-chip .fa-check-circle[b-lb1crklhke] {
    flex-shrink: 0;
    font-size: 14px;
}

.file-chip .fa-exclamation-circle[b-lb1crklhke] {
    flex-shrink: 0;
    font-size: 14px;
}


/* /Components/Chat/NewMessagesButton.razor.rz.scp.css */
/* SPEC-014 New Messages Button Styles */
/* Floating button that appears when user scrolls up */

.new-messages-button[b-jpn04u6ycp] {
    position: fixed;
    bottom: 120px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: hsl(var(--c-primary));
    color: hsl(var(--c-primary-contrast));
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-family: var(--font-sans);
    font-weight: 500;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 1000;
    animation: slideUp-b-jpn04u6ycp var(--duration-normal) var(--ease-out) both;
}

.new-messages-button:hover[b-jpn04u6ycp] {
    background: hsl(var(--c-primary) / 0.9);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.new-messages-button:active[b-jpn04u6ycp] {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.new-messages-button:focus[b-jpn04u6ycp] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

.new-messages-button .icon[b-jpn04u6ycp] {
    font-size: 1rem;
}

.new-messages-button .button-text[b-jpn04u6ycp] {
    white-space: nowrap;
}

.new-messages-button .count[b-jpn04u6ycp],
.new-messages-button .unread-badge[b-jpn04u6ycp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 2px var(--space-1);
    background: hsl(var(--c-primary-contrast));
    color: hsl(var(--c-primary));
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-align: center;
    line-height: 1;
}

/* Animation */
@keyframes slideUp-b-jpn04u6ycp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .new-messages-button[b-jpn04u6ycp] {
        animation: none;
        transition: none;
    }
    
    .new-messages-button:hover[b-jpn04u6ycp] {
        transform: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .new-messages-button[b-jpn04u6ycp] {
        bottom: 100px;
        right: 16px;
        padding: var(--space-2) var(--space-3);
        font-size: var(--font-size-sm);
    }
}

/* /Components/Chat/TypingIndicator.razor.rz.scp.css */
/* T051: Typing indicator styles with animated dots (SPEC-007) */

.typing-indicator[b-ocf5t7baxh] {
    display: flex;
    align-items: center;
    padding: var(--chat-spacing-md, 12px) var(--chat-spacing-lg, 16px);
    margin-bottom: var(--chat-spacing-sm, 8px);
    max-width: 75%;
    animation: page-enter var(--duration-normal, 220ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

.typing-indicator-content[b-ocf5t7baxh] {
    display: flex;
    align-items: center;
    gap: var(--chat-spacing-sm, 8px);
    background: hsl(var(--c-surface-2));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--chat-radius-lg, 12px);
    padding: var(--chat-spacing-md, 12px) var(--chat-spacing-lg, 16px);
}

.typing-indicator-text[b-ocf5t7baxh] {
    font-size: var(--chat-font-size-sm, 12px);
    color: hsl(var(--c-text-muted));
    font-style: italic;
}

/* Typing Dots Container */
.typing-dots[b-ocf5t7baxh] {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 16px;
}

/* Individual Typing Dot */
.typing-dot[b-ocf5t7baxh] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(var(--c-text-muted));
    animation: typingDotBounce-b-ocf5t7baxh 1.4s infinite ease-in-out;
}

/* Stagger the animation for each dot */
.typing-dot:nth-child(1)[b-ocf5t7baxh] {
    animation-delay: 0s;
}

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

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

/* Typing Dot Bounce Animation */
@keyframes typingDotBounce-b-ocf5t7baxh {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}



/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .typing-indicator[b-ocf5t7baxh] {
        animation: none;
    }

    .typing-dot[b-ocf5t7baxh] {
        animation: none;
        opacity: 0.7;
    }

    @keyframes typingDotBounce-b-ocf5t7baxh {
        0%, 100% {
            transform: none;
            opacity: 0.7;
        }
        50% {
            opacity: 1;
        }
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .typing-indicator-content[b-ocf5t7baxh] {
        border-width: 2px;
    }

    .typing-dot[b-ocf5t7baxh] {
        background: currentColor;
    }
}

/* /Components/DashboardChatPanel.razor.rz.scp.css */
/* SPEC-014 Dashboard Chat Panel */

.chat-panel[b-0exwtcdevb] {
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: var(--font-sans);
    overflow: hidden;
}

.chat-panel-header[b-0exwtcdevb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid hsl(var(--c-border));
    background: hsl(var(--c-surface-2));
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-panel-header:hover[b-0exwtcdevb] {
    background: hsl(var(--c-surface-3));
}

.chat-icon-header[b-0exwtcdevb] {
    font-size: 1.2rem;
    color: hsl(var(--c-primary));
    margin-right: var(--space-2);
}

.connection-status[b-0exwtcdevb] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.connection-status-connected[b-0exwtcdevb] {
    color: hsl(var(--c-success));
    background: hsl(var(--c-success) / 0.1);
}

.connection-status-disconnected[b-0exwtcdevb] {
    color: hsl(var(--c-danger));
    background: hsl(var(--c-danger) / 0.1);
}

.connection-status-connecting[b-0exwtcdevb] {
    color: hsl(var(--c-warning));
    background: hsl(var(--c-warning) / 0.1);
}

.connection-status-reconnecting[b-0exwtcdevb] {
    color: hsl(var(--c-warning));
    background: hsl(var(--c-warning) / 0.1);
}

.connection-status-failed[b-0exwtcdevb] {
    color: hsl(var(--c-danger));
    background: hsl(var(--c-danger) / 0.1);
}

.chat-icon-connection[b-0exwtcdevb] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.chat-icon-connection-success[b-0exwtcdevb] {
    background: hsl(var(--c-success));
}

.chat-icon-connection-warning[b-0exwtcdevb] {
    background: hsl(var(--c-warning));
}

.chat-icon-connection-error[b-0exwtcdevb] {
    background: hsl(var(--c-danger));
}

.chat-icon-toggle[b-0exwtcdevb] {
    color: hsl(var(--c-text-muted));
    transition: transform 0.2s ease;
}

.collapsed .chat-icon-toggle[b-0exwtcdevb] {
    transform: rotate(180deg);
}

.chat-panel-content[b-0exwtcdevb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-panel-content.d-none[b-0exwtcdevb] {
    display: none !important;
}

.messages-container[b-0exwtcdevb] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-3);
}

.no-messages[b-0exwtcdevb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: hsl(var(--c-text-muted));
    font-size: var(--font-size-sm);
}

.chat-icon-empty[b-0exwtcdevb] {
    font-size: 3rem;
    margin-bottom: var(--space-3);
    opacity: 0.5;
}

.input-area[b-0exwtcdevb] {
    padding: var(--space-3);
    border-top: 1px solid hsl(var(--c-border));
}

.input-group[b-0exwtcdevb] {
    display: flex;
    gap: var(--space-2);
    align-items: flex-end;
}

.chat-action-button[b-0exwtcdevb] {
    background: hsl(var(--c-surface-2));
    border: 1px solid hsl(var(--c-border));
    color: hsl(var(--c-text-muted));
    padding: var(--space-2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    height: 42px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-action-button:hover[b-0exwtcdevb] {
    background: hsl(var(--c-surface-3));
    color: hsl(var(--c-text));
}

.message-textarea[b-0exwtcdevb] {
    flex: 1;
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    padding: var(--space-2);
    background: hsl(var(--c-surface));
    color: hsl(var(--c-text));
    font-family: var(--font-sans);
    resize: none;
    min-height: 42px;
    max-height: 120px;
}

.message-textarea:focus[b-0exwtcdevb] {
    outline: none;
    border-color: hsl(var(--c-primary));
    box-shadow: 0 0 0 2px hsl(var(--c-primary) / 0.25);
}

.chat-header-icon-button[b-0exwtcdevb] {
    background: none;
    border: none;
    color: hsl(var(--c-text-muted));
    cursor: pointer;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-icon-button:hover[b-0exwtcdevb] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

.chat-header-icon-button:focus-visible[b-0exwtcdevb] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}


/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*
MainLayout Styles - Design System Overhaul (SPEC-026)
Updated with collapsible sidebar support (SPEC-045)
*/

.page[b-s2i2o7u8yo] {
    position: relative;
    display: flex;
    flex-direction: column;
    background: hsl(var(--c-bg));
    color: hsl(var(--c-text));
    min-height: 100vh;
    font-family: var(--font-body);
}

main[b-s2i2o7u8yo] {
    flex: 1;
    background: hsl(var(--c-bg));
}

/* Sidebar styling */
.sidebar[b-s2i2o7u8yo] {
    background: hsl(var(--c-surface));
    border-right: 1px solid hsl(var(--c-border));
    transition: width 200ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out;
}

/* Header/Top Row */
.top-row[b-s2i2o7u8yo] {
    background: hsl(var(--c-surface));
    border-bottom: 1px solid hsl(var(--c-border));
    color: hsl(var(--c-text));
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 var(--space-6);
    transition: background-color 150ms ease-out, border-color 150ms ease-out;
}

.top-row[b-s2i2o7u8yo]  a,
.top-row[b-s2i2o7u8yo]  .btn-link {
    white-space: nowrap;
    margin-left: var(--space-6);
    text-decoration: none;
    color: hsl(var(--c-text));
    font-weight: var(--font-weight-medium);
    transition: color 150ms ease-out;
}

.top-row[b-s2i2o7u8yo]  a:hover,
.top-row[b-s2i2o7u8yo]  .btn-link:hover {
    color: hsl(var(--c-primary));
}

.top-row .navbar-text[b-s2i2o7u8yo] {
    color: hsl(var(--c-text-muted));
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

.top-row[b-s2i2o7u8yo]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile responsive */
@media (max-width: 640.98px) {
    .top-row[b-s2i2o7u8yo] {
        justify-content: space-between;
        padding: 0 var(--space-4);
    }

    .top-row[b-s2i2o7u8yo]  a,
    .top-row[b-s2i2o7u8yo]  .btn-link {
        margin-left: 0;
    }

    /* Disable collapse on mobile - always use full width when visible */
    .sidebar.collapsed[b-s2i2o7u8yo] {
        width: var(--nav-width);
    }
}

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-s2i2o7u8yo] {
        flex-direction: row;
    }

    .sidebar[b-s2i2o7u8yo] {
        width: var(--nav-width);
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Collapsed sidebar state */
    .sidebar.collapsed[b-s2i2o7u8yo] {
        width: var(--nav-width-collapsed);
    }

    .top-row[b-s2i2o7u8yo] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row.auth[b-s2i2o7u8yo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-s2i2o7u8yo],
    article[b-s2i2o7u8yo] {
        padding-left: var(--space-8) !important;
        padding-right: var(--space-6) !important;
    }
}

/* Blazor error UI */
#blazor-error-ui[b-s2i2o7u8yo] {
    background: hsl(var(--c-warning) / 0.15);
    color: hsl(var(--c-text));
    border-top: 1px solid hsl(var(--c-warning) / 0.3);
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: var(--space-3) var(--space-5);
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: var(--font-size-sm);
}

#blazor-error-ui .dismiss[b-s2i2o7u8yo] {
    cursor: pointer;
    position: absolute;
    right: var(--space-3);
    top: var(--space-2);
    color: hsl(var(--c-text-muted));
    transition: color 150ms ease-out;
}

#blazor-error-ui .dismiss:hover[b-s2i2o7u8yo] {
    color: hsl(var(--c-text));
}

/* Button styling in header */
.top-row .btn-outline-primary[b-s2i2o7u8yo] {
    color: hsl(var(--c-primary));
    border: 1px solid hsl(var(--c-primary));
    background: transparent;
    border-radius: var(--radius-md);
    padding: var(--space-1) var(--space-3);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
}

.top-row .btn-outline-primary:hover[b-s2i2o7u8yo] {
    background: hsl(var(--c-primary));
    color: hsl(var(--c-primary-contrast));
}

.top-row .btn-outline-primary:focus-visible[b-s2i2o7u8yo] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

/* SPEC-054: User identity display */
[b-s2i2o7u8yo] .user-identity-display {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: hsl(var(--c-text));
}

[b-s2i2o7u8yo] .user-identity-name {
    font-weight: var(--font-weight-semibold);
}

[b-s2i2o7u8yo] .user-identity-separator {
    color: hsl(var(--c-text-muted));
    opacity: 0.5;
}

[b-s2i2o7u8yo] .user-identity-org {
    color: hsl(var(--c-text-muted));
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-s2i2o7u8yo] .user-identity-role {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

[b-s2i2o7u8yo] .org-context-label {
    color: hsl(var(--c-text-muted));
    font-size: 0.75rem;
    opacity: 0.7;
    white-space: nowrap;
}

/* SPEC-055: Organization Switcher */
[b-s2i2o7u8yo] .org-switcher {
    position: relative;
}

[b-s2i2o7u8yo] .org-switcher-button {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 2px 8px;
    cursor: pointer;
    color: hsl(var(--c-text-muted));
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
}

[b-s2i2o7u8yo] .org-switcher-button:hover {
    background: hsl(var(--c-bg));
    border-color: hsl(var(--c-border));
    color: hsl(var(--c-text));
}

[b-s2i2o7u8yo] .org-switcher-current {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--font-weight-semibold);
}

[b-s2i2o7u8yo] .org-switcher-chevron {
    transition: transform 150ms ease-out;
    flex-shrink: 0;
}

[b-s2i2o7u8yo] .org-switcher-chevron.open {
    transform: rotate(180deg);
}

[b-s2i2o7u8yo] .org-switcher-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 240px;
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    padding: var(--space-1);
    transform-origin: top right;
    animation: dropdown-enter var(--duration-fast) var(--ease-out) both;
}

[b-s2i2o7u8yo] .org-switcher-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    color: hsl(var(--c-text));
    font-size: var(--font-size-sm);
    transition: background 100ms ease-out;
}

[b-s2i2o7u8yo] .org-switcher-option:hover {
    background: hsl(var(--c-bg));
}

[b-s2i2o7u8yo] .org-switcher-option.active {
    background: hsl(var(--c-primary) / 0.1);
    color: hsl(var(--c-primary));
}

[b-s2i2o7u8yo] .org-option-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--font-weight-medium);
}

[b-s2i2o7u8yo] .org-option-role {
    font-size: 0.7rem;
    color: hsl(var(--c-text-muted));
    white-space: nowrap;
}

[b-s2i2o7u8yo] .org-option-check {
    flex-shrink: 0;
    color: hsl(var(--c-primary));
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
NavMenu Styles - Design System Overhaul (SPEC-026)
Updated with collapsible sidebar support (SPEC-045)
Modern sidebar with inline SVG icons, categories, tooltips, and flyout menus
*/

/* Mobile toggle */
.navbar-toggler[b-ut59ukakmh] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    color: hsl(var(--c-text));
    position: absolute;
    top: var(--space-2);
    right: var(--space-4);
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    background: hsl(var(--c-surface));
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.5rem;
    transition: background-color 150ms ease-out, border-color 150ms ease-out;
}

.navbar-toggler:checked[b-ut59ukakmh] {
    background-color: hsl(var(--c-surface-2));
}

.navbar-toggler:focus-visible[b-ut59ukakmh] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

/* Nav Header with Brand */
.nav-header[b-ut59ukakmh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-4);
    border-bottom: 1px solid hsl(var(--c-border));
    background: hsl(var(--c-surface));
    min-height: 4.5rem;
    transition: padding 200ms ease-out;
}

.nav-header.collapsed[b-ut59ukakmh] {
    padding: var(--space-4) var(--space-2);
    justify-content: center;
    flex-direction: column;
    gap: var(--space-2);
}

.nav-brand[b-ut59ukakmh] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: hsl(var(--c-text));
    transition: color 150ms ease-out;
}

.nav-header.collapsed .nav-brand[b-ut59ukakmh] {
    gap: 0;
}

.nav-brand:hover[b-ut59ukakmh] {
    color: hsl(var(--c-primary));
}

.nav-brand-icon[b-ut59ukakmh] {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--c-primary));
    flex-shrink: 0;
}

[b-ut59ukakmh] .isa-logo-img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: hsl(var(--c-surface-2));
}

.nav-brand-text[b-ut59ukakmh] {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: hsl(var(--c-text));
    white-space: nowrap;
    overflow: hidden;
}

/* Collapse Toggle Button */
.nav-collapse-toggle[b-ut59ukakmh] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    background: hsl(var(--c-surface));
    color: hsl(var(--c-text-muted));
    cursor: pointer;
    transition: all 150ms ease-out;
    flex-shrink: 0;
}

.nav-collapse-toggle:hover[b-ut59ukakmh] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
    border-color: hsl(var(--c-border-strong));
}

.nav-collapse-toggle:focus-visible[b-ut59ukakmh] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

.nav-collapse-icon[b-ut59ukakmh] {
    width: 1rem;
    height: 1rem;
}

/* Help icon in nav-header */
.nav-header-help[b-ut59ukakmh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: var(--radius-md);
    color: hsl(var(--c-text-muted));
    text-decoration: none;
    transition: color 150ms ease-out, background 150ms ease-out;
    flex-shrink: 0;
    position: relative;
}

.nav-header-help:hover[b-ut59ukakmh] {
    color: hsl(var(--c-primary));
    background: hsl(var(--c-surface-2));
    text-decoration: none;
    opacity: 1;
}

.nav-header-help:focus-visible[b-ut59ukakmh] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

/* Category Headers */
.nav-category[b-ut59ukakmh] {
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text-subtle));
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-5) var(--space-4) var(--space-1);
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-category[b-ut59ukakmh]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: hsl(var(--c-border));
    opacity: 0.6;
}

/* Nav Dividers */
.nav-divider[b-ut59ukakmh] {
    height: 1px;
    background: hsl(var(--c-border));
    margin: var(--space-2) var(--space-4);
}

.nav-divider-logout[b-ut59ukakmh] {
    margin-top: auto;
}

/* Nav Items - position: relative is required for tooltip/flyout positioning */
.nav-item[b-ut59ukakmh] {
    padding: var(--space-0-5) var(--space-3);
    position: relative;
}

.nav-item:first-of-type[b-ut59ukakmh] {
    padding-top: 0;
}

.nav-item:last-of-type[b-ut59ukakmh] {
    padding-bottom: var(--space-2);
}

/* Nav Links */
.nav-item[b-ut59ukakmh]  .nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    color: hsl(var(--c-text-muted));
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-body);
    transition: all 150ms ease-out;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item[b-ut59ukakmh]  .nav-link:hover {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
    padding-left: calc(var(--space-3) + 2px);
}

.nav-item[b-ut59ukakmh]  .nav-link:hover .nav-icon {
    color: hsl(var(--c-primary));
}

/* Active state */
.nav-item[b-ut59ukakmh]  a.active {
    background: hsl(var(--c-primary) / 0.08);
    color: hsl(var(--c-primary));
    border-left: 2px solid hsl(var(--c-primary));
    padding-left: calc(var(--space-3) - 2px);
    font-weight: var(--font-weight-semibold);
}

.nav-item[b-ut59ukakmh]  a.active .nav-icon {
    color: hsl(var(--c-primary));
}

/* Nav Icons */
.nav-icon[b-ut59ukakmh] {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: currentColor;
    transition: color 150ms ease-out, transform 150ms ease-out;
}

.nav-item[b-ut59ukakmh]  .nav-link:hover .nav-icon {
    transform: translateX(1px);
}

/* Chevron for expandable menus */
.nav-chevron[b-ut59ukakmh] {
    width: 1rem;
    height: 1rem;
    margin-left: auto;
    color: hsl(var(--c-text-subtle));
    transition: transform 200ms ease-out;
    flex-shrink: 0;
}

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

/* Group Headers (expandable) */
.nav-group-header[b-ut59ukakmh] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    user-select: none;
}

.nav-group-header span[b-ut59ukakmh] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-group-header:hover .nav-chevron[b-ut59ukakmh] {
    color: hsl(var(--c-text-muted));
}

/* Submenu */
.nav-submenu[b-ut59ukakmh] {
    margin-left: var(--space-4);
    margin-top: var(--space-1);
    margin-bottom: var(--space-1);
    padding-left: var(--space-3);
    border-left: 1px solid hsl(var(--c-border));
}

.nav-submenu .nav-item[b-ut59ukakmh] {
    padding: var(--space-0-5) 0;
}

.nav-submenu .nav-item:first-of-type[b-ut59ukakmh] {
    padding-top: var(--space-1);
}

.nav-submenu .nav-item:last-of-type[b-ut59ukakmh] {
    padding-bottom: var(--space-1);
}

.nav-submenu .nav-link[b-ut59ukakmh] {
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-3);
}

/* Logout item */
.nav-item-logout[b-ut59ukakmh] {
    margin-top: auto;
}

.nav-link-logout[b-ut59ukakmh] {
    color: hsl(var(--c-text-subtle)) !important;
    opacity: 0.7;
    transition: opacity 150ms ease-out, color 150ms ease-out !important;
}

.nav-link-logout:hover[b-ut59ukakmh] {
    color: hsl(var(--c-danger)) !important;
    background: hsl(var(--c-danger) / 0.06) !important;
    opacity: 1;
}

/* Scrollable area */
.nav-scrollable[b-ut59ukakmh] {
    display: none;
    flex-direction: column;
    padding: var(--space-2) 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ut59ukakmh] {
    display: flex;
}

/* ===== TOOLTIP STYLES ===== */
.nav-tooltip[b-ut59ukakmh] {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    margin-left: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: hsl(var(--c-surface-3));
    color: hsl(var(--c-text));
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-fast) var(--ease-out),
                visibility 0s linear var(--duration-fast),
                transform var(--duration-fast) var(--ease-out);
    z-index: 1000;
}

.nav-tooltip[b-ut59ukakmh]::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: hsl(var(--c-surface-elevated));
}

/* ===== FLYOUT MENU STYLES ===== */
.nav-flyout[b-ut59ukakmh] {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: var(--space-1);
    min-width: 180px;
    padding: var(--space-2) 0;
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-6px);
    /* small delay so it does not flicker on fast mouse passes */
    transition: opacity var(--duration-fast) var(--ease-out) 80ms,
                visibility 0s linear calc(var(--duration-fast) + 80ms),
                transform var(--duration-fast) var(--ease-out) 80ms;
    z-index: 1000;
}

.nav-flyout-header[b-ut59ukakmh] {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text-subtle));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid hsl(var(--c-border));
    margin-bottom: var(--space-1);
}

.nav-flyout-link[b-ut59ukakmh] {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: hsl(var(--c-text-muted));
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all 150ms ease-out;
}

.nav-flyout-link:hover[b-ut59ukakmh] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

/* Desktop layout */
@media (min-width: 641px) {
    .navbar-toggler[b-ut59ukakmh] {
        display: none;
    }

    .nav-collapse-toggle[b-ut59ukakmh] {
        display: flex;
    }

    .nav-scrollable[b-ut59ukakmh] {
        display: flex;
        height: calc(100vh - 4.5rem);
        overflow-y: auto;
    }

    /* Custom scrollbar for nav */
    .nav-scrollable[b-ut59ukakmh]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-ut59ukakmh]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-scrollable[b-ut59ukakmh]::-webkit-scrollbar-thumb {
        background: hsl(var(--c-border));
        border-radius: var(--radius-full);
    }

    .nav-scrollable[b-ut59ukakmh]::-webkit-scrollbar-thumb:hover {
        background: hsl(var(--c-border-strong));
    }

    /* ===== COLLAPSED MODE STYLES ===== */
    .nav-scrollable.collapsed .nav-item[b-ut59ukakmh] {
        padding: var(--space-0-5) var(--space-2);
    }

    .nav-scrollable.collapsed .nav-item[b-ut59ukakmh]  .nav-link {
        justify-content: center;
        padding: var(--space-2);
    }

    .nav-scrollable.collapsed .nav-divider[b-ut59ukakmh] {
        margin: var(--space-2) var(--space-2);
    }

    /* Show tooltip on hover in collapsed mode */
    .nav-scrollable.collapsed .nav-item:not(.nav-item-expandable)[b-ut59ukakmh]  .nav-link:hover .nav-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
        transition: opacity var(--duration-fast) var(--ease-out),
                    visibility 0s linear 0s,
                    transform var(--duration-fast) var(--ease-out);
    }

    /* Show flyout on hover for expandable items in collapsed mode */
    .nav-scrollable.collapsed .nav-item-expandable:hover .nav-flyout[b-ut59ukakmh] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition: opacity var(--duration-fast) var(--ease-out) 80ms,
                    visibility 0s linear 0s,
                    transform var(--duration-fast) var(--ease-out) 80ms;
    }

    /* Keep flyout visible while hovering on it */
    .nav-flyout:hover[b-ut59ukakmh] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        transition: opacity var(--duration-fast) var(--ease-out),
                    visibility 0s linear 0s,
                    transform var(--duration-fast) var(--ease-out);
    }
}

/* Dark theme specific adjustments */
[data-theme="dark"] .navbar-toggler[b-ut59ukakmh] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-wf0xjuynuy],
.components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
.components-reconnect-failed-visible[b-wf0xjuynuy],
.components-pause-visible[b-wf0xjuynuy],
.components-resume-failed-visible[b-wf0xjuynuy],
.components-rejoining-animation[b-wf0xjuynuy] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wf0xjuynuy] {
    display: block;
}


#components-reconnect-modal[b-wf0xjuynuy] {
    background-color: hsl(var(--modal-bg));
    color: hsl(var(--c-text));
    width: 20rem;
    margin: 20vh auto;
    padding: var(--modal-padding);
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--modal-border-radius);
    box-shadow: var(--modal-shadow);
    opacity: 0;
    font-family: var(--font-body);
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-wf0xjuynuy 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-wf0xjuynuy]::backdrop {
    background-color: hsl(var(--modal-backdrop) / 0.8);
    animation: components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out;
    opacity: 1;
}

@supports (backdrop-filter: blur(1px)) {
    #components-reconnect-modal[b-wf0xjuynuy]::backdrop {
        backdrop-filter: blur(var(--modal-backdrop-blur));
    }
}

@keyframes components-reconnect-modal-slideUp-b-wf0xjuynuy {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-wf0xjuynuy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

#components-reconnect-modal p[b-wf0xjuynuy] {
    margin: 0;
    text-align: center;
    color: hsl(var(--c-text-muted));
    font-size: var(--font-size-sm);
}

#components-reconnect-modal button[b-wf0xjuynuy] {
    border: 0;
    background-color: hsl(var(--btn-bg));
    color: hsl(var(--btn-text));
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--btn-border-radius);
    font-family: var(--font-body);
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-wf0xjuynuy] {
        background-color: hsl(var(--btn-bg-hover));
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

    #components-reconnect-modal button:active[b-wf0xjuynuy] {
        background-color: hsl(var(--c-primary-active));
        transform: translateY(0);
    }

    #components-reconnect-modal button:focus-visible[b-wf0xjuynuy] {
        outline: 2px solid hsl(var(--c-primary));
        outline-offset: 2px;
    }

.components-rejoining-animation[b-wf0xjuynuy] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-wf0xjuynuy] {
        position: absolute;
        border: 3px solid hsl(var(--c-info));
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-wf0xjuynuy 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-wf0xjuynuy] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-wf0xjuynuy {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/UserLayout.razor.rz.scp.css */
/* SPEC-053: UserLayout - dedicated layout for regular users (role: User) */

.user-page[b-o69fgppeiw] {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background: hsl(var(--c-bg));
    color: hsl(var(--c-text));
    font-family: var(--font-body);
}

/* Main content area — used alongside UserSidebar.
   ::deep needed because <main class="user-main"> lives in child page components, not in this layout. */
[b-o69fgppeiw] .user-main {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    padding: var(--space-6);
}

/* Blazor error UI - same as MainLayout */
#blazor-error-ui[b-o69fgppeiw] {
    background: hsl(var(--c-warning) / 0.15);
    color: hsl(var(--c-text));
    border-top: 1px solid hsl(var(--c-warning) / 0.3);
    bottom: 0;
    display: none;
    left: 0;
    padding: var(--space-3) var(--space-5);
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: var(--font-size-sm);
}

#blazor-error-ui .dismiss[b-o69fgppeiw] {
    cursor: pointer;
    position: absolute;
    right: var(--space-3);
    top: var(--space-2);
}
/* /Components/Layout/UserSidebar.razor.rz.scp.css */
/* Shared user sidebar — used by all user-role pages */

.user-sidebar[b-6gzahn4x74] {
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
    background: hsl(var(--c-surface));
    border-right: 1px solid hsl(var(--c-border));
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.user-sidebar-brand[b-6gzahn4x74] {
    padding: var(--space-4);
    border-bottom: 1px solid hsl(var(--c-border));
    min-height: 4.5rem;
    display: flex;
    align-items: center;
}

.user-sidebar-help[b-6gzahn4x74] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: var(--radius-md);
    color: hsl(var(--c-text-muted));
    transition: color 150ms ease-out, background 150ms ease-out;
    flex-shrink: 0;
    margin-left: auto;
}

.user-sidebar-help:hover[b-6gzahn4x74] {
    color: hsl(var(--c-primary));
    background: hsl(var(--c-surface-2));
}

.user-sidebar-help:focus-visible[b-6gzahn4x74] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}

.user-brand-link[b-6gzahn4x74] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: hsl(var(--c-text));
    transition: color 150ms ease-out;
}

.user-brand-link:hover[b-6gzahn4x74] {
    color: hsl(var(--c-primary));
}

[b-6gzahn4x74] .isa-logo-img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: hsl(var(--c-surface-2));
}

.user-brand-text[b-6gzahn4x74] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.user-nav-link-group[b-6gzahn4x74] {
    padding: var(--space-2) 0 var(--space-1);
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
    margin-bottom: var(--space-1);
}

.user-nav-link[b-6gzahn4x74] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    color: hsl(var(--c-text-muted));
    font-size: var(--text-sm);
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background-color 150ms ease-out, color 150ms ease-out, border-left-color 150ms ease-out;
}

.user-nav-link:hover[b-6gzahn4x74] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
    border-left-color: hsl(var(--c-primary) / 0.5);
}

.user-nav-link.active[b-6gzahn4x74] {
    color: hsl(var(--c-text));
    border-left-color: hsl(var(--c-primary));
    background: hsl(var(--c-primary) / 0.06);
}

.user-nav-icon[b-6gzahn4x74] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.user-sidebar-content[b-6gzahn4x74] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-2) 0;
}

.user-sidebar-section-title[b-6gzahn4x74] {
    padding: var(--space-3) var(--space-4) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    color: hsl(var(--c-text-muted));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-sidebar-loading[b-6gzahn4x74] {
    display: flex;
    justify-content: center;
    padding: var(--space-4);
}

.user-sidebar-empty[b-6gzahn4x74] {
    padding: var(--space-4);
    text-align: center;
    color: hsl(var(--c-text-muted));
    font-size: var(--text-sm);
}

/* Sidebar footer */
.user-sidebar-footer[b-6gzahn4x74] {
    border-top: 1px solid hsl(var(--c-border) / 0.4);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.uid-link[b-6gzahn4x74] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    color: hsl(var(--c-text));
    transition: background-color 120ms ease-out;
}

.uid-link:hover[b-6gzahn4x74] {
    background: hsl(var(--c-text) / 0.05);
    color: hsl(var(--c-text));
}

.uid-avatar[b-6gzahn4x74] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--c-primary)), hsl(var(--c-primary) / 0.55));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    line-height: 1;
}

.uid-meta[b-6gzahn4x74] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.uid-name[b-6gzahn4x74] {
    font-size: 0.8rem;
    font-weight: 600;
    color: hsl(var(--c-text));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.uid-org[b-6gzahn4x74] {
    font-size: 0.68rem;
    color: hsl(var(--c-text-muted));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.uid-bar[b-6gzahn4x74] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
}

.uid-bar-fill[b-6gzahn4x74] { flex: 1; }

.uid-role[b-6gzahn4x74] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: hsl(var(--c-text-muted));
    line-height: 1;
}

.uid-role-dot[b-6gzahn4x74] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: hsl(var(--c-text-muted));
}

.uid-role--sysadmin .uid-role-dot[b-6gzahn4x74] { background: hsl(0 70% 55%); }
.uid-role--orgadmin .uid-role-dot[b-6gzahn4x74] { background: hsl(38 92% 50%); }
.uid-role--user .uid-role-dot[b-6gzahn4x74] { background: hsl(var(--c-primary)); }

.uid-btn[b-6gzahn4x74] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm, 4px);
    color: hsl(var(--c-text-muted));
    text-decoration: none;
    transition: background-color 120ms ease-out, color 120ms ease-out;
    font-size: 0.85rem;
}

.uid-btn:hover[b-6gzahn4x74] {
    background: hsl(var(--c-text) / 0.06);
    color: hsl(var(--c-danger, 0 70% 55%));
}
/* /Components/Pages/Cockpit.razor.rz.scp.css */
/* SPEC-066 + SPEC-067: Agency cockpit styles */

.cockpit-page[b-1wkkq9opgu] {
    padding: var(--space-6, 1.5rem);
    max-width: 960px;
    margin: 0 auto;
}

/* Header */
.cockpit-header[b-1wkkq9opgu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5, 1.25rem);
}

.cockpit-header-left[b-1wkkq9opgu] {
    display: flex;
    align-items: baseline;
    gap: var(--space-3, 0.75rem);
}

.cockpit-title[b-1wkkq9opgu] {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--c-text, 0 0% 13%));
    margin: 0;
}

.cockpit-timestamp[b-1wkkq9opgu] {
    font-size: 0.8rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
}

.cockpit-refresh-btn[b-1wkkq9opgu] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 6px;
    background: hsl(var(--c-surface, 0 0% 100%));
    color: hsl(var(--c-text, 0 0% 13%));
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.cockpit-refresh-btn:hover:not(:disabled)[b-1wkkq9opgu] {
    background: hsl(var(--c-surface-2, 0 0% 96%));
    border-color: hsl(var(--c-border-strong, 0 0% 70%));
}

.cockpit-refresh-btn:disabled[b-1wkkq9opgu] {
    opacity: 0.5;
    cursor: not-allowed;
}

.cockpit-refresh-icon[b-1wkkq9opgu] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cockpit-refresh-icon.spinning[b-1wkkq9opgu] {
    animation: cockpit-spin-b-1wkkq9opgu 1s linear infinite;
}

@keyframes cockpit-spin-b-1wkkq9opgu {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Toolbar — filters + search */
.cockpit-toolbar[b-1wkkq9opgu] {
    display: flex;
    align-items: center;
    gap: var(--space-4, 1rem);
    margin-bottom: var(--space-5, 1.25rem);
    flex-wrap: wrap;
}

.cockpit-filters[b-1wkkq9opgu] {
    display: flex;
    gap: var(--space-2, 0.5rem);
    flex-wrap: wrap;
}

.cockpit-filter-btn[b-1wkkq9opgu] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
    padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem);
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 20px;
    background: transparent;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 150ms ease;
}

.cockpit-filter-btn:hover[b-1wkkq9opgu] {
    border-color: hsl(var(--c-text-muted, 0 0% 55%));
    color: hsl(var(--c-text, 0 0% 13%));
}

.cockpit-filter-btn.active[b-1wkkq9opgu] {
    background: hsl(var(--c-text, 0 0% 13%));
    color: hsl(var(--c-surface, 0 0% 100%));
    border-color: hsl(var(--c-text, 0 0% 13%));
}

.cockpit-filter-red.active[b-1wkkq9opgu] {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.cockpit-filter-yellow.active[b-1wkkq9opgu] {
    background: #d97706;
    border-color: #d97706;
    color: white;
}

.cockpit-filter-green.active[b-1wkkq9opgu] {
    background: #16a34a;
    border-color: #16a34a;
    color: white;
}

.cockpit-filter-count[b-1wkkq9opgu] {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 2px;
}

.cockpit-search[b-1wkkq9opgu] {
    flex: 1;
    min-width: 180px;
    position: relative;
}

.cockpit-search-icon[b-1wkkq9opgu] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    pointer-events: none;
}

.cockpit-search-input[b-1wkkq9opgu] {
    width: 100%;
    padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem) var(--space-2, 0.5rem) 34px;
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 6px;
    background: hsl(var(--c-surface, 0 0% 100%));
    color: hsl(var(--c-text, 0 0% 13%));
    font-size: 0.85rem;
    outline: none;
    transition: border-color 150ms ease;
}

.cockpit-search-input:focus[b-1wkkq9opgu] {
    border-color: hsl(var(--c-primary, 220 90% 56%));
}

.cockpit-search-input[b-1wkkq9opgu]::placeholder {
    color: hsl(var(--c-text-muted, 0 0% 55%));
}

/* Loading */
.cockpit-loading[b-1wkkq9opgu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8, 2rem) 0;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    gap: var(--space-3, 0.75rem);
}

.cockpit-loading-spinner[b-1wkkq9opgu] {
    width: 32px;
    height: 32px;
    border: 3px solid hsl(var(--c-border, 0 0% 85%));
    border-top-color: hsl(var(--c-primary, 220 90% 56%));
    border-radius: 50%;
    animation: cockpit-spin-b-1wkkq9opgu 0.8s linear infinite;
}

/* Error */
.cockpit-error[b-1wkkq9opgu] {
    text-align: center;
    padding: var(--space-8, 2rem);
    color: #dc2626;
}

/* Empty state */
.cockpit-empty[b-1wkkq9opgu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-8, 2rem) 0;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    gap: var(--space-3, 0.75rem);
}

.cockpit-empty-icon[b-1wkkq9opgu] {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.cockpit-clear-filter-btn[b-1wkkq9opgu] {
    padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 6px;
    background: transparent;
    color: hsl(var(--c-text, 0 0% 13%));
    font-size: 0.8rem;
    cursor: pointer;
}

.cockpit-clear-filter-btn:hover[b-1wkkq9opgu] {
    background: hsl(var(--c-surface-2, 0 0% 96%));
}

/* All-green banner */
.cockpit-all-green[b-1wkkq9opgu] {
    display: flex;
    align-items: center;
    gap: var(--space-3, 0.75rem);
    padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-4, 1rem);
}

.cockpit-all-green svg[b-1wkkq9opgu] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Customer list */
.cockpit-list[b-1wkkq9opgu] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 8px;
    overflow: hidden;
    background: hsl(var(--c-border, 0 0% 85%));
}

.cockpit-row-wrapper[b-1wkkq9opgu] {
    background: hsl(var(--c-surface, 0 0% 100%));
}

.cockpit-row[b-1wkkq9opgu] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3, 0.75rem);
    padding: var(--space-3, 0.75rem) var(--space-4, 1rem);
    background: hsl(var(--c-surface, 0 0% 100%));
    transition: background-color 120ms ease;
    cursor: pointer;
}

.cockpit-row:hover[b-1wkkq9opgu] {
    background: hsl(var(--c-surface-2, 0 0% 96%));
}

.cockpit-row-expanded[b-1wkkq9opgu] {
    background: hsl(var(--c-surface-2, 0 0% 96%));
}

.cockpit-row-red[b-1wkkq9opgu] {
    border-left: 3px solid #dc2626;
}

.cockpit-row-yellow[b-1wkkq9opgu] {
    border-left: 3px solid #d97706;
}

.cockpit-row-green[b-1wkkq9opgu] {
    border-left: 3px solid #16a34a;
}

.cockpit-row-unknown[b-1wkkq9opgu] {
    border-left: 3px solid #9ca3af;
}

/* Status indicator dot */
.cockpit-status-indicator[b-1wkkq9opgu] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 4px;
}

.cockpit-status-dot[b-1wkkq9opgu] {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cockpit-dot-red[b-1wkkq9opgu] {
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.cockpit-dot-yellow[b-1wkkq9opgu] {
    background: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.cockpit-dot-green[b-1wkkq9opgu] {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.cockpit-dot-unknown[b-1wkkq9opgu] {
    background: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.15);
}

/* Customer info */
.cockpit-customer-info[b-1wkkq9opgu] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cockpit-customer-name[b-1wkkq9opgu] {
    font-size: 0.9rem;
    font-weight: 500;
    color: hsl(var(--c-text, 0 0% 13%));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cockpit-customer-reasons[b-1wkkq9opgu] {
    font-size: 0.78rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cockpit-reason-link[b-1wkkq9opgu] {
    color: hsl(var(--c-primary, 220 90% 56%));
    cursor: pointer;
    text-decoration: none;
    transition: opacity 120ms ease;
}

.cockpit-reason-link:hover[b-1wkkq9opgu] {
    text-decoration: underline;
    opacity: 0.8;
}

/* SPEC-067: Compact financial row */
.cockpit-financials[b-1wkkq9opgu] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.cockpit-fin-item[b-1wkkq9opgu] {
    white-space: nowrap;
}

.cockpit-fin-sep[b-1wkkq9opgu] {
    opacity: 0.4;
}

/* Trend arrows */
.cockpit-trend[b-1wkkq9opgu] {
    font-weight: 600;
    margin-left: 2px;
}

.cockpit-trend-up[b-1wkkq9opgu] {
    color: #16a34a;
}

.cockpit-trend-down[b-1wkkq9opgu] {
    color: #dc2626;
}

.cockpit-trend-flat[b-1wkkq9opgu] {
    color: hsl(var(--c-text-muted, 0 0% 55%));
}

.cockpit-trend-unknown[b-1wkkq9opgu] {
    color: hsl(var(--c-text-muted, 0 0% 55%));
    opacity: 0.5;
}

/* Chevron (expand/collapse) */
.cockpit-row-chevron[b-1wkkq9opgu] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    transition: transform 200ms ease;
    padding-top: 2px;
}

.cockpit-chevron-open[b-1wkkq9opgu] {
    transform: rotate(180deg);
}

.cockpit-row-chevron svg[b-1wkkq9opgu] {
    width: 100%;
    height: 100%;
}

/* SPEC-067: Expanded panel */
.cockpit-expanded[b-1wkkq9opgu] {
    padding: 0 var(--space-4, 1rem) var(--space-4, 1rem);
    padding-left: calc(var(--space-4, 1rem) + 10px + var(--space-3, 0.75rem) + 3px);
    background: hsl(var(--c-surface, 0 0% 100%));
    border-top: 1px solid hsl(var(--c-border, 0 0% 85%));
    animation: cockpit-expand-b-1wkkq9opgu 200ms ease-out;
}

@keyframes cockpit-expand-b-1wkkq9opgu {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 800px;
    }
}

.cockpit-expanded-section[b-1wkkq9opgu] {
    padding: var(--space-4, 1rem) 0;
    border-bottom: 1px solid hsl(var(--c-border, 0 0% 85%));
}

.cockpit-expanded-section:last-of-type[b-1wkkq9opgu] {
    border-bottom: none;
}

.cockpit-section-title[b-1wkkq9opgu] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    margin: 0 0 var(--space-3, 0.75rem) 0;
}

.cockpit-section-empty[b-1wkkq9opgu] {
    font-size: 0.82rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    margin: 0;
    font-style: italic;
}

/* KPI grid */
.cockpit-kpi-grid[b-1wkkq9opgu] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3, 0.75rem);
}

.cockpit-kpi[b-1wkkq9opgu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cockpit-kpi-label[b-1wkkq9opgu] {
    font-size: 0.72rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cockpit-kpi-value[b-1wkkq9opgu] {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(var(--c-text, 0 0% 13%));
    font-variant-numeric: tabular-nums;
}

.cockpit-kpi-negative[b-1wkkq9opgu] {
    color: #dc2626;
}

.cockpit-kpi-trend[b-1wkkq9opgu] {
    font-size: 0.72rem;
    font-weight: 500;
}

/* Digest summary */
.cockpit-digest-summary[b-1wkkq9opgu] {
    font-size: 0.85rem;
}

.cockpit-digest-date[b-1wkkq9opgu] {
    display: inline-block;
    font-size: 0.72rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
    margin-bottom: var(--space-2, 0.5rem);
}

.cockpit-digest-bullets[b-1wkkq9opgu] {
    margin: 0;
    padding: 0 0 0 var(--space-4, 1rem);
    color: hsl(var(--c-text, 0 0% 13%));
    line-height: 1.6;
}

.cockpit-digest-bullets li[b-1wkkq9opgu] {
    margin-bottom: 4px;
}

/* Workspace list */
.cockpit-workspace-list[b-1wkkq9opgu] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2, 0.5rem);
}

.cockpit-workspace-item[b-1wkkq9opgu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2, 0.5rem);
    border-radius: 6px;
    background: hsl(var(--c-surface-2, 0 0% 96%));
}

.cockpit-workspace-info[b-1wkkq9opgu] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.cockpit-workspace-name[b-1wkkq9opgu] {
    font-size: 0.85rem;
    font-weight: 500;
    color: hsl(var(--c-text, 0 0% 13%));
}

.cockpit-workspace-meta[b-1wkkq9opgu] {
    font-size: 0.72rem;
    color: hsl(var(--c-text-muted, 0 0% 55%));
}

.cockpit-workspace-open-btn[b-1wkkq9opgu] {
    flex-shrink: 0;
    padding: 4px 12px;
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 4px;
    background: hsl(var(--c-surface, 0 0% 100%));
    color: hsl(var(--c-primary, 220 90% 56%));
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 120ms ease;
}

.cockpit-workspace-open-btn:hover[b-1wkkq9opgu] {
    background: hsl(var(--c-primary, 220 90% 56%));
    color: white;
    border-color: hsl(var(--c-primary, 220 90% 56%));
}

/* Action buttons */
.cockpit-expanded-actions[b-1wkkq9opgu] {
    display: flex;
    gap: var(--space-2, 0.5rem);
    padding-top: var(--space-4, 1rem);
}

.cockpit-action-btn[b-1wkkq9opgu] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
    border: 1px solid hsl(var(--c-border, 0 0% 85%));
    border-radius: 6px;
    background: hsl(var(--c-surface, 0 0% 100%));
    color: hsl(var(--c-text, 0 0% 13%));
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 150ms ease;
}

.cockpit-action-btn:hover:not(:disabled)[b-1wkkq9opgu] {
    background: hsl(var(--c-surface-2, 0 0% 96%));
    border-color: hsl(var(--c-border-strong, 0 0% 70%));
}

.cockpit-action-btn:disabled[b-1wkkq9opgu] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cockpit-action-primary[b-1wkkq9opgu] {
    background: hsl(var(--c-primary, 220 90% 56%));
    color: white;
    border-color: hsl(var(--c-primary, 220 90% 56%));
}

.cockpit-action-primary:hover:not(:disabled)[b-1wkkq9opgu] {
    opacity: 0.9;
    background: hsl(var(--c-primary, 220 90% 56%));
    border-color: hsl(var(--c-primary, 220 90% 56%));
}

/* Button spinner */
.cockpit-btn-spinner[b-1wkkq9opgu] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: cockpit-spin-b-1wkkq9opgu 0.6s linear infinite;
}

/* Dark theme support */
:root[data-theme="dark"] .cockpit-all-green[b-1wkkq9opgu],
.dark .cockpit-all-green[b-1wkkq9opgu] {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.3);
    color: #4ade80;
}

:root[data-theme="dark"] .cockpit-kpi-negative[b-1wkkq9opgu] {
    color: #f87171;
}

:root[data-theme="dark"] .cockpit-trend-up[b-1wkkq9opgu] {
    color: #4ade80;
}

:root[data-theme="dark"] .cockpit-trend-down[b-1wkkq9opgu] {
    color: #f87171;
}

:root[data-theme="dark"] .cockpit-workspace-item[b-1wkkq9opgu] {
    background: hsl(var(--c-surface-2, 0 0% 20%));
}

:root[data-theme="dark"] .cockpit-workspace-open-btn[b-1wkkq9opgu] {
    background: transparent;
}

@media (max-width: 640px) {
    .cockpit-kpi-grid[b-1wkkq9opgu] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cockpit-financials[b-1wkkq9opgu] {
        flex-wrap: wrap;
    }

    .cockpit-expanded-actions[b-1wkkq9opgu] {
        flex-direction: column;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/*
Dashboard Styles - Design System Overhaul (SPEC-026)
Modern dashboard with glassmorphism cards and refined typography
*/

/* Page Header */
.container-fluid h1[b-my2iiepf7z] {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    color: hsl(var(--c-text));
}

.container-fluid .text-muted[b-my2iiepf7z] {
    color: hsl(var(--c-text-muted)) !important;
    font-family: var(--font-body);
}

/* Card Override for Dashboard - Use glassmorphism for main cards */
.container-fluid > .row > .col-md-8 > .card[b-my2iiepf7z],
.container-fluid > .row > .col-md-4 > .card[b-my2iiepf7z] {
    background: hsl(var(--card-bg-glass) / 0.8);
    border: 1px solid hsl(var(--card-border) / 0.5);
    border-radius: var(--card-border-radius);
    transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}

@supports (backdrop-filter: blur(1px)) {
    .container-fluid > .row > .col-md-8 > .card[b-my2iiepf7z],
    .container-fluid > .row > .col-md-4 > .card[b-my2iiepf7z] {
        backdrop-filter: blur(var(--card-blur));
    }
}

/* Card hover effect */
.container-fluid > .row > .col-md-8 > .card:hover[b-my2iiepf7z],
.container-fluid > .row > .col-md-4 > .card:hover[b-my2iiepf7z] {
    border-color: hsl(var(--c-primary) / 0.3);
    box-shadow: var(--shadow-lg);
}

/* Card Header Styling */
[b-my2iiepf7z] .card-header {
    background: hsl(var(--c-surface-2) / 0.5);
    border-bottom: 1px solid hsl(var(--c-border));
    padding: var(--space-4) var(--space-5);
}

[b-my2iiepf7z] .card-header h5 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text));
    font-size: var(--font-size-lg);
}

/* Card Body Styling */
[b-my2iiepf7z] .card-body {
    padding: var(--space-5);
}

/* Nested Organization Cards - Interactive style */
[b-my2iiepf7z] .card-body .card {
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    position: relative;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

[b-my2iiepf7z] .card-body .card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        hsl(var(--c-primary)) 0%,
        hsl(var(--c-primary) / 0) 50%
    );
    opacity: 0;
    transition: opacity 200ms ease-out;
    z-index: -1;
    pointer-events: none;
}

[b-my2iiepf7z] .card-body .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

[b-my2iiepf7z] .card-body .card:hover::before {
    opacity: 1;
}

/* Badge Styling */
[b-my2iiepf7z] .badge {
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
}

[b-my2iiepf7z] .badge.bg-danger {
    background: hsl(var(--c-danger)) !important;
    color: hsl(var(--c-text-inverse));
}

[b-my2iiepf7z] .badge.bg-warning {
    background: hsl(var(--c-warning)) !important;
    color: hsl(220 15% 10%);
}

[b-my2iiepf7z] .badge.bg-info {
    background: hsl(var(--c-info)) !important;
    color: hsl(var(--c-text-inverse));
}

[b-my2iiepf7z] .badge.bg-success {
    background: hsl(var(--c-success)) !important;
    color: hsl(var(--c-text-inverse));
}

[b-my2iiepf7z] .badge.bg-secondary {
    background: hsl(var(--c-surface-3)) !important;
    color: hsl(var(--c-text-muted));
}

/* Button Styling */
[b-my2iiepf7z] .btn-primary {
    background: hsl(var(--c-primary));
    border-color: hsl(var(--c-primary));
    color: hsl(var(--c-primary-contrast));
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    transition: all 150ms ease-out;
}

[b-my2iiepf7z] .btn-primary:hover {
    background: hsl(var(--c-primary-hover));
    border-color: hsl(var(--c-primary-hover));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

[b-my2iiepf7z] .btn-outline-primary {
    color: hsl(var(--c-primary));
    border-color: hsl(var(--c-primary));
    background: transparent;
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    transition: all 150ms ease-out;
}

[b-my2iiepf7z] .btn-outline-primary:hover {
    background: hsl(var(--c-primary));
    color: hsl(var(--c-primary-contrast));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

[b-my2iiepf7z] .btn-outline-info {
    color: hsl(var(--c-info));
    border-color: hsl(var(--c-info));
    background: transparent;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    transition: all 150ms ease-out;
}

[b-my2iiepf7z] .btn-outline-info:hover {
    background: hsl(var(--c-info));
    color: hsl(var(--c-text-inverse));
}

[b-my2iiepf7z] .btn-outline-secondary {
    color: hsl(var(--c-text-muted));
    border-color: hsl(var(--c-border));
    background: transparent;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    transition: all 150ms ease-out;
}

/* Table Styling */
[b-my2iiepf7z] .table {
    color: hsl(var(--c-text));
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
}

[b-my2iiepf7z] .table thead th {
    background: hsl(var(--c-surface-2) / 0.5);
    border-bottom: 1px solid hsl(var(--c-border));
    color: hsl(var(--c-text-muted));
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.05em;
    padding: var(--space-3) var(--space-4);
}

[b-my2iiepf7z] .table tbody td {
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
    padding: var(--space-3) var(--space-4);
    vertical-align: middle;
}

[b-my2iiepf7z] .table tbody tr:hover {
    background: hsl(var(--c-surface-2) / 0.3);
}

/* Alert Styling */
[b-my2iiepf7z] .alert-info {
    background: hsl(var(--c-info) / 0.1);
    border: 1px solid hsl(var(--c-info) / 0.3);
    border-radius: var(--radius-md);
    color: hsl(var(--c-text));
}

[b-my2iiepf7z] .alert-info h6 {
    color: hsl(var(--c-info));
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
}

/* Description List Styling */
[b-my2iiepf7z] dl.row dt {
    color: hsl(var(--c-text-muted));
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

[b-my2iiepf7z] dl.row dd {
    color: hsl(var(--c-text));
    font-size: var(--font-size-sm);
}

/* HR Styling */
[b-my2iiepf7z] hr {
    border-color: hsl(var(--c-border));
    opacity: 0.5;
}

/* Spinner Styling */
[b-my2iiepf7z] .spinner-border {
    color: hsl(var(--c-primary));
}

/* Quick Actions Section */
[b-my2iiepf7z] .d-grid.gap-2 h6 {
    color: hsl(var(--c-text-muted));
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}
/* /Components/Pages/DigestContent.razor.rz.scp.css */
.digest-page[b-g2z5pbbnqi] {
    display: block;
    width: 100%;
}

/* Match OrgGraph card style — accent-border + subtle hover shadow */
[b-g2z5pbbnqi] .card {
    border-left: 3px solid hsl(var(--c-primary));
    transition: box-shadow 0.15s ease;
}

[b-g2z5pbbnqi] .card:hover {
    box-shadow: 0 2px 10px hsl(var(--c-primary) / 0.1);
}

.digest-chevron[b-g2z5pbbnqi] {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--c-text-muted, #999);
    transition: transform 0.2s ease;
}

.digest-chevron-open[b-g2z5pbbnqi] {
    transform: rotate(180deg);
}

.digest-content-preview[b-g2z5pbbnqi] {
    max-height: 500px;
    overflow-y: auto;
}

:root[data-theme="dark"] .digest-chevron[b-g2z5pbbnqi] {
    color: var(--c-text-muted, #888);
}
/* /Components/Pages/DigestPage.razor.rz.scp.css */
.digest-chevron[b-ldr74c5s9j] {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--c-text-muted, #999);
    transition: transform 0.2s ease;
}

.digest-chevron-open[b-ldr74c5s9j] {
    transform: rotate(180deg);
}

.digest-content-preview[b-ldr74c5s9j] {
    max-height: 500px;
    overflow-y: auto;
}

:root[data-theme="dark"] .digest-chevron[b-ldr74c5s9j] {
    color: var(--c-text-muted, #888);
}
/* /Components/Pages/GraphContent.razor.rz.scp.css */
/* SPEC-069: Grafen — Shield-based org health dashboard */

.graph-page[b-962iog3yhx] {
    width: 100%;
}

/* Loading */
.graph-loading[b-962iog3yhx] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* Empty state */
.graph-empty[b-962iog3yhx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}

.graph-empty-icon[b-962iog3yhx] {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--c-text-muted, #999);
    margin-bottom: 1.25rem;
    opacity: 0.5;
}

.graph-empty-text[b-962iog3yhx] {
    color: var(--c-text-muted, #999);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.5;
}

/* Aggregated stats bar */
.graph-stats[b-962iog3yhx] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--c-surface-2, #f8f9fa);
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 8px;
    flex-wrap: wrap;
}

.graph-stat[b-962iog3yhx] {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    padding-right: 0.75rem;
}

.graph-stat:not(:last-child)[b-962iog3yhx] {
    border-right: 1px solid var(--c-border, #e0e0e0);
}

.graph-stat-value[b-962iog3yhx] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
}

.graph-stat-label[b-962iog3yhx] {
    font-size: 0.75rem;
    color: var(--c-text-muted, #999);
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.graph-stat-red .graph-stat-value[b-962iog3yhx] {
    color: #dc3545;
}

.graph-stat-yellow .graph-stat-value[b-962iog3yhx] {
    color: #ffc107;
}

.graph-stat-green .graph-stat-value[b-962iog3yhx] {
    color: #28a745;
}

/* Shield filter row */
.graph-filter-row[b-962iog3yhx] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.graph-filter-chip[b-962iog3yhx] {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 20px;
    background: var(--c-surface, #fff);
    color: var(--c-text-muted, #999);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.graph-filter-chip:hover[b-962iog3yhx] {
    border-color: var(--c-text-muted, #999);
    color: var(--c-text);
}

.graph-filter-chip-active[b-962iog3yhx] {
    background: var(--c-text);
    color: var(--c-surface, #fff);
    border-color: var(--c-text);
}

.graph-filter-chip-red.graph-filter-chip-active[b-962iog3yhx] {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.graph-filter-chip-yellow.graph-filter-chip-active[b-962iog3yhx] {
    background: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.graph-filter-chip-green.graph-filter-chip-active[b-962iog3yhx] {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.graph-filter-chip-unknown.graph-filter-chip-active[b-962iog3yhx] {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

/* Shield icon */
.graph-shield-icon[b-962iog3yhx] {
    width: 1.75rem;
    height: 2rem;
    flex-shrink: 0;
}

.graph-shield-green[b-962iog3yhx] {
    color: #28a745;
}

.graph-shield-yellow[b-962iog3yhx] {
    color: #ffc107;
}

.graph-shield-red[b-962iog3yhx] {
    color: #dc3545;
}

.graph-shield-unknown[b-962iog3yhx] {
    color: #6c757d;
}

/* Card grid */
.graph-grid[b-962iog3yhx] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

/* Card */
.graph-card[b-962iog3yhx] {
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e0e0e0);
    border-left: 3px solid hsl(var(--c-primary));
    border-radius: 8px;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.graph-card:hover[b-962iog3yhx] {
    box-shadow: 0 2px 10px hsl(var(--c-primary) / 0.1);
}

.graph-card-expanded[b-962iog3yhx] {
    box-shadow: 0 2px 10px hsl(var(--c-primary) / 0.14);
}

/* Card header */
.graph-card-header[b-962iog3yhx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem 0.875rem 1.125rem;
    cursor: pointer;
    user-select: none;
    background: var(--c-surface-2, #f8f9fa);
    border-bottom: 1px solid var(--c-border, #e0e0e0);
    border-radius: 6px 6px 0 0;
}

.graph-card-header-left[b-962iog3yhx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.graph-card-header-right[b-962iog3yhx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.graph-card-identity[b-962iog3yhx] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.graph-card-name[b-962iog3yhx] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.graph-card-orgnr[b-962iog3yhx] {
    font-size: 0.75rem;
    color: var(--c-text-muted, #999);
    font-variant-numeric: tabular-nums;
}

/* Settings gear button */
.graph-settings-btn[b-962iog3yhx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--c-text-muted, #999);
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.graph-settings-btn svg[b-962iog3yhx] {
    width: 1.1rem;
    height: 1.1rem;
}

.graph-settings-btn:hover[b-962iog3yhx] {
    color: var(--c-text);
    background: var(--c-border, #e0e0e0);
}

/* Settings panel */
.graph-settings-panel[b-962iog3yhx] {
    padding: 0.75rem 1.25rem;
    background: var(--c-surface-2, #f8f9fa);
    border-bottom: 1px solid var(--c-border, #e0e0e0);
}

.graph-settings-row[b-962iog3yhx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.graph-settings-label[b-962iog3yhx] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--c-text-muted, #999);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.graph-settings-select[b-962iog3yhx] {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 4px;
    background: var(--c-surface, #fff);
    color: var(--c-text);
    cursor: pointer;
}

.graph-settings-save[b-962iog3yhx] {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: hsl(var(--c-primary));
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.graph-settings-save:hover[b-962iog3yhx] {
    opacity: 0.85;
}

/* Chevron */
.graph-chevron[b-962iog3yhx] {
    display: inline-flex;
    align-items: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--c-text-muted, #999);
    transition: transform 0.2s ease, color 0.15s ease;
    flex-shrink: 0;
}

.graph-card-header:hover .graph-chevron[b-962iog3yhx] {
    color: var(--c-primary, #4a7dff);
}

.graph-chevron svg[b-962iog3yhx] {
    width: 100%;
    height: 100%;
}

.graph-chevron-open[b-962iog3yhx] {
    transform: rotate(180deg);
}

/* Financials row */
.graph-card-financials[b-962iog3yhx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    flex-wrap: wrap;
}

.graph-kpi[b-962iog3yhx] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
}

.graph-kpi-label[b-962iog3yhx] {
    font-size: 0.7rem;
    color: var(--c-text-muted, #999);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.graph-kpi-value[b-962iog3yhx] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
}

.graph-kpi-sep[b-962iog3yhx] {
    color: var(--c-text-muted, #999);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Trend arrows */
.graph-trend[b-962iog3yhx] {
    font-size: 0.8rem;
    font-weight: 700;
}

.graph-trend-up[b-962iog3yhx] {
    color: #16a34a;
}

.graph-trend-down[b-962iog3yhx] {
    color: #dc2626;
}

.graph-trend-flat[b-962iog3yhx] {
    color: var(--c-text-muted, #999);
}

/* No financial data */
.graph-card-no-data[b-962iog3yhx] {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--c-text-muted, #999);
    font-style: italic;
}

/* Meta row */
.graph-card-meta[b-962iog3yhx] {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 1.25rem;
    flex-wrap: wrap;
}

.graph-meta-item[b-962iog3yhx] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--c-text-muted, #999);
}

.graph-meta-icon[b-962iog3yhx] {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

/* Actions row */
.graph-card-actions[b-962iog3yhx] {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem 1rem;
}

.graph-btn-open[b-962iog3yhx] {
    background: none;
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 6px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    color: var(--c-primary, #4a7dff);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.graph-btn-open:hover[b-962iog3yhx] {
    background: var(--c-surface-2, #f8f9fa);
    border-color: var(--c-primary, #4a7dff);
}

.graph-btn-digest[b-962iog3yhx] {
    background: none;
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 6px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    color: var(--c-text-muted, #999);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.graph-btn-digest:hover[b-962iog3yhx] {
    background: var(--c-surface-2, #f8f9fa);
    border-color: var(--c-text-muted, #999);
    color: var(--c-text);
}

/* Expanded section */
.graph-expanded-section[b-962iog3yhx] {
    border-top: 1px solid var(--c-border, #e0e0e0);
    padding: 1rem 1.25rem;
}

.graph-section-title[b-962iog3yhx] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-text-muted, #999);
    margin: 0 0 0.75rem 0;
}

.graph-timeline-loading[b-962iog3yhx] {
    text-align: center;
    padding: 1rem 0;
}

.graph-timeline-empty[b-962iog3yhx] {
    color: var(--c-text-muted, #999);
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
    padding: 0.5rem 0;
}

/* Findings list */
.graph-findings[b-962iog3yhx] {
    margin-bottom: 1rem;
}

.graph-finding-item[b-962iog3yhx] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
}

.graph-finding-item:not(:last-child)[b-962iog3yhx] {
    border-bottom: 1px dashed var(--c-border, #e0e0e0);
}

.graph-finding-badge[b-962iog3yhx] {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.graph-finding-critical[b-962iog3yhx] {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.graph-finding-warning[b-962iog3yhx] {
    background: rgba(255, 193, 7, 0.15);
    color: #b8860b;
}

.graph-finding-info[b-962iog3yhx] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.graph-finding-message[b-962iog3yhx] {
    font-size: 0.85rem;
    color: var(--c-text);
    line-height: 1.4;
}

.graph-no-findings[b-962iog3yhx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #28a745;
}

.graph-no-findings-icon[b-962iog3yhx] {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

/* Digest summary */
.graph-digest-summary[b-962iog3yhx] {
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--c-border, #e0e0e0);
}

.graph-digest-text[b-962iog3yhx] {
    font-size: 0.85rem;
    color: var(--c-text);
    line-height: 1.5;
    margin: 0 0 0.25rem;
}

.graph-digest-date[b-962iog3yhx] {
    font-size: 0.72rem;
    color: var(--c-text-muted, #999);
    font-variant-numeric: tabular-nums;
}

/* Workspaces list */
.graph-workspaces-list[b-962iog3yhx] {
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--c-border, #e0e0e0);
}

.graph-workspace-item[b-962iog3yhx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.4rem 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.graph-workspace-item:hover[b-962iog3yhx] {
    background: var(--c-surface-2, #f8f9fa);
}

.graph-workspace-item:not(:last-child)[b-962iog3yhx] {
    border-bottom: 1px dashed var(--c-border, #e0e0e0);
}

.graph-workspace-name[b-962iog3yhx] {
    font-size: 0.85rem;
    color: var(--c-text);
}

.graph-workspace-item:hover .graph-workspace-name[b-962iog3yhx] {
    color: var(--c-primary, #4a7dff);
}

.graph-workspace-updated[b-962iog3yhx] {
    font-size: 0.72rem;
    color: var(--c-text-muted, #999);
    font-variant-numeric: tabular-nums;
}

/* Activity timeline */
.graph-timeline[b-962iog3yhx] {
    padding-top: 0.75rem;
    border-top: 1px solid var(--c-border, #e0e0e0);
}

.graph-event[b-962iog3yhx] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.graph-event:not(:last-child)[b-962iog3yhx] {
    border-bottom: 1px solid var(--c-border, #e0e0e0);
    border-bottom-style: dashed;
}

.graph-event-btn[b-962iog3yhx] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
    margin: 0 -0.25rem;
    padding: 0.5rem 0.25rem;
    transition: background-color 0.15s ease;
}

.graph-event-btn:hover[b-962iog3yhx] {
    background: var(--c-surface-2, #f8f9fa);
}

.graph-event-btn:hover .graph-event-desc[b-962iog3yhx] {
    color: var(--c-primary, #4a7dff);
}

.graph-event-btn:not(:last-child)[b-962iog3yhx] {
    border-bottom: 1px dashed var(--c-border, #e0e0e0);
}

.graph-event-arrow[b-962iog3yhx] {
    width: 1rem;
    height: 1rem;
    color: var(--c-text-muted, #999);
    flex-shrink: 0;
    margin-top: 0.15rem;
    opacity: 0;
    transition: opacity 0.15s ease;
    margin-left: auto;
}

.graph-event-btn:hover .graph-event-arrow[b-962iog3yhx] {
    opacity: 1;
}

.graph-event-chip[b-962iog3yhx] {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.graph-event-digest[b-962iog3yhx] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.graph-event-chat[b-962iog3yhx] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.graph-event-workspace[b-962iog3yhx] {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.graph-event-body[b-962iog3yhx] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.graph-event-desc[b-962iog3yhx] {
    font-size: 0.85rem;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.graph-event-time[b-962iog3yhx] {
    font-size: 0.72rem;
    color: var(--c-text-muted, #999);
    font-variant-numeric: tabular-nums;
}

/* Dark mode */
:root[data-theme="dark"] .graph-chevron[b-962iog3yhx] {
    color: var(--c-text-muted, #888);
}

:root[data-theme="dark"] .graph-stat-red .graph-stat-value[b-962iog3yhx] {
    color: #f87171;
}

:root[data-theme="dark"] .graph-stat-yellow .graph-stat-value[b-962iog3yhx] {
    color: #fcd34d;
}

:root[data-theme="dark"] .graph-stat-green .graph-stat-value[b-962iog3yhx] {
    color: #4ade80;
}

:root[data-theme="dark"] .graph-shield-red[b-962iog3yhx] {
    color: #f87171;
}

:root[data-theme="dark"] .graph-shield-yellow[b-962iog3yhx] {
    color: #fcd34d;
}

:root[data-theme="dark"] .graph-shield-green[b-962iog3yhx] {
    color: #4ade80;
}

:root[data-theme="dark"] .graph-trend-up[b-962iog3yhx] {
    color: #4ade80;
}

:root[data-theme="dark"] .graph-trend-down[b-962iog3yhx] {
    color: #f87171;
}

:root[data-theme="dark"] .graph-btn-open[b-962iog3yhx] {
    color: var(--c-primary, #6b9fff);
}

:root[data-theme="dark"] .graph-card:hover[b-962iog3yhx] {
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
}

:root[data-theme="dark"] .graph-card-expanded[b-962iog3yhx] {
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

:root[data-theme="dark"] .graph-filter-chip-active[b-962iog3yhx] {
    background: var(--c-text);
    color: var(--c-surface, #1a1a1a);
}

:root[data-theme="dark"] .graph-filter-chip-red.graph-filter-chip-active[b-962iog3yhx] {
    background: #f87171;
    border-color: #f87171;
    color: #000;
}

:root[data-theme="dark"] .graph-filter-chip-yellow.graph-filter-chip-active[b-962iog3yhx] {
    background: #fcd34d;
    border-color: #fcd34d;
    color: #000;
}

:root[data-theme="dark"] .graph-filter-chip-green.graph-filter-chip-active[b-962iog3yhx] {
    background: #4ade80;
    border-color: #4ade80;
    color: #000;
}

:root[data-theme="dark"] .graph-finding-critical[b-962iog3yhx] {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

:root[data-theme="dark"] .graph-finding-warning[b-962iog3yhx] {
    background: rgba(252, 211, 77, 0.15);
    color: #fcd34d;
}

:root[data-theme="dark"] .graph-finding-info[b-962iog3yhx] {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

:root[data-theme="dark"] .graph-no-findings[b-962iog3yhx] {
    color: #4ade80;
}

:root[data-theme="dark"] .graph-event-digest[b-962iog3yhx] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

:root[data-theme="dark"] .graph-event-chat[b-962iog3yhx] {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

:root[data-theme="dark"] .graph-event-workspace[b-962iog3yhx] {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

:root[data-theme="dark"] .graph-settings-select[b-962iog3yhx] {
    background: var(--c-surface, #1a1a1a);
    border-color: var(--c-border, #333);
    color: var(--c-text);
}

/* Responsive */
@media (min-width: 640px) {
    .graph-grid[b-962iog3yhx] {
        grid-template-columns: repeat(2, 1fr);
    }

    .graph-card-expanded[b-962iog3yhx] {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .graph-grid[b-962iog3yhx] {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* /Components/Pages/OrgGraph.razor.rz.scp.css */
/* SPEC-068: Organisationsgrafen — Nordic utilitarian dashboard */

.org-graph-page[b-vf04nnq4ai] {
    max-width: 960px;
    margin: 0 auto;
}

/* Header */
.org-graph-header[b-vf04nnq4ai] {
    margin-bottom: 1.5rem;
}

.org-graph-title[b-vf04nnq4ai] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-text);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Loading */
.org-graph-loading[b-vf04nnq4ai] {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
}

/* Empty state */
.org-graph-empty[b-vf04nnq4ai] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}

.org-graph-empty-icon[b-vf04nnq4ai] {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--c-text-muted, #999);
    margin-bottom: 1.25rem;
    opacity: 0.5;
}

.org-graph-empty-text[b-vf04nnq4ai] {
    color: var(--c-text-muted, #999);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.5;
}

/* Aggregated stats bar */
.org-graph-stats[b-vf04nnq4ai] {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--c-surface-2, #f8f9fa);
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 8px;
    flex-wrap: wrap;
}

.org-graph-stat[b-vf04nnq4ai] {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    padding-right: 0.75rem;
}

.org-graph-stat:not(:last-child)[b-vf04nnq4ai] {
    border-right: 1px solid var(--c-border, #e0e0e0);
}

.org-graph-stat-value[b-vf04nnq4ai] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
}

.org-graph-stat-label[b-vf04nnq4ai] {
    font-size: 0.75rem;
    color: var(--c-text-muted, #999);
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.org-graph-stat-up .org-graph-stat-value[b-vf04nnq4ai] {
    color: #16a34a;
}

.org-graph-stat-down .org-graph-stat-value[b-vf04nnq4ai] {
    color: #dc2626;
}

/* Card grid */
.org-graph-grid[b-vf04nnq4ai] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

/* Organization card */
.org-graph-card[b-vf04nnq4ai] {
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 8px;
    transition: border-color 0.15s ease;
}

.org-graph-card:hover[b-vf04nnq4ai] {
    border-color: var(--c-primary, #4a7dff);
}

.org-graph-card-expanded[b-vf04nnq4ai] {
    border-color: var(--c-primary, #4a7dff);
}

.org-graph-card-header[b-vf04nnq4ai] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem 0.5rem;
    cursor: pointer;
    user-select: none;
}

.org-graph-card-identity[b-vf04nnq4ai] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.org-graph-card-name[b-vf04nnq4ai] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin: 0;
    line-height: 1.3;
}

.org-graph-card-orgnr[b-vf04nnq4ai] {
    font-size: 0.75rem;
    color: var(--c-text-muted, #999);
    font-variant-numeric: tabular-nums;
}

/* Chevron */
.org-graph-chevron[b-vf04nnq4ai] {
    display: inline-flex;
    align-items: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--c-text-muted, #999);
    transition: transform 0.2s ease, color 0.15s ease;
    flex-shrink: 0;
}

.org-graph-card-header:hover .org-graph-chevron[b-vf04nnq4ai] {
    color: var(--c-primary, #4a7dff);
}

.org-graph-chevron svg[b-vf04nnq4ai] {
    width: 100%;
    height: 100%;
}

.org-graph-chevron-open[b-vf04nnq4ai] {
    transform: rotate(180deg);
}

/* Financials row */
.org-graph-card-financials[b-vf04nnq4ai] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    flex-wrap: wrap;
}

.org-graph-kpi[b-vf04nnq4ai] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
}

.org-graph-kpi-label[b-vf04nnq4ai] {
    font-size: 0.7rem;
    color: var(--c-text-muted, #999);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.org-graph-kpi-value[b-vf04nnq4ai] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
}

.org-graph-kpi-sep[b-vf04nnq4ai] {
    color: var(--c-text-muted, #999);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Trend arrows */
.org-graph-trend[b-vf04nnq4ai] {
    font-size: 0.8rem;
    font-weight: 700;
}

.org-graph-trend-up[b-vf04nnq4ai] {
    color: #16a34a;
}

.org-graph-trend-down[b-vf04nnq4ai] {
    color: #dc2626;
}

.org-graph-trend-flat[b-vf04nnq4ai] {
    color: var(--c-text-muted, #999);
}

/* No financial data */
.org-graph-card-no-data[b-vf04nnq4ai] {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--c-text-muted, #999);
    font-style: italic;
}

/* Meta row */
.org-graph-card-meta[b-vf04nnq4ai] {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 1.25rem;
    flex-wrap: wrap;
}

.org-graph-meta-item[b-vf04nnq4ai] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--c-text-muted, #999);
}

.org-graph-meta-link[b-vf04nnq4ai] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.org-graph-meta-link:hover[b-vf04nnq4ai] {
    color: var(--c-primary, #4a7dff);
    text-decoration-color: var(--c-primary, #4a7dff);
}

.org-graph-meta-icon[b-vf04nnq4ai] {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

/* Actions row */
.org-graph-card-actions[b-vf04nnq4ai] {
    padding: 0.5rem 1.25rem 1rem;
}

.org-graph-btn-open[b-vf04nnq4ai] {
    background: none;
    border: 1px solid var(--c-border, #e0e0e0);
    border-radius: 6px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    color: var(--c-primary, #4a7dff);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.org-graph-btn-open:hover[b-vf04nnq4ai] {
    background: var(--c-surface-2, #f8f9fa);
    border-color: var(--c-primary, #4a7dff);
}

/* Activity timeline */
.org-graph-timeline[b-vf04nnq4ai] {
    border-top: 1px solid var(--c-border, #e0e0e0);
    padding: 1rem 1.25rem;
}

.org-graph-timeline-loading[b-vf04nnq4ai] {
    text-align: center;
    padding: 1rem 0;
}

.org-graph-timeline-empty[b-vf04nnq4ai] {
    color: var(--c-text-muted, #999);
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
    padding: 0.5rem 0;
}

.org-graph-event[b-vf04nnq4ai] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.org-graph-event:not(:last-child)[b-vf04nnq4ai] {
    border-bottom: 1px solid var(--c-border, #e0e0e0);
    border-bottom-style: dashed;
}

.org-graph-event-btn[b-vf04nnq4ai] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
    margin: 0 -0.25rem;
    padding: 0.5rem 0.25rem;
    transition: background-color 0.15s ease;
}

.org-graph-event-btn:hover[b-vf04nnq4ai] {
    background: var(--c-surface-2, #f8f9fa);
}

.org-graph-event-btn:hover .org-graph-event-desc[b-vf04nnq4ai] {
    color: var(--c-primary, #4a7dff);
}

.org-graph-event-btn:not(:last-child)[b-vf04nnq4ai] {
    border-bottom: 1px dashed var(--c-border, #e0e0e0);
}

.org-graph-event-arrow[b-vf04nnq4ai] {
    width: 1rem;
    height: 1rem;
    color: var(--c-text-muted, #999);
    flex-shrink: 0;
    margin-top: 0.15rem;
    opacity: 0;
    transition: opacity 0.15s ease;
    margin-left: auto;
}

.org-graph-event-btn:hover .org-graph-event-arrow[b-vf04nnq4ai] {
    opacity: 1;
}

.org-graph-event-chip[b-vf04nnq4ai] {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.org-graph-event-digest[b-vf04nnq4ai] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.org-graph-event-chat[b-vf04nnq4ai] {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.org-graph-event-workspace[b-vf04nnq4ai] {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.org-graph-event-body[b-vf04nnq4ai] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.org-graph-event-desc[b-vf04nnq4ai] {
    font-size: 0.85rem;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-graph-event-time[b-vf04nnq4ai] {
    font-size: 0.72rem;
    color: var(--c-text-muted, #999);
    font-variant-numeric: tabular-nums;
}

/* Dark mode */
:root[data-theme="dark"] .org-graph-chevron[b-vf04nnq4ai] {
    color: var(--c-text-muted, #888);
}

:root[data-theme="dark"] .org-graph-stat-up .org-graph-stat-value[b-vf04nnq4ai] {
    color: #4ade80;
}

:root[data-theme="dark"] .org-graph-stat-down .org-graph-stat-value[b-vf04nnq4ai] {
    color: #f87171;
}

:root[data-theme="dark"] .org-graph-trend-up[b-vf04nnq4ai] {
    color: #4ade80;
}

:root[data-theme="dark"] .org-graph-trend-down[b-vf04nnq4ai] {
    color: #f87171;
}

:root[data-theme="dark"] .org-graph-btn-open[b-vf04nnq4ai] {
    color: var(--c-primary, #6b9fff);
}

:root[data-theme="dark"] .org-graph-event-digest[b-vf04nnq4ai] {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

:root[data-theme="dark"] .org-graph-event-chat[b-vf04nnq4ai] {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

:root[data-theme="dark"] .org-graph-event-workspace[b-vf04nnq4ai] {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

/* Responsive */
@media (min-width: 640px) {
    .org-graph-grid[b-vf04nnq4ai] {
        grid-template-columns: repeat(2, 1fr);
    }

    .org-graph-card-expanded[b-vf04nnq4ai] {
        grid-column: 1 / -1;
    }
}
/* /Components/Pages/Profile/MyProfileContent.razor.rz.scp.css */
/* Profile page – clean utilitarian aesthetic */

.profile-page[b-jfpua5aqvz] {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ── Hero ── */
.profile-hero[b-jfpua5aqvz] {
    padding: var(--space-6) 0 var(--space-5);
    border-bottom: 1px solid hsl(var(--c-border) / 0.35);
    margin-bottom: var(--space-5);
}

.profile-hero-inner[b-jfpua5aqvz] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.profile-avatar[b-jfpua5aqvz] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, hsl(var(--c-primary)), hsl(var(--c-primary) / 0.5));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    line-height: 1;
}

.profile-hero-info[b-jfpua5aqvz] {
    flex: 1;
    min-width: 0;
}

.profile-hero-name[b-jfpua5aqvz] {
    font-family: var(--font-display, inherit);
    font-size: 1.45rem;
    font-weight: 700;
    color: hsl(var(--c-text));
    line-height: 1.2;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.profile-hero-meta[b-jfpua5aqvz] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-role[b-jfpua5aqvz] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: hsl(var(--c-text-muted));
}

.profile-role-dot[b-jfpua5aqvz] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: hsl(var(--c-text-muted));
}

.uid-role--sysadmin .profile-role-dot[b-jfpua5aqvz] {
    background: hsl(0 70% 55%);
}

.uid-role--orgadmin .profile-role-dot[b-jfpua5aqvz] {
    background: hsl(38 92% 50%);
}

.uid-role--user .profile-role-dot[b-jfpua5aqvz] {
    background: hsl(var(--c-primary));
}

.profile-org[b-jfpua5aqvz] {
    font-size: 0.82rem;
    color: hsl(var(--c-text-muted));
}

.profile-hero-actions[b-jfpua5aqvz] {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}

/* ── Buttons ── */
.p-btn[b-jfpua5aqvz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 120ms ease-out;
    line-height: 1.4;
}

.p-btn--primary[b-jfpua5aqvz] {
    background: hsl(var(--c-primary));
    color: #fff;
}

.p-btn--primary:hover[b-jfpua5aqvz] {
    filter: brightness(1.1);
}

.p-btn--primary:disabled[b-jfpua5aqvz] {
    opacity: 0.6;
    cursor: not-allowed;
}

.p-btn--ghost[b-jfpua5aqvz] {
    background: transparent;
    color: hsl(var(--c-text-muted));
    border: 1px solid hsl(var(--c-border) / 0.5);
}

.p-btn--ghost:hover[b-jfpua5aqvz] {
    background: hsl(var(--c-text) / 0.04);
    color: hsl(var(--c-text));
}

/* ── States ── */
.profile-loading[b-jfpua5aqvz] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.profile-empty[b-jfpua5aqvz] {
    text-align: center;
    padding: var(--space-8) var(--space-4);
}

.profile-empty-icon[b-jfpua5aqvz] {
    font-size: 2.5rem;
    color: hsl(var(--c-text-muted));
    margin-bottom: var(--space-3);
    opacity: 0.4;
}

.profile-empty h3[b-jfpua5aqvz] {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(var(--c-text));
    margin-bottom: var(--space-2);
}

.profile-empty p[b-jfpua5aqvz] {
    color: hsl(var(--c-text-muted));
    font-size: 0.85rem;
    margin-bottom: var(--space-4);
}

/* ── Content grid ── */
.profile-grid[b-jfpua5aqvz] {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: var(--space-6);
    align-items: start;
}

/* ── Sections ── */
.profile-section[b-jfpua5aqvz] {
    margin-bottom: var(--space-5);
}

.profile-section-title[b-jfpua5aqvz] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: hsl(var(--c-text-muted));
    margin: 0 0 var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid hsl(var(--c-border) / 0.25);
}

/* ── Data rows ── */
.profile-fields[b-jfpua5aqvz] {
    display: flex;
    flex-direction: column;
}

.profile-row[b-jfpua5aqvz] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid hsl(var(--c-border) / 0.12);
    gap: var(--space-3);
}

.profile-row:last-child[b-jfpua5aqvz] {
    border-bottom: none;
}

.profile-row--block[b-jfpua5aqvz] {
    flex-direction: column;
    gap: var(--space-1);
}

.profile-label[b-jfpua5aqvz] {
    font-size: 0.78rem;
    color: hsl(var(--c-text-muted));
    flex-shrink: 0;
    min-width: 110px;
}

.profile-value[b-jfpua5aqvz] {
    font-size: 0.82rem;
    color: hsl(var(--c-text));
    text-align: right;
    word-break: break-word;
}

.profile-value--pre[b-jfpua5aqvz] {
    white-space: pre-wrap;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.5;
}

.profile-masked[b-jfpua5aqvz] {
    color: hsl(var(--c-text-muted));
    letter-spacing: 0.08em;
}

.profile-muted[b-jfpua5aqvz] {
    font-size: 0.8rem;
    color: hsl(var(--c-text-muted));
    padding: var(--space-2) 0;
    margin: 0;
}

/* ── Form ── */
.p-form-row[b-jfpua5aqvz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.p-field[b-jfpua5aqvz] {
    margin-bottom: var(--space-3);
}

.p-field label[b-jfpua5aqvz] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: hsl(var(--c-text-muted));
    margin-bottom: 4px;
}

.p-input[b-jfpua5aqvz] {
    width: 100%;
    padding: 8px 10px;
    border-radius: var(--radius-sm, 6px);
    border: 1px solid hsl(var(--c-border) / 0.5);
    background: hsl(var(--c-bg, var(--c-surface)));
    color: hsl(var(--c-text));
    font-size: 0.82rem;
    transition: border-color 120ms ease-out;
    outline: none;
}

.p-input:focus[b-jfpua5aqvz] {
    border-color: hsl(var(--c-primary));
}

.p-input[b-jfpua5aqvz]::placeholder {
    color: hsl(var(--c-text-muted) / 0.5);
}

.p-textarea[b-jfpua5aqvz] {
    resize: vertical;
    min-height: 80px;
}

.p-form-actions[b-jfpua5aqvz] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid hsl(var(--c-border) / 0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .profile-grid[b-jfpua5aqvz] {
        grid-template-columns: 1fr;
    }

    .profile-hero-inner[b-jfpua5aqvz] {
        flex-wrap: wrap;
    }

    .profile-hero-actions[b-jfpua5aqvz] {
        width: 100%;
    }

    .p-form-row[b-jfpua5aqvz] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/UserHome.razor.rz.scp.css */
/* SPEC-053: UserHome page styles - dedicated user workspace view */

/* Sidebar */
.user-sidebar[b-bf2z564o5z] {
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
    background: hsl(var(--c-surface));
    border-right: 1px solid hsl(var(--c-border));
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.user-sidebar-brand[b-bf2z564o5z] {
    padding: var(--space-4);
    border-bottom: 1px solid hsl(var(--c-border));
    min-height: 4.5rem;
    display: flex;
    align-items: center;
}

.user-brand-link[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: hsl(var(--c-text));
    transition: color 150ms ease-out;
}

.user-brand-link:hover[b-bf2z564o5z] {
    color: hsl(var(--c-primary));
}

.user-brand-icon[b-bf2z564o5z] {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--c-primary));
    flex-shrink: 0;
}

[b-bf2z564o5z] .isa-logo-img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: hsl(var(--c-surface-2));
}

.user-brand-text[b-bf2z564o5z] {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Nav links (above workspace list) */
.user-nav-link-group[b-bf2z564o5z] {
    padding: var(--space-2) 0 var(--space-1);
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
    margin-bottom: var(--space-1);
}

.user-nav-link[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    color: hsl(var(--c-text-muted));
    font-size: var(--text-sm);
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background-color 150ms ease-out, color 150ms ease-out, border-left-color 150ms ease-out;
}

.user-nav-link:hover[b-bf2z564o5z] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
    border-left-color: hsl(var(--c-primary) / 0.5);
}

.user-nav-icon[b-bf2z564o5z] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Sidebar content */
.user-sidebar-content[b-bf2z564o5z] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-2) 0;
}

.user-sidebar-section-title[b-bf2z564o5z] {
    padding: var(--space-3) var(--space-4) var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    color: hsl(var(--c-text-muted));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.user-sidebar-loading[b-bf2z564o5z] {
    display: flex;
    justify-content: center;
    padding: var(--space-4);
}

.user-sidebar-empty[b-bf2z564o5z] {
    padding: var(--space-4);
    text-align: center;
    color: hsl(var(--c-text-muted));
    font-size: var(--text-sm);
}

/* Workspace items */
.user-ws-item[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    cursor: pointer;
    transition: background-color 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: hsl(var(--c-text));
    position: relative;
    overflow: hidden;
}

.user-ws-item[b-bf2z564o5z]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(var(--c-primary) / 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 200ms ease-out;
    pointer-events: none;
}

.user-ws-item:hover[b-bf2z564o5z] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
    transform: translateX(2px);
    box-shadow: 0 1px 4px hsl(var(--c-text) / 0.06);
}

.user-ws-item:hover[b-bf2z564o5z]::before {
    opacity: 1;
}

.user-ws-item.active[b-bf2z564o5z] {
    background: hsl(var(--c-primary) / 0.1);
    color: hsl(var(--c-primary));
    border-left-color: hsl(var(--c-primary));
}

.user-ws-item.dragging[b-bf2z564o5z] {
    opacity: 0.4;
}

.user-ws-item.drag-over[b-bf2z564o5z] {
    border-top: 2px solid hsl(var(--c-primary));
}

.user-ws-drag-handle[b-bf2z564o5z] {
    color: hsl(var(--c-text-subtle));
    font-size: var(--text-xs);
    cursor: grab;
    opacity: 0;
    transition: opacity 150ms ease-out;
    flex-shrink: 0;
    user-select: none;
}

.user-ws-item:hover .user-ws-drag-handle[b-bf2z564o5z] {
    opacity: 1;
}

.user-ws-name[b-bf2z564o5z] {
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Sidebar footer ── */
.user-sidebar-footer[b-bf2z564o5z] {
    border-top: 1px solid hsl(var(--c-border) / 0.4);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Identity link → profile */
.uid-link[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    color: hsl(var(--c-text));
    transition: background-color 120ms ease-out;
}

.uid-link:hover[b-bf2z564o5z] {
    background: hsl(var(--c-text) / 0.05);
    color: hsl(var(--c-text));
}

.uid-avatar[b-bf2z564o5z] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--c-primary)), hsl(var(--c-primary) / 0.55));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    line-height: 1;
}

.uid-meta[b-bf2z564o5z] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.uid-name[b-bf2z564o5z] {
    font-size: 0.8rem;
    font-weight: 600;
    color: hsl(var(--c-text));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.uid-org[b-bf2z564o5z] {
    font-size: 0.68rem;
    color: hsl(var(--c-text-muted));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* ── Action bar ── */
.uid-bar[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
}

.uid-bar-fill[b-bf2z564o5z] {
    flex: 1;
}

/* Role indicator with colored dot */
.uid-role[b-bf2z564o5z] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: hsl(var(--c-text-muted));
    line-height: 1;
}

.uid-role-dot[b-bf2z564o5z] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: hsl(var(--c-text-muted));
}

.uid-role--sysadmin .uid-role-dot[b-bf2z564o5z] {
    background: hsl(0 70% 55%);
}

.uid-role--orgadmin .uid-role-dot[b-bf2z564o5z] {
    background: hsl(38 92% 50%);
}

.uid-role--user .uid-role-dot[b-bf2z564o5z] {
    background: hsl(var(--c-primary));
}

/* Icon button (logout) */
.uid-btn[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm, 4px);
    color: hsl(var(--c-text-muted));
    text-decoration: none;
    transition: background-color 120ms ease-out, color 120ms ease-out;
    font-size: 0.85rem;
}

.uid-btn:hover[b-bf2z564o5z] {
    background: hsl(var(--c-text) / 0.06);
    color: hsl(var(--c-danger, 0 70% 55%));
}


.user-main-loading[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.user-main-error[b-bf2z564o5z] {
    padding: var(--space-4);
    max-width: 600px;
    margin: var(--space-6) auto;
}

.user-main-empty[b-bf2z564o5z] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
/* /Components/Pages/WorkspaceView.razor.rz.scp.css */
/* SPEC-053: WorkspaceView page styles */

.workspace-view-page[b-9vsbmmnoq0] {
    display: flex;
    height: calc(100vh - 4.5rem); /* subtract top-row height */
    overflow: hidden;
}

.wv-loading[b-9vsbmmnoq0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
}

.wv-error[b-9vsbmmnoq0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--space-6);
    gap: var(--space-4);
}

.wv-content[b-9vsbmmnoq0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.wv-content-header[b-9vsbmmnoq0] {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid hsl(var(--c-border));
    background: hsl(var(--c-surface));
}

.wv-content-body[b-9vsbmmnoq0] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
}

.wv-no-selection[b-9vsbmmnoq0],
.wv-empty-state[b-9vsbmmnoq0] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Feedback toast */
.wv-feedback[b-9vsbmmnoq0] {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    z-index: 1050;
    animation: wv-fade-in-b-9vsbmmnoq0 200ms ease-out;
    box-shadow: var(--shadow-lg);
}

.wv-feedback.success[b-9vsbmmnoq0] {
    background: hsl(var(--c-primary));
    color: white;
}

.wv-feedback.error[b-9vsbmmnoq0] {
    background: hsl(var(--c-danger));
    color: white;
}

@keyframes wv-fade-in-b-9vsbmmnoq0 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/Shared/CommunicationChannelModal.razor.rz.scp.css */
/*
CommunicationChannelModal Styles - Design System Overhaul (SPEC-026)
Modern modal with glassmorphism backdrop and smooth animations
*/

/* Modal Backdrop */
[b-bfx3veqao8] .modal-backdrop {
    background: hsl(var(--modal-backdrop) / 0.8) !important;
}

@supports (backdrop-filter: blur(1px)) {
    [b-bfx3veqao8] .modal-backdrop {
        backdrop-filter: blur(var(--modal-backdrop-blur));
    }
}

/* Modal Container */
[b-bfx3veqao8] .modal {
    animation: modal-fade-in-b-bfx3veqao8 200ms ease-out;
}

@keyframes modal-fade-in-b-bfx3veqao8 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

[b-bfx3veqao8] .modal-dialog {
    animation: modal-slide-in-b-bfx3veqao8 var(--modal-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-slide-in-b-bfx3veqao8 {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[b-bfx3veqao8] .modal-content {
    background: hsl(var(--modal-bg));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--modal-border-radius);
    box-shadow: var(--modal-shadow);
}

/* Modal Header */
[b-bfx3veqao8] .modal-header {
    padding: var(--modal-padding);
    border-bottom: 1px solid hsl(var(--c-border));
    background: hsl(var(--c-surface-2) / 0.3);
}

[b-bfx3veqao8] .modal-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text));
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

[b-bfx3veqao8] .modal-title i {
    color: hsl(var(--c-primary));
}

/* Close Button */
[b-bfx3veqao8] .btn-close {
    background: transparent;
    border: none;
    color: hsl(var(--c-text-muted));
    opacity: 1;
    transition: all 150ms ease-out;
    padding: var(--space-2);
    border-radius: var(--radius-full);
}

[b-bfx3veqao8] .btn-close:hover {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

/* Modal Body */
[b-bfx3veqao8] .modal-body {
    padding: var(--modal-padding);
    max-height: 70vh;
    overflow-y: auto;
}

/* Custom Scrollbar */
[b-bfx3veqao8] .modal-body::-webkit-scrollbar {
    width: 6px;
}

[b-bfx3veqao8] .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

[b-bfx3veqao8] .modal-body::-webkit-scrollbar-thumb {
    background: hsl(var(--c-border));
    border-radius: var(--radius-full);
}

/* Modal Footer */
[b-bfx3veqao8] .modal-footer {
    padding: var(--modal-padding);
    border-top: 1px solid hsl(var(--c-border));
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
}

/* Form Labels */
[b-bfx3veqao8] .form-label {
    color: hsl(var(--c-text));
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
}

/* Form Inputs */
[b-bfx3veqao8] .form-control,
[b-bfx3veqao8] .form-select {
    background: hsl(var(--input-bg));
    border: 1px solid hsl(var(--input-border));
    border-radius: var(--input-border-radius);
    color: hsl(var(--c-text));
    padding: var(--input-padding-y) var(--input-padding-x);
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

[b-bfx3veqao8] .form-control:focus,
[b-bfx3veqao8] .form-select:focus {
    border-color: hsl(var(--input-border-focus));
    box-shadow: 0 0 0 3px hsl(var(--input-glow) / 0.4);
    outline: none;
}

[b-bfx3veqao8] .form-control::placeholder {
    color: hsl(var(--c-text-muted));
}

/* Checkbox */
[b-bfx3veqao8] .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    background: hsl(var(--input-bg));
    border: 1px solid hsl(var(--input-border));
    border-radius: var(--radius-sm);
    transition: all 150ms ease-out;
}

[b-bfx3veqao8] .form-check-input:checked {
    background: hsl(var(--c-primary));
    border-color: hsl(var(--c-primary));
}

[b-bfx3veqao8] .form-check-input:focus {
    box-shadow: 0 0 0 3px hsl(var(--input-glow) / 0.4);
    outline: none;
}

[b-bfx3veqao8] .form-check-label {
    color: hsl(var(--c-text));
    font-size: var(--font-size-sm);
    margin-left: var(--space-1);
}

/* Settings Cards */
[b-bfx3veqao8] .card {
    background: hsl(var(--c-surface-2) / 0.5);
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
}

[b-bfx3veqao8] .card-header {
    background: transparent;
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
    padding: var(--space-3) var(--space-4);
}

[b-bfx3veqao8] .card-header h6 {
    font-family: var(--font-display);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text));
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

[b-bfx3veqao8] .card-header h6 i {
    color: hsl(var(--c-primary));
}

[b-bfx3veqao8] .card-body {
    padding: var(--space-4);
}

/* Buttons */
[b-bfx3veqao8] .btn-primary {
    background: hsl(var(--btn-bg));
    border: none;
    color: hsl(var(--btn-text));
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-family: var(--font-body);
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
}

[b-bfx3veqao8] .btn-primary:hover:not(:disabled) {
    background: hsl(var(--btn-bg-hover));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

[b-bfx3veqao8] .btn-secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid hsl(var(--btn-secondary-border));
    color: hsl(var(--btn-secondary-text));
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-family: var(--font-body);
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
}

[b-bfx3veqao8] .btn-secondary:hover {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

/* Alert */
[b-bfx3veqao8] .alert-danger {
    background: hsl(var(--c-danger) / 0.1);
    border: 1px solid hsl(var(--c-danger) / 0.3);
    border-radius: var(--radius-md);
    color: hsl(var(--c-danger));
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
}

/* Validation Messages */
[b-bfx3veqao8] .validation-message {
    color: hsl(var(--c-danger));
    font-size: var(--font-size-xs);
    margin-top: var(--space-1);
}

/* Spinner */
[b-bfx3veqao8] .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    border-color: currentColor;
    border-right-color: transparent;
}

/* Row spacing */
[b-bfx3veqao8] .mb-3 {
    margin-bottom: var(--space-4) !important;
}
/* /Components/Shared/ThemeToggle.razor.rz.scp.css */
/* SPEC-014 Theme Toggle Component Styles */
.theme-toggle[b-9ooh30wal7] {
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    color: hsl(var(--c-text));
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 500;
    height: 2.5rem;
    width: 2.5rem;
    padding: var(--space-2);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover[b-9ooh30wal7] {
    background: hsl(var(--c-surface-2));
    border-color: hsl(var(--c-border-strong));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.theme-toggle:active[b-9ooh30wal7] {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.theme-icon[b-9ooh30wal7] {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
}

/* Focus styles for accessibility */
.theme-toggle:focus[b-9ooh30wal7] {
    outline: 2px solid hsl(var(--c-primary));
    outline-offset: 2px;
}
/* /Components/Workspaces/Alerts/AlertBadge.razor.rz.scp.css */
/* SPEC-034: Alert badge styles following SPEC-026 design system */

.alert-badge-container[b-ib460nagyn] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.alert-badge-container.hidden[b-ib460nagyn] {
    display: none;
}

.alert-badge[b-ib460nagyn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--duration-fast, 140ms) var(--ease-out, cubic-bezier(0.16,1,0.3,1)),
                box-shadow var(--duration-fast, 140ms) var(--ease-out, cubic-bezier(0.16,1,0.3,1));
    animation: pop-in var(--duration-normal, 220ms) var(--ease-spring, cubic-bezier(0.34,1.4,0.64,1)) both;
}

.alert-badge:hover[b-ib460nagyn] {
    transform: scale(1.12);
}

/* Severity colors (SPEC-034) using design tokens */
.severity-info[b-ib460nagyn] {
    background-color: hsl(var(--c-info));
    color: hsl(var(--c-text-inverse));
}

.severity-warning[b-ib460nagyn] {
    background-color: hsl(var(--c-warning));
    color: hsl(220 15% 10%);
}

.severity-critical[b-ib460nagyn] {
    background-color: hsl(var(--c-danger));
    color: hsl(var(--c-text-inverse));
    animation: pop-in var(--duration-normal, 220ms) var(--ease-spring, cubic-bezier(0.34,1.4,0.64,1)) both,
               pulse-critical-b-ib460nagyn 2.5s var(--ease-in-out, cubic-bezier(0.4,0,0.2,1)) 400ms infinite;
}

@keyframes pulse-critical-b-ib460nagyn {
    0%, 100% {
        box-shadow: 0 0 0 0 hsl(var(--c-danger) / 0.5);
    }
    50% {
        box-shadow: 0 0 0 5px hsl(var(--c-danger) / 0);
    }
}

.alert-icon[b-ib460nagyn] {
    line-height: 1;
}

.alert-icon.alert-inactive[b-ib460nagyn] {
    opacity: 0.5;
}

.alert-message[b-ib460nagyn] {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alert-message.severity-info[b-ib460nagyn] {
    background-color: hsl(var(--c-info) / 0.12);
    color: hsl(var(--c-info));
}

.alert-message.severity-warning[b-ib460nagyn] {
    background-color: hsl(var(--c-warning) / 0.12);
    color: hsl(var(--c-warning));
}

.alert-message.severity-critical[b-ib460nagyn] {
    background-color: hsl(var(--c-danger) / 0.12);
    color: hsl(var(--c-danger));
}

.alert-dismiss[b-ib460nagyn] {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    border: none;
    background-color: hsl(var(--c-surface));
    color: hsl(var(--c-text-muted));
    font-size: 0.625rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--duration-fast, 140ms) var(--ease-out, cubic-bezier(0.16,1,0.3,1));
}

.alert-dismiss:hover[b-ib460nagyn] {
    background-color: hsl(var(--c-surface-2));
}
/* /Components/Workspaces/Alerts/AlertConfigDialog.razor.rz.scp.css */
/* SPEC-034: Alert configuration dialog styles */

.alert-config-dialog[b-j9xxpsf92c] {
    display: none;
}

.alert-config-dialog.visible[b-j9xxpsf92c] {
    display: block;
}

.dialog-overlay[b-j9xxpsf92c] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.dialog-content[b-j9xxpsf92c] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-surface, #ffffff);
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
}

.dialog-header[b-j9xxpsf92c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.dialog-header h3[b-j9xxpsf92c] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary, #1e293b);
}

.dialog-close[b-j9xxpsf92c] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-secondary, #64748b);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.dialog-close:hover[b-j9xxpsf92c] {
    color: var(--color-text-primary, #1e293b);
}

.dialog-body[b-j9xxpsf92c] {
    padding: 1.5rem;
}

.dialog-footer[b-j9xxpsf92c] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border, #e2e8f0);
}

.form-group[b-j9xxpsf92c] {
    margin-bottom: 1rem;
}

.form-group label[b-j9xxpsf92c] {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary, #1e293b);
}

.form-select[b-j9xxpsf92c],
.form-input[b-j9xxpsf92c] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 0.375rem;
    background-color: var(--color-surface, #ffffff);
    color: var(--color-text-primary, #1e293b);
}

.form-select:focus[b-j9xxpsf92c],
.form-input:focus[b-j9xxpsf92c] {
    outline: none;
    border-color: var(--color-primary, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-hint[b-j9xxpsf92c] {
    margin-left: 0.5rem;
    color: var(--color-text-secondary, #64748b);
    font-size: 0.875rem;
}

.error-message[b-j9xxpsf92c] {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.375rem;
    color: var(--color-error, #ef4444);
    font-size: 0.875rem;
}

.btn[b-j9xxpsf92c] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-primary[b-j9xxpsf92c] {
    background-color: var(--color-primary, #3b82f6);
    color: white;
    border: none;
}

.btn-primary:hover:not(:disabled)[b-j9xxpsf92c] {
    background-color: var(--color-primary-dark, #2563eb);
}

.btn-primary:disabled[b-j9xxpsf92c] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary[b-j9xxpsf92c] {
    background-color: transparent;
    color: var(--color-text-secondary, #64748b);
    border: 1px solid var(--color-border, #e2e8f0);
}

.btn-secondary:hover[b-j9xxpsf92c] {
    background-color: var(--color-surface-hover, #f1f5f9);
}

.spinner[b-j9xxpsf92c] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-j9xxpsf92c 0.75s linear infinite;
    margin-right: 0.5rem;
}

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

/* Dark mode support (SPEC-026 FR-028) */
:root[data-theme="dark"] .dialog-content[b-j9xxpsf92c],
.dark .dialog-content[b-j9xxpsf92c] {
    background-color: hsl(220 15% 13%);
    border: 1px solid hsl(220 10% 25%);
}

:root[data-theme="dark"] .dialog-header[b-j9xxpsf92c],
.dark .dialog-header[b-j9xxpsf92c] {
    border-bottom-color: hsl(220 10% 25%);
}

:root[data-theme="dark"] .dialog-header h3[b-j9xxpsf92c],
.dark .dialog-header h3[b-j9xxpsf92c] {
    color: hsl(0 0% 95%);
}

:root[data-theme="dark"] .dialog-close[b-j9xxpsf92c],
.dark .dialog-close[b-j9xxpsf92c] {
    color: hsl(220 9% 60%);
}

:root[data-theme="dark"] .dialog-close:hover[b-j9xxpsf92c],
.dark .dialog-close:hover[b-j9xxpsf92c] {
    color: hsl(0 0% 95%);
}

:root[data-theme="dark"] .dialog-footer[b-j9xxpsf92c],
.dark .dialog-footer[b-j9xxpsf92c] {
    border-top-color: hsl(220 10% 25%);
}

:root[data-theme="dark"] .form-group label[b-j9xxpsf92c],
.dark .form-group label[b-j9xxpsf92c] {
    color: hsl(0 0% 95%);
}

:root[data-theme="dark"] .form-select[b-j9xxpsf92c],
:root[data-theme="dark"] .form-input[b-j9xxpsf92c],
.dark .form-select[b-j9xxpsf92c],
.dark .form-input[b-j9xxpsf92c] {
    background-color: hsl(220 15% 18%);
    border-color: hsl(220 10% 25%);
    color: hsl(0 0% 95%);
}

:root[data-theme="dark"] .form-select:focus[b-j9xxpsf92c],
:root[data-theme="dark"] .form-input:focus[b-j9xxpsf92c],
.dark .form-select:focus[b-j9xxpsf92c],
.dark .form-input:focus[b-j9xxpsf92c] {
    border-color: hsl(217 91% 60%);
    box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.2);
}

:root[data-theme="dark"] .form-select option[b-j9xxpsf92c],
.dark .form-select option[b-j9xxpsf92c] {
    background-color: hsl(220 15% 18%);
    color: hsl(0 0% 95%);
}

:root[data-theme="dark"] .form-hint[b-j9xxpsf92c],
.dark .form-hint[b-j9xxpsf92c] {
    color: hsl(220 9% 60%);
}

:root[data-theme="dark"] .btn-secondary[b-j9xxpsf92c],
.dark .btn-secondary[b-j9xxpsf92c] {
    color: hsl(220 9% 70%);
    border-color: hsl(220 10% 25%);
}

:root[data-theme="dark"] .btn-secondary:hover[b-j9xxpsf92c],
.dark .btn-secondary:hover[b-j9xxpsf92c] {
    background-color: hsl(220 15% 20%);
}

:root[data-theme="dark"] .error-message[b-j9xxpsf92c],
.dark .error-message[b-j9xxpsf92c] {
    background-color: hsla(0, 84%, 60%, 0.15);
    border-color: hsla(0, 84%, 60%, 0.3);
}
/* /Components/Workspaces/Objects/CurrencyForecastObject.razor.rz.scp.css */
.currency-forecast[b-z9g0dyufp7] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: system-ui, -apple-system, sans-serif;
}

.forecast-loading[b-z9g0dyufp7], .forecast-error[b-z9g0dyufp7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    color: var(--c-text-muted);
    font-size: var(--text-sm);
}

.loading-spinner[b-z9g0dyufp7] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--c-border);
    border-top-color: var(--c-primary);
    border-radius: 50%;
    animation: spin-b-z9g0dyufp7 0.8s linear infinite;
}

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

.forecast-error[b-z9g0dyufp7] { color: var(--c-danger); }

.stale-warning[b-z9g0dyufp7] {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: var(--text-xs);
    color: var(--c-text-muted);
}

.forecast-toolbar[b-z9g0dyufp7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 4px;
}

.chart-type-select[b-z9g0dyufp7] {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-size: var(--text-xs);
    padding: 3px 8px;
    cursor: pointer;
}

.chart-type-select:hover[b-z9g0dyufp7] { border-color: var(--c-primary); }

.forecast-method[b-z9g0dyufp7] {
    font-size: 10px;
    color: var(--c-text-muted);
    opacity: 0.6;
}

/* SVG Chart */
[b-z9g0dyufp7] .forecast-chart {
    width: 100%;
    height: auto;
    flex: 1;
    min-height: 200px;
}

[b-z9g0dyufp7] .grid-line {
    stroke: var(--c-border);
    stroke-width: 0.5;
    stroke-dasharray: 2,4;
}

[b-z9g0dyufp7] .divider-line {
    stroke: var(--c-text-muted);
    stroke-width: 1;
    stroke-dasharray: 4,4;
    opacity: 0.5;
}

[b-z9g0dyufp7] .axis-label {
    font-size: 9px;
    fill: var(--c-text-muted);
}

[b-z9g0dyufp7] .y-label {
    text-anchor: end;
}

[b-z9g0dyufp7] .x-label {
    text-anchor: middle;
}

[b-z9g0dyufp7] .historical-line {
    stroke-linecap: round;
    stroke-linejoin: round;
}

[b-z9g0dyufp7] .forecast-line {
    stroke-linecap: round;
    stroke-linejoin: round;
}

[b-z9g0dyufp7] .confidence-band {
    stroke: none;
}

/* Legend */
.forecast-legend[b-z9g0dyufp7] {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 4px;
}

.legend-item[b-z9g0dyufp7] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--c-text-muted);
}

.legend-swatch[b-z9g0dyufp7] {
    width: 12px;
    height: 3px;
    border-radius: 2px;
}

/* Table View */
.forecast-table-wrapper[b-z9g0dyufp7] {
    overflow-x: auto;
    flex: 1;
}

.forecast-table[b-z9g0dyufp7] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-xs);
}

.forecast-table thead th[b-z9g0dyufp7] {
    text-align: right;
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--c-border);
}

.forecast-table thead th:first-child[b-z9g0dyufp7] { text-align: left; }

.forecast-table tbody tr[b-z9g0dyufp7] {
    border-bottom: 1px solid var(--c-border);
}

.forecast-table tbody tr:hover[b-z9g0dyufp7] {
    background: var(--c-surface);
}

.forecast-table tbody td[b-z9g0dyufp7] {
    padding: 5px 8px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.forecast-table tbody td:first-child[b-z9g0dyufp7] { text-align: left; }

.forecast-value[b-z9g0dyufp7] { font-weight: 500; }

.bounds[b-z9g0dyufp7] {
    color: var(--c-text-muted);
    font-size: 10px;
}
/* /Components/Workspaces/Objects/CurrencyOverviewObject.razor.rz.scp.css */
.currency-overview[b-7dmbslrn2g] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: system-ui, -apple-system, sans-serif;
}

.currency-loading[b-7dmbslrn2g], .currency-error[b-7dmbslrn2g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    color: var(--c-text-muted);
    font-size: var(--text-sm);
}

.loading-spinner[b-7dmbslrn2g] {
    width: 24px;
    height: 24px;
    border: 2px solid var(--c-border);
    border-top-color: var(--c-primary);
    border-radius: 50%;
    animation: spin-b-7dmbslrn2g 0.8s linear infinite;
}

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

.currency-error[b-7dmbslrn2g] {
    color: var(--c-danger);
}

.stale-warning[b-7dmbslrn2g] {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: var(--text-xs);
    color: var(--c-text-muted);
}

.currency-toolbar[b-7dmbslrn2g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 4px;
}

.view-mode-select[b-7dmbslrn2g] {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-size: var(--text-xs);
    padding: 3px 8px;
    cursor: pointer;
}

.view-mode-select:hover[b-7dmbslrn2g] { border-color: var(--c-primary); }

.data-source[b-7dmbslrn2g] {
    font-size: 10px;
    color: var(--c-text-muted);
    opacity: 0.6;
}

/* Table View */
.currency-table-wrapper[b-7dmbslrn2g] {
    overflow-x: auto;
    flex: 1;
}

.currency-table[b-7dmbslrn2g] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.currency-table thead th[b-7dmbslrn2g] {
    text-align: left;
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--c-border);
}

.currency-table tbody tr[b-7dmbslrn2g] {
    border-bottom: 1px solid var(--c-border);
    transition: background 0.15s;
}

.currency-table tbody tr:hover[b-7dmbslrn2g] {
    background: var(--c-surface);
}

.currency-table tbody td[b-7dmbslrn2g] {
    padding: 8px;
    white-space: nowrap;
}

.currency-cell[b-7dmbslrn2g] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-flag[b-7dmbslrn2g] {
    font-size: 16px;
    line-height: 1;
}

.currency-code[b-7dmbslrn2g] {
    font-weight: 600;
    font-size: var(--text-sm);
}

.currency-name[b-7dmbslrn2g] {
    color: var(--c-text-muted);
    font-size: var(--text-xs);
}

.rate-col[b-7dmbslrn2g] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.change-col[b-7dmbslrn2g] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.change-up[b-7dmbslrn2g] { color: #22c55e; }
.change-down[b-7dmbslrn2g] { color: #ef4444; }

.trend-col[b-7dmbslrn2g] { text-align: center; }

.trend-arrow[b-7dmbslrn2g] { display: inline-block; vertical-align: middle; }
.trend-up[b-7dmbslrn2g] { color: #22c55e; }
.trend-down[b-7dmbslrn2g] { color: #ef4444; }
.trend-flat[b-7dmbslrn2g] { color: var(--c-text-muted); font-size: 14px; }

/* Card View */
.currency-card-grid[b-7dmbslrn2g] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    flex: 1;
}

.currency-card[b-7dmbslrn2g] {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.15s;
}

.currency-card:hover[b-7dmbslrn2g] {
    border-color: var(--c-primary);
}

.card-header[b-7dmbslrn2g] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-rate[b-7dmbslrn2g] {
    font-size: var(--text-lg);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.card-change[b-7dmbslrn2g] {
    font-size: var(--text-xs);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* /Components/Workspaces/Objects/ScenarioComparisonObject.razor.rz.scp.css */
/*
 * SPEC-035: ScenarioComparison Workspace Object Styles
 * Follows SPEC-026 design system tokens.
 * Supports both light and dark mode (FR-029).
 */

/* ===== CSS Variables (Design Tokens) ===== */
.scenario-comparison-container[b-xdwa0nur93] {
    --baseline-color: #3b82f6;
    --conservative-color: #f59e0b;
    --optimistic-color: #10b981;
    --confidence-band-color: #3b82f6;
    --positive-color: #10b981;
    --negative-color: #ef4444;
    --neutral-color: #6b7280;
    --border-color: #e5e7eb;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dark mode support */
[b-xdwa0nur93] .dark .scenario-comparison-container,
.scenario-comparison-container.dark-mode[b-xdwa0nur93] {
    --baseline-color: #60a5fa;
    --conservative-color: #fbbf24;
    --optimistic-color: #34d399;
    --confidence-band-color: #60a5fa;
    --positive-color: #34d399;
    --negative-color: #f87171;
    --neutral-color: #9ca3af;
    --border-color: #374151;
    --bg-color: #1f2937;
    --bg-secondary: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .scenario-comparison-container[b-xdwa0nur93] {
        --baseline-color: #60a5fa;
        --conservative-color: #fbbf24;
        --optimistic-color: #34d399;
        --confidence-band-color: #60a5fa;
        --positive-color: #34d399;
        --negative-color: #f87171;
        --neutral-color: #9ca3af;
        --border-color: #374151;
        --bg-color: #1f2937;
        --bg-secondary: #111827;
        --text-primary: #f9fafb;
        --text-secondary: #9ca3af;
        --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
}

/* ===== Container ===== */
.scenario-comparison-container[b-xdwa0nur93] {
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 300px;
}

.scenario-comparison-container.has-error[b-xdwa0nur93] {
    border-color: var(--negative-color);
}

/* ===== Header ===== */
.scenario-comparison-header[b-xdwa0nur93] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.comparison-title[b-xdwa0nur93] {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.comparison-controls[b-xdwa0nur93] {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== Mode Selector (FR-009, FR-010, FR-011) ===== */
.mode-selector[b-xdwa0nur93] {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.mode-btn[b-xdwa0nur93] {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn:hover[b-xdwa0nur93] {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.mode-btn.selected[b-xdwa0nur93] {
    background: var(--baseline-color);
    color: white;
}

.mode-btn:not(:last-child)[b-xdwa0nur93] {
    border-right: 1px solid var(--border-color);
}

/* ===== Baseline Selector (FR-013) ===== */
.baseline-selector[b-xdwa0nur93] {
    display: flex;
    align-items: center;
}

.baseline-select[b-xdwa0nur93] {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
}

/* ===== Refresh Selector ===== */
.refresh-select[b-xdwa0nur93] {
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-color);
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
}

/* ===== Body ===== */
.scenario-comparison-body[b-xdwa0nur93] {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

/* ===== Loading State ===== */
.comparison-loading[b-xdwa0nur93] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    color: var(--text-secondary);
}

.loading-spinner[b-xdwa0nur93] {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--baseline-color);
    border-radius: 50%;
    animation: spin-b-xdwa0nur93 1s linear infinite;
}

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

/* ===== Error State ===== */
.comparison-error[b-xdwa0nur93] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    color: var(--negative-color);
}

.error-icon[b-xdwa0nur93] {
    font-size: 2rem;
}

.error-message[b-xdwa0nur93] {
    font-size: 0.9rem;
    text-align: center;
}

/* ===== No Data State ===== */
.comparison-no-data[b-xdwa0nur93] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== Side-by-Side Mode (FR-009) ===== */
.side-by-side-container[b-xdwa0nur93] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex: 1;
}

.scenario-panel[b-xdwa0nur93] {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
}

.scenario-panel.panel-baseline[b-xdwa0nur93] {
    border-color: var(--baseline-color);
}

.scenario-panel.panel-conservative[b-xdwa0nur93] {
    border-color: var(--conservative-color);
}

.scenario-panel.panel-optimistic[b-xdwa0nur93] {
    border-color: var(--optimistic-color);
}

.scenario-header[b-xdwa0nur93] {
    margin-bottom: 12px;
}

.scenario-name[b-xdwa0nur93] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.scenario-value[b-xdwa0nur93] {
    flex: 1;
    display: flex;
    align-items: center;
}

.value-amount[b-xdwa0nur93] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.scenario-methodology[b-xdwa0nur93] {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== Overlay Mode (FR-010) ===== */
.overlay-container[b-xdwa0nur93] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.overlay-chart[b-xdwa0nur93] {
    flex: 1;
    width: 100%;
    min-height: 200px;
}

.confidence-band[b-xdwa0nur93] {
    opacity: 0.2;
}

.scenario-line[b-xdwa0nur93] {
    stroke-linejoin: round;
    stroke-linecap: round;
}

.baseline-line[b-xdwa0nur93] {
    stroke: var(--baseline-color);
}

.conservative-line[b-xdwa0nur93] {
    stroke: var(--conservative-color);
}

.optimistic-line[b-xdwa0nur93] {
    stroke: var(--optimistic-color);
}

.overlay-legend[b-xdwa0nur93] {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 12px 0;
}

.legend-item[b-xdwa0nur93] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-line[b-xdwa0nur93] {
    width: 20px;
    height: 2px;
    background: var(--baseline-color);
}

.legend-item.conservative .legend-line[b-xdwa0nur93] {
    background: var(--conservative-color);
}

.legend-item.optimistic .legend-line[b-xdwa0nur93] {
    background: var(--optimistic-color);
}

.legend-line.dashed[b-xdwa0nur93] {
    background: linear-gradient(90deg, var(--conservative-color) 60%, transparent 60%);
    background-size: 8px 2px;
}

.legend-line.dotted[b-xdwa0nur93] {
    background: linear-gradient(90deg, var(--optimistic-color) 40%, transparent 40%);
    background-size: 6px 2px;
}

.overlay-placeholder[b-xdwa0nur93] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== Delta View Mode (FR-011, FR-028) ===== */
.delta-view-container[b-xdwa0nur93] {
    flex: 1;
    overflow-x: auto;
}

.delta-table[b-xdwa0nur93] {
    width: 100%;
    border-collapse: collapse;
}

.delta-table th[b-xdwa0nur93],
.delta-table td[b-xdwa0nur93] {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.delta-table th[b-xdwa0nur93] {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.delta-table td[b-xdwa0nur93] {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.delta-table .baseline-row[b-xdwa0nur93] {
    background: var(--bg-secondary);
}

.delta-table .scenario-name[b-xdwa0nur93] {
    font-weight: 500;
}

.delta-table .scenario-value[b-xdwa0nur93] {
    font-family: monospace;
}

/* Delta indicators (FR-028) */
.delta-positive[b-xdwa0nur93] {
    color: var(--positive-color) !important;
    font-weight: 600;
}

.delta-negative[b-xdwa0nur93] {
    color: var(--negative-color) !important;
    font-weight: 600;
}

.delta-zero[b-xdwa0nur93] {
    color: var(--neutral-color);
}

.delta-absolute[b-xdwa0nur93],
.delta-percentage[b-xdwa0nur93] {
    font-family: monospace;
    text-align: right;
}

/* ===== Footer ===== */
.scenario-comparison-footer[b-xdwa0nur93] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.confidence-note[b-xdwa0nur93] {
    font-style: italic;
}

.last-refresh[b-xdwa0nur93] {
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .side-by-side-container[b-xdwa0nur93] {
        grid-template-columns: 1fr;
    }

    .comparison-controls[b-xdwa0nur93] {
        flex-wrap: wrap;
        gap: 8px;
    }

    .scenario-comparison-header[b-xdwa0nur93] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
/* /Components/Workspaces/ShareModal.razor.rz.scp.css */
/*
ShareModal Styles - Design System Overhaul (SPEC-026)
Modern modal with glassmorphism backdrop and smooth animations
*/

/* Modal Backdrop */
.modal-backdrop[b-42sn3x77ap] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsl(var(--modal-backdrop) / 0.8);
    z-index: 1040;
    animation: fade-in var(--duration-normal) var(--ease-out) both;
}

@supports (backdrop-filter: blur(1px)) {
    .modal-backdrop[b-42sn3x77ap] {
        backdrop-filter: blur(var(--modal-backdrop-blur));
    }
}

/* Modal Container */
.share-modal[b-42sn3x77ap] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: hsl(var(--modal-bg));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--modal-border-radius);
    box-shadow: var(--modal-shadow);
    z-index: 1050;
    animation: modal-enter var(--modal-animation-duration) var(--ease-out) both;
}

/* Modal Header */
.share-modal-header[b-42sn3x77ap] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--modal-padding);
    border-bottom: 1px solid hsl(var(--c-border));
}

.share-modal-header h3[b-42sn3x77ap] {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text));
}

/* Close Button */
.btn-close[b-42sn3x77ap] {
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: hsl(var(--c-text-muted));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease-out;
}

.btn-close:hover[b-42sn3x77ap] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

.btn-close[b-42sn3x77ap]::before {
    content: "\2715";
    font-size: var(--font-size-lg);
}

/* Modal Body */
.share-modal-body[b-42sn3x77ap] {
    padding: var(--modal-padding);
    max-height: 60vh;
    overflow-y: auto;
}

/* Custom Scrollbar for Modal Body */
.share-modal-body[b-42sn3x77ap]::-webkit-scrollbar {
    width: 6px;
}

.share-modal-body[b-42sn3x77ap]::-webkit-scrollbar-track {
    background: transparent;
}

.share-modal-body[b-42sn3x77ap]::-webkit-scrollbar-thumb {
    background: hsl(var(--c-border));
    border-radius: var(--radius-full);
}

.share-modal-body[b-42sn3x77ap]::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--c-border-strong));
}

/* Modal Footer */
.share-modal-footer[b-42sn3x77ap] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--modal-padding);
    border-top: 1px solid hsl(var(--c-border));
}

/* Tab Navigation */
[b-42sn3x77ap] .nav-tabs {
    border-bottom: 1px solid hsl(var(--c-border));
}

[b-42sn3x77ap] .nav-tabs .nav-link {
    color: hsl(var(--c-text-muted));
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
    cursor: pointer;
}

[b-42sn3x77ap] .nav-tabs .nav-link:hover {
    color: hsl(var(--c-text));
    border-bottom-color: hsl(var(--c-border-strong));
}

[b-42sn3x77ap] .nav-tabs .nav-link.active {
    color: hsl(var(--c-primary));
    background: transparent;
    border-bottom-color: hsl(var(--c-primary));
}

/* Form Elements */
[b-42sn3x77ap] .form-label {
    color: hsl(var(--c-text));
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
}

[b-42sn3x77ap] .form-control,
[b-42sn3x77ap] .form-select {
    background: hsl(var(--input-bg));
    border: 1px solid hsl(var(--input-border));
    border-radius: var(--input-border-radius);
    color: hsl(var(--c-text));
    padding: var(--input-padding-y) var(--input-padding-x);
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}

[b-42sn3x77ap] .form-control:focus,
[b-42sn3x77ap] .form-select:focus {
    border-color: hsl(var(--input-border-focus));
    box-shadow: 0 0 0 3px hsl(var(--input-glow) / 0.4);
    outline: none;
}

[b-42sn3x77ap] .form-control::placeholder {
    color: hsl(var(--c-text-muted));
}

[b-42sn3x77ap] .form-text {
    color: hsl(var(--c-text-subtle));
    font-size: var(--font-size-xs);
    margin-top: var(--space-1);
}

/* Input Group */
[b-42sn3x77ap] .input-group {
    display: flex;
    gap: 0;
}

[b-42sn3x77ap] .input-group .form-control:not(:last-child),
[b-42sn3x77ap] .input-group .form-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

[b-42sn3x77ap] .input-group .form-control:not(:first-child),
[b-42sn3x77ap] .input-group .form-select:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

[b-42sn3x77ap] .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Buttons */
[b-42sn3x77ap] .btn-primary {
    background: hsl(var(--btn-bg));
    border: none;
    color: hsl(var(--btn-text));
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-family: var(--font-body);
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
    cursor: pointer;
}

[b-42sn3x77ap] .btn-primary:hover:not(:disabled) {
    background: hsl(var(--btn-bg-hover));
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

[b-42sn3x77ap] .btn-secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid hsl(var(--btn-secondary-border));
    color: hsl(var(--btn-secondary-text));
    border-radius: var(--btn-border-radius);
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-family: var(--font-body);
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
    cursor: pointer;
}

[b-42sn3x77ap] .btn-secondary:hover {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

[b-42sn3x77ap] .btn-outline-secondary,
[b-42sn3x77ap] .btn-outline-danger {
    background: transparent;
    border-radius: var(--radius-md);
    padding: var(--space-1) var(--space-2);
    font-size: var(--font-size-sm);
    transition: all 150ms ease-out;
    cursor: pointer;
}

[b-42sn3x77ap] .btn-outline-secondary {
    border: 1px solid hsl(var(--c-border));
    color: hsl(var(--c-text-muted));
}

[b-42sn3x77ap] .btn-outline-secondary:hover {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-text));
}

[b-42sn3x77ap] .btn-outline-danger {
    border: 1px solid hsl(var(--c-danger) / 0.5);
    color: hsl(var(--c-danger));
}

[b-42sn3x77ap] .btn-outline-danger:hover {
    background: hsl(var(--c-danger) / 0.1);
    border-color: hsl(var(--c-danger));
}

/* List Group */
[b-42sn3x77ap] .list-group {
    border-radius: var(--radius-md);
    overflow: hidden;
}

[b-42sn3x77ap] .list-group-item {
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    color: hsl(var(--c-text));
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
}

[b-42sn3x77ap] .list-group-item:first-child {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

[b-42sn3x77ap] .list-group-item:last-child {
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

[b-42sn3x77ap] .list-group-item + .list-group-item {
    border-top: none;
}

/* Badges */
[b-42sn3x77ap] .badge {
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xs);
    padding: var(--space-0-5) var(--space-2);
    border-radius: var(--radius-full);
}

[b-42sn3x77ap] .badge.bg-warning {
    background: hsl(var(--c-warning)) !important;
    color: hsl(220 15% 10%);
}

[b-42sn3x77ap] .badge.bg-success {
    background: hsl(var(--c-success)) !important;
    color: hsl(var(--c-text-inverse));
}

[b-42sn3x77ap] .badge.bg-secondary {
    background: hsl(var(--c-surface-3)) !important;
    color: hsl(var(--c-text-muted));
}

[b-42sn3x77ap] .badge.bg-danger {
    background: hsl(var(--c-danger)) !important;
    color: hsl(var(--c-text-inverse));
}

/* Alerts */
[b-42sn3x77ap] .alert {
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
}

[b-42sn3x77ap] .alert-success {
    background: hsl(var(--c-success) / 0.1);
    border: 1px solid hsl(var(--c-success) / 0.3);
    color: hsl(var(--c-success));
}

[b-42sn3x77ap] .alert-danger {
    background: hsl(var(--c-danger) / 0.1);
    border: 1px solid hsl(var(--c-danger) / 0.3);
    color: hsl(var(--c-danger));
}

/* Headings in Modal */
[b-42sn3x77ap] h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    color: hsl(var(--c-text));
    margin-bottom: var(--space-3);
}

/* HR in Modal */
[b-42sn3x77ap] hr {
    border-color: hsl(var(--c-border));
    margin: var(--space-4) 0;
}

/* Spinner */
[b-42sn3x77ap] .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    border-color: currentColor;
    border-right-color: transparent;
}
/* /Components/Workspaces/WorkspacesList.razor.rz.scp.css */
.share-badge-wrapper[b-q6cw915x8r] {
    position: relative;
    cursor: pointer;
}

.share-tooltip[b-q6cw915x8r] {
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: var(--space-1);
    min-width: 220px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* delay hide so cursor can travel to the tooltip */
    transition: opacity var(--duration-fast) var(--ease-out),
                visibility 0s linear 0.25s;
}

.share-tooltip-inner[b-q6cw915x8r] {
    background: hsl(var(--c-surface));
    border: 1px solid hsl(var(--c-border));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-1) 0;
}

.share-badge-wrapper:hover .share-tooltip[b-q6cw915x8r] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--duration-fast) var(--ease-out),
                visibility 0s linear 0s;
}

.share-tooltip-header[b-q6cw915x8r] {
    padding: var(--space-1) var(--space-3) var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: hsl(var(--c-text-muted));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid hsl(var(--c-border));
    margin-bottom: var(--space-1);
}

.share-tooltip-item[b-q6cw915x8r] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    color: hsl(var(--c-text));
    text-decoration: none;
    cursor: pointer;
    transition: background var(--duration-instant) var(--ease-out);
}

.share-tooltip-item:hover[b-q6cw915x8r] {
    background: hsl(var(--c-surface-2));
    color: hsl(var(--c-primary));
}

.share-tooltip-item i[b-q6cw915x8r] {
    color: hsl(var(--c-info));
    font-size: var(--font-size-sm);
}
/* /Components/Workspaces/WorkspaceViewSidebar.razor.rz.scp.css */
/* SPEC-053: WorkspaceViewSidebar styles */

.workspace-view-sidebar[b-yq4c7h62v1] {
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    background: hsl(var(--c-surface));
    border-right: 1px solid hsl(var(--c-border));
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    animation: slide-in-right var(--duration-normal) var(--ease-out) both;
}

.wvs-header[b-yq4c7h62v1] {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid hsl(var(--c-border));
}

.wvs-title[b-yq4c7h62v1] {
    margin: 0;
    font-size: var(--text-sm);
    font-weight: 600;
    color: hsl(var(--c-text-muted));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wvs-list[b-yq4c7h62v1] {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-2) 0;
}

.wvs-empty[b-yq4c7h62v1] {
    padding: var(--space-4);
    text-align: center;
    color: hsl(var(--c-text-muted));
    font-size: var(--text-sm);
}

.wvs-item[b-yq4c7h62v1] {
    display: flex;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    cursor: pointer;
    transition: background-color 150ms ease-out, opacity 150ms ease-out;
    border-left: 3px solid transparent;
    gap: var(--space-2);
}

/* Drag handle */
.wvs-drag-handle[b-yq4c7h62v1] {
    color: hsl(var(--c-text-subtle));
    font-size: var(--text-xs);
    cursor: grab;
    opacity: 0;
    transition: opacity 150ms ease-out;
    flex-shrink: 0;
    user-select: none;
}

.wvs-item:hover .wvs-drag-handle[b-yq4c7h62v1] {
    opacity: 1;
}

/* Drag states */
.wvs-item.dragging[b-yq4c7h62v1] {
    opacity: 0.4;
}

.wvs-item.drag-over[b-yq4c7h62v1] {
    border-top: 2px solid hsl(var(--c-primary));
}

.wvs-item:hover[b-yq4c7h62v1] {
    background: hsl(var(--c-surface-2));
}

.wvs-item.active[b-yq4c7h62v1] {
    background: hsl(var(--c-primary) / 0.1);
    color: hsl(var(--c-primary));
    border-left-color: hsl(var(--c-primary));
}

.wvs-item.deactivated .wvs-item-name[b-yq4c7h62v1] {
    opacity: 0.5;
    text-decoration: line-through;
}

.wvs-item-name[b-yq4c7h62v1] {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: hsl(var(--c-text));
}

.wvs-item.active .wvs-item-name[b-yq4c7h62v1] {
    color: hsl(var(--c-primary));
}

.wvs-toggle[b-yq4c7h62v1] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: var(--space-1);
    cursor: pointer;
    color: hsl(var(--c-text-muted));
    border-radius: var(--radius-sm);
    transition: color 150ms ease-out, background-color 150ms ease-out;
    flex-shrink: 0;
}

.wvs-toggle:hover[b-yq4c7h62v1] {
    background: hsl(var(--c-surface-2));
}

.wvs-toggle.active[b-yq4c7h62v1] {
    color: hsl(var(--c-primary));
}

.wvs-toggle:not(.active)[b-yq4c7h62v1] {
    color: hsl(var(--c-text-subtle));
}
