body {
    --shopfloor-theme-color: #071642;
    --shopfloor-theme-surface: color-mix(in srgb, var(--shopfloor-theme-color) 74%, #020817);
    --shopfloor-theme-surface-deep: color-mix(in srgb, var(--shopfloor-theme-color) 54%, #010515);
    --shopfloor-theme-surface-soft: color-mix(in srgb, var(--shopfloor-theme-color) 88%, #193464);
}

#ShopFloor{
    display: none;
    font-family: 'Ubuntu', sans-serif;
    display: none;
    width: 100vw;
    bottom: 0px;
    position: fixed;
    top: var(--headerHeight);
    margin-top: 5.5vh;
    color: var(--circleLabel-color);
    z-index: 1;
    background: var(--background-color);
    flex-direction: column;
    min-height: 0;
}

body.shopFloorManagementActive #ShopFloor {
    display: flex;
}

body.shopFloorManagementActive.flumenPortalShopfloor #analysis-matrix-root {
    display: block !important;
    z-index: 20030;
}

body.shopFloorManagementActive.flumenPortalShopfloor #ShopFloor {
    box-sizing: border-box;
    left: var(--flumen-navigation-width);
    width: calc(100vw - var(--flumen-navigation-width));
    z-index: 20020;
}

body.global-user-navigation-ready.shopFloorManagementActive.flumenPortalShopfloor #ShopFloorHeadTitle {
    box-sizing: border-box;
    padding-inline-end: calc(
        var(--flumen-global-user-navigation-reserved-right, 0vw)
        + clamp(.5rem, 1vw, 1rem)
    );
}

body.shopFloorManagementActive #tableWindowHolder {
    z-index: 10000000 !important;
}

#ShopFloorCloseButton,
#shopFloorGroupingCloseButton {
    align-items: center;
    background: transparent;
    border: 0;
    color: #d9e4f4;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: clamp(1.2rem, 1.7vmin, 2rem);
    justify-content: center;
    min-height: clamp(2.5rem, 3vmin, 4rem);
    min-width: clamp(2.5rem, 3vmin, 4rem);
    padding: 0;
}

#ShopFloorCloseButton:hover,
#ShopFloorCloseButton:focus-visible,
#shopFloorGroupingCloseButton:hover,
#shopFloorGroupingCloseButton:focus-visible {
    color: #e61f68;
    outline: none;
}

#shopFloorGroupingCloseButton {
    position: fixed;
    right: clamp(1rem, 2vw, 3rem);
    top: clamp(1rem, 2vw, 3rem);
    z-index: 1;
}

body.shopFloorManagementActive #fluPaintHolder.flumen-drawer-feature,
body.shopFloorManagementActive #flumenDrawerReopenTab {
    z-index: 2147483005 !important;
}

#ShopFloorHead{
    /* height: 9vmin; */
    /* border: 1px solid; */
    margin-top: 2vmin;
    margin-top: 2vmin;
    width: 95%;
    margin: 2vmin auto;
}

#ShopFloorContent{
    width: 95%;
    /* border: 1px solid; */
    margin: 3vmin auto;
    overflow-y: auto;
    /* height: 69vh; */
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

#ShopFloorContentHead{
    display:flex;
    font-size: 2vmin;
    height: 6vmin;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1vmin;
}

#shopFloorAddTabButton {
    background: transparent;
    border: 1px dashed var(--circle-fill);
    color: var(--circleLabel-color);
    cursor: pointer;
    flex: 0 0 5vmin;
    font-size: 2.8vmin;
    height: 5.2vmin;
}

#shopFloorAddTabButton:hover {
    background: var(--color-active);
    color: white;
}

.shopfloorUserDrawToolbar {
    align-items: center;
    display: flex;
    gap: 1vmin;
    padding: 1vmin;
}

.shopfloorUserDrawToolbar input {
    box-sizing: border-box;
    height: 3.5vmin;
    width: 5vmin;
}

.shopfloorUserDrawToolbar span {
    color: var(--text-color-light);
    margin-left: auto;
}

.shopfloorUserDrawCanvas {
    background: white;
    border: 1px solid var(--circle-fill);
    box-sizing: border-box;
    height: calc(100% - 6vmin);
    touch-action: none;
    width: 100%;
}

.shopfloorTableEditor {
    box-sizing: border-box;
    height: 100%;
    overflow: auto;
    padding: 1.25rem;
}

.shopfloorTableEditorToolbar {
    align-items: center;
    background: var(--shopfloor-theme-surface);
    border: 1px solid rgba(153,213,238,.28);
    border-radius: 16px;
    color: #f4f8ff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    min-height: 4.25rem;
    padding: .75rem 1rem;
    row-gap: .75rem;
}

.shopfloorTableEditorTitle {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.shopfloorTableEditorTitle strong {
    font-size: 1.05rem;
}

.shopfloorTableEditorTitle small {
    color: rgba(205,222,246,.7);
    font-size: .76rem;
    line-height: 1.35;
    max-width: 62rem;
}

.shopfloorTableEditorTitle small b {
    color: #f4f8ff;
}

.shopfloorTableEditorActions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: flex-end;
}

.shopfloorTableEditorActions button {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(153,213,238,.38);
    border-radius: 10px;
    color: #a9e7ff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: .4rem;
    padding: .55rem .8rem;
}

.shopfloorTableEditorActions button:hover {
    background: rgba(47,177,224,.16);
    border-color: #79d8f6;
}

.shopfloorTableGrid {
    background: #fff;
    border: 1px solid #d8e1ef;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15,31,64,.08);
    min-height: 12rem;
    overflow: hidden;
}

.shopfloorTableGrid .gridjs-table {
    width: 100%;
}

.shopfloorTableGrid .gridjs-th {
    background: #eef6fb;
    color: #132443;
    font-weight: 600;
}

.shopfloorTableGrid .gridjs-td,
.shopfloorTableGrid .gridjs-th {
    border-color: #dce5f0;
    min-width: 9rem;
    padding: .8rem .9rem;
    text-align: left;
}

.shopfloorTableGrid .editable-cell,
.shopfloorTableGrid .editable-header {
    border-radius: 6px;
    min-height: 1.6rem;
    outline: none;
}

.shopfloorTableGrid .editable-cell:focus,
.shopfloorTableGrid .editable-header:focus {
    background: #f3fbff;
    box-shadow: 0 0 0 2px rgba(24,164,215,.32);
}

.shopFloorTablePresentation {
    background: #f7f9fc;
    box-sizing: border-box;
    color: #172744;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vmin, 18px);
    min-height: 100%;
    padding: clamp(8px, 1vmin, 16px);
    width: 100%;
}

.shopFloorTablePresentationFrame {
    background: #fff;
    border: 1px solid #d7e2ed;
    border-radius: clamp(10px, 1vmin, 16px);
    box-shadow: 0 12px 32px rgba(2, 13, 55, .08);
    flex: 0 0 auto;
    overflow: auto;
    width: 100%;
}

.shopFloorTablePresentation .shopFloorPresentationTable {
    background: #fff !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    color: #1b2b48 !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: clamp(13px, 1.05vmin, 18px) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    min-width: 100% !important;
    table-layout: auto !important;
    width: 100% !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable thead,
.shopFloorTablePresentation .shopFloorPresentationTable thead tr,
.shopFloorTablePresentation .shopFloorPresentationTable th,
.shopFloorTablePresentation .shopFloorPresentationTable thead td,
.shopFloorTablePresentation .shopFloorPresentationTable th * {
    background: var(--shopfloor-theme-surface-deep) !important;
    color: #f8fbff !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable th,
.shopFloorTablePresentation .shopFloorPresentationTable thead td {
    border: 0 !important;
    border-bottom: 3px solid #1597c4 !important;
    box-sizing: border-box !important;
    font-size: clamp(12px, .95vmin, 16px) !important;
    font-weight: 750 !important;
    padding: clamp(11px, 1.15vmin, 18px) clamp(12px, 1.35vmin, 22px) !important;
    position: sticky !important;
    text-align: left !important;
    top: 0 !important;
    white-space: nowrap !important;
    z-index: 2 !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable td {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe7f0 !important;
    box-sizing: border-box !important;
    color: #1b2b48 !important;
    max-width: min(34vw, 620px);
    padding: clamp(10px, 1vmin, 16px) clamp(12px, 1.35vmin, 22px) !important;
    vertical-align: middle !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable tbody tr:nth-child(odd) {
    background: #f5f8fc !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable tbody tr:nth-child(even) {
    background: #fff !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable tbody tr:hover {
    background: #e9f6fb !important;
    box-shadow: inset 4px 0 #1597c4;
}

.shopFloorTablePresentation .shopFloorPresentationTable tbody tr:last-child td {
    border-bottom: 0 !important;
}

.shopFloorTablePresentation .shopFloorPresentationTable .cut-text,
.shopFloorTablePresentation .shopFloorPresentationTable .shopFloorTableTextWhiteSpace,
.shopFloorTablePresentation .shopFloorPresentationTable td > div {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

.shopFloorPresentationControlValue {
    color: inherit;
    display: inline-block;
    min-width: 1ch;
    white-space: pre-wrap;
}

.dashboardGlobalPaintPresentationCanvas {
    image-rendering: auto;
    object-fit: contain;
}

.shopFloorTablePresentationLegend {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #d7e2ed !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(2, 13, 55, .06) !important;
    color: #53627a !important;
    display: flex !important;
    flex-wrap: wrap !important;
    font: 600 clamp(11px, .9vmin, 15px)/1.25 'Ubuntu', sans-serif !important;
    gap: clamp(8px, 1.2vmin, 18px) !important;
    margin: 0 !important;
    padding: clamp(9px, .9vmin, 14px) clamp(12px, 1.2vmin, 20px) !important;
    width: fit-content !important;
}

.shopFloorAttendancePresentation {
    gap: clamp(6px, .7vmin, 10px);
    min-height: 0;
    padding: clamp(4px, .5vmin, 8px);
}

.shopFloorAttendancePresentation .shopFloorTablePresentationFrame {
    flex: 1 1 auto;
    min-height: 0;
}

.shopFloorAttendancePresentation .cell-content,
.shopFloorAttendancePresentation .cell-grid {
    height: auto !important;
    min-height: 0 !important;
}

.shopFloorAttendancePresentation .cell-content {
    gap: 2px !important;
    padding: 0 !important;
}

.shopFloorAttendancePresentation .cell-grid {
    align-content: center !important;
    gap: clamp(2px, .25vmin, 4px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.shopFloorAttendancePresentation .shopFloorPresentationTable {
    font-size: clamp(10px, .78vmin, 13px) !important;
}

.shopFloorAttendancePresentation .shopFloorPresentationTable th,
.shopFloorAttendancePresentation .shopFloorPresentationTable td {
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(3px, .35vmin, 6px) clamp(4px, .5vmin, 8px) !important;
}

.shopFloorAttendancePresentation .cell-image,
.shopFloorAttendancePresentation .cell-image img {
    height: clamp(38px, 5.2vh, 62px) !important;
    max-height: 5.2vh !important;
    max-width: 5.2vh !important;
    width: clamp(38px, 5.2vh, 62px) !important;
}

.shopFloorAttendancePresentation .cell-image {
    border-width: 2px !important;
    box-shadow: none !important;
}

.shopFloorAttendancePresentation .cell-image .image-name {
    font-size: clamp(8px, .65vmin, 11px) !important;
    line-height: 1.05 !important;
    padding: 1px 2px !important;
}

.shopFloorAttendancePresentation .cell-textarea {
    max-height: 6vh !important;
    min-height: 0 !important;
}

.shopFloorAttendancePresentation .shopFloorPresentationNote {
    background: #f4f7fb;
    border-radius: 5px;
    display: block;
    font-size: clamp(9px, .7vmin, 12px);
    line-height: 1.2;
    margin-top: 3px;
    max-height: 4.8vh;
    overflow: hidden;
    padding: 3px 5px;
}

.shopFloorAttendancePresentation.shopFloorAttendanceNotesHidden .shopFloorPresentationNote {
    display: none;
}

.shopFloorMeasuresPresentation {
    min-height: 0;
    padding: 0;
}

.shopFloorMeasuresPresentation .shopFloorTablePresentationFrame {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable {
    table-layout: fixed !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th,
.shopFloorMeasuresPresentation .shopFloorPresentationTable td {
    padding: clamp(8px, .8vmin, 13px) clamp(9px, 1vmin, 16px) !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(1),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(1) {
    text-align: center !important;
    width: 5% !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(2),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(2) {
    text-align: center !important;
    width: 7% !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(3),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(3) {
    width: 23% !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(4),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(4) {
    width: 27% !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(5),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(5) {
    width: 13% !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(6),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(6),
.shopFloorMeasuresPresentation .shopFloorPresentationTable th:nth-child(7),
.shopFloorMeasuresPresentation .shopFloorPresentationTable td:nth-child(7) {
    width: 12.5% !important;
}

.shopFloorMeasuresPresentation .shopFloorPresentationTable td {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.shopFloorMeasuresPresentation .shopFloorTablePresentationLegend {
    flex: 0 0 auto;
    max-width: 100%;
}

@media (max-width: 1000px), (max-height: 720px) {
    .shopFloorTablePresentation .shopFloorPresentationTable {
        font-size: 12px !important;
    }

    .shopFloorTablePresentation .shopFloorPresentationTable th,
    .shopFloorTablePresentation .shopFloorPresentationTable td {
        padding: 8px 10px !important;
    }
}

.shopFloorContentHeadElement{
    background: var(--cockpit-logo);
    cursor: pointer;
    display:flex;
    flex-direction: row;
    padding: 1.5vmin 1.5vmin;
    margin-right: 1vmin;
    height: 2vmin;
    border: 1px solid var(--circle-fill);
}

body.shopFloorTabSwitchPending .shopFloorContentHeadElement[aria-busy="true"] {
    cursor: progress;
    opacity: .78;
}

#ShopFloorHeadHead{
    width: 100%;
    justify-content: stretch;
    display: flex;
}

#ShopFloorHeadTitle{
    display: flex;
    justify-content: space-between;
    font-size: 3vmin;
    width: 100%;
}

#ShopFloorHeadIcon {
    font-size: 3vmin;
}

#ShopFloorHeadHeadLabel{
    font-size: 3vmin;
    /* padding-top: 1vmin; */
    /* width: 25%; */
    margin-left: 2vmin;
}

#ShopFloorHeadContent{
    margin-left: 6vmin;
    /* margin-top: 1vmin; */
    display: flex;
    /* font-size: 5vmin; */
    width: 100%;
    justify-content: space-between;
}

#ShopFloorHeadContentPlace{
    display: flex;
    font-size: 3vmin;
    color: var(--circle-fill-geo);
}

/* Flumina-style Shopfloor header and area search */
#ShopFloorHeadTitle {
    align-items: center;
    gap: clamp(20px, 4vw, 72px);
    justify-content: flex-start;
}

#ShopFloorRefreshStatus {
    align-items: center;
    align-self: flex-start;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--text-color-light);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 10px;
    gap: 4px;
    line-height: 1;
    margin: 0;
    min-height: 16px;
    padding: 1px 4px;
}

#ShopFloorRefreshStatus:hover,
#ShopFloorRefreshStatus:focus-visible {
    background: color-mix(in srgb, var(--color-active) 10%, transparent);
    color: var(--color-active);
    outline: 1px solid color-mix(in srgb, var(--color-active) 45%, transparent);
    outline-offset: 1px;
}

#ShopFloorRefreshStatus > .fa {
    color: var(--color-active);
    font-size: 9px;
}

#ShopFloorRefreshStatus.is-disabled > .fa {
    color: #9aa8ba;
}

#ShopFloorRefreshStatus strong {
    color: inherit;
    font-variant-numeric: tabular-nums;
}

#ShopFloorRefreshCountdown {
    color: color-mix(in srgb, var(--text-color-light) 72%, transparent);
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    min-width: 3.5ch;
}

#ShopFloorHeadIdentity {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 230px;
}

#ShopFloorHeadHeadLabelText {
    align-items: center;
    padding-top: 0 !important;
}

#ShopFloorHeadHeadLabel { margin-left: 12px; }

#ShopFloorHeadContentTime {
    align-self: flex-start;
    align-items: center;
    color: var(--text-color-light);
    display: flex;
    font-size: clamp(11px, 1.05vmin, 14px) !important;
    gap: 6px;
    padding: 0 0 0 4px !important;
}

.shopFloorTimeStamp {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 7px;
    line-height: 1;
}

#ShopFloorHeadContentTime > .fa {
    align-items: center;
    background: color-mix(in srgb, var(--color-active) 12%, transparent);
    border-radius: 50%;
    color: var(--color-active);
    display: flex;
    height: 21px;
    justify-content: center;
    width: 21px;
}

#ShopFloorHeadContentTime strong {
    color: inherit;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.shopFloorTimeDate {
    opacity: 1;
}

.shopFloorTimeDate::after {
    content: "·";
    margin-left: 7px;
}

.shopFloorTableHeaderTools {
    align-items: center;
    display: flex;
    gap: 7px;
    margin-left: auto;
}

.shopFloorTableHeaderAction {
    align-items: center;
    background: #fff;
    border: 1px solid #cfe0ec;
    border-radius: 9px;
    color: #173154;
    cursor: pointer;
    display: inline-flex;
    gap: 6px;
    min-height: 36px;
    padding: 0 11px;
}

.shopFloorTableHeaderAction:hover {
    background: #edf9fd;
    border-color: #55b9d8;
    color: #c91061;
}

.shopFloorTableHeaderAction small {
    font-size: 11px;
    font-weight: 700;
}

#ShopFloor .shopFloorDataTableTab th.shopFloorPinnedColumn {
    background: var(--shopfloor-theme-surface-deep, #07143d) !important;
    position: sticky !important;
    z-index: 6;
}

#ShopFloor .shopFloorDataTableTab td.shopFloorPinnedColumn {
    background: #fff;
    position: sticky !important;
    z-index: 3;
}

#ShopFloor .shopFloorDataTableTab tbody tr:nth-child(odd) td.shopFloorPinnedColumn {
    background: #f7f9fc;
}

#ShopFloor .shopFloorDataTableTab tbody tr:hover td.shopFloorPinnedColumn {
    background: #eaf7fb;
}

#ShopFloor .shopFloorDataTableTab .shopFloorPinnedColumnEnd {
    box-shadow: 7px 0 12px -8px rgba(5, 22, 62, .75);
}

.shopFloorTableDialogOverlay {
    align-items: center;
    background: rgba(3, 13, 49, .5);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 10080;
}

.shopFloorTableDialog {
    background: #f8fbfe;
    border: 1px solid #a0c2da;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(1, 10, 42, .34);
    color: #1b2b49;
    max-height: min(82vh, 720px);
    overflow: hidden;
    width: min(92vw, 620px);
}

