/*
 * Executive Theater modernization layer
 *
 * This file intentionally styles only the eT root. eT-owned overlays which
 * live outside that DOM root use body.flumenPortalCockpit as their scope so
 * changes cannot leak into Shopfloor, CO2, ERP or other legacy surfaces.
 */

#cockpit.flumen-et {
    --flumen-et-sidebar-width: clamp(248px, 19vw, 304px);
    --flumen-et-sidebar-collapsed-width: 76px;
    --flumen-et-sidebar-current-width: var(--flumen-et-sidebar-width);
    --flumen-et-canvas: #f4f7fb;
    --flumen-et-surface: #ffffff;
    --flumen-et-surface-muted: #edf3f9;
    --flumen-et-navigation: #07112f;
    --flumen-et-navigation-soft: #111e43;
    --flumen-et-text: #111a33;
    --flumen-et-text-muted: #68748a;
    --flumen-et-border: #dce5ef;
    --flumen-et-accent: #c01466;
    --flumen-et-accent-soft: rgba(192, 20, 102, 0.1);
    --flumen-et-decision-dark: #300a20;
    --flumen-et-decision-deep: #17091a;
    --flumen-et-decision-light: #f063a6;
    --flumen-et-highlight: #b0deed;
    --flumen-et-highlight-soft: rgba(176, 222, 237, 0.2);
    --flumen-et-shadow-sm: 0 8px 24px rgba(7, 17, 47, 0.07);
    --flumen-et-shadow-lg: 0 18px 46px rgba(7, 17, 47, 0.13);
    box-sizing: border-box;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 8%, rgba(176, 222, 237, 0.24), transparent 30%),
        linear-gradient(145deg, #f8fafc 0%, var(--flumen-et-canvas) 58%, #edf3f8 100%);
    color: var(--flumen-et-text);
}

/*
 * Two independent navigation levels:
 * 1. the shared Value Chain OS menu reserves --analysis-matrix-navigation-width
 * 2. the local eT menu uses --flumen-et-sidebar-current-width inside #cockpit
 */
body.analysisMatrixNavigationPinned.flumenPortalCockpit #cockpit.flumen-et {
    left: var(--analysis-matrix-navigation-width) !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: calc(100vw - var(--analysis-matrix-navigation-width)) !important;
    height: 100vh !important;
    margin-top: 0 !important;
    transition: left 220ms ease, width 220ms ease;
}

/* CO₂ lives in the same two-level navigation shell as the Explorer: the
 * shared Value Chain OS rail stays on the far left and the CO₂ navigation is
 * rendered inside the portal directly next to it.  The legacy eT navigation
 * remains hidden further below in the dedicated CO₂ rules. */
body.analysisMatrixNavigationPinned.flumenPortalCO2 {
    --analysis-matrix-navigation-width: var(--flumen-navigation-width, 76px);
    /* The language badge sits below the globe button. Half a rem of extra
     * room keeps the complete global user navigation inside this header. */
    --flumen-co2-shared-header-height: var(--analysis-matrix-header-height, 4.6rem);
}

body.analysisMatrixNavigationPinned.flumenPortalCO2.co2GlobalNavigationExpanded {
    --analysis-matrix-navigation-width: clamp(210px, 16vw, 256px);
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysis-matrix-root {
    display: block !important;
    background: transparent !important;
    opacity: 1 !important;
    pointer-events: none;
    visibility: visible !important;
    z-index: 20010 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysis-matrix-root > div {
    width: var(--analysis-matrix-navigation-width) !important;
    height: 100%;
    pointer-events: auto;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysisMatrix-navigator-navigator,
body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysisMatrix-navigator-trigger {
    display: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysis-matrix-sidepanel {
    box-sizing: border-box;
    display: block !important;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--analysis-matrix-navigation-width) !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: var(--flumen-navigation-padding, 30px 18px 18px) !important;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1 !important;
    pointer-events: auto;
    scrollbar-width: thin;
    visibility: visible !important;
    z-index: 20030 !important;
}

/* The CO2 shell can override the shared navigation width while its global
 * menu is expanded. Keep the shared resize handle on that effective edge
 * instead of leaving it at the persisted Explorer width. */
body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysis-matrix-sidepanel-resize {
    left: calc(var(--analysis-matrix-navigation-width) - 7px);
}

body.analysisMatrixNavigationPinned.flumenPortalCO2.co2GlobalNavigationExpanded #analysis-matrix-sidepanel {
    scrollbar-color: var(--flumen-theme-light) rgba(255, 255, 255, .08);
    scrollbar-width: thin;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #analysis-matrix-sidepanel::-webkit-scrollbar {
    display: block;
    width: 8px;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2.co2GlobalNavigationExpanded #analysis-matrix-sidepanel::-webkit-scrollbar {
    display: block;
    width: 8px;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2.co2GlobalNavigationExpanded #analysis-matrix-sidepanel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06);
}

body.analysisMatrixNavigationPinned.flumenPortalCO2.co2GlobalNavigationExpanded #analysis-matrix-sidepanel::-webkit-scrollbar-thumb {
    border: 2px solid var(--flumen-theme-dark);
    border-radius: 8px;
    background: var(--flumen-theme-light);
}

#co2ExplorerNavigationToggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 0 0 14px;
    padding: 0 10px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(1, 10, 45, .22);
    color: #fff;
    cursor: pointer;
}

#co2ExplorerNavigationToggle:hover,
#co2ExplorerNavigationToggle:focus-visible {
    background: rgba(1, 10, 45, .42);
    outline: 2px solid rgba(176, 222, 237, .72);
    outline-offset: 2px;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2:not(.co2GlobalNavigationExpanded) #co2ExplorerNavigationToggle {
    padding: 0;
}

body.analysisMatrixNavigationPinned.analysisMatrixNavigationCollapsed.flumenPortalCO2:not(.co2GlobalNavigationExpanded) #co2ExplorerNavigationToggle > span:last-child,
body.analysisMatrixNavigationPinned.analysisMatrixNavigationCollapsed.flumenPortalCO2:not(.co2GlobalNavigationExpanded) #analysis-matrix-sidepanel .analysis-matrix-sidepanel-header,
body.analysisMatrixNavigationPinned.analysisMatrixNavigationCollapsed.flumenPortalCO2:not(.co2GlobalNavigationExpanded) #analysis-matrix-sidepanel .analysis-matrix-sidepanel-link-header,
body.analysisMatrixNavigationPinned.analysisMatrixNavigationCollapsed.flumenPortalCO2:not(.co2GlobalNavigationExpanded) #analysis-matrix-sidepanel .analysis-matrix-sidepanel-link > div:not(.analysis-matrix-sidepanel-link-label) {
    display: none !important;
}


body.analysisMatrixNavigationPinned.flumenPortalCO2 #cockpit.flumen-et {
    position: fixed !important;
    top: var(--flumen-co2-shared-header-height) !important;
    right: auto !important;
    bottom: 0 !important;
    left: var(--analysis-matrix-navigation-width) !important;
    width: calc(100vw - var(--analysis-matrix-navigation-width)) !important;
    height: calc(100vh - var(--flumen-co2-shared-header-height)) !important;
    height: calc(100dvh - var(--flumen-co2-shared-header-height)) !important;
    margin-top: 0 !important;
    /* A route change must not animate the whole portal underneath the user. */
    transition: none;
}

/* The legacy CCF scope editor is mounted next to the modern CO2 cockpit.
 * Keep it inside the routed workspace and above the cockpit stacking context;
 * otherwise its edit buttons work but the opened editor remains invisible. */
body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEdit {
    position: fixed !important;
    inset: var(--flumen-co2-shared-header-height) 0 0 var(--analysis-matrix-navigation-width) !important;
    width: auto !important;
    height: calc(100vh - var(--flumen-co2-shared-header-height)) !important;
    height: calc(100dvh - var(--flumen-co2-shared-header-height)) !important;
    z-index: 21040 !important;
    overflow: hidden;
}

/* Let the legacy scope editor use the complete routed CO₂ workspace. The
 * old percentage widths and auto margins left an unnecessary gutter around
 * the entry table, while the fixed 51vh navigation stopped far above the
 * footer on tall screens. */
body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEdit > #CO2CarbonEditContentLeft {
    flex: 0 0 26%;
    min-width: 0;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditContentContent {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding-right: 1.25rem;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditMiddleBottomContent,
body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditBottomContent {
    box-sizing: border-box;
    width: 100% !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditBottomContent {
    width: calc(100% - 1.25rem) !important;
    margin-left: 1.25rem;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditMainsubMenu {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    width: calc(100% - 7vmin);
    height: auto !important;
    margin-bottom: 1.25rem;
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditFooterContent {
    box-sizing: border-box;
    display: flex;
    float: none;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    padding-left: 1.25rem;
    padding-right: clamp(16rem, 18vw, 20rem);
}

body.analysisMatrixNavigationPinned.flumenPortalCO2 #CO2CarbonEditFooterContent > .selectButton {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit {
    --flumen-et-workspace-navigation-width: clamp(248px, 19vw, 304px);
}

/* The Executive Theater owns the complete viewport. The two legacy header
 * rows must not cover its navigation or grouping workspace. User actions are
 * rendered independently in #flumenGlobalUserNavigation and remain visible. */
body.analysisMatrixNavigationPinned.flumenPortalCockpit #flumenHeader,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #flumenSubHeader,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #toggleValuestore,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #shareView {
    display: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #flumenGlobalUserNavigation,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #userQuickAccess_LogginInAs_MenuDiv {
    z-index: 2147483646 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #cockpit.flumen-et {
    position: fixed !important;
    inset: 0 0 0 var(--analysis-matrix-navigation-width, var(--flumen-navigation-width)) !important;
    width: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    max-height: none !important;
}

/* The legacy grouping editor is mounted as an eT workspace rather than a
 * viewport-wide page. It begins after both navigation rails and keeps its
 * own header above the scrollable editor frame. */
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace {
    box-sizing: border-box;
    display: grid !important;
    grid-template-rows: 92px minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    position: fixed !important;
    inset: 0 0 0 calc(
        var(--analysis-matrix-navigation-width)
        + var(--flumen-et-workspace-navigation-width)
    ) !important;
    /* #cockpit is itself a 20020 stacking context and follows this legacy
     * holder in the DOM. Keep the grouping editor above that workspace so a
     * successful add click is visible instead of rendering behind the list. */
    z-index: 20025 !important;
    width: auto !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    padding: 0 24px 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 3%, rgba(176, 222, 237, 0.22), transparent 30%),
        linear-gradient(145deg, #f8fafc 0%, #f2f6fa 100%);
    color: var(--flumen-et-text);
    isolation: isolate;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace > .cockpitGeom,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace > #miniERPTitleFunctionClose,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace > #tableWindowHolder_lock {
    display: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #tableWindowHeader {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 92px;
    padding: 12px 190px 12px 4px;
    border-bottom: 1px solid var(--flumen-et-border);
    background: transparent;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #ContentMenuLabel {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: var(--flumen-et-text);
    font-family: Ubuntu, Arial, sans-serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 780;
    line-height: 1;
    letter-spacing: -0.045em;
    line-break: auto;
    white-space: nowrap;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #ContentMenuLabel::before {
    display: grid;
    width: 50px;
    height: 50px;
    margin-right: 14px;
    place-items: center;
    border-radius: 13px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    content: "◉";
    font-size: 25px;
    letter-spacing: 0;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #tableWindowContent {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--flumen-et-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 42px rgba(7, 17, 47, 0.09);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #tableWindowContentHeader,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #tableWindowContentFilter,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #tableWindowTableContent,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #layoutMenu_pPanel_Overview,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #layoutMenu_InfoPanel_Add {
    display: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModal_manage,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModal_create,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModal_create_one {
    box-sizing: border-box;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    padding: 24px clamp(20px, 3vw, 46px) 32px;
    overflow-x: hidden;
    overflow-y: auto;
    background: transparent;
    color: var(--flumen-et-text);
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.45;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModalContent {
    max-height: none;
    overflow: visible;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #varianteSelectVariantLoadSelect {
    width: 100%;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace .groupModificationModalVariantName {
    width: auto;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace .groupModificationModalVariantDate {
    box-sizing: border-box;
    width: 200px;
    min-width: 200px;
    padding-right: 18px;
    overflow: visible;
    white-space: nowrap;
    text-overflow: clip;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace .groupModificationModalVariantActions {
    box-sizing: border-box;
    width: 184px;
    min-width: 184px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace td.groupModificationModalVariantActions {
    align-items: center;
    min-height: 46px;
    padding: 4px 0;
    gap: 2px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace .groupModificationModalVariantActions .favoritenEinstellung {
    box-sizing: border-box;
    display: grid;
    width: 38px;
    height: 38px;
    margin: 0 2px;
    place-items: center;
    border-radius: 9px;
    font-size: 18px;
    line-height: 1;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace .groupModificationModalVariantActions .favoritenEinstellung:hover,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace .groupModificationModalVariantActions .favoritenEinstellung:focus-visible {
    outline: 2px solid rgba(192, 20, 102, 0.2);
    background: rgba(192, 20, 102, 0.08);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindow_tableTooltip {
    position: fixed;
    width: min(320px, calc(100vw - 24px));
    padding: 14px;
    transform: none;
    border: 1px solid rgba(176, 222, 237, 0.35);
    border-radius: 12px;
    background: #07142f;
    box-shadow: 0 16px 42px rgba(1, 10, 45, 0.32);
    word-break: normal;
    white-space: normal;
}

body.flumenPortalCockpit #userInput_choose .headerBar {
    box-sizing: border-box;
    width: 100%;
    padding-right: 16px;
    overflow: visible;
}

body.flumenPortalCockpit #userInput_choose .headerFunction {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0 2px;
    line-height: 3vmin !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModalPreContainer,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModalPreContainer_One {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 20px 0 0;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModal_Button,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #tableWindowHolder.flumenETGroupingWorkspace #groupModificationModal_Button_One {
    display: flex;
    float: none;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin: 20px 0 0;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit.flumenEtNavigationCollapsed {
    --flumen-et-workspace-navigation-width: 76px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #cockpit.flumen-et > #cockpitEinAusBlend {
    display: grid !important;
}

/* eT uses the shared application navigation as a compact first rail and its
 * own workspace navigation as the expanded second rail. The Explorer canvas,
 * legend, drawing drawer and graph toolbar do not belong to this surface. */
body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-root {
    display: block !important;
    background: transparent !important;
    opacity: 1 !important;
    pointer-events: none;
    visibility: visible !important;
    z-index: 20010 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-root > div {
    width: var(--analysis-matrix-navigation-width) !important;
    height: 100%;
    pointer-events: auto;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-content,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysisMatrix-navigator-navigator,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysisMatrix-navigator-trigger,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #sidePanel:not(.sidePanel--foreground),
body.analysisMatrixNavigationPinned.flumenPortalCockpit #toggleMetrik,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #toggleMetrikAIMain,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-fluPaintButton,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #flumenDrawerReopenTab,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #fluPaintHolder.flumen-drawer-feature,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-feature-legend-explorer-host,
body.analysisMatrixNavigationPinned.flumenPortalCockpit .analysis-feature-legend__complexity {
    display: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-sidepanel {
    box-sizing: border-box;
    display: block !important;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--analysis-matrix-navigation-width) !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: var(--flumen-navigation-padding, 30px 18px 18px) !important;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1 !important;
    pointer-events: auto;
    scrollbar-width: thin;
    visibility: visible !important;
    z-index: 20030 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-sidepanel::-webkit-scrollbar {
    display: block;
    width: 8px;
}

#cockpit.flumen-et #whereIsItCockpitFunktionlist_gruppierung {
    scroll-margin-block: 24px;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed {
    --flumen-et-sidebar-current-width: var(--flumen-et-sidebar-collapsed-width);
}

#cockpit.flumen-et #cockpitLoadingProgress {
    position: fixed;
    z-index: 10000001;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(var(--analysis-matrix-navigation-width, 0px) + var(--flumen-et-sidebar-current-width));
    display: none;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 78% 12%, rgba(176, 222, 237, 0.3), transparent 34%),
        rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(10px);
    transition: left 220ms ease, opacity 180ms ease;
}

#cockpit.flumen-et #cockpitLoadingProgress.is-complete {
    opacity: 0;
}

#cockpit.flumen-et .cockpitLoadingProgressCard {
    width: min(100%, 520px);
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(176, 222, 237, 0.62);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--flumen-et-text);
    text-align: center;
    box-shadow: var(--flumen-et-shadow-lg);
}

#cockpit.flumen-et .cockpitLoadingProgressVisual {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    color: var(--flumen-et-navigation);
    font-size: 26px;
}

#cockpit.flumen-et .cockpitLoadingProgressSpinner {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(176, 222, 237, 0.32);
    border-top-color: var(--flumen-et-accent);
    border-right-color: var(--flumen-et-highlight);
    border-radius: 50%;
    animation: flumenEtLoadingSpin 850ms linear infinite;
}

#cockpit.flumen-et .cockpitLoadingProgressEyebrow {
    margin-bottom: 7px;
    color: var(--flumen-et-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#cockpit.flumen-et .cockpitLoadingProgressTitle {
    display: block;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

#cockpit.flumen-et .cockpitLoadingProgressTrack {
    height: 9px;
    margin: 28px 0 11px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--flumen-et-surface-muted);
}

#cockpit.flumen-et .cockpitLoadingProgressBar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--flumen-et-accent), #df4c91);
    transition: width 260ms ease;
}

#cockpit.flumen-et .cockpitLoadingProgressMeta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--flumen-et-text-muted);
    font-size: 12px;
    line-height: 1.4;
}

#cockpit.flumen-et .cockpitLoadingProgressCount {
    color: var(--flumen-et-text);
    font-weight: 700;
}

#cockpit.flumen-et .cockpitLoadingProgressEstimate {
    text-align: right;
}

#cockpit.flumen-et .cockpitLoadingProgressLabel {
    display: block;
    min-height: 1.4em;
    margin-top: 18px;
    color: var(--flumen-et-text-muted);
    font-size: 13px;
}

@keyframes flumenEtLoadingSpin {
    to { transform: rotate(360deg); }
}

#cockpit.flumen-et,
#cockpit.flumen-et *,
#cockpit.flumen-et *::before,
#cockpit.flumen-et *::after {
    box-sizing: border-box;
}

#cockpit.flumen-et > #cockpitGeom1,
#cockpit.flumen-et > .cockpitGeom2,
#cockpit.flumen-et #cockpitGeom3 {
    opacity: 0.12;
    pointer-events: none;
}

#cockpit.flumen-et > #cockpitGeom1 {
    left: -18vmin;
    bottom: -5vmin;
}

#cockpit.flumen-et > .cockpitGeom2 {
    right: -15vmin;
    top: 8vmin;
}

#cockpit.flumen-et > #whereIsItCockpitTitleFunctionClose {
    display: grid !important;
    place-items: center;
    top: clamp(5.25rem, 7vh, 7rem);
    right: clamp(0.75rem, 1.15vw, 1.5rem);
    /* Stay immediately below the global user navigation, but above every
     * Executive Theater surface so no transparent content layer can absorb
     * the close interaction. */
    z-index: 2147483646;
    width: clamp(2.5rem, 2.5vw, 3.25rem);
    height: clamp(2.5rem, 2.5vw, 3.25rem);
    margin: 0;
    border: 0.0625rem solid rgba(7, 17, 47, 0.1);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--flumen-et-text);
    box-shadow: var(--flumen-et-shadow-sm);
    line-height: 1;
    text-align: center;
    pointer-events: auto;
    touch-action: manipulation;
    backdrop-filter: blur(12px);
    transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

body.flumenPortalCockpit #cockpit.flumen-et > #whereIsItCockpitTitleFunctionClose {
    display: none !important;
}

#cockpit.flumen-et > #whereIsItCockpitTitleFunctionClose:hover {
    color: var(--flumen-et-accent);
    transform: translateY(-1px);
    box-shadow: var(--flumen-et-shadow-lg);
}

#cockpit.flumen-et > #cockpitEinAusBlend {
    top: 50%;
    left: calc(var(--flumen-et-sidebar-current-width) - 18px);
    display: grid;
    place-items: center;
    width: 36px;
    height: 48px;
    border: 1px solid rgba(176, 222, 237, 0.38);
    border-radius: 0 13px 13px 0;
    background: var(--flumen-et-navigation);
    color: var(--flumen-et-highlight);
    font-size: 15px;
    line-height: 1;
    box-shadow: 8px 8px 24px rgba(7, 17, 47, 0.18);
    transform: translateY(-50%);
    transition: left 220ms ease, color 160ms ease, background-color 160ms ease;
}

#cockpit.flumen-et > #cockpitEinAusBlend:hover {
    background: var(--flumen-et-accent);
    color: #ffffff;
}

#cockpit.flumen-et #cockpitContent {
    display: grid;
    grid-template-columns: var(--flumen-et-sidebar-current-width) minmax(0, 1fr);
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    transition: grid-template-columns 220ms ease;
}

#cockpit.flumen-et #cockpitContentTitle {
    position: relative;
    z-index: 30;
    display: flex;
    align-self: stretch;
    width: auto !important;
    min-width: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 26px 18px 22px;
    overflow: hidden;
    border-radius: 0;
    border-right: 1px solid rgba(176, 222, 237, 0.2);
    background:
        radial-gradient(circle at 15% 0, rgba(240, 99, 166, 0.22), transparent 32%),
        linear-gradient(180deg, var(--flumen-et-decision-dark) 0%, var(--flumen-et-decision-deep) 42%, var(--flumen-et-navigation) 100%);
    color: #ffffff;
    box-shadow: 12px 0 38px rgba(7, 17, 47, 0.08);
}

