/* ============================================================
   Shared UI colour scheme for the application.
   Change these values in ONE place to re-theme across pages.

   Includes:
     - Green UI palette (headings, cards, borders, hover, rows)
       used by Report history, Devices, Profiles and CBSC Settings.
     - Timezone banner grey, applied wherever the
       SiteTimeZoneBanner (#ptimezone) is rendered.
     - Function Test and Duration Test colour schemes
       (text, background and border) for CBSC test behaviour.
   ============================================================ */
:root {
    --app-accent: #58780C;     /* Accessible green for text on white */
    --app-accent-rgb: 88, 120, 12;
    --app-highlight: #93C015;  /* Lime accents, chart segments and active underline */
    --app-link: #58780C;
    --app-hover: #405A08;
    --app-header-bg: #FAFAFA;
    --app-header-bg-2: #FFFFFF;
    --app-border: #E4E4E7;
    --app-border-hover: #C9CDD2;
    --app-row-hover: #F1F6E5;
    --app-text: #292A2E;
    --app-text-muted: #70717A;
    --app-card-bg: #FFFFFF;
    --app-page-bg: #F5F5F6;
    --app-action: #292A2E;
    --app-action-hover: #414248;
    --app-soft-accent: #F0F5DF;
    --app-font: "Segoe UI", Arial, sans-serif;

    /* Timezone banner (SiteTimeZoneBanner / #ptimezone) */
    --app-timezone: #70717A;

    /* ---- Function Test colour scheme ---- */
    --app-fn-text: #4169E1;     /* Function Test text (Royal Blue) */
    --app-fn-bg: #FAF1FE;       /* Function Test background (Alice Blue) */
    --app-fn-border: #BCD0F7;   /* Function Test border */

    /* ---- Duration Test colour scheme ---- */
    --app-dn-text: #9F3AED;     /* Duration Test text (Blue Violet) */
    --app-dn-bg: #F3EDFD;       /* Duration Test background (White Smoke) */
    --app-dn-border: #D8C6F2;   /* Duration Test border */
}

/* Shared timezone banner colour wherever #ptimezone is rendered. */
#ptimezone {
    color: var(--app-timezone);
}

/* Shared pager styling for Devices, Profiles and Report history. */

/* DevExpress dxDataGrid pager (Devices and Profiles). */
#deviceTable .dx-pager .dx-page.dx-selection,
#profilesTable .dx-pager .dx-page.dx-selection,
#deviceTable .dx-pager .dx-page-sizes .dx-selection,
#profilesTable .dx-pager .dx-page-sizes .dx-selection {
    background-color: var(--app-action) !important;
    color: #ffffff !important;
}

/* Bootstrap-table pager (Report history). */
#reportHistoryTableWrap .pagination > .active > a,
#reportHistoryTableWrap .pagination > .active > span,
#reportHistoryTableWrap .pagination > .active > a:hover,
#reportHistoryTableWrap .pagination > .active > span:hover,
#reportHistoryTableWrap .pagination > .active > a:focus,
#reportHistoryTableWrap .pagination > .active > span:focus {
    background-color: var(--app-action);
    border-color: var(--app-action);
    color: #ffffff;
}

/* ============================================================
   Shared "Add to To/CC/BCC" recipient buttons (Report scheduler).
   Green outline style, applied to every .rs-add-btn so the look
   can be re-themed in one place.
   ============================================================ */
.rs-add-btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--app-accent);
    color: var(--app-accent);
    font-weight: 600;
}

.rs-add-btn:hover {
    background: var(--app-header-bg);
    border-color: var(--app-accent);
    color: var(--app-hover);
}

.device-card-header .device-refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    padding: 8px 16px;
    border: 1px solid var(--app-accent);
    border-radius: 7px;
    background: var(--app-accent);
    color: #ffffff;
    font: 700 13px Tahoma, Geneva, sans-serif;
    line-height: 1.2;
    cursor: pointer;
}

.device-card-header .device-refresh-button:hover {
    background: var(--app-hover);
    border-color: var(--app-hover);
    color: #ffffff;
}