.shopFloorTableDialog > header {
    align-items: center;
    background: var(--shopfloor-theme-surface-deep, #07143d);
    color: #fff;
    display: flex;
    gap: 12px;
    padding: 15px 18px;
}

.shopFloorTableDialog > header > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.shopFloorTableDialog > header strong { font-size: 18px; }
.shopFloorTableDialog > header small { color: #bed6e7; font-size: 11px; }
.shopFloorTableDialogClose {
    background: transparent;
    border: 0;
    color: #a8e6f7;
    cursor: pointer;
    font-size: 22px;
}

.shopFloorTableDialogContent {
    max-height: calc(min(82vh, 720px) - 142px);
    overflow: auto;
    padding: 16px 18px;
}

.shopFloorTableDialogChoiceList,
.shopFloorTableDialogScope {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shopFloorTableDialogScope {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 17px;
}

.shopFloorTableDialogChoiceList label,
.shopFloorTableDialogScope label {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e4ef;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    gap: 8px;
    min-height: 37px;
    padding: 5px 9px;
}

.shopFloorTableDialogChoiceList input,
.shopFloorTableDialogScope input {
    accent-color: #c91061;
}

.shopFloorTableDialog > footer {
    background: #edf3f9;
    border-top: 1px solid #d9e4ef;
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    padding: 11px 16px;
}

.shopFloorTableDialog > footer button {
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
    min-height: 38px;
    padding: 0 16px;
}

.shopFloorTableDialogSecondary { background: #dfe8f3; color: #263856; }
.shopFloorTableDialogPrimary { background: #1285b5; color: #fff; }

#ShopFloorHeadContentPlace {
    align-items: center;
    color: var(--circleLabel-color);
    flex: 1 1 auto;
    gap: 10px;
    min-width: 0;
}

#ShopFloorHeadContentPlace > label {
    color: var(--text-color-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shopFloorAreaSearch {
    align-items: center;
    background: rgba(9, 20, 58, .94);
    border: 1px solid rgba(159, 183, 221, .24);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    height: 46px;
    max-width: 520px;
    padding: 0 11px;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: min(36vw, 520px);
}

.shopFloorAreaSearch:focus-within {
    border-color: rgba(25, 215, 255, .62);
    box-shadow: 0 0 0 3px rgba(25, 215, 255,.08), 0 16px 38px rgba(0,0,0,.24);
}

.shopFloorAreaSearchIcon {
    color: #b9c8e8;
    flex: 0 0 auto;
    font-size: 18px;
}

#ShopFloorHeadContentPlaceValue {
    background: transparent;
    border: 0;
    color: #fff;
    flex: 1 1 auto;
    font-size: 13px !important;
    height: auto;
    margin: 0 !important;
    min-width: 0;
    outline: 0;
    padding: 0;
    width: auto !important;
}

#ShopFloorHeadContentPlaceValue::placeholder { color: #8f9dbc; opacity: 1; }

.shopFloorAreaSearch kbd {
    align-items: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    color: #8492b2;
    display: flex;
    flex: 0 0 auto;
    font: 11px/1 inherit;
    height: 22px;
    justify-content: center;
    min-width: 24px;
}

.shopFloorAreaSearchResults.simpleDropdown {
    background: #fff;
    border: .0625rem solid #b8d5e2;
    border-radius: .75em;
    box-shadow: 0 .5em 1.5em rgba(23,62,89,.16);
    box-sizing: border-box;
    color: #173e59;
    color-scheme: light;
    font-size: clamp(.875rem, 1.3vmin, 1.75rem);
    left: 0;
    max-height: min(18em, 40vh);
    outline: 0;
    overflow-y: auto;
    padding: .375em;
    position: absolute;
    top: 100%;
    width: 100% !important;
    z-index: 10020;
}

.shopFloorAreaSearchResults.simpleDropdown option {
    background: #fff;
    border-radius: .3em;
    color: #173e59 !important;
    font-size: inherit !important;
    line-height: 1.35;
    min-height: 2em;
    padding: .4em .7em;
}

.shopFloorAreaSearchResults.simpleDropdown option:checked,
.shopFloorAreaSearchResults.simpleDropdown option:hover,
.shopFloorAreaSearchResults.simpleDropdown option:focus {
    background: #dff2f7 !important;
    color: #102b42 !important;
    box-shadow: none;
}

.shopFloorContentHeadElementLabel{
    margin-left:1vmin;
    white-space: nowrap;
}

#ShopFloorContentContent{
    border: 1px solid var(--circle-fill);
    margin-top: 1vmin;
    overflow-y: auto;
    padding: 0vmin 1vmin 0 1vmin;
    /* height: 51vh; */
    flex: 1 1 auto;
    min-height: 0;
}

.shopFloorFrontendLoadingArea {
    background: var(--background-color-darker);
    border: 1px solid var(--circle-fill);
    border-radius: 0.5vmin;
    color: var(--circleLabel-color);
    display: block;
    font-size: 2.6vmin;
    margin-left: 1vmin;
    padding: 0.35vmin 1vmin;
}

.shopFloorFrontendLoadingTab {
    opacity: 0.6;
    pointer-events: none;
}

.shopFloorFrontendLoadingContent {
    align-items: center;
    box-sizing: border-box;
    color: #071642;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(48vh, 460px);
    padding: 5vmin 3vmin;
    text-align: center;
}

.shopFloorFrontendLoadingVisual {
    align-items: center;
    display: flex;
    height: 72px;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    width: 72px;
}

.shopFloorFrontendLoadingSpinner {
    animation: shopFloorFrontendLoadingSpin .85s linear infinite;
    border: 3px solid rgba(18,133,181,.16);
    border-radius: 50%;
    border-right-color: #19bddd;
    border-top-color: #1285b5;
    height: 64px;
    position: absolute;
    width: 64px;
}

.shopFloorFrontendLoadingIcon {
    color: #071642;
    font-size: 25px;
}

.shopFloorFrontendLoadingContent strong {
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 750;
    letter-spacing: -.01em;
    margin-bottom: 7px;
}

.shopFloorFrontendLoadingContent small {
    color: #647089;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.55;
}

#ShopFloorContentContent.shopFloorTabLoading {
    position: relative;
}

.shopFloorTabLoadingOverlay {
    align-items: center;
    background: color-mix(in srgb, #f7f9fc 94%, transparent);
    box-sizing: border-box;
    color: #071642;
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    min-height: min(48vh, 29rem);
    padding: 5vmin 3vmin;
    position: absolute;
    text-align: center;
    z-index: 30;
}

.shopFloorTabLoadingOverlay strong {
    font-size: clamp(1rem, 1.35vw, 1.4rem);
    font-weight: 750;
    margin-bottom: .45rem;
}

.shopFloorTabLoadingOverlay small {
    color: #647089;
    font-size: clamp(.75rem, .9vw, .9rem);
    line-height: 1.55;
}

.shopFloorKpiEmptyState {
    align-items: center;
    color: #647089;
    display: flex;
    font-size: clamp(14px, 1.1vw, 18px);
    justify-content: center;
    min-height: min(40vh, 380px);
    padding: 2rem;
    text-align: center;
}

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

#cockpitOnePageContentPreHolder_FAUF,
#cockpitOnePageContentPreHolder_ARBID,
#cockpitOnePageContentPreHolder_FMATNR,
#cockpitOnePageContentPreHolder_FEHLT,
#cockpitOnePageContentPreHolder_ShopFloor{
    height: 64vh !important;
    margin-top: 3vmin;
}

.cockpitSideContentSFTableHead{
    position: sticky;
    top: 0;
    background: white;
}

.shopFloorCross_Day {
    width: 3vw;
    height: 3vh;
    line-height: 2.8vh;
    margin: 0.2em;
    cursor: pointer;
    background: var(--background-color);
    color: var(--circleLabel-color);
    border: 0.1em solid var(--circleLabel-color);
}

.shopFloorCross_DayGhost {
    background: transparent;
    cursor: default;
    border-color: transparent;
}

.shopFloorCross_Day_K {
    background: green;
    color: white;
}
.shopFloorCross_Day_L {
    background: yellow;
    color: black;
}
.shopFloorCross_Day_S {
    background: var(--cockpit-red);
    color: white;
}

.shopFloorContentContentDiv_CrossContainer {
    width: 22vw;
    margin: 3vmin auto;
    margin: o auto;
}

.shopFloorContentContentDiv_CrossLine {
    display: flex;
}

#shopFloorContentContentDiv_DRAW,
.shopfloorDrawContent {
    background: #fff;
    border: 1px solid #d8e3ee;
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 14px 32px rgba(2,13,55,.1);
    height: calc(100vh - var(--headerHeight, 0px) - 18vmin);
    min-height: 64vh;
    overflow: hidden;
    position: relative;
}

#shopfloorDrawWarningLabelHolder,
.shopfloorDrawWarningLabelHolder {
    left: 1vmin;
    margin: 0;
    position: absolute;
    top: 1vmin;
    z-index: 4;
}

#shopfloorDrawSaveButton,
.shopfloorDrawSaveButton {
    float: none !important;
    margin: 0;
    position: absolute;
    right: 14rem;
    top: 1vmin;
    z-index: 5;
}

.shopfloorDrawCanvasActions {
    bottom: 1rem;
    display: flex;
    gap: .5rem;
    position: absolute;
    right: 1rem;
    top: auto;
    z-index: 7;
}

.shopfloorDrawCanvasAction {
    align-items: center;
    background: rgba(255,255,255,.94);
    border: 1px solid #bdd5e7;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(2,13,55,.14);
    color: var(--shopfloor-theme-surface, #071642);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.05rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.shopfloorDrawCanvasAction:hover,
.shopfloorDrawCanvasAction:focus-visible,
.shopfloorDrawCanvasAction.is-active {
    background: var(--color-active);
    border-color: var(--color-active);
    color: #fff;
    outline: none;
}

.shopfloorDrawZoomControls {
    align-items: center;
    background: rgba(255,255,255,.94);
    border: 1px solid #bdd5e7;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(2,13,55,.14);
    display: inline-flex;
    overflow: hidden;
}

.shopfloorDrawZoomControls .shopfloorDrawCanvasAction {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.shopfloorDrawZoomValue {
    align-self: stretch;
    background: transparent;
    border: 0;
    border-left: 1px solid #d8e5ef;
    border-right: 1px solid #d8e5ef;
    color: var(--shopfloor-theme-surface, #071642);
    cursor: pointer;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
    min-width: 4.25rem;
    padding: 0 .45rem;
}

.shopfloorDrawZoomControls .shopfloorDrawCanvasAction:hover,
.shopfloorDrawZoomControls .shopfloorDrawCanvasAction:focus-visible,
.shopfloorDrawZoomValue:hover,
.shopfloorDrawZoomValue:focus-visible {
    background: var(--color-active);
    color: #fff;
    outline: none;
}

.shopfloorDrawViewport {
    height: 100%;
    inset: 0;
    overflow: auto;
    position: absolute;
    scrollbar-color: rgba(83, 103, 135, .6) transparent;
    scrollbar-width: thin;
    width: 100%;
}

.shopfloorDrawViewport.is-pan-enabled {
    cursor: grab;
}

.shopfloorDrawViewport.is-panning {
    cursor: grabbing;
    user-select: none;
}

.shopfloorDrawStage {
    height: 240%;
    min-height: 100%;
    min-width: 100%;
    position: relative;
    width: 240%;
}

.shopfloorDrawStage > canvas.paintCanvas {
    height: 100% !important;
    inset: 0;
    position: absolute;
    width: 100% !important;
}

body.shopfloorDrawFullscreenActive {
    overflow: hidden !important;
}

body.shopfloorDrawFullscreenActive #ShopFloor {
    z-index: 20040;
}

body.shopfloorDrawFullscreenActive #fluPaintHolder {
    z-index: 9999998 !important;
}

.shopfloorDrawContent.is-draw-fullscreen .shopfloorDrawViewport {
    background: #fff;
    height: 100vh;
    inset: 0;
    position: fixed;
    width: 100vw;
    z-index: 100;
}

.shopfloorDrawContent.is-draw-fullscreen .shopfloorDrawCanvasActions {
    bottom: 1rem;
    position: fixed;
    right: 1rem;
    top: auto;
    z-index: 102;
}

.shopfloorFluPaintOverlay {
    touch-action: none;
}

.shopFloor_inputMonth {
    border-color: var(--circle-fill);
    font-size: inherit;
    background: inherit;
    color: inherit;
    cursor: pointer;
    border-radius: 0.4em;
    /* margin-top: 3vmin; */
    padding: 0.2em 0.5em;
}

.sicherheitskreuzLegend{
    padding: 0vmin 3vmin 2vmin 3vmin;
    margin-top: 0;
}

#ShopFloorHeadContentTime{
    font-size: 3vmin;
    padding-top: 0.6vmin;
}

#shopFloorContentContentDiv_KPILT_Holder{
    height: 58vh;
    overflow-y:
    auto;
    margin-top: -1vmin;
}

#shopFloorContentContentDiv_KPILT{
    /* display: flex; */
    overflow-y: auto;
    marign: 0 auto;
    margin: 0 auto;
    width: 97%;
    /* flex-direction: column; */
}

.shopFloorDashboardLoading {
    align-items: center;
    background: var(--background-color-darker);
    border: 1px solid var(--circle-fill);
    border-radius: 1.2vmin;
    box-sizing: border-box;
    color: var(--text-color);
    display: flex;
    gap: 1.4vmin;
    margin: 3vmin auto;
    max-width: 34em;
    padding: 1.5vmin 2vmin;
}

.shopFloorDashboardLoading div {
    display: flex;
    flex-direction: column;
    gap: 0.35vmin;
}

.shopFloorDashboardLoading small {
    color: var(--text-color-light);
}

.shopFloorDashboardLoadingSpinner {
    animation: shopFloorDashboardSpinner 0.8s linear infinite;
    border: 3px solid rgba(25, 215, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--color-active);
    flex: 0 0 2.4vmin;
    height: 2.4vmin;
    width: 2.4vmin;
}

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

#shopFloorContentContentDiv_KPILT_Header{
    display: inline-flex;
    width: 97%;
    margin-top: 2vmin;
    margin: 0vmin auto;
    justify-content: space-between;
    /* float: right; */
    margin-top: 2vmin;
    padding: 1vmin 0 0 0;
    margin-bottom: 1vmin;
    /* font-size: 2.5vmin; */
}

#ShopFloorHeadContentPlaceValue{
    margin-left:1vmin;
    font-size: 2.6vmin;
    width: 29vw;
}

#ShopFloorHeadHeadLabelText{
    display:
    flex;
    padding-top: 0.6vmin;
}

#ShopFloorHeadContentPlaceValueGruppierung{
    margin-left: 1.5vmin;
    width: 3.5vmin;
    height: 3vmin;
    margin-top: 0.1VMIN;
    border: 1px solid;
    border-radius: 100%;
    background: var(--color-configurable);
    border-color: var(--color-configurable);
    color: var(--main-color);
    /* padding: 0.3vmin; */
    padding-top: 0.8vmin;
    font-size: 2vmin;
    font-family: 'Ubuntu', sans-serif;
    cursor: pointer;
    text-align: center;
    line-height: 2vmin !important;
}

#ShopFloorNoContent{
    font-size: 2vmin;
}

.shopFloorContentContentDiv {
    max-height: 67vh;
}

.shopFloorTabDataStatus {
    align-items: center;
    box-sizing: border-box;
    color: var(--text-color-light);
    display: flex;
    font-size: clamp(.75rem, 1.05vmin, 1rem);
    gap: .5em;
    justify-content: flex-end;
    min-height: 2.5em;
    padding: .5em 1em;
    width: 100%;
}

.shopFloorTabDataStatus time {
    color: var(--text-color);
    font-weight: 600;
}

.shopFloorTabDataStatusInline {
    color: inherit;
    flex: 0 0 auto;
    margin-left: auto;
    min-height: 0;
    padding: .25em .5em;
    white-space: nowrap;
    width: auto;
}

.shopFloorTabDataStatusInline time {
    color: inherit;
}

.shopFloorContentContentDiv table th {
    position: sticky;
    top: 0;
    background: var(--background-color);
    min-width: 2vw;
    text-align: center;
}

.shopFloorContentContentDiv table tr {
    /* line-height: 4vh; */
}

.interactive-table-container .text-center span {
    word-break: break-all;
    white-space: break-spaces;
}

.shopfloor_employeeTable tr:hover {
    background-color: var(--second-color-light);
}

.shopFloorContentContentDiv table td {
    border: 1px solid;
}

.shopfloor_employeeTable td:nth-child(1) {
    padding: 0 0.5em;
}

.shopfloor_employeeTable {
    display: block;
    text-align: left;
    overflow: auto;
    /* overflow-x: hidden; */
    width: 100%;
    max-height: 46vh;
    margin-bottom: 1vh;
}

.shopfloor_employeeTable td {
    border:1px solid var(--circle-fill);
}

.shopfloor_employeeTable_stateA {
    background: green;
    color: white;
}
.shopfloor_employeeTable_stateN {
    background: var(--cockpit-red);
    color: white;
}
.shopfloor_employeeTable_stateV {
    background: var(--cockpit-red);
    color: white;
}
.shopfloor_employeeTable_stateE {
    background: var(--cockpit-red);
    color: white;
}
.shopfloor_employeeTable_entry {
    cursor: pointer;
    text-align: center;
}

.shopfloor_employeeTable_stateA,
.shopfloor_employeeTable_stateN,
.shopfloor_employeeTable_stateV,
.shopfloor_employeeTable_stateE {
    height: 1em;
}

.shopfloorEmployeeLegend {
    display: inline-flex;
    line-height: unset;
}

.shopfloorEmployeeLegend .cockpit_legendLabel {
    margin-left: 0.5em;
}

.cockpitOnePageContentHeaderTime{
    margin-left: 7.5vmin;
    /* margin-top: 0.8vmin; */
}

.SFTimeTd{
    padding-right: 1vmin;
    margin-right: 1vmin;
    /* padding-left: 2vmin; */
    width: 3vw;
    margin-top: -1vmin;
    /* padding-bottom: 1vmin; */
}

.shopFloorStatuIndicator{
    background: none;
    font-weight: bolder;
}

.shopFloorGsetting{
    display:flex;
}