#cockpit.flumen-et #whereIsItCockpitTitle {
    height: auto;
    padding: 0;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 6px 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(176, 222, 237, 0.15);
    line-height: 1;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunctionButtonHolder {
    position: relative;
    display: grid;
    flex: 1 1 44px;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 6px;
    border: 1px solid rgba(176, 222, 237, 0.14);
    border-radius: 12px;
    background: rgba(176, 222, 237, 0.07);
    color: rgba(255, 255, 255, 0.78);
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunctionButtonHolder:empty {
    display: none;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunctionButtonHolder:hover {
    border-color: rgba(176, 222, 237, 0.32);
    background: rgba(176, 222, 237, 0.14);
    color: #ffffff;
    transform: translateY(-1px);
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunction {
    margin: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunctionLabel {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    z-index: 5;
    display: none;
    width: max-content;
    max-width: 180px;
    padding: 6px 8px;
    border: 1px solid rgba(176, 222, 237, 0.22);
    border-radius: 8px;
    background: var(--flumen-et-navigation-soft);
    color: #ffffff;
    font-size: 11px;
    line-height: 1.2;
    box-shadow: var(--flumen-et-shadow-sm);
    transform: translateX(-50%);
}

#cockpit.flumen-et #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunctionButtonHolder:hover .whereIsItCockpitTitleFunctionLabel {
    display: block;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunction_Add {
    border-color: rgba(192, 20, 102, 0.5) !important;
    background: var(--flumen-et-accent) !important;
    color: #ffffff !important;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunction_Add:hover {
    background: #d11a72 !important;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunction_Export {
    border-color: rgba(240, 99, 166, 0.34);
    background: rgba(240, 99, 166, 0.12);
    color: #ffd5e8;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunction_Export:hover {
    border-color: rgba(240, 99, 166, 0.58);
    background: rgba(192, 20, 102, 0.24);
    color: #ffffff;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunction_Export.is-exporting {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none;
}

#cockpit.flumen-et #whereIsItCockpitTitleFunction_Export.is-exporting .whereIsItCockpitTitleFunction {
    animation: flumenEtExportPulse 900ms ease-in-out infinite alternate;
}

@keyframes flumenEtExportPulse {
    from { opacity: 0.35; transform: translateY(1px); }
    to { opacity: 1; transform: translateY(-1px); }
}

/*
 * Embedded T-Code workspace
 *
 * The historic transaction surface is a sibling of #cockpit. In the routed
 * eT it occupies only the canvas to the right of the persistent Value Chain
 * OS navigation and receives a modern, compact workspace layout.
 */
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionInputDiv {
    left: calc(var(--analysis-matrix-navigation-width) + var(--flumen-et-workspace-navigation-width)) !important;
    right: 0;
    top: 0 !important;
    bottom: 0;
    display: none;
    width: calc(100vw - var(--analysis-matrix-navigation-width) - var(--flumen-et-workspace-navigation-width)) !important;
    height: 100vh;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--flumen-et-canvas, #f4f7fb);
    color: var(--flumen-et-text, #111a33);
    font-family: "Ubuntu", sans-serif;
    transition: left 220ms ease, width 220ms ease;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-dialog {
    width: min(calc(100vw - 36px), 720px);
    max-width: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: var(--flumen-et-text, #111a33);
    box-shadow: 0 28px 80px rgba(7, 17, 47, 0.24);
}

body.flumenPortalCockpit .flumen-et-tcode-launch-dialog::backdrop {
    background: rgba(7, 17, 47, 0.42);
    backdrop-filter: blur(7px);
}

body.flumenPortalCockpit .flumen-et-tcode-launch-card {
    position: relative;
    display: grid;
    justify-items: start;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(220, 229, 239, 0.9);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(240, 99, 166, 0.16), transparent 40%),
        #ffffff;
    font-family: "Ubuntu", sans-serif;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c01466, #f063a6);
}

body.flumenPortalCockpit .flumen-et-tcode-launch-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.86);
    color: #68748a;
    cursor: pointer;
    font-size: 14px;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(192, 20, 102, 0.1);
    color: #c01466;
    font-size: 22px;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-eyebrow {
    margin-bottom: 5px;
    color: #c01466;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-card h2 {
    max-width: calc(100% - 34px);
    margin: 0 0 9px;
    color: #111a33;
    font-size: clamp(21px, 3vw, 29px);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-card code {
    display: inline-block;
    margin-bottom: 17px;
    padding: 5px 9px;
    border-radius: 8px;
    background: #edf3f9;
    color: #68748a;
    font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-summary {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border-left: 3px solid rgba(192, 20, 102, 0.4);
    border-radius: 0 11px 11px 0;
    background: #f6f8fb;
    color: #4f5c72;
    font-size: 13px;
    line-height: 1.55;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-tabs {
    display: flex;
    width: 100%;
    margin-top: 18px;
    gap: 6px;
    overflow-x: auto;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-tabs button {
    padding: 7px 11px;
    border: 1px solid #dce5ef;
    border-radius: 9px;
    background: #fff;
    color: #68748a;
    cursor: pointer;
    font: 700 11px/1.3 "Ubuntu", sans-serif;
    white-space: nowrap;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-tabs button[aria-selected="true"] {
    border-color: rgba(192, 20, 102, 0.25);
    background: rgba(192, 20, 102, 0.09);
    color: #c01466;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-content {
    display: grid;
    width: 100%;
    max-height: min(34vh, 300px);
    margin-top: 10px;
    padding: 14px;
    gap: 9px;
    overflow-y: auto;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
    background: rgba(247, 249, 252, 0.9);
    color: #4f5c72;
    font-size: 12px;
    line-height: 1.45;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-fact {
    display: grid;
    grid-template-columns: minmax(120px, 0.38fr) 1fr;
    gap: 10px;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-fact strong,
body.flumenPortalCockpit .flumen-et-tcode-doc-item strong {
    color: #111a33;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-item {
    display: grid;
    padding: 10px 11px;
    gap: 3px;
    border-radius: 9px;
    background: #fff;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-item span,
body.flumenPortalCockpit .flumen-et-tcode-doc-item small {
    color: #68748a;
}

body.flumenPortalCockpit .flumen-et-tcode-doc-item ol {
    margin: 5px 0 0;
    padding-left: 18px;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 22px;
    gap: 9px;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-actions button {
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 11px;
    cursor: pointer;
    font: 700 12px/20px "Ubuntu", sans-serif;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-cancel {
    border: 1px solid #dce5ef;
    background: #ffffff;
    color: #4f5c72;
}

body.flumenPortalCockpit .flumen-et-tcode-launch-start {
    border: 1px solid #c01466;
    background: #c01466;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(192, 20, 102, 0.2);
}

body.flumenPortalCockpit .flumen-et-tcode-launch-start:hover {
    background: #d11a72;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionInputDiv > .cockpitGeom {
    display: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeader {
    display: none;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeadIcon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 0 28px;
    border: 1px solid rgba(176, 222, 237, 0.22);
    border-radius: 14px;
    background: rgba(176, 222, 237, 0.1);
    color: var(--flumen-et-highlight, #b0deed);
    font-size: 22px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeadLabel {
    margin: 0;
    color: #ffffff;
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(28px, 2.6vw, 44px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeadLabel::after {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.55);
    content: "T-Code ausführen";
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeContent {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 100%;
    padding: clamp(34px, 5vh, 64px) clamp(34px, 5vw, 82px);
    overflow: auto;
    background:
        radial-gradient(circle at 90% 0, rgba(176, 222, 237, 0.2), transparent 28%),
        linear-gradient(145deg, #f9fbfd, var(--flumen-et-canvas, #f4f7fb));
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #TransactionPath,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #TransactionName,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionCockpitDescription,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionProgressSteps,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionInputContent,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #TCinputLabelPflicht,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_implButton {
    box-sizing: border-box;
    width: min(100%, 1040px);
    margin-right: auto;
    margin-left: auto;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionProgressSteps {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStep {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(176, 222, 237, 0.55);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 5px 16px rgba(7, 17, 47, 0.04);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepMarker {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(39, 154, 111, 0.12);
    color: #16805a;
    font-size: 15px;
    font-weight: 800;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepHeading {
    overflow: hidden;
    color: var(--flumen-et-text, #111a33);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepSummary {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin: 6px 0 0;
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 12px;
    line-height: 1.4;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepSummary dt {
    margin: 0;
    font-weight: 600;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepSummary dd {
    margin: 0 8px 0 -12px;
    color: var(--flumen-et-text, #111a33);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepEdit {
    padding: 7px 10px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 9px;
    background: #ffffff;
    color: var(--flumen-et-accent, #c01466);
    cursor: pointer;
    font: 600 12px/1.2 "Ubuntu", sans-serif;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepEdit:hover {
    border-color: var(--flumen-et-accent, #c01466);
    background: rgba(192, 20, 102, 0.05);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #TransactionPath {
    height: auto;
    min-height: 20px;
    margin-bottom: 8px;
    padding: 0;
    border: 0;
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.4;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #TransactionName {
    margin-top: 0;
    margin-bottom: 7px;
    color: var(--flumen-et-text, #111a33);
    font-size: clamp(24px, 1.75vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionCockpitDescription {
    margin-bottom: 22px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionCockpitDescription p {
    max-width: 780px;
    margin: 0;
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 13px;
    line-height: 1.5;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionCockpitMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionCockpitMeta span {
    padding: 5px 8px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionCockpitCode {
    color: var(--flumen-et-accent, #c01466) !important;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionInputContent {
    position: relative;
    padding: clamp(20px, 2.4vw, 34px);
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--flumen-et-shadow-sm, 0 8px 24px rgba(7, 17, 47, 0.07));
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #TCinputLabel {
    margin-bottom: 22px;
    color: var(--flumen-et-text, #111a33);
    font-size: 17px;
    font-weight: 700;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable {
    border-collapse: separate;
    border-spacing: 0 12px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable td.tsLabel {
    width: clamp(190px, 24vw, 330px) !important;
    height: auto;
    padding: 8px 22px 8px 0;
    color: var(--flumen-et-text, #111a33);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    vertical-align: top;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionFieldLabel {
    padding-top: 4px;
    color: var(--flumen-et-text, #111a33);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionFieldHelp {
    display: block;
    max-width: 280px;
    margin-top: 4px;
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable .transactionInput {
    height: auto;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable .transactionInputFilter,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable .inputField,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable input,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable select {
    box-sizing: border-box;
    min-height: 42px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--flumen-et-text, #111a33);
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable .transactionInputFilter:focus,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable input:focus,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable select:focus {
    border-color: var(--flumen-et-accent, #c01466);
    outline: 0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(192, 20, 102, 0.1);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable .transactionInputPrefilled {
    border-color: rgba(176, 222, 237, 0.9);
    background:
        linear-gradient(90deg, rgba(176, 222, 237, 0.12), transparent 30%),
        #f8fafc;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #TCinputLabelPflicht {
    display: block;
    margin-top: 12px;
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 12px;
    font-style: normal;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_implButton {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_implButton .cockpitButton {
    min-width: 132px;
    min-height: 44px;
    margin: 0;
    padding: 10px 22px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 12px;
    background: #ffffff;
    color: var(--flumen-et-text, #111a33);
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(7, 17, 47, 0.05);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_implButton .cockpitButton:last-child {
    border-color: var(--flumen-et-accent, #c01466);
    background: var(--flumen-et-accent, #c01466);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(192, 20, 102, 0.2);
}

body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_implButton .cockpitButton:not(.deactivatedHeaderBackFunction):hover {
    border-color: var(--flumen-et-accent, #c01466);
    transform: translateY(-1px);
}

#cockpit.flumen-et #whereIsItCockpitSubTitleHolder {
    left: auto;
    width: 100% !important;
    height: 100%;
    padding: 0 2px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(176, 222, 237, 0.42) transparent;
}

#cockpit.flumen-et #whereIsItCockpitSubTitleHolder::-webkit-scrollbar {
    width: 6px;
}

#cockpit.flumen-et #whereIsItCockpitSubTitleHolder::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(176, 222, 237, 0.42);
}

#cockpit.flumen-et #whereIsItCockpitSubTitleLine1 {
    margin: 2px 8px 8px;
    color: var(--flumen-et-highlight);
    font-family: "Ubuntu", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-align: left;
    text-transform: uppercase;
}

#cockpit.flumen-et #whereIsItCockpitSubTitleLine2 {
    margin: 0 8px 28px;
    color: #ffffff;
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(25px, 2.25vw, 38px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

#cockpit.flumen-et #whereIsItCockpitSubTitleLine1 b,
#cockpit.flumen-et #whereIsItCockpitSubTitleLine2 b {
    color: var(--flumen-et-accent);
}

#cockpit.flumen-et #whereIsItCockpitSubTitleLastChangeLabel {
    margin: 0 8px 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#cockpit.flumen-et #whereIsItCockpitSubTitleLastChangeDay {
    margin: 0 8px 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.4;
}

#cockpit.flumen-et #whereIsItCockpitSubTitleNotUpToDate {
    margin: -14px 8px 20px;
    color: #ffd7e9;
    font-size: 12px;
    font-weight: 700;
}

#cockpit.flumen-et #whereIsItCockpitOrdnerlist,
#cockpit.flumen-et #whereIsItCockpitSectionlist,
#cockpit.flumen-et #whereIsItCockpitShopFloorlist,
#cockpit.flumen-et #whereIsItCockpitFunktionlist {
    display: grid;
    gap: 5px;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(240, 99, 166, 0.18);
    font-size: 14px;
    line-height: 1.25;
}

#cockpit.flumen-et .whereIsItCockpitSectionlistDiv,
#cockpit.flumen-et .whereIsItCockpitOrdnerlistDiv {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 42px;
    padding: 5px 9px;
    overflow: visible;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    transition:
        color 150ms ease,
        background-color 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}

#cockpit.flumen-et .whereIsItCockpitSectionlistDiv:hover,
#cockpit.flumen-et .whereIsItCockpitOrdnerlistDiv:hover {
    border-color: rgba(240, 99, 166, 0.3);
    background: rgba(192, 20, 102, 0.16);
    color: #ffffff;
    transform: translateX(2px);
}

#cockpit.flumen-et .whereIsItCockpitSectionlistDivAktive,
#cockpit.flumen-et .whereIsItCockpitOrdnerlistDivAktive {
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--flumen-et-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(192, 20, 102, 0.22);
}

#cockpit.flumen-et .whereIsItCockpitOrdnerlistIcon,
#cockpit.flumen-et .whereIsItCockpitOrdnerlistImg {
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0 9px 0 0;
    padding: 6px;
    border-radius: 9px;
    background: rgba(240, 99, 166, 0.13);
    color: #ffacd2;
    font-size: 16px;
    object-fit: contain;
}

#cockpit.flumen-et .whereIsItCockpitOrdnerlistTitle {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}

#cockpit.flumen-et .flumen-et-nav-copy {
    min-width: 0;
    overflow: hidden;
    text-align: left;
}

#cockpit.flumen-et .flumen-et-nav-subtitle {
    margin-top: 2px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .whereIsItCockpitSectionlistDivAktive .whereIsItCockpitOrdnerlistIcon,
#cockpit.flumen-et .whereIsItCockpitOrdnerlistDivAktive .whereIsItCockpitOrdnerlistIcon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitSubTitleHolder {
    padding-inline: 1px;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitSubTitleLine1,
#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitSubTitleLine2,
#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitSubTitleLastChangeLabel,
#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitSubTitleLastChangeDay,
#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitSubTitleNotUpToDate,
#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitOrdnerlistTitle,
#cockpit.flumen-et.flumen-et--sidebar-collapsed .flumen-et-nav-copy,
#cockpit.flumen-et.flumen-et--sidebar-collapsed .flumen-et-nav-subtitle {
    display: none !important;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitTitleFunctionHolder {
    display: grid !important;
    grid-template-columns: 1fr;
    margin: 0 5px 12px;
    padding-bottom: 12px;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitTitleFunctionHolder .whereIsItCockpitTitleFunctionButtonHolder {
    display: none;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitTitleFunction_Add,
#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitTitleFunction_Export,
#cockpit.flumen-et.flumen-et--sidebar-collapsed #whereIsItCockpitTitleFunction_Einstellung {
    display: grid !important;
    min-width: 44px;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitSectionlistDiv,
#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitOrdnerlistDiv {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 56px;
    padding-inline: 4px;
    text-align: center;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitSectionlistDiv::after,
#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitOrdnerlistDiv::after {
    content: attr(data-compact-label);
    display: block;
    width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitOrdnerlistIcon,
#cockpit.flumen-et.flumen-et--sidebar-collapsed .whereIsItCockpitOrdnerlistImg {
    margin-right: 0;
}

#cockpit.flumen-et #cockpitContentContent {
    min-width: 0;
    width: auto;
    height: 100%;
    margin: 0;
    padding: clamp(20px, 2.4vw, 38px);
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--flumen-et-text);
    scrollbar-width: thin;
    scrollbar-color: #bcc8d6 transparent;
}

#cockpit.flumen-et #whereIsItCockpitSectionsHolder {
    width: min(1240px, 100%);
    min-width: 0;
    min-height: 100%;
    margin: 0 auto;
    overflow: visible;
}

#cockpit.flumen-et #whereIsItCockpitSectionsTitle {
    position: relative;
    max-width: 820px;
    margin: 0 0 26px;
    padding: 4px 64px 34px 0;
    color: var(--flumen-et-text);
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-align: left;
}

#cockpit.flumen-et #whereIsItCockpitSectionsTitle > div {
    display: inline;
    color: var(--flumen-et-text-muted);
    font-weight: 400;
}

#cockpit.flumen-et #whereIsItCockpitSectionsTitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 17px;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--flumen-et-accent), var(--flumen-et-highlight));
}

#cockpit.flumen-et #whereIsItCockpitSectionContent {
    height: auto;
    min-height: 0;
    overflow: visible;
}

#cockpit.flumen-et .flumen-et-folder-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 14px;
    padding: 0 2px;
    gap: 24px;
}

#cockpit.flumen-et .flumen-et-folder-intro > div {
    display: grid;
    gap: 3px;
}

#cockpit.flumen-et .flumen-et-folder-intro span {
    color: var(--flumen-et-accent);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#cockpit.flumen-et .flumen-et-folder-intro h2 {
    margin: 0;
    color: var(--flumen-et-text);
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

#cockpit.flumen-et .flumen-et-folder-intro p {
    max-width: 520px;
    margin: 0;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.45;
    text-align: right;
}

#cockpit.flumen-et #whereIsItCockpitSections,
#cockpit.flumen-et #whereIsItCockpitDefaultSections {
    display: grid;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 2px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row;
    justify-content: stretch;
    align-items: start;
    gap: clamp(14px, 1.35vw, 20px) !important;
}

#cockpit.flumen-et #whereIsItCockpitDefaultSections {
    padding-bottom: 34px;
    border-bottom: 0;
}

#cockpit.flumen-et .whereIsItCockpitSection {
    isolation: isolate;
    display: grid;
    width: auto !important;
    min-width: 0;
    min-height: 178px;
    height: auto;
    margin: 0 !important;
    grid-template-rows: minmax(82px, 1fr) auto 30px;
    overflow: hidden;
    border: 1px solid var(--flumen-et-border);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(176, 222, 237, 0.08), transparent 46%),
        var(--flumen-et-surface);
    color: var(--flumen-et-text);
    box-shadow: var(--flumen-et-shadow-sm);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

#cockpit.flumen-et .whereIsItCockpitSection::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -68px;
    right: -52px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--flumen-et-highlight-soft);
}

#cockpit.flumen-et .whereIsItCockpitSection:hover {
    border-color: rgba(192, 20, 102, 0.25);
    box-shadow: var(--flumen-et-shadow-lg);
    transform: translateY(-5px);
}

#cockpit.flumen-et .whereIsItCockpitSection.activeSection {
    border: 1px solid rgba(192, 20, 102, 0.48);
    background:
        linear-gradient(145deg, rgba(192, 20, 102, 0.09), rgba(240, 99, 166, 0.025) 48%),
        var(--flumen-et-surface);
    box-shadow: 0 12px 30px rgba(192, 20, 102, 0.12);
}

#cockpit.flumen-et .whereIsItCockpitSection.activeSection::before {
    background: rgba(240, 99, 166, 0.18);
}

#cockpit.flumen-et .whereIsItCockpitSection:focus-within {
    outline: 3px solid rgba(192, 20, 102, 0.18);
    outline-offset: 2px;
}

#cockpit.flumen-et .whereIsItCockpitSectionHeadDivImageHolder {
    display: grid;
    place-items: center;
    min-height: 84px;
    padding: 18px 16px 8px;
}

#cockpit.flumen-et .whereIsItCockpitSectionHeadDivImage {
    position: static;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(176, 222, 237, 0.56);
    border-radius: 16px;
    background: var(--flumen-et-highlight-soft);
    color: var(--flumen-et-navigation) !important;
    font-size: 26px;
    line-height: 1;
    opacity: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transform: none;
}

#cockpit.flumen-et .whereIsItCockpitSectionHeadDivImage::before {
    line-height: 1;
}

#cockpit.flumen-et .whereIsItCockpitSectionHeadDivImage img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

#cockpit.flumen-et .whereIsItCockpitSectionHeadDivTextHolder {
    display: grid;
    align-items: start;
    min-width: 0;
    padding: 2px 16px 11px;
}

#cockpit.flumen-et .whereIsItCockpitSectionHeadDivText {
    position: static;
    width: 100%;
    padding: 0;
    overflow: hidden;
    color: var(--flumen-et-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    transform: none;
}

#cockpit.flumen-et .whereIsItCockpitSectionBottom {
    min-height: 30px;
    border-top: 1px solid rgba(220, 229, 239, 0.72);
    background: rgba(244, 247, 251, 0.65);
}

#cockpit.flumen-et .whereIsItCockpitSectionIndicator {
    top: 50%;
    width: 9px;
    height: 9px;
    border: 2px solid var(--flumen-et-surface);
    box-shadow: 0 0 0 2px rgba(7, 17, 47, 0.08);
}

#cockpit.flumen-et .whereIsItCockpitSectionAlertIndicator {
    z-index: 3;
    top: 14px;
    right: 54px;
    box-sizing: border-box;
    min-width: 22px;
    width: auto;
    height: 22px;
    margin: 0;
    padding: 0 6px;
    border: 2px solid var(--flumen-et-surface);
    border-radius: 999px;
    background: var(--flumen-et-accent);
    color: #ffffff;
    font-family: "Ubuntu", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(192, 20, 102, 0.2);
}

#cockpit.flumen-et .whereIsItCockpitSectionAlertIndicator.whereIsItCockpitAlertIndicatorSize1,
#cockpit.flumen-et .whereIsItCockpitSectionAlertIndicator.whereIsItCockpitAlertIndicatorSize2 {
    width: auto;
    font-size: 11px !important;
}

#cockpitSectionNewEdit.flumen-et-dialog {
    z-index: 10001;
}

#cockpitSectionNewEdit.flumen-et-dialog.show {
    display: block;
    opacity: 1;
}

#cockpitSectionNewEdit.flumen-et-dialog .confirmWindow {
    width: min(640px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid rgba(207, 220, 235, 0.95);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(7, 17, 47, 0.25);
}

#cockpitSectionNewEdit.flumen-et-dialog .headerBar {
    min-height: 64px;
    padding: 0 22px;
    background: var(--flumen-et-text);
    color: #ffffff;
}

#cockpitSectionNewEdit.flumen-et-dialog .modal_Content {
    padding: 24px;
}

#cockpit.flumen-et .whereIsItCockpitSectionOptions {
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--flumen-et-text-muted);
    font-size: 17px;
    box-shadow: 0 5px 16px rgba(7, 17, 47, 0.09);
}

#cockpit.flumen-et .whereIsItCockpitSectionOptions:hover {
    background: var(--flumen-et-accent);
    color: #ffffff;
}

#cockpit.flumen-et #whereIsItCockpitSection_addNew {
    border: 2px dashed rgba(192, 20, 102, 0.34);
    background: var(--flumen-et-accent-soft);
    box-shadow: none;
}

#cockpit.flumen-et #whereIsItCockpitSection_addNew .whereIsItCockpitSectionHeadDivImage {
    border-color: transparent;
    background: var(--flumen-et-accent);
    color: #ffffff !important;
}

#cockpit.flumen-et #whereIsItCockpitDefalutSectionsTitle {
    display: grid;
    width: 100%;
    margin: 40px 0 18px;
    padding: 26px 0 0;
    gap: 6px;
    border-top: 1px solid var(--flumen-et-border);
    color: var(--flumen-et-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

#cockpit.flumen-et #whereIsItCockpitDefalutSectionsTitle b {
    display: block;
    margin: 0;
    color: var(--flumen-et-text);
    font-size: 21px;
}

#cockpit.flumen-et #whereIsItCockpitDefalutSectionsTitle > div {
    max-width: 760px;
}

#cockpit.flumen-et #whereIsItCockpitDefalutSectionsTitle i {
    color: var(--flumen-et-text-muted);
    font-size: 11px;
}

#cockpit.flumen-et #whereIsItCockpitGoalSections {
    width: 100%;
    margin: 36px 0 0;
    padding: 24px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--flumen-et-navigation), #13234e);
    color: #ffffff;
    box-shadow: var(--flumen-et-shadow-sm);
}

#cockpit.flumen-et #whereIsItCockpitGoalTitle {
    margin-bottom: 12px;
    color: var(--flumen-et-highlight);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#cockpit.flumen-et #whereIsItCockpitGoalHolder {
    color: #ffffff;
    font-size: clamp(20px, 2vw, 28px);
}

#cockpit.flumen-et #whereIsItCockpitWarningInfo {
    align-items: center;
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid rgba(192, 20, 102, 0.22);
    border-radius: 13px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-text);
    font-size: 14px;
}

#cockpit.flumen-et #whereIsItCockpitWarningInfoLink {
    color: var(--flumen-et-accent);
}

#cockpit.flumen-et #cockpitHelp {
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--flumen-et-navigation);
    color: var(--flumen-et-highlight);
    font-size: 18px;
    line-height: 44px;
    box-shadow: var(--flumen-et-shadow-lg);
}

/* Modern eT overview and data tables */
#cockpit.flumen-et .cockpitOnePage {
    height: 100%;
}

#cockpit.flumen-et .cockpitOnePageHeader {
    align-items: center;
    width: min(100% - 32px, 1180px);
    min-height: 58px;
    margin: 10px auto 14px;
    padding: 8px 16px 12px;
    border-bottom: 1px solid var(--flumen-et-border);
    font-size: 16px;
}

#cockpit.flumen-et .onePageHeaderTitleHolder {
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
    margin: 0;
    color: var(--flumen-et-text);
    font-size: clamp(27px, 2.5vw, 38px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-align: left;
}

#cockpit.flumen-et .onePageHeaderSubIcontitle {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0 12px 0 0;
    border-radius: 12px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    font-size: 22px;
}

#cockpit.flumen-et .onePageHeaderSubtitle {
    margin: 0;
}

#cockpit.flumen-et .cockpitOnePageContentPreHolder {
    width: calc(100% - 32px);
    height: calc(100vh - 100px);
    margin: 0 auto;
}

#cockpit.flumen-et .cockpitOnePageContentList {
    height: 100%;
}

#cockpit.flumen-et .cockpitOnePageSideContent {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 2px 0 0;
}

#cockpit.flumen-et .cockpitOnePageContentHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    margin: 0 0 10px;
    padding: 7px 11px;
    border: 1px solid rgba(220, 229, 239, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--flumen-et-text);
    box-shadow: 0 8px 24px rgba(7, 17, 47, 0.055);
    backdrop-filter: blur(10px);
}

#cockpit.flumen-et .GruppierungPage .cockpitOnePageContentHeader {
    padding-right: calc(11px + var(--flumen-global-user-navigation-reserved-right, 220px));
}

#cockpit.flumen-et .cockpitOnePageContentHeaderIcon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 11px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    font-size: 17px;
}

#cockpit.flumen-et .cockpitOnePageContentHeaderTitle {
    display: block;
    flex: 1 1 auto;
    width: auto;
    color: var(--flumen-et-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

/* Keep the report add action beside its label instead of in the floating
 * portal-close lane at the far right of the header. */
#cockpit.flumen-et .cockpitOnePageContentHeader--report .cockpitOnePageContentHeaderTitle {
    flex: 0 1 auto;
}

#cockpit.flumen-et .flumenGroupingOverviewBack {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 32px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(101, 112, 135, 0.24);
    border-radius: 9px;
    background: rgba(244, 247, 251, 0.78);
    color: var(--flumen-et-text-muted);
    font: 600 12px/1.2 'Ubuntu', sans-serif;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

#cockpit.flumen-et .flumenGroupingOverviewBack .icon-leftarrow {
    font-size: 13px;
}

#cockpit.flumen-et .flumenGroupingOverviewBack:hover,
#cockpit.flumen-et .flumenGroupingOverviewBack:focus-visible {
    border-color: rgba(192, 20, 102, 0.34);
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    outline: none;
}

#cockpit.flumen-et .cockpitOnePageContentHeaderNew {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 1px solid var(--flumen-et-accent);
    border-radius: 11px;
    background: var(--flumen-et-accent);
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(192, 20, 102, 0.2);
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#cockpit.flumen-et .cockpitOnePageContentHeaderNew:hover {
    background: #d11a72;
    box-shadow: 0 10px 24px rgba(192, 20, 102, 0.28);
    transform: translateY(-1px);
}

#cockpit.flumen-et .cockpitOnePageContentFilter {
    float: none;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 8px;
}

#cockpit.flumen-et .cockpitSearchField {
    flex: 0 0 auto;
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--flumen-et-text-muted);
    font-size: 13px;
    font-weight: 650;
}

#cockpit.flumen-et .cockpitSearchFieldInput {
    width: min(32vw, 320px) !important;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 11px;
    outline: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--flumen-et-text);
    font: 500 14px/1 "Ubuntu", sans-serif;
    box-shadow: 0 5px 16px rgba(7, 17, 47, 0.04);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#cockpit.flumen-et .cockpitSearchFieldInput::-webkit-search-cancel-button {
    display: none;
}

#cockpit.flumen-et .cockpitSearchFieldInput::placeholder {
    color: #8b96aa;
    opacity: 1;
}

#cockpit.flumen-et .cockpitSearchFieldInput:focus {
    border-color: rgba(192, 20, 102, 0.55);
    box-shadow: 0 0 0 3px rgba(192, 20, 102, 0.1);
}

#cockpit.flumen-et .cockpitSideContentKPI,
#cockpit.flumen-et .cockpitOnePageContentContent {
    min-height: 0;
    height: auto;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--flumen-et-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--flumen-et-shadow-sm);
}

#cockpit.flumen-et .cockpitBatchActionHolder {
    position: sticky;
    z-index: 4;
    top: 0;
    min-height: 36px;
    max-height: 36px;
    align-items: center;
    padding: 4px 8px;
    border-bottom: 1px solid var(--flumen-et-border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

#cockpit.flumen-et .cockpitBatchActionHolder .iotDataOptionsItem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-width: max-content;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid rgba(192, 20, 102, 0.22);
    border-radius: 10px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
}

#cockpit.flumen-et .cockpitBatchActionHolder .logistikOptionText {
    font-size: 12px !important;
    font-weight: 650;
    white-space: nowrap;
}

#cockpit.flumen-et .cockpitBatchActionButton {
    font-size: 16px;
}

#cockpit.flumen-et .cockpitSideContentKPITable,
#cockpit.flumen-et .cockpitOnePageContentContentTable,
#cockpit.flumen-et .cockpitOnePageContentFAVTable,
#cockpit.flumen-et .cockpitOnePageContentSIMTable,
#cockpit.flumen-et .cockpitOnePageContentPPNTable,
#cockpit.flumen-et .cockpitOnePageContentBERTable,
#cockpit.flumen-et .cockpitOnePageContentDAHTable,
#cockpit.flumen-et .cockpitOnePageContentGRUTable,
#cockpit.flumen-et .cockpitOnePageContentSERTable {
    width: 100%;
    table-layout: fixed;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--flumen-et-text);
    font-size: 13px;
    line-height: 1.3;
}

#cockpit.flumen-et .cockpitOnePageContentGRUTable col.flumenGroupingVariantName {
    width: auto;
}

#cockpit.flumen-et .cockpitOnePageContentGRUTable col.flumenGroupingVariantDate {
    width: 180px;
}

#cockpit.flumen-et .cockpitOnePageContentGRUTable col.flumenGroupingVariantActions {
    width: 190px;
}

#cockpit.flumen-et .cockpitOnePageContentGRUTable th.flumenGroupingVariantDate,
#cockpit.flumen-et .cockpitOnePageContentGRUTable td.flumenGroupingVariantDate {
    box-sizing: border-box;
    padding-right: 18px !important;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

#cockpit.flumen-et .cockpitOnePageContentGRUTable th.flumenGroupingVariantActions,
#cockpit.flumen-et .cockpitOnePageContentGRUTable td.flumenGroupingVariantActions {
    box-sizing: border-box;
    width: 190px;
    min-width: 190px;
}

#cockpit.flumen-et .cockpitSideContentKPITable thead,
#cockpit.flumen-et .cockpitOnePageContentContentTable thead {
    position: sticky;
    z-index: 3;
    top: 36px;
}

#cockpit.flumen-et .cockpitSideContentKPITable th,
#cockpit.flumen-et .cockpitOnePageContentContentTable th {
    height: 34px;
    padding: 5px 8px !important;
    border-bottom: 1px solid var(--flumen-et-border);
    background: #f5f8fb !important;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
}

#cockpit.flumen-et .cockpitSideContentKPITable tbody tr,
#cockpit.flumen-et .cockpitOnePageContentContentTable tbody tr {
    height: 36px;
    line-height: 1.3;
    transition: background-color 130ms ease, box-shadow 130ms ease;
}

#cockpit.flumen-et .cockpitSideContentKPITable tbody tr:nth-child(even),
#cockpit.flumen-et .cockpitOnePageContentContentTable tbody tr:nth-child(even) {
    background: rgba(244, 247, 251, 0.55);
}

#cockpit.flumen-et .cockpitSideContentKPITable tbody tr:hover,
#cockpit.flumen-et .cockpitOnePageContentContentTable tbody tr:hover {
    background: rgba(192, 20, 102, 0.055);
    box-shadow: inset 3px 0 0 var(--flumen-et-accent);
}

#cockpit.flumen-et .cockpitSideContentKPITableBody td,
#cockpit.flumen-et .cockpitOnePageContentContentTableBody td {
    height: 36px;
    min-width: 0;
    padding: 4px 8px;
    border-bottom: 1px solid rgba(220, 229, 239, 0.78);
    vertical-align: middle;
}

#cockpit.flumen-et .cockpitSideContentKPITable input[type="checkbox"],
#cockpit.flumen-et .cockpitOnePageContentContentTable input[type="checkbox"],
#cockpit.flumen-et .cockpitOnePageContentDAHTable input[type="checkbox"] {
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    margin: 0;
    zoom: 1;
    accent-color: var(--flumen-et-accent);
}

#cockpit.flumen-et .cockpitOnePageContentContentTable th:first-child,
#cockpit.flumen-et .cockpitOnePageContentContentTable td:first-child,
#cockpit.flumen-et .cockpitOnePageContentDAHTable th:first-child,
#cockpit.flumen-et .cockpitOnePageContentDAHTable td:first-child {
    box-sizing: border-box;
    width: 48px !important;
    min-width: 48px !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    text-align: center;
    overflow: visible;
}

#cockpit.flumen-et .cockpitOnePageContentContentTable th:last-child,
#cockpit.flumen-et .cockpitOnePageContentContentTable td:last-child {
    width: 196px !important;
}

#cockpit.flumen-et .cockpitOnePageContentContentTable td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .cockpitOnePageContentContentTable td.cockpitExternalEinstellung {
    display: table-cell !important;
    min-width: 0;
    padding: 3px 6px !important;
    overflow: hidden;
    text-align: right !important;
    white-space: nowrap;
}

#cockpit.flumen-et td.cockpitExternalEinstellung > .cockpitExternalEinstellung,
#cockpit.flumen-et td.cockpitExternalEinstellung > [class*="icon-"],
#cockpit.flumen-et td.cockpitExternalEinstellung > .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    margin-left: 2px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--flumen-et-text, #07112f);
    font-size: inherit;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

#cockpit.flumen-et td.cockpitExternalEinstellung > .cockpitExternalEinstellung:hover,
#cockpit.flumen-et td.cockpitExternalEinstellung > [class*="icon-"]:hover,
#cockpit.flumen-et td.cockpitExternalEinstellung > .fa:hover {
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    transform: translateY(-1px);
}

.cockpitOverviewOverflowAction {
    display: none !important;
}

.cockpitRowActionMenu {
    position: fixed;
    z-index: 1000000000;
    display: grid;
    min-width: 210px;
    padding: 6px;
    border: 1px solid rgba(220, 229, 239, 0.96);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 42px rgba(7, 17, 47, 0.2);
    backdrop-filter: blur(14px);
}

.cockpitRowActionMenu button {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--flumen-et-text, #07112f);
    font: 600 12px/1.3 "Ubuntu", sans-serif;
    text-align: left;
    cursor: pointer;
}

.cockpitRowActionMenu button:hover,
.cockpitRowActionMenu button:focus-visible {
    outline: 0;
    background: var(--flumen-et-accent-soft, #f7e6ef);
    color: var(--flumen-et-accent, #c01466);
}

.cockpitRowActionMenu button > span:first-child {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    font-size: 15px;
}

#cockpit.flumen-et .cockpitOnePageContentLegend {
    float: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    min-height: 38px;
    margin: 8px 0 0;
    padding: 7px 11px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.4;
    align-items: center;
}

#cockpit.flumen-et .cockpitOnePageContentLegend .cockpit_legendTitle,
#cockpit.flumen-et .cockpitOnePageContentLegend .cockpit_legendSubholder {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
}

#cockpit.flumen-et .cockpitOnePageContentLegend .cockpit_legendSubholder {
    gap: 0.45rem;
    padding-right: 0;
}

#cockpit.flumen-et .cockpitOnePageContentLegend .cockpit_legendLabel {
    line-height: 1.2;
}

/* The Shopfloor status indicator is intentionally taller in data tables.
 * Inside the measures legend it represents a color dot and must stay round. */
#cockpit.flumen-et .cockpitOnePageContentLegend
    .cockpit_legendIcon.cockpit_shopFloorTableIndicator {
    box-sizing: border-box;
    flex: 0 0 0.8rem;
    width: 0.8rem;
    height: 0.8rem;
    min-width: 0.8rem;
    min-height: 0.8rem;
    margin: 0;
    padding: 0;
    align-self: center;
    border-radius: 50%;
    aspect-ratio: 1;
}

#cockpit.flumen-et #cockpitOnePage_shopfloor
    td:has(> .cockpit_shopFloorStatusIndicator) {
    vertical-align: middle;
}

#cockpit.flumen-et #cockpitOnePage_shopfloor
    .cockpit_shopFloorStatusIndicator {
    box-sizing: border-box;
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    min-width: 0.8rem;
    min-height: 0.8rem;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0;
    border-radius: 50%;
    aspect-ratio: 1;
}

#cockpit.flumen-et .cockpitOnePageContentButton {
    float: none;
    width: auto;
    min-width: 120px;
    margin: 12px 0 0 auto;
    line-height: normal;
}

#cockpit.flumen-et .cockpitOnePageContentButton .selectButton {
    min-height: 40px;
    padding: 10px 20px;
    border-radius: 11px;
    background: var(--flumen-et-accent);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 7px 18px rgba(192, 20, 102, 0.18);
}

/* Shared row-information popover */
#cockpit_tableTooltip {
    position: fixed;
    z-index: 999999999;
    display: none;
    width: min(340px, calc(100vw - 24px));
    max-height: min(430px, calc(100vh - 24px));
    overflow: auto;
    padding: 14px 16px;
    border: 1px solid rgba(220, 229, 239, 0.95);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--flumen-et-text, #07112f);
    text-align: left;
    word-break: normal;
    box-shadow: 0 18px 48px rgba(7, 17, 47, 0.18);
    backdrop-filter: blur(14px);
    transform: none;
}

#cockpit_tableTooltipTitle {
    margin: 0 0 9px;
    padding: 0 0 9px;
    border-bottom: 1px solid rgba(220, 229, 239, 0.95);
    color: var(--flumen-et-text, #07112f);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

#cockpit_tableTooltipTable {
    width: 100%;
    border-collapse: collapse;
    color: var(--flumen-et-text, #07112f);
    font-size: 12px;
    line-height: 1.4;
}

#cockpit_tableTooltipTable .cockpitTooltipSectionLabel {
    display: none;
}

#cockpit_tableTooltipTable td {
    padding: 5px 0;
    border-bottom: 1px solid rgba(220, 229, 239, 0.6);
    vertical-align: top;
}

#cockpit_tableTooltipTable tr:last-child td {
    border-bottom: 0;
}

#cockpit_tableTooltipTable td:first-child {
    width: 48%;
    padding-right: 12px;
    color: var(--flumen-et-text-muted, #657087);
    font-weight: 600;
}

#cockpit_tableTooltipTable td:last-child {
    color: var(--flumen-et-text, #07112f);
    font-weight: 600;
}

/* eT application catalog */
#cockpit.flumen-et #cockpitOnePageConfigurator {
    width: calc(100% - 32px);
    height: 100%;
    margin: 0 auto;
}

#cockpit.flumen-et #cockpitOnePageConfiguratorHeader {
    margin: 0 0 10px;
    padding: 4px 0 12px;
    border-bottom: 1px solid var(--flumen-et-border);
}

#cockpit.flumen-et #onePageHeaderTitleConfigurator {
    color: var(--flumen-et-text);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

#cockpit.flumen-et .flumenGroupingIntro {
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid var(--flumen-et-border);
    border-left: 4px solid var(--flumen-et-accent);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--flumen-et-shadow-sm);
}

#cockpit.flumen-et .flumenGroupingIntro[hidden] {
    display: none !important;
}

#cockpit.flumen-et #cockpitOnePageConfigurator.flumenGroupingConfigurator #cockpitConfiguratorSearchHolder {
    display: none !important;
}

#cockpit.flumen-et #cockpitOnePageConfigurator.flumenGroupingConfigurator #cockpiteConfiguratorButtonHolder {
    display: none !important;
}

#cockpit.flumen-et .flumenGroupingIntroCopy > span {
    display: block;
    margin-bottom: 4px;
    color: var(--flumen-et-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

#cockpit.flumen-et .flumenGroupingIntroCopy {
    min-width: 0;
}

#cockpit.flumen-et .flumenGroupingIntroCopy h2 {
    margin: 0 0 5px;
    color: var(--flumen-et-text);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
}

#cockpit.flumen-et .flumenGroupingIntroCopy p {
    margin: 0;
    color: var(--flumen-et-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

#cockpit.flumen-et .flumenGroupingExplanationOpen {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 64px;
    padding: 11px 14px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 12px;
    background: rgba(239, 246, 252, 0.9);
    color: var(--flumen-et-text);
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

#cockpit.flumen-et .flumenGroupingExplanationOpen:hover,
#cockpit.flumen-et .flumenGroupingExplanationOpen:focus-visible {
    border-color: rgba(192, 20, 102, 0.4);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 22px rgba(7, 17, 47, 0.08);
    outline: none;
}

#cockpit.flumen-et .flumenGroupingExplanationOpen > span {
    display: grid;
    flex: 1 1 auto;
    gap: 3px;
}

#cockpit.flumen-et .flumenGroupingExplanationOpen strong {
    color: var(--flumen-et-text);
    font-size: 13px;
    font-weight: 780;
    line-height: 1.3;
}

#cockpit.flumen-et .flumenGroupingExplanationOpen small {
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

#cockpit.flumen-et .flumenGroupingExplanationOpen > i {
    flex: 0 0 auto;
    color: var(--flumen-et-accent);
    font-size: 16px;
}

