/*
 * FLUMEN IoT Dot classic skin
 *
 * Keeps the current IoT feature implementation and restores the restrained,
 * technical visual language of the proven status-board UI.
 */

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic {
    --iot-classic-navy: #010a2d;
    --iot-classic-cyan: #b0deed;
    --iot-classic-cyan-soft: #eef9fc;
    --iot-classic-magenta: #c01466;
    --iot-classic-line: #cfdde3;
    --iot-classic-text: #152333;
    --iot-classic-muted: #596a78;
}

/* Dot configuration: use the screen, retain every existing section/control. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal {
    padding: .35rem;
    background: rgba(1, 10, 45, .32);
    backdrop-filter: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .loginWindow {
    border-color: #8fb8c8;
    border-radius: .2rem;
    box-shadow: 0 .8rem 2.4rem rgba(1, 10, 45, .22);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerBar {
    min-height: 3.65rem;
    grid-template-columns: auto minmax(13rem, 1fr) minmax(22rem, 28rem) auto auto;
    gap: .55rem;
    padding: .5rem .75rem;
    border-bottom-color: #263252;
    background: var(--iot-classic-navy);
    color: #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerIcon {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(176, 222, 237, .6);
    border-radius: 0;
    background: transparent;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerInfo {
    color: #fff;
    font-size: .96rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-header-action,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerFunction.icon-close {
    height: 2.55rem;
    min-width: 5.8rem;
    border-color: rgba(255, 255, 255, .35);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerFunction.icon-close {
    width: 2.55rem;
    min-width: 2.55rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-header-action:hover,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-header-action:focus-visible,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerFunction.icon-close:hover {
    border-color: var(--iot-classic-cyan);
    background: rgba(176, 222, 237, .14);
    box-shadow: none;
    color: #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .modal_Content {
    background: #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalCounter {
    padding: .45rem .75rem;
    border-bottom-color: #e3ccd7;
    background: #fff7fa;
    font-size: .74rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder {
    width: min(100%, 108rem);
    padding: .8rem clamp(.8rem, 1.7vw, 1.5rem) 3.5rem !important;
    color: var(--iot-classic-text);
    font-size: .82rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder h2 {
    margin: 1rem 0 .4rem;
    padding-left: .55rem;
    border-left-width: .18rem;
    font-size: 1rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder :is(
        .flumen-iot-device-section,
        .flumen-iot-network-section,
        .flumen-iot-task-section,
        .flumen-iot-hardware-section,
        .flumen-iot-release-history,
        .flumen-iot-led-control,
        .flumen-iot-ota-status,
        .flumen-iot-manual-update,
        #iotDotConfigModal_TaskPreview
    ) {
    border-color: var(--iot-classic-line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder
    :is(.flumen-iot-device-section, .flumen-iot-network-section) > summary {
    min-height: 3.35rem;
    padding: .55rem .75rem;
    border-bottom-color: var(--iot-classic-line);
    background: var(--iot-classic-cyan-soft);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-network-section__icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0;
    background: var(--iot-classic-cyan);
    color: var(--iot-classic-navy);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder table {
    margin: .45rem 0;
    border-color: var(--iot-classic-line);
    border-radius: 0;
    box-shadow: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder table td {
    padding: .48rem .62rem;
    border-bottom-color: #e1e7ea;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder :is(
        input:not([type="checkbox"]):not([type="color"]):not([type="file"]),
        select,
        textarea
    ) {
    min-height: 2.25rem;
    border-color: #bfcdd4;
    border-radius: 0;
    box-shadow: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder :is(.selectButtonRed, button) {
    min-height: 2.25rem;
    padding: .48rem .75rem;
    border-radius: 0;
    box-shadow: none;
}

/* Task choice: compact, readable catalogue instead of oversized cards. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-section,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-hardware-section,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-led-control {
    padding: .75rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: .5rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card {
    min-height: 9.2rem;
    padding: .85rem;
    border-color: color-mix(in srgb, var(--task-accent, var(--iot-classic-cyan)) 36%, #d7e3e8);
    border-radius: .7rem;
    background: linear-gradient(145deg, var(--task-soft, #f5fbfd) 0%, #fff 58%);
    box-shadow: 0 .3rem .9rem rgba(1, 10, 45, .055);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card:hover {
    border-color: var(--task-accent, #7ebdd0);
    box-shadow: 0 .65rem 1.4rem rgba(1, 10, 45, .11);
    transform: translateY(-2px);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card.is-selected {
    border-color: var(--task-accent, var(--iot-classic-magenta));
    box-shadow: 0 0 0 .18rem color-mix(in srgb, var(--task-accent, var(--iot-classic-magenta)) 18%, transparent),
        0 .65rem 1.4rem rgba(1, 10, 45, .1);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__icon,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__status,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__info {
    border-radius: .5rem;
    box-shadow: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__icon {
    background: var(--task-soft, var(--iot-classic-cyan-soft));
    color: var(--task-accent, var(--iot-classic-navy));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--task-accent, #1686b0) 16%, transparent);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder .flumen-iot-task-card h3 {
    margin: .72rem 0 .28rem;
    color: #071b41;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.2;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder .flumen-iot-task-card > p {
    margin: 0 0 .75rem;
    color: #294a63;
    font-size: .76rem;
    font-weight: 550;
    line-height: 1.48;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__status {
    border-color: color-mix(in srgb, var(--task-accent, #1686b0) 25%, #d9e5ea);
    background: rgba(255, 255, 255, .8);
    color: #31566e;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__info {
    border-color: color-mix(in srgb, var(--task-accent, #1686b0) 28%, #c9dce5);
    background: rgba(255, 255, 255, .78);
    color: #173f59;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__info:hover,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-task-card__info:focus-visible {
    border-color: var(--task-accent, var(--iot-classic-magenta));
    background: var(--task-soft, #fff3f8);
    color: var(--task-accent, #a71053);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-task-definition-loading {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: .7rem;
    padding: .75rem 1rem;
    border: 1px solid #a9d5e4;
    border-radius: .65rem;
    background: #f1fafc;
    color: #124d68;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-task-definition-loading > .fa {
    color: var(--iot-classic-magenta);
    font-size: 1.15rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-task-definition-loading > div {
    display: grid;
    gap: .15rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-task-definition-loading small {
    color: #48697c;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-task-definition-loading.is-error {
    border-color: #e7b8c8;
    background: #fff5f8;
    color: #8f174b;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-release-history__head {
    min-height: 3.15rem;
    padding: .55rem .75rem;
    background: var(--iot-classic-cyan-soft);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-release-entry,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-release-notes__group {
    border-radius: 0;
    box-shadow: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-led-control__picker > label,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-led-control__preview {
    border-radius: 0;
}

/* Live preview stays powerful, but looks like a technical instrument. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotConfigTaskPreviewModal {
    background: rgba(1, 10, 45, .34);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotConfigTaskPreviewModal .loginWindow {
    border-color: #86acbd;
    border-radius: 0;
    box-shadow: 0 .8rem 2.4rem rgba(1, 10, 45, .24);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotConfigTaskPreviewModal .headerBar {
    min-height: 3.5rem;
    background: var(--iot-classic-navy);
    color: #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotConfigTaskPreviewModal :is(
        .flumen-iot-preview-controls,
        .flumen-iot-preview-views
    ) {
    background: #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-preview-tabs,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    .flumen-iot-preview-controls :is(input, select, button) {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Focused Dot dashboard: classic frame, smaller KPIs and chart tiles. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard {
    background: #fff !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboard_header {
    min-height: 5.2rem !important;
    gap: .8rem !important;
    padding: .55rem 7rem .55rem 1.15rem !important;
    background: #fff !important;
    box-shadow: none !important;
    backdrop-filter: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-iot-dot-brand {
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-iot-dot-eyebrow {
    font-size: .58rem !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-iot-dot-title {
    font-size: 1.55rem !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard :is(
        .flumen-iot-dot-period,
        .flumen-iot-dot-period input[type="date"],
        .flumen-iot-dot-freshness,
        #dashboardGlobalSettingsIconMQTT,
        #dashboard_closeButton,
        .flumen-iot-global-dashboard-settings,
        .flumen-iot-widget-menu__trigger,
        .flumen-iot-widget-menu__panel,
        #dashboard_headerActionButtons .iotDataOptionsItem
    ) {
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboard_headerActionButtons {
    min-height: 3.2rem !important;
    padding-block: .35rem !important;
    background: #f8fafb !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboard_Holder {
    gap: .65rem !important;
    padding: .65rem 1.15rem 1.5rem !important;
    background: #fff !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer {
    gap: .55rem !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContent {
    min-height: 4.7rem !important;
    padding: .65rem 2.75rem .65rem 1.2rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Legacy KPI styles use percentage padding and occasionally leave translated
   children behind.  Keep every label, info glyph and value on one explicit
   inner content line inside the IoT Dot cards. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentInnerDiv {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    transform: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentInnerDiv > div {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    transform: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelUpper {
    justify-content: center !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelMain,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelExtra,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelLower {
    text-align: center !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContent[data-iot-kpi-role="rfid"]
    .dashboardKpiContainerContentLabelMain > div {
    justify-content: center !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelUpper > .icon-info {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    margin: .08rem 0 0 !important;
    transform: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContent[data-iot-kpi-role="status"] {
    min-height: 4.7rem !important;
    background: var(--iot-classic-cyan-soft) !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelMain {
    font-size: 1.06rem !important;
}

/* Keep the IoT dashboard header clear of the global help/language/account
   dock. This does not affect the generic dashboard or another portal. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboard_header {
    padding-right: calc(
        var(--global-user-navigation-right)
        + (4 * var(--global-user-navigation-size))
        + (4 * var(--global-user-navigation-gap))
        + 1rem
    ) !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardFunctionIcons {
    display: none !important;
}

/* The persistent IoT navigation needs enough room for the actual German
   labels. Keep the rail and the fixed dashboard on one shared measurement so
   neither can cover or crop the other. This is deliberately limited to the
   focused single-Dot dashboard. */