.SFSlideShow {
    position: relative;
    display: inline-block;
    width: 6vmin;
    height: 2.5vmin;
    margin-left: 2vmin;
    margin-right: 2vmin;
  }

  .SFSlideShow input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .SFSlide {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .SFSlide:before {
    position: absolute;
    content: "";
    height: 2vmin;
    width: 2vmin;
    left: 0.4vmin;
    top: 0.2vmin;
    /* bottom: 4px; */
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .SFSlide {
    background-color: #2196F3;
  }

  .SFSlideShow.is-active .SFSlide {
    background-color: #2196F3;
  }

  input:focus + .SFSlide {
    box-shadow: 0 0 1px #2196F3;
  }

  input:checked + .SFSlide:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  .SFSlideShow.is-active .SFSlide:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  /* Rounded sliders */
  .SFSlide.round {
    border-radius: 2.5vmin;
  }

  .SFSlide.round:before {
    border-radius: 50%;
  }

  #shopFloorContentContentDiv_ANWEN,
  #shopFloorContentContentDiv_SIKRZ{
    width: 95%;
    margin: 0 auto;
    margin-top: 2vmin;
  }

  .shopFloorContentDivHeader{
    padding: 2vmin 0vmin 0 3vmin;
  }

  #shopFloorSelector{
    width: 21vw;
    margin-left: 1vmin;
    height: 3.8vh;
    padding: 0 1vmin;
    font-size: 2vmin;
    border-color: var(--circle-fill);
  }

  #shopFloorSelectorDiv{
    display: inline-flex;
    margin-left: 8vmin;
  }

  #shopFloorSelectorLabel{
    font-size: 2.3vmin;
    padding-top: 0.7vmin;
  }

  .cockpit_shopFloorStatusIndicator{
    border-radius: 100%;
    width: 1vmin;
    height: 1.8vmin;
    margin-left: 2vmin;
  }

  #ShopFloorHeadContentPlaceValueShare,
  #ShopFloorHeadContentPlaceValueSlideShow,
  #ShopFloorHeadContentPlaceValueOption{
    margin-left: 2vmin;
    margin-top: 0.2vmin;
    color: var(--circleLabel-color);
    cursor: pointer;
  }

  #ShopFloorOptions, #ShopFloorOptionsSlideShow{
    width: 89%;
    margin: 0 auto;
    margin-top: 3vmin;
  }

  #ShopFloorOptionsSlideShow {
    height: 78vh;
    overflow: auto;
  }

  .shopfloor_THMN_input {
    font-size: inherit;
  }

  #ShopFloorOptionHead{
    /* display: flex; */
    /* flex-direction: row; */
    /* justify-content: space-between; */
  }

  #ShopFloorOptionHeadLabel{font-size: 2.5vmin;margin: 0 auto;}

  #ShopFloorOptionHeadClose{float: right;}

  #ShopFloorOptionHeadCloseSlideShow{float: right;}

  #ShopFloorOptionButtonDiv, #ShopFloorOptionButtonDivSlideShow{
    display: inline-flex;
    column-gap: 1vw;
    float: right;
    padding-right: 18vw;
  }

  .ShopFloorOptionButton{
    width: 6em;
  }

  .ShopFloorOptionContent{
    margin-bottom: 2vmin;
    max-height: 66vh;
    width: 100%;
    overflow-y: auto;
  }

  #ShopFloorOptionContent{
    overflow-y: auto;
    max-height: 66vh;
    width: 100%;
    margin-bottom: 3vmin;
  }

  #shopFloorOptionARBIDSENSOR{
    margin-top: 2vmin;
  }

  .dashboardSettingsInputTD{
    padding-right: 10vmin;
  }

  .iotCauseMain_Input, .iotCauseSub_Input {
    width: 95%;
  }

  .shopFloorOptionTable {width: 100%; line-height: 4vh;}

  .shopFloorOptionSectionLabel {font-size: 2vmin;/* text-align: left; */text-decoration: underline;text-underline-offset: 0.5vmin;margin-bottom: 1vmin;/* padding: 1vmin; */}

  .shopFloorOptionSectionDiv {min-width: 62%; max-width: 55vw; margin: 2vmin auto;border: 1px solid var(--circle-fill);padding: 1vmin;}

  /* Modern Shopfloor settings */
  #ShopFloorOptions {
    background: var(--background-color);
    border: 1px solid var(--circle-fill);
    border-radius: 1.6vmin;
    box-shadow: 0 2.4vmin 7vmin rgba(1, 10, 35, 0.2);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: min(78vh, 58rem);
    margin: 1.5vmin auto 0;
    max-width: 76rem;
    overflow: hidden;
    width: min(92%, 76rem);
  }

  #ShopFloorOptionHead {
    align-items: center;
    background: var(--shopfloor-theme-surface);
    box-sizing: border-box;
    color: var(--header-textColor);
    display: flex;
    min-height: 7vmin;
    padding: 1.2vmin 1.8vmin;
    cursor: grab;
    touch-action: none;
  }

  #ShopFloorOptions.shopFloorOptionsMoving {
    box-shadow: 0 3vmin 9vmin rgba(1, 10, 35, 0.32);
    user-select: none;
  }

  #ShopFloorOptions.shopFloorOptionsMoving #ShopFloorOptionHead { cursor: grabbing; }

  .shopFloorOptionDialogTitle {
    align-items: center;
    display: flex;
    gap: 1.2vmin;
  }

  .shopFloorOptionDialogTitle > span {
    align-items: center;
    background: rgba(255,255,255,.12);
    border-radius: 1vmin;
    display: flex;
    font-size: 2.4vmin;
    height: 4.4vmin;
    justify-content: center;
    width: 4.4vmin;
  }

  .shopFloorOptionDialogTitle div {
    display: flex;
    flex-direction: column;
    gap: .25vmin;
  }

  .shopFloorOptionDialogTitle strong { font-size: 2vmin; }
  .shopFloorOptionDialogTitle small { opacity: .72; font-size: 1.15vmin; }

  #ShopFloorOptionHeadClose {
    align-items: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: .8vmin;
    cursor: pointer;
    display: flex;
    float: none;
    height: 3.6vmin;
    justify-content: center;
    margin-left: auto;
    transition: background .15s ease, transform .15s ease;
    width: 3.6vmin;
  }

  #ShopFloorOptionHeadClose:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }

  #ShopFloorOptionContent {
    box-sizing: border-box;
    display: grid;
    gap: 1.5vmin;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
    align-items: start;
    margin: 0;
    max-height: none;
    overflow: auto;
    padding: 2vmin;
    scrollbar-color: var(--circle-fill) transparent;
  }

  #ShopFloorOptionContent .shopFloorOptionSectionDiv {
    background: var(--background-color-darker);
    border: 1px solid var(--circle-fill);
    border-radius: 1.2vmin;
    box-sizing: border-box;
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 1.5vmin;
  }

  #ShopFloorOptionContent .shopFloorOptionSectionDiv:first-child,
  #ShopFloorOptionContent .shopFloorOptionSectionDiv:has(#shopFloorOptionPresentation) {
    grid-column: 1 / -1;
  }

  #ShopFloorOptionContent #shopFloorOptionTab,
  #ShopFloorOptionContent #shopFloorOptionPresentation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: .6rem;
  }

  #ShopFloorOptionContent #shopFloorOptionTab tr,
  #ShopFloorOptionContent #shopFloorOptionPresentation tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem;
    border: 1px solid var(--circle-fill);
    border-radius: .5rem;
  }

  #ShopFloorOptionContent #shopFloorOptionTab td,
  #ShopFloorOptionContent #shopFloorOptionPresentation td { padding: 0; min-width: 0; }
  #ShopFloorOptionContent #shopFloorOptionTab td:last-child,
  #ShopFloorOptionContent #shopFloorOptionPresentation td:last-child { width: auto; flex: none; }
  #ShopFloorOptionContent #shopFloorOptionTab td:first-child,
  #ShopFloorOptionContent #shopFloorOptionPresentation td:first-child {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #ShopFloorOptionContent #shopFloorOtionTableSlide { width: 4em; min-height: 2em; }

  #ShopFloorOptionContent .shopFloorOptionSectionLabel {
    border-bottom: 1px solid var(--circle-fill);
    font-size: 1.55vmin;
    font-weight: 700;
    margin: 0 0 .8vmin;
    padding: 0 0 1vmin;
    text-decoration: none;
  }

  #ShopFloorOptionContent .shopFloorOptionTable {
    border-collapse: separate;
    border-spacing: 0 .35vmin;
    line-height: normal;
    width: 100%;
  }

  #ShopFloorOptionContent .shopFloorOptionTable td {
    padding: .65vmin .8vmin;
  }

  #ShopFloorOptionContent .shopFloorOptionTable tr:not(:first-child):hover td {
    background: color-mix(in srgb, var(--color-active) 7%, transparent);
  }

  #ShopFloorOptionContent .shopFloorOptionTable td:last-child {
    text-align: right;
    width: 7vmin;
  }

  #ShopFloorOptionContent input[type="checkbox"].shopFloorOptionTableInput {
    appearance: none;
    background: var(--background-color);
    border: 1px solid var(--circle-fill);
    border-radius: 1em;
    box-sizing: border-box;
    cursor: pointer;
    font-size: inherit;
    zoom: 1;
    height: 1.4em;
    width: 2.5em;
    margin: 0;
    position: relative;
    transition: background .18s ease;
  }

  #ShopFloorOptionContent input[type="checkbox"].shopFloorOptionTableInput::after {
    background: white;
    border-radius: 50%;
    box-shadow: 0 .1em .25em rgba(0,0,0,.24);
    content: "";
    height: 1em;
    width: 1em;
    left: .15em;
    position: absolute;
    top: calc(50% - .5em);
    transition: transform .18s ease;
  }

  #ShopFloorOptionContent input[type="checkbox"].shopFloorOptionTableInput:checked {
    background: var(--color-active);
    border-color: var(--color-active);
  }

  #ShopFloorOptionContent input[type="checkbox"].shopFloorOptionTableInput:checked::after {
    transform: translateX(1.1em);
  }

  #ShopFloorOptionContent .inputField,
  #ShopFloorOptionContent .inputFieldWide {
    background: var(--background-color);
    border: 1px solid var(--circle-fill);
    border-radius: .65vmin;
    box-sizing: border-box;
    color: inherit;
    min-height: 3.4vmin;
    padding: .45vmin .7vmin;
  }

  #ShopFloorOptionButtonDiv {
    background: var(--background-color);
    border-top: 1px solid var(--circle-fill);
    box-sizing: border-box;
    column-gap: 1vmin;
    display: flex;
    float: none;
    justify-content: flex-end;
    margin-top: auto;
    padding: 1.2vmin 2vmin;
  }

  #ShopFloorOptionButtonDiv .ShopFloorOptionButton {
    border-radius: .8vmin;
    min-width: 9em;
    width: auto;
  }

  @media (max-width: 900px) {
    #ShopFloorOptionContent { grid-template-columns: 1fr; }
    #ShopFloorOptionContent .shopFloorOptionSectionDiv:last-child { grid-column: auto; }
  }

  /* Modern slideshow configuration */
  #ShopFloorOptionsSlideShow {
    background: var(--background-color);
    border: 1px solid var(--circle-fill);
    border-radius: 1.6vmin;
    box-shadow: 0 2.4vmin 7vmin rgba(1, 10, 35, 0.2);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: min(68vh, 46rem);
    margin: 3vmin auto 0;
    max-width: 58rem;
    overflow: hidden;
    width: min(86%, 58rem);
  }

  #ShopFloorOptionHeadSlideShow {
    align-items: center;
    background: var(--shopfloor-theme-surface);
    box-sizing: border-box;
    color: var(--header-textColor);
    cursor: grab;
    display: flex;
    min-height: 7vmin;
    padding: 1.2vmin 1.8vmin;
    touch-action: none;
  }

  #ShopFloorOptionsSlideShow.shopFloorOptionsMoving {
    box-shadow: 0 3vmin 9vmin rgba(1, 10, 35, 0.32);
    user-select: none;
  }

  #ShopFloorOptionsSlideShow.shopFloorOptionsMoving #ShopFloorOptionHeadSlideShow { cursor: grabbing; }

  #ShopFloorOptionHeadCloseSlideShow {
    align-items: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: .8vmin;
    cursor: pointer;
    display: flex;
    float: none;
    height: 3.6vmin;
    justify-content: center;
    margin-left: auto;
    transition: background .15s ease, transform .15s ease;
    width: 3.6vmin;
  }

  #ShopFloorOptionHeadCloseSlideShow:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-1px);
  }

  #ShopFloorOptionContentSlideShow {
    box-sizing: border-box;
    display: grid;
    gap: 1.5vmin;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    max-height: none;
    overflow: auto;
    padding: 2vmin;
    width: 100%;
  }

  #ShopFloorOptionContentSlideShow .shopFloorOptionSectionDiv {
    background: var(--background-color-darker);
    border: 1px solid var(--circle-fill);
    border-radius: 1.2vmin;
    box-sizing: border-box;
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 1.5vmin;
  }

  #ShopFloorOptionContentSlideShow .shopFloorOptionSectionLabel {
    border-bottom: 1px solid var(--circle-fill);
    font-size: 1.55vmin;
    font-weight: 700;
    margin: 0 0 .8vmin;
    padding: 0 0 1vmin;
    text-decoration: none;
  }

  #ShopFloorOptionContentSlideShow .shopFloorOptionTable {
    border-collapse: separate;
    border-spacing: 0 .35vmin;
    line-height: normal;
    width: 100%;
  }

  #ShopFloorOptionContentSlideShow .shopFloorOptionTable td { padding: .65vmin .8vmin; }
  #ShopFloorOptionContentSlideShow .shopFloorOptionTable tr:hover td {
    background: color-mix(in srgb, var(--color-active) 7%, transparent);
  }
  #ShopFloorOptionContentSlideShow .shopFloorOptionTable td:last-child {
    text-align: right;
    width: 8vmin;
  }

  #ShopFloorOptionContentSlideShow input[type="checkbox"].shopFloorOptionTableInput {
    appearance: none;
    background: var(--background-color);
    border: 1px solid var(--circle-fill);
    border-radius: 2vmin;
    cursor: pointer;
    height: 2.6vmin;
    margin: 0;
    position: relative;
    transition: background .18s ease;
    width: 4.8vmin;
  }

  #ShopFloorOptionContentSlideShow input[type="checkbox"].shopFloorOptionTableInput::after {
    background: white;
    border-radius: 50%;
    box-shadow: 0 .2vmin .5vmin rgba(0,0,0,.24);
    content: "";
    height: 2vmin;
    left: .25vmin;
    position: absolute;
    top: .2vmin;
    transition: transform .18s ease;
    width: 2vmin;
  }

  #ShopFloorOptionContentSlideShow input[type="checkbox"].shopFloorOptionTableInput:checked {
    background: var(--color-active);
    border-color: var(--color-active);
  }
  #ShopFloorOptionContentSlideShow input[type="checkbox"].shopFloorOptionTableInput:checked::after {
    transform: translateX(2.2vmin);
  }

  #ShopFloorOptionContentSlideShow .inputField {
    background: var(--background-color);
    border: 1px solid var(--circle-fill);
    border-radius: .65vmin;
    box-sizing: border-box;
    color: inherit;
    min-height: 3.4vmin;
    padding: .45vmin .7vmin;
  }

  #ShopFloorOptionButtonDivSlideShow {
    background: var(--background-color);
    border-top: 1px solid var(--circle-fill);
    box-sizing: border-box;
    column-gap: 1vmin;
    display: flex;
    float: none;
    justify-content: flex-end;
    margin-top: auto;
    padding: 1.2vmin 2vmin;
  }

  #ShopFloorOptionButtonDivSlideShow .ShopFloorOptionButton {
    border-radius: .8vmin;
    min-width: 9em;
    width: auto;
  }

  @media screen and (max-width: 576px) {
    #ShopFloor{
        top: 24vmin;
    }

    .sicherheitskreuzLegend{
        padding: 0vmin 3vmin 6vmin 3vmin;
    }

    .SFSlideShow{
        width: 8vmin;
        height: 3.5vmin;
    }

    .SFSlide:before{
        height: 3vmin;
        width: 3vmin;
        left: 0.8vmin;
    }

    #dashboardSlideShowButton{
        font-size: 3vmin;
    }

    #shopFloorSelectorLabel{
        font-size: 3vmin;
    }

    .icon-settings{
        font-size: 4vmin !important;
    }

    #ShopFloorContentHead{
        height: 8vmin;
        overflow-x: auto;
    }

    .cockpitOnePageContentHeader{
        padding-top: 2.5vh;
    }

    .cockpitOnePageContentHeaderTime{
        margin-left: 3.5vmin;
        margin-top: 0.4vmin;
    }

    .SFTimeTd{
        width: 7vmin;
    }

    .transactionDropdown{
        height: 4.5vmin;
        margin-top: 0.2vmin;
    }

  }

/* Flumina board shell */
#ShopFloor {
    background:
        radial-gradient(circle at 78% 0%, rgba(25,215,255,.08), transparent 30%),
        linear-gradient(145deg, var(--shopfloor-theme-surface-deep) 0%, var(--shopfloor-theme-color) 58%, var(--shopfloor-theme-surface-soft) 100%);
    box-sizing: border-box;
    color: #e9f0fb;
    padding: clamp(12px, 1.4vmin, 22px);
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder > #dashboardKpiContainer {
    box-sizing: border-box;
    column-gap: 2vmin;
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100% !important;
}

#ShopFloorContentContent.shopFloorKpiActive #dashboardKpiContainer > .dashboardKpiContainerContent {
    min-width: 0;
    margin-inline: 0;
}

body.shopFloorManagementActive:not(.shopFloorSafetyInfoPanelActive) #sidePanel:not(.sidePanel--foreground) #sidePanelControlBar,
body.shopFloorManagementActive #toggleMetrik,
body.shopFloorManagementActive #toggleMetrikAIMain {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

body.shopFloorManagementActive:not(.shopFloorSafetyInfoPanelActive) #sidePanel:not(.sidePanel--foreground) {
    display: flex !important;
    width: 3vmin !important;
    overflow: visible !important;
    background: transparent !important;
}

body.shopFloorManagementActive:not(.shopFloorSafetyInfoPanelActive) #sidePanel:not(.sidePanel--foreground) #sidePanelContent {
    visibility: hidden !important;
    pointer-events: none !important;
}

body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanelControlBar .sidePanelControl:not(#sidePanelHeader_ButtonInfo):not(#sidePanelHeader_ButtonClose) {
    display: none !important;
}

body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanelHeader_ButtonInfo,
body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanelHeader_ButtonClose {
    display: flex !important;
}

body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanel {
    bottom: 0;
    height: auto;
    top: var(--shopfloor-safety-info-panel-top, 0);
}

body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanelContent {
    height: 100%;
}

body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanelControlBar {
    top: var(--shopfloor-safety-info-panel-top, 0);
}

/* The modern header flows inside the already-offset panel. Applying the
   panel's viewport offset again makes its controls cover the content scrollbar. */
body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanel.sidePanel--shopfloor-details #sidePanelControlBar {
    top: 0;
}

body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #sidePanelMenu,
body.shopFloorManagementActive.shopFloorSafetyInfoPanelActive #metricPanelToggleExpertModeDiv {
    display: none !important;
}

body.shopFloorManagementActive #saveViewButton,
body.shopFloorManagementActive #saveDashboardButton,
body.shopFloorManagementActive #dashboard_save {
    display: none !important;
}

/* Shopfloor is a self-contained workspace and uses the full browser height. */
body.shopFloorManagementActive #flumenHeader,
body.shopFloorManagementActive #flumenSubHeader {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

body.shopFloorManagementActive #ShopFloor {
    bottom: 0;
    height: 100vh;
    margin-top: 0 !important;
    top: 0 !important;
}

body.shopFloorManagementActive #shopFloorContentContentDiv_DRAW,
body.shopFloorManagementActive .shopfloorDrawContent {
    height: 100%;
    min-height: 0;
}

body.shopFloorManagementActive #ShopFloorContentContent.shopFloorDrawActive {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
}

body.shopFloorManagementActive #ShopFloorContentContent.shopFloorDrawActive > .shopfloorDrawContent {
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    min-height: 0;
}

#ShopFloorHead {
    background: color-mix(in srgb, var(--shopfloor-theme-surface) 88%, transparent);
    border: 1px solid rgba(159,183,221,.18);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.2);
    box-sizing: border-box;
    margin: 0 auto clamp(10px, 1.2vmin, 18px);
    padding: clamp(12px, 1.4vmin, 20px);
    width: 100%;
}

#ShopFloorHeadHeadLabel,
#ShopFloorHeadHeadLabelText > .icon-infobox {
    color: #f8fbff;
}

#ShopFloorHeadHeadLabel {
    font-size: clamp(22px, 2.4vmin, 36px);
    font-weight: 700;
}

#ShopFloorContent {
    background: transparent;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

#ShopFloorContentHead {
    align-items: center;
    display: grid !important;
    flex: 0 0 auto;
    gap: clamp(4px, .4vmin, 7px);
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    height: auto !important;
    overflow: visible !important;
    padding: 0 0 clamp(4px, .45vmin, 7px);
    scrollbar-width: none;
    width: 100%;
}

#ShopFloorContentHead::-webkit-scrollbar { display: none; }

#ShopFloorContentHead .shopFloorContentHeadElement {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(159,183,221,.24);
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(0,0,0,.13);
    box-sizing: border-box;
    color: #19243a;
    display: flex;
    flex-direction: row;
    gap: 7px;
    height: 40px;
    justify-content: center;
    margin: 0;
    min-height: 40px;
    min-width: 0;
    padding: 0 10px;
    position: relative;
    transition: border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .15s ease;
}

#ShopFloorContentHead .shopFloorContentHeadElement:hover {
    border-color: rgba(25,215,255,.7);
    box-shadow: 0 9px 22px rgba(0,0,0,.18), 0 0 0 2px rgba(25,215,255,.09);
    color: #071642;
    transform: translateY(-1px);
}

#ShopFloorContentHead .shopFloorContentHeadElement.activeElement {
    background: #fff;
    border-color: #e61f68;
    box-shadow: inset 0 -4px 0 #e61f68, 0 9px 24px rgba(0,0,0,.2);
    color: #e61f68;
}

#ShopFloorContentHead .shopFloorContentHeadElementIcon {
    color: #1285b5;
    flex: 0 0 auto;
    font-size: clamp(15px, 1.5vmin, 22px);
    line-height: 1;
}

#ShopFloorContentHead .activeElement .shopFloorContentHeadElementIcon { color: #e61f68; }

#ShopFloorContentHead .shopFloorContentHeadElementLabel {
    display: block;
    font-size: clamp(9px, .88vmin, 12px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#shopFloorAddTabButton {
    align-items: center;
    background: rgba(255,255,255,.08);
    border: 1px dashed rgba(169,222,242,.58);
    border-radius: 11px;
    color: #a9def2;
    display: flex;
    font-size: 24px;
    height: 40px;
    justify-content: center;
    min-height: 40px;
    min-width: 0;
}

#shopFloorAddTabButton:hover {
    background: rgba(25,215,255,.12);
    border-color: #19d7ff;
    color: #fff;
}

#ShopFloorContentHead .shopFloorUserTab {
    padding-right: 26px;
}

.shopFloorUserTabRemove {
    align-items: center;
    background: transparent;
    border: 0;
    color: #8b98ad;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    height: 22px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
}

.shopFloorUserTabRemove:hover {
    color: #e61f68;
}

/* Dashboard windows and maximized KPI cards must sit above the board shell and loader. */
body.shopFloorManagementActive #dashboardSettingsHolder,
body.shopFloorManagementActive #dashboardSettingsHolderNew {
    max-height: 92vh;
    max-width: 94vw;
    z-index: 10000000 !important;
}

body.shopFloorManagementActive #dashboardContextMenu,
body.shopFloorManagementActive .genericContextMenu {
    z-index: 10000002 !important;
}

/* The shared AI Value Builder modal otherwise remains below the fixed Shopfloor shell. */
body.shopFloorManagementActive #editJSONConfig {
    z-index: 10000000 !important;
}

body.shopFloorManagementActive #jsonConfigEditorDictionaryHoverTooltip {
    z-index: 10000001 !important;
}

/* jQuery UI appends chart tooltips to body. Keep them above the fixed Shopfloor shell. */
body.shopFloorManagementActive .ui-tooltip {
    z-index: 10000004 !important;
}

body.shopFloorKpiFullscreenActive {
    overflow: hidden !important;
}

body.shopFloorKpiFullscreenActive #ShopFloor {
    z-index: 20040 !important;
}

/* Fullscreen presentation owns the foreground; global user controls stay behind it. */
body.shopFloorKpiFullscreenActive #helpBarMain,
body.shopFloorKpiFullscreenActive #lang-select,
body.shopFloorKpiFullscreenActive #userQuickAccess,
body.shopFloorKpiFullscreenActive #userQuickAccess_LogginInAs_MenuDiv {
    z-index: 20015 !important;
}

body.shopFloorKpiFullscreenActive #ShopFloorContentContent.shopFloorKpiActive
#shopFloorContentContentDiv_KPILT_Holder .dashboard_Chart.shopFloorKpiChartFullscreen {
    background: var(--background-color, #fff);
    box-sizing: border-box;
    height: calc(100dvh - var(--shopfloor-kpi-fullscreen-top, 0px)) !important;
    bottom: 0 !important;
    margin: 0 !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    top: var(--shopfloor-kpi-fullscreen-top, 0px) !important;
    z-index: 20100 !important;
}