.flumenGroupingExplanationDialog {
    box-sizing: border-box;
    width: min(680px, calc(100vw - 56px));
    max-width: none;
    max-height: min(760px, calc(100vh - 40px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(220, 229, 239, 0.96);
    border-radius: 18px;
    background: #fff;
    color: var(--flumen-et-text, #07112f);
    box-shadow: 0 28px 80px rgba(2, 11, 38, 0.3);
}

.flumenGroupingExplanationDialog::backdrop {
    background: rgba(3, 11, 31, 0.48);
    backdrop-filter: blur(3px);
}

.flumenGroupingExplanationWindow {
    display: flex;
    flex-direction: column;
    max-height: min(760px, calc(100vh - 40px));
}

.flumenGroupingExplanationWindow > header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 22px 16px;
    border-bottom: 1px solid rgba(220, 229, 239, 0.9);
    background: linear-gradient(135deg, #f7fbff, #edf5fb);
}

.flumenGroupingExplanationWindow > header > div {
    flex: 1 1 auto;
    min-width: 0;
}

.flumenGroupingExplanationWindow header small {
    display: block;
    margin-bottom: 5px;
    color: var(--flumen-et-accent, #c01466);
    font: 800 10px/1.2 'Ubuntu', sans-serif;
    letter-spacing: 0.12em;
}

.flumenGroupingExplanationWindow header h2 {
    margin: 0;
    color: var(--flumen-et-text, #07112f);
    max-width: 560px;
    font: 760 clamp(20px, 2vw, 25px)/1.15 'Ubuntu', sans-serif;
    letter-spacing: -0.025em;
}

.flumenGroupingExplanationClose {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(101, 112, 135, 0.2);
    border-radius: 11px;
    background: #fff;
    color: var(--flumen-et-text, #07112f);
    cursor: pointer;
    font: 400 27px/1 sans-serif;
}

.flumenGroupingExplanationClose:hover,
.flumenGroupingExplanationClose:focus-visible {
    border-color: rgba(192, 20, 102, 0.4);
    color: var(--flumen-et-accent, #c01466);
    outline: none;
}

.flumenGroupingExplanationContent {
    display: grid;
    grid-template-columns: minmax(0, 0.618fr) minmax(0, 1fr);
    gap: 22px 28px;
    padding: 24px 26px 22px;
    overflow-y: auto;
    font: 14px/1.5 'Ubuntu', sans-serif;
    text-align: left;
}

.flumenGroupingExplanationContent h3 {
    margin: 0 0 9px;
    color: var(--flumen-et-text, #07112f);
    font: 760 16px/1.3 'Ubuntu', sans-serif;
    letter-spacing: -0.01em;
}

.flumenGroupingExplanationBenefit {
    min-width: 0;
}

.flumenGroupingExplanationContent .flumenGroupingIntroPromise {
    margin: 0 0 16px;
    color: var(--flumen-et-text-muted, #657087);
    line-height: 1.55;
}

.flumenGroupingExplanationBenefit h3 {
    color: var(--flumen-et-accent, #c01466);
}

.flumenGroupingExplanationFieldPower {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 16px;
    padding: 11px 12px;
    border-left: 3px solid var(--flumen-et-accent, #c01466);
    border-radius: 0 9px 9px 0;
    background: rgba(192, 20, 102, 0.055);
    color: var(--flumen-et-text-muted, #657087);
    font-size: 12px;
    line-height: 1.45;
}

.flumenGroupingExplanationFieldPower > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--flumen-et-accent, #c01466);
    font-size: 15px;
}

.flumenGroupingExplanationFieldPower p {
    margin: 0;
}

.flumenGroupingExplanationFieldPower strong {
    display: block;
    margin-bottom: 2px;
    color: var(--flumen-et-text, #07112f);
}

.flumenGroupingExplanationContent .flumenGroupingIntroTargets {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
}

.flumenGroupingExplanationContent .flumenGroupingIntroTargets span {
    padding: 6px 10px;
    border: 1px solid rgba(176, 222, 237, 0.8);
    border-radius: 999px;
    background: #f6fbfe;
    color: #294565;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.flumenGroupingExplanationContent ol {
    margin: 0;
    padding-left: 20px;
    color: var(--flumen-et-text-muted, #657087);
    line-height: 1.5;
}

.flumenGroupingExplanationContent li + li {
    margin-top: 10px;
}

.flumenGroupingExplanationContent .flumenGroupingIntroScope {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 14px;
    border-top: 1px dashed rgba(101, 112, 135, 0.28);
    color: var(--flumen-et-text-muted, #657087);
    font-size: 11px;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .flumenGroupingExplanationContent {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

#cockpit.flumen-et .flumenGroupingAgentOpen {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 215px;
    min-height: 54px;
    padding: 9px 13px;
    border: 1px solid rgba(192, 20, 102, 0.42);
    border-radius: 11px;
    background: var(--flumen-et-decision-dark);
    color: #fff;
    cursor: pointer;
    text-align: left;
}

#cockpit.flumen-et .flumenGroupingAgentOpen:hover,
#cockpit.flumen-et .flumenGroupingAgentOpen:focus-visible {
    border-color: var(--flumen-et-decision-light);
    background: var(--flumen-et-accent);
    outline: 2px solid rgba(192, 20, 102, 0.2);
    outline-offset: 2px;
}

#cockpit.flumen-et .flumenGroupingAgentOpen i {
    color: var(--flumen-et-highlight);
    font-size: 22px;
}

#cockpit.flumen-et .flumenGroupingAgentOpen span {
    display: grid;
    gap: 3px;
}

#cockpit.flumen-et .flumenGroupingAgentOpen b {
    font-size: 13px;
}

#cockpit.flumen-et .flumenGroupingAgentOpen small {
    color: #c8d2e2;
    font-size: 10px;
    font-weight: 500;
}

.flumenGroupingAssistantDialog {
    position: fixed;
    top: 164px;
    right: 20px;
    z-index: 2147483001;
    display: none;
    width: clamp(310px, 22vw, 360px);
    height: min(520px, calc(100dvh - 184px));
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
}

body.flumenPortalCockpit .flumenGroupingAssistantDialog.is-open {
    display: block;
    opacity: 1;
}

.flumenGroupingAssistantDialog.is-dragging {
    transition: none;
    user-select: none;
}

.flumenGroupingAssistantDialog.is-minimized {
    width: 280px;
    height: 76px;
}

.flumenGroupingAssistantWindow {
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto auto minmax(80px, 1fr) auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(176, 222, 237, 0.32);
    border-radius: 18px;
    background: #07142f;
    color: #e9f0fa;
    box-shadow: 0 24px 70px rgba(1, 10, 45, 0.42);
    font-family: Ubuntu, Arial, sans-serif;
    pointer-events: auto;
    text-align: left;
}

body.flumenGroupingAssistantDocked:not(.flumenGroupingAssistantMinimized):not(.flumenGroupingAssistantFloating) #cockpit.flumen-et #cockpitContentContent {
    padding-right: clamp(342px, calc(22vw + 34px), 394px);
}

body.flumenGroupingAssistantDocked:not(.flumenGroupingAssistantMinimized):not(.flumenGroupingAssistantFloating) #tableWindowHolder.flumenETGroupingWorkspace {
    right: clamp(326px, calc(22vw + 18px), 378px) !important;
}

.flumenGroupingAssistantWindow > header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 11px 14px 11px 18px;
    border-bottom: 1px solid rgba(176, 222, 237, 0.18);
    background: linear-gradient(135deg, #300a20, #07142f 72%);
    cursor: grab;
    touch-action: none;
}

.flumenGroupingAssistantDialog.is-dragging .flumenGroupingAssistantWindow > header {
    cursor: grabbing;
}

.flumenGroupingAssistantWindow > header > div {
    flex: 1 1 auto;
}

.flumenGroupingAssistantWindow header small {
    color: #f063a6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.flumenGroupingAssistantWindow header h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 20px;
}

#flumenGroupingAssistantStatus {
    color: #b0deed;
    font-size: 11px;
    font-weight: 700;
}

.flumenGroupingAssistantMinimize {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(176, 222, 237, 0.35);
    border-radius: 50%;
    background: rgba(176, 222, 237, 0.09);
    color: #fff;
    cursor: pointer;
    font: 700 18px/1 Arial, sans-serif;
}

.flumenGroupingAssistantMinimize:hover,
.flumenGroupingAssistantMinimize:focus-visible {
    border-color: #f063a6;
    background: rgba(240, 99, 166, 0.16);
    outline: none;
}

.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantWindow {
    grid-template-rows: 76px;
}

.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantWindow > header {
    box-sizing: border-box;
    min-height: 76px;
    padding: 11px 12px 11px 16px;
    border-bottom: 0;
}

.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantWindow > header > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantWindow header small {
    display: block;
    line-height: 1.2;
}

.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantLead,
.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantQuick,
.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantMessages,
.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantComposer,
.flumenGroupingAssistantDialog.is-minimized #flumenGroupingAssistantStatus {
    display: none;
}

.flumenGroupingAssistantDialog.is-minimized .flumenGroupingAssistantWindow header h2 {
    overflow: visible;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

#flumenGroupingAssistantStatus.is-busy::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border: 1.5px solid rgba(176, 222, 237, 0.35);
    border-top-color: #b0deed;
    border-radius: 50%;
    content: "";
    animation: flumenCO2AgentSpin 780ms linear infinite;
}

.flumenGroupingAssistantLead {
    margin: 0;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(176, 222, 237, 0.14);
    color: #bdcad9;
    font-size: 11px;
    line-height: 1.45;
}

.flumenGroupingAssistantQuick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(176, 222, 237, 0.14);
}

.flumenGroupingAssistantQuick button {
    padding: 6px 8px;
    border: 1px solid rgba(176, 222, 237, 0.28);
    border-radius: 6px;
    background: #0c1d42;
    color: #c5d3e4;
    cursor: pointer;
    font-size: 10px;
    text-align: left;
}

.flumenGroupingAssistantQuick button:hover,
.flumenGroupingAssistantQuick button:focus-visible {
    border-color: #f063a6;
    color: #fff;
    outline: 0;
}

.flumenGroupingAssistantMessages {
    min-height: 0;
    padding: 16px 18px;
    overflow-y: auto;
    background: linear-gradient(rgba(176, 222, 237, 0.025) 1px, transparent 1px) 0 0 / 100% 22px;
}

.flumenGroupingAssistantMessage {
    margin: 0 0 15px;
    color: #e9f0fa;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.flumenGroupingAssistantMessage strong {
    display: block;
    margin-bottom: 5px;
    color: #b0deed;
    font-size: 9px;
}

.flumenGroupingAssistantMessage--user strong {
    color: #f063a6;
}

.flumenGroupingAssistantMessage p {
    margin: 0;
    line-height: 1.55;
    text-align: left;
    white-space: pre-wrap;
}

.flumenGroupingAssistantMessage button {
    margin-top: 9px;
    padding: 7px 10px;
    border: 1px solid #b0deed;
    border-radius: 6px;
    background: rgba(176, 222, 237, 0.12);
    color: #dff6ff;
    cursor: pointer;
    font: inherit;
}

.flumenGroupingAssistantComposer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 12px 14px 16px;
    border-top: 1px solid rgba(176, 222, 237, 0.18);
    background: #091735;
}

.flumenGroupingAssistantComposer textarea {
    box-sizing: border-box;
    height: 84px;
    min-height: 84px;
    max-height: 84px;
    resize: none;
    padding: 10px;
    border: 1px solid rgba(176, 222, 237, 0.28);
    border-radius: 8px;
    background: #06112b;
    color: #fff;
    font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    text-align: left;
}

.flumenGroupingAssistantComposer textarea:focus {
    border-color: #f063a6;
    outline: 2px solid rgba(240, 99, 166, 0.16);
}

.flumenGroupingAssistantComposer button {
    align-self: stretch;
    min-width: 82px;
    border: 0;
    border-radius: 8px;
    background: var(--flumen-et-accent, #c01466);
    color: #fff;
    cursor: pointer;
    font-weight: 750;
}

.flumenGroupingAssistantComposer button:disabled {
    cursor: wait;
    opacity: 0.55;
}

#cockpit.flumen-et .groupModificationModal_Varianten.flumenGroupingAssistantRecommendation {
    border-color: var(--flumen-et-accent) !important;
    box-shadow: 0 0 0 4px rgba(192, 20, 102, 0.2), var(--flumen-et-shadow-lg) !important;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent.flumenGroupingObjectGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 12px 0 32px;
    padding-bottom: 12px;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 40px auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 72px;
    margin: 0;
    padding: 10px 18px;
    overflow: hidden;
    border: 1px solid #bfcbd8;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--flumen-et-text);
    cursor: pointer;
    font: inherit;
    text-align: center !important;
    box-shadow: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--flumen-et-accent);
    content: "";
    opacity: 0;
    transition: opacity 160ms ease;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard:hover,
#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard:focus-visible {
    border: 1px solid rgba(192, 20, 102, 0.46);
    outline: 0;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(7, 17, 47, 0.08);
    transform: translateY(-1px);
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard:hover::after,
#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard:focus-visible::after {
    opacity: 1;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard .groupModificationModal_iconG {
    box-sizing: border-box;
    display: grid;
    align-items: center;
    justify-content: center;
    width: 40px;
    max-width: none;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #17345e;
    font-size: 22px;
    line-height: 1;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCard img.groupModificationModal_iconG {
    padding: 8px;
    object-fit: contain;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .flumenGroupingObjectCardCopy {
    display: block;
    min-width: 0;
}

#cockpit.flumen-et #cockpitOnePageGruppeContent .groupModificationModalControlBarEntrySelect {
    display: block;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #111a33;
    font-size: clamp(16px, 1.15vw, 19px);
    font-weight: 720;
    line-height: 1.25;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    #cockpit.flumen-et .flumenGroupingIntro {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    #cockpit.flumen-et .flumenGroupingIntro {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    #cockpit.flumen-et .flumenGroupingExplanationOpen,
    #cockpit.flumen-et .flumenGroupingAgentOpen {
        grid-column: auto;
        min-width: 0;
        width: 100%;
    }

    .flumenGroupingExplanationDialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .flumenGroupingExplanationWindow {
        max-height: calc(100vh - 20px);
    }

    .flumenGroupingAssistantDialog {
        inset: 0;
        width: 100vw;
        padding: 0;
    }

    body.flumenGroupingAssistantDocked #cockpit.flumen-et #cockpitContentContent {
        padding-right: clamp(20px, 2.4vw, 38px);
    }

    body.flumenGroupingAssistantDocked #tableWindowHolder.flumenETGroupingWorkspace {
        right: 0 !important;
    }

    .flumenGroupingAssistantWindow {
        width: 100vw;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    #cockpit.flumen-et #cockpitOnePageGruppeContent.flumenGroupingObjectGrid {
        grid-template-columns: minmax(0, 1fr);
    }
}

#cockpit.flumen-et #cockpitConfiguratorSearchHolder {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: min(100%, 520px);
    margin: 0 0 12px;
}

#cockpit.flumen-et #cockpitConfiguratorSearchHolder .cockpitSearchField::before {
    content: "Suche";
    color: var(--flumen-et-text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#cockpit.flumen-et #cockpitConfiguratorSearchHolder .cockpitSearchField {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 0;
    line-height: normal !important;
}

#cockpit.flumen-et #cockpitConfiguratorSearchHolder #cockpitSearchFieldInput {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: 38px;
    margin: 0 !important;
    padding: 0 14px;
}

#cockpit.flumen-et #cockpitSwitchConfigApps {
    width: auto;
    min-width: 88px;
    margin: 0 0 10px auto;
    gap: 5px;
    font-size: 18px;
}

#cockpit.flumen-et #cockpitSwitchConfigApps .cockpitAppKon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--flumen-et-text-muted);
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

#cockpit.flumen-et #cockpitSwitchConfigApps .cockpitAppKon.active,
#cockpit.flumen-et #cockpitSwitchConfigApps .cockpitAppKon:hover {
    border-color: rgba(192, 20, 102, 0.35);
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
}

#cockpit.flumen-et #cockpitOnePageConfiguratorListTitle {
    margin: 0 0 8px;
    color: var(--flumen-et-text-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#cockpit.flumen-et #cockpitOnePageConfiguratorContent {
    min-height: 0;
    padding: 8px 0 0;
    background: transparent;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocu {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: clamp(360px, 51vh, 610px);
    min-height: 0;
    margin: 8px 0 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--flumen-et-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(7, 17, 47, 0.07);
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: clamp(22px, 2.1vw, 34px) clamp(24px, 2.6vw, 42px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(7, 17, 47, 0.1);
    border-radius: 14px;
    background: #ffffff;
    color: var(--flumen-et-text);
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    overflow-wrap: anywhere;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #bcc8d6 transparent;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText::-webkit-scrollbar {
    width: 8px;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #bcc8d6;
    background-clip: padding-box;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText > :first-child {
    margin-top: 0;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText > :last-child {
    margin-bottom: 0;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText p {
    max-width: 88ch;
    margin: 0 0 1.15em;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText h1,
#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText h2,
#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText h3,
#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText h4 {
    max-width: 42ch;
    margin: 1.35em 0 0.55em;
    color: var(--flumen-et-text);
    font-weight: 700;
    line-height: 1.25;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText ul,
#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText ol {
    max-width: 86ch;
    margin: 0.45em 0 1.15em;
    padding-left: 1.45em;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText li {
    padding-left: 0.2em;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText li + li {
    margin-top: 0.38em;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText strong,
#cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText b {
    font-weight: 700;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionButtonHolder {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    float: none;
    width: 100%;
    margin: 0;
    padding: 16px 0 0;
    justify-content: flex-end;
    gap: 12px;
}

#cockpit.flumen-et .cockpitOnePageContentContentQuestionButtonHolder .cockpitButton {
    min-width: 142px;
    height: 42px;
    margin: 0 !important;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 650;
    line-height: 42px;
}

#cockpit.flumen-et .flumen-et-application-launch-dialog {
    display: none;
    width: min(calc(100vw - 48px), 1120px);
    max-width: none;
    height: min(760px, calc(100dvh - 48px));
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 22px;
    border: 1px solid rgba(220, 229, 239, 0.95);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(176, 222, 237, 0.2), transparent 36%),
        #f9fbfd;
    color: var(--flumen-et-text);
    box-shadow: 0 30px 90px rgba(7, 17, 47, 0.26);
}

#cockpit.flumen-et .flumen-et-application-launch-dialog[open] {
    display: flex;
}

#cockpit.flumen-et .flumen-et-application-launch-dialog::backdrop {
    background: rgba(7, 17, 47, 0.42);
    backdrop-filter: blur(7px);
}

body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace {
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    background: var(--background-color) !important;
    z-index: 120100 !important;
}

body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace #tableWindowHeader,
body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace #tableWindowContent {
    height: 100dvh !important;
    max-height: 100dvh !important;
    box-sizing: border-box;
}

body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace #tableWindowContent {
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace #layoutMenu_InfoPanel_Add {
    height: auto !important;
    min-height: 100%;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
}

body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace #newPotentialBasicInfoHolder {
    height: auto !important;
    max-height: none !important;
}

body.flumenPortalCockpit #tableWindowHolder.flumenETCatalogWorkspace #pPanel_Overview_Button2 {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 0.75rem 0;
    background: var(--background-color);
}

/* A loaded P-Panel is an application surface of its own. The legacy layout
   reserves 12vmin above it for the Explorer header, which exposes and shifts
   the Executive Theater underneath. */
body.flumenPortalCockpit #problemPanelHolder,
body.flumenProblemPanelVisible #problemPanelHolder {
    --flumen-ppanel-edge: clamp(1rem, 2vw, 3rem);
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: auto !important;
    box-sizing: border-box;
    background: var(--background-color) !important;
    z-index: 120100 !important;
}

body.flumenProblemPanelVisible #problemPanelCloseButton {
    display: flex !important;
    position: fixed !important;
    top: var(--global-user-navigation-top, clamp(0.55rem, 0.8vw, 1rem));
    right: calc(
        var(--global-user-navigation-right, clamp(0.7rem, 1vw, 1.25rem))
        + (3 * var(--global-user-navigation-size, clamp(2.65rem, 3.2vw, 3.35rem)))
        + (3 * var(--global-user-navigation-gap, clamp(0.3rem, 0.45vw, 0.55rem)))
    );
    z-index: 120102;
    width: var(--global-user-navigation-size, clamp(2.65rem, 3.2vw, 3.35rem));
    height: var(--global-user-navigation-size, clamp(2.65rem, 3.2vw, 3.35rem));
    margin: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--text-color-sidePanel) 18%, transparent);
    border-radius: 0.75rem;
    background: var(--background-color);
    box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, #001136 16%, transparent);
    cursor: pointer;
}

/* Dialogs launched from a full-screen P-Panel must remain above that panel.
   Keep this scoped to the two table dialogs instead of raising every modal. */
body.flumenProblemPanelVisible [id^="FlumenModal_"],
body.flumenProblemPanelVisible [id^="etDataTable_Export_"],
body.flumenProblemPanelVisible #logistikTableConfig {
    z-index: 120200 !important;
}

body.flumenProblemPanelVisible [id^="FlumenModal_"] .modal-dialog,
body.flumenProblemPanelVisible [id^="etDataTable_Export_"] .modal-dialog,
body.flumenProblemPanelVisible #logistikTableConfig .modal-dialog {
    position: relative;
    z-index: 120201;
}

body.flumenProblemPanelVisible #analysis-feature-legend-explorer-host,
body.flumenProblemPanelVisible .analysis-feature-legend-dialog {
    display: none !important;
}

body.flumenPortalCockpit #problemPanelHolder #problemPanelHeader,
body.flumenPortalCockpit #problemPanelHolder #problemPanelHeaderSub,
body.flumenProblemPanelVisible #problemPanelHolder #problemPanelHeader,
body.flumenProblemPanelVisible #problemPanelHolder #problemPanelHeaderSub {
    width: calc(100% - (2 * var(--flumen-ppanel-edge)));
    margin: 1rem var(--flumen-ppanel-edge);
    box-sizing: border-box;
}

body.flumenPortalCockpit #problemPanelHolder #problemPanelHeaderSub,
body.flumenProblemPanelVisible #problemPanelHolder #problemPanelHeaderSub {
    margin-top: 0;
}

body.flumenPortalCockpit #problemPanelHolder #problemPanel,
body.flumenProblemPanelVisible #problemPanelHolder #problemPanel {
    width: 100%;
    margin-top: 0.5rem;
    box-sizing: border-box;
}

body.flumenPortalCockpit #problemPanelHolder #problemTable,
body.flumenProblemPanelVisible #problemPanelHolder #problemTable {
    width: calc(100% - (2 * var(--flumen-ppanel-edge)));
    margin: 0 var(--flumen-ppanel-edge) 2rem;
    box-sizing: border-box;
}

#cockpit.flumen-et .flumen-et-application-launch-header {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 52px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 0 0 18px;
}

#cockpit.flumen-et .flumen-et-application-launch-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    font-size: 23px;
}

#cockpit.flumen-et .flumen-et-application-launch-heading {
    display: grid;
    min-width: 0;
    gap: 2px;
}

#cockpit.flumen-et .flumen-et-application-launch-heading span {
    color: var(--flumen-et-accent);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#cockpit.flumen-et .flumen-et-application-launch-heading h2 {
    margin: 0;
    overflow: hidden;
    color: var(--flumen-et-text);
    font-size: clamp(21px, 2.2vw, 29px);
    line-height: 1.18;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .flumen-et-application-launch-heading small {
    color: var(--flumen-et-text-muted);
    font: 650 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
}

#cockpit.flumen-et .flumen-et-application-launch-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--flumen-et-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--flumen-et-text-muted);
    cursor: pointer;
    transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

#cockpit.flumen-et .flumen-et-application-launch-close:hover {
    border-color: rgba(192, 20, 102, 0.35);
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
}

#cockpit.flumen-et .flumen-et-application-launch-dialog .cockpitOnePageContentContentQuestionDocuText {
    flex: 0 1 auto;
    max-height: 28%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.94);
}

#cockpit.flumen-et .flumen-et-application-launch-variants {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 18px 2px 2px;
    overflow: hidden;
}

#cockpit.flumen-et .flumen-et-application-launch-variants-header {
    display: flex;
    flex: 0 0 auto;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0 5px 10px;
}

#cockpit.flumen-et .flumen-et-application-launch-variants-header span {
    color: var(--flumen-et-text);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.03em;
}

#cockpit.flumen-et .flumen-et-application-launch-variants-header small {
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    font-weight: 600;
}

#cockpit.flumen-et .flumen-et-application-launch-variants-grid {
    display: grid;
    min-height: 0;
    padding: 2px 5px 5px;
    overflow-y: auto;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 11px;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: #bcc8d6 transparent;
}

#cockpit.flumen-et .flumen-et-application-launch-variant {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto auto minmax(28px, 1fr) auto;
    min-width: 0;
    min-height: 138px;
    padding: 14px;
    gap: 7px;
    overflow: hidden;
    border: 1px solid var(--flumen-et-border);
    border-radius: 15px;
    background:
        radial-gradient(circle at 100% 0, var(--flumen-et-highlight-soft), transparent 44%),
        #ffffff;
    color: var(--flumen-et-text);
    cursor: pointer;
    text-align: left;
    box-shadow: 0 7px 20px rgba(7, 17, 47, 0.055);
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

#cockpit.flumen-et .flumen-et-tcode-card-description {
    display: -webkit-box;
    overflow: hidden;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#cockpit.flumen-et .flumen-et-application-launch-variant::after {
    content: "Öffnen  →";
    position: absolute;
    right: 13px;
    bottom: 13px;
    color: var(--flumen-et-accent);
    font-size: 10px;
    font-weight: 750;
}

#cockpit.flumen-et .flumen-et-application-launch-variant:hover,
#cockpit.flumen-et .flumen-et-application-launch-variant:focus-visible {
    border-color: rgba(192, 20, 102, 0.4);
    outline: 0;
    box-shadow: 0 12px 28px rgba(192, 20, 102, 0.11);
    transform: translateY(-2px);
}

#cockpit.flumen-et .flumen-et-application-launch-variant.disabledElementSimple {
    cursor: not-allowed;
    opacity: 0.42;
    filter: grayscale(0.55);
}

#cockpit.flumen-et .flumen-et-application-launch-variants-empty {
    margin: 0;
    padding: 20px;
    border: 1px dashed var(--flumen-et-border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--flumen-et-text-muted);
    font-size: 13px;
}

#cockpit.flumen-et .flumen-et-application-launch-dialog .flumen-et-application-launch-primary {
    background: var(--flumen-et-accent);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(192, 20, 102, 0.18);
}

#cockpit.flumen-et .flumen-et-application-launch-dialog .flumen-et-application-launch-primary:hover {
    background: #d11a72;
}

#cockpit.flumen-et #cockpitOnePageAppContent {
    display: block;
    min-height: 0;
    max-height: none;
    margin: 0;
}

/* CO₂ detail pages must use the remaining portal width. Legacy viewport
   calculations can otherwise collapse the CCF workspace into the side rail. */
body.flumenPortalCO2 {
    --flumen-et-surface: #ffffff;
    --flumen-et-text: #111a33;
    --flumen-et-text-muted: #68748a;
    --flumen-et-border: #d8e6dc;
    --flumen-et-accent: #c01466;
    --flumen-co2-green: #34a853;
    --flumen-co2-mint: #25d17f;
    --flumen-co2-green-soft: rgba(52, 168, 83, .09);
    --flumen-co2-mint-soft: rgba(37, 209, 127, .08);
}

#newCO2ContentPage {
    --flumen-et-surface: #ffffff;
    --flumen-et-text: #111a33;
    --flumen-et-text-muted: #68748a;
    --flumen-et-border: #d8e6dc;
    --flumen-et-accent: #c01466;
    --flumen-co2-green: #34a853;
    --flumen-co2-mint: #25d17f;
    --flumen-co2-green-soft: rgba(52, 168, 83, .09);
    --flumen-co2-mint-soft: rgba(37, 209, 127, .08);
    box-sizing: border-box;
    grid-column: 2;
    width: 100%;
    min-width: 0;
    margin-top: 0;
}

#flumenCO2Navigation {
    display: none;
}

#cockpit.flumen-et.flumen-co2-mode #cockpitContent {
    --flumen-co2-navigation-width: clamp(204px, 16vw, 236px);
    grid-template-columns: var(--flumen-co2-navigation-width) minmax(0, 1fr);
    background:
        radial-gradient(circle at 82% 8%, rgba(37, 209, 127, .09), transparent 31%),
        linear-gradient(145deg, #f9fbf9 0%, #f3f8f4 62%, #edf5ef 100%);
}

#cockpit.flumen-et.flumen-co2-mode #cockpitContentTitle {
    display: none !important;
}

#cockpit.flumen-et.flumen-co2-mode > #cockpitEinAusBlend {
    display: none !important;
}

#cockpit.flumen-et.flumen-co2-mode #flumenCO2Navigation {
    position: relative;
    z-index: 5;
    box-sizing: border-box;
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 17px 10px 12px;
    overflow: hidden;
    border-right: 1px solid rgba(176, 222, 237, .2);
    background: linear-gradient(180deg, #16091a 0%, #07112f 48%, #07112f 100%);
    color: #fff;
}

.flumenCO2NavigationBrand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 5px 14px;
    padding: 0 2px 13px;
    border-bottom: 1px solid rgba(176, 222, 237, .17);
}

.flumenCO2NavigationBrand > span {
    display: grid;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    place-items: center;
    border-radius: 6px;
    background: var(--flumen-co2-green);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
}

.flumenCO2NavigationBrand > div {
    display: grid;
    min-width: 0;
}

#flumenCO2AgentOpen,
#flumenWSAAgentOpen,
#flumenSupplyAgentOpen {
    display: none;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(176, 222, 237, .24);
    border-radius: 5px;
    background: rgba(176, 222, 237, .08);
    color: var(--flumen-et-highlight);
    cursor: pointer;
}

#flumenCO2NavigationToggle {
    display: grid;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    place-items: center;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(176, 222, 237, .24);
    border-radius: 5px;
    background: rgba(176, 222, 237, .08);
    color: #b0deed;
    cursor: pointer;
}

#flumenCO2NavigationToggle:hover,
#flumenCO2NavigationToggle:focus-visible {
    border-color: rgba(176, 222, 237, .62);
    background: rgba(176, 222, 237, .16);
    color: #fff;
    outline: none;
}

#flumenCO2AgentOpen:hover,
#flumenWSAAgentOpen:hover,
#flumenSupplyAgentOpen:hover {
    border-color: rgba(240, 99, 166, .55);
    background: rgba(192, 20, 102, .2);
    color: #fff;
}

#flumenWSAAgentOpen,
#flumenSupplyAgentOpen {
    margin-left: 0;
}

.flumenCO2NavigationBrand strong {
    font-size: 15px;
}

.flumenCO2NavigationBrand small {
    color: #c3cedd;
    font-size: 10px;
}

#flumenCO2NavigationLinks {
    min-height: 0;
    padding-right: 2px;
    overflow-x: hidden;
    overflow-y: auto;
}

.flumenCO2NavigationGroup {
    margin: 14px 8px 5px;
    color: #aeb8ca;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.flumenCO2NavigationItem {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    margin: 2px 0;
    padding: 5px 7px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #e7ecf4;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.flumenCO2NavigationItem:hover {
    border-color: rgba(176, 222, 237, .15);
    background: rgba(176, 222, 237, .08);
    color: #fff;
}

.flumenCO2NavigationItem.is-active {
    border-color: rgba(240, 99, 166, .32);
    background: rgba(192, 20, 102, .22);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--flumen-et-accent);
}

.flumenCO2NavigationIcon {
    display: grid;
    width: 27px;
    height: 24px;
    place-items: center;
    color: #9fe0b2;
    font-size: 15px;
}

.flumenCO2NavigationIcon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.flumenCO2NavigationLabel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Outside the portal landing page, keep the rail compact but still readable:
 * every module remains an own fLUMEN icon with a concise label underneath. */
