/* Dashboard-only state UI. Existing instrument, marker and theme styles remain shared. */
#dashboard-can-accordion [hidden] {
    display: none !important;
}

#dashboard-can-source {
    min-width: 0;
    overflow-wrap: anywhere;
}

#dashboard-can-message {
    margin: 0;
    padding: 0;
    background: none;
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

#dashboard-can-retry {
    justify-self: start;
    width: auto;
    min-height: 36px;
}

@media (min-width: 701px) {
    #dashboard-can-cards .instrument-gauge--primary { max-width: 260px; }
    #dashboard-can-cards .instrument-gauge--compact { max-width: 156px; }
}
/* Hidden status/CAN rows must not move the map into an auto-sized grid row. */
body[data-page="dashboard"] .dashboard-map-focus > .map-filter-tabs { grid-row: 1; }
body[data-page="dashboard"] .dashboard-map-focus > .map-status-filter-card { grid-row: 2; }
body[data-page="dashboard"] .dashboard-map-focus > .map-panel { grid-row: 3; }
body[data-page="dashboard"] .dashboard-map-focus > .dashboard-can-accordion { grid-row: 4; }
