@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.b6pgxrrsua.bundle.scp.css';

/* _content/ControlCentre.Web/Components/ActionsCell.razor.rz.scp.css */
/* ===== ACTIONS CELL COMPONENT STYLES ===== */

.grid-actions-container[b-r0xijvvpym] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: flex-end;
    width: 100%;
}

/* ===== DESKTOP LAYOUT (default) ===== */
.desktop-actions[b-r0xijvvpym] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mobile-actions[b-r0xijvvpym] {
    display: none;
}

/* Primary action buttons - desktop */
.grid-primary-action[b-r0xijvvpym] {
    padding: 0.375rem !important;
    min-width: auto !important;
    flex-shrink: 0;
    background: var(--neutral-fill-stealth-hover) !important;
}

.grid-primary-action:hover[b-r0xijvvpym] {
    background: var(--neutral-fill-stealth-pressed) !important;
}

/* Secondary actions dropdown trigger - desktop */
.grid-secondary-trigger[b-r0xijvvpym] {
    padding: 0.375rem !important;
    min-width: auto !important;
    flex-shrink: 0;
    opacity: 0.8;
}

.grid-secondary-trigger:hover[b-r0xijvvpym] {
    opacity: 1;
}

/* ===== MOBILE LAYOUT ===== */
@media (max-width: 640px) {
    /* Hide desktop layout */
    .desktop-actions[b-r0xijvvpym] {
        display: none !important;
    }
    
    /* Show mobile layout */
    .mobile-actions[b-r0xijvvpym] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    /* Mobile trigger button - compact and centered */
    .grid-mobile-trigger[b-r0xijvvpym] {
        padding: 0.25rem !important;
        min-width: auto !important;
        flex-shrink: 0;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Mobile popover positioning */
    .mobile-popover[b-r0xijvvpym] {
        --popover-max-width: 200px;
    }
    
    /* Ensure mobile actions container is compact */
    .grid-actions-container[b-r0xijvvpym] {
        max-width: 40px !important;
        min-width: 40px !important;
        justify-content: center !important;
    }
}

/* ===== SHARED POPOVER STYLES ===== */

/* Popover content wrapper with smooth transitions */
.popover-content[b-r0xijvvpym] {
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    transform-origin: top center;
}

/* Initial hidden state - prevents flicker */
.popover-hidden[b-r0xijvvpym] {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    visibility: hidden;
}

/* Visible state - smooth fade in */
.popover-visible[b-r0xijvvpym] {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

/* Menu item styling */
.grid-secondary-item[b-r0xijvvpym] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-height: auto;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background-color 0.1s ease-in-out;
}

.grid-secondary-item:hover[b-r0xijvvpym] {
    background-color: var(--neutral-fill-secondary-hover);
}

/* Ensure the popover itself has proper styling */
.grid-actions-popover[b-r0xijvvpym] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    border: 1px solid var(--neutral-stroke-rest);
    z-index: 1000;
    overflow: hidden; /* Prevents content from bleeding during transitions */
}

/* Reduce flickering by ensuring popover body has proper initial state */
.grid-actions-popover fluent-popover-body[b-r0xijvvpym] {
    padding: 0;
    overflow: hidden;
}

/* Ensure smooth appearance */
fluent-popover[data-anchor-id*="actions-trigger"][b-r0xijvvpym] {
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

fluent-popover[data-anchor-id*="actions-trigger"][open][b-r0xijvvpym] {
    opacity: 1;
}

/* 
=== MOBILE-FIRST ACTION LAYOUT ===

Desktop (> 640px):
- Primary actions as individual buttons
- Secondary actions in dropdown menu
- Full-width action container

Mobile (? 640px):  
- Single compact menu button (32px)
- ALL actions in dropdown menu
- Fixed 0.5 grid column width
- No action labels, icon only

FluentUI's VerticalPosition.Unset provides automatic intelligent 
positioning that prevents popover cutoff without custom code.
/* _content/ControlCentre.Web/Components/CollectionEditing/CollectionEditor.razor.rz.scp.css */
/* ===== COLLECTION EDITOR LAYOUT ===== */

.collection-editor[b-38a5328ktf] {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.collection-editor[b-38a5328ktf]  table {
    flex-grow: 0;
}

.collection-editor[b-38a5328ktf]  .paginator {
    margin-top: auto;
    padding-top: 2rem;
}

/* ===== FLUENT DATA GRID GLOBAL STYLES ===== */

fluent-data-grid[b-38a5328ktf] {
    overflow-y: auto;
}

/* ===== PRIORITY-BASED GRID ACTIONS ===== */

.grid-actions-container[b-38a5328ktf] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: flex-end;
}

/* Style the ActionsCell component within the data grid */
fluent-data-grid .grid-actions-container fluent-button[b-38a5328ktf] {
    min-width: auto;
}

/* Ensure popovers have proper z-index within data grids */
fluent-data-grid fluent-popover[b-38a5328ktf] {
    z-index: 1100;
}

/* ===== MOBILE OPTIMIZATIONS (CollectionEditor specific) ===== */
@media (max-width: 640px) {
    /* Force mobile grid template and reset column positioning */
    [b-38a5328ktf] .fluent-data-grid {
        grid-template-columns: var(--mobile-grid-template) !important;
    }

    /* Hide columns marked as mobile-hidden */
    [b-38a5328ktf] .fluent-data-grid .grid-hide-mobile,
    [b-38a5328ktf] .fluent-data-grid tbody .grid-hide-mobile,
    [b-38a5328ktf] .fluent-data-grid thead .grid-hide-mobile,
    [b-38a5328ktf] fluent-data-grid .grid-hide-mobile,
    [b-38a5328ktf] fluent-data-grid-row .grid-hide-mobile,
    [b-38a5328ktf] fluent-data-grid-cell.grid-hide-mobile {
        display: none;
        visibility: hidden;
    }

    /* Hide actions column title on mobile */
    [b-38a5328ktf] .fluent-data-grid thead th.actions-column,
    [b-38a5328ktf] .fluent-data-grid .actions-column[role="columnheader"] {
        font-size: 0;
        line-height: 0;
        height: 0;
        padding: 0;
        border: none;
    }  

    /* CRITICAL: Reset grid-column positioning for ALL visible elements (except empty-content-cell) */
    [b-38a5328ktf] .fluent-data-grid > thead th:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] .fluent-data-grid > tbody td:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] .fluent-data-grid th:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] .fluent-data-grid td:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] fluent-data-grid > thead th:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] fluent-data-grid > tbody td:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] fluent-data-grid-row fluent-data-grid-cell:not(.grid-hide-mobile):not(.empty-content-cell) {
        grid-column: auto !important;
        grid-column-start: auto;
        grid-column-end: auto;
    }

    /* Reset grid margins and padding for mobile */
    [b-38a5328ktf] .fluent-grid {
        margin: 0px;
    }

    [b-38a5328ktf] .fluent-grid > div {
        padding: 0px;
        flex-grow: 1;
    }

    /* Additional FluentUI override for data grid cells */
    [b-38a5328ktf] fluent-data-grid-row .grid-hide-mobile,
    [b-38a5328ktf] fluent-data-grid-cell.grid-hide-mobile {
        display: none;
    }

    /* Ensure all visible cells flow naturally with comprehensive selectors (except empty-content-cell) */
    [b-38a5328ktf] fluent-data-grid-row fluent-data-grid-cell:not(.grid-hide-mobile):not(.empty-content-cell),
    [b-38a5328ktf] fluent-data-grid fluent-data-grid-row fluent-data-grid-cell:not(.grid-hide-mobile):not(.empty-content-cell) {
        grid-column: auto;
        grid-column-start: auto;
        grid-column-end: auto;
    }

    /* Optimize ActionsCell for mobile layout (no manual sizing - controlled by grid template) */
    [b-38a5328ktf] .grid-actions-container {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    /* Force grid to reflow by resetting any explicit positioning (except empty-content-cell) */
    [b-38a5328ktf] .fluent-data-grid [style*="grid-column"]:not(.empty-content-cell) {
        grid-column: auto;
    }

    /* Mobile typography optimizations */
    [b-38a5328ktf] td {
        font-size: 12px;
    }

    /* Remove padding from actions cell on mobile */
    [b-38a5328ktf] td:has(.grid-actions-container) {
        padding: 0;
    }
}
/* _content/ControlCentre.Web/Components/CollectionEditing/CollectionEditorHeader.razor.rz.scp.css */
.collection-editor-header[b-f84z3ut00u] {
    justify-content: left;
    gap: 0.75rem;
    display: flex;
    align-items: center;
}

.grid-header[b-f84z3ut00u] {
    display: flex;
    flex-direction: column;
    height: 4rem;
    border-bottom: calc(var(--stroke-width)* 1px) solid var(--neutral-stroke-divider-rest);
}

.grid-controls[b-f84z3ut00u] {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* compact spacing between action buttons */
}

/* Push the search field to the far right creating large space between previous buttons and search */
.grid-controls[b-f84z3ut00u]  fluent-search { margin-left: auto;}
/* _content/ControlCentre.Web/Components/CollectionEditing/CollectionEditorSynchronizer.razor.rz.scp.css */
.collection-editor-synchronizer[b-tzjffhbr7m] {
    height: 100%;
    display: inherit;
    flex-grow: 1;
}

    .collection-editor-synchronizer[b-tzjffhbr7m] >  div {
        height: 100%;
        display: inherit;
        flex-grow: 1;
    }

    .collection-editor-synchronizer[b-tzjffhbr7m] >  div > .fluent-grid > div {
        display: flex;
        padding: 0;
    }

    .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid {
        width: unset;
        flex-grow: 1;
        margin: 0;
        row-gap: 3rem;
        column-gap: 3rem;
    }

    .collection-editor-synchronizer > div[b-tzjffhbr7m] {
        display: inherit;
        flex-grow: 1;
    }

    .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid div[lg="6"],
    .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid div[sm="6"],
    .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid div[md="6"] {
        flex-basis: calc(50% - 1.5rem);
    }

    .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid[spacing="3"] > div,
    .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid[spacing="2"] > div {
        padding: 0;
    }

    @media (max-width: 640px) {
        .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid {
        row-gap: 2rem;
    }

        .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid div[lg="12"],
        .collection-editor-synchronizer[b-tzjffhbr7m]  .fluent-grid div[lg="6"] {
            flex-basis: 100%;
        }

}
/* _content/ControlCentre.Web/Components/Deviations/BreakdownBarChart.razor.rz.scp.css */
/* ===== BREAKDOWN BAR CHART ===== */
.breakdown-chart[b-vxdkdemidr] {
    width: 100%;
}