#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #cockpitContent {
    --flumen-co2-navigation-width: 88px;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2Navigation {
    padding: 12px 6px 10px;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationBrand {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    margin: 0 0 9px;
    padding: 0 0 10px;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationBrand > div,
#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationGroup,
#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationStandards {
    display: none;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2NavigationToggle,
#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2AgentOpen,
#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenWSAAgentOpen,
#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenSupplyAgentOpen {
    margin-left: 0;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2NavigationLinks {
    display: grid;
    gap: 3px;
    padding-right: 0;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationItem {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 27px auto;
    justify-items: center;
    gap: 2px;
    min-height: 54px;
    margin: 0;
    padding: 5px 2px;
    text-align: center;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationIcon {
    width: 30px;
    height: 27px;
    font-size: 17px;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationIcon img {
    width: 22px;
    height: 22px;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationLabel {
    width: 100%;
    overflow: visible;
    color: transparent;
    font-size: 0;
    line-height: 1;
    white-space: normal;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationLabel::after {
    content: attr(data-compact-label);
    display: block;
    overflow: hidden;
    color: #dce7f1;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationItem.is-active .flumenCO2NavigationLabel::after {
    color: #fff;
}

.flumenCO2NavigationStandards {
    display: grid;
    gap: 2px;
    margin: auto 5px 0;
    padding: 10px 7px 0;
    border-top: 1px solid rgba(176, 222, 237, .17);
    color: #aeb8ca;
    font-size: 8px;
}

.flumenCO2NavigationStandards strong {
    color: #fff;
    font-size: 9px;
}

.flumenCO2AgentDialogPosition {
    width: min(660px, 90vw);
    margin: 7vh auto 0;
}

.flumenAgentHubBackdrop {
    position: fixed;
    inset: 0;
    /* Above the shared portal shell (2147483002), below agent dialogs/loaders. */
    z-index: 2147483003;
    background: rgba(1, 10, 45, .34);
    opacity: 0;
    transition: opacity 180ms ease;
}
.flumenAgentHubBackdrop.is-open { opacity: 1; }

.flumenAgentHub {
    box-sizing: border-box;
    position: fixed;
    right: 0;
    top: var(--analysis-matrix-header-height, 4rem);
    bottom: 0;
    z-index: 2147483004;
    width: min(30rem, 94vw);
    height: auto;
    overflow-y: auto;
    padding: clamp(1.5rem, 1.5vw, 2.5rem);
    border-left: .0625rem solid rgba(176, 222, 237, .34);
    background: linear-gradient(160deg, #081a3b, #06112e);
    box-shadow: -1.5rem 0 4.5rem rgba(1, 10, 45, .42);
    color: #edf5fb;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 220ms cubic-bezier(.2, .8, .2, 1), visibility 220ms;
}
.flumenAgentHub.is-open { transform: translateX(0); visibility: visible; }
.flumenAgentHub > header { display: flex; align-items: center; justify-content: space-between; gap: 1.125rem; }
.flumenAgentHub > header small { color: #76d4e8; font-size: clamp(.7rem, .55vw, .9rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.flumenAgentHub > header h2 { margin: .3125rem 0 0; color: #fff; font-size: clamp(1.7rem, 1.4vw, 2.4rem); }
.flumenAgentHub > header button {
    width: 2.5rem; height: 2.5rem; border: .0625rem solid rgba(176, 222, 237, .35); border-radius: 50%;
    background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem;
}
.flumenAgentHubLead { margin: 1.5rem 0 1.125rem; color: #aebdd0; font-size: clamp(.85rem, .7vw, 1.1rem); line-height: 1.45; }

/* Customer AI connection: scoped controls, independent of portal form typography. */
.flumenAgentHub .flumenMcpCard,
.flumenAgentHub .flumenMcpConnections {
    text-align: left;
    font-size: .875rem;
    line-height: 1.55;
    color: #adbed4;
    min-width: 0;
}
.flumenAgentHub .flumenMcpCard {
    margin: 1rem 0 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(118, 212, 232, .2);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(26, 63, 101, .52), rgba(11, 29, 58, .75));
    box-shadow: 0 .5rem 1.5rem rgba(0, 8, 28, .14);
}
.flumenAgentHub .flumenMcpCardHeading { display: flex; align-items: center; gap: .875rem; }
.flumenAgentHub .flumenMcpCardIcon {
    display: grid; place-items: center; flex: 0 0 2.75rem; height: 2.75rem;
    border-radius: .875rem; color: #83deed; background: rgba(118, 212, 232, .12); font-size: 1.25rem;
}
.flumenAgentHub .flumenMcpCard h3 { margin: 0; font-size: 1.125rem; line-height: 1.35; color: #f0f7ff; font-weight: 650; }
.flumenAgentHub .flumenMcpCardHeading p { margin: .25rem 0 0; color: #80c7da; font-size: .75rem; }
.flumenAgentHub .flumenMcpIntro { margin: 1rem 0 1.25rem; font-size: .875rem; }
.flumenAgentHub .flumenMcpCard label { display: block; margin: 0 0 .5rem; font-size: .75rem; color: #c0d1e4; font-weight: 600; text-align: left; }
.flumenAgentHub .flumenMcpInput {
    box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 2.75rem;
    margin: 0 0 .875rem; padding: .625rem .75rem;
    border: 1px solid #354e70; border-radius: .625rem; background: #07172f; color: #e1edf9;
    font: .8125rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
    text-align: left; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
}
.flumenAgentHub .flumenMcpInput:focus-visible { outline: 2px solid #76d4e8; outline-offset: 2px; border-color: #76d4e8; }
.flumenAgentHub .flumenMcpButton,
#flumenMcpOAuthConnections button {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 2.5rem; padding: .625rem .875rem; border: 1px solid #365675; border-radius: .625rem;
    background: #153453; color: #dfedf7; font: inherit; font-size: .75rem; font-weight: 600; line-height: 1.35;
    cursor: pointer; white-space: normal; text-align: center; transition: background 150ms, border-color 150ms;
}
.flumenAgentHub .flumenMcpButton:hover,
#flumenMcpOAuthConnections button:hover { background: #204766; border-color: #76d4e8; }
.flumenAgentHub .flumenMcpButton:focus-visible,
#flumenMcpOAuthConnections button:focus-visible { outline: 2px solid #76d4e8; outline-offset: 3px; }
.flumenAgentHub .flumenMcpButton--primary { width: 100%; color: #062439; background: #80d7e6; border-color: #80d7e6; }
.flumenAgentHub .flumenMcpButton--primary:hover { color: #062439; background: #a4e6ef; }
.flumenAgentHub .flumenMcpButton--quiet { background: transparent; border-color: rgba(118, 212, 232, .2); }
.flumenAgentHub .flumenMcpButton--danger { color: #f0b7bc; background: transparent; border-color: rgba(240, 183, 188, .25); }
.flumenAgentHub .flumenMcpButton:disabled,
#flumenMcpOAuthConnections button:disabled { opacity: .5; cursor: wait; }
.flumenAgentHub .flumenMcpCredential { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(118, 212, 232, .15); }
.flumenAgentHub .flumenMcpCredential[hidden],
.flumenAgentHub .flumenMcpCard[hidden] { display: none; }
.flumenAgentHub .flumenMcpActions { display: flex; gap: .625rem; flex-wrap: wrap; }
.flumenAgentHub .flumenMcpActions > button { flex: 1 1 auto; }
#flumenMcpStatus,
#flumenMcpOAuthStatus { margin: 1rem 0 0; font-size: .75rem; line-height: 1.6; color: #9db2cb; overflow-wrap: anywhere; }
#flumenMcpStatus:empty,
#flumenMcpOAuthStatus:empty { display: none; }
#flumenMcpOAuthDetails { overflow-wrap: anywhere; }
#flumenMcpOAuthConnections { margin: .625rem 0; font-size: .75rem; color: #9db2cb; overflow-wrap: anywhere; }
#flumenMcpOAuthConnections > div { display: grid; gap: .75rem; margin-top: .625rem; padding: .875rem; border: 1px solid rgba(118, 212, 232, .15); border-radius: .625rem; background: rgba(15, 41, 72, .6); }
#flumenMcpOAuthConnections:empty { display: none; }
.flumenAgentHub .flumenMcpCard--consent { border-color: #76d4e8; }
.flumenAgentHub .flumenMcpCard--consent > button { margin: .25rem .25rem .25rem 0; }

.flumenAgentHubList { display: grid; gap: .75rem; }
.flumenAgentHubList > button {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: .875rem;
    width: 100%;
    align-items: center;
    padding: 1rem;
    border: .0625rem solid rgba(176, 222, 237, .26);
    border-radius: .5625rem;
    background: rgba(12, 39, 79, .72);
    color: #edf5fb;
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.flumenAgentHubList > button:hover,
.flumenAgentHubList > button:focus-visible { outline: none; border-color: #63cbe1; background: #0c315f; transform: translateX(-.1875rem); }
.flumenAgentHubList > button > i {
    display: flex; width: 2.875rem; height: 2.875rem; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(99, 203, 225, .13); color: #7edcf0; font-size: 1.3125rem;
}
.flumenAgentHubList > button > span { display: grid; gap: .25rem; min-width: 0; }
.flumenAgentHubList strong { color: #fff; font-size: clamp(1rem, .85vw, 1.3rem); }
.flumenAgentHubList small { color: #aebdd0; font-size: clamp(.75rem, .6vw, .95rem); line-height: 1.35; }
.flumenAgentHubList b { color: #76d4e8; font-size: 1.5625rem; font-weight: 400; }

@media (max-width: 37.5rem) {
    .flumenAgentHub { width: 100vw; padding: 1.375rem 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
    .flumenAgentHub, .flumenAgentHubBackdrop { transition: none; }
}

/* The shared Explorer rail and the CO₂ portal are intentionally elevated
 * above legacy page layers. Keep the agent dialog above both; otherwise its
 * buttons still run but the modal opens invisibly behind the portal. */
#co2AgentFlumenDialog,
#wsaAgentFlumenDialog,
#supplyAgentFlumenDialog {
    position: fixed;
    inset: 0;
    z-index: 2147483647 !important;
    background: rgba(1, 10, 45, .58);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease-out;
}

/* Notify.js appends its corner container to body after the active dialog.
 * Keep notifications on the same top-level layer so errors remain readable
 * above agent modals and other legacy full-screen surfaces. */
body > .notifyjs-corner {
    z-index: 2147483647 !important;
}

body > #promptWindow {
    z-index: 2147483647 !important;
}

#co2AgentFlumenDialog .modal-dialog,
#wsaAgentFlumenDialog .modal-dialog,
#supplyAgentFlumenDialog .modal-dialog {
    position: relative;
    z-index: 1;
    transform: translateY(-12px) scale(.985);
    opacity: 0;
    transition: transform 220ms cubic-bezier(.2, .8, .2, 1), opacity 160ms ease-out;
}

#co2AgentFlumenDialog.is-open,
#wsaAgentFlumenDialog.is-open,
#supplyAgentFlumenDialog.is-open {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#co2AgentFlumenDialog.is-open .modal-dialog,
#wsaAgentFlumenDialog.is-open .modal-dialog,
#supplyAgentFlumenDialog.is-open .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    #co2AgentFlumenDialog,
    #co2AgentFlumenDialog .modal-dialog,
    #wsaAgentFlumenDialog,
    #wsaAgentFlumenDialog .modal-dialog,
    #supplyAgentFlumenDialog,
    #supplyAgentFlumenDialog .modal-dialog {
        transition: none;
    }
}

/* Keep the shared JSON Value AI editor above the CO2 portal and dashboard.
 * The legacy modal's default layer sits below the modern navigation shell. */
body.flumenPortalCO2 #userInput_choose,
body.flumenPortalCO2 #editJSONConfig {
    position: fixed;
    inset: 0;
    z-index: 21050 !important;
    background: rgba(1, 10, 45, .58);
    backdrop-filter: blur(3px);
}

body.flumenPortalCO2 #editJSONConfig .modal-dialog {
    position: relative;
    z-index: 1;
}

.flumenCO2AgentWindow {
    box-sizing: border-box;
    display: grid;
    position: relative;
    top: auto;
    left: auto;
    grid-template-rows: auto auto auto auto auto minmax(150px, 1fr) auto;
    width: 100% !important;
    height: min(700px, 82vh);
    transform: none;
    overflow: hidden;
    border: 1px solid rgba(176, 222, 237, .34);
    border-radius: 8px;
    background: #06112e;
    box-shadow: 0 24px 72px rgba(1, 10, 45, .38);
    text-align: left;
}

.flumenCO2AgentWindow .headerBar {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    height: auto;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(176, 222, 237, .22);
    background: #06112e;
    line-height: 1;
    overflow: visible;
}

.flumenCO2AgentWindow .headerBar .headerIcon,
.flumenCO2AgentWindow .headerBar .headerFunction {
    flex: 0 0 auto;
    margin: 0;
    line-height: 1 !important;
}

.flumenCO2AgentWindow .headerBar .headerInfo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f5f8fc;
    text-align: left;
}

.flumenCO2AgentHeaderStatus {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex: 0 0 auto;
    gap: 5px;
    margin-left: auto;
    min-height: 28px;
    padding: 3px 7px;
    border: 1px solid rgba(176, 222, 237, .35);
    border-radius: 999px;
    color: #dce6f2;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.flumenCO2AgentHeaderStatus.is-busy::before {
    width: 9px;
    height: 9px;
    content: "";
    flex: 0 0 auto;
    border: 1.5px solid rgba(176, 222, 237, .42);
    border-top-color: #b0deed;
    border-radius: 50%;
    animation: flumenCO2AgentSpin 780ms linear infinite;
}

@keyframes flumenCO2AgentSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .flumenCO2AgentHeaderStatus.is-busy::before {
        animation-duration: 2.4s;
    }
}

/* CO₂ dashboard: the shared legacy dashboard is mounted into the portal
 * content area instead of opening as a second fixed page below the portal. */
body.flumenPortalCO2 #newCO2ContentPageContent > #dashboard.flumenCO2LegacyDashboard {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    min-height: min(68vh, 56rem) !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    font-family: "Ubuntu", "Roboto", sans-serif;
}

body.flumenPortalCO2 #newCO2ContentPageContent > #dashboard.flumenCO2LegacyDashboard
    #dashboard_ContentHolder {
    display: block !important;
    min-height: inherit;
}

/* The CO₂ dashboard is a focused portal page. It fills the complete remaining
 * workspace next to the two navigation rails without becoming a modal layer. */
body.flumenPortalCO2 #newCO2ContentPageContent > #dashboard.flumenCO2LegacyDashboard.flumenCO2DashboardFullscreen {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    min-height: calc(100vh - 90px) !important;
    height: auto !important;
    overflow: visible !important;
    background:
        radial-gradient(circle at 90% 4%, rgba(37, 209, 127, .10), transparent 24%),
        linear-gradient(145deg, #fbfdfb 0%, #f3f9f4 100%) !important;
}

body.flumenPortalCO2 #cockpit.flumen-co2-dashboard-view > #whereIsItCockpitTitleFunctionClose {
    display: none !important;
}

body.flumenPortalCO2 #cockpit.flumen-co2-dashboard-view #newCO2ContentPage {
    min-height: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.flumenPortalCO2 #cockpit.flumen-co2-dashboard-view #newCO2ContentPageHolder {
    min-height: 100%;
    height: auto;
    grid-template-rows: auto auto;
}

body.flumenPortalCO2 #cockpit.flumen-co2-dashboard-view #newCO2ContentPageContent {
    min-height: calc(100vh - 90px);
    height: auto;
    padding: 0;
    overflow: visible;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_ContentHolder {
    position: relative;
    display: block !important;
    min-height: 100%;
    height: auto;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_header {
    position: absolute;
    top: 10px;
    right: 18px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    min-height: 0;
    height: auto;
    justify-content: flex-end;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    background: transparent;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_closeButton,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_header-CompanyIcon,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard-header-nav,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #lock-landscape-btn,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #unlock-orientation {
    display: none !important;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_header-text,
body.flumenPortalCO2 .flumenCO2DashboardFullscreen #dashboard_header-text,
body.flumenPortalCO2.flumenCO2DashboardFullscreen #dashboard #dashboard_header-text,
body.flumenPortalCO2.flumenCO2DashboardFullscreen #dashboard #dashboardGlobalTitle {
    display: none !important;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_headerTitle {
    color: #fff;
    text-align: left;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboard_Holder {
    display: flow-root;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 48px 12px 16px;
    overflow: visible;
    box-sizing: border-box;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboard_Chart {
    box-sizing: border-box;
    margin: 5px;
    padding: 8px;
    min-height: clamp(340px, 34vh, 420px);
    border-color: #d6e2da;
    background: #fff;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardCellCanvasHolder {
    position: absolute;
    inset: 38px 8px 8px;
    width: auto;
    height: auto !important;
    min-height: 0;
    margin: 0;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboard_ChartCanvas {
    position: absolute;
    inset: 0;
    max-height: none !important;
    margin-top: 0;
    padding: 4px 5px 5px 34px;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardCellHeader {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 15;
    height: 28px;
    line-height: 28px;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen
    .dashboardCellHeader > .flumenCO2DashboardCellOriginalAction {
    display: none !important;
}

/* Dashboard actions are decorated asynchronously. Once marked as an original
 * action they stay hidden even while the shared info panel changes portal
 * layout classes. */
.dashboardCellHeader > .flumenCO2DashboardCellOriginalAction {
    display: none !important;
}

.flumenCO2DashboardCellMenuButton {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #24372d;
    cursor: pointer;
    font: 700 20px/1 "Ubuntu", sans-serif;
}

.flumenCO2DashboardCellMenuButton:hover,
.flumenCO2DashboardCellMenuButton[aria-expanded="true"] {
    border-color: #bcd6c4;
    background: #edf6ef;
    color: #176b32;
}

.flumenCO2DashboardCellMenu {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 30;
    display: none;
    width: max-content;
    min-width: 250px;
    max-width: 320px;
    padding: 7px;
    border: 1px solid #c9dacf;
    border-left: 3px solid #32a957;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(1, 10, 45, .16);
}

.flumenCO2DashboardCellMenu.is-open {
    display: grid;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem {
    display: flex;
    float: none !important;
    align-items: center;
    justify-content: flex-start !important;
    width: 100%;
    min-height: 36px;
    margin: 0 !important;
    padding: 6px 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #17243d;
    font-size: 14px;
    line-height: 20px !important;
    text-align: left !important;
    cursor: pointer;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem.hiddenDashOpt,
.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem[style*="display: none"] {
    display: none !important;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem::after {
    content: attr(title);
    display: block;
    margin-left: 12px;
    color: #283e32;
    font: 500 14px/1.3 "Ubuntu", sans-serif;
    white-space: normal;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem::before {
    flex: 0 0 22px;
    width: 22px;
    text-align: center;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuStatItem {
    min-height: 32px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-weight: 700;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuStatItem::after {
    color: #52645a;
    font-weight: 500;
}

.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem:hover,
.flumenCO2DashboardCellMenu > .flumenCO2DashboardCellMenuItem:focus-visible {
    background: #edf6ef;
    color: #176b32;
    outline: none;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardCellHeaderLeft {
    height: 24px;
    margin-top: 0;
    line-height: 24px;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardCellStats {
    display: flex;
    position: absolute;
    top: 5px;
    right: 35px;
    height: 26px;
    max-height: 26px;
    margin: 0;
    line-height: 26px;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardCellStatsCell {
    min-width: 22px;
    height: 26px;
    margin-right: 5px;
    line-height: 26px;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardCellStatsTitle {
    font-size: 14px;
    line-height: 26px;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboard_Chart > .fa-arrows-alt {
    position: absolute;
    top: 7px;
    left: 10px;
    z-index: 16;
    display: grid;
    width: 20px;
    height: 24px;
    place-items: center;
    color: #33463b;
    font-size: 16px;
    line-height: 1;
    cursor: grab;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .toggleAllLDashboardLines,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .dashboardSpecificHeaderDiv,
.flumenCO2DashboardCellToggleHidden {
    display: none !important;
}

body.flumenCO2DashboardCellIsFullscreen {
    overflow: hidden !important;
}

#flumenCO2DashboardCellFullscreenHost {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
    width: 100vw !important;
    height: 100vh !important;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
}

#flumenCO2DashboardCellFullscreenHost > .dashboard_Chart.flumenCO2DashboardCellFullscreen {
    position: relative !important;
    max-width: none !important;
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

#flumenCO2DashboardCellFullscreenHost .dashboardCellHeader {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 15;
    height: 32px;
    line-height: 32px;
}

#flumenCO2DashboardCellFullscreenHost
    .dashboardCellHeader > .flumenCO2DashboardCellOriginalAction {
    display: none !important;
}

#flumenCO2DashboardCellFullscreenHost .dashboardCellCanvasHolder {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
}

#flumenCO2DashboardCellFullscreenHost .dashboard_ChartCanvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 32px 12px 12px !important;
}

#flumenCO2DashboardCellFullscreenHost .dashboardCellHeaderLeft {
    height: 24px;
    margin-top: 0;
    line-height: 24px;
}

#flumenCO2DashboardCellFullscreenHost .dashboardCellStats {
    max-height: 26px;
}

body.flumenPortalCO2.flumenCO2DashboardFullscreen #sidePanel {
    z-index: 2147483647 !important;
}

body.flumenPortalCO2.flumenCO2DashboardFullscreen #sidePanel .sidePanelContent {
    background: #fff;
    box-shadow: -12px 0 28px rgba(1, 10, 45, .16);
}

body.flumenPortalCO2.flumenCO2DashboardFullscreen #dashboard {
    width: 100% !important;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboardFunctionIcons {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    margin: 0 !important;
    padding: 3px 6px;
    border: 1px solid #ccd8d0;
    border-radius: 6px;
    background: #f8faf8;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboardFunctionIcons .dashboardHeaderButton,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboardFunctionIcons .dashboardHeaderButtonMQTT {
    display: grid;
    flex: 0 0 34px;
    box-sizing: border-box;
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 20px;
    line-height: 1;
    place-items: center;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    color: #24372d;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboardFunctionIcons .dashboardHeaderButton:hover,
body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen #dashboardFunctionIcons .dashboardHeaderButtonMQTT:hover {
    background: #e1eee5;
    color: #176b32;
}

/* The legacy dashboard settings panel otherwise remains beneath the modern
 * CO2 portal shell (its default z-index is 9998). */
body.flumenPortalCO2 #dashboardSettingsHolder {
    z-index: 21060 !important;
    border-color: #b9d6c2;
    box-shadow: 0 18px 52px rgba(1, 20, 11, .28);
}

.flumenCO2DashboardExitHint {
    position: static;
    flex: 0 0 auto;
    order: 2;
    color: #52645a;
    font: 600 12px/1.2 "Ubuntu", "Roboto", sans-serif;
    letter-spacing: .01em;
    white-space: nowrap;
    pointer-events: none;
}

.flumenCO2DashboardAgentOpen {
    position: static;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    order: 1;
    border: 1px solid rgba(52, 168, 83, .58);
    border-radius: 6px;
    background: #237d41;
    color: #fff;
    cursor: pointer;
    font: 600 12px/1 "Ubuntu", "Roboto", sans-serif;
}

.flumenCO2DashboardAgentOpen:hover,
.flumenCO2DashboardAgentOpen:focus-visible {
    border-color: #176b32;
    background: #176b32;
    color: #fff;
    outline: none;
}

.flumenCO2DashboardAgentOpen i {
    color: #bdf0c9;
    font-size: 14px;
}

#flumenCO2HeaderSummary.flumenCO2Header--dashboard {
    grid-template-columns: minmax(360px, .95fr) minmax(520px, 2.05fr);
}

#flumenCO2HeaderSummary.flumenCO2Header--dashboard #newCO2ContentSideTitle {
    display: grid;
    gap: 3px;
}

#flumenCO2HeaderSummary.flumenCO2Header--dashboard #newCO2ContentSideTitle > .flumenCO2DashboardMeta {
    display: block;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #617168;
    font-family: "UbuntuThin", "UbuntuLight", "Ubuntu", sans-serif;
    font-size: 9px;
    font-weight: normal;
    line-height: 1.25;
    letter-spacing: .015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2DashboardChartHeader {
    display: none;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .flumenCO2DashboardChartHeader,
#flumenCO2DashboardCellFullscreenHost .flumenCO2DashboardChartHeader {
    position: absolute;
    z-index: 4;
    top: 69px;
    right: 42px;
    left: 59px;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .flumenCO2DashboardChartTitle,
#flumenCO2DashboardCellFullscreenHost .flumenCO2DashboardChartTitle {
    overflow: hidden;
    color: #c01466;
    font-family: "UbuntuLight", "Ubuntu", sans-serif;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.2;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.flumenPortalCO2 #dashboard.flumenCO2DashboardFullscreen .flumenCO2DashboardChartMeta,
#flumenCO2DashboardCellFullscreenHost .flumenCO2DashboardChartMeta {
    margin-top: 3px;
    overflow: hidden;
    color: #617168;
    font-family: "UbuntuThin", "UbuntuLight", "Ubuntu", sans-serif;
    font-size: 9px;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: .015em;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#flumenCO2DashboardCellFullscreenHost .flumenCO2DashboardChartHeader {
    top: 45px;
    right: 32px;
    left: 56px;
}

#flumenCO2HeaderSummary.flumenCO2Header--dashboard #newCO2ContentSideOverview {
    display: none !important;
}

.flumenCO2DashboardPortalActions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 5px;
}

.flumenCO2DashboardAgentPrompt {
    display: flex;
    flex: 0 1 310px;
    order: 3;
    width: 100%;
    margin: -2px 0 0;
}

.flumenCO2DashboardAgentPrompt input {
    width: 100%;
    min-width: 0;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #c8dcd0;
    border-radius: 5px;
    outline: none;
    background: #fff;
    color: #24372d;
    font: 12px/1 "Ubuntu", "Roboto", sans-serif;
}

.flumenCO2DashboardAgentPrompt input::placeholder {
    color: #819187;
}

.flumenCO2DashboardAgentPrompt input:focus {
    border-color: #31a75d;
    box-shadow: 0 0 0 2px rgba(49, 167, 93, .14);
}

@media (max-width: 720px) {
    .flumenCO2DashboardExitHint {
        font-size: 10px;
    }
    .flumenCO2DashboardAgentOpen {
        min-width: 34px;
        padding: 0 9px;
    }
    .flumenCO2DashboardAgentOpen span { display: none; }
}

.flumenCO2AgentIntro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(176, 222, 237, .18);
    background: #0a1839;
    color: #e8f4ed;
    text-align: left;
}

.flumenCO2AgentIntroCopy {
    display: grid;
    gap: 4px;
}

.flumenCO2AgentIntroCopy strong {
    color: #b0deed;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 600;
}

.flumenCO2AgentIntroCopy span {
    color: #bdcad9;
    font-size: 10px;
    line-height: 1.4;
}

.flumenCO2AgentProjectStart {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 9px;
    border: 1px solid rgba(57, 203, 114, .58);
    border-radius: 5px;
    background: rgba(57, 203, 114, .13);
    color: #b7efca;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.flumenCO2AgentProjectStart:hover,
.flumenCO2AgentProjectStart:focus-visible {
    border-color: #7ee6a3;
    background: rgba(57, 203, 114, .22);
    color: #fff;
    outline: none;
}

.flumenCO2AgentContext {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-bottom: 1px solid rgba(176, 222, 237, .18);
    background: #091735;
    color: #bac8da;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9px;
    text-align: left;
}

.flumenCO2AgentContextLabel {
    color: #8fa1b8;
}

.flumenCO2AgentContextFixed,
.flumenCO2AgentContext button {
    min-height: 23px;
    padding: 4px 7px;
    border: 1px solid rgba(176, 222, 237, .28);
    border-radius: 3px;
    background: #0c1d42;
    color: #c5d3e4;
    font: inherit;
    line-height: 1;
}

.flumenCO2AgentContextFixed {
    color: #39cb72;
}

.flumenCO2AgentContext button {
    cursor: pointer;
}

.flumenCO2AgentContext button:hover,
.flumenCO2AgentContext button:focus-visible {
    border-color: #b0deed;
    outline: 0;
}

.flumenCO2AgentContext button.is-active {
    border-color: rgba(57, 203, 114, .7);
    background: rgba(57, 203, 114, .14);
    color: #abebc1;
}

.flumenCO2AgentContext small {
    width: 100%;
    color: #8090a9;
    font-size: 8px;
}

.flumenAgentPreferences {
    padding: 6px 14px;
    border-bottom: 1px solid rgba(176, 222, 237, .18);
    background: #081531;
    color: #aebdd0;
    font: 9px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.flumenAgentPreferences summary {
    width: max-content;
    color: #9fdbae;
    cursor: pointer;
}

.flumenAgentPreferences > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 7px;
}

.flumenAgentPreferences label {
    display: grid;
    gap: 3px;
}

.flumenAgentPreferences select {
    min-width: 0;
    height: 27px;
    padding: 3px 6px;
    border: 1px solid rgba(176, 222, 237, .3);
    border-radius: 3px;
    background: #0c1d42;
    color: #e3ebf5;
    font: inherit;
}

.flumenCO2AgentMessages {
    min-height: 0;
    padding: 14px 16px;
    overflow-y: auto;
    background:
        linear-gradient(rgba(176, 222, 237, .025) 1px, transparent 1px) 0 0 / 100% 22px,
        #07142f;
    text-align: left;
}

.flumenAgentReasoning {
    max-height: 110px;
    padding: 9px 16px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(176, 222, 237, .18);
    background: rgba(176, 222, 237, .07);
    color: #b8c7da;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    text-align: left;
}

.flumenAgentReasoning[hidden] {
    display: none;
}

.flumenAgentReasoning strong {
    display: block;
    margin-bottom: 4px;
    color: #b0deed;
    font-size: 9px;
}

.flumenAgentReasoning p {
    margin: 0;
    white-space: pre-wrap;
}

.flumenAgentReasoningDetails {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px dashed rgba(176, 222, 237, .24);
    color: #9eb0c7;
    font-size: 9px;
}

.flumenAgentReasoningDetails summary {
    width: max-content;
    color: #b0deed;
    cursor: pointer;
    user-select: none;
}

.flumenAgentReasoningDetails p {
    margin: 7px 0 0;
    color: #b8c7da;
    line-height: 1.45;
    white-space: pre-wrap;
}

.flumenCO2AgentMessage {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #e9f0fa;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

.flumenCO2AgentMessage--user {
    color: #ffe0ef;
}

.flumenCO2AgentMessage--agent {
    color: #e9f0fa;
}

.flumenCO2AgentMessage strong {
    display: block;
    margin-bottom: 5px;
    color: #39cb72;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .02em;
}

.flumenCO2AgentMessage--user strong {
    color: #e6529a;
}

.flumenCO2AgentMessage--user.is-pending p::after {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 7px;
    vertical-align: -1px;
    border: 1.5px solid rgba(176, 222, 237, .35);
    border-top-color: #b0deed;
    border-radius: 50%;
    content: "";
    animation: flumenCO2AgentSpin 780ms linear infinite;
}

.flumenCO2AgentMessage p {
    margin: 0;
    line-height: 1.55;
    text-align: left;
    white-space: pre-wrap;
}

.flumenCO2AgentTiming {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px dashed rgba(176, 222, 237, .23);
    color: #9dacc2;
    font-size: 9px;
}

.flumenCO2AgentTimingSummary {
    color: #b0deed;
}

.flumenCO2AgentTimingDetails summary {
    width: fit-content;
    cursor: pointer;
    color: #9de7b4;
}

.flumenCO2AgentTimingDetails dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 14px;
    margin: 6px 0 0;
    padding: 6px 0 0;
    border-top: 1px solid rgba(176, 222, 237, .13);
}

.flumenCO2AgentTimingDetails dt,
.flumenCO2AgentTimingDetails dd {
    margin: 0;
}

.flumenCO2AgentTimingDetails dd {
    color: #dce6f2;
    text-align: right;
}

.flumenCO2AgentReport {
    margin-top: 8px;
    padding: 11px 12px;
    border: 1px solid rgba(57, 203, 114, .35);
    border-radius: 7px;
    background: rgba(57, 203, 114, .08);
}

.flumenCO2AgentKpiWarning {
    border-left: 0.25rem solid #d18a18;
    background: rgba(209, 138, 24, 0.12);
}

.flumenCO2AgentKpiWarning strong {
    color: #f0b44f;
}

.flumenCO2AgentReport small {
    display: block;
    margin-top: 5px;
    color: #9eacc1;
    overflow-wrap: anywhere;
}

.flumenCO2AgentReportDownload {
    margin-top: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(57, 203, 114, .65);
    border-radius: 5px;
    background: rgba(57, 203, 114, .16);
    color: #dff8e8;
    cursor: pointer;
    font: inherit;
}

.flumenCO2AgentReportDownload:hover:not(:disabled) {
    background: rgba(57, 203, 114, .27);
}

.flumenCO2AgentReportDownload:disabled {
    cursor: wait;
    opacity: .6;
}

.flumenCO2AgentProposal {
    margin: 0 13px 10px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(192, 20, 102, .24);
    border-radius: 7px;
    background: #fffafb;
    color: #172038;
}

.flumenCO2AgentProposal[hidden] {
    display: none;
}

.flumenCO2AgentProposal > div:first-child {
    display: grid;
    gap: 2px;
    font-size: 10px;
}

#co2AgentFlumenProposalDiff {
    max-height: 180px;
    margin: 8px 0;
    padding: 8px;
    overflow: auto;
    border: 1px solid #dce5ef;
    background: #f6f8fa;
    font-size: 9px;
    white-space: pre-wrap;
}

.flumenCO2AgentProposalActions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.flumenCO2AgentComposer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px auto;
    align-items: end;
    gap: 8px;
    padding: 10px 13px 13px 33px;
    border-top: 1px solid rgba(176, 222, 237, .22);
    background: #06112e;
    text-align: left;
}

.flumenAgentVoiceButton {
    box-sizing: border-box;
    width: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid rgba(176, 222, 237, .42);
    border-radius: 4px;
    background: #0b1b3e;
    color: #b0deed;
    cursor: pointer;
}

.flumenAgentVoiceButton:hover:not(:disabled) {
    border-color: #39cb72;
    color: #39cb72;
}

.flumenAgentVoiceButton.is-listening {
    border-color: #ef6072;
    background: rgba(239, 96, 114, .18);
    color: #ff91a0;
    animation: flumenAgentVoicePulse 1.2s ease-in-out infinite;
}

.flumenAgentVoiceButton.is-transcribing {
    border-color: #b0deed;
    color: #b0deed;
    animation: flumenAgentVoicePulse 1.2s ease-in-out infinite;
}

.flumenAgentVoiceButton:disabled {
    cursor: default;
    opacity: .45;
}

@keyframes flumenAgentVoicePulse {
    50% { box-shadow: 0 0 0 4px rgba(239, 96, 114, .13); }
}
.flumenCO2AgentComposer::before {
    position: absolute;
    top: 20px;
    left: 14px;
    color: #39cb72;
    content: ">";
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
    line-height: 1;
}

#co2AgentFlumenPrompt,
#wsaAgentFlumenPrompt,
#supplyAgentFlumenPrompt {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    padding: 8px;
    resize: vertical;
    border: 1px solid rgba(176, 222, 237, .36);
    border-radius: 4px;
    outline: 0;
    background: #0b1b3e;
    color: #f3f7fc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

#co2AgentFlumenPrompt::placeholder,
#wsaAgentFlumenPrompt::placeholder,
#supplyAgentFlumenPrompt::placeholder {
    color: #8b9ab3;
    opacity: 1;
}

#co2AgentFlumenPrompt:focus,
#wsaAgentFlumenPrompt:focus,
#supplyAgentFlumenPrompt:focus {
    border-color: #39cb72;
    box-shadow: 0 0 0 2px rgba(57, 203, 114, .13);
}

#co2AgentFlumenSend,
#wsaAgentFlumenSend,
#supplyAgentFlumenSend {
    min-height: 36px;
    border: 1px solid rgba(57, 203, 114, .62);
    border-radius: 4px;
    background: #14743a;
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
}

#co2AgentFlumenSend:hover:not(:disabled),
#wsaAgentFlumenSend:hover:not(:disabled),
#supplyAgentFlumenSend:hover:not(:disabled) {
    background: #1c8b49;
}

#cockpit.flumen-et.flumen-co2-mode #cockpitContentContent,
#cockpit.flumen-et.flumen-co2-mode #newCO2ContentPage {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

#newCO2ContentPageHolder {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
}

#newCO2ContentPageSide {
    display: none !important;
}

#newCO2ContentPageContent {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: calc(100vh - 107px);
    height: calc(100dvh - 107px);
    padding: 12px 22px 18px;
    overflow-x: auto;
    overflow-y: auto;
}

/* A project definition is a long-form workflow, not a viewport-sized dialog.
 * Let it follow the portal page and keep only a restrained reading width. */
#newCO2ContentPageHolder:has(.flumenCO2NewProjectForm) {
    display: block;
    min-height: 100%;
}

/* The cockpit shell itself intentionally clips overflow.  A new CCF project
 * is a long page, so make the portal page (not an inner form card) its single
 * vertical scroller. */
#newCO2ContentPage:has(.flumenCO2NewProjectForm) {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b7cbbd transparent;
}

#newCO2ContentPageContent:has(> .flumenCO2NewProjectForm) {
    height: auto;
    min-height: calc(100vh - 178px);
    padding: 16px clamp(18px, 4vw, 64px) 48px;
    overflow: visible;
}

#cockpit.flumen-et.flumen-co2-mode #newCO2ContentPageContent > .flumenCO2NewProjectForm {
    box-sizing: border-box;
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 0 0 32px;
}

.flumenCO2NewProjectHeader {
    margin: 0 0 10px;
    padding: 14px 18px;
    border: 1px solid #d5e5da;
    border-left: 4px solid var(--flumen-co2-green);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(7, 17, 47, .045);
    text-align: left;
}

.flumenCO2NewProjectHeader > span {
    color: #287842;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .03em;
}

.flumenCO2NewProjectHeader h1 {
    margin: 3px 0 2px;
    color: var(--flumen-et-text);
    font-size: 18px;
    line-height: 1.2;
}

.flumenCO2NewProjectHeader p {
    margin: 0;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.4;
}

#cockpit.flumen-et .flumenCO2NewProjectForm {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--flumen-et-text);
}

#cockpit.flumen-et .flumenCO2NewProjectForm > div:first-child {
    overflow: visible;
}

