body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.mud-table-toolbar {
    padding: 16px;
}

/* Shared report grid styles */

.report-grid .mud-table-cell,
.report-grid .mud-table-head .mud-table-cell {
    padding: 2px 6px !important;
    white-space: nowrap;
}

.report-grid .mud-table-cell .column-header {
    display: inline-flex !important;
    width: auto !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

.report-grid .mud-table-cell .column-header .sortable-column-header {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.report-grid .mud-table-cell .column-header .column-options {
    margin: 0 !important;
    margin-left: 0 !important;
    margin-inline-start: 0 !important;
    padding: 0 !important;
}

.report-grid .mud-table-cell .column-options .mud-icon-button {
    padding: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

.report-grid .mud-table-cell .column-options .mud-icon-root {
    font-size: 14px !important;
}

/* Reconnect overlay (C1 - circuit disconnect UX) */
#reconnect-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

#reconnect-dialog {
    background: #fff;
    border-radius: 8px;
    padding: 32px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    max-width: 400px;
}

#reconnect-dialog h3 {
    margin: 12px 0 8px;
    color: #333;
}

#reconnect-dialog p {
    color: #666;
    margin: 0 0 16px;
}

#reconnect-spinner {
    width: 40px; height: 40px;
    margin: 0 auto;
    border: 4px solid #e0e0e0;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: reconnect-spin 0.8s linear infinite;
}

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

#reconnect-reload-btn {
    background: #1976d2;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

#reconnect-reload-btn:hover {
    background: #1565c0;
}
