/* assets/style.css */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
}

/* Force Dash DataTable React wrappers to fill the 100% flex height container */
.dash-spreadsheet-container {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    flex: 1 1 auto !important;
}

.dash-spreadsheet {
    flex: 1 1 auto !important;
    height: 100% !important;
}

.dash-table-container,
[data-dash-is-loading="true"] .wire-table.dash-table-container {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: 100% !important;
    min-height: 0 !important; /* Critical to prevent layout blowouts in Firefox/Chrome */
}