.breakdown-chart .bars[b-vxdkdemidr] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-chart .bar[b-vxdkdemidr] {
    position: relative;
    height: 32px;
    background: var(--neutral-fill-stealth-rest);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border: 1px solid transparent;
}

    .breakdown-chart .bar:hover[b-vxdkdemidr] {
        background: var(--neutral-fill-stealth-hover);
        border-color: var(--neutral-layer-4);
    }

.breakdown-chart .bar-fill[b-vxdkdemidr] {
    position: absolute;
    inset: 0;
    width: var(--w);
    background: linear-gradient(90deg, 
        rgba(8, 74, 217, 0.15) 0%, 
        rgba(8, 74, 217, 0.08) 100%);
    transition: opacity 0.15s ease;
}

.breakdown-chart .bar:hover .bar-fill[b-vxdkdemidr] {
    opacity: 1.2;
}

.breakdown-chart .bar-label[b-vxdkdemidr] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neutral-foreground-rest);
    z-index: 1;
}

.breakdown-chart .bar-value[b-vxdkdemidr] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neutral-foreground-hover);
    font-variant-numeric: tabular-nums;
    z-index: 1;
}

/* ===== CHART STATE ===== */
.chart-state[b-vxdkdemidr] {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-fill-inverse-rest);
    font-size: 0.9rem;
}

    .chart-state.error[b-vxdkdemidr] {
        color: #b32121;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .breakdown-chart .bar[b-vxdkdemidr] {
        height: 36px;
    }

    .breakdown-chart .bar-label[b-vxdkdemidr],
    .breakdown-chart .bar-value[b-vxdkdemidr] {
        font-size: 0.8rem;
    }

    .breakdown-chart .bar-label[b-vxdkdemidr] {
        left: 0.5rem;
    }

    .breakdown-chart .bar-value[b-vxdkdemidr] {
        right: 0.5rem;
    }
}
/* _content/ControlCentre.Web/Components/Deviations/DeviationsDashboard.razor.rz.scp.css */
/* Deviations Dashboard � aligned with ControlCentre design system */

/* ===== MAIN CONTAINER ===== */
.segment-card[b-eqt91r3mxs] {
    box-sizing: content-box;
    display: flex;
    flex-grow: 1;
}

    .segment-card:not(.fluent-dialog-body, .segment-card .segment-card)[b-eqt91r3mxs] {
        border: solid 1px #f1f1f1;
        padding: 2rem;
        box-shadow: 1px 2px 10px rgba(0, 0, 0, .1);
    }

.dashboard[b-eqt91r3mxs] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== FILTERS SECTION ===== */
.filters[b-eqt91r3mxs] {
    display: grid;
    grid-template-columns: repeat(6, minmax(160px, 1fr));
    gap: 1rem;
    align-items: end;
    padding: 1.5rem;
    background: var(--neutral-fill-stealth-rest);
    border-radius: 0;
    border: none;
}

.filter[b-eqt91r3mxs] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter label[b-eqt91r3mxs] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neutral-foreground-rest);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
    display: block;
}

.filter.search[b-eqt91r3mxs] {
    grid-column: span 2;
}

.filter.sla[b-eqt91r3mxs] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
}

    .filter.sla label[b-eqt91r3mxs] {
        margin: 0;
        order: 2;
    }

.actions[b-eqt91r3mxs] {
    display: flex;
    gap: 0.75rem;
    align-items: end;
    padding-bottom: 0.25rem;
}

/* ===== KPI CARDS ===== */
.kpi-row[b-eqt91r3mxs] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.kpi-card[b-eqt91r3mxs] {
    flex: 1;
    min-width: 11rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--neutral-layer-4);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

    .kpi-card:hover[b-eqt91r3mxs] {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    }