.device-card-header .device-refresh-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.device-card-header-main .device-refresh-button i {
    font-size: 13px;
}


/* Shared page header used by every page (Site overview, Devices, Profiles, Energy graph ...) */
.device-card {
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.device-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--app-accent);
    background: linear-gradient(180deg, var(--app-header-bg) 0%, var(--app-header-bg-2) 100%);
    border-bottom: 1px solid var(--app-border);
    box-shadow: inset 0 -1px 0 rgba(var(--app-accent-rgb), 0.06);
    padding: 12px 16px;
}

.device-card-header i {
    margin-right: 4px;
}

.device-card-header-main {
    font-size: 22px;
    font-weight: 800;
    gap: 10px;
}

.device-card-header-main i {
    font-size: 20px;
}

/* Legacy views supply inline and framework styles; scope overrides to UI chrome,
   never to data-cell colours used for faults, test types, scenes or drawings. */
html body {
    background-color: var(--app-page-bg) !important;
    color: var(--app-text);
    font-family: var(--app-font) !important;
    padding-top: 0;
    padding-bottom: 0;
}

body .dx-widget,
body .ui-widget,
body .overview-wrapper,
body .device-overview-wrapper,
body .app-preferences-page,
body .rs-wrapper {
    font-family: var(--app-font);
    color: var(--app-text);
}

body :focus-visible {
    outline: 2px solid var(--app-accent) !important;
    outline-offset: 2px;
}

body input[type="checkbox"],
body input[type="radio"] {
    accent-color: var(--app-accent);
}

body .form-control,
body .dx-texteditor,
body .site-info-input,
body .site-info-select {
    background: var(--app-card-bg);
    border-color: var(--app-border-hover);
    border-radius: 6px;
    color: var(--app-text);
    box-shadow: none;
}

body .form-control:focus,
body .dx-texteditor.dx-state-focused {
    border-color: var(--app-accent);
    box-shadow: 0 0 0 2px var(--app-soft-accent);
}

body .btn {
    border-radius: 6px;
    font-family: var(--app-font);
    font-weight: 600;
}

body .btn-primary,
body .btn-info,
body .device-card-header .device-refresh-button,
body .site-info-btn:not(.is-secondary),
body .rg-refresh-btn,
body #appPreferencesSave,
body #appPreferencesSave:hover,
body #appPreferencesSave:focus {
    background: var(--app-action) !important;
    border-color: var(--app-action) !important;
    color: #FFFFFF !important;
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-info:hover,
body .btn-info:focus,
body .device-card-header .device-refresh-button:hover,
body .site-info-btn:not(.is-secondary):hover,
body .rg-refresh-btn:hover {
    background: var(--app-action-hover) !important;
    border-color: var(--app-action-hover) !important;
    color: #FFFFFF !important;
}

body .btn-default,
body .site-info-btn.is-secondary {
    background: var(--app-card-bg);
    border-color: var(--app-border);
    color: var(--app-text);
}

body .btn-primary .caret,
body .btn-info .caret {
    border-top-color: #FFFFFF !important;
}

body .dropdown-menu,
body .bootstrap-select.btn-group .dropdown-menu,
body .app-menu-flyout {
    background: var(--app-card-bg) !important;
    border-color: var(--app-border);
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(29, 30, 34, 0.12);
}

body .dropdown-menu > li {
    border-bottom: 0 !important;
}

body .dropdown-menu > li > a:hover,
body .dropdown-menu > li > a:focus,
body .dropdown-menu > .active > a,
body .dropdown-menu > .active > a:hover,
body .dropdown-menu > .active > a:focus {
    background: var(--app-row-hover) !important;
    color: var(--app-text) !important;
}

body .panel,
body .device-card,
body .site-info-card,
body .rh-card,
body .rg-shell,
body .rs-shell,
body .app-preferences-card {
    border-color: var(--app-border);
    border-radius: 10px;
    box-shadow: none;
}