@media (min-width: 900px) {
    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open {
        --iot-dot-persistent-rail-width: 12rem;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        .flumen-iot-persistent-rail {
        box-sizing: border-box !important;
        width: var(--iot-dot-persistent-rail-width) !important;
        min-width: var(--iot-dot-persistent-rail-width) !important;
        padding: .8rem .72rem 1rem !important;
        overflow-x: hidden !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        #dashboard.flumen-iot-dot-dashboard {
        inset: 0 0 0 calc(
            var(--analysis-matrix-navigation-width)
            + var(--iot-dot-persistent-rail-width)
        ) !important;
        width: calc(
            100vw
            - var(--analysis-matrix-navigation-width)
            - var(--iot-dot-persistent-rail-width)
        ) !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        .flumen-iot-persistent-rail__period {
        padding: .55rem .65rem !important;
        text-align: left !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        .flumen-iot-persistent-rail__period :is(small, strong) {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        .flumen-iot-persistent-rail .flumen-iot-side-menu__item {
        display: grid !important;
        grid-template-columns: 1.55rem minmax(0, 1fr) !important;
        min-height: 2.65rem !important;
        align-items: center !important;
        justify-items: stretch !important;
        gap: .52rem !important;
        padding: .4rem .55rem !important;
        text-align: left !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        .flumen-iot-persistent-rail .flumen-iot-side-menu__glyph {
        width: 1.55rem !important;
        min-width: 1.55rem !important;
        justify-self: center !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        .flumen-iot-persistent-rail .flumen-iot-side-menu__label {
        display: block !important;
        min-width: 0 !important;
        max-width: none !important;
        overflow: visible !important;
        color: var(--flumen-iot-classic-navy) !important;
        font-size: .68rem !important;
        line-height: 1.18 !important;
        text-align: left !important;
        text-overflow: clip !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .dashboard_Chart.flumen-iot-dot-chart {
    min-height: 27rem !important;
    padding: .9rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    :is(.flumen-iot-kpi-dialog__panel, .flumen-iot-mode-dialog__panel) {
    border-radius: 0;
    box-shadow: 0 .8rem 2.2rem rgba(1, 10, 45, .22);
}

@media (max-width: 1120px) {
    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigModal .headerBar {
        grid-template-columns: auto minmax(10rem, 1fr) auto auto;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigLiveState {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        .flumen-iot-led-control__picker {
        grid-template-columns: 1fr;
    }
}

/* Compact floating Dot configuration. Keep clear of the global portal header. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal {
    box-sizing: border-box;
    padding: clamp(4.6rem, 7vh, 5.4rem) 1.25rem 1.25rem;
    overflow: hidden;
    background: rgba(1, 10, 45, .42);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .modal-dialog {
    width: min(92vw, 92rem);
    height: min(calc(100vh - 6.2rem), 58rem);
    margin: 0 auto;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .loginWindow {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    overflow: hidden;
    border-radius: .65rem;
    box-shadow: 0 1.2rem 3.5rem rgba(1, 10, 45, .34);
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerBar {
    min-height: 3.25rem;
    grid-template-columns: minmax(12rem, 1fr) minmax(19rem, 28rem) auto auto;
    gap: .45rem;
    padding: .4rem .65rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerIcon {
    display: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-header-action,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .headerFunction.icon-close {
    height: 2.25rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalCounter {
    display: flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .35rem .75rem;
    text-align: center;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalCounterTime {
    min-width: 3rem;
    color: var(--iot-classic-magenta);
    font-variant-numeric: tabular-nums;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks {
    display: grid;
    flex: 1 1 34rem;
    grid-template-columns: repeat(4, minmax(8rem, 1fr));
    gap: .35rem;
    max-width: 44rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .35rem;
    color: #8fa8bd;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li > span:last-child {
    display: grid;
    min-width: 0;
    gap: .08rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li strong {
    overflow: hidden;
    color: inherit;
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li small {
    overflow: hidden;
    color: #7890a5;
    font-size: .6rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li .fa {
    color: #7890a5;
    font-size: .9rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li.is-ready {
    color: #e9fff4;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li.is-ready .fa {
    color: #4de3a1;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-start-checks li.is-ready small {
    color: #acd4c2;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder {
    width: min(100%, 78rem);
    padding: .65rem 1rem 3.15rem !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModalContentHolder > img,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal_DotName {
    display: none;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-config-intro {
    max-width: 58rem;
    margin: .1rem auto .75rem;
    padding: .25rem 1rem .65rem;
    text-align: center;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-config-intro h2 {
    margin: .2rem 0 .35rem;
    padding: 0;
    border: 0;
    font-size: 1.12rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
    #iotDotConfigModal .flumen-iot-config-intro p {
    max-width: 52rem;
    margin: 0 auto .25rem;
}

@media (max-width: 760px) {
    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigModal {
        padding: .5rem;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigModal .modal-dialog {
        width: calc(100vw - 1rem);
        height: calc(100vh - 1rem);
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigModal .headerBar {
        grid-template-columns: minmax(9rem, 1fr) auto auto;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigLiveState {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigModal .flumen-iot-start-dock__copy {
        display: none;
    }

    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic
        #iotDotConfigModal .flumen-iot-start-checks {
        grid-template-columns: repeat(2, minmax(7rem, 1fr));
    }
}

/* Final single-Dot KPI alignment. The dashboard can become visible one frame
   before iotPortalModern adds the optional classic marker, so this critical
   alignment is gated by the stable IoT portal and Dot-dashboard classes. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentInnerDiv {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    place-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    transform: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentInnerDiv > div {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    text-align: center !important;
    transform: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelUpper {
    justify-content: center !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContentLabelUpper > .icon-info {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    margin: .08rem 0 0 !important;
    transform: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard #dashboardKpiContainer
    .dashboardKpiContainerContent[data-iot-kpi-role="rfid"]
    .dashboardKpiContainerContentLabelMain > div {
    justify-content: center !important;
}

/* Dashboard-Rohdaten: a readable Classic table surface without changing the
   generic dashboard renderer used by Explorer, CO2 or other portals. */
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .dashboardTableViewDiv.flumen-dashboard-table-view {
    box-sizing: border-box;
    width: 100% !important;
    height: calc(100% - .85rem) !important;
    margin-top: .75rem !important;
    padding: 0 !important;
    overflow: auto !important;
    scrollbar-color: #91b9c9 #edf7fb;
    background: #f9fcfe;
    border: 1px solid #b8dce9;
    border-radius: .8rem;
    box-shadow: inset 0 1px 0 #fff;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-table-title {
    position: sticky;
    top: 0;
    z-index: 4;
    margin: 0;
    padding: .72rem .9rem;
    color: #06133d;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(90deg, #e5f6fc, #f8fcff);
    border-bottom: 1px solid #b8dce9;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-table-shell {
    box-sizing: border-box;
    width: 100%;
    min-width: 64rem;
    padding: .55rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table {
    width: 100% !important;
    min-width: 64rem;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0;
    color: #10264a;
    font-size: .87rem;
    background: #fff;
    border: 1px solid #c8e1eb;
    border-radius: .45rem;
    overflow: hidden;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table__header {
    box-sizing: border-box;
    position: sticky !important;
    top: 2.9rem !important;
    z-index: 3 !important;
    min-height: 2.85rem;
    padding: .55rem .7rem !important;
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.17;
    text-align: left !important;
    vertical-align: middle;
    white-space: normal;
    background: #06133d !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, .16) !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table__header:last-child {
    border-right: 0 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table__cell {
    box-sizing: border-box;
    height: 28px !important;
    padding: 0 .7rem !important;
    color: #10264a;
    line-height: 1.2;
    text-align: left !important;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 0 !important;
    border-right: 1px solid #d8e9f0 !important;
    border-bottom: 1px solid #d8e9f0 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table__row:hover
    .flumen-dashboard-data-table__cell {
    box-shadow: inset 3px 0 0 #cf1170;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table__cell:last-child,
body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table__row:last-child
    .flumen-dashboard-data-table__cell {
    border-right: 0 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-table-view::-webkit-scrollbar {
    width: .7rem;
    height: .7rem;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
    #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-table-view::-webkit-scrollbar-thumb {
    background: #91b9c9;
    border: 2px solid #edf7fb;
    border-radius: 1rem;
}

@media (max-width: 900px) {
    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-table-shell,
    body.analysisMatrixNavigationPinned.flumenPortalIOT.flumen-iot-classic.flumen-iot-dot-dashboard-open
        #dashboard.flumen-iot-dot-dashboard .flumen-dashboard-data-table {
        min-width: 48rem;
    }
}
.flumen-iot-fleet-ota{position:fixed;z-index:10020;top:8vh;left:50%;width:min(42rem,calc(100vw - 2rem));max-height:84vh;overflow:auto;transform:translateX(-50%);padding:1rem;background:#f8fdfd;border:1px solid #8ccbd7;border-radius:.6rem;box-shadow:0 1rem 3rem #00103d44;color:#102b55}.flumen-iot-fleet-ota header{display:flex;justify-content:space-between;align-items:center;font-size:1.2rem;color:#087f8e}.flumen-iot-fleet-ota header button{border:1px solid #8ccbd7;background:#fff;border-radius:.3rem;font-size:1.2rem}.flumen-iot-fleet-ota__hint{color:#607a7e}.flumen-iot-fleet-ota label{display:block;margin:.55rem 0}.flumen-iot-fleet-ota input[type=text]{width:100%;box-sizing:border-box;padding:.55rem;border:1px solid #b8dce2;border-radius:.3rem}.flumen-iot-fleet-ota__toolbar{display:flex;gap:.5rem;align-items:center;margin:.75rem 0}.flumen-iot-fleet-ota button{padding:.45rem .7rem;border:1px solid #8ccbd7;border-radius:.3rem;background:#fff;color:#087f8e;cursor:pointer}.flumen-iot-fleet-ota__list{display:grid;gap:.3rem;max-height:40vh;overflow:auto}.flumen-iot-fleet-ota__dot{display:flex!important;align-items:center;gap:.65rem;padding:.5rem;border:1px solid #d6e8eb;border-radius:.3rem;background:#fff}.flumen-iot-fleet-ota__dot span{display:grid;flex:1}.flumen-iot-fleet-ota__dot small{color:#607a7e}.flumen-iot-fleet-ota__dot em{font-style:normal;color:#087f8e}.flumen-iot-fleet-ota__dot em.is-error{color:#c01466}.flumen-iot-fleet-ota footer{display:flex;justify-content:flex-end;margin-top:.8rem}.flumen-iot-fleet-ota footer button{background:#c01466;color:#fff}