#cockpit.flumen-et .flumenCO2NewProjectForm .CO2CarbonEditTable {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    background: #fff;
    font-size: 11px;
}

#cockpit.flumen-et .flumenCO2NewProjectForm .CO2CarbonEditTable td {
    box-sizing: border-box;
    padding: 5px 8px;
    border-bottom: 1px solid #edf2ee;
    vertical-align: top;
    text-align: left;
}

#cockpit.flumen-et .flumenCO2NewProjectForm .CO2CarbonEditTable td:first-child {
    width: 29%;
    color: #344058;
    font-weight: 650;
    word-break: normal;
    white-space: normal;
}

#cockpit.flumen-et .flumenCO2NewProjectForm .newProjectAddSubHeader {
    padding: 8px !important;
    border-bottom: 1px solid #cfe2d4 !important;
    background: #f6faf7;
    color: #176b32;
    font-size: 11px;
    font-weight: 800;
}

#cockpit.flumen-et .flumenCO2NewProjectForm input:not([type="checkbox"]),
#cockpit.flumen-et .flumenCO2NewProjectForm select,
#cockpit.flumen-et .flumenCO2NewProjectForm textarea {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 30px;
    padding: 5px 7px;
    border: 1px solid #b8c8d9;
    border-radius: 4px;
    background: #fff;
    color: var(--flumen-et-text);
    font: inherit;
}

#CO2CarbonNewElementDiv.flumenCO2NewProjectForm {
    margin-top: 0 !important;
}

#CO2CarbonNewElementDiv.flumenCO2NewProjectForm input:not([type="checkbox"]),
#CO2CarbonNewElementDiv.flumenCO2NewProjectForm select,
#CO2CarbonNewElementDiv.flumenCO2NewProjectForm textarea {
    background: #fff !important;
    border-color: #b8c8d9 !important;
}

#cockpit.flumen-et .flumenCO2NewProjectForm textarea {
    min-height: 54px;
    resize: vertical;
}

/* Field help belongs to the form and should be read as a short note, not as
 * a full-width banner across the workspace. jQuery UI appends it to <body>. */
body.flumenPortalCO2 .CO2InfoTooltip {
    box-sizing: border-box;
    width: min(380px, calc(100vw - 32px));
    max-width: min(380px, calc(100vw - 32px));
    padding: 10px 12px;
    border-color: #b9cfbf;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(7, 17, 47, .13);
    color: #27384c;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

#cockpit.flumen-et .flumenCO2NewProjectForm input:focus,
#cockpit.flumen-et .flumenCO2NewProjectForm select:focus,
#cockpit.flumen-et .flumenCO2NewProjectForm textarea:focus {
    border-color: var(--flumen-co2-green);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(52, 168, 83, .12);
}

#cockpit.flumen-et .flumenCO2NewProjectForm .flumenCO2FieldHint {
    margin-top: 3px;
    color: #647568;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
}

#cockpit.flumen-et .flumenCO2NewProjectForm input::placeholder,
#cockpit.flumen-et .flumenCO2NewProjectForm textarea::placeholder {
    color: #81908a;
    opacity: 1;
}

/* Organisations are part of the project form's normal page flow.  The legacy
 * markup used a fixed-height, scrolling table cell which made this section
 * look like a second dialog and hid rows. */
#cockpit.flumen-et .flumenCO2NewProjectForm .flumenCO2NewProjectPlantsCell {
    display: table-cell !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 8px !important;
}

#cockpit.flumen-et .flumenCO2NewProjectForm #CO2CarbonEditNew_werksTable {
    width: 100%;
    margin: 0;
    table-layout: auto;
}

#cockpit.flumen-et .flumenCO2NewProjectForm #CO2CarbonEditNew_werksTable th {
    white-space: nowrap;
}

#cockpit.flumen-et .flumenCO2NewProjectForm #CO2CarbonEditNew_werksTableFilter {
    float: none !important;
    width: min(100%, 360px) !important;
    margin: 0 !important;
}

#cockpit.flumen-et .flumenCO2NewProjectForm #CO2CarbonEditFooterContent_CO2CarbonNewElementDiv {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #dce8df;
}

#cockpit.flumen-et .flumenCO2NewProjectForm .CO2CarbonNewElementDivButton {
    min-width: 94px;
    margin: 0;
}

body.global-user-navigation-ready.flumenPortalCO2
    #flumenCO2HeaderSummary:not(.flumenCO2Header--pcf) {
    margin-right: calc(
        12px + var(--global-user-navigation-right)
        + (4 * var(--global-user-navigation-size))
        + (4 * var(--global-user-navigation-gap))
        + .75rem
    );
}

#flumenCO2HeaderSummary.flumenCO2Header--new-project {
    grid-template-columns: minmax(0, 1fr);
    min-height: 54px;
}

#flumenCO2HeaderSummary.flumenCO2Header--new-project #newCO2ContentSideTitle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
}

#flumenCO2HeaderSummary.flumenCO2Header--new-project #newCO2ContentSideTitle > span {
    margin: 0;
    color: #287842;
    font-size: 11px;
    font-weight: 650;
}

#flumenCO2HeaderSummary.flumenCO2Header--new-project :is(
    #flumenCO2HeaderControls,
    #newCO2ContentSideOverview
) {
    display: none !important;
}

#flumenCO2HeaderSummary {
    box-sizing: border-box;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(200px, .75fr) minmax(390px, 1.55fr) minmax(245px, .8fr);
    align-items: center;
    min-height: 62px;
    margin: 5px 12px 4px;
    overflow: hidden;
    border: 1px solid var(--flumen-et-border);
    border-left: 4px solid var(--flumen-co2-green);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(7, 17, 47, .055);
}

#flumenCO2HeaderSummary #newCO2ContentSideTitle {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    padding: 8px 14px;
    color: var(--flumen-et-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    order: 1;
}

#flumenCO2HeaderSummary #newCO2ContentSideTitle > span {
    display: inline-block;
    margin-left: 5px;
    color: var(--flumen-et-accent);
}

.flumenCO2HeaderContext {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px;
    margin-top: 3px;
}

.flumenCO2HeaderProjectName {
    grid-column: 1;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2HeaderProtocol,
.flumenCO2HeaderRole {
    grid-column: 1;
    overflow: hidden;
    color: var(--flumen-et-text-muted);
    font-size: 10px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2HeaderActions {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / span 3;
    display: inline-flex;
    gap: 5px;
    margin-left: auto;
}

.flumenCO2HeaderExport,
.flumenCO2HeaderReport,
.flumenCO2HeaderEditReport {
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid var(--flumen-et-border);
    border-radius: 4px;
    background: #fff;
    color: var(--flumen-et-navigation);
    cursor: pointer;
}

.flumenCO2HeaderReport {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 0 7px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.flumenCO2HeaderEditReport {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 0 7px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.flumenCO2HeaderEditReport i {
    color: var(--flumen-co2-green, #34a853);
}

.flumenCO2HeaderEditReport.is-pending {
    border-style: dashed;
}

.flumenCO2HeaderEditReport.is-pending::after {
    width: 5px;
    height: 5px;
    margin-left: 1px;
    border-radius: 50%;
    background: #fbbc04;
    content: "";
}

.flumenCO2HeaderExport:hover,
.flumenCO2HeaderReport:hover,
.flumenCO2HeaderEditReport:hover {
    border-color: var(--flumen-et-accent);
    color: var(--flumen-et-accent);
}

.flumenCO2HeaderExport:disabled,
.flumenCO2HeaderReport:disabled,
.flumenCO2HeaderEditReport:disabled {
    border-color: var(--flumen-et-border);
    color: var(--flumen-et-text-muted);
    cursor: default;
    opacity: .48;
}

.flumenCO2ReportAgentWindow {
    box-sizing: border-box;
    width: min(1120px, 92vw) !important;
    height: min(760px, 86vh);
}

.flumenCO2ReportAgentContent {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(420px, 1.3fr);
    gap: 14px;
    height: calc(100% - 48px);
    padding: 14px;
    color: var(--flumen-et-text, #111a33);
}

.flumenCO2ReportAgentInstruction,
.flumenCO2ReportAgentReview {
    box-sizing: border-box;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 7px;
    background: #fff;
}

.flumenCO2ReportAgentInstruction label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

#co2ReportAgentPrompt {
    box-sizing: border-box;
    width: 100%;
    min-height: 150px;
    resize: vertical;
}

.flumenCO2ReportAgentInstruction p,
#co2ReportAgentStatus {
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 11px;
}

.flumenCO2ReportAgentScope {
    min-height: 28px;
    margin: -2px 0 8px;
    padding: 7px 8px;
    border-left: 3px solid var(--flumen-co2-green, #34a853);
    background: #f4faf6;
    line-height: 1.35;
}

#co2ReportAgentStatus.is-error {
    color: #a9203e;
}

.flumenCO2ReportAgentReview {
    display: grid;
    grid-template-rows: auto minmax(70px, .25fr) auto minmax(230px, 1fr) auto auto;
    gap: 9px;
}

.flumenCO2ReportAgentReviewHeader,
.flumenCO2ReportAgentButtons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#co2ReportAgentDiff {
    margin: 0;
    padding: 9px;
    overflow: auto;
    border: 1px solid #dce5ef;
    background: #f6f8fa;
    color: #172038;
    font-size: 10px;
    white-space: pre-wrap;
}

#co2ReportAgentPreview {
    width: 100%;
    height: 100%;
    border: 1px solid #dce5ef;
    background: #f6f8fa;
}

.flumenCO2ReportPreviewToolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    padding: 4px 7px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 5px;
    background: #f8fbf9;
    font-size: 10px;
}

.flumenCO2ReportPreviewToolbar > strong {
    margin-right: auto;
    color: var(--flumen-et-text, #111a33);
}

.flumenCO2ReportPreviewToolbar label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--flumen-et-text-muted, #68748a);
}

.flumenCO2ReportPreviewToolbar input,
.flumenCO2ReportPreviewToolbar select,
.flumenCO2ReportPreviewToolbar button {
    height: 24px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 4px;
    background: #fff;
    color: var(--flumen-et-text, #111a33);
}

.flumenCO2ReportPreviewToolbar input {
    width: 46px;
    padding: 2px 4px;
}

.flumenCO2ReportPreviewToolbar button {
    display: grid;
    width: 26px;
    padding: 0;
    place-items: center;
    cursor: pointer;
}

.flumenCO2ReportVersions {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto minmax(190px, 1fr);
    align-items: end;
    gap: 8px;
    padding: 7px;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 5px;
    background: #f8fbf9;
}

.flumenCO2ReportVersions label {
    display: grid;
    gap: 3px;
    color: var(--flumen-et-text-muted, #68748a);
    font-size: 10px;
}

.flumenCO2ReportVersions select,
.flumenCO2ReportVersions input,
.flumenCO2ReportVersions button {
    box-sizing: border-box;
    height: 28px;
    min-width: 0;
    border: 1px solid var(--flumen-et-border, #dce5ef);
    border-radius: 4px;
    background: #fff;
    color: var(--flumen-et-text, #111a33);
    font-size: 10px;
}

.flumenCO2ReportVersions input {
    padding: 0 7px;
}

.flumenCO2ReportVersions button {
    padding: 0 8px;
    cursor: pointer;
}

.flumenCO2ReportVersions button:disabled {
    cursor: default;
    opacity: .45;
}

@media (max-width: 850px) {
    .flumenCO2ReportAgentContent {
        grid-template-columns: minmax(0, 1fr);
        overflow-y: auto;
    }

    .flumenCO2ReportVersions {
        grid-template-columns: minmax(0, 1fr);
    }
}

#flumenCO2HeaderControls {
    min-width: 0;
    padding: 6px 12px;
    border-left: 1px solid var(--flumen-et-border);
    border-right: 1px solid var(--flumen-et-border);
    order: 2;
}

.flumenCO2CCFPrimaryControls {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(300px, 1.25fr);
    align-items: end;
    gap: 12px;
}

.flumenCO2CCFControl {
    min-width: 0;
    color: var(--flumen-et-text-muted);
    font-size: 10px;
    font-weight: 650;
}

.flumenCO2FieldInfo,
.flumenCO2ScopeInfo {
    display: inline-block;
    margin-left: 3px;
    color: #718096;
    font-size: 9px;
    font-weight: 400;
    vertical-align: baseline;
}

.flumenCO2FieldInfo:hover,
.flumenCO2ScopeInfo:hover {
    color: var(--flumen-et-accent);
}

.flumenCO2CCFPrimaryControls .newCO2Input {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 29px;
    margin-top: 2px;
    padding: 4px 8px;
    border-color: var(--flumen-et-border);
    border-radius: 5px;
    background: #fff;
    font-size: 11px;
}

.flumenCO2MoreInformationToggle {
    display: block;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--flumen-et-navigation);
    font-size: 9px;
    text-align: left;
    cursor: pointer;
}

.flumenCO2MoreInformationToggle:hover {
    color: var(--flumen-et-accent);
    text-decoration: underline;
}

.flumenCO2CCFDateControl {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 5px;
}

.flumenCO2CCFDateControl > div {
    grid-column: 1 / -1;
}

#flumenCO2HeaderSummary #newCO2ContentSideOverview {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 10px;
    width: auto;
    min-width: 0;
    padding: 10px 15px;
    color: var(--flumen-et-text);
    text-align: left;
    order: 3;
}

.flumenCO2TotalCaption {
    display: grid;
    gap: 2px;
}

.flumenCO2TotalCaption b {
    font-size: 10px;
}

.flumenCO2TotalCaption span,
.flumenCO2TotalUpdated {
    color: var(--flumen-et-text-muted);
    font-size: 9px;
}

.flumenCO2TotalValue {
    white-space: nowrap;
}

.flumenCO2TotalValue span {
    color: var(--flumen-co2-green);
    font-size: 22px;
    font-weight: 750;
}

.flumenCO2TotalValue b {
    margin-left: 4px;
    font-size: 10px;
}

.flumenCO2TotalUpdated {
    grid-column: 1 / -1;
}

.flumenCO2CCF,
.flumenCO2PCF {
    color: var(--flumen-et-text);
    font-size: 13px;
}

.flumenCO2PCF {
    position: relative;
    min-height: 100%;
    padding-top: 4px;
}

#cockpit.flumen-et.flumen-co2-pcf-view > #whereIsItCockpitTitleFunctionClose {
    display: none !important;
}

#cockpit.flumen-et.flumen-co2-ccf-view > #whereIsItCockpitTitleFunctionClose {
    display: none !important;
}

body.flumenPortalCO2:has(#cockpit.flumen-co2-ccf-view) #flumenGlobalUserNavigation {
    pointer-events: none;
}

body.flumenPortalCO2:has(#cockpit.flumen-co2-ccf-view) #flumenGlobalUserNavigation button,
body.flumenPortalCO2:has(#cockpit.flumen-co2-ccf-view) #flumenGlobalUserNavigation .global-user-navigation__language-menu {
    pointer-events: auto;
}

#cockpit.flumen-et.flumen-co2-data-center-view > #whereIsItCockpitTitleFunctionClose {
    display: none !important;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf {
    position: relative;
    z-index: 30;
    grid-template-columns: minmax(300px, .55fr) minmax(0, 2.7fr);
    grid-template-rows: auto;
    align-items: stretch;
    height: auto;
    min-height: 114px;
    overflow: visible;
    transition: min-height 160ms ease;
}

#newCO2ContentPageHolder:has(#flumenCO2HeaderSummary.flumenCO2Header--pcf) #newCO2ContentPageContent {
    position: relative;
    z-index: 1;
    padding-right: 12px;
    padding-left: 12px;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf.flumenCO2Header--pcf-expanded {
    min-height: 0;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf #newCO2ContentSideTitle {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    gap: 2px;
    padding: 22px 14px 8px 18px;
    font-size: 17px;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf #newCO2ContentSideTitle > strong {
    color: #111a33;
    font-size: 16px;
    line-height: 1.2;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf #newCO2ContentSideTitle > .flumenCO2PCFAcronym {
    margin: 0;
    color: var(--flumen-co2-green);
    font-size: 13px;
    font-weight: 800;
}

.flumenCO2PCFStandard,
.flumenCO2PCFUpdated {
    display: block;
    overflow: hidden;
    color: #59667d;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFUpdated {
    color: #344058;
}

.flumenCO2PCFHeaderActions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 27px;
    margin-top: 4px;
}

.flumenCO2PCFHeaderActions .flumenCO2HeaderReport {
    height: auto;
    min-height: 2.25rem;
    padding: 0.5em 0.85em;
    gap: 0.45em;
    font-size: 0.875rem;
    line-height: 1.3;
    border-radius: 0.3rem;
}

.flumenCO2PCFAgentOpen {
    justify-self: start;
    color: #176b32;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf #newCO2ContentSideOverview {
    display: none;
}

#flumenCO2HeaderSummary.flumenCO2Header--data-center {
    grid-template-columns: minmax(230px, .7fr) minmax(0, 1.5fr) minmax(260px, .8fr);
    min-height: 78px;
    border-left-color: var(--flumen-co2-green);
}

#flumenCO2HeaderSummary.flumenCO2Header--data-center #newCO2ContentSideTitle {
    display: grid;
    gap: 3px;
    padding: 13px 18px;
}

#flumenCO2HeaderSummary.flumenCO2Header--data-center #newCO2ContentSideTitle > b {
    color: var(--flumen-et-text);
    font-size: 16px;
}

#flumenCO2HeaderSummary.flumenCO2Header--data-center #newCO2ContentSideTitle > span {
    margin: 0;
    color: #287842;
    font-size: 10px;
    font-weight: 700;
}

#flumenCO2HeaderSummary.flumenCO2Header--data-center #flumenCO2HeaderControls {
    min-height: 42px;
    border-color: var(--flumen-et-border);
}

#flumenCO2HeaderSummary.flumenCO2Header--data-center #newCO2ContentSideOverview {
    padding-right: 18px;
}

#cockpit.flumen-et #CO2CarbonEditCCFRoh {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

#cockpit.flumen-et #CO2CarbonEditCCFROHHead {
    display: none;
}

#cockpit.flumen-et #CO2CarbonEditCCFRohContent.flumenCO2DataCenterCatalog {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    margin: 0;
    gap: 20px;
    grid-template-columns: 1fr;
}

#cockpit.flumen-et .flumenCO2DataCenterGroup {
    padding: 0;
}

#cockpit.flumen-et .flumenCO2DataCenterGroupHeading {
    margin: 0 0 9px 4px;
}

#cockpit.flumen-et .flumenCO2DataCenterGroupHeading h2 {
    margin: 0;
    color: var(--flumen-et-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
}

#cockpit.flumen-et .flumenCO2DataCenterGroupHeading p {
    margin: 2px 0 0;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.35;
}

#cockpit.flumen-et .flumenCO2DataCenterCards {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#cockpit.flumen-et .flumenCO2DataCenterCard.groupModificationModal_Varianten {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 1px solid var(--flumen-et-border);
    border-radius: 7px;
    background: #fff;
    color: var(--flumen-et-text);
    font: inherit;
    text-align: left !important;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

#cockpit.flumen-et .flumenCO2DataCenterCard.groupModificationModal_Varianten:hover,
#cockpit.flumen-et .flumenCO2DataCenterCard.groupModificationModal_Varianten:focus-visible {
    border: 1px solid rgba(52, 168, 83, .5);
    outline: 0;
    background: #f7fbf8;
    box-shadow: 0 3px 10px rgba(7, 17, 47, .07);
}

#cockpit.flumen-et .flumenCO2DataCenterCard .groupModificationModal_iconG {
    flex: 0 0 auto;
    width: 16px;
    margin: 0 10px 0 13px;
    padding: 0;
    color: var(--flumen-co2-green);
    font-size: 16px;
}

#cockpit.flumen-et .flumenCO2DataCenterCard .groupModificationModalControlBarEntrySelect {
    overflow: hidden;
    margin: 0;
    padding: 10px 12px 10px 0;
    color: var(--flumen-et-text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf #flumenCO2HeaderControls {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    min-height: 0;
    overflow: visible;
    gap: 9px;
    padding: 20px 12px 8px;
    border-right: 0;
}

.flumenCO2PCFHeaderInputs {
    flex: 1 1 auto;
    align-self: stretch;
    min-width: 0;
    overflow: visible;
    margin: 0 !important;
}

body.flumenPortalCO2 .flumenCO2PCFHeaderInputs .flumenCO2PCFField--plant,
body.flumenPortalCO2 .flumenCO2PCFHeaderInputs .flumenCO2PCFField--period,
body.flumenPortalCO2 .flumenCO2CCFDateControl { display: none !important; }
body.flumenPortalCO2 .flumenCO2PCFHeaderInputs .flumenCO2PCFField--material { grid-column: 1 / -1; }