body .panel-heading,
body .device-card-header,
body .site-info-card-header,
body .rh-card-header,
body .app-menu-flyout-title {
    background: var(--app-card-bg);
    color: var(--app-text);
    border-color: var(--app-border);
    box-shadow: none;
}

body .device-card:has(> .device-card-header-main),
body .site-info-shell {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

body .device-card-header-main,
body .site-info-header {
    background: transparent;
    color: var(--app-text);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 18px;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

body .site-info-header {
    position: relative;
    top: auto;
    min-height: 60px;
    z-index: auto;
}

body .compact-site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    padding: 0 0 10px;
    gap: 4px 12px;
}

body .compact-site-header .compact-site-title {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

body .compact-site-header h1 {
    margin: 0;
    color: var(--app-accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.06em;
}

body .compact-site-header .compact-site-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
}

body .compact-site-header .compact-site-timezone {
    margin: 0;
    min-width: 0;
    color: var(--app-timezone);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

body .compact-site-header .compact-site-description {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin: 0;
    color: var(--app-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    overflow-wrap: anywhere;
}

body .compact-site-header .site-info-actions {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    flex-wrap: wrap;
}

body .compact-site-header .site-info-subtitle,
body .compact-site-header .site-info-message {
    grid-column: 1 / -1;
}

@media (max-width: 800px) {
    body .compact-site-header .site-info-actions {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

body .device-card-header-main > i:first-child,
body .site-info-header-icon {
    display: none;
}

body .device-card-header-main > i:first-child + span {
    flex: 0 1 auto;
    width: auto;
}

body .device-card:has(> .device-card-header-main) > .device-card-body,
body .overview-body {
    padding: 0;
    background: transparent;
}

body .overview-wrapper,
body .device-overview-wrapper,
body .site-info-page,
body .app-preferences-page {
    padding: 24px 30px 30px;
    color: var(--app-text);
}

body .overview-wrapper,
body .device-overview-wrapper,
body .site-info-page {
    padding-top: 8px;
}

body .site-info-grid {
    padding: 0;
    gap: 16px;
    align-items: start;
}

.site-info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

body #reportsViewSwitchGroup > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

body #reportsViewSwitchGroup > button > span {
    flex: 1;
    text-align: center;
}

.site-info-widget-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--app-text-muted);
}

.site-info-widget-toolbar button {
    padding: 3px 6px;
    border: 1px solid var(--app-border);
    border-radius: 5px;
    background: #FFFFFF;
    color: var(--app-text);
    cursor: pointer;
}

.site-info-card-header[draggable] {
    cursor: grab;
}

body .site-info-card-header {
    min-height: 42px;
    padding: 14px 18px 4px;
    border-bottom: 0;
}

body .site-info-card-header h2 {
    font-size: 14px;
    color: var(--app-text);
}

body .site-info-card-header i {
    display: none;
}

body .site-info-row {
    border-bottom-color: var(--app-border);
    min-height: 34px;
}

body .site-info-row dt {
    color: var(--app-text-muted);
    font-size: 12px;
}

body .site-info-row dd {
    color: var(--app-text);
    font-size: 13px;
}

body .site-info-eyebrow {
    margin: 0 0 6px;
    color: var(--app-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body .site-info-badge {
    background: var(--app-soft-accent);
    border: 0;
    color: var(--app-accent);
    font-size: 12px;
    letter-spacing: 0.04em;
}

body .site-info-location {
    grid-template-columns: 1fr;
}

body .site-info-map {
    height: 180px;
    min-height: 180px;
    border-radius: 6px;
}

body .site-devices-switch-group,
body .site-information-switch-group,
body #reportsViewSwitchGroup {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px !important;
    margin-left: auto;
    padding: 3px;
    border-radius: 8px;
    background: #EAEAEC;
}

html.site-devices-document {
    scrollbar-gutter: stable both-edges;
}

body .site-devices-page-header,
body .report-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 12px;
    padding: 0 18px 10px;
}

/* Report headers sit inside a bordered card, so add the Overview page's top offset inside it. */
body .report-page-header {
    padding-top: 8px;
    background: var(--app-card-bg);
    border-bottom: 1px solid var(--app-border);
}

body .site-devices-page-header > i {
    display: none;
}

body .site-devices-heading-row,
body .report-page-heading-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

body .site-devices-page-title,
body .report-page-title {
    flex: 0 0 120px;
    color: var(--app-accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.06em;
}

body .site-devices-heading-row #ptimezone,
body .report-page-heading-row #ptimezone {
    margin: 0;
    min-width: 0;
    color: var(--app-timezone);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

body .site-devices-page-header .site-devices-switch-group,
body .report-page-header #reportsViewSwitchGroup {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    justify-content: center;
    margin: 0;
    max-width: 100%;
}

body .report-page-header .report-page-selector {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

body .site-devices-header-actions,
body .report-page-header .report-page-actions {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
    font-size: 13px;
}

body .report-page-header #reportsViewSwitchGroup {
    display: flex !important;
    gap: 2px !important;
}

body .report-page-header #reportsViewSwitchGroup > .rh-switch-btn,
body .report-page-header #reportsViewSwitchGroup > .rg-switch-btn,
body .report-page-header #reportsViewSwitchGroup > .rs-switch-btn {
    width: auto;
    min-width: 0;
    padding: 7px 10px;
}

body .report-page-header .rs-topbar-actions,
body .report-page-header .rg-topbar-actions {
    margin-left: 0;
    gap: 8px;
}

body .report-page-header .rs-topbar-actions .rs-btn {
    background: var(--app-action);
    border: 1px solid var(--app-action);
    color: #ffffff;
    font-weight: 700;
}

body .report-page-header .rs-topbar-actions .rs-btn:hover {
    background: var(--app-action-hover);
    border-color: var(--app-action-hover);
    color: #ffffff;
}

@media (max-width: 800px) {
    body .site-devices-heading-row,
    body .report-page-heading-row {
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    body .site-devices-page-header .site-devices-switch-group,
    body .report-page-header #reportsViewSwitchGroup {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    body .site-devices-header-actions,
    body .report-page-header .report-page-actions {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    body .report-page-header .report-page-selector {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

body .site-devices-switch-btn,
body .site-information-switch-btn,
body .rh-switch-btn,
body .rg-switch-btn,
body .rs-switch-btn {
    min-width: 0;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--app-text);
    font: 600 12px/1.4 var(--app-font);
    box-shadow: none;
    cursor: pointer;
}

body .site-devices-switch-btn > i,
body .site-information-switch-btn > i,
body .rh-switch-btn > i,
body .rg-switch-btn > i,
body .rs-switch-btn > i {
    display: none;
}

body .site-devices-switch-btn:hover,
body .site-information-switch-btn:hover,
body .rh-switch-btn:hover,
body .rg-switch-btn:hover,
body .rs-switch-btn:hover {
    background: #F5F5F6;
    border-color: transparent;
    color: var(--app-text);
}

body .site-devices-switch-btn:disabled,
body .site-information-switch-btn:disabled,
body .rh-switch-btn.is-active,
body .rg-switch-btn.is-active,
body .rs-switch-btn.is-active {
    background: #FFFFFF;
    border-color: var(--app-border);
    color: var(--app-text);
    opacity: 1;
    box-shadow: 0 1px 3px rgba(29, 30, 34, 0.08);
}

body .rg-topbar,
body .rs-topbar {
    background: var(--app-card-bg);
    border-color: var(--app-border);
}

body .rg-topbar-title,
body .rs-topbar-title,
body .rh-card-header .rh-title {
    color: var(--app-text);
}

body .dx-datagrid {
    background: var(--app-card-bg);
    color: var(--app-text);
}

body .dx-datagrid .dx-datagrid-headers {
    background: var(--app-header-bg);
    color: #505158 !important;
    border-color: var(--app-border);
}

body .dx-datagrid .dx-datagrid-headers .dx-row > td {
    font-size: 12px;
    font-weight: 600;
    border-bottom-color: var(--app-border) !important;
}

body .dx-datagrid .dx-column-lines > td {
    border-left-color: transparent !important;
    border-right-color: transparent !important;
}

body .dx-datagrid .dx-row-lines > td {
    border-top-color: transparent !important;
    border-bottom-color: #EFEFF1 !important;
}

body .dx-datagrid .dx-data-row > td {
    font-size: 13px !important;
    padding-top: 9px;
    padding-bottom: 9px;
}

body .dx-datagrid-header-panel {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--app-border);
}

body .dx-datagrid .dx-toolbar {
    background: transparent;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-datagrid-header-panel {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--app-border);
    background: #FFFFFF;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar {
    margin: 0;
    font-size: 13px;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar-items-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
    min-height: 38px;
    gap: 8px;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) :is(.dx-toolbar-before, .dx-toolbar-center, .dx-toolbar-after) {
    position: static !important;
    transform: none !important;
    top: auto !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar-after {
    margin-left: auto;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar-item {
    display: flex;
    align-items: center;
    position: static !important;
    top: auto !important;
    margin: 0 !important;
    padding: 0;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar-item-content {
    display: flex;
    align-items: center;
    max-width: 100%;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-datagrid-group-panel {
    display: flex;
    align-items: center;
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--app-border);
    border-radius: 7px;
    background: #F8F8F9;
    color: var(--app-text-muted);
    font-size: 13px;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-group-panel-message {
    margin: 0;
    padding: 0;
    line-height: 20px;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-datagrid-search-panel {
    margin: 0;
    height: 34px;
    border: 1px solid var(--app-border);
    border-radius: 7px;
    background: #FFFFFF;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar .dx-button {
    min-height: 34px;
    margin: 0 !important;
    border: 1px solid var(--app-accent);
    border-radius: 7px;
    background: #FFFFFF;
    color: var(--app-accent);
    box-shadow: none;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar .dx-button-content {
    padding: 7px 12px;
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar :is(.dx-button-text, .dx-icon) {
    color: var(--app-accent);
}

html.site-devices-document body :is(#deviceTable, #profilesTable, #deviceNoteTable, #CollatorsTable) .dx-toolbar .dx-button-text {
    font-size: 13px;
    font-weight: 600;
}

body .dx-datagrid .dx-pager {
    background: #FFFFFF !important;
    border-color: var(--app-border);
    padding: 10px 12px;
}

body .dx-pager .dx-page.dx-selection,
body .dx-pager .dx-page-sizes .dx-selection {
    background: var(--app-action) !important;
    color: #FFFFFF !important;
    border-radius: 5px;
}

body .fixed-table-container,
body .device-grid-frame {
    border-color: var(--app-border);
    border-radius: 10px;
}

body .fixed-table-container thead th,
body .table > thead > tr > th {
    background: var(--app-header-bg);
    border-color: var(--app-border);
    color: #505158;
    font-weight: 600;
}

body .fixed-table-container tbody td {
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #EFEFF1;
}

body .pagination > .active > a,
body .pagination > .active > span {
    background: var(--app-action) !important;
    border-color: var(--app-action) !important;
    color: #FFFFFF !important;
}

body .app-preferences-banner {
    background: #FFFFFF;
    border-color: var(--app-border);
}

body .app-preferences-banner h1,
body .app-preferences-col-head strong,
body .app-pref-option strong {
    color: var(--app-text);
}

body .app-pref-option:has(input:checked) {
    background: var(--app-soft-accent);
    border-color: var(--app-border-hover);
}

body .app-pref-option input {
    accent-color: var(--app-accent);
}

@media (max-width: 760px) {
    body .overview-wrapper,
    body .device-overview-wrapper,
    body .site-info-page,
    body .app-preferences-page {
        padding: 18px 12px 24px;
    }

    body .site-info-grid {
        grid-template-columns: 1fr;
    }

    body .site-devices-switch-group,
    body .site-information-switch-group,
    body #reportsViewSwitchGroup {
        margin-left: 0;
        max-width: 100%;
    }
}
