﻿
/* 
    Dashboard 
*/
.dashboard {
    padding: 5px;
}
/* 
    Dashboard 
*/
/* 
    Dashboard Panel
*/
.dashboard-panel {
    padding: 0px 5px 5px 5px;
    width: 98%;
    height: 98%;
}
    .dashboard-panel .e-accumulationchart svg rect,
    .dashboard-panel .e-chart svg rect {
        fill-opacity: 0;
    }

    #main-panel #main-panel_content {
        overflow: auto;
    }

/*
    LeXpert summary content + Bulk Manage / CSV hubs

    Left Summary menu height tracks #call-flow-wrapper's grid row. Other Summary
    routes keep height: calc(88vh - 6px) from callflow.css. Do not replace that
    with height:100% alone — when ops content is short the percentage chain can
    collapse the wrapper to content height and shrink the menu with it.
*/
#call-flow-wrapper #summary-container {
    grid-area: diagram;
    box-sizing: border-box;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    overflow: auto;
}

#call-flow-wrapper:has(.operations-page) {
    min-width: 0;
    max-width: 100%;
}

/* Horizontal containment only on ancestors (app-bar clipping). Keep min-width:0. */
#lexcen:has(.operations-page) #app-container,
#lexcen:has(.operations-page) main,
#lexcen:has(.operations-page) main > .content {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

/* Match sibling Summary pages' viewport height; overflow clips wide children. */
/* #lexcen:has(.operations-page) #call-flow-wrapper {
    box-sizing: border-box;
    height: calc(88vh - 6px);
    max-height: calc(88vh - 6px);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    width: 100%;
} */

#lexcen:has(.operations-page) #summary-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: auto;
}

.operations-page {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    min-height: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 8px 24px;
}

.operations-page .bulk-manage {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-width: 100%;
    min-height: 100%;
    min-width: 0;
}

/* Dashboard row is content-sized so card resize pushes Audit/Tools down (no overlap). */
.operations-page .bulk-manage > .ops-dashboard-row {
    display: grid;
    flex: 0 0 auto;
    min-width: 0;
}

.operations-page .bulk-manage > .bulk-manage-table-section:last-child:not(.is-resizable):not(.is-collapsed),
.operations-page .bulk-manage > .bulk-manage-table-section:has(+ .bulk-tools-section):not(.is-resizable):not(.is-collapsed) {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.operations-page .bulk-manage > .bulk-manage-table-section.is-collapsed,
.operations-page .bulk-manage > .bulk-tools-section.is-collapsed {
    display: block;
    flex: 0 0 auto;
    flex-grow: 0;
    min-height: 0;
    height: auto;
    max-height: none;
    resize: none;
    overflow: hidden;
}

.operations-page .bulk-manage > .bulk-tools-section {
    flex-shrink: 0;
}

.operations-page .bulk-manage > .bulk-manage-table-section.is-resizable {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    box-sizing: border-box;
    resize: both;
    overflow: auto;
    min-width: 280px;
    min-height: 160px;
    max-width: 100%;
    max-height: 70vh;
    width: 100%;
}

.operations-page .bulk-manage > .bulk-manage-table-section.is-resizable > .csv-jobs-grid,
.operations-page .bulk-manage > .bulk-manage-table-section.is-resizable > .ops-jobs-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.operations-page .csv-review-grid,
.operations-page .jobs-table-wrap,
.operations-page .bulk-manage-table-section {
    max-width: 100%;
    min-width: 0;
}

/* Collapse/expand headers: larger click target without changing heading typography. */
.operations-page .section-heading-toggle {
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding-block: 10px;
}

.graph-panel {
    overflow: hidden;

}
/* 
    Dashboard Panel
*/
/*
    UserComponent
*/
.user-component.accordion-item {
    padding: 0;
}
/*
    UserComponent
*/