body.shopFloorKpiFullscreenActive .dashboard_Chart.shopFloorKpiChartFullscreen .dashboardCellCanvasHolder {
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    right: 1.5rem !important;
    top: 4.5rem !important;
}

body.shopFloorKpiFullscreenActive .dashboard_Chart.shopFloorKpiChartFullscreen .dashboardCellHeader {
    position: relative;
    z-index: 2;
}

.shopFloorKpiFullscreenControls {
    align-items: center;
    display: none;
    gap: .6rem;
    position: fixed;
    right: 1rem;
    top: calc(var(--shopfloor-kpi-fullscreen-top, 0px) + 1rem);
    z-index: 20104;
}

.shopFloorKpiChartFullscreen .shopFloorKpiFullscreenControls {
    display: flex;
}

.shopFloorKpiFullscreenControls button {
    align-items: center;
    background: rgba(255,255,255,.96);
    border: 1px solid #bdd5e7;
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(2,13,55,.18);
    color: var(--shopfloor-theme-surface, #071642);
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    height: 2.8rem;
    justify-content: center;
    width: 2.8rem;
}

.shopFloorKpiFullscreenControls button:hover,
.shopFloorKpiFullscreenControls button:focus-visible {
    background: var(--color-active);
    border-color: var(--color-active);
    color: #fff;
    outline: none;
}

body.shopFloorKpiFullscreenActive .dashboard_Chart.shopFloorKpiChartFullscreen .dashboardCellHeader {
    margin-right: 11rem;
}

@media (max-width: 760px) {
    .shopFloorKpiFullscreenControls {
        bottom: 1rem;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
    }

    body.shopFloorKpiFullscreenActive .dashboard_Chart.shopFloorKpiChartFullscreen .dashboardCellHeader {
        margin-right: 0;
    }
}

.shopFloorUserTabDialogOverlay {
    align-items: center;
    background: rgba(2,11,50,.62);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 10000003 !important;
}

.shopFloorUserTabDialog {
    background: #fff;
    border: 1px solid #d5e1ed;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(2,11,50,.3);
    color: #172033;
    max-width: calc(100vw - 32px);
    overflow: visible;
    width: 480px;
}

.shopFloorUserTabDialogHeader {
    align-items: center;
    background: linear-gradient(105deg, var(--shopfloor-theme-surface-deep), var(--shopfloor-theme-surface-soft));
    color: #fff;
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 17px 17px 0 0;
}

.shopFloorUserTabDialogHeader > span {
    color: #a9def2;
    font-size: 25px;
}

.shopFloorUserTabDialogHeader div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.shopFloorUserTabDialogHeader small {
    color: rgba(229,240,255,.7);
}

.shopFloorUserTabDialogBody {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
}

.shopFloorUserTabDialogField {
    color: #536079;
    display: grid;
    font-size: 12px;
    font-weight: 700;
    gap: 4px;
}

.shopFloorUserTabDialogInput {
    background: #f7f9fc;
    border: 1px solid #cbd9e7;
    border-radius: 9px;
    box-sizing: border-box;
    color: #172033;
    font: 500 14px 'Ubuntu', sans-serif;
    height: 38px;
    padding: 0 12px;
    width: 100%;
}

.shopFloorUserTabDialogInput:focus {
    border-color: #1597c4;
    box-shadow: 0 0 0 3px rgba(21,151,196,.12);
    outline: 0;
}

.shopFloorThemeOptionHint {
    color: #66758d;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.shopFloorThemeControls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shopFloorThemeColor {
    background: #fff;
    border: 1px solid #c8d7e6;
    border-radius: 9px;
    box-sizing: border-box;
    cursor: pointer;
    height: 44px;
    padding: 4px;
    width: 68px;
}

.shopFloorThemeValue {
    color: #263955;
    font: 700 12px/1 monospace;
}

.shopFloorThemeReset {
    background: #eef4f8;
    border: 1px solid #c8d7e6;
    border-radius: 8px;
    color: #263955;
    cursor: pointer;
    font: 700 12px 'Ubuntu', sans-serif;
    padding: 9px 12px;
}

.shopFloorThemeReset:hover {
    border-color: var(--shopfloor-theme-color);
}

.shopFloorUserTabSharing {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.shopFloorUserTabSharingLabel {
    color: #536079;
    font-size: 12px;
    font-weight: 700;
}

.shopFloorUserTabSharePicker {
    position: relative;
}

.shopFloorUserTabShareTrigger {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #cbd9e7;
    border-radius: 9px;
    box-sizing: border-box;
    color: #172033;
    cursor: pointer;
    display: flex;
    gap: 8px;
    min-height: 38px;
    padding: 4px 10px;
    text-align: left;
    width: 100%;
}

.shopFloorUserTabSharePicker.is-open .shopFloorUserTabShareTrigger {
    border-color: #1597c4;
    box-shadow: 0 0 0 3px rgba(21,151,196,.12);
}

.shopFloorUserTabShareSelection {
    align-items: center;
    display: flex;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.shopFloorUserTabSharePlaceholder {
    color: #7b8799;
    font-weight: 500;
}

.shopFloorUserTabShareChip {
    background: #dff2f8;
    border: 1px solid #b9dfeb;
    border-radius: 999px;
    color: #153a52;
    font-size: 12px;
    font-weight: 700;
    max-width: 145px;
    overflow: hidden;
    padding: 4px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopFloorUserTabShareChip.is-all {
    background: #fce5ef;
    border-color: #f3b6d0;
    color: #9c164e;
}

.shopFloorUserTabShareValue {
    display: block;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopFloorUserTabShareChevron {
    color: #66758d;
    flex: 0 0 auto;
    font-size: 11px;
    transition: transform .16s ease;
}

.shopFloorUserTabSharePicker.is-open .shopFloorUserTabShareChevron {
    transform: rotate(180deg);
}

.shopFloorUserTabSharePopover {
    background: #fff;
    border: 1px solid #cbd9e7;
    border-radius: 11px;
    bottom: calc(100% + 6px);
    box-shadow: 0 16px 36px rgba(2,11,50,.16);
    left: 0;
    padding: 6px;
    position: absolute;
    right: 0;
    top: auto;
    z-index: 10;
}

/* Keep sharing controls independent of Shopfloor presentation typography. */
#shopFloorUserTabDialogOverlay .shopFloorUserTabSharePopover,
#shopFloorUserTabDialogOverlay .shopFloorUserTabSharePopover label,
#shopFloorUserTabDialogOverlay .shopFloorUserTabSharePopover span,
#shopFloorUserTabDialogOverlay .shopFloorUserTabShareEmpty {
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.shopFloorUserTabSharePopover[hidden] {
    display: none;
}

.shopFloorUserTabShareSearch {
    background: #f7f9fc;
    border: 1px solid #d7e2ed;
    border-radius: 8px;
    box-sizing: border-box;
    color: #172033;
    font: 500 13px 'Ubuntu', sans-serif;
    height: 34px;
    margin-bottom: 4px;
    outline: none;
    padding: 0 10px;
    width: 100%;
}

.shopFloorUserTabShareSearch:focus {
    border-color: #1597c4;
}

.shopFloorUserTabShareAll,
.shopFloorUserTabShareUser {
    align-items: center;
    color: #243956;
    cursor: pointer;
    display: flex;
    gap: 9px;
}

.shopFloorUserTabShareAll {
    border-bottom: 1px solid #dce6ef;
    font-weight: 700;
    padding: 5px 7px 7px;
}

.shopFloorUserTabShareList {
    display: grid;
    gap: 2px;
    margin-top: 3px;
    max-height: min(24vh, 180px);
    overflow-y: auto;
}

.shopFloorUserTabShareUser {
    border-radius: 7px;
    min-height: 28px;
    padding: 3px 7px;
}

.shopFloorUserTabShareUser:hover {
    background: #edf7fb;
}

.shopFloorUserTabShareUser:has(input:checked) {
    background: #e4f4f9;
    color: #0d6688;
    font-weight: 700;
}

.shopFloorUserTabShareAll input,
.shopFloorUserTabShareUser input {
    accent-color: #d4146b;
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

.shopFloorUserTabShareList.is-disabled {
    opacity: .42;
}

.shopFloorUserTabShareEmpty {
    color: #67778f;
    padding: 8px;
}

.shopFloorUserTabDialogFooter {
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 10px 18px;
    border-radius: 0 0 17px 17px;
}

.shopFloorUserTabDialogButton {
    background: #eef2f7;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #334155;
    cursor: pointer;
    font: 700 13px 'Ubuntu', sans-serif;
    padding: 10px 15px;
}

.shopFloorUserTabDialogButtonPrimary {
    background: #1285b5;
    border-color: #1285b5;
    color: #fff;
}

#ShopFloorContentContent {
    background: #f7f9fc;
    border: 1px solid rgba(159,183,221,.2);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,.2);
    box-sizing: border-box;
    color: #172033;
    margin: 0;
    overflow: auto;
    padding: clamp(8px, 1vmin, 16px);
}

#ShopFloorNoContent {
    align-items: center;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(159,183,221,.2);
    border-radius: 16px;
    color: #536079;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    margin: 0;
}

#ShopFloorHeadContentPlaceValueGruppierung {
    background: rgba(25,215,255,.12);
    border-color: rgba(25,215,255,.35);
    color: #a9def2;
}

#ShopFloorHeadContentPlaceValueShare,
#ShopFloorHeadContentPlaceValueSlideShow,
#ShopFloorHeadContentPlaceValueOption {
    color: #a9def2;
    transition: color .15s ease, transform .15s ease;
}

#ShopFloorHeadContentPlaceValueShare:hover,
#ShopFloorHeadContentPlaceValueSlideShow:hover,
#ShopFloorHeadContentPlaceValueOption:hover {
    color: #e61f68;
    transform: translateY(-1px);
}

.shopFloorBoardActionDisabled {
    cursor: wait !important;
    opacity: .38;
    pointer-events: auto;
    transform: none !important;
}

.shopFloorBoardActionDisabled:hover {
    color: #a9def2 !important;
    transform: none !important;
}

@media (max-width: 1100px) {
    #ShopFloorContentHead { grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); }
    #ShopFloorContentHead .shopFloorContentHeadElement { height: 40px; }
}

/* Explicit contrast boundaries for light surfaces inside the dark board */
#ShopFloorContentContent.shopFloorKpiActive {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT {
    max-height: none;
    overflow: visible;
    width: 100%;
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder {
    align-items: stretch;
    display: grid;
    gap: 2vmin;
    grid-template-columns: repeat(var(--shopfloor-kpi-grid-columns, 2), minmax(0, 1fr));
    height: auto;
    margin: 0;
    max-height: none;
    overflow: visible;
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder > .dashboard_Chart {
    float: none;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder .dashboard_Chart:not(.dashboardCell_placeholder),
#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder .dashboardCell_placeholder {
    box-sizing: border-box;
    height: 38.4vh !important;
    min-height: 30.4vmin;
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder .dashboardCell_placeholder {
    box-sizing: border-box;
    min-width: 0;
    width: 100% !important;
}

@media (max-width: 900px) {
    #ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder {
        grid-template-columns: minmax(0, 1fr);
    }
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder .dashboardCellCanvasHolder,
#dashboard.flumenSharedDashboard #dashboard_Holder .dashboardCellCanvasHolder {
    box-sizing: border-box;
    bottom: 1.2vmin;
    height: auto;
    left: 1.2vmin;
    margin: 0;
    min-height: 0;
    position: absolute;
    right: 1.2vmin;
    top: 5.5vmin;
    width: auto;
}

#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder .dashboard_ChartCanvas,
#dashboard.flumenSharedDashboard #dashboard_Holder .dashboard_ChartCanvas {
    box-sizing: border-box;
    height: 100% !important;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 1.2vmin 1vmin .8vmin;
    position: static;
    width: 100% !important;
}

#shopFloorContentContentDiv_KPILT_Header {
    align-items: center;
    background: var(--shopfloor-theme-surface-deep);
    border: 1px solid rgba(159,183,221,.2);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(2,11,50,.2);
    box-sizing: border-box;
    color: #f8fbff;
    display: grid;
    gap: 1.8vmin;
    grid-template-columns: minmax(0, 1fr) minmax(24vmin, 34vmin) auto;
    margin: 0 0 14px;
    padding: 1.1vmin 1.5vmin;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 30;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeader {
    align-items: center;
    background: transparent;
    color: #f8fbff;
    display: flex;
    margin: 0;
    min-width: 0;
    padding: 0;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderIcon {
    color: #a9def2;
    font-size: 22px;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTitle {
    color: #f8fbff;
    flex: 0 1 auto;
    font-size: 2.1vmin;
    font-weight: 700;
    margin: 0 2vmin 0 1vmin;
    white-space: nowrap;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime,
#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime * {
    color: #d9e4f4;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    margin-left: auto;
    min-width: 0;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime tr {
    align-items: center;
    display: flex;
    gap: .8vmin;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime td {
    align-items: center;
    display: flex;
    padding: 0;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime td:first-child {
    color: #a9def2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    margin-right: 2px;
    text-transform: uppercase;
}

#shopFloorContentContentDiv_KPILT_Header input,
#shopFloorContentContentDiv_KPILT_Header select {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(169,222,242,.35);
    border-radius: 8px;
    box-sizing: border-box;
    color: #172033 !important;
    font-size: 13px;
    font-weight: 650;
    min-height: 34px;
    padding: 5px 9px;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime input[type="number"] {
    text-align: center;
    width: 6.5vmin;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime input[type="date"] {
    width: 15vmin;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime select {
    cursor: pointer;
    min-width: 14vmin;
    padding-right: 28px;
    width: auto;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime input:focus,
#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime select:focus {
    border-color: #19d7ff;
    box-shadow: 0 0 0 3px rgba(25,215,255,.12);
    outline: 0;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorDiv {
    align-items: center;
    display: flex;
    gap: 9px;
    margin: 0;
    min-width: 0;
    position: relative;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorDiv::after {
    border-bottom: 2px solid #a9def2;
    border-right: 2px solid #a9def2;
    content: "";
    height: 7px;
    pointer-events: none;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-65%) rotate(45deg);
    width: 7px;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorLabel {
    color: #a9def2;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    padding: 0;
    text-transform: uppercase;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelector {
    appearance: none;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(169,222,242,.3);
    border-radius: 10px;
    color: #f8fbff !important;
    -webkit-text-fill-color: #f8fbff;
    cursor: pointer;
    flex: 1 1 auto;
    font-size: 13px;
    height: 36px;
    margin: 0;
    min-width: 0;
    padding: 0 38px 0 12px;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelector:not(:disabled),
#shopFloorContentContentDiv_KPILT_Header #shopFloorSelector option:checked {
    color: #f8fbff !important;
    -webkit-text-fill-color: #f8fbff;
    opacity: 1;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelector:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(25,215,255,.58);
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelector:focus {
    background: rgba(255,255,255,.12);
    border-color: #19d7ff;
    box-shadow: 0 0 0 3px rgba(25,215,255,.1);
    outline: 0;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelector option {
    background: var(--shopfloor-theme-surface);
    color: #f8fbff;
    padding: 8px;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorGsetting {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorGsetting > .icon-settings {
    align-items: center;
    color: #a9def2;
    cursor: pointer;
    display: flex;
    font-size: 2.1vmin !important;
    height: 38px;
    justify-content: center;
    transition: color .15s ease, transform .15s ease;
    width: 38px;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorGsetting > .icon-settings:hover {
    color: #e61f68;
    transform: translateY(-1px);
}

@media (max-width: 1150px) {
    #shopFloorContentContentDiv_KPILT_Header {
        grid-template-columns: minmax(0, 1fr) minmax(22vmin, 31vmin) 4.5vmin;
    }
    #shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTitle { font-size: 15px; }
}

.shopFloorDashboardSettingsSection {
    scroll-margin: 12vh;
}

.shopFloorRefreshSettingsSection {
    scroll-margin: 12vh;
}

.shopFloorRefreshSettingsSection p {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 14px;
}

.shopFloorRefreshSettingsControl {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.shopFloorRefreshSettingsControl > span {
    font-weight: 700;
}

.shopFloorRefreshSettingsControl select {
    min-width: 10rem;
}

.shopFloorOptionSectionFocus {
    animation: shopFloorRefreshSettingsFocus 1.4s ease-out;
}

@keyframes shopFloorRefreshSettingsFocus {
    0%, 35% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-active) 48%, transparent); }
    100% { box-shadow: none; }
}

.shopFloorDashboardSettingsSection p {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 14px;
}

.shopFloorDashboardSettingsOpenButton {
    align-items: center;
    background: var(--shopfloor-theme-surface-deep);
    border: 1px solid rgba(25,215,255,.28);
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    padding: 9px 13px;
}

.shopFloorDashboardSettingsOpenButton > .icon-settings { color: #a9def2; }
.shopFloorDashboardSettingsOpenButton:hover { border-color: #19d7ff; }

#ShopFloorOptions,
#ShopFloorOptionsSlideShow,
#ShopFloorOptionContent,
#ShopFloorOptionContentSlideShow {
    color: #172033;
}

#ShopFloorOptionContent .shopFloorOptionSectionDiv,
#ShopFloorOptionContentSlideShow .shopFloorOptionSectionDiv {
    color: #172033;
}

#ShopFloorOptionContent .shopFloorOptionSectionLabel,
#ShopFloorOptionContentSlideShow .shopFloorOptionSectionLabel,
#ShopFloorOptionContent .shopFloorOptionTable td,
#ShopFloorOptionContentSlideShow .shopFloorOptionTable td {
    color: #243047;
}

#ShopFloorOptionContent input:not([type="checkbox"]),
#ShopFloorOptionContent select,
#ShopFloorOptionContentSlideShow input:not([type="checkbox"]),
#ShopFloorOptionContentSlideShow select {
    color: #172033;
}

#ShopFloorOptionContent input::placeholder,
#ShopFloorOptionContentSlideShow input::placeholder {
    color: #7b8495;
}

#ShopFloorOptionHead,
#ShopFloorOptionHeadSlideShow,
#ShopFloorOptionHead .shopFloorOptionDialogTitle,
#ShopFloorOptionHeadSlideShow .shopFloorOptionDialogTitle {
    color: #f8fbff;
}

@media (max-width: 900px) {
    #ShopFloorHeadTitle {
        flex-wrap: wrap;
    }

}

#ShopFloorContentHead .shopFloorContentHeadElement,
#ShopFloorContentHead .shopFloorContentHeadElement .shopFloorContentHeadElementLabel {
    color: #19243a;
}

#ShopFloorContentHead .shopFloorContentHeadElement.activeElement {
    background: #fff !important;
    color: #e61f68 !important;
}

#ShopFloorContentHead .shopFloorContentHeadElement.activeElement .shopFloorContentHeadElementLabel,
#ShopFloorContentHead .shopFloorContentHeadElement.activeElement .shopFloorContentHeadElementIcon {
    color: #e61f68 !important;
}

.shopfloorTopicsShell {
    background: linear-gradient(180deg, rgba(9,20,58,.03) 0%, rgba(255,255,255,.98) 18%, rgba(245,249,252,.99) 100%);
    border: 1px solid rgba(159,183,221,.24);
    border-radius: 22px;
    box-shadow: 0 18px 52px rgba(15,23,42,.08);
    box-sizing: border-box;
    padding: clamp(14px, 1.6vmin, 24px);
}

.shopfloorTopicsHeader {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding-bottom: 16px;
}

.shopfloorTopicsTitle {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shopfloorTopicsTitle p {
    align-items: center;
    color: #14213d;
    display: flex;
    font-size: clamp(18px, 1.6vmin, 26px);
    font-weight: 800;
    gap: 8px;
    margin: 0;
}

.shopfloorTopicsTitle .icon-info {
    color: #1285b5;
    font-size: .92em;
}

.shopfloorTopicsWeekGrid {
    display: grid;
    gap: clamp(9px, .9vmin, 14px);
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shopfloorTopicsDayCard {
    background: #fff;
    border: 1px solid #d4e2ee;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(7,22,66,.07);
    min-width: 0;
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.shopfloorTopicsDayCard:focus-within {
    border-color: #38a9d3;
    box-shadow: 0 10px 24px rgba(13,128,174,.12), 0 0 0 3px rgba(56,169,211,.1);
    transform: translateY(-1px);
}

.shopfloorTopicsDayHeader {
    align-items: center;
    background: linear-gradient(105deg, var(--shopfloor-theme-color) 0%, var(--shopfloor-theme-surface-soft) 100%);
    color: #fff;
    display: flex;
    gap: 8px;
    min-height: 38px;
    padding: 7px 10px;
}

.shopfloorTopicsDayHeader strong {
    font-size: clamp(12px, .95vmin, 14px);
    font-weight: 700;
}

.shopfloorTopicsDayIndex {
    align-items: center;
    background: rgba(151,225,247,.14);
    border: 1px solid rgba(151,225,247,.28);
    border-radius: 7px;
    color: #a8e6f7;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.shopfloorTopicsDayCard .shopfloorTopicsInput {
    background: #fbfdff;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    color: #172744;
    font: 500 clamp(13px, 1vmin, 15px)/1.45 'Ubuntu', sans-serif;
    min-height: clamp(122px, 18vh, 210px);
    padding: 12px 13px;
    resize: vertical;
    width: 100%;
}

.shopfloorTopicsDayCard .shopfloorTopicsInput:focus {
    background: #fff;
    box-shadow: none;
    outline: 0;
}

.shopfloorTopicsInput::placeholder {
    color: #9ba6ba;
}

@media (max-width: 1280px) {
    .shopfloorTopicsWeekGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .shopfloorTopicsWeekGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls {
    align-items: center;
    display: flex;
    gap: 10px;
    min-height: 36px;
    white-space: nowrap;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls > div {
    align-items: center;
    display: flex;
    padding: 0;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls > div:first-child {
    color: #a9def2;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    margin: 0 2px 0 0;
    padding: 1px 0 0;
    text-transform: uppercase;
    white-space: nowrap;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls input,
#shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls select {
    height: 36px !important;
    margin: 0;
}

/* Keep the KPI toolbar usable without changing global dashboard layouts. */
#shopFloorContentContentDiv_KPILT_Header {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 31vmin) auto;
    overflow: visible;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeader {
    flex-wrap: wrap;
    gap: 10px 18px;
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime {
    flex: 1 1 430px;
    margin-left: 0;
    min-width: 0;
    overflow-x: auto;
    padding: 3px;
}

#shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorDiv {
    min-width: 0;
}

@media (max-width: 1150px) {
    #shopFloorContentContentDiv_KPILT_Header {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 8px;
    }

    #shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeader {
        grid-column: 1 / -1;
    }

    #shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorDiv {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    #shopFloorContentContentDiv_KPILT_Header {
        grid-template-columns: minmax(0, 1fr);
    }

    #shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorDiv,
    #shopFloorContentContentDiv_KPILT_Header .shopFloorGsetting {
        grid-column: 1;
    }

    #shopFloorContentContentDiv_KPILT_Header .shopFloorGsetting {
        justify-content: flex-start;
    }

    #shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls {
        min-width: max-content;
    }
}

/* Shared Shopfloor data-table skin; intentionally scoped below #ShopFloor. */
#ShopFloor .shopFloorDataTableTab {
    background: #f5f8fc;
    border: 1px solid rgba(173,194,217,.72);
    border-radius: clamp(14px, 1.2vmin, 20px);
    box-shadow: 0 16px 38px rgba(2,13,55,.12);
    box-sizing: border-box;
    color: #182744;
    margin: clamp(12px, 1.4vmin, 22px) auto 0;
    max-height: 67vh;
    overflow: hidden;
    width: calc(100% - clamp(16px, 2.5vmin, 38px));
}

#ShopFloor .shopFloorDataTableTab .shopFloorContentDivHeader {
    align-items: center;
    background: linear-gradient(105deg, var(--shopfloor-theme-surface-deep) 0%, var(--shopfloor-theme-surface-soft) 100%);
    border-bottom: 1px solid rgba(157,220,242,.24);
    box-sizing: border-box;
    color: #f7fbff;
    display: flex !important;
    flex-wrap: wrap;
    gap: clamp(8px, 1vmin, 16px);
    min-height: clamp(62px, 7vmin, 86px);
    padding: clamp(10px, 1.2vmin, 18px) clamp(16px, 1.8vmin, 28px) !important;
    width: 100%;
}

#ShopFloor .shopFloorDataTableTab .cockpitOnePageContentHeaderIcon {
    color: #a8e6f7;
    font-size: clamp(22px, 2.2vmin, 32px);
    padding-right: 0 !important;
}

#ShopFloor .shopFloorDataTableTab .cockpitOnePageContentHeaderTitle {
    color: #fff;
    font-size: clamp(20px, 1.8vmin, 28px);
    font-weight: 700;
}

