/* Match the refreshed Xeikon desktop brand while preserving the mobile workflow handlers. */
body.mobile_oem_2,
.mobile_oem_2 .ui-page
        {
        background:#f7f8fa url('../images/background_xcc.png') no-repeat center top;
        background-size:cover;
        color:#30363d;
        font-family:Arial, Helvetica, sans-serif;
        text-shadow:none;
        }
/* Keep the background viewport-sized; scroll only the content between the header and footer. */
.mobile_oem_2 .ui-page
        {
        position:fixed;
        top:0;
        right:0;
        bottom:0;
        left:0;
        width:100%;
        height:100vh;
        height:100dvh;
        min-height:0 !important;
        padding:0 !important;
        overflow:hidden;
        box-sizing:border-box;
        }
.mobile_oem_2 .ui-page-active
        {
        display:flex;
        flex-direction:column;
        }
/* Keep both bars in the viewport layout instead of overlaying the scrolling workflows. */
.mobile_oem_2 .ui-page > .ui-header,
.mobile_oem_2 .ui-page > .ui-footer
        {
        position:relative;
        top:auto;
        right:auto;
        bottom:auto;
        left:auto;
        flex:0 0 auto;
        width:100%;
        box-sizing:border-box;
        }
.mobile_oem_2 .ui-page > .ui-content
        {
        flex:1 1 auto;
        min-height:0;
        width:100%;
        box-sizing:border-box;
        overflow-y:auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling:touch;
        }
.mobile_oem_2 .mobile_brand_header
        {
        min-height:92px;
        box-sizing:border-box;
        border:0;
        /* Show the same stationary page background through the header. */
        background:transparent;
        color:#969696;
        text-shadow:none;
        box-shadow:0 2px 8px rgba(24,36,52,0.08);
        }
.mobile_oem_2 .mobile_brand_header::after
        {
        content:"";
        position:absolute;
        right:0;
        bottom:0;
        left:0;
        height:3px;
        background:linear-gradient(to right, #d00000, #d00000 80%, rgba(208,0,0,0));
        }
.mobile_oem_2 .mobile_brand_logo
        {
        position:absolute;
        top:12px;
        left:50%;
        width:120px;
        height:30px;
        object-fit:contain;
        transform:translateX(-50%);
        }
.mobile_oem_2 .mobile_brand_title
        {
        margin:0 8px;
        padding:54px 0 14px;
        font-size:clamp(1rem, 4.5vw, 1.5rem);
        line-height:24px;
        overflow:visible;
        text-overflow:clip;
        white-space:nowrap;
        }
.mobile_oem_2 .mobile_brand_title span:first-child
        {
        color:#000000;
        }
.mobile_oem_2 .ui-content
        {
        max-width:760px;
        margin:0 auto;
        padding:18px 14px;
        }
.mobile_oem_2 .ui-content > .ui-listview
        {
        margin:0;
        }
.mobile_oem_2 .ui-content > .ui-listview > li
        {
        margin-bottom:12px;
        border:1px solid #c3cad4;
        border-radius:8px;
        background:#ffffff;
        color:#30363d;
        text-shadow:none;
        box-shadow:0 2px 5px rgba(24,36,52,0.16);
        }
/* Retain the existing heights and positioning used by live status and queue controls. */
.mobile_oem_2 #load_workflows > li
        {
        background:#efefef;
        }
.mobile_oem_2 .printer_name
        {
        font-size:0.875rem;
        font-weight:bold;
        overflow-wrap:anywhere;
        }
.mobile_oem_2 .check_automated_worflow_result
        {
        font-size:1rem;
        line-height:1.4;
        }
.mobile_oem_2 .ui-footer
        {
        border-color:#d9dee6;
        background:#ffffff;
        color:#30363d;
        text-shadow:none;
        box-shadow:0 -2px 8px rgba(24,36,52,0.08);
        padding-bottom:env(safe-area-inset-bottom, 0px);
        }
.mobile_oem_2 .ui-btn
        {
        border-color:#c4cad2;
        background:#f4f5f7;
        color:#30363d;
        text-shadow:none;
        box-shadow:none;
        }
.mobile_oem_2 .ui-content .ui-btn
        {
        border-radius:6px;
        }
.mobile_oem_2 .ui-navbar .ui-btn
        {
        min-height:44px;
        box-sizing:border-box;
        display:flex;
        align-items:center;
        justify-content:center;
        padding:10px 6px;
        font-size:0.875rem;
        }
.mobile_oem_2 .ui-btn:hover
        {
        background:#e9edf1;
        }
.mobile_oem_2 .ui-btn.ui-btn-active,
.mobile_oem_2 .ui-btn.login
        {
        border-color:#ad0000;
        background:#c90000;
        color:#ffffff;
        }
.mobile_oem_2 .ui-btn:focus,
.mobile_oem_2 .ui-input-text.ui-focus
        {
        box-shadow:0 0 0 3px rgba(208,0,0,0.25);
        }
.mobile_oem_2 .ui-input-text
        {
        border:1px solid #c4cad2;
        border-radius:6px;
        background:#ffffff;
        color:#30363d;
        text-shadow:none;
        box-shadow:inset 0 1px 2px rgba(24,36,52,0.06);
        }
/* Keep status rings and inline error colors intact so workflow states remain recognizable. */
@media (max-width:360px)
        {
        .mobile_oem_2 .mobile_brand_logo
                {
                left:50%;
                width:120px;
                }
        .mobile_oem_2 .mobile_brand_title
                {
                margin-left:8px;
                font-size:1rem;
                }
        .mobile_oem_2 .ui-content
                {
                padding-right:10px;
                padding-left:10px;
                }
        }
/* Center the login video within its card and retain its proportions on narrow screens. */
.mobile_oem_2 #initiation #info_image > iframe.youtube
        {
        display:block;
        margin-left:auto;
        margin-right:auto;
        max-width:100%;
        height:auto;
        aspect-ratio:16 / 9;
        }
/* Center the OEM 2 slogan above the login video without changing other page headings. */
.mobile_oem_2 #initiation #info_image > .mobile_video_title
        {
        margin:0 0 16px;
        color:#575757;
        font-size:1.125rem;
        line-height:1.4;
        text-align:center;
        white-space:normal;
        }
/* Match the centered mobile Info layout while retaining the Xeikon product text and image. */
.mobile_oem_2 #Info .ui-content > .ui-listview > li
        {
        padding:22px;
        text-align:center;
        }
.mobile_oem_2 #Info .mobile_product_info
        {
        max-width:65ch;
        margin:0 auto;
        color:#444b54;
        font-size:1rem;
        line-height:1.65;
        overflow-wrap:anywhere;
        text-align:center;
        }
.mobile_oem_2 #Info .mobile_product_info p
        {
        margin:0 0 16px;
        font-size:inherit;
        line-height:inherit;
        text-align:center !important;
        }
.mobile_oem_2 #Info .mobile_product_title
        {
        margin:0 0 18px;
        color:#c90000;
        font-size:1.25rem;
        line-height:1.3;
        }
.mobile_oem_2 #Info .ui-content img
        {
        display:block;
        float:none !important;
        margin:0 auto 18px !important;
        max-width:min(350px, 100%) !important;
        height:auto;
        }