#flumenCO2PCFGlobalControls { display: none; flex: 0 1 660px; min-width: 400px; max-width: 100%; align-items: center; gap: 10px; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #flumenCO2PCFGlobalControls { display: flex; }
#flumenCO2PCFGlobalControls > tr { display: grid; grid-template-rows: 14px minmax(0, 1fr); flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: var(--analysis-header-field-height, 2.6rem); padding: 3px 8px; border: 1px solid #d3dce4; border-radius: 8px; background: white; }
#flumenCO2PCFGlobalControls td { display: block; position: relative; width: auto !important; min-width: 0 !important; height: auto !important; margin: 0; padding: 0; }
#flumenCO2PCFGlobalControls .transactionInput { display: flex; align-items: stretch; overflow: visible; }
#flumenCO2PCFGlobalControls .transactionInput > input { display: block; }
#flumenCO2PCFGlobalControls .tsLabel { color: #647086; font-size: 11px; line-height: 14px; }
#flumenCO2PCFGlobalControls input { box-sizing: border-box; width: 100% !important; min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #111a33; font-size: 16px; font-weight: 600; padding-right: 24px; }
#flumenCO2PCFGlobalControls td:has(.pcfMaterialSelection:not([hidden])) input { padding-right: 128px; }
#flumenCO2PCFGlobalControls .flumenCO2PCFInputClear { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 20px; height: 20px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #647086; font: 16px/1 Arial, sans-serif; cursor: pointer; }
#flumenCO2PCFGlobalControls .flumenCO2PCFInputClear:hover { background: #edf4f7; color: #111a33; }
#flumenCO2PCFGlobalControls .flumenCO2PCFInputClear:focus-visible { outline: 2px solid #176b32; outline-offset: 1px; }
#flumenCO2PCFGlobalControls .flumenCO2PCFFieldHint,
#flumenCO2PCFGlobalControls .flumenCO2PCFFieldHelpIcon { display: none; }
#flumenCO2PCFGlobalControls .pcfMaterialSelection { display: block; position: absolute; right: 24px; bottom: 0; margin: 0; }
.pcfMaterialSelection[hidden] { display: none !important; }
.pcfMaterialSelection:not([open]) > .pcfMaterialSelectionList { display: none; }
.pcfMaterialSelection > summary { cursor: pointer; color: #176b32; font-size: 11px; line-height: 20px; white-space: nowrap; }
.pcfMaterialSelectionList { display: flex; flex-wrap: wrap; gap: 6px; position: fixed; inset: auto; margin: 0; box-sizing: border-box; width: min(480px, 85vw); max-height: min(360px, 55vh); padding: 12px; overflow-y: auto; border: 1px solid #b9cdbf; border-radius: 8px; background: white; box-shadow: 0 5px 18px #010a2d24; }
.pcfMaterialSelectionList[popover]:not(:popover-open) { display: none; }
.pcfMaterialSelectionList button { max-width: 100%; padding: 5px 8px; overflow-wrap: anywhere; text-align: left; cursor: pointer; }
#flumenCO2PCFGlobalControls > .CO2CarbonPCFButton { flex: 0 0 auto; height: 36px; min-width: 100px; margin: 0 !important; padding: 0 14px; border: 0; border-radius: 18px; background: #2da64d; color: white; font: 650 13px Ubuntu, Arial, sans-serif; cursor: pointer; }
#flumenCO2PCFGlobalControls > .CO2CarbonPCFButton:disabled { opacity: .5; cursor: default; }

.pcfMaterialSelection { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pcfMaterialSelection button { border: 1px solid #b9cdbf; border-radius: 4px; background: #f5faf6; color: #176b32; cursor: pointer; }
#pcfBatchOverview { padding: 12px; margin-bottom: 12px; background: white; border: 1px solid #b9cdbf; overflow-x: auto; }
#pcfBatchOverview table { width: 100%; text-align: left; }
#pcfBatchOverview > summary { cursor: pointer; color: #176b32; font-weight: 700; padding: 4px 0; }
#pcfBatchOverview button {
    margin: 4px;
    padding: 8px 14px;
    border: 1px solid var(--flumen-co2-green, #34a853);
    border-radius: 18px;
    background: white;
    color: #176b32;
    font: 600 13px/1.25 Ubuntu, Arial, sans-serif;
    cursor: pointer;
}
#pcfBatchOverview button:hover { background: #edf7ef; }
#pcfBatchOverview button:focus-visible { outline: 2px solid #176b32; outline-offset: 2px; }
#pcfBatchOverview td { padding: 5px 8px; border-bottom: 1px solid #e3eee6; }

.flumenCO2PCFHeaderInputs #CO2CarbonEditPCFContentInputTable {
    width: 100%;
    margin: 0;
    line-height: 1.2;
}

.flumenCO2PCFHeaderInputs #CO2CarbonEditPCFContentInputTable > tbody {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
}

.flumenCO2PCFField--plant {
    grid-column: 1 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--material {
    grid-column: 4 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--period {
    grid-column: 7 / span 6;
    grid-row: 1;
}

.flumenCO2PCFHeaderInputs .flumenCO2PCFMoreRow {
    grid-column: 1 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--method {
    grid-column: 1 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--order {
    grid-column: 4 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--customer {
    grid-column: 7 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--calculation {
    grid-column: 10 / span 3;
    grid-row: 1;
}

.flumenCO2PCFField--purpose {
    grid-column: 1 / span 7;
    grid-row: 2;
}

.flumenCO2PCFField--approach {
    grid-column: 8 / span 5;
    grid-row: 2;
}

.flumenCO2PCFHeaderInputs #CO2CarbonEditPCFContentInputTable > tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: start;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    gap: 2px;
    line-height: 1.2;
}

.flumenCO2PCFHeaderInputs .CO2CarbonEditPCF_extendedSettings {
    display: none !important;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf-expanded .flumenCO2PCFHeaderInputs .CO2CarbonEditPCF_extendedSettings {
    display: grid !important;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf-expanded .flumenCO2PCFHeaderInputs .flumenCO2PCFMoreRow {
    grid-row: 3;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf #CO2CarbonEditPCF_tr_saufnrNew:not(.is-applicable) {
    display: none !important;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf-expanded
    #CO2CarbonEditPCFContentInputTable > tbody:not(:has(#CO2CarbonEditPCF_tr_saufnrNew.is-applicable))
    .flumenCO2PCFField--customer {
    grid-column: 4 / span 4;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf-expanded
    #CO2CarbonEditPCFContentInputTable > tbody:not(:has(#CO2CarbonEditPCF_tr_saufnrNew.is-applicable))
    .flumenCO2PCFField--calculation {
    grid-column: 8 / span 5;
}

.flumenCO2PCFHeaderInputs .flumenCO2PCFMoreRow {
    align-self: end;
    grid-template-rows: auto;
}

#CO2CarbonEditPCF_extendedSettingsToggleButton {
    display: inline-flex;
    grid-row: auto;
    align-items: center;
    justify-self: start;
    min-height: 0;
    padding: 0 !important;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #176b32;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

#CO2CarbonEditPCF_extendedSettingsToggleButton::after {
    margin-left: 5px;
    content: "⌄";
    font-size: 12px;
}

.flumenCO2Header--pcf-expanded #CO2CarbonEditPCF_extendedSettingsToggleButton::after {
    content: "⌃";
}

.flumenCO2PCFHeaderInputs #CO2CarbonEditPCFContentInputTable > tbody > tr > td {
    display: block;
    position: relative;
    width: auto !important;
    min-width: 0;
    overflow: visible;
    padding: 0;
}

.flumenCO2PCFHeaderInputs #CO2CarbonEditPCFContentInputTable > tbody > tr > .tsLabel {
    grid-column: 1;
    grid-row: 1;
}

.flumenCO2PCFHeaderInputs #CO2CarbonEditPCFContentInputTable > tbody > tr > td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.flumenCO2PCFFieldHint {
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    overflow: hidden;
    color: #647086;
    font-size: 11px;
    font-weight: 550;
    line-height: 14px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFField--method .flumenCO2PCFFieldHint {
    overflow: visible;
    line-height: 1.3;
    text-overflow: clip;
    white-space: normal;
}

.flumenCO2PCFHeaderInputs .CO2CarbonEditPCF_chooseValue {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 100% !important;
    max-height: 280px !important;
    margin: 4px 0 0 !important;
    padding: 4px;
    overflow-y: auto;
    border: 1px solid #a9c9b2;
    border-radius: 7px;
    background: #fff;
    color: #111a33;
    box-shadow: 0 10px 24px rgba(7, 17, 47, .16);
    font-size: 11px;
}

.flumenCO2PCFHeaderInputs .CO2CarbonEditPCF_chooseValue option {
    min-height: 28px;
    padding: 6px 8px;
    border-radius: 4px;
    color: #111a33;
}

.flumenCO2PCFHeaderInputs .CO2CarbonEditPCF_chooseValue option:checked {
    background: var(--flumen-co2-green);
    color: #fff;
}

.flumenCO2PCFCombobox {
    margin: 0;
    inset: auto;
    box-sizing: border-box;
    position: fixed;
    z-index: 2147483000;
    padding: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #9fc5aa;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 17, 47, .2);
}

.flumenCO2PCFComboboxOption {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 30px;
    padding: 6px 9px;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #111a33;
    font-family: inherit;
    font-size: 11px;
    font-weight: 550;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.flumenCO2PCFComboboxSection {
    padding: 7px 9px 3px;
    color: #5d6c65;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.flumenCO2PCFComboboxSection:not(:first-child) {
    margin-top: 4px;
    border-top: 1px solid #e3eee6;
}

.flumenCO2PCFComboboxOption:hover,
.flumenCO2PCFComboboxOption.is-active {
    background: #e8f5ec;
    color: #176b32;
}

/* PCF-Ergebnistabelle: schlanke, sachliche Flumina-CO2-Darstellung. */
.flumenCO2PCFResultLayout {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    margin-top: 15px;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultDetail {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-width: 0;
    padding-bottom: 48px;
    gap: 0;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentFlowContent {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    max-height: none !important;
    overflow: visible;
    border: 1px solid #d8e8dd;
    border-radius: 8px;
    background: #fff;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContentHead {
    box-sizing: border-box;
    position: sticky;
    z-index: 11;
    top: 67px;
    width: 100%;
    margin: 0;
    padding: 7px 12px 0;
    border-bottom: 1px solid #e3eee6;
    background: #f8fbf9;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContentHeadSection {
    margin: 0 14px 0 0;
    padding: 0 1px 7px;
    border-bottom: 2px solid transparent;
    color: #5b6d61;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContentHeadSection:hover,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContentHeadSection.activeElementCO3 {
    border-bottom-color: var(--flumen-co2-green);
    color: #176b32;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDBHolder {
    height: auto;
    min-height: 0;
    padding: 8px 10px 0;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDBHolder .holderSettingsDiv {
    position: sticky;
    z-index: 10;
    top: 99px;
    display: flow-root;
    min-height: 36px;
    margin: -8px 0 0;
    padding: 8px 0 5px;
    border-bottom: 1px solid #e3eee6;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 7px 12px -12px rgba(7, 17, 47, .4);
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContentListContent {
    height: auto;
    max-height: none;
    overflow: visible;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDBHolder .filterDiv,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDBHolder .settingDiv {
    align-items: center;
    min-height: 28px;
    margin-bottom: 7px;
    color: #51635a;
    font-size: 10px;
    font-weight: 700;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDBHolder .filterDiv input {
    height: 26px;
    padding: 3px 7px;
    border: 1px solid #c7d9cd;
    border-radius: 4px;
    background: #fff;
    color: #111a33;
    font: inherit;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .tableLiveDBTableContainer {
    height: auto;
    max-height: none !important;
    overflow: visible;
    overflow-y: visible;
    border: 1px solid #dce9e0;
    border-radius: 6px;
    background: #fff;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB {
    background: #fff;
    color: #172038;
    font-size: 11px !important;
    line-height: 1.4;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB thead,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB thead tr,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB th,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB th .sizeableDiv {
    background: #eef7f0 !important;
    color: #32483a;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB thead {
    position: sticky;
    z-index: 9;
    top: 148px;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB th {
    padding-top: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid #cfe2d4;
    font-size: 10px;
    font-weight: 800;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB th .sizeableDiv {
    align-items: center;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB td {
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf3ee;
    font-variant-numeric: tabular-nums;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB tbody tr,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB tbody tr:nth-child(odd) {
    background: #fff;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB tbody tr:nth-child(even) {
    background: #f9fcfa;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB tbody tr:hover,
#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB tbody tr:hover .fixedTBColEnd {
    background: #e8f5ec;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB .selectedRow td {
    background: #34a853 !important;
    color: #fff;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .fixedTBColEnd {
    background: inherit;
    border-left-color: #d9e8dd;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .tableLiveDBFooter {
    padding: 7px 2px 8px;
    color: #65756b;
    font-size: 10px;
}

/* Ergebniszusammenfassung und Lebensphasen im selben zurückhaltenden CO2-Stil. */
#cockpit.flumen-et #CO2CarbonEditPCFContentResultHead {
    box-sizing: border-box;
    flex: 0 1 calc(38% - 10px);
    width: auto;
    min-width: 300px;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #d8e8dd;
    border-left: 3px solid var(--flumen-co2-green);
    border-radius: 7px;
    background: linear-gradient(90deg, #fbfdfb 0%, #fff 62%);
    color: #26354c;
    font-size: 12px;
    line-height: 1.55;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart {
    box-sizing: border-box;
    position: relative;
    flex: 1 1 calc(62% - 20px);
    min-height: 270px;
    max-height: none;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d8e8dd;
    border-radius: 7px;
    background: #fbfdfb;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChartHeader {
    box-sizing: border-box;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border-bottom: 1px solid #e1ede4;
    background: #f4faf5;
    color: #46604d;
    font-size: 10px;
}

#cockpit.flumen-et .flumenCO2PCFFocusReset {
    height: 24px;
    margin-left: 4px;
    padding: 0 8px;
    border: 1px solid #a9cdb4;
    border-radius: 4px;
    background: #fff;
    color: #176b32;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

#cockpit.flumen-et .flumenCO2PCFFocusReset:hover {
    background: #e8f5ec;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChartPaint {
    box-sizing: border-box;
    position: relative;
    height: 235px;
    margin: 0;
    background: #fff;
}

#CO2CarbonEditPCFContentResultChartPaint .flumenCO2PCFExportSource {
    display: none;
}

#CO2CarbonEditPCFContentResultChartClose {
    display: none;
}

#CO2CarbonEditPCFContentResultChartPaint .flumenCanvasGraph {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
    touch-action: none;
}

#CO2CarbonEditPCFContentResultChartPaint .flumenCanvasGraph:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(52, 168, 83, .45);
}

#CO2CarbonEditPCFContentResultChartPaint .flumenCanvasGraphTooltip {
    position: absolute;
    z-index: 4;
    max-width: 220px;
    padding: 6px 8px;
    pointer-events: none;
    border: 1px solid #cfe3d5;
    border-radius: 5px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 7px 18px rgba(7, 17, 47, .12);
    color: #07112f;
    font-size: 10px;
    line-height: 1.4;
}

.flumenCO2PCFGraphHint {
    display: flex;
    position: absolute;
    z-index: 5;
    top: 82px;
    left: 10px;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    color: #58705f;
    font-size: 9px;
    line-height: 1;
}

.flumenCO2PCFGraphHintEscape {
    display: none;
}

.flumenCO2PCFGraphHint kbd {
    padding: 1px 4px;
    border: 1px solid #bcd5c3;
    border-radius: 2px;
    background: #f4faf5;
    color: #294b33;
    font: inherit;
    font-weight: 750;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphHint,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphHint {
    position: fixed;
    top: max(58px, calc(env(safe-area-inset-top) + 42px));
    left: max(16px, env(safe-area-inset-left));
    padding: 5px 7px;
    border: 1px solid #d8e6dc;
    border-radius: 3px;
    background: rgba(255, 255, 255, .94);
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphHintEscape,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphHintEscape {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.flumenCO2PCFGraphSearch {
    box-sizing: border-box;
    display: flex;
    position: absolute;
    z-index: 8;
    top: 42px;
    left: 10px;
    width: min(245px, calc(100% - 20px));
    height: 32px;
    align-items: center;
    border: 1px solid #bcd5c3;
    border-radius: 4px;
    background: #fff;
    color: #58705f;
}

.flumenCO2PCFGraphSearch > .icon-search {
    display: grid;
    flex: 0 0 30px;
    height: 100%;
    place-items: center;
    color: #176b32;
    font-size: 12px;
}

.flumenCO2PCFGraphSearch input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 8px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #13223d;
    font: inherit;
    font-size: 10px;
}

.flumenCO2PCFGraphSearch input::placeholder {
    color: #65756a;
    opacity: 1;
}

.flumenCO2PCFGraphSearch:focus-within {
    border-color: #34a853;
    box-shadow: 0 0 0 1px rgba(52, 168, 83, .16);
}

.flumenCO2PCFGraphSearchResults {
    box-sizing: border-box;
    position: absolute;
    z-index: 9;
    top: calc(100% + 3px);
    left: -1px;
    width: calc(100% + 2px);
    max-height: 210px;
    overflow-y: auto;
    border: 1px solid #bcd5c3;
    border-radius: 4px;
    background: #fff;
}

.flumenCO2PCFGraphSearchResult {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    border-bottom: 1px solid #edf3ee;
    background: #fff;
    color: #13223d;
    text-align: left;
    cursor: pointer;
}

.flumenCO2PCFGraphSearchResult:last-child {
    border-bottom: 0;
}

.flumenCO2PCFGraphSearchResult:hover,
.flumenCO2PCFGraphSearchResult.is-active {
    background: #e9f5ec;
    color: #176b32;
}

.flumenCO2PCFGraphSearchResult strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFGraphSearchResult span {
    overflow: hidden;
    color: #65756a;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFGraphSearchEmpty {
    padding: 8px 9px;
    color: #65756a;
    font-size: 9px;
}

.flumenCO2PCFGraphTopNodes {
    box-sizing: border-box;
    position: absolute;
    z-index: 7;
    top: 80px;
    left: 10px;
    width: min(245px, calc(100% - 20px));
    padding: 6px;
    border: 1px solid #d8e6dc;
    border-radius: 4px;
    background: rgba(255, 255, 255, .94);
    color: #13223d;
    box-shadow: 0 4px 11px rgba(23, 107, 50, .06);
}

.flumenCO2PCFGraphTopNodes > strong {
    display: block;
    padding: 1px 3px 5px;
    color: #294b33;
    font-size: 9px;
    font-weight: 800;
}

.flumenCO2PCFGraphTopNodes ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flumenCO2PCFGraphTopNodes button {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    min-height: 20px;
    padding: 3px;
    align-items: center;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 4px;
    border: 0;
    border-top: 1px solid #edf3ee;
    background: transparent;
    color: #13223d;
    text-align: left;
    cursor: pointer;
}

.flumenCO2PCFGraphTopNodes button:hover,
.flumenCO2PCFGraphTopNodes button:focus-visible {
    background: #e9f5ec;
    color: #176b32;
    outline: none;
}

.flumenCO2PCFGraphTopRank {
    color: #176b32;
    font-size: 8px;
    font-weight: 850;
    text-align: center;
}

.flumenCO2PCFGraphTopLabel {
    overflow: hidden;
    font-size: 8px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFGraphTopValue {
    color: #176b32;
    font-size: 7px;
    font-weight: 750;
    white-space: nowrap;
}

.flumenCO2PCFGraphMeta {
    box-sizing: border-box;
    display: flex;
    position: absolute;
    z-index: 7;
    top: 42px;
    left: 50%;
    width: min(31rem, calc(100% - 34rem));
    min-width: 20rem;
    min-height: 41px;
    padding: 5px 12px 6px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translateX(-50%);
    border: 1px solid #d8e6dc;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 4px 11px rgba(23, 107, 50, .07);
    color: #33463a;
    font-size: 8px;
    line-height: 1.15;
    pointer-events: none;
    text-align: center;
    backdrop-filter: blur(8px);
}

.flumenCO2PCFGraphMetaContext,
.flumenCO2PCFGraphMetaFacts {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flumenCO2PCFGraphMetaContext {
    flex-direction: column;
    gap: 1px;
}

.flumenCO2PCFGraphMetaTitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #13223d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFGraphMetaSubtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #65756a;
    font-size: 8px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFGraphMetaFacts {
    margin-top: 3px;
    padding-top: 3px;
    gap: 0;
    overflow: hidden;
    border-top: 1px solid #edf3ee;
    color: #65756a;
    white-space: nowrap;
}

.flumenCO2PCFGraphMetaFacts span {
    display: inline-flex;
    align-items: baseline;
}

.flumenCO2PCFGraphMetaFacts span + span::before {
    margin: 0 6px;
    color: #a7b8ac;
    content: "·";
}

.flumenCO2PCFGraphMetaFacts strong {
    color: #176b32;
    font-weight: 800;
}

/*
 * Keep the compact PCF graph controls on Full-HD screens, but prevent their
 * fixed pixel typography from becoming disproportionately small on 4K
 * workstations. The graph itself remains unchanged; only its information and
 * interaction overlays gain a larger, internally consistent scale.
 */
@media (min-width: 2560px) and (min-height: 1200px) {
    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #cockpitContent {
        --flumen-co2-navigation-width: 124px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2Navigation {
        padding: 17px 9px 14px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationBrand {
        gap: 10px;
        margin-bottom: 13px;
        padding-bottom: 14px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationBrand > span {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2NavigationToggle,
    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2AgentOpen,
    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenWSAAgentOpen,
    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenSupplyAgentOpen {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2NavigationLinks {
        gap: 5px;
        padding-bottom: 28px;
        scroll-padding-bottom: 28px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact #flumenCO2NavigationLinks::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationItem {
        grid-template-rows: 38px auto;
        gap: 4px;
        min-height: 74px;
        padding: 7px 4px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationIcon {
        width: 42px;
        height: 38px;
        font-size: 23px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationIcon img {
        width: 31px;
        height: 31px;
    }

    #cockpit.flumen-et.flumen-co2-mode.flumenCO2Navigation--compact .flumenCO2NavigationLabel::after {
        font-size: 11px;
        line-height: 1.15;
    }

    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChart {
        min-height: 370px;
    }

    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChartHeader {
        min-height: 44px;
        padding-inline: 14px;
        font-size: 14px;
    }

    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChartPaint {
        height: 325px;
    }

    .flumenCO2PCFGraphSearch {
        top: 52px;
        width: min(330px, calc(100% - 28px));
        height: 42px;
    }

    .flumenCO2PCFGraphSearch > .icon-search {
        flex-basis: 40px;
        font-size: 16px;
    }

    .flumenCO2PCFGraphSearch input,
    .flumenCO2PCFGraphSearchResult strong {
        font-size: 14px;
    }

    .flumenCO2PCFGraphSearchResult span,
    .flumenCO2PCFGraphSearchEmpty {
        font-size: 12px;
    }

    .flumenCO2PCFGraphTopNodes {
        top: 102px;
        width: min(330px, calc(100% - 28px));
        padding: 9px;
    }

    .flumenCO2PCFGraphTopNodes > strong {
        padding: 2px 5px 8px;
        font-size: 14px;
    }

    .flumenCO2PCFGraphTopNodes button {
        min-height: 30px;
        padding: 5px;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        gap: 7px;
    }

    .flumenCO2PCFGraphTopRank,
    .flumenCO2PCFGraphTopLabel {
        font-size: 12px;
    }

    .flumenCO2PCFGraphTopValue {
        font-size: 11px;
    }

    .flumenCO2PCFGraphMeta {
        top: 52px;
        width: min(46rem, calc(100% - 48rem));
        min-width: 30rem;
        min-height: 58px;
        padding: 7px 16px 8px;
        font-size: 12px;
    }

    .flumenCO2PCFGraphMetaContext {
        gap: 2px;
    }

    .flumenCO2PCFGraphMetaTitle {
        font-size: 15px;
    }

    .flumenCO2PCFGraphMetaSubtitle {
        font-size: 12px;
    }

    .flumenCO2PCFGraphMetaFacts {
        margin-top: 4px;
        padding-top: 4px;
    }

    .flumenCO2PCFGraphMetaFacts span + span::before {
        margin-inline: 9px;
    }
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphSearch,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphSearch {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    left: max(16px, env(safe-area-inset-left));
    width: min(300px, calc(100vw - 32px));
    height: 34px;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphMeta,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphMeta {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    width: min(31rem, calc(100vw - 43rem));
    min-width: 20rem;
    padding: 5px 12px 6px;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphTopNodes,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphTopNodes {
    position: fixed;
    top: max(96px, calc(env(safe-area-inset-top) + 80px));
    left: max(16px, env(safe-area-inset-left));
    width: min(300px, calc(100vw - 32px));
    padding: 8px;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphTopNodes > strong,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphTopNodes > strong {
    font-size: 10px;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphTopNodes button,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphTopNodes button {
    min-height: 26px;
}

@media (max-width: 1050px) {
    .flumenCO2PCFGraphMeta {
        top: 82px;
        width: calc(100% - 20px);
        min-width: 0;
    }

    .flumenCO2PCFGraphHint {
        top: 122px;
    }

    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphMeta,
    body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphMeta {
        top: max(58px, calc(env(safe-area-inset-top) + 42px));
        width: calc(100vw - 32px);
        min-width: 0;
    }

    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphHint,
    body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphHint {
        top: max(100px, calc(env(safe-area-inset-top) + 84px));
    }
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig {
    display: flex !important;
    position: fixed !important;
    z-index: 2147482000;
    inset: 0 !important;
    flex-direction: column;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    margin: 0 !important;
    border-radius: 0;
    background: #fff;
    animation: flumenCO2PCFChartExpand 380ms ease-out both;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartHeader,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartHeader {
    box-sizing: border-box;
    display: flex;
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    align-items: center;
    min-height: 34px;
    padding-right: max(12px, env(safe-area-inset-right));
    border: 0;
    background: transparent;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartPaint,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartPaint {
    box-sizing: border-box;
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 100% !important;
    min-height: 0;
    margin: 0;
    background: #fff;
}

body.flumenCO2PCFFocusActive {
    overflow: hidden;
}

body.flumenCO2PCFFocusActive #sidePanel.sidePanelForCockpit {
    z-index: 2147482001 !important;
}

/* Table-based PCF information belongs to the shared side panel. The PCF
 * graph and dashboard use fullscreen layers, so this explicit transient
 * state must sit above them until the panel is closed. */
body #sidePanel.sidePanelForCockpit.sidePanel--co2-info-foreground,
body.flumenCO2PCFFocusActive #sidePanel.sidePanelForCockpit.sidePanel--co2-info-foreground,
body.flumenPortalCO2.flumenCO2DashboardFullscreen #sidePanel.sidePanelForCockpit.sidePanel--co2-info-foreground {
    z-index: 2147483647 !important;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartMaximize,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartMaximize {
    display: none !important;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartClose,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartClose {
    margin-left: 4px;
}

#cockpit.flumen-et .flumenCO2PCFNeighborSummary,
body > #CO2CarbonEditPCFContentResultChart .flumenCO2PCFNeighborSummary {
    position: absolute;
    z-index: 4;
    top: calc(50% + 116px);
    padding: 5px 8px;
    border: 1px solid #a9cdb4;
    border-radius: 12px;
    background: rgba(245, 250, 246, .96);
    color: #176b32;
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

#cockpit.flumen-et .flumenCO2PCFNeighborSummary--parents,
body > #CO2CarbonEditPCFContentResultChart .flumenCO2PCFNeighborSummary--parents {
    left: 7%;
}

#cockpit.flumen-et .flumenCO2PCFNeighborSummary--children,
body > #CO2CarbonEditPCFContentResultChart .flumenCO2PCFNeighborSummary--children {
    left: 31%;
}

#cockpit.flumen-et circle.flumenCO2PCFNodePulse,
body > #CO2CarbonEditPCFContentResultChart circle.flumenCO2PCFNodePulse {
    animation: flumenCO2PCFNodePulse 620ms ease-in-out;
}

#cockpit.flumen-et .PcfPaint circle.circle,
body > #CO2CarbonEditPCFContentResultChart .PcfPaint circle.circle {
    cursor: pointer;
}

#cockpit.flumen-et .PcfPaint circle.flumenCO2PCFNodeGrabTarget,
body > #CO2CarbonEditPCFContentResultChart .PcfPaint circle.flumenCO2PCFNodeGrabTarget {
    filter: drop-shadow(0 0 5px rgba(52, 168, 83, .55));
    stroke-width: 4px !important;
}

.flumenCO2PCFViewportTools {
    display: flex;
    position: absolute;
    z-index: 6;
    bottom: 8px;
    left: 8px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #bcd5c3;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.flumenCO2PCFViewportTool {
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 0;
    border-right: 1px solid #d8e6dc;
    border-radius: 0;
    background: #fff;
    color: #13223d;
    font-size: 14px;
    cursor: pointer;
}

.flumenCO2PCFViewportTool:last-child {
    border-right: 0;
}

.flumenCO2PCFViewportTool:hover,
.flumenCO2PCFViewportTool:focus-visible,
.flumenCO2PCFViewportTool[aria-pressed="true"] {
    background: #e9f5ec;
    color: #176b32;
    outline: none;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFViewportTools {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    gap: 0;
    padding: 0;
    border: 1px solid #bcd5c3;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFViewportTool {
    width: 34px;
    height: 34px;
    border-radius: 0;
    font-size: 17px;
}

.flumenCO2PCFGraphLegend {
    box-sizing: border-box;
    position: absolute;
    z-index: 5;
    bottom: 48px;
    right: 8px;
    width: min(250px, calc(100% - 16px));
    padding: 7px 9px;
    border: 1px solid #bcd5c3;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: #33463a;
    font-size: 11px;
}

.flumenCO2PCFGraphLegend.is-collapsed {
    display: none;
}

.flumenCO2PCFGraphLegend > strong {
    display: none;
    margin-bottom: 6px;
    color: #13223d;
    font-size: 12px;
}

.flumenCO2PCFGraphLegendEntries {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 10px 18px;
}

.flumenCO2PCFGraphLegendObjects {
    display: none;
    align-content: start;
    gap: 6px;
}

.flumenCO2PCFGraphLegendEntry {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    line-height: 1.25;
}

.flumenCO2PCFGraphLegendSymbol {
    box-sizing: border-box;
    display: inline-grid;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    place-items: center;
    border: 1px solid #6a8270;
    border-radius: 50%;
    background: #eef7f0;
    color: #176b32;
    font-size: 7px;
    font-weight: 850;
}

.flumenCO2PCFGraphLegendSymbol.is-supplier {
    border-color: #7391a9;
    background: #edf4f8;
    color: #274b68;
}

.flumenCO2PCFGraphLegendSymbol.is-flow {
    position: relative;
    height: 10px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(#4c805a, #4c805a) left center / 13px 1px no-repeat;
}

.flumenCO2PCFGraphLegendSymbol.is-flow::after {
    position: absolute;
    right: 0;
    width: 0;
    height: 0;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 5px solid #4c805a;
    content: "";
}

.flumenCO2PCFGraphLegendSymbol.is-emission {
    flex-basis: 100%;
    width: 100%;
    height: 14px;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #b0dee9 0%, #34a853 48%, #c00066 100%);
}

.flumenCO2PCFGraphLegendMetric {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.flumenCO2PCFGraphLegendMetricTitle {
    color: #33463a;
    font-size: 10px;
    font-weight: 700;
}

.flumenCO2PCFGraphLegendMetric .flumenCO2PCFGraphLegendEntry {
    display: block;
}

.flumenCO2PCFGraphLegendMetricLabels {
    display: flex;
    justify-content: space-between;
    color: #65756a;
    gap: 10px;
    font-size: 8px;
    line-height: 1;
}

@media (max-width: 620px) {
    .flumenCO2PCFGraphLegendEntries {
        grid-template-columns: 1fr;
    }
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphLegend {
    position: fixed;
    bottom: max(68px, calc(env(safe-area-inset-bottom) + 60px));
    right: auto;
    left: max(16px, env(safe-area-inset-left));
    width: min(410px, calc(100% - 32px));
    padding: 10px 12px;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphLegend > strong {
    display: block;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphLegendEntries {
    grid-template-columns: minmax(120px, .8fr) minmax(180px, 1.2fr);
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphLegendObjects {
    display: grid;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphLegendMetricTitle {
    font-size: 11px;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFGraphLegendMetricLabels {
    font-size: 9px;
}

body > #CO2CarbonEditPCFContentResultChart.PcfChartBig .flumenCO2PCFFocusReset,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartInfoTitle,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartExport,
body > #CO2CarbonEditPCFContentResultChart.PcfChartBig #CO2CarbonEditPCFContentResultChartMinimize {
    display: none !important;
}

@keyframes flumenCO2PCFChartExpand {
    from {
        opacity: .76;
    }
    to {
        opacity: 1;
    }
}

@keyframes flumenCO2PCFNodePulse {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(52, 168, 83, 0));
        opacity: 1;
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(52, 168, 83, .9));
        opacity: .38;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChart.PcfChartBig,
    #cockpit.flumen-et circle.flumenCO2PCFNodePulse {
        animation-duration: 1ms;
    }
}

#cockpit.flumen-et .flumenCO2PCFChartEmpty {
    display: grid;
    align-content: center;
    justify-items: center;
    height: 100%;
    padding: 20px;
    color: #5f7165;
    text-align: center;
}

#cockpit.flumen-et .flumenCO2PCFChartEmpty strong {
    margin-bottom: 5px;
    color: #2e4937;
    font-size: 13px;
}

#cockpit.flumen-et .flumenCO2PCFChartEmpty span {
    font-size: 11px;
}

#cockpit.flumen-et #CO2CarbonEditPCFContentFlow {
    position: sticky;
    z-index: 12;
    top: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0 -2px;
    padding: 4px 2px 7px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 7px 12px -12px rgba(7, 17, 47, .45);
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowSwitch {
    box-sizing: border-box;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #d8e8dd;
    border-top: 3px solid #b9dcca;
    border-radius: 7px 7px 0 0;
    background: #fff;
    color: #33463a;
    box-shadow: none;
    transition: border-color 140ms ease, background 140ms ease;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowSwitch:hover {
    border-color: #9bcbaa;
    background: #f5faf6;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowSwitch.activeElementCo2 {
    border-color: #176b32 !important;
    border-top-color: #176b32 !important;
    background: #176b32 !important;
    color: #fff;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowSwitchLabel {
    margin-bottom: 4px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowSwitchValue {
    overflow: hidden;
    color: #176b32;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .CO2CarbonEditPCFContentFlowSwitchValue.activeElementCo2Value {
    color: #fff !important;
}

@media (max-width: 1100px) {
    #cockpit.flumen-et #CO2CarbonEditPCFContentResultHead,
    #cockpit.flumen-et #CO2CarbonEditPCFContentResultChart {
        flex-basis: 100%;
    }

    #cockpit.flumen-et #CO2CarbonEditPCFContentFlow {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    #cockpit.flumen-et .CO2CarbonEditPCFContentFlowContentHead {
        position: static;
    }

    #cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDBHolder .holderSettingsDiv {
        position: static;
        margin-top: -8px;
        box-shadow: none;
    }

    #cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .tableLiveDBTableContainer {
        overflow-x: auto;
        overflow-y: visible;
    }

    #cockpit.flumen-et .CO2CarbonEditPCFContentFlowContent .TableLiveDB thead {
        top: 0;
    }
}

.flumenCO2PCFHeaderInputs .tsLabel {
    display: flex !important;
    align-items: center;
    gap: 4px;
    color: #344058;
    font-size: 12px;
    font-weight: 750;
    line-height: 15px;
    white-space: nowrap;
}

.flumenCO2PCFFieldLabel {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flumenCO2PCFFieldHelpIcon {
    display: inline-grid;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #65758b;
    font: inherit;
    font-size: 9px;
    cursor: help;
}

.flumenCO2PCFFieldHelpIcon:hover,
.flumenCO2PCFFieldHelpIcon:focus-visible {
    background: #edf7ef;
    color: #176b32;
    outline: 1px solid #a9cdb4;
}

.flumenCO2PCFHeaderInputs input,
.flumenCO2PCFHeaderInputs select {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 34px;
    border: 1px solid #b9c7d3;
    border-radius: 5px;
    background: #fff;
    color: #111a33;
    font-size: 13px;
    font-weight: 550;
}

.flumenCO2PCFHeaderInputs input::placeholder {
    color: #657187;
    opacity: 1;
}

.flumenCO2PCFHeaderInputs input:focus,
.flumenCO2PCFHeaderInputs select:focus {
    border-color: var(--flumen-co2-green);
    outline: 2px solid rgba(52, 168, 83, .14);
    outline-offset: 0;
}

.flumenCO2PCFHeaderInputs .transactionInput:has(input[type="date"]) {
    display: grid !important;
    grid-template-columns: auto minmax(130px, 1fr) auto minmax(130px, 1fr);
    align-items: center;
    gap: 5px;
    width: 100%;
    height: auto !important;
}

.flumenCO2PCFHeaderInputs .transactionInput:has(input[type="date"]) > input[type="date"] {
    width: 100% !important;
    min-width: 130px;
    padding-right: 6px;
    font-variant-numeric: tabular-nums;
}

.flumenCO2PCFHeaderInputs .transactionlabelFrom,
.flumenCO2PCFHeaderInputs .transactionlabelTo {
    margin: 0;
    color: #465269;
    font-size: 12px;
    font-weight: 650;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf .CO2CarbonPCFButton {
    display: inline-flex;
    flex: 0 0 auto;
    align-self: flex-start;
    min-width: 112px;
    height: 36px;
    margin: 16px 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    border-radius: 18px;
    background: var(--flumen-co2-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-align-last: auto;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf .CO2CarbonPCFButton:hover {
    background: #278d45;
}

.flumenCO2PCFEmptyState {
    display: grid;
    grid-template-columns: 46px minmax(0, 520px);
    align-items: center;
    gap: 14px;
    max-width: 620px;
    margin: 76px auto 0;
    padding: 22px 26px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
    text-align: left;
}

.flumenCO2PCFEmptyState > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: var(--flumen-co2-mint-soft);
    color: #168a55;
    font-size: 12px;
    font-weight: 800;
}

.flumenCO2PCFEmptyState strong {
    color: var(--flumen-et-text);
    font-size: 17px;
}

.flumenCO2PCFEmptyState p {
    margin: 5px 0 0;
    color: var(--flumen-et-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.flumenCO2CCF {
    box-sizing: border-box;
    height: 100%;
    padding: 4px 18px 8px !important;
}

.flumenCO2CCF .flumenCO2ScopeTableViewport {
    height: calc(100% - 8px);
    min-height: 380px;
    padding-bottom: 2px;
}

.flumenCO2CCF .flumenCO2ScopeTable {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
    border: 1px solid var(--flumen-et-border);
    border-radius: 6px;
    background: #fff;
}

body.flumenCO2PCFFocusActive #genericContextMenu {
    position: fixed !important;
    z-index: 2147483600 !important;
}

body.flumenCO2PCFFocusActive #genericContextMenu .genericContextMenuEntry {
    color: #13223d;
}

body.flumenCO2PCFFocusActive #genericContextMenu .genericContextMenuEntry:hover {
    background: #e9f5ec;
    color: #176b32;
}

.flumenCO2CCF .flumenCO2ScopeTable thead {
    position: sticky;
    top: 0;
    z-index: 4;
}

.flumenCO2CCF .flumenCO2ScopeTable thead th {
    box-sizing: border-box;
    height: 32px;
    padding: 5px 7px !important;
    overflow: hidden;
    border-bottom: 1px solid #cbd6e2;
    background: #f1f4f7;
    color: #111a33;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
}

.flumenCO2CCF .flumenCO2ScopeTable tbody td,
.flumenCO2CCF .flumenCO2ScopeTable tfoot td {
    box-sizing: border-box;
    padding: 3px 7px;
}

.flumenCO2CCF .flumenCO2ScopeRow td {
    height: 29px;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    color: #172038;
    font-size: 11px;
    line-height: 1.25;
}

.flumenCO2CCF #CO2CarbonEditScopeTableNew .flumenCO2ScopeRow:hover td,
.flumenCO2CCF #CO2CarbonEditScopeTableNew .flumenCO2ScopeRow.selectedRowRed td {
    background: #eaf6ed;
    color: #111a33;
}

.flumenCO2CCF #CO2CarbonEditScopeTableNew .flumenCO2ScopeRow.selectedRowRed td:first-child {
    box-shadow: inset 3px 0 0 var(--flumen-co2-green);
}

.flumenCO2CCF .flumenCO2ScopeRow--group td {
    border-top: 1px solid #d7e5db;
    background: #f5f9f6;
    font-weight: 700;
}

.flumenCO2CCF .flumenCO2ScopeRow--group td:first-child {
    box-shadow: inset 3px 0 0 var(--flumen-co2-green);
}

.flumenCO2CCF .flumenCO2ScopeRow--sub td:first-child {
    padding-left: 18px;
    color: #526078;
}

.flumenCO2CCF .flumenCO2ScopeRow--sub td:nth-child(3) {
    font-weight: 500;
}

.flumenCO2CCF .flumenCO2DataStatus {
    display: inline-block;
    width: 8px;
    height: 8px;
    padding: 0 !important;
    border-radius: 50%;
    font-size: 8px;
    line-height: 8px;
}

.flumenCO2CCF .flumenCO2DataStatus--empty {
    color: var(--flumen-et-accent) !important;
}

.flumenCO2CCF .flumenCO2DataStatus--available {
    color: var(--flumen-co2-green) !important;
}

.flumenCO2CCF .CO2CarbonEditSettingsButtons {
    display: inline-flex;
    float: none !important;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 65px;
    height: 100%;
    padding: 0 5px !important;
    white-space: nowrap;
}

.flumenCO2CCF .flumenCO2FunctionCell {
    min-width: 0;
    vertical-align: middle;
    white-space: nowrap;
}

.flumenCO2CCF .flumenCO2FunctionCell .CO2CarbonEdit_statusSelect {
    display: inline-block;
    width: calc(100% - 92px);
    min-width: 76px;
    vertical-align: middle;
}

.flumenCO2CCF .flumenCO2FunctionCell .CO2CarbonEditSettingsButtons {
    display: inline-flex;
    min-width: 80px;
    margin-left: 5px;
    vertical-align: middle;
}

.flumenCO2CCF .CO2CarbonEditSettingsButtons > div {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    padding: 0 !important;
    border-radius: 3px;
    font-size: 12px;
    opacity: 1;
    visibility: visible;
}

/* Every interactive CCF control must advertise that it can be clicked. */
body.flumenPortalCO2 :is(#cockpit.flumenCO2CCF, #CO2CarbonEdit) :is(
    button,
    select,
    [role="button"],
    [onclick],
    .clickable,
    .icon-edit,
    .icon-bin,
    .icon-delete,
    .icon-download,
    .icon-upload,
    .icon-share,
    .fa-comment,
    .CO2CarbonEditSettingsButtons > div,
    #CO2CarbonEditScopeElementNewSubCategorydiv
) {
    cursor: pointer;
}

body.flumenPortalCO2 .flumenCO2CCF :is(button, select, input):disabled {
    cursor: not-allowed;
}

.flumenCO2CCF .CO2CarbonEditSettingsButtons > div:not(.flumenCO2DataStatus):hover {
    background: #edf1f5;
    color: var(--flumen-et-accent);
}

.flumenCO2CCF .CO2CarbonEdit_statusSelect {
    box-sizing: border-box;
    width: 100%;
    height: 25px;
    padding: 2px 5px;
    border: 1px solid #d3dde7;
    border-radius: 4px;
    background: #fff;
    font-size: 10px;
}

.flumenCO2CCF .flumenCO2ResponsibleSearch {
    box-sizing: border-box;
    width: 100% !important;
    height: 25px;
    padding: 2px 6px !important;
    border: 1px solid #d3dde7 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #172038 !important;
    font-size: 10px !important;
}

.flumenCO2CCF .flumenCO2ScopeTable tfoot {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #fff;
}

.flumenCO2CCF .flumenCO2ScopeTable tfoot td {
    height: 34px;
    border-top: 2px solid var(--flumen-co2-green);
    background: #f3f9f5;
    color: #111a33;
    font-size: 12px;
    font-weight: 800;
}

.flumenCO2CCF .flumenCO2ScopeTable tfoot td:first-child {
    overflow: visible;
    white-space: nowrap;
}

.flumenCO2ActionBarHolder {
    position: absolute;
    top: 0;
    right: 18px;
    z-index: 6;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

#flumenCO2HeaderSummary.flumenCO2Header--pcf .flumenCO2ActionBarHolder {
    position: static;
    width: 100%;
}

.flumenCO2ActionBar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 14px rgba(7, 17, 47, .07);
    backdrop-filter: blur(8px);
}

.flumenCO2ActionBar .iotDataOptionsItem {
    display: grid;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--flumen-et-navigation);
    font-size: 14px;
}

.flumenCO2ActionBar .iotDataOptionsItem:hover {
    border-color: rgba(52, 168, 83, .24);
    background: var(--flumen-co2-green-soft);
    color: var(--flumen-co2-green);
}

.flumenCO2ActionBar .iotDataOptionsItem > p {
    display: none;
}

.flumenCO2ActionBar .dashboardHeaderButtonNew {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    place-items: center;
    cursor: pointer;
}

.flumenCO2ActionBar [role="button"]:focus-visible {
    outline: 2px solid var(--flumen-et-accent);
    outline-offset: 2px;
}

.flumenCO2PCF > .ccfProtocolTitle {
    display: none;
}

@media (max-width: 1050px) {
    #flumenCO2HeaderSummary {
        grid-template-columns: minmax(180px, .7fr) minmax(330px, 1.5fr);
    }

    #flumenCO2HeaderSummary #newCO2ContentSideOverview {
        display: none;
    }
}

#cockpit.flumen-et .co2PortalOverview {
    display: block;
    width: 100%;
    margin: 0;
    padding: 4px 2px 72px;
    text-align: left;
}

#cockpit.flumen-et .co2PortalHeaderSubtitle {
    display: block;
    margin-top: 7px;
    color: var(--flumen-et-text-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
}

#flumenCO2OverviewAgentOpen {
    display: none;
}

#cockpit.flumen-et #cockpitOnePageConfigurator:has(.co2PortalOverview) .onePageHeaderTitleHolder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    width: 100%;
    overflow: visible;
}

#cockpit.flumen-et #cockpitOnePageConfigurator:has(.co2PortalOverview) #flumenCO2OverviewAgentOpen {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 7px 15px 7px 10px;
    border: 1px solid rgba(52, 168, 83, .25);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(52, 168, 83, .12), rgba(37, 209, 127, .06));
    color: var(--flumen-et-text);
    box-shadow: 0 4px 14px rgba(24, 112, 61, .09);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

#cockpit.flumen-et #flumenCO2OverviewAgentOpen > i {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    background: var(--flumen-co2-green);
    color: #fff;
    font-size: 15px;
}

#cockpit.flumen-et #flumenCO2OverviewAgentOpen > span {
    display: grid;
    gap: 1px;
    white-space: nowrap;
}

#cockpit.flumen-et #flumenCO2OverviewAgentOpen strong {
    font-size: 12px;
    font-weight: 750;
}

#cockpit.flumen-et #flumenCO2OverviewAgentOpen small {
    color: var(--flumen-et-text-muted);
    font-size: 9px;
    font-weight: 600;
}

#cockpit.flumen-et #flumenCO2OverviewAgentOpen:hover,
#cockpit.flumen-et #flumenCO2OverviewAgentOpen:focus-visible {
    border-color: rgba(52, 168, 83, .55);
    box-shadow: 0 7px 18px rgba(24, 112, 61, .14);
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 760px) {
    #cockpit.flumen-et #cockpitOnePageConfigurator:has(.co2PortalOverview) .onePageHeaderTitleHolder {
        gap: 10px;
    }

    #cockpit.flumen-et #flumenCO2OverviewAgentOpen {
        padding-right: 10px;
    }

    #cockpit.flumen-et #flumenCO2OverviewAgentOpen small {
        display: none;
    }
}

#cockpit.flumen-et #cockpitOnePageConfigurator:has(.co2PortalOverview) #cockpitConfiguratorSearchHolder {
    display: none !important;
}

#cockpit.flumen-et #cockpitOnePageConfigurator:has(.co2PortalOverview) #cockpitOnePageConfiguratorListTitle {
    display: none !important;
}

#cockpit.flumen-et #cockpitOnePageConfigurator:has(.co2PortalOverview) #cockpiteConfiguratorButtonHolder {
    display: none !important;
}

#cockpit.flumen-et .co2PortalAssistantIntro {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    margin: 2px 0 14px;
    padding: 15px 17px;
    border: 1px solid rgba(52, 168, 83, .24);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 209, 127, .12), transparent 34%),
        linear-gradient(135deg, #fff, rgba(238, 249, 242, .86));
    box-shadow: 0 5px 18px rgba(24, 112, 61, .07);
}

#cockpit.flumen-et .co2PortalAssistantMark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: var(--flumen-co2-green);
    color: #fff;
    font-size: 20px;
    border: 0;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(52, 168, 83, .2);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

#cockpit.flumen-et .co2PortalAssistantMark:hover,
#cockpit.flumen-et .co2PortalAssistantMark:focus-visible {
    background: #248f49;
    box-shadow: 0 8px 18px rgba(52, 168, 83, .3);
    outline: 2px solid rgba(52, 168, 83, .28);
    outline-offset: 3px;
    transform: translateY(-1px);
}

#cockpit.flumen-et .co2PortalAssistantCopy > span {
    color: var(--flumen-co2-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#cockpit.flumen-et .co2PortalAssistantCopy h2 {
    margin: 2px 0 3px;
    color: var(--flumen-et-text);
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.02em;
}

#cockpit.flumen-et .co2PortalAssistantCopy p {
    margin: 0;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.4;
}

#cockpit.flumen-et .co2PortalAssistantPrompts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

#cockpit.flumen-et .co2PortalAssistantPrompts button {
    padding: 5px 9px;
    border: 1px solid rgba(52, 168, 83, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #1f6f3c;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

#cockpit.flumen-et .co2PortalAssistantPrompts button:hover,
#cockpit.flumen-et .co2PortalAssistantPrompts button:focus-visible {
    border-color: rgba(52, 168, 83, .5);
    background: #fff;
    outline: none;
}

#cockpit.flumen-et .co2PortalAssistantPrompts .co2PortalAssistantPromptPrimary {
    border-color: rgba(52, 168, 83, .48);
    background: var(--flumen-co2-green);
    color: #fff;
}

#cockpit.flumen-et .co2PortalAssistantOpen {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: var(--flumen-co2-green);
    color: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(52, 168, 83, .18);
}

#cockpit.flumen-et .co2PortalAssistantOpen:hover,
#cockpit.flumen-et .co2PortalAssistantOpen:focus-visible {
    background: #248f49;
    outline: 2px solid rgba(52, 168, 83, .25);
    outline-offset: 2px;
}

