/* Match the refreshed SaaS desktop brand while preserving the mobile workflow handlers. */
body.mobile_oem_1,
.mobile_oem_1 .ui-page
        {
        background:#f7f8fa url('../images/background_saas.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_1 .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_1 .ui-page-active
        {
        display:flex;
        flex-direction:column;
        }
/* Keep both bars in the viewport layout instead of overlaying the scrolling workflows. */
.mobile_oem_1 .ui-page > .ui-header,
.mobile_oem_1 .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_1 .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_1 .mobile_brand_header
        {
        /* Match the stacked mobile header used by OEM 2. */
        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_1 .mobile_brand_header::after
        {
        content:"";
        position:absolute;
        right:0;
        bottom:0;
        left:0;
        height:3px;
        background:linear-gradient(to right, #eb6a07, #f7931e 80%, rgba(247,147,30,0));
        }
.mobile_oem_1 .mobile_brand_logo
        {
        position:absolute;
        /* Center the CMI logo above the SaaS title. */
        top:12px;
        left:50%;
        width:120px;
        height:30px;
        object-fit:contain;
        transform:translateX(-50%);
        }
.mobile_oem_1 .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_1 .mobile_brand_title span:first-child
        {
        color:#f7931e;
        }
.mobile_oem_1 .ui-content
        {
        max-width:760px;
        margin:0 auto;
        padding:18px 14px;
        }
.mobile_oem_1 .ui-content > .ui-listview
        {
        margin:0;
        }
.mobile_oem_1 .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_1 #load_workflows > li
        {
        background:#efefef;
        }
.mobile_oem_1 .printer_name
        {
        font-size:0.875rem;
        font-weight:bold;
        overflow-wrap:anywhere;
        }
.mobile_oem_1 .check_automated_worflow_result
        {
        font-size:1rem;
        line-height:1.4;
        }
.mobile_oem_1 .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_1 .ui-btn
        {
        border-color:#c4cad2;
        background:#f4f5f7;
        color:#30363d;
        text-shadow:none;
        box-shadow:none;
        }
.mobile_oem_1 .ui-content .ui-btn
        {
        border-radius:6px;
        }
.mobile_oem_1 .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_1 .ui-btn:hover
        {
        background:#e9edf1;
        }
.mobile_oem_1 .ui-btn.ui-btn-active,
.mobile_oem_1 .ui-btn.login
        {
        border-color:#d7730a;
        background:#eb6a07;
        color:#ffffff;
        }
.mobile_oem_1 .ui-btn:focus,
.mobile_oem_1 .ui-input-text.ui-focus
        {
        box-shadow:0 0 0 3px rgba(247,147,30,0.35);
        }
.mobile_oem_1 .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_1 .mobile_brand_logo
                {
                left:50%;
                width:120px;
                }
        .mobile_oem_1 .mobile_brand_title
                {
                margin-left:8px;
                font-size:1rem;
                }
        .mobile_oem_1 .ui-content
                {
                padding-right:10px;
                padding-left:10px;
                }
        }
/* Center the login video within its card and retain its proportions on narrow screens. */
.mobile_oem_1 #initiation #info_image > iframe.youtube
        {
        display:block;
        margin-left:auto;
        margin-right:auto;
        max-width:100%;
        height:auto;
        aspect-ratio:16 / 9;
        }
/* Give the OEM 1 company introduction and contact details a consistent mobile reading layout. */
.mobile_oem_1 #Info .ui-content > .ui-listview > li
        {
        padding:22px;
        }
.mobile_oem_1 #Info .mobile_company_info
        {
        max-width:65ch;
        margin:0 auto;
        color:#444b54;
        font-size:1rem;
        line-height:1.65;
        overflow-wrap:anywhere;
        }
.mobile_oem_1 #Info .mobile_company_title
        {
        margin:0 0 18px;
        color:#eb6a07;
        font-size:1.25rem;
        line-height:1.3;
        }
.mobile_oem_1 #Info .mobile_company_info p
        {
        margin:0 0 16px;
        font-size:inherit;
        line-height:inherit;
        }
.mobile_oem_1 #Info .mobile_company_info font,
.mobile_oem_1 #Info .mobile_company_info table,
.mobile_oem_1 #Info .mobile_company_info td
        {
        font-size:1rem !important;
        line-height:1.65 !important;
        }
.mobile_oem_1 #Info .mobile_company_info table
        {
        width:100% !important;
        margin:20px 0 0;
        padding-top:14px;
        border-top:1px solid #d9dee6;
        table-layout:fixed;
        }
.mobile_oem_1 #Info .mobile_company_info td
        {
        padding:4px 0;
        vertical-align:top;
        }
.mobile_oem_1 #Info .mobile_company_info td:first-child
        {
        width:62px;
        color:#69717c;
        }
.mobile_oem_1 #Info .mobile_company_info a
        {
        color:#b95105;
        text-decoration:none;
        }
.mobile_oem_1 #Info .mobile_company_info a:hover
        {
        text-decoration:underline;
        }
/* Center the company text and keep the smaller contact details together in the middle. */
.mobile_oem_1 #Info .mobile_company_info,
.mobile_oem_1 #Info .mobile_company_info p
        {
        text-align:center !important;
        }
.mobile_oem_1 #Info .mobile_company_info table
        {
        width:auto !important;
        max-width:100%;
        margin:20px auto 0;
        table-layout:auto;
        }
/* Override legacy font sizes inside email, website and telephone rows. */
.mobile_oem_1 #Info .mobile_company_info table,
.mobile_oem_1 #Info .mobile_company_info table *
        {
        font-size:0.875rem !important;
        line-height:1.5 !important;
        }
.mobile_oem_1 #Info .mobile_company_info td
        {
        text-align:left;
        }
.mobile_oem_1 #Info .mobile_company_info td:first-child
        {
        width:auto;
        padding-right:12px;
        }
/* Keep contact rows compact and align each label with the first line of its value. */
.mobile_oem_1 #Info .mobile_company_info table
        {
        border-spacing:0;
        }
.mobile_oem_1 #Info .mobile_company_info table tr,
.mobile_oem_1 #Info .mobile_company_info table td
        {
        height:auto !important;
        }
.mobile_oem_1 #Info .mobile_company_info table td
        {
        padding:2px 0 !important;
        vertical-align:top;
        }
.mobile_oem_1 #Info .mobile_company_info table p
        {
        margin:0 !important;
        text-align:left !important;
        }
.mobile_oem_1 #Info .mobile_company_info table td:first-child
        {
        padding-right:10px !important;
        text-align:right;
        white-space:nowrap;
        }
/* Center the OEM 1 News content, including text with legacy inline alignment. */
.mobile_oem_1 #News .ui-content > .ui-listview > li,
.mobile_oem_1 #News .ui-content p,
.mobile_oem_1 #News .ui-content div,
.mobile_oem_1 #News .ui-content h1,
.mobile_oem_1 #News .ui-content h2,
.mobile_oem_1 #News .ui-content h3
        {
        text-align:center !important;
        }
/* Center News images within their card while retaining the existing maximum width. */
.mobile_oem_1 #News .ui-content img
        {
        display:block;
        float:none !important;
        margin-left:auto !important;
        margin-right:auto !important;
        max-width:100%;
        height:auto;
        }
/* Keep News list text aligned with its bullets while the surrounding content stays centered. */
.mobile_oem_1 #News .ui-content > .ui-listview > li ul,
.mobile_oem_1 #News .ui-content > .ui-listview > li ol,
.mobile_oem_1 #News .ui-content > .ui-listview > li ul *,
.mobile_oem_1 #News .ui-content > .ui-listview > li ol *
        {
        text-align:left !important;
        }