.kpi-title[b-eqt91r3mxs] {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--neutral-fill-inverse-rest);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.kpi-value[b-eqt91r3mxs] {
    font-size: 2rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* ===== CHART CONTAINERS ===== */
.chart-row[b-eqt91r3mxs],
.breakdowns-row[b-eqt91r3mxs] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-card[b-eqt91r3mxs],
.breakdown-card[b-eqt91r3mxs] {
    padding: 1.5rem;
    border: 1px solid var(--neutral-layer-4);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breakdowns-row[b-eqt91r3mxs] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.chart-placeholder[b-eqt91r3mxs] {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-fill-inverse-rest);
    font-size: 0.9rem;
}

.breakdown-card .chart-placeholder[b-eqt91r3mxs] {
    height: 240px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet (?820px) */
@media (max-width: 820px) {
    .filters[b-eqt91r3mxs] {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .filter.search[b-eqt91r3mxs] {
        grid-column: span 2;
    }

    .breakdowns-row[b-eqt91r3mxs] {
        grid-template-columns: 1fr;
    }

    .kpi-row[b-eqt91r3mxs] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (?640px) */
@media (max-width: 640px) {
    .segment-card:not(.fluent-dialog-body, .segment-card .segment-card)[b-eqt91r3mxs] {
        border: none;
        box-shadow: unset;
        padding: 1rem 0;
    }

    .dashboard[b-eqt91r3mxs] {
        gap: 1rem;
    }

    .filters[b-eqt91r3mxs] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 0;
    }

    .filter.search[b-eqt91r3mxs] {
        grid-column: span 1;
    }

    .filter label[b-eqt91r3mxs] {
        font-size: 0.75rem;
    }

    .filter.sla[b-eqt91r3mxs] {
        padding-top: 0;
    }

    .actions[b-eqt91r3mxs] {
        width: 100%;
    }

        .actions > *[b-eqt91r3mxs] {
            flex: 1;
        }

    .kpi-row[b-eqt91r3mxs] {
        gap: 0.75rem;
    }

    .kpi-card[b-eqt91r3mxs] {
        min-width: calc(50% - 0.375rem);
        padding: 1rem;
    }

    .kpi-title[b-eqt91r3mxs] {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }

    .kpi-value[b-eqt91r3mxs] {
        font-size: 1.5rem;
    }

    .chart-card[b-eqt91r3mxs],
    .breakdown-card[b-eqt91r3mxs] {
        padding: 1rem;
    }
}
/* _content/ControlCentre.Web/Components/Dialogs/ChangesComparisonDialog.razor.rz.scp.css */
/* Version History Dialog Layout */
.version-history-content[b-o8alc56ax9] {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 70vh;
    gap: 16px;
}

.summary-header[b-o8alc56ax9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.summary-info[b-o8alc56ax9] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #334155;
}

.summary-text[b-o8alc56ax9] {
    font-size: 14px;
}

.legend[b-o8alc56ax9] {
    display: flex;
    gap: 20px;
}

.legend-item[b-o8alc56ax9] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}

.legend-dot[b-o8alc56ax9] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-item.added .legend-dot[b-o8alc56ax9] {
    background: #10b981;
}

.legend-item.modified .legend-dot[b-o8alc56ax9] {
    background: #f59e0b;
}

.legend-item.removed .legend-dot[b-o8alc56ax9] {
    background: #ef4444;
}

/* Section Headers */
.section-header[b-o8alc56ax9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 8px 20px;
    font-weight: 600;
    color: #1e293b;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.collection-count[b-o8alc56ax9] {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-left: 4px;
}

/* Extension Sections */
.extension-section[b-o8alc56ax9] {
    border-left: 3px solid #3b82f6;
    margin: 8px 0;
    background: #fafbfc;
}

.extension-header[b-o8alc56ax9] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.extension-name[b-o8alc56ax9] {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.extension-operation[b-o8alc56ax9] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 12px;
}

.extension-operation.created[b-o8alc56ax9] {
    background: #dcfce7;
    color: #166534;
}

.extension-operation.updated[b-o8alc56ax9] {
    background: #fef3c7;
    color: #92400e;
}

.extension-operation.deleted[b-o8alc56ax9] {
    background: #fee2e2;
    color: #991b1b;
}

.extension-changes[b-o8alc56ax9] {
    margin-left: 0;
    background: white;
}

/* Collection Changes */
.collection-changes[b-o8alc56ax9] {
    background: white;
}

.collection-item[b-o8alc56ax9] {
    border-bottom: 1px solid #f1f5f9;
}

.nested-changes[b-o8alc56ax9] {
    padding: 8px 20px 12px 40px;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
}

.nested-change-row[b-o8alc56ax9] {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.nested-change-row:last-child[b-o8alc56ax9] {
    border-bottom: none;
}

.field-values.compact[b-o8alc56ax9] {
    padding: 0;
}

.value-container.small[b-o8alc56ax9] {
    min-height: 28px;
}

.value-container.small .value-text[b-o8alc56ax9] {
    padding: 4px 8px;
    font-size: 12px;
}

.arrow-icon.small[b-o8alc56ax9] {
    font-size: 12px;
}

/* Changes List */
.changes-list[b-o8alc56ax9] {
    max-height: 60vh;
    overflow-y: auto;
}

.change-row[b-o8alc56ax9] {
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.change-row:last-child[b-o8alc56ax9] {
    border-bottom: none;
}

.change-row.added[b-o8alc56ax9] {
    background: linear-gradient(90deg, #10b981 0px, #10b981 3px, transparent 3px);
}

.change-row.modified[b-o8alc56ax9] {
    background: linear-gradient(90deg, #f59e0b 0px, #f59e0b 3px, transparent 3px);
}

.change-row.removed[b-o8alc56ax9] {
    background: linear-gradient(90deg, #ef4444 0px, #ef4444 3px, transparent 3px);
}

.field-header[b-o8alc56ax9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 8px 20px;
}

.field-info[b-o8alc56ax9] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.change-indicator[b-o8alc56ax9] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.change-indicator.added[b-o8alc56ax9] {
    background: #10b981;
}

.change-indicator.modified[b-o8alc56ax9] {
    background: #f59e0b;
}

.change-indicator.removed[b-o8alc56ax9] {
    background: #ef4444;
}

.field-name[b-o8alc56ax9] {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.change-type[b-o8alc56ax9] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 12px;
}

.change-type.added[b-o8alc56ax9] {
    background: #dcfce7;
    color: #166534;
}

.change-type.modified[b-o8alc56ax9] {
    background: #fef3c7;
    color: #92400e;
}

.change-type.removed[b-o8alc56ax9] {
    background: #fee2e2;
    color: #991b1b;
}

.field-values[b-o8alc56ax9] {
    padding: 0 20px 12px 20px;
}

.value-comparison[b-o8alc56ax9] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.value-container[b-o8alc56ax9] {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.value-container.old[b-o8alc56ax9] {
    border-color: #fca5a5;
    background: #fef2f2;
}

.value-container.new[b-o8alc56ax9] {
    border-color: #86efac;
    background: #f0fdf4;
}

.value-single[b-o8alc56ax9] {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.value-single.old[b-o8alc56ax9] {
    border-color: #fca5a5;
    background: #fef2f2;
}

.value-single.new[b-o8alc56ax9] {
    border-color: #86efac;
    background: #f0fdf4;
}

.value-text[b-o8alc56ax9] {
    padding: 8px 12px;
    font-family: 'SF Mono', 'Monaco', 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
    color: #374151;
    width: 100%;
}

.value-container.old .value-text[b-o8alc56ax9],
.value-single.old .value-text[b-o8alc56ax9] {
    color: #dc2626;
}

.value-container.new .value-text[b-o8alc56ax9],
.value-single.new .value-text[b-o8alc56ax9] {
    color: #059669;
}

.arrow-icon[b-o8alc56ax9] {
    color: #9ca3af;
    flex-shrink: 0;
}

.no-changes[b-o8alc56ax9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    gap: 16px;
}

.no-changes-text h3[b-o8alc56ax9] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.no-changes-text p[b-o8alc56ax9] {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .summary-header[b-o8alc56ax9] {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .legend[b-o8alc56ax9] {
        gap: 16px;
    }

    .value-comparison[b-o8alc56ax9] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .arrow-icon[b-o8alc56ax9] {
        display: none;
    }

    .field-header[b-o8alc56ax9] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* _content/ControlCentre.Web/Components/Dialogs/FilePreviewDialog.razor.rz.scp.css */
.document-counter[b-2u9vcvpan6] {
    font-size: 0.9rem;
    color: var(--neutral-foreground-hint);
    background: var(--neutral-fill-subtle);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    min-width: fit-content;
}

.navigation-buttons[b-2u9vcvpan6] {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

/* _content/ControlCentre.Web/Components/Dialogs/GridSelectorDialog.razor.rz.scp.css */
.grid-selector-container[b-hjk2sn5xhg] {
    overflow: auto;
}

.grid-selector-container[b-hjk2sn5xhg]  .collection-editor-header,
.grid-selector-container[b-hjk2sn5xhg]  .horizontal-spacer {
    display: none !important;
}
/* _content/ControlCentre.Web/Components/Dialogs/JsonViewerDialog.razor.rz.scp.css */
.json-viewer[b-wvk78dawqi] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    max-height: 100%;
    overflow: auto;
}

    .json-viewer pre[b-wvk78dawqi] {
        margin: 0;
        font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
        font-size: 13px;
        line-height: 1.5;
        color: #374151;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    .json-viewer code[b-wvk78dawqi] {
        background: transparent;
        padding: 0;
        border: none;
        font-size: inherit;
        color: inherit;
    }
/* _content/ControlCentre.Web/Components/Dialogs/VersionHistoryDialog.razor.rz.scp.css */
/* Version History Dialog Layout */
.version-history-content[b-6fb3mbx125] {
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

.version-history-container[b-6fb3mbx125] {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* Grid Styling */
.version-history-container[b-6fb3mbx125]  .fluent-data-grid {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.version-history-container[b-6fb3mbx125]  .fluent-data-grid-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #334155;
}

.version-history-container[b-6fb3mbx125]  .fluent-data-grid-header .fluent-data-grid-cell {
    padding: 12px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.version-history-container[b-6fb3mbx125]  .fluent-data-grid-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.version-history-container[b-6fb3mbx125]  .fluent-data-grid-row:hover {
    background: #f8fafc;
}

.version-history-container[b-6fb3mbx125]  .fluent-data-grid-row:last-child {
    border-bottom: none;
}

.version-history-container[b-6fb3mbx125]  .fluent-data-grid-cell {
    padding: 16px;
    vertical-align: middle;
    font-size: 14px;
    color: #475569;
}

/* Changes Column Styling */
.changes-indicator[b-6fb3mbx125] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.changes-text[b-6fb3mbx125] {
    font-weight: 500;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.5;
}

    /* Highlight different change types with subtle colors */
    .changes-text[b-6fb3mbx125]::before {
        content: "•";
        color: #3b82f6;
        margin-right: 6px;
        font-weight: bold;
    }

.no-changes[b-6fb3mbx125] {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

/* Action Buttons Styling */
.action-buttons[b-6fb3mbx125] {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-end;
}

/* Pagination Styling */
.version-history-content[b-6fb3mbx125]  .fluent-paginator {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .version-history-container[b-6fb3mbx125]  .fluent-data-grid-cell {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .action-buttons[b-6fb3mbx125] {
        flex-direction: column;
        gap: 2px;
    }
    
    .changes-text[b-6fb3mbx125] {
        font-size: 12px;
    }
}
/* _content/ControlCentre.Web/Components/FileControl.razor.rz.scp.css */
/*──────── card container ────────*/
.fc-card[b-h1ot2x2x25] {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    background: padding-box linear-gradient(var(--neutral-fill-input-rest), var(--neutral-fill-input-rest)), border-box var(--neutral-stroke-input-rest);
    margin-top: 1rem;
    border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);
}

/*──────── responsive visibility classes ────────*/
/* Desktop-only: show on screens larger than 650px */
.fc-desktop-only[b-h1ot2x2x25] {
    display: block;
}

/* Mobile-only: hidden by default, shown on screens 650px and below */
.fc-mobile-only[b-h1ot2x2x25] {
    display: none;
}

[b-h1ot2x2x25] .inputfile-content {
    width: 100%;
}

/* Mobile breakpoint - consistent with dashboard.js (650px) */
@media (max-width: 650px) {
    .fc-desktop-only[b-h1ot2x2x25] {
        display: none !important;
    }
    
    .fc-mobile-only[b-h1ot2x2x25] {
        display: block !important;
    }
}

/*──────── upload zone - for drag and drop ────────*/
.fc-upload-zone[b-h1ot2x2x25] {
    width: 100%;
    margin-bottom: 0.85rem;
}

.fc-upload-zone[b-h1ot2x2x25]  fluent-input-file {
    width: 100%;
}

.fc-upload-zone[b-h1ot2x2x25]  fluent-input-file fluent-card {
    border-radius: 6px;
    border: 1px dashed var(--neutral-stroke-rest);
    background: var(--neutral-fill-stealth-rest);
    transition: all 0.15s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-upload-zone[b-h1ot2x2x25]  fluent-input-file fluent-card:hover {
    border-color: var(--accent-fill-rest);
    background: var(--neutral-fill-secondary-rest);
}

.fc-upload-zone[b-h1ot2x2x25]  fluent-input-file fluent-card.drag-over {
    border-color: var(--accent-fill-rest);
    background: var(--accent-fill-subtle);
}

/*──────── upload button ────────*/
.fc-upload-button[b-h1ot2x2x25] {
    width: 100%;
    margin-bottom: 0.85rem;
}

.fc-upload-button fluent-button[b-h1ot2x2x25] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    padding: .55rem 0;
    border-radius: 6px;
    background: var(--accent-fill-rest);
    color: var(--accent-foreground-rest);
    font-weight: 600;
    transition: background .15s;
}

.fc-upload-button fluent-button:hover[b-h1ot2x2x25] {
    background: var(--accent-fill-hover);
}

/* Custom content inside drag and drop zone */
.fc-drag-drop-content[b-h1ot2x2x25] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--neutral-foreground-hint);
    pointer-events: none; /* Allow click through to the input file */
}

.fc-drag-drop-content fluent-icon[b-h1ot2x2x25] {
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.fc-drag-drop-content p[b-h1ot2x2x25] {
    margin: 0;
    font-size: 0.875rem;
    font-style: italic;
}

/* Enhance drag drop zone when files are present */
.fc-upload-zone[b-h1ot2x2x25]  fluent-input-file fluent-card:not(:has(.fc-drag-drop-content)) {
    min-height: 60px;
    padding: 0.75rem;
}

/*──────── file list ────────*/
.fc-files[b-h1ot2x2x25] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ===== DOCUMENT CARD STYLING - MATCHING PROJECT MEDIA ===== */
.fc-document-card[b-h1ot2x2x25] {
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 0.875rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.15s ease;
    overflow: hidden;
}

    .fc-document-card:hover[b-h1ot2x2x25] {
        background: var(--neutral-fill-stealth-rest);
    }

.fc-document-card.fc-uploading[b-h1ot2x2x25] {
    border-color: var(--accent-fill-rest);
    background: var(--neutral-fill-stealth-rest);
}

.fc-document-card.fc-scheduled[b-h1ot2x2x25] {
    opacity: 0.6;
    background: var(--neutral-fill-stealth-rest);
}

.fc-document-card.fc-scheduled .fc-document-name[b-h1ot2x2x25] {
    text-decoration: line-through;
}

/* Document icon */
.fc-document-icon[b-h1ot2x2x25] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-fill-stealth-rest);
    border-radius: 6px;
    color: var(--accent-foreground-rest);
}

/* Document info section */
.fc-document-info[b-h1ot2x2x25] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.fc-document-name-row[b-h1ot2x2x25] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    overflow: hidden;
}

.fc-document-name[b-h1ot2x2x25] {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--neutral-foreground-rest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.fc-document-metadata[b-h1ot2x2x25] {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--neutral-foreground-hint);
    flex-wrap: wrap;
}

.fc-document-metadata > span[b-h1ot2x2x25] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    font-weight: 400;
}

.fc-document-metadata fluent-icon[b-h1ot2x2x25] {
    opacity: 0.8;
}

.fc-document-size[b-h1ot2x2x25] {
    color: var(--neutral-foreground-hint);
}

.fc-uploaded-by[b-h1ot2x2x25],
.fc-uploaded-at[b-h1ot2x2x25] {
    color: var(--neutral-foreground-hint);
}

/* Progress bar for uploading files */
.fc-document-progress[b-h1ot2x2x25] {
    margin-top: 0.25rem;
}

.fc-progress[b-h1ot2x2x25] {
    width: 100%;
    min-width: 120px;
}

/* Document actions */
.fc-document-actions[b-h1ot2x2x25] {
    flex-shrink: 0;
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

/* Icon buttons - consistent with ProjectMedia */
.fc-icon-btn[b-h1ot2x2x25],
.fc-icon-btn[b-h1ot2x2x25]  fluent-button {
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    padding: 0 !important;
    border-radius: 4px !important;
    background: var(--neutral-fill-stealth-rest) !important;
    border: 1px solid var(--neutral-stroke-rest) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    color: var(--neutral-foreground-rest) !important;
}

.fc-icon-btn:hover[b-h1ot2x2x25],
.fc-icon-btn[b-h1ot2x2x25]  fluent-button:hover {
    background: var(--neutral-fill-secondary-hover) !important;
    border-color: var(--neutral-stroke-hover) !important;
}

/* Mobile-specific adjustments */
@media (max-width: 650px) {
    .fc-document-card[b-h1ot2x2x25] {
        padding: 0.75rem;
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
    }
    
    .fc-document-actions[b-h1ot2x2x25] {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 0.5rem;
        gap: 0.25rem;
    }
    
    .fc-document-metadata[b-h1ot2x2x25] {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .fc-document-name-row[b-h1ot2x2x25] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }

    .fc-drag-drop-content[b-h1ot2x2x25] {
        padding: 1.25rem 0.75rem;
    }

    /* Ensure upload button is touch-friendly on mobile */
    .fc-upload-button fluent-button[b-h1ot2x2x25] {
        min-height: 48px; /* Minimum touch target size */
        padding: 0.75rem 0;
    }
}
/* _content/ControlCentre.Web/Components/FilePreview/ImagePreview.razor.rz.scp.css */
.root[b-l75mxlmo99] {
    position: relative;
    width: 100%;
    height: 100%;
}

/* scroll container – scrollbars appear only when zoomed */
.canvas[b-l75mxlmo99] {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* no bar at fit */
    background: #0000000c;
}

    .canvas.zoomed[b-l75mxlmo99] {
        overflow: auto;
    }

    .canvas img[b-l75mxlmo99] {
        object-fit: contain; /* keep whole image visible at fit */
        max-width: 100%;
        max-height: 100%;
        cursor: zoom-in;
        transform-origin: top left;
    }

/* toolbar (sticky, never scrolls away) */
.toolbar[b-l75mxlmo99] {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: flex;
    gap: .25rem;
    padding: .25rem;
    border-radius: .5rem;
    backdrop-filter: blur(4px);
    background: #ffffffcc;
    z-index: 1;
}
/* _content/ControlCentre.Web/Components/FilePreview/VideoPreview.razor.rz.scp.css */
.root[b-5hxvamp4v8] {
    position: relative;
    width: 100%;
    height: 100%;
}

.canvas[b-5hxvamp4v8] {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0000000c; /* light overlay like ImagePreview */
    overflow: hidden; /* scroll never needed at fit */
}

/* sticky toolbar identical style to the image viewer */
.toolbar[b-5hxvamp4v8] {
    position: absolute;
    top: .5rem;
    right: .5rem;
    display: flex;
    gap: .25rem;
    padding: .25rem;
    border-radius: .5rem;
    backdrop-filter: blur(4px);
    background: #ffffffcc;
    z-index: 1;
}
/* _content/ControlCentre.Web/Components/Forms/FormChildFormsNonTabbed.razor.rz.scp.css */
.child-forms[b-pcglxylky3]  .child-form-item {
    margin-top: 5rem;
}
/* _content/ControlCentre.Web/Components/Forms/FormChildFormsTabbed.razor.rz.scp.css */
.cc-tabs[b-g8vgml0itb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--neutral-stroke-2-rest, #d1d6e0);
    padding: 0 0 0.25rem 0;
}

.cc-tab[b-g8vgml0itb] {
    position: relative;
    appearance: none;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2rem;
    color: var(--neutral-foreground-2-rest, #445066);
    border-radius: 4px 4px 0 0;
    transition: background .15s, color .15s;
}

.cc-tab:hover:not(.disabled):not(.active)[b-g8vgml0itb] {
    background: var(--neutral-fill-hover, #f4f6fa);
    color: var(--neutral-foreground-1-rest, #1d2735);
}

.cc-tab.active[b-g8vgml0itb] {
    background: var(--neutral-fill-rest, #ffffff);
    color: var(--neutral-foreground-1-rest, #1d2735);
    box-shadow: 0 -2px 0 0 var(--accent-fill-rest, #2563eb) inset;
}

.cc-tab.disabled[b-g8vgml0itb] {
    cursor: not-allowed;
    opacity: .45;
}

.cc-tab:focus-visible[b-g8vgml0itb] {
    outline: 2px solid var(--accent-fill-rest, #2563eb);
    outline-offset: 1px;
    border-radius: 4px;
}

.cc-tab-content[b-g8vgml0itb] {
    background: var(--neutral-fill-rest, #ffffff);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem 2rem 1.5rem;
}

/* Locked state */
.cc-tab-locked[b-g8vgml0itb] {
    padding: 2rem 0;
    text-align: center;
    color: var(--neutral-foreground-3-rest, #65728a);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Compact on narrow layouts */
@media (max-width: 680px) {
    .cc-tabs[b-g8vgml0itb] {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }
    .cc-tab[b-g8vgml0itb] {
        flex: 0 0 auto;
    }
}
/* _content/ControlCentre.Web/Components/Forms/FormContent.razor.rz.scp.css */
/* Header container ------------------------------------------------------ */
.form-content-header[b-sfs9qdltsa] {
    display: flex;
    justify-content: left;
    gap: 0.75rem;
    align-items: center;
}   

.form-content[b-sfs9qdltsa] {
    display: inherit;
    flex-grow: 1;
    flex-direction: column;
}

.form-content[b-sfs9qdltsa] >  div > .fluent-grid {
    row-gap: 1rem;
}

.form-content[b-sfs9qdltsa]  .fluent-grid {
    width: unset;
    flex-grow: 1;
}

[b-sfs9qdltsa] .fluent-grid {
    row-gap: 1.5rem !important;
}
/* _content/ControlCentre.Web/Components/Forms/FormControls.razor.rz.scp.css */
.form-controls[b-cwei9cugxg] {
    display: flex;
    gap: 20px;
    justify-content: end;
    padding-top: 4rem;
}
/* _content/ControlCentre.Web/Components/Forms/FormInputs.razor.rz.scp.css */
/* _content/ControlCentre.Web/Components/GridSegment.razor.rz.scp.css */
.segment-card[b-8be73wkolt] {
    box-sizing: content-box;
    display: flex;
    flex-grow: 1;
}

.segment-card:not(.fluent-dialog-body, .segment-card .segment-card)[b-8be73wkolt] {
    border: solid 1px #f1f1f1;
    padding: 2rem;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, .1);
}

[b-8be73wkolt] .empty-content-cell {
    font-weight: 500;
}

[b-8be73wkolt] .col-title-text {
    line-height: 2;
    font-weight: 500;
}

@media (max-width: 640px) {
    .segment-card:not(.fluent-dialog-body, .segment-card .segment-card)[b-8be73wkolt] {
        border: none;
        box-shadow: unset;
        padding: 1rem;
        padding-left: 0rem;
        padding-right: 0rem;
    }
}
/* _content/ControlCentre.Web/Components/GridSegmentsLayout.razor.rz.scp.css */

    [b-dv03q0ltno] .segment-card:not(.fluent-dialog-body, .segment-card .segment-card) {
        border: solid 1px #f1f1f1;
        padding: 2rem;
        box-shadow: 1px 2px 10px rgba(0, 0, 0, .1);
    }

@media (max-width: 640px) {
    [b-dv03q0ltno] .segment-card:not(.fluent-dialog-body, .segment-card .segment-card) {
        border: none;
        box-shadow: unset;
        padding: 1rem;
        padding-left: 0rem;
        padding-right: 0rem;
    }
}
/* _content/ControlCentre.Web/Components/Loading.razor.rz.scp.css */
.loader-container[b-kaw0zfcex5] {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
/* _content/ControlCentre.Web/Components/ModelKeySelector.razor.rz.scp.css */
.model-key-selector[b-efndj7rps5]  fluent-tree-item::part(content-region) {
    padding-right: 1em;
}

.model-key-selector[b-efndj7rps5]  fluent-button::part(control) {
    justify-content: space-between;
}

.model-key-selector[b-efndj7rps5]  fluent-button::part(start) {
    display: none;
}

.model-key-selector[b-efndj7rps5]  fluent-button::part(content) {
    max-width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
    text-align: left;
}

.model-key-selector[b-efndj7rps5]  fluent-button svg {
    fill: var(--neutral-foreground-rest) !important;
}
/* _content/ControlCentre.Web/Components/ModuleHandler.razor.rz.scp.css */
.module-page[b-kxw1u8bhwg] {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

.module-content[b-kxw1u8bhwg] {
    display: flex;
    flex: 1; /* take up remaining height */
    padding: 2rem;
    padding-bottom: 4rem;
}

.content-grid[b-kxw1u8bhwg] {
    display: flex;
    height: 100%;
    flex-grow: 1;
}

@media (max-width: 640px) {
    .module-page[b-kxw1u8bhwg] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .module-content[b-kxw1u8bhwg] {
        padding: 0rem;
        padding-bottom: 2rem;
    }
}
/* _content/ControlCentre.Web/Components/Offers/OfferDetails.razor.rz.scp.css */
.offer-details[b-ifif6h6bht] {
    height: calc(100% - 6.5rem);
    display: flex;
    flex-direction: column;
}

/* ----------  HEADER  ---------- */
.offer-header[b-ifif6h6bht] {
    border-bottom: 2px solid #f1f1f1;
}

/* ----- top meta row ----- */
.offer-meta[b-ifif6h6bht] {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    --label-col-width: 120px;
}

    .offer-meta > div:not(.offer-number, .offer-actions)[b-ifif6h6bht] {
        display: grid;
        grid-template-columns: max-content 1fr; /* widest label in that block + flexible value */
        column-gap: 1.5rem;
        row-gap: .25rem;
        margin-right: 2rem; /* keep spacing BETWEEN blocks */
        align-content: start;
        margin-top: auto;
    }

        /* Make titles span the full width (both columns) */
        .offer-meta > div:not(.offer-number, .offer-actions) > .title[b-ifif6h6bht] {
            grid-column: 1 / -1; /* <-- key line */
            margin: 0 0 .35rem;
        }


.offer-number[b-ifif6h6bht] {
    text-align: left;
}

    .offer-number h1[b-ifif6h6bht] {
        margin: 0;
        font-size: 3rem;
        font-weight: 600;
        line-height: 1;
    }

[b-ifif6h6bht] fluent-divider[orientation = vertical] {
    height: 5.5rem;
    border-color: #12192985;
}

.info-pair[b-ifif6h6bht] {
    display: contents; /* removes its own box; children flow into the grid */
    font-size: 0.85rem;
    font-weight: 500;
}

    /* Label cell */
    .info-pair > span[b-ifif6h6bht] {
        white-space: nowrap;
        font-weight: 300;
    }

.title[b-ifif6h6bht] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 .3rem;
}

/* status pill */
.status[b-ifif6h6bht] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
}

.status-dot[b-ifif6h6bht] {
    width: 9px;
    height: 9px;
    background: #0a84ff; /* blue dot */
    border-radius: 50%;
}

/* ===== OFFER ACTIONS SECTION ===== */
.offer-actions[b-ifif6h6bht] {
    margin-left: auto; /* shove to the far right */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Action buttons container */
.action-buttons[b-ifif6h6bht] {
    display: flex;
    flex-direction: row; 
    gap: 0.5rem;
    align-items: flex-end;
}

/* Individual action button styling */
.action-btn[b-ifif6h6bht] {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 4px;
    white-space: nowrap;
    min-height: auto !important;
}

.action-btn span[b-ifif6h6bht] {
    font-weight: 500;
}

.action-btn:hover[b-ifif6h6bht] {
    background-color: var(--neutral-fill-secondary-hover) !important;
}

/* ----- navigation row ----- */
.offer-nav[b-ifif6h6bht] {
    background: var(--neutral-fill-stealth-rest);
}

    .offer-nav ul[b-ifif6h6bht] {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        overflow-x: auto; /* lets the tabs scroll on very small screens */
    }

    .offer-nav li[b-ifif6h6bht] {
        margin: 0;
        display: block;
        padding: .75rem 1.1rem;
        font-size: .9rem;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

        .offer-nav li.active[b-ifif6h6bht] {
            background: var(--neutral-fill-secondary-rest);
        }

    .offer-nav li:hover[b-ifif6h6bht] {
        background: var(--neutral-fill-secondary-rest);
    }

.segment[b-ifif6h6bht] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For positioning the floating totals box */
}

.segment:not(.items)[b-ifif6h6bht] {
    padding-top: 2rem;
}

.segment.items[b-ifif6h6bht] {
    padding-top: 2rem;
}

    .segment[b-ifif6h6bht]  .segment-card .collection-editor .collection-editor-header,
    .segment[b-ifif6h6bht]  .segment-card .collection-editor .horizontal-spacer,
    .segment[b-ifif6h6bht]  .segment-card > .form-content > .form-content-header,
    .segment[b-ifif6h6bht]  .segment-card > .form-content > .horizontal-spacer {
        display: none !important;
    }

/* ----------  RESPONSIVE TWEAKS  ---------- */
@media (max-width: 820px) {

    /* meta row becomes TWO?column CSS?grid */
    .offer-meta[b-ifif6h6bht] {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1.5rem;
        align-items: start;
    }

    /* offer number & divider span full width */
    .offer-number[b-ifif6h6bht],
    [b-ifif6h6bht] fluent-divider[orientation = vertical] {
        grid-column: 1 / -1; /* full?row element */
    }

    [b-ifif6h6bht] fluent-divider[orientation = vertical] {
        height: 2px; /* visual dot between blocks */
        width: 100%; /* horizontal line */
        margin: 0;
    }

    /* remove the margin-right on individual info blocks */
    .offer-meta > div:not(.offer-number, .offer-actions)[b-ifif6h6bht] {
        margin-right: 0;
    }

    /* Actions section adjustments for mobile */
    .offer-actions[b-ifif6h6bht] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid #e5e5e5;
        margin: 0px !important;
        grid-column: 1 / span 2;
    }

    /* Totals box full width on tablet */
    .offer-totals[b-ifif6h6bht] {
        grid-column: 1 / span 2;
    }

    .action-buttons[b-ifif6h6bht] {
        flex-direction: row; /* Switch to horizontal on mobile */
        gap: 0;
        width: 100%;
        justify-content: space-around;
        padding: 1rem;
    }

    /* NAV : allow wrapping to two rows, no horizontal scroll */
    .offer-nav ul[b-ifif6h6bht] {
        flex-wrap: wrap;
    }

    .offer-nav li[b-ifif6h6bht] {
        flex: 1 1 50%; /* two items per line -> auto line?break */
        text-align: center;
    }
}

/* --------  <= 580 px  (portrait phones) ---------------- */
@media (max-width: 640px) {

    /* offer title size tweak */
    .offer-number h1[b-ifif6h6bht] {
        font-size: 2.4rem;
    }
    
    .offer-meta[b-ifif6h6bht] {
        display: grid;
        grid-template-columns: auto 1fr; /* code   | title?block    */
        gap: 0.8rem 1rem; /*   row?gap | col?gap     */
        padding-bottom: 0px;
    }

    .offer-number[b-ifif6h6bht] {
        grid-column: 1;
        margin: 0; /* remove extra space      */
    }

    .offer-title-block[b-ifif6h6bht] {
        grid-column: 2;
        align-self: center; /* vertically align title  */
    }

    .offer-title-block > .info-pair:nth-of-type(2)[b-ifif6h6bht] {
        display: none;
    }

    /* everything AFTER the title?block starts on a new row */
    .offer-meta > *:nth-child(n+4)[b-ifif6h6bht] {
        grid-column: 1 / -1; /* full width below row?1  */
    }

        .offer-meta > div[b-ifif6h6bht] {
            margin: 0 0 1.25rem 0; /* vertical spacing between blocks */
        }

    [b-ifif6h6bht] fluent-divider[orientation = vertical] {
        display: none;
    }

    .offer-nav[b-ifif6h6bht] {
        border-top: 2px solid #f1f1f1;
    }

    /* NAV : two items per row, clear tap targets */
    .offer-nav ul[b-ifif6h6bht] {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0; /* remove gaps */
    }

    .offer-nav li[b-ifif6h6bht] {
        text-align: center;
        border-bottom: 1px solid var(--neutral-stroke-rest);
        padding: .9rem 1rem;
    }
        /* clear bottom border on last row */
        .offer-nav li:nth-last-child(-n+2)[b-ifif6h6bht] {
            border-bottom: none;
        }
}

/* ===== OFFER TOTALS SECTION (EMBEDDED IN GRID) ===== */

.offer-totals-embedded[b-ifif6h6bht] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    padding: 1.25rem 1.5rem;
    background: var(--neutral-fill-stealth-rest);
    border-top: 1px solid var(--grid);
    margin-top: 0.5rem;
}

.offer-totals-embedded .info-pair[b-ifif6h6bht] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.offer-totals-embedded .info-pair span:first-child[b-ifif6h6bht] {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--neutral-fill-inverse-rest);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-totals-embedded .info-pair span:last-child[b-ifif6h6bht] {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--neutral-foreground-rest);
    font-variant-numeric: tabular-nums;
}

/* Total pay - emphasized with accent color */
.offer-totals-embedded .info-pair.total-pay span:first-child[b-ifif6h6bht] {
    color: var(--neutral-foreground-hover);
    font-weight: 500;
}

.offer-totals-embedded .info-pair.total-pay span:last-child[b-ifif6h6bht] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-foreground-hover);
}

/* Responsive - stack vertically on mobile */
@media (max-width: 640px) {
    .offer-totals-embedded[b-ifif6h6bht] {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .offer-totals-embedded .info-pair[b-ifif6h6bht] {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--neutral-layer-4);
    }

    .offer-totals-embedded .info-pair:last-child[b-ifif6h6bht] {
        border-bottom: none;
    }

    .offer-totals-embedded .info-pair span:first-child[b-ifif6h6bht] {
        font-size: 0.875rem;
    }

    .offer-totals-embedded .info-pair span:last-child[b-ifif6h6bht] {
        font-size: 1.125rem;
    }

    .offer-totals-embedded .info-pair.total-pay span:last-child[b-ifif6h6bht] {
        font-size: 1.35rem;
    }
}





/* _content/ControlCentre.Web/Components/Pages/LoginPage.razor.rz.scp.css */
/* ===== LOGIN PAGE STYLES ===== */
.login-container[b-y4x9mypvtg] {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(135deg, #084AD9 0%, #031B4D 100%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-wrapper[b-y4x9mypvtg] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: 100vh;
    justify-content: center;
    background-color: #031B4D;
}

/* Override global form styles */
.login-wrapper form[b-y4x9mypvtg] {
    display: block !important;
    height: auto !important;
    flex-grow: 0 !important;
}

.login-card[b-y4x9mypvtg] {
    display: grid;
    grid-template-columns: 42% 58%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 50px 100px rgba(0, 0, 0, 0.2);
    min-height: 680px;
    max-height: none;
    width: clamp(900px, 65vw, 1200px);
    transition: box-shadow 0.3s ease;
}

/* ===== LEFT SIDE - BRANDING ===== */

.login-brand[b-y4x9mypvtg] {
    background: linear-gradient(135deg, #c7d8ff 0%, #ffffff 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(50px, 6vw, 80px) clamp(40px, 5vw, 60px);
    position: relative;
    overflow: hidden;
}

.login-brand[b-y4x9mypvtg]::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.login-brand[b-y4x9mypvtg]::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.brand-content[b-y4x9mypvtg] {
    text-align: center;
    z-index: 1;
    position: relative;
}

.brand-icon[b-y4x9mypvtg] {
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.brand-icon fluent-icon[b-y4x9mypvtg] {
    animation: float-b-y4x9mypvtg 3s ease-in-out infinite;
}

@keyframes float-b-y4x9mypvtg {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.brand-title[b-y4x9mypvtg] {
    color: white !important;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
    letter-spacing: -0.5px;
}

.brand-subtitle[b-y4x9mypvtg] {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: clamp(14px, 1.3vw, 16px);
    display: block;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* ===== RIGHT SIDE - FORM ===== */

.login-form[b-y4x9mypvtg] {
    padding: clamp(50px, 6vw, 80px) clamp(40px, 5vw, 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.form-header[b-y4x9mypvtg] {
    margin-bottom: 32px;
}

.form-header fluent-label:first-child[b-y4x9mypvtg] {
    color: var(--neutral-foreground-rest) !important;
    margin-bottom: 10px;
    display: block;
    font-size: clamp(26px, 2.8vw, 32px);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.form-subtitle[b-y4x9mypvtg] {
    color: #6B7280 !important;
    font-size: clamp(14px, 1.2vw, 15px);
    font-weight: 400;
    line-height: 1.5;
}

/* ===== FORM FIELDS ===== */

.login-form fluent-text-field[b-y4x9mypvtg] {
    border-radius: 10px;
}

.login-form fluent-text-field[b-y4x9mypvtg]::part(control) {
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    padding: 15px 18px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #FAFBFC;
}

.login-form fluent-text-field[b-y4x9mypvtg]::part(control):hover {
    border-color: #D1D5DB;
    background: white;
}

.login-form fluent-text-field:focus-within[b-y4x9mypvtg]::part(control) {
    border-color: var(--accent-fill-rest);
    box-shadow: 0 0 0 4px rgba(8, 74, 217, 0.08);
    background: white;
}

.validation-message[b-y4x9mypvtg] {
    color: #DC2626;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

/* ===== ERROR MESSAGE ===== */

.login-error[b-y4x9mypvtg] {
    border-radius: 10px;
    border-left: 4px solid #DC2626;
}

/* ===== CHECKBOX ===== */

.login-form fluent-checkbox[b-y4x9mypvtg] {
    font-size: 14px;
    font-weight: 500;
}

/* ===== BUTTONS ===== */

/* Remove all custom button styling - use Fluent UI defaults */

/* ===== LINKS ===== */

.login-form fluent-anchor[b-y4x9mypvtg] {
    font-size: 14px !important;
    color: var(--accent-fill-rest) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    padding: 8px 4px !important;
    display: inline-block !important;
}

.login-form fluent-anchor:hover[b-y4x9mypvtg] {
    color: #0640C9 !important;
    text-decoration: none !important;
    padding: 8px 4px !important;
}

.help-section[b-y4x9mypvtg] {
    margin-top: 20px;
}

/* ===== FOOTER ===== */

.login-footer[b-y4x9mypvtg] {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    padding: 20px 0;
}

.login-footer fluent-label[b-y4x9mypvtg] {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 14px;
    font-weight: 400;
}

.text-muted[b-y4x9mypvtg] {
    color: #6B7280 !important;
    font-size: 14px;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .login-card[b-y4x9mypvtg] {
        width: clamp(800px, 75vw, 1000px);
    }
}

@media (max-width: 992px) {
    .login-container[b-y4x9mypvtg] {
        padding: 0;
        background: white;
    }

    .login-wrapper[b-y4x9mypvtg] {
        gap: 0;
    }

    .login-card[b-y4x9mypvtg] {
        grid-template-columns: 1fr;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .login-brand[b-y4x9mypvtg] {
        min-height: 280px;
        border-radius: 0;
    }

    .brand-icon fluent-icon[b-y4x9mypvtg] {
        width: 44px !important;
        height: 44px !important;
    }


    .login-footer[b-y4x9mypvtg] {
        display: none;
    }
}

@media (max-width: 640px) {
    .login-container[b-y4x9mypvtg] {
        padding: 0;
        background: white;
    }

    .login-wrapper[b-y4x9mypvtg] {
        gap: 0;
    }

    .login-card[b-y4x9mypvtg] {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .login-brand[b-y4x9mypvtg] {
        padding: 40px 24px;
        min-height: 240px;
    }

    .brand-icon fluent-icon[b-y4x9mypvtg] {
        width: 40px !important;
        height: 40px !important;
    }

    .login-form[b-y4x9mypvtg] {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .login-container[b-y4x9mypvtg] {
        padding: 0;
        background: white;
    }

    .login-wrapper[b-y4x9mypvtg] {
        gap: 0;
    }

    .login-card[b-y4x9mypvtg] {
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .login-form[b-y4x9mypvtg] {
        padding: 32px 20px;
    }

    .login-brand[b-y4x9mypvtg] {
        padding: 36px 20px;
        min-height: 220px;
    }
}
/* _content/ControlCentre.Web/Components/Projects/ProjectDashboard.razor.rz.scp.css */
/* ============= DESKTOP (default) ================================= */

/* ----- layout rows ----------------------------- */
.dashboard[b-raeag0i96o] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ----- Dashboard Content Grid ----------------------------- */
.dashboard-content[b-raeag0i96o] {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}

.chart-section[b-raeag0i96o] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-row[b-raeag0i96o] {
    display: flex;
}

/* ----- Y‑axis ---------------------------------- */
.y-axis[b-raeag0i96o] {
    width: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ----- columns container ----------------------- */
.columns[b-raeag0i96o] {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: space-around; /* auto spacing */
    align-items: flex-end;
}
    /* grid lines */
    .columns[b-raeag0i96o]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( to bottom, transparent 0, transparent 19.5%, #f1f1f1 19.5%, #f1f1f1 20%, transparent 20%, transparent 39.5%, #f1f1f1 39.5%, #f1f1f1 40%, transparent 40%, transparent 59.5%, #f1f1f1 59.5%, #f1f1f1 60%, transparent 60%, transparent 79.5%, #f1f1f1 79.5%, #f1f1f1 80%, transparent 80% );
        pointer-events: none;
    }

/* ----- single column --------------------------- */
.column-wrapper[b-raeag0i96o] {
    width: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
}

/* ----- bar background & coloured fill --------- */
.bar[b-raeag0i96o] {
    position: relative;
    width: 100%;
    height: 20rem;
    border-radius: 0.5rem;
    overflow: visible;
}

.fill[b-raeag0i96o] {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    transition: height 1s ease-in-out, width 1s ease-in-out;
}

/* category colours */
.bar.total-cost[b-raeag0i96o] {
    background: #cfe1ff;
}

.bar.time-cost[b-raeag0i96o] {
    background: #fee7cf;
}

.bar.material-cost[b-raeag0i96o] {
    background: #d6f6d1;
}

.total-cost .fill[b-raeag0i96o] {
    background: #4b8cf2;
}

.time-cost .fill[b-raeag0i96o] {
    background: #f5a623;
}

.material-cost .fill[b-raeag0i96o] {
    background: #4caf50;
}

/* ----- tooltip (desktop) ----------------------- */
.tooltip[b-raeag0i96o] {
    position: absolute;
    left: -6rem;
    top: 0; /* JS moves it */
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: #fff;
    color: #222;
    border: 1px solid #eeeeee;
    border-radius: 0.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: top 1s ease-in-out, left 1s ease-in-out;
}
    /* arrow -> pointing right */
    .tooltip[b-raeag0i96o]::before,
    .tooltip[b-raeag0i96o]::after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
        width: 10px;
        height: 10px;
    }

    .tooltip[b-raeag0i96o]::before {
        right: -5px;
        background: transparent;
        border: 1px solid #c9ced6;
        border-left: none;
        border-top: none;
    }

    .tooltip[b-raeag0i96o]::after {
        right: -5px;
        background: #fff;
        border: none;
    }

/* ----- legend row ------------------------------ */
.legend-row[b-raeag0i96o] {
    padding-top: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-left: 4rem; /* offset equals y‑axis width */
}

.legend-box[b-raeag0i96o] {
    width: 8rem;
    text-align: center;
}

/* ----- ticks hidden on desktop ----------------- */
.ticks[b-raeag0i96o] {
    display: none;
}

/* ============= MOBILE (≤ 650 px) ============================= */
@media (max-width:640px) {
.dashboard[b-raeag0i96o] {
    gap: 1rem;
}

/* Status banner responsive */
.status-banner[b-raeag0i96o] {
    padding: 1rem 1.25rem;
    border-left-width: 4px;
}

.status-info strong[b-raeag0i96o] {
    font-size: 1.1rem;
    letter-spacing: 0.25px;
}

.status-info .status-detail[b-raeag0i96o] {
    font-size: 0.8rem;
}

/* Stack layout on mobile */
.dashboard-content[b-raeag0i96o] {
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* ===== layout switches to stacked view ===== */
.y-axis[b-raeag0i96o] {
        display: none;
    }

    .columns[b-raeag0i96o] {
        flex-direction: column;
        gap: 64px; /* ⬆ extra breathing room */
        margin-left: 0;
    }
        /* remove vertical grid */
        .columns[b-raeag0i96o]::before {
            display: none;
        }

    .legend-row[b-raeag0i96o] {
        display: none;
    }

    .column-wrapper[b-raeag0i96o] {
        width: 100%;
        align-items: stretch;
    }

        .column-wrapper[b-raeag0i96o]::before {
            content: attr(data-line1) "\A" attr(data-line2);
            position: absolute;
            top: -2.2rem;
            left: 0;
            font-size: 0.75rem;
            font-weight: 600;
            line-height: 1.1;
            color: #222;
            white-space: pre; /* let "\A" create a real line‑break */
        }

    /* ===== horizontal bar ===== */
    .bar[b-raeag0i96o] {
        height: 3rem;
        border-radius: 0.35rem;
    }

    .fill[b-raeag0i96o] {
        height: 100%;
        width: 0;
        border-top-left-radius: 0.35rem;
        border-bottom-left-radius: 0.35rem;
        border-bottom-right-radius: unset;
        position: relative; /* anchor for ::after */
    }

        .fill[b-raeag0i96o]::after {
            content: attr(data-actual); /* value from JS   */
            position: absolute;
            right: 0.35rem; /* little padding  */
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.75rem;
            font-weight: 600;
            color: #fff; /* strong contrast */
            white-space: nowrap; /* keep on one line */
            pointer-events: none; /* don't block taps */
        }

        .fill.outside[b-raeag0i96o]::after {
            left: calc(100% + 0.35rem); /* pop just to the right of the bar */
            right: auto; /* override the default 'right' */
            color: #222; /* dark text on light background   */
        }

    /* ===== tooltip removed  ===== */
    .tooltip[b-raeag0i96o] {
        display: none !important;
    }

    /* ===== ticks row ===== */
    .ticks[b-raeag0i96o] {
        display: flex;
        justify-content: space-between;
        margin-top: 8px; /* extra space below bar */
        width: 100%;
        margin-top: 0.75rem; /* leave room for the label */
    }

    /* Project details responsive */
    .project-details-section[b-raeag0i96o] {
        position: static;
        max-height: none;
        margin-top: 0;
    }

    .detail-card[b-raeag0i96o] {
        padding: 1rem;
    }

        .detail-card h3[b-raeag0i96o] {
            font-size: 0.65rem;
            margin: 0 0 0.65rem 0;
        }

        .detail-card p[b-raeag0i96o] {
            font-size: 0.85rem;
            line-height: 1.65;
        }
}

/* ----- Project Details Section (Right Sidebar) ----------------- */
.project-details-section[b-raeag0i96o] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.detail-card[b-raeag0i96o] {
    padding: 1.25rem;
    background: var(--neutral-fill-stealth-rest);
    border: 1px solid var(--neutral-layer-4);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .detail-card h3[b-raeag0i96o] {
        font-size: 0.75rem;
        font-weight: 700;
        color: #374151;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0 0 1rem 0;
    }

    .detail-card p[b-raeag0i96o] {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.75;
        color: var(--neutral-foreground-rest);
        white-space: pre-wrap;
        word-wrap: break-word;
        font-weight: 400;
    }


/* _content/ControlCentre.Web/Components/Projects/ProjectDetails.razor.rz.scp.css */
.project-details[b-w63eaxsoph] {
    height: calc(100% - 6.5rem);
    display: flex;
    flex-direction: column;
}

/* ----------  HEADER  ---------- */
.project-header[b-w63eaxsoph] {
    border-bottom: 2px solid #f1f1f1;
}

/* ----- top meta row ----- */
.project-meta[b-w63eaxsoph] {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    --label-col-width: 120px;
}

    .project-meta > div:not(.project-number, .project-actions)[b-w63eaxsoph] {
        display: grid;
        grid-template-columns: max-content 1fr; /* widest label in that block + flexible value */
        column-gap: 1.5rem;
        row-gap: .25rem;
        margin-right: 2rem; /* keep spacing BETWEEN blocks */
        align-content: start;
        margin-top: auto;
        flex-shrink: 1; /* Allow shrinking if needed */
        min-width: 0; /* Allow content to shrink below natural size */
    }

        /* Make titles span the full width (both columns) */
        .project-meta > div:not(.project-number, .project-actions) > .title[b-w63eaxsoph] {
            grid-column: 1 / -1; /* <-- key line */
            margin: 0 0 .35rem;
        }


.project-number[b-w63eaxsoph] {
    text-align: left;
}

    .project-number h1[b-w63eaxsoph] {
        margin: 0;
        font-size: 3rem;
        font-weight: 600;
        line-height: 1;
    }

[b-w63eaxsoph] fluent-divider[orientation = vertical] {
    height: 5.5rem;
    border-color: #12192985;
}

.info-pair[b-w63eaxsoph] {
    display: contents; /* removes its own box; children flow into the grid */
    font-size: 0.85rem;
    font-weight: 500;
}

    /* Label cell */
    .info-pair > span[b-w63eaxsoph] {
        white-space: nowrap;
        font-weight: 300;
    }

.title[b-w63eaxsoph] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 .3rem;
}

/* status pill */
.status[b-w63eaxsoph] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
}

.status-dot[b-w63eaxsoph] {
    width: 9px;
    height: 9px;
    background: #0a84ff; /* blue dot */
    border-radius: 50%;
}

/* ===== PROJECT ACTIONS SECTION ===== */
.project-actions[b-w63eaxsoph] {
    margin-left: auto; /* shove to the far right */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 5.5rem; /* Fixed height matching the divider */
    gap: 0;
    flex-shrink: 0; /* Prevent shrinking to avoid wrapping */
    min-width: fit-content; /* Ensure it maintains its natural width */
}

/* Action buttons container */
.action-buttons[b-w63eaxsoph] {
    display: flex;
    flex-direction: row; 
    gap: 0.5rem;
    align-items: flex-start;
}

/* Individual action button styling */
.action-btn[b-w63eaxsoph] {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 4px;
    white-space: nowrap;
    min-height: auto !important;
}

.action-btn span[b-w63eaxsoph] {
    font-weight: 500;
}

.action-btn:hover[b-w63eaxsoph] {
    background-color: var(--neutral-fill-secondary-hover) !important;
}

/* ===== PROJECT STATUS BADGE ===== */
.status-badge[b-w63eaxsoph],
.status-badge-skeleton[b-w63eaxsoph] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    margin-top: auto; /* Push to bottom */
}

.status-badge strong[b-w63eaxsoph] {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.status-badge span[b-w63eaxsoph] {
    font-weight: 500;
    opacity: 0.9;
    font-size: 0.75rem;
}

.status-badge.status-overdue[b-w63eaxsoph] {
    background: rgba(220, 38, 38, 0.15);
}

    .status-badge.status-overdue strong[b-w63eaxsoph] {
        color: #dc2626;
    }

    .status-badge.status-overdue span[b-w63eaxsoph] {
        color: #b91c1c;
    }

.status-badge.status-active[b-w63eaxsoph] {
    background: rgba(8, 74, 217, 0.12);
}

    .status-badge.status-active strong[b-w63eaxsoph] {
        color: var(--accent-fill-rest);
    }

    .status-badge.status-active span[b-w63eaxsoph] {
        color: #0640a3;
    }

.status-badge.status-planned[b-w63eaxsoph] {
    background: rgba(124, 58, 237, 0.12);
}

    .status-badge.status-planned strong[b-w63eaxsoph] {
        color: #7c3aed;
    }

    .status-badge.status-planned span[b-w63eaxsoph] {
        color: #6d28d9;
    }

.status-badge.status-completed[b-w63eaxsoph] {
    background: rgba(44, 171, 44, 0.12);
}

    .status-badge.status-completed strong[b-w63eaxsoph] {
        color: var(--success);
    }

    .status-badge.status-completed span[b-w63eaxsoph] {
        color: #22863a;
    }

.status-badge.status-cancelled[b-w63eaxsoph] {
    background: rgba(107, 114, 128, 0.12);
}

    .status-badge.status-cancelled strong[b-w63eaxsoph] {
        color: #4b5563;
    }

    .status-badge.status-cancelled span[b-w63eaxsoph] {
        color: #6b7280;
    }

.status-badge.status-default[b-w63eaxsoph] {
    background: rgba(169, 184, 219, 0.12);
}

    .status-badge.status-default strong[b-w63eaxsoph] {
        color: var(--neutral-fill-inverse-rest);
    }

    .status-badge.status-default span[b-w63eaxsoph] {
        color: #8898ba;
    }


/* ----- navigation row ----- */
.project-nav[b-w63eaxsoph] {
    background: var(--neutral-fill-stealth-rest);
}

    .project-nav ul[b-w63eaxsoph] {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        overflow-x: auto; /* lets the tabs scroll on very small screens */
    }

    .project-nav li[b-w63eaxsoph] {
        margin: 0;
        display: block;
        padding: .75rem 1.1rem;
        font-size: .9rem;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

        .project-nav li.active[b-w63eaxsoph] {
            background: var(--neutral-fill-secondary-rest);
        }

    .project-nav li:hover[b-w63eaxsoph] {
        background: var(--neutral-fill-secondary-rest);
    }

.segment[b-w63eaxsoph] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.segment:not(.media)[b-w63eaxsoph] {
    padding-top: 2rem;
}

.segment.dashboard[b-w63eaxsoph] {
    padding-top: 5rem;
}

    .segment[b-w63eaxsoph]  .segment-card .collection-editor .collection-editor-header,
    .segment[b-w63eaxsoph]  .segment-card .collection-editor .horizontal-spacer,
    .segment[b-w63eaxsoph]  .segment-card > .form-content > .form-content-header,
    .segment[b-w63eaxsoph]  .segment-card > .form-content > .horizontal-spacer {
        display: none !important;
    }

/* ----------  RESPONSIVE TWEAKS  ---------- */
@media (max-width: 820px) {

    /* meta row becomes TWO‑column CSS‑grid */
    .project-meta[b-w63eaxsoph] {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1.5rem;
        align-items: start;
    }

    /* project number & divider span full width */
    .project-number[b-w63eaxsoph],
    [b-w63eaxsoph] fluent-divider[orientation = vertical] {
        grid-column: 1 / -1; /* full‑row element */
    }

    [b-w63eaxsoph] fluent-divider[orientation = vertical] {
        height: 2px; /* visual dot between blocks */
        width: 100%; /* horizontal line */
        margin: 0;
    }

    /* remove the margin-right on individual info blocks */
    .project-meta > div:not(.project-number, .project-actions)[b-w63eaxsoph] {
        margin-right: 0;
    }

    /* Actions section adjustments for mobile */
    .project-actions[b-w63eaxsoph] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid #e5e5e5;
        margin: 0px !important;
        grid-column: 1 / span 2;
        gap: 0.75rem;
        padding-top: 0.75rem;
        align-self: auto;
        justify-content: flex-start;
        height: auto; /* Override fixed height on mobile */
        min-height: auto; /* Remove min-height constraint */
    }

    .status-badge[b-w63eaxsoph],
    .status-badge-skeleton[b-w63eaxsoph] {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
        align-self: stretch;
        justify-content: center;
    }

        .status-badge span[b-w63eaxsoph] {
            font-size: 0.7rem;
        }

    .action-buttons[b-w63eaxsoph] {
        flex-direction: row; /* Switch to horizontal on mobile */
        gap: 0;
        width: 100%;
        justify-content: space-around;
        padding: 1rem;
    }

    /* NAV : allow wrapping to two rows, no horizontal scroll */
    .project-nav ul[b-w63eaxsoph] {
        flex-wrap: wrap;
    }

    .project-nav li[b-w63eaxsoph] {
        flex: 1 1 33%; /* three items per line -> auto line‑break */
        text-align: center;
    }
}

/* --------  <= 580 px  (portrait phones) ---------------- */
@media (max-width: 640px) {

    /* project title size tweak (you already had) */
    .project-number h1[b-w63eaxsoph] {
        font-size: 2.4rem;
    }
    .project-meta[b-w63eaxsoph] {
        display: grid;
        grid-template-columns: auto 1fr; /* code   | title‑block    */
        gap: 0.8rem 1rem; /*   row‑gap | col‑gap     */
        padding-bottom: 0px;
    }

    .project-number[b-w63eaxsoph] {
        grid-column: 1;
        margin: 0; /* remove extra space      */
    }

    .project-title-block[b-w63eaxsoph] {
        grid-column: 2;
        align-self: center; /* vertically align title  */
    }

    .project-title-block > .info-pair:nth-of-type(2)[b-w63eaxsoph] {
        display: none;
    }

    /* everything AFTER the title‑block starts on a new row */
    .project-meta > *:nth-child(n+4)[b-w63eaxsoph] {
        grid-column: 1 / -1; /* full width below row‑1  */
    }

        .project-meta > div[b-w63eaxsoph] {
            margin: 0 0 1.25rem 0; /* vertical spacing between blocks */
        }

    [b-w63eaxsoph] fluent-divider[orientation = vertical] {
        display: none;
    }

    .project-nav[b-w63eaxsoph] {
        border-top: 2px solid #f1f1f1;
    }

    /* NAV : one item per row, clear tap targets */
    .project-nav ul[b-w63eaxsoph] {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0; /* remove gaps */
    }

    .project-nav li[b-w63eaxsoph] {
        text-align: center;
        border-bottom: 1px solid var(--neutral-stroke-rest);
        padding: .9rem 1rem;
    }
        /* clear bottom border on last row */
        .project-nav li:nth-last-child(-n+2)[b-w63eaxsoph] {
            border-bottom: none;
        }
}
/* _content/ControlCentre.Web/Components/Projects/ProjectMedia.razor.rz.scp.css */
/* ============= PROJECT MEDIA COMPONENT - FILECONTROL INTEGRATION ================= */

.project-media[b-gw1vbos2zg] {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

/* ===== MEDIA SUB-NAVIGATION - POSITIONED TO THE RIGHT ON DESKTOP ===== */
.media-subnav[b-gw1vbos2zg] {
    display: flex;
    justify-content: flex-end; /* Position to the right on desktop */
}

.media-subnav ul[b-gw1vbos2zg] {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto; /* allows tabs to scroll on very small screens */
}

.media-subnav li[b-gw1vbos2zg] {
    margin: 0;
    display: block;
    padding: .75rem 1.1rem;
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease;
    color: var(--neutral-foreground-rest);
}

.media-subnav li:hover[b-gw1vbos2zg] {
    background: var(--neutral-fill-secondary-rest);
}

.media-subnav li.active[b-gw1vbos2zg] {
    background: var(--neutral-fill-secondary-rest);
}

/* ===== CONTENT AREA ===== */
.media-content[b-gw1vbos2zg] {
    flex: 1;
    overflow: auto;
}

/* ===== FILECONTROL INTEGRATION STYLING ===== */
/* Hide the FileControl label since we have our own navigation */
.media-content .file-control fluent-input-label[b-gw1vbos2zg] {
    display: none;
}

/* Adjust FileControl card styling for better integration */
.media-content .fc-card[b-gw1vbos2zg] {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

/* Enhance FileControl upload button for photos to be more prominent */
.media-content .file-control[data-category="photos"] .fc-upload-main[b-gw1vbos2zg] {
    background: var(--accent-fill-rest);
    color: var(--accent-foreground-rest);
}

.media-content .file-control[data-category="photos"] .fc-upload-main:hover[b-gw1vbos2zg] {
    background: var(--accent-fill-hover);
}

/* Style document FileControl differently */
.media-content .file-control[data-category="documents"] .fc-upload-main[b-gw1vbos2zg] {
    background: var(--neutral-fill-secondary-rest);
    color: var(--neutral-foreground-rest);
    border: 1px solid var(--neutral-stroke-rest);
}

.media-content .file-control[data-category="documents"] .fc-upload-main:hover[b-gw1vbos2zg] {
    background: var(--neutral-fill-secondary-hover);
}

/* ===== RESPONSIVE DESIGN - CONSISTENT WITH PROJECT DETAILS ===== */
@media (max-width: 820px) {
    .project-media[b-gw1vbos2zg] {
        padding: 1rem;
    }

    .media-subnav[b-gw1vbos2zg] {
        justify-content: stretch; /* Full width on mobile */
        margin-top: -1px;
        background: var(--neutral-fill-stealth-rest);
    }
    
    /* NAV : allow wrapping to two rows, no horizontal scroll */
    .media-subnav ul[b-gw1vbos2zg] {
        flex-wrap: wrap;
    }

    .media-subnav li[b-gw1vbos2zg] {
        flex: 1 1 50%; /* two items per line -> auto line-break */
        text-align: center;
    }

        .media-subnav ul[b-gw1vbos2zg] {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0; /* remove gaps */
            width: 100%;
            border-bottom: 1px solid var(--neutral-stroke-rest);
            border-top: 1px solid var(--neutral-stroke-rest);
        }

        .media-subnav li[b-gw1vbos2zg] {
            text-align: center;
            padding: .9rem 1rem;
            justify-content: center;
        }

        [b-gw1vbos2zg] .file-control > .fluent-input-label {
            display: none;
        }
}

@media (max-width: 640px) {
    .project-media[b-gw1vbos2zg] {
        padding: 0.75rem;
    }        
}
/* _content/ControlCentre.Web/Components/QueryBuilder.razor.rz.scp.css */
.conditional-expression-builder[b-xt3usyz1t3]  fluent-button::part(control) {
    justify-content: space-between;
}

.conditional-expression-builder[b-xt3usyz1t3]  fluent-button::part(content) {
    max-width: 10rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.conditional-expression-builder[b-xt3usyz1t3]  fluent-anchored-region {
    display: flex;
    overflow-y: visible;
}

.query-builder-form[b-xt3usyz1t3] {
    min-height: 12rem;
    min-width: 18rem;
    max-height: 40rem;
    overflow-y: auto;
}

    .query-builder-form[b-xt3usyz1t3]  .query-builder-controls {
        display: flex;
        gap: 0.5rem;
    }

        .query-builder-form[b-xt3usyz1t3]  .query-builder-controls fluent-button {
            width: 5rem;
        }

    .query-builder-form[b-xt3usyz1t3]  .query-builder-rule {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
    }

    .query-builder-form[b-xt3usyz1t3]  .query-builder-content {
        display: flex;
        flex-direction: column;
    }

    .query-builder-form[b-xt3usyz1t3]  .query-builder-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem;
        gap: 0.5rem;
    }
/* _content/ControlCentre.Web/Components/QueryBuilderGroup.razor.rz.scp.css */
.query-builder-group[b-fk1cuxxbx6] {
    width: 100%;
}

    .query-builder-group:not(.query-builder-form > .query-builder-group)[b-fk1cuxxbx6] {
        padding: 0.5rem;
        border-radius: calc(var(--control-corner-radius)* 1px);
        border: calc(var(--stroke-width)* 1px) solid var(--neutral-stroke-layer-rest);
    }

    .query-builder-group[b-fk1cuxxbx6]  .query-builder-content {
        padding-top: 0.5rem;
    }
/* _content/ControlCentre.Web/Components/SectionSwitcher.razor.rz.scp.css */
.section-switcher[b-l9i3vt4vnm] {
    border-bottom: 2px solid #f1f1f1;
    padding-top: 1rem;
}

[b-l9i3vt4vnm] fluent-tabs {
    padding-bottom: 0px !important;
}

[b-l9i3vt4vnm] fluent-tab {
    padding: 0;
    color: #707070;
    font-weight: 400;
}

    [b-l9i3vt4vnm] fluent-tab:not([aria-selected='true']):hover {
        color: var(--neutral-foreground-rest);
    }

    [b-l9i3vt4vnm] fluent-tab[aria-selected='true'] {
        color: var(--neutral-foreground-rest);
        transition: color, 200ms;
        font-weight: 400;
    }

[b-l9i3vt4vnm] fluent-tabs::part(tablist) {
    grid-template-rows: unset;
    column-gap: 2rem;
}

[b-l9i3vt4vnm] fluent-tabs::part(activeIndicator) {
    height: 1px;
    width: 100%;
}

.section-switcher[b-l9i3vt4vnm]  fluent-tab {
    padding-block-end: 1rem;
}

@media (max-width: 600px) {
    .section-switcher[b-l9i3vt4vnm] {
        border-bottom: 2px solid #f1f1f1;
        margin-bottom: 0rem;
    }
}
/* _content/ControlCentre.Web/Components/TopBar.razor.rz.scp.css */
.top-bar[b-8qdknpszz7] {
    display: flex;
    -webkit-justify-content: inherit;
    justify-content: inherit;
    align-items: center;
    -webkit-align-items: center;
    width: 100%;
    color: #ffffff;
    height: 3rem;
}

    .top-bar .logo[b-8qdknpszz7] {
        color: #ffffff;
    }

    .top-bar[b-8qdknpszz7]  .fluent-persona:not(.fluent-popover-content .fluent-persona) > .initials {
        background: #A9B8DB;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .top-bar[b-8qdknpszz7]  .fluent-popover-content .fluent-persona > .initials {
        background: #A9B8DB;
        font-weight: 500;
    }

    .top-bar[b-8qdknpszz7]  .fluent-persona .fluent-presence-badge div {
    }