@media (max-width: 820px) {
    #cockpit.flumen-et .co2PortalAssistantIntro {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    #cockpit.flumen-et .co2PortalAssistantMark {
        width: 42px;
        height: 42px;
    }

    #cockpit.flumen-et .co2PortalAssistantOpen {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

#cockpit.flumen-et .co2PortalOverviewIntro {
    display: flex;
    align-items: center;
    min-height: 84px;
    margin-bottom: 14px;
    padding: 8px 4px 18px;
    border-bottom: 1px solid var(--flumen-et-border);
    background: transparent;
    text-align: left;
}

#cockpit.flumen-et .co2PortalOverviewEyebrow {
    color: var(--flumen-co2-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#cockpit.flumen-et .co2PortalOverviewIntro h2,
#cockpit.flumen-et .co2PortalOverviewArea h3,
#cockpit.flumen-et .co2PortalOverviewResources h3 {
    margin: 5px 0 4px;
    color: var(--flumen-et-text);
}

#cockpit.flumen-et .co2PortalOverviewIntro h2 {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

#cockpit.flumen-et .co2PortalOverviewIntro p,
#cockpit.flumen-et .co2PortalOverviewArea header p {
    margin: 0;
    color: var(--flumen-et-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

#cockpit.flumen-et .co2PortalOverviewArea header p strong {
    color: var(--flumen-et-text);
    font-weight: 650;
}

#cockpit.flumen-et .co2PortalOverviewAreas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#cockpit.flumen-et .co2PortalOverviewArea {
    padding: 15px;
    border: 1px solid var(--flumen-et-border);
    border-top: 3px solid var(--flumen-co2-green);
    border-radius: 10px;
    background: var(--flumen-et-surface);
    box-shadow: 0 3px 10px rgba(7, 17, 47, 0.035);
}

#cockpit.flumen-et .co2PortalOverviewAreaPCF {
    border-top-color: var(--flumen-co2-mint);
}

#cockpit.flumen-et .co2PortalOverviewArea > header {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
}

#cockpit.flumen-et .co2PortalAreaMark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--flumen-co2-green-soft);
    color: var(--flumen-co2-green);
    font-size: 12px;
    font-weight: 800;
}

#cockpit.flumen-et .co2PortalOverviewAreaPCF .co2PortalAreaMark {
    background: var(--flumen-co2-mint-soft);
    color: #168a55;
}

#cockpit.flumen-et .co2PortalOverviewArea h3 {
    font-size: 15px;
}

#cockpit.flumen-et .co2PortalAreaLinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#cockpit.flumen-et .co2PortalOverview .groupModificationModal_Varianten {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--flumen-et-border);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
    text-align: left;
}

#cockpit.flumen-et .co2PortalOverview .groupModificationModal_Varianten:hover {
    border-color: rgba(52, 168, 83, .38);
    background: rgba(52, 168, 83, .035);
    box-shadow: 0 3px 9px rgba(7, 17, 47, 0.055);
}

#cockpit.flumen-et .co2PortalOverview .groupModificationModalControlBarEntrySelect {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    overflow: hidden;
    color: var(--flumen-et-text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .co2PortalOverview .groupModificationModal_iconG {
    flex: 0 0 auto;
    margin-left: 10px;
    color: var(--flumen-co2-green);
    font-size: 15px;
}

#cockpit.flumen-et .co2PortalOverview .groupModificationModalControlBarEntrySelect img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
}

#cockpit.flumen-et .co2PortalOverview .co2PortalPrimaryAction {
    grid-column: 1 / -1;
    min-height: 48px;
    border: 1px solid var(--flumen-et-border);
    border-left: 4px solid var(--flumen-co2-green);
    background: #fff;
    box-shadow: none;
}

#cockpit.flumen-et .co2PortalOverviewAreaPCF .co2PortalPrimaryAction {
    border-left-color: var(--flumen-co2-mint);
    background: #fff;
    box-shadow: none;
}

#cockpit.flumen-et .co2PortalOverview .co2PortalPrimaryAction:hover {
    border-color: rgba(52, 168, 83, .35);
    border-left-color: var(--flumen-co2-green);
    background: rgba(52, 168, 83, .045);
    box-shadow: none;
}

#cockpit.flumen-et .co2PortalOverviewAreaPCF .co2PortalPrimaryAction:hover {
    border-color: rgba(37, 209, 127, .4);
    border-left-color: var(--flumen-co2-mint);
    background: rgba(37, 209, 127, .045);
}

#cockpit.flumen-et .co2PortalOverview .co2PortalPrimaryAction .groupModificationModalControlBarEntrySelect,
#cockpit.flumen-et .co2PortalOverview .co2PortalPrimaryAction .groupModificationModal_iconG {
    color: var(--flumen-et-text);
    font-size: 14px;
    font-weight: 750;
}

#cockpit.flumen-et .co2PortalOverview .co2PortalPrimaryAction .groupModificationModalControlBarEntrySelect img {
    filter: none;
}

#cockpit.flumen-et .co2PortalOverviewResources {
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 9px;
    background: rgba(248, 252, 249, .82);
}

#cockpit.flumen-et .co2PortalOverviewResources h3 {
    margin: 0 0 10px;
    font-size: 14px;
}

#cockpit.flumen-et .co2PortalResourceLinks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

#cockpit.flumen-et .co2PortalStandards {
    position: fixed;
    right: 38px;
    bottom: 26px;
    z-index: 7;
    display: grid;
    grid-template-columns: minmax(0, 150px) 184px;
    align-items: center;
    gap: 12px;
    width: 354px;
    padding: 10px 12px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 8px;
    background: rgba(250, 253, 251, .96);
    box-shadow: 0 4px 14px rgba(7, 17, 47, 0.08);
    backdrop-filter: blur(8px);
}

#cockpit.flumen-et .co2PortalStandardsText {
    display: grid;
    gap: 3px;
    text-align: left;
}

#cockpit.flumen-et .co2PortalStandardsText strong {
    color: var(--flumen-et-text);
    font-size: 11px;
    line-height: 1.25;
}

#cockpit.flumen-et .co2PortalStandardsText span {
    color: var(--flumen-et-text-muted);
    font-size: 9px;
    line-height: 1.3;
}

#cockpit.flumen-et .co2PortalStandardLogos {
    display: grid;
    gap: 5px;
}

#cockpit.flumen-et .co2PortalStandardLogos > div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
}

#cockpit.flumen-et .co2PortalStandardLogos img {
    display: block;
    width: 100%;
    height: 24px;
    object-fit: contain;
}

/* Persistent standards signature for the actual CCF and PCF workspaces.
 * It intentionally does not rely on the previous hover-only certificate popup. */
#cockpit.flumen-et .flumenCO2StandardsDock {
    position: fixed;
    right: 7.5vmin;
    bottom: 0.5vmin;
    z-index: 24;
    display: grid;
    grid-template-columns: auto 166px 166px;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 48px);
    padding: 7px 9px;
    border: 1px solid rgba(151, 201, 177, .7);
    border-radius: 9px;
    background: rgba(250, 253, 251, .94);
    box-shadow: 0 6px 18px rgba(7, 23, 61, .13);
    backdrop-filter: blur(9px);
}

#cockpit.flumen-et .flumenCO2StandardsDock__label {
    max-width: 72px;
    color: #4d6a5e;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

#cockpit.flumen-et .flumenCO2StandardsDock > div {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
}

#cockpit.flumen-et .flumenCO2StandardsDock img {
    display: block;
    width: 100%;
    height: 25px;
    object-fit: contain;
}

@media (max-width: 880px) {
    #cockpit.flumen-et .flumenCO2StandardsDock {
        grid-template-columns: auto 145px;
    }

    #cockpit.flumen-et .flumenCO2StandardsDock > div:last-child {
        display: none;
    }
}

@media (max-width: 980px) {
    #cockpit.flumen-et .co2PortalOverviewAreas {
        grid-template-columns: 1fr;
    }

    #cockpit.flumen-et .co2PortalResourceLinks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #cockpit.flumen-et .co2PortalStandards {
        right: 24px;
        width: 320px;
        grid-template-columns: minmax(0, 125px) 171px;
    }
}

@media (max-width: 620px) {
    #cockpit.flumen-et .co2PortalAreaLinks,
    #cockpit.flumen-et .co2PortalResourceLinks {
        grid-template-columns: 1fr;
    }

    #cockpit.flumen-et .co2PortalStandards {
        position: static;
        width: auto;
        margin-top: 12px;
        grid-template-columns: minmax(0, 1fr) 170px;
    }
}

#cockpit.flumen-et #appModulChoiceDiv {
    display: flex !important;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 2px 0 12px;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: thin;
}

#cockpit.flumen-et .cockpitAppModulChoiceModulLegend {
    flex: 0 0 auto;
    min-height: 32px;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid rgba(7, 17, 47, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88) !important;
    color: var(--flumen-et-text-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 16px;
    box-shadow: 0 3px 10px rgba(7, 17, 47, 0.035);
    transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

#cockpit.flumen-et .cockpitAppModulChoiceModulLegend:hover {
    border-color: rgba(192, 20, 102, 0.35);
    color: var(--flumen-et-accent);
    transform: translateY(-1px);
}

#cockpit.flumen-et .cockpitAppModulChoiceModulLegendAktiv {
    border-color: var(--flumen-et-accent);
    background: var(--flumen-et-accent) !important;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(192, 20, 102, 0.18);
}

#cockpit.flumen-et .flumen-et-app-catalog-meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 2px 0 10px;
    padding: 0 2px;
}

#cockpit.flumen-et .flumen-et-app-catalog-meta > div {
    display: grid;
    gap: 2px;
}

#cockpit.flumen-et .flumen-et-app-catalog-meta strong {
    color: var(--flumen-et-text);
    font-size: 16px;
}

#cockpit.flumen-et .flumen-et-app-catalog-meta div span {
    color: var(--flumen-et-text-muted);
    font-size: 11px;
}

#cockpit.flumen-et .flumen-et-app-catalog-meta > .flumen-et-app-catalog-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

#cockpit.flumen-et .flumen-et-app-result-count {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

#cockpit.flumen-et .flumen-et-app-export,
#cockpit.flumen-et .flumen-et-app-export-json,
#cockpit.flumen-et .flumen-et-app-maintenance {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    gap: 7px;
    border: 1px solid rgba(192, 20, 102, 0.24);
    border-radius: 10px;
    background: var(--flumen-et-accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(192, 20, 102, 0.16);
    font: 700 11px/1.2 "Ubuntu", sans-serif;
}

#cockpit.flumen-et .flumen-et-app-export span,
#cockpit.flumen-et .flumen-et-app-export-json span,
#cockpit.flumen-et .flumen-et-app-maintenance span {
    color: inherit !important;
    font-size: inherit !important;
}

#cockpit.flumen-et .flumen-et-app-export .icon-report,
#cockpit.flumen-et .flumen-et-app-export-json .icon-download,
#cockpit.flumen-et .flumen-et-app-maintenance .icon-checklist {
    font-size: 15px !important;
}

#cockpit.flumen-et .flumen-et-app-export:hover,
#cockpit.flumen-et .flumen-et-app-export-json:hover,
#cockpit.flumen-et .flumen-et-app-maintenance:hover {
    background: #d11a72;
    transform: translateY(-1px);
}

#cockpit.flumen-et .flumen-et-app-export-json {
    border-color: var(--flumen-et-border);
    background: #fff;
    color: var(--flumen-et-text-muted);
    box-shadow: none;
}

#cockpit.flumen-et .flumen-et-app-export-json:hover {
    border-color: rgba(192, 20, 102, 0.28);
    color: var(--flumen-et-accent);
    transform: translateY(-1px);
}

#cockpit.flumen-et .flumen-et-app-export.is-exporting,
#cockpit.flumen-et .flumen-et-app-export-json.is-exporting,
#cockpit.flumen-et .flumen-et-app-maintenance.is-exporting {
    cursor: wait;
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 760px) {
    #cockpit.flumen-et .flumen-et-app-catalog-meta {
        align-items: stretch;
        flex-direction: column;
    }

    #cockpit.flumen-et .flumen-et-app-catalog-actions {
        justify-content: space-between;
    }

    #cockpit.flumen-et .cockpitOnePageContentContentQuestionDocu {
        height: calc(100dvh - 250px);
        min-height: 300px;
        padding: 12px;
        border-radius: 16px;
    }

    #cockpit.flumen-et .flumen-et-application-launch-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        height: min(680px, calc(100dvh - 24px));
        padding: 14px;
    }

    #cockpit.flumen-et .flumen-et-application-launch-header {
        grid-template-columns: 42px minmax(0, 1fr) 36px;
        gap: 10px;
        padding-bottom: 12px;
    }

    #cockpit.flumen-et .flumen-et-application-launch-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 19px;
    }

    #cockpit.flumen-et .flumen-et-application-launch-heading h2 {
        font-size: 20px;
    }

    #cockpit.flumen-et .flumen-et-application-launch-close {
        width: 36px;
        height: 36px;
    }

    #cockpit.flumen-et .cockpitOnePageContentContentQuestionDocuText {
        padding: 18px;
        border-radius: 11px;
        font-size: 15px;
        line-height: 1.55;
    }

    #cockpit.flumen-et .cockpitOnePageContentContentQuestionButtonHolder {
        padding-top: 12px;
        gap: 8px;
    }

    #cockpit.flumen-et .cockpitOnePageContentContentQuestionButtonHolder .cockpitButton {
        flex: 1 1 0;
        min-width: 0;
        height: 40px;
        padding: 0 14px;
        font-size: 14px;
        line-height: 40px;
    }
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDiv {
    display: grid;
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - 335px);
    margin: 0;
    padding: 2px 3px 90px;
    overflow-y: auto;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: #bcc8d6 transparent;
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDiv .layoutMenu_pPanel_OverviewElement {
    isolation: isolate;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: auto;
    min-width: 0;
    height: 142px;
    margin: 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(220, 229, 239, 0.95);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(176, 222, 237, 0.2), transparent 42%),
        #ffffff !important;
    color: var(--flumen-et-text);
    text-align: left !important;
    box-shadow: 0 7px 22px rgba(7, 17, 47, 0.065);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDiv .layoutMenu_pPanel_OverviewElement::after {
    content: "→";
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    font-size: 15px;
    font-weight: 800;
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDiv .layoutMenu_pPanel_OverviewElement:hover {
    border-color: rgba(192, 20, 102, 0.38);
    background:
        radial-gradient(circle at 100% 0, rgba(240, 99, 166, 0.14), transparent 44%),
        #ffffff !important;
    box-shadow: 0 13px 30px rgba(192, 20, 102, 0.12);
    transform: translateY(-3px);
}

#cockpit.flumen-et .flumen-et-app-card-type {
    color: var(--flumen-et-accent);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#cockpit.flumen-et .flumen-et-app-card-title {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    color: var(--flumen-et-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.28;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDiv .layoutMenu_pPanel_OverviewElement_modulLabel {
    position: static;
    width: calc(100% - 34px);
    overflow: hidden;
    color: var(--flumen-et-text-muted);
    font-family: "Ubuntu", sans-serif;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDiv .disabledButton {
    opacity: 0.42;
    filter: grayscale(0.4);
}

#cockpit.flumen-et .flumen-et-app-detail-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 2px 0 10px;
    padding: 14px 16px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 17px;
    background:
        radial-gradient(circle at 92% 0, rgba(240, 99, 166, 0.12), transparent 35%),
        rgba(255, 255, 255, 0.92);
    box-shadow: var(--flumen-et-shadow-sm);
}

#cockpit.flumen-et .flumen-et-app-detail-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--flumen-et-accent);
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(192, 20, 102, 0.2);
}

#cockpit.flumen-et .flumen-et-app-detail-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

#cockpit.flumen-et .flumen-et-app-detail-copy > span {
    color: var(--flumen-et-accent);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#cockpit.flumen-et .flumen-et-app-detail-copy > strong {
    overflow: hidden;
    color: var(--flumen-et-text);
    font-size: 20px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .flumen-et-app-detail-copy > small {
    overflow: hidden;
    color: var(--flumen-et-text-muted);
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et .flumen-et-app-detail-count {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--flumen-et-accent-soft);
    color: var(--flumen-et-accent);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

#cockpit.flumen-et #cockpitOnePageAppContentAppDocu {
    display: grid;
    width: 100%;
    max-height: 110px;
    margin: 0 0 10px;
    padding: 11px 14px;
    gap: 4px;
    overflow-y: auto;
    border: 1px solid rgba(176, 222, 237, 0.55);
    border-radius: 13px;
    background: rgba(176, 222, 237, 0.1);
    color: var(--flumen-et-text);
    font-size: 12px;
    line-height: 1.45;
}

#cockpit.flumen-et .flumen-et-app-detail-description-label {
    color: var(--flumen-et-text-muted);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#cockpit.flumen-et #cockpitOnePageAppContentTCODE {
    display: grid;
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - 320px);
    margin: 0;
    padding: 2px 3px 90px;
    overflow-y: auto;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 11px;
    align-content: start;
    scrollbar-width: thin;
    scrollbar-color: #bcc8d6 transparent;
}

#cockpit.flumen-et #cockpitOnePageAppContentTCODE .layoutMenu_pPanel_OverviewElement {
    isolation: isolate;
    display: grid;
    grid-template-rows: auto minmax(38px, 1fr) auto;
    align-items: start;
    width: auto;
    min-width: 0;
    height: 124px;
    margin: 0;
    padding: 14px;
    gap: 7px;
    overflow: hidden;
    border: 1px solid var(--flumen-et-border);
    border-radius: 15px;
    background:
        radial-gradient(circle at 100% 0, var(--flumen-et-highlight-soft), transparent 44%),
        #ffffff;
    color: var(--flumen-et-text);
    text-align: left !important;
    box-shadow: 0 7px 20px rgba(7, 17, 47, 0.055);
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

#cockpit.flumen-et #cockpitOnePageAppContentTCODE .layoutMenu_pPanel_OverviewElement::after {
    content: "Öffnen  →";
    position: absolute;
    right: 13px;
    bottom: 13px;
    color: var(--flumen-et-accent);
    font-size: 10px;
    font-weight: 750;
}

#cockpit.flumen-et #cockpitOnePageAppContentTCODE .layoutMenu_pPanel_OverviewElement:hover,
#cockpit.flumen-et #cockpitOnePageAppContentTCODE .layoutMenu_pPanel_OverviewElement:focus-visible {
    border-color: rgba(192, 20, 102, 0.4);
    outline: 0;
    box-shadow: 0 12px 28px rgba(192, 20, 102, 0.11);
    transform: translateY(-2px);
}

#cockpit.flumen-et .flumen-et-tcode-card-type {
    color: var(--flumen-et-accent);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#cockpit.flumen-et .flumen-et-tcode-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--flumen-et-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#cockpit.flumen-et .flumen-et-tcode-card-code {
    width: fit-content;
    max-width: calc(100% - 70px);
    padding: 3px 7px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--flumen-et-surface-muted);
    color: var(--flumen-et-text-muted);
    font: 650 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#cockpit.flumen-et #cockpitOnePageAppContentTCODE .disabledElementSimple {
    opacity: 0.42;
    filter: grayscale(0.55);
    pointer-events: none;
}

#cockpit.flumen-et #cockpiteConfiguratorButtonHolder {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: 0;
    display: flex;
    width: auto;
    padding: 9px 0 3px 14px;
    gap: 8px;
    border-radius: 14px 0 0;
    background: rgba(244, 247, 251, 0.9);
    backdrop-filter: blur(10px);
}

#cockpit.flumen-et #cockpiteConfiguratorButtonHolder div {
    float: none;
    min-width: 108px;
    min-height: 38px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--flumen-et-border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--flumen-et-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 5px 14px rgba(7, 17, 47, 0.06);
}

#cockpit.flumen-et #cockpitBackConfiguratorButton {
    border-color: var(--flumen-et-accent) !important;
    background: var(--flumen-et-accent) !important;
    color: #ffffff !important;
}

@media (max-width: 1100px) {
    #cockpit.flumen-et {
        --flumen-et-sidebar-width: 224px;
    }

    #cockpit.flumen-et #cockpitContentContent {
        padding: 28px 24px;
    }

    #cockpit.flumen-et #whereIsItCockpitSections,
    #cockpit.flumen-et #whereIsItCockpitDefaultSections {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    }

    #cockpit.flumen-et .whereIsItCockpitSection {
        min-height: 204px;
    }
}

@media (max-width: 760px) {
    #cockpit.flumen-et #cockpitLoadingProgress {
        position: fixed;
        inset: 0;
        padding: 18px;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transactionInputDiv {
        left: var(--analysis-matrix-navigation-width) !important;
        top: 72px !important;
        width: calc(100vw - var(--analysis-matrix-navigation-width)) !important;
        height: calc(100vh - 72px);
        flex-direction: column;
        overflow: auto;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeader {
        flex: 0 0 auto;
        width: 100%;
        padding: 20px;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeadIcon {
        display: none;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeHeadLabel {
        font-size: 25px;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #tcodeContent {
        height: auto;
        padding: 24px 16px 60px;
        overflow: visible;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable,
    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable tbody,
    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable tr,
    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable td {
        display: block;
        width: 100% !important;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_inputTable td.tsLabel {
        padding: 4px 0;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStep {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit .transactionProgressStepEdit {
        grid-column: 2;
        justify-self: start;
    }

    body.analysisMatrixNavigationPinned.flumenPortalCockpit #transaction_implButton {
        position: sticky;
        bottom: 0;
        padding: 12px 0;
        background: var(--flumen-et-canvas, #f4f7fb);
    }

    #cockpit.flumen-et {
        overflow: auto;
    }

    #cockpit.flumen-et #cockpitContent {
        display: block;
        height: auto;
        min-height: 100%;
    }

    #cockpit.flumen-et #cockpitContentTitle {
        width: 100% !important;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 12px 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(176, 222, 237, 0.18);
    }

    #cockpit.flumen-et #whereIsItCockpitSubTitleHolder {
        display: flex;
        align-items: center;
        top: auto;
        width: 100% !important;
        height: auto;
        padding: 0 44px 0 0;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    #cockpit.flumen-et #whereIsItCockpitSubTitleLine1 {
        display: none !important;
    }

    #cockpit.flumen-et #whereIsItCockpitSubTitleLine2 {
        flex: 0 0 auto;
        margin: 0 8px 0 0;
        font-size: 20px;
        letter-spacing: -0.03em;
    }

    #cockpit.flumen-et #whereIsItCockpitSubTitleLastChangeLabel,
    #cockpit.flumen-et #whereIsItCockpitSubTitleLastChangeDay,
    #cockpit.flumen-et #whereIsItCockpitSubTitleNotUpToDate {
        display: none !important;
    }

    #cockpit.flumen-et #whereIsItCockpitOrdnerlist,
    #cockpit.flumen-et #whereIsItCockpitSectionlist,
    #cockpit.flumen-et #whereIsItCockpitShopFloorlist,
    #cockpit.flumen-et #whereIsItCockpitFunktionlist {
        display: flex;
        flex: 0 0 auto;
        gap: 5px;
        margin: 0;
        padding: 0 0 0 7px;
        border-top: 0;
        border-left: 1px solid rgba(176, 222, 237, 0.16);
    }

    #cockpit.flumen-et .whereIsItCockpitSectionlistDiv,
    #cockpit.flumen-et .whereIsItCockpitOrdnerlistDiv {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 4px 8px;
    }

    #cockpit.flumen-et .whereIsItCockpitOrdnerlistIcon,
    #cockpit.flumen-et .whereIsItCockpitOrdnerlistImg {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    #cockpit.flumen-et > #cockpitEinAusBlend {
        display: none;
    }

    #cockpit.flumen-et > #whereIsItCockpitTitleFunctionClose {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        border-color: rgba(255, 255, 255, 0.15);
        background: var(--flumen-et-navigation-soft);
        color: #ffffff;
        line-height: 36px;
        box-shadow: none;
    }

    #cockpit.flumen-et #cockpitContentContent {
        height: auto;
        max-height: none;
        margin: 0;
        padding: 26px 18px 80px;
    }

    #cockpit.flumen-et #whereIsItCockpitSectionsTitle {
        padding-right: 0;
        font-size: clamp(31px, 9vw, 46px);
    }

    #cockpit.flumen-et .flumen-et-folder-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    #cockpit.flumen-et .flumen-et-folder-intro p {
        text-align: left;
    }

    #cockpit.flumen-et #whereIsItCockpitSections,
    #cockpit.flumen-et #whereIsItCockpitDefaultSections {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #cockpit.flumen-et .whereIsItCockpitSection {
        min-height: 190px;
    }
}