#ShopFloor .shopFloorDataTableTab .shopFloorContentTableHolder,
#ShopFloor .shopFloorMeasuresTableTab .cockpitOnePageSideContent {
    background: #fff;
    box-sizing: border-box;
    min-height: 0;
    padding: clamp(12px, 1.4vmin, 20px);
}

#ShopFloor .shopFloorMeasuresTableTab .cockpitOnePageSideContent {
    display: flex;
    flex-direction: column;
}

#ShopFloor .shopFloorDataTableTab .cockpitOnePageContentFilter {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #dfe7f0;
    display: flex;
    padding: 12px 18px;
}

#ShopFloor .shopFloorDataTableTab .cockpitSearchField {
    align-items: center;
    color: #53627a;
    display: flex;
    font-size: 13px;
    gap: 9px;
}

#ShopFloor .shopFloorDataTableTab .cockpitSearchFieldInput {
    background: #f5f8fc;
    border: 1px solid #ccd9e7;
    border-radius: 9px;
    box-sizing: border-box;
    color: #182744;
    font: 500 14px 'Ubuntu', sans-serif;
    height: 38px;
    min-width: min(280px, 34vw);
    outline: none;
    padding: 0 12px;
}

#ShopFloor .shopFloorDataTableTab .cockpitSearchFieldInput:focus {
    border-color: #1597c4;
    box-shadow: 0 0 0 3px rgba(21,151,196,.12);
}

#ShopFloor .shopFloorDataTableTab .tableLiveDBTableContainer,
#ShopFloor .shopFloorMeasuresTableTab .cockpitOnePageContentShopFloor {
    border: 1px solid #d9e4ef;
    border-radius: 12px;
    max-height: calc(67vh - 185px) !important;
    overflow: auto;
}

#ShopFloor .shopFloorDataTableTab table {
    background: #fff;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #22314d;
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(12px, .88vmin, 14px);
    line-height: 1.35;
    margin: 0;
    width: 100%;
}

#ShopFloor .shopFloorDataTableTab table thead,
#ShopFloor .shopFloorDataTableTab table thead tr,
#ShopFloor .shopFloorDataTableTab table th,
#ShopFloor .shopFloorDataTableTab .TableLiveDB th .sizeableDiv {
    background: var(--shopfloor-theme-color);
    color: #eef8ff;
}

#ShopFloor .shopFloorDataTableTab table th {
    border: 0;
    border-bottom: 2px solid #1597c4;
    color: #eef8ff;
    font-size: inherit;
    font-weight: 700;
    padding: 11px 12px;
    position: sticky;
    text-align: left;
    top: 0;
    z-index: 3;
}

#ShopFloor .shopFloorDataTableTab .TableLiveDB th .sizeableDiv {
    align-items: center;
    min-height: 20px;
}

#ShopFloor .shopFloorDataTableTab .TableLiveDB th .sizeableDiv * {
    color: inherit;
}

#ShopFloor .shopFloorDataTableTab table td {
    border: 0;
    border-bottom: 1px solid #e3eaf2;
    box-sizing: border-box;
    height: auto;
    padding: 10px 12px;
    vertical-align: middle;
}

#ShopFloor .shopFloorDataTableTab table tbody tr:nth-child(odd) {
    background: #f7f9fc;
}

#ShopFloor .shopFloorDataTableTab table tbody tr:nth-child(even) {
    background: #fff;
}

#ShopFloor .shopFloorDataTableTab table tbody tr:hover {
    background: #eaf7fb;
    box-shadow: inset 4px 0 #1597c4;
}

/* Dense, classic Flumen workspace for measures. */
#ShopFloor #shopFloorContentContentDiv_MANAH.shopFloorMeasuresTableTab {
    border-radius: 9px;
    height: 100%;
    margin: 0;
    max-height: none;
    width: 100%;
}

#shopFloorContentContentDiv_MANAH .cockpitOnePageContentPreHolder,
#shopFloorContentContentDiv_MANAH .cockpitOnePageContentList,
#shopFloorContentContentDiv_MANAH .cockpitOnePageSideContent {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    width: 100%;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageSideContent {
    padding: 0;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .shopFloorContentDivHeader {
    background: var(--shopfloor-theme-color);
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 44px;
    padding: 6px 12px !important;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentHeaderIcon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 22px;
    font-size: 19px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0 !important;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentHeaderTitle {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    height: 30px;
    line-height: 1;
    margin: 0 3px 0 0;
    width: auto;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentHeaderNew {
    align-items: center;
    border-radius: 6px;
    color: #9cdef2;
    display: inline-flex;
    flex: 0 0 30px;
    font-size: 18px;
    height: 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 30px;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentHeaderNew:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .shopFloorMeasuresQuickFilter {
    background: transparent;
    border: 0;
    margin: 0 0 0 auto;
    min-width: 0;
    padding: 0;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .shopFloorMeasuresQuickFilter .cockpitSearchField {
    align-items: center;
    display: flex;
    color: #d9edf5;
    font-size: 11px;
    gap: 7px;
    white-space: nowrap;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .shopFloorMeasuresQuickFilter .cockpitSearchFieldInput {
    background: rgba(255,255,255,.96);
    border-color: rgba(166,222,240,.55);
    border-radius: 6px;
    color: #182744;
    font-size: 12px;
    height: 30px;
    min-width: min(230px, 24vw);
    padding: 0 9px;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentShopFloor {
    border: 0;
    border-radius: 0;
    flex: 1 1 auto;
    max-height: none !important;
    min-height: 0;
    overflow: auto;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor {
    font-size: 12px;
    line-height: 1.2;
    table-layout: fixed;
    min-width: 1100px;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor thead th:last-child {
    width: 280px !important;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor th {
    font-size: 11px;
    height: 34px;
    padding: 6px 9px;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor td {
    height: 38px;
    padding: 5px 9px;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor td.shopFloorTableTextWhiteSpace {
    line-height: 1.25;
    white-space: normal;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor td.cockpitExternalEinstellung {
    display: table-cell !important;
    box-sizing: border-box;
    height: auto;
    min-height: 44px;
    padding: 5px 8px !important;
    white-space: nowrap;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor td.cockpitExternalEinstellung > div {
    align-items: center;
    border-radius: 5px;
    display: inline-flex;
    box-sizing: border-box;
    padding: 0;
    flex: 0 0 clamp(32px, 2.2vmin, 38px);
    font-size: clamp(16px, 1.3vmin, 20px);
    height: clamp(32px, 2.2vmin, 38px);
    justify-content: center;
    margin: 0 0 0 4px;
    width: clamp(32px, 2.2vmin, 38px);
    cursor: pointer;
}

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor td.cockpitExternalEinstellung > div:hover {
    background: #dff2f8;
    color: #c01466;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend {
    align-items: center;
    border-top: 1px solid #dfe7f0;
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    float: none;
    height: auto;
    line-height: 1.5;
    margin: 0;
    max-height: none;
    min-height: 38px;
    min-width: 0;
    overflow: visible;
    padding: 7px 10px;
    row-gap: 4px;
    white-space: normal;
    width: 100%;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend > div {
    align-items: center;
    line-height: 1.5;
    white-space: nowrap;
}

#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend .cockpit_shopFloorTableIndicator {
    align-self: center;
    box-sizing: border-box;
    flex: 0 0 .85em;
    width: .85em;
    height: .85em;
    margin: 0 .4em 0 0;
    padding: 0;
    border-radius: 50%;
}

@media (max-width: 900px) {
    #ShopFloor #shopFloorContentContentDiv_MANAH .shopFloorContentDivHeader {
        flex-wrap: wrap;
    }

    #ShopFloor #shopFloorContentContentDiv_MANAH .shopFloorMeasuresQuickFilter {
        flex: 1 1 100%;
        margin-left: 0;
    }
}

/* Attendance board skin without changing the shared InteractiveTable component. */
#shopFloorContentContentDiv_ANWEN.shopFloorAttendanceBoard {
    background: #f6f8fc;
    border-radius: 18px;
    box-sizing: border-box;
    color: #182744;
    padding: clamp(10px, 1.2vmin, 18px);
}

#shopFloorContentContentDiv_ANWEN .interactive-table-container {
    background: transparent;
    color: #182744;
    padding: 0;
}

#shopFloorContentContentDiv_ANWEN .table-controls {
    align-items: center;
    background: linear-gradient(105deg, var(--shopfloor-theme-surface-deep) 0%, var(--shopfloor-theme-surface-soft) 100%);
    border: 1px solid rgba(130,218,242,.22);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(2,13,55,.15);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 14px;
    padding: clamp(12px, 1.4vmin, 20px);
}

#shopFloorContentContentDiv_ANWEN .interactive-table-title {
    color: #fff;
    font-size: clamp(22px, 2.2vmin, 32px);
    font-weight: 700;
}

#shopFloorContentContentDiv_ANWEN .interactive-table-title .icon-info {
    color: #8cdef4;
    font-size: .7em;
    margin-left: 6px;
}

#shopFloorContentContentDiv_ANWEN .table-controls button {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(146,220,240,.3);
    border-radius: 9px;
    color: #b8eafa;
    min-height: 36px;
    padding: 8px 12px;
}

#shopFloorContentContentDiv_ANWEN .table-controls button:hover {
    background: rgba(184,234,250,.16);
    border-color: #8cdef4;
    color: #fff;
}

#shopFloorContentContentDiv_ANWEN .int-cont-holder {
    align-items: stretch;
    column-gap: 14px;
}

#shopFloorContentContentDiv_ANWEN .table-wrapper {
    background: #fff;
    border: 1px solid #d8e3ee;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(2,13,55,.08);
    overflow: auto;
}

#shopFloorContentContentDiv_ANWEN #interactiveTable {
    background: #fff;
    margin: 0;
    min-width: 100%;
}

#shopFloorContentContentDiv_ANWEN #interactiveTable th,
#shopFloorContentContentDiv_ANWEN #interactiveTable td {
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e2e9f1;
    border-right: 1px solid #e2e9f1;
    padding: 6px;
}

#shopFloorContentContentDiv_ANWEN #interactiveTable th,
#shopFloorContentContentDiv_ANWEN #interactiveTable thead td {
    background: #eaf3f9 !important;
    border-bottom: 2px solid #1597c4;
    color: #182744;
    font-size: clamp(12px, .9vmin, 14px);
    padding-block: 11px;
    position: sticky;
    top: 0;
    z-index: 4;
}

#shopFloorContentContentDiv_ANWEN #interactiveTable thead .settings-column-header {
    z-index: 5;
}

#shopFloorContentContentDiv_ANWEN #interactiveTable tbody tr:nth-child(even) td:not(.settings-column) {
    background: #f8fafc;
}

#shopFloorContentContentDiv_ANWEN #interactiveTable td.drop-zone:hover {
    background: #eef9fc;
}

#shopFloorContentContentDiv_ANWEN .settings-column-header,
#shopFloorContentContentDiv_ANWEN .settings-column {
    background: #f1f5f9 !important;
    border-color: #d8e3ee !important;
}

#shopFloorContentContentDiv_ANWEN .cell-image {
    background: #fff;
    border: 3px solid #8294aa;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(8,31,72,.16);
    box-sizing: border-box;
    overflow: hidden;
}

#shopFloorContentContentDiv_ANWEN .cell-image:hover {
    border-color: #55c3df;
    box-shadow: 0 11px 23px rgba(8,31,72,.2);
}

#shopFloorContentContentDiv_ANWEN .cell-image img {
    aspect-ratio: 1 / 1;
    border-radius: 9px;
    object-fit: cover;
}

#shopFloorContentContentDiv_ANWEN .cell-textarea {
    background: #f7f9fc;
    border: 1px solid #ccd9e7;
    border-radius: 9px;
    color: #182744;
}

#shopFloorContentContentDiv_ANWEN .cell-textarea:focus {
    border-color: #1597c4;
    box-shadow: 0 0 0 3px rgba(21,151,196,.12);
    outline: 0;
}

/* Modern attendance settings dialog, scoped to the InteractiveTable modal. */
#interactive-table-settings-modal-container {
    inset: 0;
    position: fixed;
    z-index: 10020;
}

#interactive-table-settings-modal {
    align-items: center;
    /* Avoid recompositing the full attendance board on every input/caret update. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(2,9,38,.58);
    display: flex !important;
    inset: 0;
    justify-content: center;
    padding: clamp(14px, 2vmin, 30px);
    position: fixed;
}

#interactive-table-settings-modal .interactive-table-settings-dialog {
    height: min(54rem, 92vh);
    margin: 0;
    max-width: 68rem;
    width: min(68rem, 94vw);
}

#interactive-table-settings-modal .interactive-table-settings-window {
    background: #f5f8fc;
    border: 1px solid rgba(166,218,236,.65);
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(0,5,28,.34);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
    max-width: none !important;
    overflow: hidden;
    width: 100% !important;
}

#interactive-table-settings-modal .headerBar {
    align-items: center;
    background: linear-gradient(105deg, var(--shopfloor-theme-surface-deep) 0%, var(--shopfloor-theme-surface-soft) 100%);
    border: 0;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    gap: 14px;
    min-height: 84px;
    padding: 15px 20px;
}

#interactive-table-settings-modal .headerIcon {
    align-items: center;
    background: rgba(143,223,245,.12);
    border: 1px solid rgba(143,223,245,.28);
    border-radius: 12px;
    color: #98e1f4;
    display: inline-flex;
    font-size: 25px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

#interactive-table-settings-modal .interactive-table-settings-heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#interactive-table-settings-modal .headerInfo {
    color: #fff;
    font-size: clamp(21px, 1.8vmin, 28px);
    font-weight: 700;
    line-height: 1.1;
}

#interactive-table-settings-modal .interactive-table-settings-heading small {
    color: rgba(211,230,250,.72);
    font-size: 12px;
    line-height: 1.4;
}

#interactive-table-settings-modal .headerFunction {
    align-items: center;
    border-radius: 9px;
    color: #b6e8f6;
    cursor: pointer;
    display: inline-flex;
    font-size: 23px;
    height: 40px;
    justify-content: center;
    margin-left: auto;
    width: 40px;
}

#interactive-table-settings-modal .interactive-table-settings-content {
    background: #f5f8fc;
    box-sizing: border-box;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow: auto;
    padding: clamp(16px, 2vmin, 26px);
}

#interactive-table-settings-modal .interactive-table-settings-section {
    background: #fff;
    border: 1px solid #d9e4ef;
    border-radius: 15px;
    box-shadow: 0 9px 22px rgba(6,25,64,.06);
    padding: clamp(14px, 1.6vmin, 22px);
}

#interactive-table-settings-modal .interactive-table-settings-section-heading {
    align-items: center;
    border-bottom: 1px solid #e2e9f1;
    color: #1597c4;
    display: flex;
    font-size: 22px;
    gap: 11px;
    margin-bottom: 14px;
    padding-bottom: 12px;
}

#interactive-table-settings-modal .interactive-table-settings-section-heading > span:last-child {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#interactive-table-settings-modal .interactive-table-settings-section-heading strong {
    color: #182744;
    font-size: 18px;
}

#interactive-table-settings-modal .interactive-table-settings-section-heading small {
    color: #728098;
    font-size: 11px;
}

#interactive-table-settings-modal .interactive-table-settings-display-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#interactive-table-settings-modal .interactive-table-settings-field {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #e0e7ef;
    border-radius: 11px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 62px;
    padding: 10px 13px;
}

#interactive-table-settings-modal .interactive-table-settings-field > span {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#interactive-table-settings-modal .interactive-table-settings-field strong {
    color: #253550;
    font-size: 13px;
}

#interactive-table-settings-modal .interactive-table-settings-field small {
    color: #748198;
    font-size: 10px;
}

#interactive-table-settings-modal #interactive-table-settings-imagewidth {
    background: #fff;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    box-sizing: border-box;
    color: #182744;
    flex: 0 0 100px;
    font: 650 14px 'Ubuntu', sans-serif;
    height: 38px;
    outline: 0;
    padding: 0 10px;
    width: 100px;
}

#interactive-table-settings-modal #interactive-table-settings-imagewidth:focus {
    border-color: #1597c4;
    box-shadow: 0 0 0 3px rgba(21,151,196,.12);
}

#interactive-table-settings-modal #interactive-table-settings-hideallnotes {
    appearance: none;
    background: #cbd8e7;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    flex: 0 0 auto;
    height: 28px;
    position: relative;
    transition: background .18s ease;
    width: 50px;
}

#interactive-table-settings-modal #interactive-table-settings-hideallnotes::after {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(5,19,50,.2);
    content: '';
    height: 22px;
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform .18s ease;
    width: 22px;
}

#interactive-table-settings-modal #interactive-table-settings-hideallnotes:checked {
    background: #c70f5d;
}

#interactive-table-settings-modal #interactive-table-settings-hideallnotes:checked::after {
    transform: translateX(22px);
}

#interactive-table-settings-modal .interactive-table-settings-roles-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: none;
    overflow: visible;
    padding: 0;
}

#interactive-table-settings-modal .interactive-table-role-list {
    max-height: none;
    overflow: visible;
}

#interactive-table-settings-modal .interactive-table-role-form,
#interactive-table-settings-modal .interactive-table-role-row {
    align-items: center;
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(9em, 1fr) minmax(12em, 2fr) 3.5em 5em;
}

#interactive-table-settings-modal .interactive-table-role-row {
    background: #f8fafc;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    min-height: 48px;
    padding: 8px 10px;
}

/* Keep role editing on the same relative type scale as the display controls. */
#interactive-table-settings-modal .interactive-table-settings-content {
    font-size: max(1rem, 1.2vmin);
    line-height: 1.4;
}