@media (max-width: 520px) {
    #cockpit.flumen-et #whereIsItCockpitSections,
    #cockpit.flumen-et #whereIsItCockpitDefaultSections {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #cockpit.flumen-et .whereIsItCockpitSection {
        min-height: 180px;
    }

    #cockpit.flumen-et #whereIsItCockpitGoalSections {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cockpit.flumen-et #cockpitContent,
    #cockpit.flumen-et .whereIsItCockpitSection,
    #cockpit.flumen-et .whereIsItCockpitSectionlistDiv,
    #cockpit.flumen-et .whereIsItCockpitOrdnerlistDiv,
    #cockpit.flumen-et > #cockpitEinAusBlend,
    #cockpit.flumen-et > #whereIsItCockpitTitleFunctionClose {
        transition: none;
    }

    #cockpit.flumen-et .cockpitLoadingProgressSpinner {
        animation-duration: 1.8s;
    }
}
/* CO₂ dashboard data editor */
.co2DashboardDataEditor { position: fixed; inset: 0; z-index: 22000; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; background: rgba(5, 13, 33, .48); opacity: 0; transition: opacity 180ms ease; }
.co2DashboardDataEditor.is-open { display: flex; opacity: 1; }
.co2DashboardDataEditorPanel { width: min(1180px, 100%); max-height: 92vh; overflow: hidden; border: 1px solid #d4e5da; border-radius: 14px; background: #fff; box-shadow: 0 24px 64px rgba(4, 17, 32, .27); color: #172038; }
.co2DashboardDataEditorPanel header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #e2eee6; }
.co2DashboardDataEditorPanel h2 { margin: 0; font: 400 22px Ubuntu, sans-serif; }
.co2DashboardDataEditorPanel header p, .co2DashboardDataEditorHint { margin: 4px 0 0; color: #6f8078; font: 12px UbuntuThin, Ubuntu, sans-serif; }
.co2DashboardDataEditorPanel header button { border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.co2DashboardDataEditorTools { display: flex; gap: 10px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #e2eee6; }
.co2DashboardDataEditorTools label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.co2DashboardDataEditorTools select, .co2DashboardDataEditorTools button { min-height: 32px; border: 1px solid #cbded1; border-radius: 5px; background: #fff; padding: 4px 9px; color: #183126; }
.co2DashboardDataEditorTools button { cursor: pointer; }
.co2DashboardDataEditorHint { padding: 0 20px 12px; }
.co2DashboardDataEditorImportPreview { margin: 12px 20px 0; padding: 8px 10px; border-radius: 5px; background: #edf7f0; color: #235339; font-size: 12px; }
.co2DashboardDataEditorImportPreview.is-error { background: #fff0f2; color: #a2234f; }
.co2DashboardDataEditorTable { max-height: calc(92vh - 190px); overflow: auto; padding: 0 20px 20px; }
.co2DashboardDataEditorGrid { width: 100%; border-collapse: collapse; font-size: 13px; }
.co2DashboardDataEditorGrid th { position: sticky; top: 0; background: #edf7f0; text-align: left; }
.co2DashboardDataEditorGrid th, .co2DashboardDataEditorGrid td { min-width: 120px; border: 1px solid #dbe9df; padding: 0; }
.co2DashboardDataEditorGrid th { padding: 8px; }
.co2DashboardDataEditorGrid input { width: 100%; box-sizing: border-box; border: 0; padding: 8px; background: transparent; color: inherit; font: inherit; }
.co2DashboardDataEditorGrid input:focus { outline: 2px solid #3ab367; outline-offset: -2px; }
.co2DashboardDataEditorGrid input.is-invalid { background: #fff0f2; outline: 1px solid #c01466; }
@media (max-width: 720px) { .co2DashboardDataEditor { padding: 0; } .co2DashboardDataEditorPanel { max-height: 100vh; border-radius: 0; } .co2DashboardDataEditorTools { flex-wrap: wrap; } }

/* Liefermaterial-PCF as a native second view of the shared InfoPanel. */
.co2InfoPanelPCFView { display: none; min-height: 100%; padding: .8rem; box-sizing: border-box; color: #07173d; background: #f6f9fc; }
#sidePanelContent_Info.sidePanelContent_Info--pcf > :not(#co2InfoPanelPCFView) { display: none !important; }
#sidePanelContent_Info.sidePanelContent_Info--pcf > #co2InfoPanelPCFView { display: block !important; }
.co2InfoPanelPCFView__toolbar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem .8rem; align-items: center; padding: .75rem; margin-bottom: .75rem; border: 1px solid #c9ddeb; border-radius: .8rem; background: #07173d; color: #fff; box-shadow: 0 .55rem 1.5rem rgba(7, 23, 61, .14); }
.co2InfoPanelPCFView__back { display: inline-flex; gap: .4rem; align-items: center; min-height: 2.25rem; padding: 0 .7rem; border: 1px solid #79c9e8; border-radius: .55rem; color: #fff; background: transparent; cursor: pointer; }
.co2InfoPanelPCFView__heading { min-width: 0; }
.co2InfoPanelPCFView__heading strong, .co2InfoPanelPCFView__heading small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co2InfoPanelPCFView__heading small { margin-top: .15rem; color: #acddec; }
.co2InfoPanelPCFView__supplier { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: center; font-size: .8rem; }
.co2InfoPanelPCFView__supplier select { width: 100%; min-width: 0; min-height: 2.25rem; padding: 0 .65rem; border: 1px solid #79c9e8; border-radius: .5rem; background: #fff; color: #07173d; }
.co2InfoPanelPCFView__form > .modal_Content { box-sizing: border-box; display: block; overflow: visible !important; border: 1px solid #d4e2ec; border-radius: .8rem; background: #fff; box-shadow: none; }
.co2InfoPanelPCFView__form #cockpitDataEditInputWindowTableDivHolder,
.co2InfoPanelPCFView__form #cockpitDataEditInputWindowTableDiv,
.co2InfoPanelPCFView__form #cockpitDataEditInputWindowTableDivAI,
.co2InfoPanelPCFView__form #cockpitDataEditInputWindowTableDivSupplier,
.co2InfoPanelPCFView__form #cockpitDataEditInputWindowTableDivImport { box-sizing: border-box; max-width: 100%; }

/* Persistent application chrome and Explorer content are separate surfaces.
 * The root owns only the navigation and header; the Explorer workspace is a
 * body-level sibling and cannot paint over another routed portal. */
body.analysisMatrixNavigationPinned #analysis-matrix-root > div,
body.analysisMatrixNavigationVisible #analysis-matrix-root > div,
body.flumen-explorer-start-active #analysis-matrix-root > div {
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

body.analysisMatrixNavigationPinned #analysis-matrix-root,
body.analysisMatrixNavigationVisible #analysis-matrix-root,
body.flumen-explorer-start-active #analysis-matrix-root {
    /* Portal surfaces occupy the 20020–20040 shell layers. The persistent
    * header and navigation must share one stacking context above them;
     * pointer-events remain disabled on the transparent root itself. */
    z-index: 20045 !important;
    background: transparent !important;
    pointer-events: none !important;
}

body.analysisMatrixNavigationPinned.flumenPortalIOT #analysis-matrix-root,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #analysis-matrix-root {
    z-index: 20045 !important;
}

body.analysisMatrixNavigationPinned #analysis-matrix-root > div > div#analysis-matrix-header,
body.analysisMatrixNavigationVisible #analysis-matrix-root > div > div#analysis-matrix-header,
body.flumen-explorer-start-active #analysis-matrix-root > div > div#analysis-matrix-header {
    display: flex !important;
    position: fixed !important;
    inset: 0 0 auto var(--analysis-matrix-navigation-width, var(--flumen-navigation-width)) !important;
    width: auto !important;
    height: 4rem !important;
    min-height: 4rem;
    pointer-events: auto !important;
    z-index: 20035 !important;
}

body.analysisMatrixNavigationPinned #analysis-matrix-sidepanel,
body.analysisMatrixNavigationVisible #analysis-matrix-sidepanel,
body.flumen-explorer-start-active #analysis-matrix-sidepanel {
    pointer-events: auto !important;
}

body.analysisMatrixNavigationPinned #analysis-matrix-content,
body.analysisMatrixNavigationVisible #analysis-matrix-content,
body.flumen-explorer-start-active #analysis-matrix-content {
    display: none !important;
}

body.flumenPortalExplorer #analysis-matrix-content,
body.flumen-explorer-start-active #analysis-matrix-content {
    display: block !important;
    position: fixed !important;
    inset: 0 0 0 var(--analysis-matrix-navigation-width, var(--flumen-navigation-width)) !important;
    width: auto !important;
    height: 100dvh !important;
    background: #fff;
    pointer-events: auto !important;
    z-index: 20020 !important;
}

body.analysisMatrixNavigationPinned.flumenPortalMina #leadIn {
    top: var(--analysis-matrix-header-height, 4rem);
    height: calc(100dvh - var(--analysis-matrix-header-height, 4rem));
}

/* Every routed application surface starts below the persistent context
 * header. These are body-level legacy portals, so normal document flow cannot
 * reserve the header row for them. Keep their existing horizontal geometry
 * and constrain only the vertical workspace. */
body.analysisMatrixNavigationPinned.flumenPortalMina #leadIn,
body.analysisMatrixNavigationVisible.flumenPortalMina #leadIn,
body.analysisMatrixNavigationPinned.flumenPortalCockpit #cockpit,
body.analysisMatrixNavigationVisible.flumenPortalCockpit #cockpit,
body.analysisMatrixNavigationPinned.flumenPortalShopfloor #ShopFloor,
body.analysisMatrixNavigationVisible.flumenPortalShopfloor #ShopFloor,
body.analysisMatrixNavigationPinned.flumenPortalLogistik #logistikboard,
body.analysisMatrixNavigationVisible.flumenPortalLogistik #logistikboard,
body.analysisMatrixNavigationPinned.flumenPortalIOT #SensorDiv,
body.analysisMatrixNavigationVisible.flumenPortalIOT #SensorDiv,
body.analysisMatrixNavigationPinned.flumenPortalERP #tableWindowHolder:not(.miniERPCreateDialog),
body.analysisMatrixNavigationVisible.flumenPortalERP #tableWindowHolder:not(.miniERPCreateDialog),
body.analysisMatrixNavigationPinned.flumenPortalUsermanagement #user-settings-modal-new,
body.analysisMatrixNavigationVisible.flumenPortalUsermanagement #user-settings-modal-new,
body.analysisMatrixNavigationPinned.flumenPortalHelp #user-settings-modal-new,
body.analysisMatrixNavigationVisible.flumenPortalHelp #user-settings-modal-new {
    top: var(--analysis-matrix-header-height, 4rem) !important;
    bottom: 0 !important;
    height: calc(100dvh - var(--analysis-matrix-header-height, 4rem)) !important;
    max-height: calc(100dvh - var(--analysis-matrix-header-height, 4rem)) !important;
}

body.analysisMatrixNavigationPinned.flumenPortalMina #leadIn,
body.analysisMatrixNavigationVisible.flumenPortalMina #leadIn {
    top: var(--analysis-matrix-header-height, 4rem) !important;
    bottom: 0 !important;
    height: calc(100dvh - var(--analysis-matrix-header-height, 4rem)) !important;
    max-height: calc(100dvh - var(--analysis-matrix-header-height, 4rem)) !important;
    left: var(--analysis-matrix-navigation-width) !important;
    width: calc(100vw - var(--analysis-matrix-navigation-width)) !important;
}

/* eT has a more specific decorated full-screen shell. Move that complete
 * shell so its home view and every nested tool keep the same header gap. */
body.analysisMatrixNavigationPinned.flumenPortalCockpit #cockpit.flumen-et {
    inset: var(--analysis-matrix-header-height, 4rem) 0 0 var(--analysis-matrix-navigation-width) !important;
    top: var(--analysis-matrix-header-height, 4rem) !important;
    bottom: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - var(--analysis-matrix-header-height, 4rem)) !important;
}

/* Explorer graph canvases used to begin behind the header. Reserve the same
 * row as every other routed workspace so nodes and controls are never hidden. */
#analysis-matrix-content.analysis-matrix-content--graph > .analysis-matrix-workspace {
    top: var(--analysis-matrix-header-height, 4rem) !important;
    bottom: 0 !important;
    height: calc(100% - var(--analysis-matrix-header-height, 4rem)) !important;
}

/* Suggestions fills the workspace below the header and beside navigation. */
body.analysisMatrixNavigationVisible #suggestions-modal:not([hidden]) {
    inset: var(--analysis-matrix-header-height, 4rem) 0 0 var(--analysis-matrix-navigation-width, var(--flumen-navigation-width, 3.75rem)) !important;
    width: auto !important;
    height: calc(100dvh - var(--analysis-matrix-header-height, 4rem)) !important;
    /* The Explorer root uses the legacy 2147482000 shell layer. The dialog
     * must sit above its page content, while its geometry leaves header and
     * navigation untouched and the global loader remains higher. */
    z-index: 2147482500 !important;
}

/* Main-navigation hover state must follow the button's hit box immediately.
 * Portal styles are loaded after the base navigation sheet, so explicitly
 * suppress any inherited hover motion and let the button own pointer hits. */
#analysis-matrix-sidepanel .analysis-matrix-sidepanel-link:not(.analysis-matrix-sidepanel-link-header),
#analysis-matrix-sidepanel .analysis-matrix-sidepanel-link:not(.analysis-matrix-sidepanel-link-header):hover,
#analysis-matrix-sidepanel .analysis-matrix-sidepanel-link:not(.analysis-matrix-sidepanel-link-header):focus-visible {
    transform: none !important;
    transition: none !important;
}

#analysis-matrix-sidepanel .analysis-matrix-sidepanel-link:not(.analysis-matrix-sidepanel-link-header) > * {
    pointer-events: none !important;
    transform: none !important;
    transition: none !important;
}

/* Keep the shared shell above portal surfaces. The global loading layer
 * covers its header; the left navigation remains outside the backdrop. */
body.analysisMatrixNavigationPinned #analysis-matrix-root,
body.analysisMatrixNavigationVisible #analysis-matrix-root,
body.flumen-explorer-start-active #analysis-matrix-root,
body.analysisMatrixNavigationPinned.flumenPortalMina #analysis-matrix-root {
    z-index: 2147483002 !important;
}

/* Portal-specific z-index rules are intentionally beaten so the shared shell
 * stays visible above loading layers on every routed surface. */
body.analysisMatrixNavigationPinned.analysisMatrixNavigationPinned #analysis-matrix-root,
body.analysisMatrixNavigationVisible.analysisMatrixNavigationVisible #analysis-matrix-root,
body.flumen-explorer-start-active.flumen-explorer-start-active #analysis-matrix-root {
    z-index: 2147483002 !important;
}

/* Loading covers the workspace and context header; the left navigation remains available. */
body.analysisMatrixNavigationPinned.analysisMatrixNavigationPinned #loadScreen,
body.analysisMatrixNavigationVisible.analysisMatrixNavigationVisible #loadScreen,
body.flumen-explorer-start-active.flumen-explorer-start-active #loadScreen {
    inset: 0 0 0 var(--analysis-matrix-navigation-width, var(--flumen-navigation-width)) !important;
    width: auto !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
}
body.analysisMatrixNavigationPinned.analysisMatrixNavigationPinned #loadScreen > .modal-content,
body.analysisMatrixNavigationVisible.analysisMatrixNavigationVisible #loadScreen > .modal-content,
body.flumen-explorer-start-active.flumen-explorer-start-active #loadScreen > .modal-content {
    inset: 0 0 0 var(--analysis-matrix-navigation-width, var(--flumen-navigation-width)) !important;
    width: auto !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
}

/* The project catalogue has no single selected footprint or project controls. */
#flumenCO2HeaderSummary.flumenCO2Header--project-overview {
    grid-template-columns: minmax(0, 1fr);
    min-height: 3.5rem;
}
#flumenCO2HeaderSummary.flumenCO2Header--project-overview :is(#newCO2ContentSideOverview, #flumenCO2HeaderControls) {
    display: none;
}
#flumenCO2HeaderSummary.flumenCO2Header--project-overview #newCO2ContentSideTitle {
    font-size: clamp(1rem, .9rem + .25vw, 1.25rem);
}
#co2ProjectOverviewTitle { font-size: 1rem; font-weight: 650; }
.flumenCO2ProjectOverviewTable :is(table, th, td) {
    font-size: clamp(.8125rem, .7rem + .2vw, 1rem) !important;
    line-height: 1.4;
}
.flumenCO2ProjectOverviewTable :is(th, td) { padding: .5rem .65rem; }

/* Keep the Actions editor footer controls compact and readable. */
#cockpit.flumen-et .InputShopFloorButtonDiv .InputShopFloorButton {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 104px;
    min-height: 40px;
    height: auto;
    padding: 10px 18px;
    font-size: 16px;
    line-height: 1.3;
}

/* Keep the Data Center catalog inside the space below its own summary. */
#cockpit.flumen-et.flumen-co2-data-center-view #newCO2ContentPage {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

#cockpit.flumen-et.flumen-co2-data-center-view #newCO2ContentPageHolder {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

#cockpit.flumen-et.flumen-co2-data-center-view #newCO2ContentPageContent {
    height: auto;
    min-height: 0;
    padding-bottom: 1.5rem;
    overflow: auto;
}

.flumenCO2NavigationItem:disabled {opacity:.4;cursor:not-allowed;pointer-events:none;}

/* CO2 review: expose reliable read actions; keep unfinished data editing out of dashboards. */
body.flumenPortalCO2 #dashboardDataEditor,
body.flumenPortalCO2 #dashboard .dashboardCellStats {display:none !important;}
body.flumenPortalCO2 #dashboard .dashboardSpecificHeaderDiv {margin-top:.5rem !important;}
/* Details are a full-width second grid row, after the project controls. */
#flumenCO2HeaderSummary > #newCO2MoreInformation {
    grid-column: 1 / -1;
    order: 4;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-height: min(260px, 32vh);
    overflow: auto;
    padding: 12px 14px;
    border-top: 1px solid #c9dbe4;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}
#flumenCO2HeaderSummary > #newCO2MoreInformation > div:first-child {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 12px 16px !important;
    margin-top: 0 !important;
}
#flumenCO2HeaderSummary > #newCO2MoreInformation > div > div { min-width: 0; }
#flumenCO2HeaderSummary > #newCO2MoreInformation .newCO2Input {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    min-height: 32px;
    margin: 3px 0 0;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.4;
}
#flumenCO2HeaderSummary > #newCO2MoreInformation textarea.newCO2Input {
    min-height: 64px;
    resize: vertical;
}
.co2ImpactUsageInfo {max-width:75ch;line-height:1.55;padding:.8rem 1rem;border:1px solid #c9dbe4;border-radius:.5rem;background:#f3f9fc;color:#24486f;}

#flumenCO2HeaderSummary > #newCO2MoreInformation > div:not(:first-child) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 16px 0 0 !important;
    padding: 6px 10px;
    border: 1px solid #c9dbe4;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.4;
    vertical-align: middle;
}
#flumenCO2HeaderSummary > #newCO2MoreInformation > div:not(:first-child) > i {
    flex: 0 0 auto;
    font-size: 15px;
}

.flumenCO2ProjectPeriodHint {margin:6px 0 0;max-width:480px;color:var(--flumen-et-text-muted);font-size:12px;line-height:1.4;}

.flumenCO2PeriodExplanation {
    all: unset;
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: help;
    border-radius: inherit;
}
.flumenCO2PeriodExplanation:focus-visible {outline: 2px solid #2585a5; outline-offset: 2px;}

#cockpit.flumen-et .co2PortalOverview .co2PortalSecondaryAction > .groupModificationModalControlBarEntrySelect {
    flex: 1 1 auto;
    order: 1;
    width: auto;
    text-align: left;
}
#cockpit.flumen-et .co2PortalOverview .co2PortalSecondaryAction > :is(.groupModificationModal_iconG, .co2PortalSecondaryActionIcon) {
    flex: 0 0 18px;
    order: 0;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 6px 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    text-align: center;
}
#cockpit.flumen-et .co2PortalOverview .co2PortalSecondaryAction > img.co2PortalSecondaryActionIcon {
    /* Match the green font icons, including black SVG/PNG source assets. */
    filter: brightness(0) saturate(100%) invert(52%) sepia(72%) saturate(474%) hue-rotate(83deg) brightness(92%) contrast(87%);
}

/* Portal navigation owns leaving CO2; no floating shell close control. */
body.flumenPortalCO2 #cockpit.flumen-et > #whereIsItCockpitTitleFunctionClose {
    display: none !important;
}

#flumenCO2PortalHeaderTitle { display: none; }
body.flumenPortalCO2 #flumenCO2PortalHeaderTitle {
    display: flex;
    flex: 1 1 240px;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 580px;
    align-items: flex-start;
    text-align: left;
    padding: 0 12px;
    color: #07112f;
    line-height: 1.25;
}
#flumenCO2PortalHeaderTitle strong { font-size: 20px; font-weight: 750; }
#flumenCO2PortalHeaderTitle span {
    font-size: 11px;
    color: #68748a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.flumenPortalCO2 #cockpitOnePageConfigurator:has(.co2PortalOverview) #cockpitOnePageConfiguratorHeader {
    display: none;
}
@media (max-width: 1300px) {
    body.flumenPortalCO2 #flumenCO2PortalHeaderTitle { flex-basis: 100px; padding: 0 6px; }
    #flumenCO2PortalHeaderTitle span { display: none; }
    #flumenCO2PortalHeaderTitle strong { font-size: 16px; }
}

body.flumenPortalCO2 #analysis-matrix-header .futurTerminalBreadcrumbs {
    display: none;
}

#cockpit.flumen-et .co2PortalOverview .co2PortalSecondaryAction[data-key="Webseite"] > img.co2PortalSecondaryActionIcon {
    filter: none;
}

body.flumenPortalLogistik #analysisMatrix-dateRangeWrapper {
    opacity: .5;
    user-select: none;
    pointer-events: none;
}
body.flumenPortalLogistik #analysisMatrix-dateDropdown { display: none !important; }

#analysisMatrix-dateRangeWrapper[data-period-disabled="true"] { opacity: .5; user-select: none; }
#analysisMatrix-dateRangeWrapper[data-period-disabled="true"] #analysisMatrix-dateDropdown { display: none !important; }

/* The global header already identifies the suggestions portal. */
#suggestions-modal > .suggestions-modal__window > .suggestions-modal__header {
    display: none;
}

/* Alerts entry points are temporarily hidden; saved rules remain intact. */
#analysisMatrixAlertSubscriptions,
[data-route-portal="alerts"],
a[href*="portal=alerts"],
.flumenAlertsCenterLink,
.flumen-navigation-alert-indicator,
.flumen-dashboard-alert-summary {
    display: none !important;
}

/* These ESG entries are currently omitted from the CO2 portal. */
body.flumenPortalCO2 #cockpit [data-key="ESGPortals"],
body.flumenPortalCO2 #cockpit [data-key="ESGBoards-Doppelte-CO2"],
body.flumenPortalCO2 #newCO2SideLink_ESGPortals,
body.flumenPortalCO2 #newCO2SideLink_ESGBoards-Doppelte-CO2 {
    display: none !important;
}

/* Apply one tint to both glyphs and image assets in the CO2 navigation. */
#flumenCO2Navigation .flumenCO2NavigationIcon {
    color: #9fe0b2;
    filter: brightness(0) saturate(100%) invert(87%) sepia(12%) saturate(850%) hue-rotate(83deg) brightness(99%) contrast(90%);
}

/* The project list already has its own title and native add action. */
#flumenCO2HeaderSummary.flumenCO2Header--project-overview {
    display: none;
}

/* Keep bulk and footer actions compact in the new CO2 project form. */
#CO2CarbonNewElementDiv .selectButton {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 84px;
    max-width: 100%;
    min-height: 36px;
    height: auto;
    margin: 0;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}
#CO2CarbonNewElementDiv #CO2CarbonEditNew_werksTable td[style*="flex"] {
    gap: 8px;
    flex-wrap: wrap;
}
#CO2CarbonNewElementDiv #CO2CarbonEditFooterContent_CO2CarbonNewElementDiv {
    box-sizing: border-box;
    display: flex;
    float: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 14px 0 0;
    padding: 12px 0 16px;
}

/* Measures use the native list heading, without a duplicate footprint summary. */
#flumenCO2HeaderSummary.flumenCO2Header--measures,
body.flumenPortalCO2:has(.flumenCO2Header--measures) #cockpitOnePageHeader_ShopFloor {
    display: none;
}
body.flumenPortalCO2 #cockpitCloseGruppierungButton_ShopFloor {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 90px;
    height: 36px;
    min-height: 36px;
    padding: 7px 16px;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    border-radius: 6px;
}

#analysis-matrix-searchLocation-container[data-filter-disabled="true"] {
    opacity: .5;
    user-select: none;
}

/* Grouping assistant is suspended while its UI is being revised. */
#flumenGroupingAssistantDialog,
.flumenGroupingAgentOpen {
    display: none !important;
}
body.flumenPortalCockpit #cockpitOnePageConfigurator.flumenGroupingConfigurator > #cockpitOnePageConfiguratorHeader {
    display: none;
}

/* Legacy eT row actions must open above the modern portal surface. */
body.flumenPortalCockpit .modal {
    position: fixed;
    inset: 0;
}
body.flumenPortalCockpit .modal,
body.flumenPortalCockpit #cockpit_tableTooltip,
body.flumenPortalCockpit #tableWindow_tableTooltip,
body.flumenPortalCockpit #CockpitKpiEditMenu {
    z-index: var(--flumen-layer-dialog, 2147481500) !important;
}

/* PCF actions belong to the result summary; settings keep a compact full-width row. */
#flumenCO2HeaderSummary.flumenCO2Header--pcf {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}
#flumenCO2HeaderSummary.flumenCO2Header--pcf #newCO2ContentSideTitle {
    display: none;
}
#flumenCO2HeaderSummary.flumenCO2Header--pcf #flumenCO2HeaderControls {
    grid-column: 1;
    padding: 8px 12px;
}
.flumenCO2PCFSummaryColumn {
    display: flex;
    flex-direction: column;
    flex: 0 1 calc(38% - 10px);
    min-width: 300px;
    gap: 10px;
}
#cockpit.flumen-et .flumenCO2PCFSummaryColumn #CO2CarbonEditPCFContentResultHead {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}
.flumenCO2PCFSummaryColumn > .flumenCO2PCFHeaderActions {
    box-sizing: border-box;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid #d8e8dd;
    border-left: 3px solid var(--flumen-co2-green);
    border-radius: 7px;
    background: linear-gradient(90deg, #fbfdfb 0%, #fff 62%);
    gap: 6px;
}
.flumenCO2PCFHeaderActions .futurObjectChatOpen {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: .5em .85em;
    border: 1px solid var(--flumen-et-border);
    border-radius: .3rem;
    background: #fff;
    color: var(--flumen-et-navigation);
    font: inherit;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}
.flumenCO2PCFHeaderActions .futurObjectChatOpen:hover {
    border-color: var(--flumen-et-accent);
    color: var(--flumen-et-accent);
}
.flumenCO2PCFHeaderActions .futurObjectChatStatus:empty { display: none; }
@media (max-width: 1100px) { .flumenCO2PCFSummaryColumn { flex-basis: 100%; min-width: 0; } }

#co2PCFSettingsDialog {
    box-sizing: border-box;
    width: min(42rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 1rem;
    overflow: auto;
    border: 1px solid #c9ddd2;
    border-radius: 10px;
    background: white;
    color: #111a33;
    box-shadow: 0 12px 40px #010a2d30;
    font: 14px Ubuntu, Arial, sans-serif;
}
#co2PCFSettingsDialog::backdrop { background: #010a2d55; }
#co2PCFSettingsDialog > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
#co2PCFSettingsDialog > header button { border: 0; background: transparent; color: inherit; font-size: 1.5rem; cursor: pointer; }
#co2PCFSettingsDialog table { display: block; width: 100%; }
#co2PCFSettingsDialog tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
#co2PCFSettingsDialog tr.CO2CarbonEditPCF_extendedSettings { display: grid !important; grid-column: auto; grid-row: auto; grid-template-rows: auto auto auto; align-content: start; gap: .35rem; min-width: 0; }
#co2PCFSettingsDialog td { display: block; width: auto !important; height: auto; min-height: 0; min-width: 0; margin: 0; padding: 0; }
#co2PCFSettingsDialog .tsLabel { display: flex; align-items: center; gap: .3rem; font-weight: 600; }
#co2PCFSettingsDialog .flumenCO2PCFFieldLabel { margin: 0; }
#co2PCFSettingsDialog :is(input, select) { box-sizing: border-box; width: 100%; min-width: 0; height: auto; min-height: 2.3em; margin: 0; padding: .4em .5em; font: inherit; }
#co2PCFSettingsDialog .flumenCO2PCFFieldHint { display: block; margin: 0; padding: 0; white-space: normal; }
#co2PCFSettingsDialog #CO2CarbonEditPCF_tr_saufnrNew:not(.is-applicable) { display: none !important; }
@media (max-width: 600px) { #co2PCFSettingsDialog tbody { grid-template-columns: minmax(0, 1fr); } }

#flumenCO2PCFGlobalControls > #CO2CarbonEditPCF_extendedSettingsToggleButton {
    flex: 0 0 auto;
    align-self: center;
    min-height: 36px;
    padding: 0 8px !important;
    font: 650 13px Ubuntu, Arial, sans-serif;
    cursor: pointer;
}
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #flumenCO2HeaderSummary.flumenCO2Header--pcf {
    display: none;
}

/* Material checkboxes share one stable selection, independent of search results. */
.flumenCO2PCFMaterialChecklist > input[type=search] { display: block; box-sizing: border-box; width: 100%; height: 34px; min-height: 34px; margin: 0 0 8px; padding: 7px; border: 1px solid #b9cdbf; border-radius: 4px; background: white; color: #111a33; font: 13px Ubuntu, Arial, sans-serif; }
.flumenCO2PCFMaterialChecklist > input[type=search]::placeholder { color: #647086; opacity: 1; }
.flumenCO2PCFMaterialChecklist .flumenCO2PCFComboboxOption { display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.flumenCO2PCFMaterialChecklist .flumenCO2PCFComboboxOption input[type=checkbox] { flex: 0 0 auto; width: 17px; height: 17px; min-width: 0; margin: 0; accent-color: #176b32; }
.flumenCO2PCFMaterialChecklist .flumenCO2PCFComboboxOption span { overflow-wrap: anywhere; }
.flumenCO2PCFMaterialChecklist .flumenCO2PCFMaterialHint { margin: 8px 0; font-size: 12px; white-space: normal; }

/* Keep the shared favorite editor above the Explorer canvas as well as eT. */
#favoritenNewEdit[popover] {
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}

/* PCF stays on one row; narrow viewports scroll the native field strip. */
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-root > div > #analysis-matrix-header {
    height:auto !important; min-height:4rem; flex-wrap:nowrap; gap:.5rem .75rem; box-sizing:border-box;
}
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-header .analysis-matrix-header-brand { order:0; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-header .analysis-matrix-header-controls { order:1; flex:1 1 44rem; min-width:0; max-width:100%; flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #flumenCO2PCFGlobalControls {
    display:flex; flex:0 0 auto; flex-wrap:nowrap; min-width:max-content; max-width:none; width:max-content; gap:.5rem; align-items:center;
}
#flumenCO2PCFGlobalControls > .flumenCO2PCFField--material { flex:0 0 15rem; min-width:15rem; max-width:25rem; }
#flumenCO2PCFGlobalControls > .flumenCO2PCFField--customer { flex:0 0 9rem; min-width:9rem; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-searchLocation-container { flex:0 0 auto; width:calc(10ch + 2.5rem) !important; min-width:calc(10ch + 2.5rem) !important; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-searchLocation-container .label-dropdown-wrapper { min-width:calc(10ch + 2.5rem); width:100%; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-location { min-width:10ch; box-sizing:content-box; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-searchTime-container { flex:0 0 auto !important; width:max-content !important; max-width:none; margin:0; padding:0; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysisMatrix-visualToggle { width:100%; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #flumenCO2PortalHeaderTitle { order:2; flex:0 0 auto; min-width:max-content; margin:0; padding:0 .5rem; box-sizing:border-box; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) .analysis-matrix-header-system { order:3; }
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysis-matrix-searchItem-container { display:none !important; }

body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #analysisMatrix-dateRangeWrapper { display:block; width:max-content; margin:0; padding:0; }

/* Keep the portal label attached to Calculate, including in the scroll strip. */
body.flumenPortalCO2:has(#cockpit.flumen-co2-pcf-view) #flumenCO2PCFGlobalControls > #flumenCO2PortalHeaderTitle { flex:0 0 auto; margin:0 0 0 .4em; padding:0; min-width:max-content; }

#cockpit.flumen-et .co2PortalAssistantPrompts .co2PortalAssistantPromptPrimary:hover,
#cockpit.flumen-et .co2PortalAssistantPrompts .co2PortalAssistantPromptPrimary:focus-visible {
    background: #1f6f3c;
    border-color: #1f6f3c;
    color: #fff;
}
#cockpit.flumen-et .co2PortalAssistantPrompts button:focus-visible {
    outline: .125em solid #1f6f3c;
    outline-offset: .2em;
}