#interactive-table-settings-modal .interactive-table-settings-section-heading {
    font-size: 1.25em;
}

#interactive-table-settings-modal .interactive-table-settings-section-heading strong {
    font-size: .9em;
}

#interactive-table-settings-modal .interactive-table-settings-section-heading small {
    font-size: .65em;
}

#interactive-table-settings-modal .interactive-table-settings-field strong {
    font-size: .9em;
}

#interactive-table-settings-modal .interactive-table-settings-field small {
    font-size: .8em;
}

#interactive-table-settings-modal .interactive-table-settings-roles-container,
#interactive-table-settings-modal .interactive-table-role-name,
#interactive-table-settings-modal .interactive-table-role-description {
    font-size: 1em;
    text-align: left;
}

#interactive-table-settings-modal .interactive-table-settings-roles-container h4 {
    font-size: 1em;
    line-height: 1.4;
    margin: 1em 0 .75em;
}

#interactive-table-settings-modal .interactive-table-role-form input[type="text"],
#interactive-table-settings-modal .interactive-table-role-row input[type="text"],
#interactive-table-settings-modal #interactive-table-settings-imagewidth {
    font: inherit;
    min-width: 0;
    height: auto;
    min-height: 2.5em;
    padding: .4em .65em;
}

#interactive-table-settings-modal .interactive-table-role-actions button,
#interactive-table-settings-modal .interactive-table-role-form button {
    font-size: 1em;
    line-height: 1.4;
    min-height: 2.25em;
    height: auto;
    padding: .35em .55em;
}

#interactive-table-settings-modal .interactive-table-settings-footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid #dfe7f0;
    color: #718098;
    display: flex;
    flex: 0 0 auto;
    font-size: 11px;
    gap: 7px;
    justify-content: flex-end;
    min-height: 42px;
    padding: 0 20px;
}

#interactive-table-settings-modal .interactive-table-settings-footer .fa {
    color: #20a66a;
}

@media (max-width: 900px) {
    #interactive-table-settings-modal .interactive-table-settings-display-grid,
    #interactive-table-settings-modal .interactive-table-role-form,
    #interactive-table-settings-modal .interactive-table-role-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .shopfloorTopicsHeader {
        flex-direction: column;
    }
}

  @media screen and (max-width: 576px) {
    .shopFloorContentContentDiv{
        width: 92vmin !important;
        overflow-y: auto;
    }

    .shopFloorCross_Day{
        width: 9vw;
        height: 6vh;
        line-height: 5.8vh;
        font-size: 2.8vmin;
    }

    .shopFloorContentContentDiv_CrossContainer{
        width: 65vw;
    }

    #ShopFloorHead{
        margin: 4vmin auto;
    }

    #shopFloorContentContentDiv_KPILT_Header{
        overflow-x: auto;
        margin-bottom: 3vmin;
    }

    .transactionDropdown{
        position: relative;
        height: 4.5vmin !important;
        font-size: 3.2vmin !important;
        margin-top: 0 !important;
    }

    .shopFloorContentContentDiv table th{
        min-width: 8vw;
    }

    .shopfloor_employeeTable{
        max-height: 34vh;
    }

    .shopfloorEmployeeLegend{
        width: 94vmin !important;
    }

    #shopFloorSelectorDiv{
        margin-left: -89vmin;
    }

    .shopFloorContentContentDiv{
        max-height: 71vh;
    }

  }

  #SensorDiv {
    position: absolute;
    background: var(--background-color);
    color: var(--circleLabel-color);
    z-index: 8;
    width: 100vw;
    height: 93vh;
    top: 7vmin;
    left: 0;
    display: none;
  }

#nodeEditorDiv {
    position: absolute;
    background: var(--background-color);
    color: var(--circleLabel-color);
    z-index: 16;
    width: 100vw;
    height: 93vh;
    /*height: 89vh;*/
    top: var(--headerHeight);
    left: 0;
}

#nodeEditorDivContainer{
    display: none;
}

  #nodeEditorDivIconClose {
    position: absolute;
    right: 1vw;
    cursor: pointer;
    /* margin-top: 2vmin; */
    z-index: 9999;
    top: calc(7vmin + 40px);
  }

  #newESGPortalClose {
    position: absolute;
    right: 1vw;
    cursor: pointer;
    /* margin-top: 2vmin; */
    z-index: 9999;
    top: calc(7vmin + 40px);
  }

  #newESGDoSurveyClose {
    position: absolute;
    right: 1vw;
    cursor: pointer;
    /* margin-top: 2vmin; */
    z-index: 9999;
    top: calc(7vmin + 40px);
  }

  #nodeEditorDivIconBack {
    position: absolute;
    right: calc(2vmin + 30px);
    cursor: pointer;
    /* margin-top: 2vmin; */
    z-index: 9999;
    top: calc(7vmin + 40px);
    display: none;
    margin-top: 1vmin;
  }

    #nodeEditorDivIconErrorLog {
    position: absolute;
    right: calc(5vmin + 30px);
    cursor: pointer;
    /* margin-top: 2vmin; */
    z-index: 9999;
    top: calc(7vmin + 40px);
    display: none;
    margin-top: 1vmin;
  }

  #nodeProgramListHolder table{
    text-align: left;
    min-width: 350px;
    margin: 20px auto;
  }

  #nodeProgramListHolder table td{
    padding: 5px 5px;
  }

  #nodeProgramListHolder table th{
    padding: 5px 5px;
  }


  #nodeProgramListHolder{
    position: absolute;
    background: var(--background-color);
    color: var(--circleLabel-color);
    z-index: 9;
    width: 100vw;
    height: 93vh;
    top: var(--headerHeight);
    left: 0;
  }

#mesDashboardDiv{
    position: absolute;
    background: var(--background-color);
    color: var(--circleLabel-color);
    z-index: 16;
    width: 100vw;
    height: 93vh;
    top: var(--headerHeight);
    left: 0;
}

#mesDashboardDivContainer {
    display: none;
}

#mesDashboardDivIconClose {
    position: absolute;
    right: 1vw;
    cursor: pointer;
    /* margin-top: 2vmin; */
    z-index: 9999;
    top: calc(7vmin + 40px);
}

#mesProgramListHolder {
    position: absolute;
    background: var(--background-color);
    color: var(--circleLabel-color);
    z-index: 9;
    width: 100vw;
    height: 93vh;
    top: var(--headerHeight);
    left: 0;
}

#mesProgramListHolder > div {
    text-align: center;
    font-size: 3.5vmin;
    margin: 50px 0;
}
  

  #SensorDivIconClose {
    position: absolute;
    right: 1vw;
    cursor: pointer;
    margin-top: 2vmin;
  }

  #SensorContentMainImg {
    margin-right: 1vw;
    width: auto;
    height: 1em;
  }

  #SensorContentLeft {
    display: flex;
    width: 22vw;
    height: 100%;
    flex-direction: column;
    width: 28%;
    text-align: left;
  }

  #SensorContentLeftDash{
    display: flex;
    height: 100%;
    margin-top: 3vmin;
  }

  #SensorContentContent {
    width: inherit;
    margin: 0 auto;
    display: block;
    top: 4vmin;
    background: var(--background-color);
    /* height: 80vh; */
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 1.8vmin;
  }

  #SensorContentMainTitle {
    margin-top: 8vmin;
    margin-left: 7vmin;
    font-family: 'Ubuntu', sans-serif;
    font-size: 3vw;
    /* margin-top: -0.35em; */
    /* line-height: 4.4vw; */
    text-align: left;
    font-family: UbuntuThin;
    width: 85%;
  }


  #SensorImgDivDashboard {
    margin-bottom: 4vmin;
    margin-left: 7vmin;
    font-family: 'Ubuntu', sans-serif;
    font-size: 3vw;
    text-align: left;
    font-family: UbuntuThin;
    width: 85%;
  }

  #SensorList{
    width: 95%;
    margin-top: 3vmin;
  }

  #SensorListHeadFilter{
    float:right;
    margin-right: 6vmin;
  }

  #SensorListHeadSearchNew{
    display: flex;
    align-items: center;
  }

  #SensorListContent{
    overflow-y: auto;
    height: 60vmin;
    /* overflow-y: auto; */
}
.co2supplierhistorybtn {
    margin: 20px;
    float: right;
    cursor: pointer;
    border: 1px solid white;
    padding: 5px;
    border-radius: 10px;
    font-size: 2vmin;
}

.co2supplierhistorybtn p {
    font-size: 1.3vmin;
}

.co2supplierhistorybtn:hover {
    background: var(--cockpit-red);
}

.supplierCO2FilesDiv{
    text-align: left;
    padding: 10px;
}

.supplierCO2FilesLinkHolder{
    margin-top: 10px;
    max-height: 5.5vmin;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--black);
    padding: 5px;
}

.iotDocumentationItem{
    border: 1px solid var(--circle-fill);
    padding: 15px;
    margin-bottom: 15px;
    width: 95%;
    color: var(--black);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.iotDocumentationItem:hover{
    background-color: var(--red);
    color: var(--white);
}

#editJSONConfigDictionaryHolder{
    display: none;
}

#transactionInputDivClose {
    padding-right: 15px;
    position: absolute;
    right: 0;
    cursor: pointer;
}

#iotMsgDiv{
    margin-top: 5vmin;
    font-size: 2.2vmin;
    color: var(--logo-color);
}

#iot-grouping-setting-add{
    display: none;
    margin-top: 12vmin;
}

#iot-grouping-setting-edit{
    margin-top: 5vmin;
}

#iotGroupEditBtn{
    color: var(--main-color-light);
}

#iot-grouping-setting-btns{
    /* padding-left: 4vmin; */
    margin-top: 4vmin;
}

#SensorListContentTable {
    width: 100%;
    margin-top: 2vmin;
    overflow-y: auto;
    line-height: 2;
}

#IOTSettingsTable {
    width: 100%;
    margin-top: 2vmin;
    overflow-y: auto;
    line-height: 2;
}

#RFIDSettingsTable {
    width: 100%;
    margin-top: 2vmin;
    overflow-y: auto;
    line-height: 2;
}

#RFIDSettingsTable td, th {
    text-align: left;
    padding: 5px;
}

#SensorGroupListTable{
    width: 100%;
    margin-top: 2vmin;
    overflow-y: auto;
    line-height: 2;
}

#SensorGroupListTable_body tr:hover{
    background-color: var(--cockpit-logo);
}

#SensorContentTable_body tr:hover{
    background-color: var(--cockpit-logo);
}

#SensorGroupTable_body tr:hover{
    background-color: var(--cockpit-logo);
}

#IOTSettingsTable_body tr:hover{
    background-color: var(--cockpit-logo);
}

#IOTSettingsTable_body tr:nth-child(odd) {
    background-color: var(--second-color-light);
}

#RFIDSettingsTable_body tr:hover{
    background-color: var(--cockpit-logo);
}

#RFIDSettingsTable_body tr:nth-child(odd) {
    background-color: var(--second-color-light);
}

#filterDivIOTSettings{
    float: left;
    display: flex;
    gap: 1em;
    margin-top: 2vmin;
}

#filterDivRFIDSettings{
    float: left;
    display: flex;
    gap: 1em;
    margin-top: 2vmin;
}

#rfid-tab-content{
    font-weight: bold;
}

#iotDotConfigModal_TaskPreview{
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin: 15px 0px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}


.sidePanelOpened{
    background-color: var(--cockpit-logo) !important;
}

#SensorContentTable_body tr{
    cursor: pointer;
}

#IOTSettingsTable_body tr{
    cursor: pointer;
}

#RFIDSettingsTable_body tr{
    cursor: pointer;
}

#SensorGroupTable_body tr{
    cursor: pointer;
}

.IOTTableVisibleHiddenRow {
    background-color: var(--color-active-light) !important;
}

#SensorContentTable_head{
    position: sticky;
    top: 0;
    background: white;
    text-align: left;
}

#IOTSettingsTable_head{
    position: sticky;
    top: 0;
    /* background: white; */
    text-align: left;
}

#SensorGroupTable_head{
    position: sticky;
    top: 0;
    background: white;
    text-align: left;
}

.choices{
    /* width: 47vw !important; */
}

#SensorOptionButtonDiv{
    display: inline-flex;
    column-gap: 1vw;
    float: right;
    padding-right: 18vw;
}

#SensorOptionButtonDiv2{
    position: fixed;
    bottom: 1vmin;
    right: 8vmin;
}

#SensorExportButtonDiv {
    position: fixed;
    bottom: 1vmin;
    right: 8vmin;
    margin-right: 20vmin;
}
#SensorCloseButtonDiv {
    position: fixed;
    bottom: 1vmin;
    right: 30vmin;
    margin-right: 20vmin;
}

#iot-new-other-data{
    text-align: left;
    padding: 4vmin;
}

.iot-group-save-btn-holder{
    float: right;
    padding-right: 4vw;
    padding-top: 4vmin;
}

.SensorOptionButton{
    width: 6em;
}

#SensorOptions{
    height: 82vh;
}

#SensorOptionContent{
    margin-top: 2vmin;
    height: 77vh;
    margin-bottom: 2vmin;
    overflow-y: auto;
}

#SensorContentMainsubMenu {
    margin-left: 7vmin;
    text-align: left;
    border-top: 1px solid var(--circle-fill);
    margin-top: 2vmin;
    margin-bottom: 4vh;
    padding-top: 2vmin;
    width: 70%;
    font-size: 1.8vmin;
    line-height: 1.5;
    font-family: 'Ubuntu';
}

#iotdatetimespickercontainer{
    margin-left: 7vmin;
    width: 70%;
    margin-top: 2vmin;
}

#onlyshowactivecontainer{
    display: flex;
    margin-left: 7vmin;
    width: 70%;
    margin-top: 2vmin;
}

#moreIOTPortalInfoLink{
    margin-left: 7vmin;
    width: 70%;
    margin-top: 2vmin;
}

#SensorDiv {
    position: absolute;
    z-index: 1;
    background: inherit;
    color: inherit;
}

#mqttLogDiv {
    position: absolute;
    z-index: 9;
    background: inherit;
    color: inherit;
    height: 50vh;
    width: 80vw;
    border: 1px solid;
    left: 10vw;
    top: 25vh;
    resize: both;
    overflow: scroll;
    display: none;
}

#mqttLogTitleDiv {
    height: 2em;
    background: var(--main-color);
    color: var(--color-configurable);
    position: sticky;
    top: 0;
    left: 0;
}

#mqttLogTitleDiv div {
    padding: 0.5em;
}

#mqttLogTitle {
    float: left;
}

#mqttLogClose {
    float: right;
}

#mqttLog {
    text-align: left;
    padding: 1em;
    border-spacing: 0.5em;
    font-size: 0.75em;
}

/* Flumina safety cross */
#shopFloorContentContentDiv_SIKRZ {
    box-sizing: border-box;
    color: #17233f;
    margin: 0 auto !important;
    max-width: 1500px;
    padding: clamp(16px, 2.2vmin, 32px);
    width: 100% !important;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorSafetyCrossHeader {
    align-items: center;
    background: linear-gradient(115deg, var(--shopfloor-theme-surface-deep) 0%, var(--shopfloor-theme-surface-soft) 100%);
    border: 1px solid rgba(105, 207, 238, .24);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(2, 10, 42, .14);
    box-sizing: border-box;
    color: #f8fbff;
    display: flex;
    justify-content: space-between;
    margin: 0 0 clamp(14px, 1.8vmin, 24px);
    min-height: 92px;
    padding: clamp(16px, 1.8vmin, 26px);
    width: 100%;
}

.shopFloorSafetyCrossHeading,
.shopFloorSafetyCrossTitleHolder {
    align-items: center;
    display: flex;
}

.shopFloorSafetyCrossHeading {
    gap: 14px;
    min-width: 0;
}

.shopFloorSafetyCrossTitleHolder {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.shopFloorSafetyCrossHeaderIcon {
    align-items: center;
    background: rgba(101, 207, 238, .12);
    border: 1px solid rgba(101, 207, 238, .3);
    border-radius: 14px;
    color: #7ad9f2;
    display: inline-flex;
    flex: 0 0 auto;
    height: 52px;
    justify-content: center;
    width: 52px;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorSafetyCrossHeaderIcon .cockpitOnePageContentHeaderIcon {
    font-size: 27px;
    padding: 0 !important;
}

#shopFloorContentContentDiv_SIKRZ .cockpitOnePageContentHeaderTitle {
    color: #fff;
    font-size: clamp(23px, 2.3vmin, 34px);
    font-weight: 700;
    line-height: 1.1;
}

.shopFloorSafetyCrossSubtitle {
    color: rgba(220, 235, 255, .72);
    font-size: clamp(12px, 1.25vmin, 16px);
    line-height: 1.35;
}

.shopFloorSafetyCrossMonthField {
    align-items: flex-start;
    color: #91dff3;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    font-size: 11px;
    font-weight: 700;
    gap: 6px;
    letter-spacing: .08em;
    margin-inline-start: clamp(2rem, 3vw, 4rem);
    text-transform: uppercase;
}

#shopFloorContentContentDiv_SIKRZ .shopFloor_inputMonth {
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(145, 223, 243, .32);
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    font-size: 15px;
    height: 42px;
    min-width: 190px;
    padding: 0 12px;
}

#shopFloorContentContentDiv_SIKRZ .shopFloor_inputMonth:focus {
    border-color: #70d2ec;
    box-shadow: 0 0 0 3px rgba(112, 210, 236, .16);
    outline: none;
}

#shopFloorContentContentDiv_SIKRZ .shopFloor_inputMonth::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: .9;
}

.shopFloorSafetyCrossWorkspace {
    align-items: stretch;
    display: grid;
    gap: clamp(14px, 1.8vmin, 24px);
    grid-template-columns: minmax(230px, .36fr) minmax(500px, 1fr);
}

.shopFloorSafetyCrossKpi,
.shopFloorSafetyCrossCard {
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(12, 31, 72, .09);
    box-sizing: border-box;
}

.shopFloorSafetyCrossKpi {
    background:
        radial-gradient(circle at 95% 0%, rgba(236, 23, 96, .23), transparent 40%),
        linear-gradient(145deg, #06123d 0%, #0b2159 100%);
    border: 1px solid rgba(116, 209, 236, .22);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
    padding: clamp(24px, 3vmin, 46px);
    position: relative;
}

.shopFloorSafetyCrossKpi::after {
    background: #ec1760;
    border-radius: 10px;
    content: "";
    height: 6px;
    left: clamp(24px, 3vmin, 46px);
    position: absolute;
    top: clamp(24px, 3vmin, 46px);
    width: 46px;
}

.shopFloorSafetyCrossKpiPrefix {
    color: #85dbf1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-top: 28px;
    text-transform: uppercase;
}

.shopFloorSafetyCrossKpiValue {
    font-size: clamp(64px, 8vmin, 112px);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.06em;
    line-height: 1;
    margin: 10px 0 2px;
}

.shopFloorSafetyCrossKpiValueNoIncident {
    align-self: center;
    font-size: clamp(1.75rem, 3.4vmin, 3.2rem);
    letter-spacing: normal;
    line-height: 1.15;
    max-width: 85%;
    text-align: center;
}

.shopFloorSafetyCrossKpiLabel {
    color: #fff;
    font-size: clamp(19px, 2vmin, 27px);
    font-weight: 600;
}

.shopFloorSafetyCrossKpiDetail {
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(222, 235, 255, .72);
    font-size: 12px;
    line-height: 1.45;
    margin-top: 24px;
    padding-top: 16px;
}

.shopFloorSafetyCrossCard {
    background: rgba(255, 255, 255, .96);
    border: 1px solid #dbe4f0;
    min-height: 360px;
    padding: clamp(18px, 2.2vmin, 32px);
}

.shopFloorSafetyCrossCardHeader {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.shopFloorSafetyCrossCardHeader strong {
    color: #152342;
    font-size: 19px;
}

.shopFloorSafetyCrossCardHeader > span {
    color: #74819a;
    font-size: 12px;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorContentContentDiv_CrossContainer {
    margin: 0 auto;
    width: max-content;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorContentContentDiv_CrossLine {
    display: flex;
    justify-content: center;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day {
    align-items: center;
    background: #eef2f7;
    border: 1px solid #d6dfeb;
    border-radius: 11px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
    color: #24324f;
    display: inline-flex;
    font-size: clamp(13px, 1.35vmin, 17px);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    height: clamp(42px, 4.7vmin, 58px);
    justify-content: center;
    line-height: 1;
    margin: 4px;
    position: relative;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    width: clamp(48px, 5.2vmin, 66px);
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day:not(.shopFloorCross_DayGhost):hover,
#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day:not(.shopFloorCross_DayGhost):focus-visible {
    border-color: #72cfe9;
    box-shadow: 0 7px 15px rgba(8, 33, 82, .14), 0 0 0 3px rgba(64, 190, 225, .13);
    outline: none;
    transform: translateY(-2px);
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_DayGhost {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    cursor: default;
    pointer-events: none;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day_O {
    background: #e7edf4;
    border-color: #d2dce8;
    color: #6f7b90;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day_K {
    background: #1ea768;
    border-color: #138751;
    color: #fff;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day_L {
    background: #f5ca3f;
    border-color: #d8a91d;
    color: #3d3105;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCross_Day_S {
    background: #eb3159;
    border-color: #c91e43;
    color: #fff;
}

#shopFloorContentContentDiv_SIKRZ .shopFloorCrossDaySaving::after {
    animation: shopFloorSafetySavingPulse .8s ease-in-out infinite alternate;
    background: #73d4ed;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    bottom: -4px;
    box-shadow: 0 2px 6px rgba(3, 18, 57, .2);
    content: "";
    height: 7px;
    position: absolute;
    right: -4px;
    width: 7px;
}

@keyframes shopFloorSafetySavingPulse {
    from { opacity: .4; transform: scale(.8); }
    to { opacity: 1; transform: scale(1.15); }
}

.shopFloorCrossDayInfo {
    align-items: center;
    background: rgba(255, 255, 255, .88);
    border: 0;
    border-radius: 50%;
    color: #0b1b48;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    height: 18px;
    justify-content: center;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: -5px;
    top: -5px;
    transform: scale(.82);
    transition: opacity .16s ease, transform .16s ease;
    width: 18px;
}

.shopFloorCross_Day:hover .shopFloorCrossDayInfo,
.shopFloorCross_Day:focus-within .shopFloorCrossDayInfo,
.shopFloorCrossDayInfo:focus-visible {
    opacity: 1;
    transform: scale(1);
}

.shopFloorSafetyCrossLegend {
    align-items: center;
    border-top: 1px solid #e3e9f1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 22px;
    padding: 18px 0 0;
}

.shopFloorSafetyCrossLegendEntry {
    align-items: center;
    color: #526079;
    display: inline-flex;
    font-size: 12px;
    gap: 8px;
}

.shopFloorSafetyCrossLegendDot {
    border: 1px solid rgba(10, 25, 58, .12);
    border-radius: 50%;
    display: inline-block;
    height: 11px;
    width: 11px;
}

@media (max-width: 900px) {
    .shopFloorSafetyCrossWorkspace {
        grid-template-columns: 1fr;
    }

    .shopFloorSafetyCrossKpi {
        min-height: 220px;
    }

    #shopFloorContentContentDiv_SIKRZ .shopFloorSafetyCrossHeader {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .shopFloorSafetyCrossMonthField,
    #shopFloorContentContentDiv_SIKRZ .shopFloor_inputMonth {
        width: 100%;
    }

    .shopFloorSafetyCrossMonthField {
        margin-inline-start: 0;
    }

    .shopFloorSafetyCrossCard {
        overflow-x: auto;
    }

    .shopFloorCrossDayInfo {
        opacity: .82;
        transform: scale(1);
    }
}
#ShopFloor,
#dashboard.flumenSharedDashboard {
    --shopfloor-type-caption: clamp(.72rem, .8vmin, 1.35rem);
    --shopfloor-type-body: clamp(.82rem, .92vmin, 1.55rem);
    --shopfloor-type-control: clamp(.86rem, 1vmin, 1.7rem);
    --shopfloor-type-tab: clamp(.78rem, .88vmin, 1.5rem);
    --shopfloor-type-title: clamp(1.45rem, 2.15vmin, 3.6rem);
    --shopfloor-type-icon: clamp(1.05rem, 1.45vmin, 2.35rem);
    font-size: var(--shopfloor-type-body);
}

/* Keep the complete Shopfloor shell readable from HD through 4K.  Older
 * component rules use small fixed pixel caps, so the central shell controls
 * deliberately share viewport-aware type tokens here. */
#ShopFloorHeadHeadLabel {
    font-size: var(--shopfloor-type-title) !important;
}

#ShopFloorHeadHeadLabelText > .icon-infobox,
#ShopFloorHeadIcon {
    font-size: var(--shopfloor-type-icon) !important;
}

#ShopFloorHeadContentTime,
#ShopFloorRefreshStatus,
#ShopFloorRefreshCountdown,
#ShopFloorHeadContentPlace > label {
    font-size: var(--shopfloor-type-caption) !important;
}

#ShopFloorRefreshStatus > .fa {
    font-size: .9em !important;
}

#ShopFloorHeadContentPlaceValue,
.shopFloorAreaSearchResults option {
    font-size: var(--shopfloor-type-control) !important;
}

#ShopFloorContentHead .shopFloorContentHeadElementLabel {
    font-size: var(--shopfloor-type-tab) !important;
}

#ShopFloorContentHead .shopFloorContentHeadElementIcon {
    font-size: var(--shopfloor-type-icon) !important;
}

#ShopFloorContentHead .shopFloorContentHeadElement {
    gap: clamp(.35rem, .45vmin, .8rem);
    min-height: clamp(2.5rem, 2.7vmin, 4.5rem);
    height: auto;
    padding-block: clamp(.25rem, .35vmin, .6rem);
}

#ShopFloorContentContent,
#ShopFloorContentContent button,
#ShopFloorContentContent input,
#ShopFloorContentContent select,
#ShopFloorContentContent textarea {
    font-size: var(--shopfloor-type-body);
}

#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime td:first-child {
    font-size: var(--shopfloor-type-caption);
    margin-inline-end: clamp(.2rem, .3vmin, .55rem);
}

/* KPI cards have three independent layers (actions, description and canvas).
 * Reserve an explicit responsive description row so longer metric names and
 * the data timestamp never overlap each other or the plot. */
#ShopFloorContentContent.shopFloorKpiActive
#shopFloorContentContentDiv_KPILT_Holder .dashboardSpecificHeaderDiv,
#dashboard.flumenSharedDashboard #dashboard_Holder .dashboardSpecificHeaderDiv {
    display: flex;
    flex-direction: column;
    gap: clamp(.12rem, .18vmin, .3rem);
    left: clamp(.75rem, 1.1vmin, 1.8rem);
    line-height: 1.25;
    margin: 0 !important;
    max-width: min(58%, 46rem);
    right: auto;
    top: clamp(3.2rem, 4.4vmin, 7.2rem);
}

#ShopFloorContentContent.shopFloorKpiActive
#shopFloorContentContentDiv_KPILT_Holder .dashboardSpecificHeaderDiv_title,
#dashboard.flumenSharedDashboard #dashboard_Holder .dashboardSpecificHeaderDiv_title {
    font-size: var(--shopfloor-type-body);
    line-height: 1.25;
    opacity: .62;
}

#ShopFloorContentContent.shopFloorKpiActive
#shopFloorContentContentDiv_KPILT_Holder .dashboardSpecificHeaderDiv_timerange,
#dashboard.flumenSharedDashboard #dashboard_Holder .dashboardSpecificHeaderDiv_timerange {
    font-size: var(--shopfloor-type-caption);
    line-height: 1.25;
    opacity: .62;
}

#ShopFloorContentContent.shopFloorKpiActive
#shopFloorContentContentDiv_KPILT_Holder .dashboardCellCanvasHolder,
#dashboard.flumenSharedDashboard #dashboard_Holder .dashboardCellCanvasHolder {
    top: clamp(5rem, 6.5vmin, 10rem);
}

/* Metadata sits on the dark Shopfloor header and must not inherit the dark
 * text color used by the light content panels. */
#ShopFloorHeadContentPlace,
#ShopFloorHeadContentPlace > label,
#ShopFloorHeadContentTime,
#ShopFloorRefreshStatus,
#ShopFloorRefreshCountdown {
    color: #d9e4f4 !important;
}

#ShopFloorHeadContentPlace > label {
    color: #a9def2 !important;
}

/* The four operational data tables consume the remaining workspace height.
   Their own table container remains the sole vertical scroll area. */
#ShopFloorContentContent.shopFloorDataWorkspaceActive {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#ShopFloorContentContent.shopFloorDataWorkspaceActive >
.shopFloorDataTableTab.shopFloorContentContentDivActive {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    margin-bottom: clamp(12px, 1.4vmin, 22px);
    max-height: none;
    min-height: 0;
}

#ShopFloorContentContent.shopFloorDataWorkspaceActive >
.shopFloorDataTableTab.shopFloorContentContentDivActive > [id^="shopFloorContentTable_"],
#ShopFloorContentContent.shopFloorDataWorkspaceActive >
.shopFloorDataTableTab.shopFloorContentContentDivActive .shopFloorContentTableHolder,
#ShopFloorContentContent.shopFloorDataWorkspaceActive >
.shopFloorDataTableTab.shopFloorContentContentDivActive .TableLiveDBHolder {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

#ShopFloorContentContent.shopFloorDataWorkspaceActive .shopFloorContentDivHeader,
#ShopFloorContentContent.shopFloorDataWorkspaceActive .holderSettingsDiv,
#ShopFloorContentContent.shopFloorDataWorkspaceActive .tableLiveDBFooter,
#ShopFloorContentContent.shopFloorDataWorkspaceActive .cockpitOnePageContentLegend {
    flex: 0 0 auto;
}

#ShopFloorContentContent.shopFloorDataWorkspaceActive .tableLiveDBTableContainer {
    flex: 1 1 auto;
    max-height: none !important;
    min-height: 0;
    overflow: auto;
}

#ShopFloor .shopFloorDataUnavailable {
    background: color-mix(in srgb, var(--shopfloor-theme-color) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--shopfloor-theme-color) 28%, #ccd4de);
    border-left: .35rem solid var(--shopfloor-theme-color);
    border-radius: .35rem;
    box-sizing: border-box;
    color: #27313c;
    font-size: var(--shopfloor-type-body);
    line-height: 1.5;
    margin: clamp(1rem, 2vmin, 2rem);
    max-width: 62rem;
    padding: clamp(1rem, 1.7vmin, 1.5rem);
}

/* Keep toolbar field labels legible alongside the inputs on HD through 4K. */
#shopFloorContentContentDiv_KPILT_Header .shopFloorKpiTimeControls > div:first-child,
#shopFloorContentContentDiv_KPILT_Header .cockpitOnePageContentHeaderTime td:first-child,
#shopFloorContentContentDiv_KPILT_Header #shopFloorSelectorLabel {
    font-size: clamp(14px, 1.4vmin, 28px);
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.3;
    color: #f8fbff;
}

/* Attendance timestamps sit on the dark table toolbar. */
#shopFloorContentContentDiv_ANWEN .table-controls .shopFloorTabDataStatus,
#shopFloorContentContentDiv_ANWEN .table-controls .shopFloorTabDataStatus time{
    color:#eaf6ff;
}

#ShopFloorHeadContentPlaceValueGruppierung[aria-disabled="true"]{opacity:.45;cursor:not-allowed}

/* Linked dashboards retain the current board as their return destination. */
body.shopFloorRowDashboardOpen #analysis-matrix-header,
body.shopFloorRowDashboardOpen #ShopFloor { visibility: hidden !important; pointer-events: none; }
body.shopFloorRowDashboardOpen #dashboard.shopFloorRowDashboard {
    display: flex !important;
    flex-direction: column;
    inset: 0 0 0 var(--flumen-navigation-width, 4rem) !important;
    width: calc(100vw - var(--flumen-navigation-width, 4rem)) !important;
    height: 100dvh !important;
    overflow: hidden;
    background: #f3f6fa !important;
    color: #102b4e;
    font-size: 1rem;
}
.shopFloorRowDashboardHeader {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid #dbe5ee;
    background: #fff;
}
.shopFloorRowDashboardHeader strong { font-size: 1.2rem; }
.shopFloorRowDashboardHeader button {
    border: 1px solid #a8c9d7;
    border-radius: .65rem;
    padding: .6rem .85rem;
    background: #edf7fa;
    color: #153d53;
    font: inherit;
    cursor: pointer;
}
#dashboard.shopFloorRowDashboard #dashboard_ContentHolder {
    display: flex !important;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    flex-direction: column;
}
#dashboard.shopFloorRowDashboard #dashboard_header {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    flex-wrap: wrap;
    min-height: 3rem;
    height: auto;
    width: auto;
    padding: .6rem 1.2rem;
    background: #fff;
}
#dashboard.shopFloorRowDashboard #dashboardFunctionIcons { margin: 0 0 0 auto !important; gap: .65rem; }
#dashboard.shopFloorRowDashboard #dashboard_Holder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    flex: 1 1 auto;
    box-sizing: border-box;
    gap: 1.2rem;
    min-height: 0;
    max-height: none;
    width: 100%;
    height: auto;
    padding: 1.2rem;
    overflow: auto;
    background: #f3f6fa;
}
#dashboard.shopFloorRowDashboard .dashboard_Chart {
    box-sizing: border-box;
    float: none;
    min-width: 0;
    width: 100% !important;
    height: 28rem !important;
    margin: 0;
    padding: 1rem;
    border: 1px solid #dce6ef;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 .25rem .8rem rgba(13, 40, 72, .04);
}
#dashboard.shopFloorRowDashboard .dashboardCellHeader { font-size: .8rem; max-height: none; }
@media (max-width: 1100px) {
    #dashboard.shopFloorRowDashboard #dashboard_Holder { grid-template-columns: minmax(0, 1fr); }
}

#dashboard.shopFloorRowDashboard .dashboard_Chart.shopFloorDashboardMaximized {
    grid-column: 1 / -1;
    height: max(28rem, calc(100dvh - 12rem)) !important;
}

#dashboard.shopFloorRowDashboard .dashboardCellCanvasHolder {
    position: relative;
    height: calc(100% - 3rem);
    min-height: 0;
    margin-top: .75rem;
}
#dashboard.shopFloorRowDashboard .dashboard_ChartCanvas {
    position: relative;
    box-sizing: border-box;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
}
#dashboard.shopFloorRowDashboard .dashboardHeaderButton,
#dashboard.shopFloorRowDashboard .dashboardCellHeaderButton {
    font-size: 1rem;
    line-height: 1.5rem !important;
}
#dashboard.shopFloorRowDashboard #dashboard_header-text { padding-left: 0; margin: 0; }
#dashboard.shopFloorRowDashboard #dashboard_header-dynamicButtons { flex-wrap: wrap; }

/* Keep chart controls, metadata and plot in separate flow rows. */
#dashboard.shopFloorRowDashboard .dashboard_Chart {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
    gap: .4rem;
}
#dashboard.shopFloorRowDashboard .dashboardCellHeader {
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    width: 100%;
    height: auto;
    min-height: 1.5rem;
    float: none;
}
#dashboard.shopFloorRowDashboard .dashboardCellHeader > [id^="dashboardCellTimeFrame_"] { flex-basis: 100%; text-align: right; }
#dashboard.shopFloorRowDashboard .dashboardCellHeaderLeft { grid-row: 2; float: none; height: auto; width: auto; margin: 0; }
#dashboard.shopFloorRowDashboard .dashboardCellHeaderLeft:empty { display: none; }
#dashboard.shopFloorRowDashboard .dashboardCellStats { grid-row: 3; justify-self: end; float: none; max-height: none; }
#dashboard.shopFloorRowDashboard .dashboardSpecificHeaderDiv {
    grid-row: 4;
    position: static;
    margin: 0 !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
#dashboard.shopFloorRowDashboard .dashboardCellCanvasHolder { grid-row: 5; height: 100%; margin: 0; }
#dashboard.shopFloorRowDashboard .toggleAllLDashboardLines { grid-row: 6; position: static; margin: 0; }
#dashboard.shopFloorRowDashboard .flumen-dashboard-alert-summary { grid-column: 1 / -1; }

#dashboard.shopFloorRowDashboard .flumen-dashboard-table-view {
    grid-row: 5;
    min-height: 0;
    height: 100% !important;
    margin: 0 !important;
}

.shopFloorRowDashboardHeaderCopy { min-width: 0; text-align: left; }
.shopFloorRowDashboardContext { margin-top: .3rem; font-size: .85rem; line-height: 1.4; color: #526b82; overflow-wrap: anywhere; }
.shopFloorRowDashboardHeader button { flex-shrink: 0; }

#dashboard.shopFloorRowDashboard .shopFloorDashboardStatus { grid-column: 1 / -1; padding: 1.25rem; border: 1px solid #dce6ef; border-radius: .75rem; background: #fff; color: #173d59; }

/* A linked Shopfloor dashboard inherits its object and period from the board. */
#dashboard.shopFloorRowDashboard #dashboard-header-nav,
#dashboard.shopFloorRowDashboard #dashboard_header-dynamicButtons,
#dashboard.shopFloorRowDashboard #dashboardGlobalSettingsIconMQTT { display: none !important; }
#dashboard.shopFloorRowDashboard #dashboardGlobalSettingsIcon { display: inline-block !important; }
#dashboard .dashboardHeaderAddButton[hidden] { display: none !important; }

#ShopFloor #cockpitOnePageContentContentTable_ShopFloor td.cockpitExternalEinstellung > div:focus-visible { outline: 2px solid #087f91; outline-offset: 1px; background: #edf7fb; }

/* InteractiveTable appends the image menu to body, outside the Shopfloor portal. */
body.flumenPortalShopfloor > .context-menu {
    z-index: var(--flumen-layer-dialog, 2147481500);
}

/* Attendance dialogs are body-level siblings of the Shopfloor portal. */
body.flumenPortalShopfloor #interactive-table-settings-modal-container,
body.flumenPortalShopfloor [id^="interactive-table-"][id$="-modal-container"] {
    position: fixed;
    inset: 0;
    z-index: var(--flumen-layer-dialog, 2147481500);
}

body.flumenPortalShopfloor .shopFloorInteractiveTableDialog {
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}
body.flumenPortalShopfloor .shopFloorInteractiveTableDialog > .modal { box-sizing: border-box; }

body.flumenPortalShopfloor .shopFloorForegroundDialog {
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    inset: 0;
    z-index: var(--flumen-layer-dialog, 2147481500);
}

/* Measure editor: bounded dialog with one vertical scroll area. */
#editMassnahmeModal.shopFloorMeasureEditor .modal-dialog {
    box-sizing: border-box; display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: none; height: 100%; margin: 0; padding: 20px;
}
#editMassnahmeModal.shopFloorMeasureEditor .loginWindow {
    box-sizing: border-box; display: flex; flex-direction: column;
    width: min(58rem, 100%); max-width: 100% !important; max-height: calc(100dvh - 40px);
    margin: 0 !important; border: 1px solid #d6e3ef; border-radius: 16px;
    overflow: hidden; background: #f5f8fc; box-shadow: 0 16px 56px #091e3b30;
}
#editMassnahmeModal.shopFloorMeasureEditor .headerBar {
    display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-height: 64px;
    box-sizing: border-box; padding: 12px 18px; color: white; background: linear-gradient(110deg, #081b42, #174b70);
}
#editMassnahmeModal.shopFloorMeasureEditor .headerIcon { font-size: 25px; margin: 0; }
#editMassnahmeModal.shopFloorMeasureEditor .headerInfo { color: white; font-size: 21px; line-height: 1.3; margin: 0; flex: 1; }
#editMassnahmeModal.shopFloorMeasureEditor .headerFunction { font-size: 22px; width: 36px; height: 36px; display: grid; place-items: center; margin: 0; }
#editMassnahmeModal.shopFloorMeasureEditor .modal_Content { padding: 16px; overflow: auto; min-height: 0; box-sizing: border-box; }
#editMassnahmeModal.shopFloorMeasureEditor #editMassnahmeModalContent { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#editMassnahmeModal.shopFloorMeasureEditor #cockpitOnePageFilterContent_ShopFloor_New_Content { height: auto; width: 100%; overflow: visible; margin: 0; }
#editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSection { margin: 0 0 12px; padding: 16px; border: 1px solid #dce6ef; border-radius: 12px; background: white; box-sizing: border-box; }
#editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSectionLabel { font-size: 15px; line-height: 1.4; font-weight: 700; text-decoration: none; color: #143857; padding: 0 0 10px; }
#editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSectionTable { table-layout: fixed; width: 100%; border-spacing: 0 7px; }
#editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSectionTable td { font-size: 14px; line-height: 1.4; padding: 3px 0; vertical-align: top; }
#editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSectionTable td:first-child { width: 31% !important; padding-right: 14px; color: #49647f; }
#editMassnahmeModal.shopFloorMeasureEditor .shopFloorInputFilter { box-sizing: border-box; float: none !important; width: 100%; min-width: 0; max-width: 100%; height: 38px; padding: 8px 10px; border: 1px solid #cbdbea; border-radius: 7px; background: white; color: #14314d; font-family: inherit; font-size: 14px; line-height: 1.4; margin: 0; }
#editMassnahmeModal.shopFloorMeasureEditor .shopFloorInputFilter:disabled { background: #f1f5f9; color: #74879a; }
#editMassnahmeModal.shopFloorMeasureEditor textarea.shopFloorInputFilter { height: 112px !important; min-height: 90px; resize: vertical; }
#editMassnahmeModal.shopFloorMeasureEditor input[type=checkbox] { width: 20px; height: 20px; padding: 0; }
#editMassnahmeModal.shopFloorMeasureEditor .InputShopFloorButtonDiv { position: sticky; bottom: 0; display: flex; justify-content: flex-end; box-sizing: border-box; float: none; flex: 0 0 auto; width: 100%; min-width: 0; margin: 0; padding: 12px 0 0; background: #f5f8fc; }
#editMassnahmeModal.shopFloorMeasureEditor .InputShopFloorButton { box-sizing: border-box; flex: 0 0 auto; width: auto; min-width: 130px; height: 40px; margin: 0; padding: 0 22px; border-radius: 8px; line-height: 40px; font-size: 14px; color: white; background: #087f91; cursor: pointer; }
#editMassnahmeModal.shopFloorMeasureEditor .InputShopFloorButton[aria-busy=true] { opacity: .6; pointer-events: none; }
@media (max-width: 600px) {
    #editMassnahmeModal.shopFloorMeasureEditor .modal-dialog { padding: 8px; }
    #editMassnahmeModal.shopFloorMeasureEditor .loginWindow { max-height: calc(100dvh - 16px); }
    #editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSectionTable td { display: block; width: 100% !important; }
    #editMassnahmeModal.shopFloorMeasureEditor .cockpitOnePageFilterContentShopFloorNewContentSectionTable td:first-child { width: 100% !important; padding-right: 0; }
}

#ShopFloor #cockpitOnePageFilterContent_ShopFloor_NewFilter_Head {
    background: #0b1941;
    padding: 12px 18px;
    min-height: 44px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
#ShopFloor #cockpitOnePageFilterContent_ShopFloor_NewFilter_Head .cockpitOnePageContentHeaderTitle {
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers { position: relative; vertical-align: top; }
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers > input { float: none !important; display: block; box-sizing: border-box; width: 100%; margin: 0; }
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers > .simpleDropdown { position: relative !important; display: block; float: none; left: auto !important; top: auto !important; width: 100% !important; max-width: 100%; margin: 4px 0 0 !important; box-sizing: border-box; font-size: 14px; }
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers > .sidePanel_ContentInput_ChoosenContent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; padding: 0; height: auto; min-height: 0; }
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers .sidePanel_ContentInput_ChoosenContent_Entry { display: inline-flex; align-items: center; gap: 8px; float: none; width: auto; height: auto; min-height: 28px; box-sizing: border-box; margin: 0; padding: 4px 10px; border-radius: 7px; font-size: 14px; line-height: 20px; }
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers .sidePanel_ContentInput_ChoosenContent_EntryLabel { float: none; margin: 0; padding: 0; font-size: inherit; line-height: inherit; }
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) .shopFloorShareUsers .singleEntryRemove { position: static; float: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 0; padding: 0; font-size: 14px; line-height: 20px; }

/* New actions use the portal's available height and its existing outer scroll area. */
#ShopFloor #cockpitOnePageFilterContent_ShopFloor_New_Content {
    height: auto;
    max-height: none;
    overflow: visible;
}

:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) #cockpitOnePageFilterContent_ShopFloor_New_Content .shopFloorInputFilter {
    float: none !important;
    display: block;
}
:is(#ShopFloor, #editMassnahmeModal.shopFloorMeasureEditor) #cockpitOnePageFilterContent_ShopFloor_New_Content .shopFloorInputFilter + .simpleDropdown {
    display: block;
    position: relative !important;
    float: none;
    left: auto !important;
    top: auto !important;
    width: min(100%, 26vw) !important;
    max-width: 100%;
    margin: 4px 0 0 !important;
    box-sizing: border-box;
    font-size: 14px;
}
#editMassnahmeModal.shopFloorMeasureEditor #cockpitOnePageFilterContent_ShopFloor_New_Content .shopFloorInputFilter + .simpleDropdown,
#ShopFloor #cockpitOnePageFilterContent_ShopFloor_New_Content .shopFloorShareUsers .shopFloorInputFilter + .simpleDropdown {
    width: 100% !important;
}

#ShopFloor #shopFloorContentContentDiv_MANAH:has(> #cockpitOnePageFilterContent_ShopFloor_New_Content) {
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 0;
    display: block !important;
    box-sizing: border-box;
}
#ShopFloor #shopFloorContentContentDiv_MANAH > #cockpitOnePageFilterContent_ShopFloor_New_Content {
    flex: none;
    min-height: min-content;
}
#ShopFloor #shopFloorContentContentDiv_MANAH > #cockpitOnePageContentButton_ShopFloor_New {
    float: none;
    margin-left: auto;
    padding-bottom: 16px;
}

#ShopFloor .shopfloorTableGrid td.shopfloorTableImageDropTarget {
    outline: 2px dashed #1597c4;
    outline-offset: -3px;
    background: #e7f5fb;
}

body.flumenPortalShopfloor #flumenNavigatorOpen {
    display: none !important;
}

#ShopFloor .shopfloorTableGrid td.gridjs-td {
    padding: 0;
    height: 1px;
    vertical-align: top;
}
#ShopFloor .shopfloorTableGrid .editable-cell {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 48px;
    padding: .8rem .9rem;
    border-radius: 0;
    outline: none;
    overflow-wrap: anywhere;
}
#ShopFloor .shopfloorTableGrid .editable-cell:focus {
    box-shadow: inset 0 0 0 2px rgba(24,164,215,.45);
}

#ShopFloor .shopfloorTableGrid img.shopfloorTableSelectedImage {
    outline: 2px solid #1597c4;
    outline-offset: 2px;
}


/* Restored dashboard controls and loaded-data information. */
.dashboardGlobalSettingsDataInfoButton {
    cursor: pointer;
    margin-left: 8px;
    color: #19d7ff;
}

.dashboardGlobalSettingsDataInfoButton:hover {
    color: #0ea5e9;
}

.shopFloorDashboardDataInfoSummary {
    display: grid;
    gap: 10px;
    color: #243047;
    margin: 0 0 14px;
}

.shopFloorDashboardDataInfoStatus {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    padding: 8px 12px;
    width: fit-content;
}

.shopFloorDashboardDataInfoStatus_success {
    background: rgba(21, 128, 61, .08);
    color: #15803d;
}

.shopFloorDashboardDataInfoStatus_danger {
    background: rgba(220, 38, 38, .08);
    color: #b91c1c;
}

.shopFloorDashboardDataInfoGrid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shopFloorDashboardDataInfoGrid > div {
    background: #f6f9fc;
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.shopFloorDashboardDataInfoGrid > div span {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.shopFloorDashboardDataInfoGrid > div strong {
    color: #172033;
    font-size: 13px;
}

.shopFloorDashboardDataInfoSummary strong {
    color: #172033;
}

.shopFloorDashboardDataInfoPre {
    background: #f6f9fc;
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    color: #1f2b3f;
    font-size: 12px;
    max-height: 52vh;
    overflow: auto;
    padding: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}


#shopFloorContentContentDiv_KPILT_Header .shopFloorGsetting {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorDashboardHeaderAction {
    align-items: center;
    appearance: none;
    background: rgba(169,222,242,.08);
    border: 1px solid rgba(169,222,242,.22);
    border-radius: 8px;
    color: #a9def2;
    cursor: pointer;
    display: flex;
    font-size: 20px !important;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: color .15s ease, transform .15s ease;
    width: 36px;
}

#shopFloorContentContentDiv_KPILT_Header .shopFloorDashboardHeaderAction:hover {
    border-color: rgba(25,215,255,.55);
    color: #e61f68;
    transform: translateY(-1px);
}

.shopFloorDashboardDataInfoDialog {
    background: #fff;
    border: 1px solid #c9d9e8;
    border-radius: 16px;
    color: #172033;
    max-height: calc(100dvh - 3rem);
    overflow: auto;
    padding: 22px;
    width: min(760px, calc(100vw - 3rem));
}
.shopFloorDashboardDataInfoDialog::backdrop { background: rgba(2, 11, 50, .45); }
.shopFloorDashboardDataInfoHeader { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.shopFloorDashboardDataInfoHeader h2 { font-size: 18px; margin: 0; overflow-wrap: anywhere; }
.shopFloorDashboardDataInfoHeader button { flex: 0 0 auto; }

/* Flex layout belongs to the content frame; the window must honor display:none on close. */
#dashboardSettingsHolder.shopFloorDashboardSettingsWindow > .contentFrame > .headerBar {
    flex: 0 0 auto;
}
#dashboardSettingsHolder.shopFloorDashboardSettingsWindow > .contentFrame > .modal_Content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    box-sizing: border-box;
}

#dashboardSettingsHolder.shopFloorDashboardSettingsWindow > .contentFrame { display: flex; flex-direction: column; height: 100%; min-height: 0; }

.dashboardGlobalSettingsDataInfoButton { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; vertical-align: middle; }

/* Shared flow rows override legacy absolute-positioned KPI layers. */
#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder.flumenDashboardChartGrid .dashboardSpecificHeaderDiv { position: static; max-width: none; }
#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder.flumenDashboardChartGrid .dashboardCellCanvasHolder { position: relative; inset: auto; height: 100%; width: 100%; margin: 0; }
#ShopFloorContentContent.shopFloorKpiActive #shopFloorContentContentDiv_KPILT_Holder.flumenDashboardChartGrid .dashboard_ChartCanvas { padding: 0; }

#ShopFloorContentHead .shopFloorUserTab:has(.shopFloorUserTabShare) { padding-right: 50px; }
.shopFloorUserTabShare {
    position: absolute; right: 27px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; padding: 0; border: 0; background: transparent;
    color: #8b98ad; font-size: 12px; cursor: pointer;
}
.shopFloorUserTabShare:hover, .shopFloorUserTabShare:focus-visible { color: #1597c4; }
.shopFloorUserTabShareValue { overflow-wrap: anywhere; white-space: normal; }
.shopFloorUserTabShareError { color: #b71942; font-size: 13px; }

/* Async legacy renderers may call show(); only the selected panel is visible. */
#ShopFloorContentContent > .shopFloorContentContentDiv:not(.shopFloorContentContentDivActive) {
    display: none !important;
}

/* Readable tab actions with comfortable, separate pointer targets. */
#ShopFloorContentHead .shopFloorUserTab:has(.shopFloorUserTabShare) {
    padding-right: 68px;
}
#ShopFloorContentHead .shopFloorUserTabShare,
#ShopFloorContentHead .shopFloorUserTabRemove {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 16px;
    color: #536b85;
    border-radius: 6px;
}
#ShopFloorContentHead .shopFloorUserTabShare { right: 34px; }
#ShopFloorContentHead .shopFloorUserTabRemove { right: 3px; }
#ShopFloorContentHead .shopFloorUserTabShare:hover,
#ShopFloorContentHead .shopFloorUserTabShare:focus-visible {
    color: #087b9d;
    background: #e5f4f8;
}
#ShopFloorContentHead .shopFloorUserTabRemove:hover,
#ShopFloorContentHead .shopFloorUserTabRemove:focus-visible {
    color: #c21755;
    background: #fce7ef;
}

/* Shopfloor review: one themed shell and readable, aligned actions. */
body.flumenPortalShopfloor #analysis-matrix-header {
    border-bottom-color: var(--shopfloor-theme-color);
    background: linear-gradient(100deg, color-mix(in srgb, var(--shopfloor-theme-color) 18%, white), white);
}
.shopFloorSharingExplanation { color:#536079; font-size:13px; line-height:1.5; margin:10px 0; text-align:left; }
#shopFloorContentContentDiv_MANAH .cockpitOnePageSideContent { display:flex; flex-direction:column; min-height:100%; }
#shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend { margin-top:auto; padding-top:12px; flex:0 0 auto; }
#shopFloorContentContentDiv_MANAH .shopFloorMeasuresQuickFilter { flex:1; min-width:180px; }
#shopFloorContentContentDiv_MANAH .shopFloorMeasuresQuickFilter input { width:100%; box-sizing:border-box; }
body.flumenPortalShopfloor .ui-tooltip { max-width:min(560px, calc(100vw - 32px)); max-height:65vh; overflow:auto; z-index:121100; font-size:14px; }

#shopFloorChartExplanation { box-sizing:border-box; max-width:min(680px, calc(100vw - 32px)); max-height:85dvh; overflow:auto; border:1px solid #cbd9e7; border-radius:12px; padding:24px; color:#243956; font-size:14px; line-height:1.5; }
#shopFloorChartExplanation::backdrop { background:rgba(2,11,50,.35); }
#shopFloorChartExplanation button { padding:9px 12px; margin:8px 8px 0 0; border:1px solid #cbd9e7; border-radius:7px; cursor:pointer; }
.shopFloorChartDetails { border:0; background:transparent; padding:0; }

/* Keep labels readable while the tab strip stays on one compact row. */
#ShopFloorContentHead {
    display:flex !important;
    flex-wrap:nowrap;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:thin;
    padding:3px 0 7px;
}
#ShopFloorContentHead::-webkit-scrollbar { display:block; height:5px; }
#ShopFloorContentHead .shopFloorContentHeadElement { flex:0 0 auto; min-width:105px; max-width:230px; }
#ShopFloorContentHead .shopFloorContentHeadElement.shopFloorUserTab { min-width:180px; }
#ShopFloorContentHead .shopFloorUserTab .shopFloorContentHeadElementLabel { min-width:65px; text-align:left; }
#ShopFloorAddTabButton { flex:0 0 50px; }
body.flumenPortalShopfloor #analysis-matrix-header {
    background:linear-gradient(100deg, color-mix(in srgb, var(--shopfloor-theme-color) 18%, white), white) !important;
}
body.flumenPortalShopfloor #ShopFloorContentHead .activeElement {
    border-color:var(--shopfloor-theme-color);
    box-shadow:inset 0 -3px 0 var(--shopfloor-theme-color);
}
body.flumenPortalShopfloor #ShopFloorContentHead .activeElement .shopFloorContentHeadElementLabel,
body.flumenPortalShopfloor #ShopFloorContentHead .activeElement .shopFloorContentHeadElementIcon { color:var(--shopfloor-theme-color) !important; }
body.flumenPortalShopfloor #ShopFloorHeadContentPlace > [class^="icon-"] {
    display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px;
    min-width:32px; font-size:18px; margin:0 2px; cursor:pointer;
}

#ShopFloor #shopFloorContentContentDiv_MANAH.shopFloorContentContentDivActive { display:flex !important; flex-direction:column; min-height:0; }
#shopFloorContentContentDiv_MANAH > .cockpitOnePageContentPreHolder { display:flex; flex-direction:column; flex:1 1 auto; height:auto !important; min-height:0; margin:0; }
#shopFloorContentContentDiv_MANAH .cockpitOnePageContentList { display:flex; flex-direction:column; flex:1 1 auto; height:auto !important; min-height:0; margin:0; }
#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageSideContent { flex:1 1 auto; height:auto !important; min-height:0; }
#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend { margin-top:auto; }
#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend,
#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend > div,
#ShopFloor #shopFloorContentContentDiv_MANAH .cockpitOnePageContentLegend span { font-size:clamp(11px, .9vmin, 14px); line-height:1.4; }

#shopFloorChartExplanation .shopFloorChartSourcesTable{max-width:100%;max-height:55dvh;overflow:auto}#shopFloorChartExplanation .shopFloorChartSourcesTable table{border-collapse:collapse;width:max-content;min-width:100%}#shopFloorChartExplanation .shopFloorChartSourcesTable th,#shopFloorChartExplanation .shopFloorChartSourcesTable td{padding:.45rem .6rem;text-align:left;border-bottom:1px solid #ccd4e0;white-space:nowrap}

/* Attendance uses the workspace instead of the legacy centered 95% panel. */
#ShopFloorContentContent:has(> #shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(4px, .5vmin, 8px);
}
#shopFloorContentContentDiv_ANWEN.shopFloorAttendanceBoard {
    width: 100% !important;
    margin: 0;
    max-height: none;
    min-height: 0;
    padding: clamp(4px, .5vmin, 8px);
}
#shopFloorContentContentDiv_ANWEN.shopFloorAttendanceBoard.shopFloorContentContentDivActive {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
}
#shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive > .interactive-table-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}
#shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive > .interactive-table-container > .table-controls,
#shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive > .interactive-table-container > .int-cont-footer {
    flex: 0 0 auto;
}
#shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive > .interactive-table-container > .int-cont-holder {
    flex: 1 1 auto;
    min-height: 0;
}
#shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive > .interactive-table-container > .int-cont-holder > .table-wrapper {
    flex: 1 1 auto;
    height: auto;
    min-width: 0;
    min-height: 0;
}
#shopFloorContentContentDiv_ANWEN.shopFloorContentContentDivActive > .interactive-table-container > .int-cont-holder > .image-panel {
    overflow: auto;
}

.shopfloor-safety-description { min-width:0; width:100%; box-sizing:border-box; }
.shopfloor-safety-description-toolbar { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.shopfloor-safety-description-toolbar.is-image-drop-target { background:#e5f4f8; outline:2px dashed #1597c4; outline-offset:2px; border-radius:6px; }
.shopfloor-safety-description-toolbar button { border:1px solid #cbd9e7; border-radius:6px; background:#fff; color:#243956; cursor:pointer; padding:8px 12px; font:inherit; }
.shopfloor-safety-description-toolbar button:disabled { opacity:.55; cursor:default; }
.shopfloor-safety-description-editor { min-height:180px; max-height:55vh; overflow:auto; border:1px solid #cbd9e7; border-radius:7px; padding:10px; background:#fff; color:#243956; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.5; box-sizing:border-box; }
.shopfloor-safety-description-editor:focus { outline:2px solid #1597c4; outline-offset:1px; }
.shopfloor-safety-description-image { display:inline-block; position:relative; max-width:100%; vertical-align:middle; margin:6px 0; }
.shopfloor-safety-description-image img { display:block; max-width:100%; max-height:420px; object-fit:contain; border-radius:5px; }
.shopfloor-safety-description-image button { position:absolute; top:4px; right:4px; width:28px; height:28px; border:1px solid #cbd9e7; border-radius:50%; background:#fff; color:#c01466; cursor:pointer; font:20px Arial; }
.shopfloor-safety-description-status { min-height:1.5em; padding-top:6px; color:#536b85; font-size:12px; }
.shopfloor-safety-description-status.is-error { color:#b71942; }

/* Persisted day notes remain visible independently of hover/status colour. */
.shopFloorCrossDayNote {
    position:absolute; top:3px; left:3px; display:flex; align-items:center;
    justify-content:center; width:17px; height:17px; padding:0; border:0;
    border-radius:4px; background:rgba(255,255,255,.94); color:#0b1b48;
    font-size:10px; cursor:pointer; box-shadow:0 1px 3px rgba(2,13,55,.15);
}
.shopFloorCrossDayNote:focus-visible { outline:2px solid #1597c4; outline-offset:2px; }

/* Weekly text/image editors keep their weekday card and native resize handle. */
.shopfloorTopicsRichText { padding:8px; }
.shopfloorTopicsRichText .shopfloor-safety-description-toolbar { gap:5px; }
.shopfloorTopicsRichText .shopfloor-safety-description-toolbar button { font-size:12px; padding:6px 8px; }
.shopfloorTopicsRichText .shopfloor-safety-description-editor { min-height:8rem; max-height:none; height:clamp(122px,18vh,210px); resize:vertical; background:#fbfdff; }
.shopfloorTopicsRichText .shopfloor-safety-description-editor:empty::before { content:attr(data-placeholder); color:#9ba6ba; pointer-events:none; }
.shopfloorTopicsRichText .shopfloor-safety-description-image img { max-height:300px; }

/* Three compact lines share the existing measure column; native titles show full text. */
.shopFloorMeasureSummaryLine { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; line-height:1.5; }
.shopFloorMeasureSummaryLine:first-child { font-weight:600; }
.shopfloorMeasureRichText { font-size:14px; width:100%; min-width:0; }
.shopfloorMeasureRichText .shopfloor-safety-description-editor { min-height:112px; max-height:45vh; resize:vertical; }
.shopfloorMeasureRichText .shopfloor-safety-description-editor:empty::before { content:attr(data-placeholder); color:#9ba6ba; pointer-events:none; }
.shopfloorMeasureRichText .shopfloor-safety-description-image img { max-height:260px; }

#mqttLogTitleDiv { cursor: move; touch-action: none; user-select: none; }
