/* Compact application launcher: shared across light and dark pages. */
/* V3: transparent micro-3D artwork; no extra square behind the object. */
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > * > .rzm-app-icon,
body.rzm-mobile-enabled.rzm-page-home [data-rzm-mobile-shell] .rzm-app-grid > * > .rzm-app-icon {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-icon img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid .is-planned .rzm-app-icon img {
    filter: grayscale(1);
    opacity: .55;
}

body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet {
    --app-ink: #12372c;
    --app-muted: #60796f;
    --app-line: #dce9e3;
    --app-surface: #fff;
    --app-card: #f7fbf9;
    --app-accent: #087958;
    --app-icon: #e0f3eb;
    box-sizing: border-box;
    width: min(880px, calc(100% - 32px));
    max-height: min(88dvh, 680px);
    padding: 0;
    border: 1px solid var(--app-line);
    border-radius: 18px;
    color: var(--app-ink);
    background: var(--app-surface);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--app-line) transparent;
}
body.rzm-mobile-enabled.rzm-page-home [data-rzm-mobile-shell] .rzm-app-sheet {
    --app-ink: var(--home-text, #f5f8ff);
    --app-muted: var(--home-muted, #aebdd0);
    --app-line: var(--home-line-soft, #243c56);
    --app-surface: var(--home-bg-soft, #071229);
    --app-card: var(--home-panel-strong, #0a1930);
    --app-accent: var(--home-mint, #63e6d2);
    --app-icon: var(--home-panel, #102b3e);
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet > header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    margin: 0;
    padding: 8px 14px;
    gap: 10px;
    color: var(--app-ink);
    background: var(--app-surface);
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet header h2 {
    margin: 0;
    color: inherit;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet header button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: var(--app-accent);
    background: var(--app-icon);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 14px;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > * {
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    justify-items: start;
    gap: 3px 9px;
    min-width: 0;
    min-height: 78px;
    padding: 10px;
    border: 1px solid var(--app-line);
    border-radius: 12px;
    color: var(--app-ink);
    background: var(--app-card);
    text-align: left;
    text-decoration: none;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > * > span {
    grid-column: 1;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    color: var(--app-accent);
    background: var(--app-icon);
    font-size: 17px;
    font-weight: 800;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid strong {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    max-width: 100%;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid small {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: var(--app-muted);
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
}
/* Keep the first row below the sticky header when hovered or keyboard-focused. */
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > a:hover,
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > a:focus-visible {
    border-color: var(--app-accent);
    box-shadow: none;
    transform: none;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet :focus-visible {
    outline: 2px solid var(--app-accent);
    outline-offset: -3px;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid .is-planned {
    opacity: 1;
    border-style: dashed;
    color: var(--app-muted);
}

/* 只强调已授权入口；边框向内绘制，避免第一排再次被弹窗边界裁切。 */
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet {
    --app-flow-color: var(--app-accent);
    --app-flow-flare: #80ffe1;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet[data-rzm-highlight="equipment"] {
    --app-flow-color: #9772ee;
    --app-flow-flare: #eee0ff;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-group-note {
    margin: 0 14px 10px;
    padding: 0;
    color: var(--app-muted);
    font-size: 12px;
    line-height: 1.5;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-group-note[hidden] { display: none; }
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > a.is-group-highlighted {
    border-color: var(--app-flow-color);
    box-shadow: inset 0 0 0 1px var(--app-flow-color);
}
@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > a.is-group-highlighted::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(110deg, var(--app-flow-color) 20%, var(--app-flow-flare) 43%, #fff 49%, var(--app-flow-flare) 55%, var(--app-flow-color) 80%);
    background-size: 250% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rzm-app-border-flow 3s linear infinite;
}
}
@keyframes rzm-app-border-flow {
    from { background-position: 150% 0; }
    to { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > a.is-group-highlighted::after { animation: none; }
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming {
    margin: 0 14px;
    padding: 12px 0 14px;
    border-top: 1px solid var(--app-line);
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming h3 {
    margin: 0 0 8px;
    color: var(--app-muted);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming-list span {
    padding: 5px 9px;
    border: 1px dashed var(--app-line);
    border-radius: 7px;
    color: var(--app-muted);
    font-size: 11px;
    line-height: 1.4;
}
@media (min-width: 761px) and (max-width: 1000px) {
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet {
        inset: auto 0 0;
        width: 100%;
        max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
        padding-bottom: env(safe-area-inset-bottom);
        border-radius: 18px 18px 0 0;
        transform: none;
    }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-sheet > header { min-height: 58px; padding: 7px 12px; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0 12px 12px; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > * {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        justify-items: center;
        gap: 5px;
        min-height: 78px;
        padding: 9px 5px;
        text-align: center;
    }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid > * > span { grid-column: 1; grid-row: 1; width: 44px; height: 44px; border-radius: 0; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid strong { grid-column: 1; grid-row: 2; font-size: 13px; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid small { display: none; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-grid .is-planned small { display: block; grid-column: 1; grid-row: 3; font-size: 10px; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming { margin: 0 12px; padding: 10px 0 12px; }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.rzm-mobile-enabled [data-rzm-mobile-shell] .rzm-app-upcoming-list span { padding: 5px 8px; }
}

/*
 * 系统一级导航唯一规范。
 * 本文件由 mobile_shell.php 在页面业务样式之后加载，禁止业务页面再次改写一级导航。
 * 固定名称与顺序：首页 / 工作台 / 大屏 / 应用 / 消息 / 系统。
 */

@media (min-width: 761px) {
    html:root {
        --rzm-desktop-shell-height: 124px !important;
    }

    html body.rzm-mobile-enabled {
        padding-top: var(--rzm-desktop-shell-height) !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-header,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav {
        display: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-header.rzm-workbench-desktop-header {
        position: fixed !important;
        inset: 0 0 auto !important;
        z-index: 905 !important;
        display: block !important;
        height: var(--rzm-desktop-shell-height) !important;
        color: #f4fffb !important;
        border: 0 !important;
        border-bottom: 1px solid #d6e5de !important;
        background: linear-gradient(90deg, #061a2f 0%, #06162a 58%, #071829 100%) !important;
        box-shadow: 0 10px 30px rgba(3, 28, 43, .14) !important;
        backdrop-filter: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-primary {
        width: min(1760px, calc(100% - 40px)) !important;
        height: 76px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand {
        width: 220px !important;
        min-width: 220px !important;
        flex: 0 0 220px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: #fff !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand > span {
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 44px !important;
        border-radius: 13px !important;
        color: #053426 !important;
        background: linear-gradient(145deg, #64e9b4, #a9ff76) !important;
        box-shadow: 0 7px 18px rgba(30, 204, 142, .15) !important;
        font-size: 12px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand strong {
        display: block !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        letter-spacing: .01em !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand small {
        display: block !important;
        margin-top: 4px !important;
        color: #8dbdaf !important;
        font-size: 9px !important;
        font-weight: 750 !important;
        letter-spacing: .06em !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button {
        position: relative !important;
        width: auto !important;
        min-width: 76px !important;
        height: 44px !important;
        min-height: 44px !important;
        flex: 0 1 auto !important;
        padding: 0 10px !important;
        border: 0 !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        color: #b8c8cf !important;
        background: transparent !important;
        box-shadow: none !important;
        font: inherit !important;
        font-size: 14px !important;
        text-decoration: none !important;
        transform: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a::before,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button::before {
        content: attr(data-icon) !important;
        color: #9db5bf !important;
        font-size: 19px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > * > strong {
        position: relative !important;
        display: block !important;
        color: inherit !important;
        font-size: 14px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a:hover,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button:hover,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a:focus-visible,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button:focus-visible {
        color: #effff9 !important;
        background: rgba(18, 104, 79, .34) !important;
        outline: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > .is-active,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > [aria-current="page"] {
        color: #e5fff5 !important;
        background: linear-gradient(180deg, rgba(12, 130, 92, .46), rgba(7, 83, 63, .50)) !important;
        box-shadow: inset 0 0 0 1px rgba(84, 227, 178, .22) !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > .is-active::before,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > [aria-current="page"]::before {
        color: #77e9b9 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav [data-rzm-message-badge] {
        position: absolute !important;
        top: -12px !important;
        right: -16px !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 5px !important;
        border: 2px solid #07192b !important;
        border-radius: 999px !important;
        display: grid !important;
        place-items: center !important;
        color: #fff !important;
        background: #ef4347 !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav [data-rzm-message-badge][hidden] {
        display: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account {
        width: auto !important;
        min-width: 126px !important;
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        padding: 5px 8px !important;
        border: 1px solid rgba(103, 217, 174, .30) !important;
        border-radius: 13px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: #fff !important;
        background: rgba(8, 70, 54, .68) !important;
        box-shadow: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account > span {
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
        border-radius: 11px !important;
        color: #053426 !important;
        background: linear-gradient(145deg, #65e6b2, #a9ff76) !important;
        font-size: 14px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account strong {
        display: block !important;
        color: #fff !important;
        font-size: 11px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account small {
        display: block !important;
        margin-top: 3px !important;
        color: #99bcb2 !important;
        font-size: 7px !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-secondary.rzm-workbench-secondary {
        width: 100% !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 max(20px, calc((100% - 1760px) / 2)) !important;
        display: flex !important;
        align-items: stretch !important;
        color: #18362d !important;
        border: 0 !important;
        border-top: 1px solid rgba(126, 158, 149, .10) !important;
        background: rgba(253, 255, 254, .99) !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module {
        width: 250px !important;
        min-width: 250px !important;
        flex: 0 0 250px !important;
        padding: 8px 0 6px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module small {
        display: block !important;
        color: #83958e !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module strong {
        display: block !important;
        margin-top: 4px !important;
        overflow: hidden !important;
        color: #17372d !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        height: 48px !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs::-webkit-scrollbar {
        display: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > button {
        position: relative !important;
        min-width: max-content !important;
        height: 48px !important;
        padding: 0 7px !important;
        border: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        color: #657a72 !important;
        background: transparent !important;
        font: inherit !important;
        font-size: 13px !important;
        font-weight: 750 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > .is-active,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > [aria-current="page"] {
        color: #0a5d45 !important;
        font-weight: 900 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > .is-active::after,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > [aria-current="page"]::after {
        content: "" !important;
        position: absolute !important;
        right: 7px !important;
        bottom: 0 !important;
        left: 7px !important;
        height: 3px !important;
        border-radius: 999px 999px 0 0 !important;
        background: #168360 !important;
    }

    /* 数字中心首页：二级导航与深色科技首屏连续，其他页面仍使用白色业务导航。 */
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-secondary.rzm-workbench-secondary {
        color: #e9fffa !important;
        border-top-color: rgba(92, 224, 191, .13) !important;
        border-bottom: 1px solid rgba(76, 153, 181, .18) !important;
        background: linear-gradient(90deg, rgba(5, 25, 47, .995), rgba(5, 20, 41, .995) 58%, rgba(6, 25, 43, .995)) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module small {
        color: #6f9a9d !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module strong {
        color: #dffbf4 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > a,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > button {
        color: #8fa8ad !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > a:hover,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > button:hover,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > a:focus-visible,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > button:focus-visible {
        color: #d8fff5 !important;
        background: rgba(39, 192, 150, .07) !important;
        outline: none !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > .is-active,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > [aria-current="page"] {
        color: #70e8c6 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > .is-active::after,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > [aria-current="page"]::after {
        background: linear-gradient(90deg, #35dcb0, #8cf66f) !important;
        box-shadow: 0 0 12px rgba(54, 222, 177, .28) !important;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-primary {
        width: calc(100% - 24px) !important;
        gap: 7px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand {
        width: 176px !important;
        min-width: 176px !important;
        flex-basis: 176px !important;
        gap: 7px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand > span {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand strong {
        font-size: 15px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand small {
        font-size: 8px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav {
        gap: 0 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button {
        min-width: 64px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 7px !important;
        gap: 5px !important;
        border-radius: 10px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a::before,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button::before {
        font-size: 17px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > * > strong {
        font-size: 13px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account {
        min-width: 104px !important;
        padding: 4px 6px !important;
        gap: 6px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account > span {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account strong {
        font-size: 9px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account small {
        font-size: 6px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-secondary.rzm-workbench-secondary {
        padding-inline: 12px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module {
        width: 190px !important;
        min-width: 190px !important;
        flex-basis: 190px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs {
        gap: 7px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-context-tabs > button {
        padding-inline: 5px !important;
        font-size: 12px !important;
    }
}

@media (min-width: 761px) and (max-width: 880px) {
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand {
        width: 154px !important;
        min-width: 154px !important;
        flex-basis: 154px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand > span {
        width: 36px !important;
        height: 36px !important;
        flex-basis: 36px !important;
        font-size: 10px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-brand strong {
        font-size: 13px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button {
        min-width: 51px !important;
        padding-inline: 3px !important;
        gap: 3px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > a::before,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > button::before {
        font-size: 14px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-global-nav > * > strong {
        font-size: 11px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account {
        min-width: 40px !important;
        width: 40px !important;
        padding: 3px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-account strong {
        display: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-module {
        width: 160px !important;
        min-width: 160px !important;
        flex-basis: 160px !important;
    }
}

@media (max-width: 760px) {
    html:root {
        --rzm-mobile-top-height: 112px !important;
        --rzm-mobile-bottom-height: 68px !important;
    }

    html body.rzm-mobile-enabled {
        padding-top: calc(var(--rzm-mobile-top-height) + env(safe-area-inset-top)) !important;
        padding-bottom: calc(var(--rzm-mobile-bottom-height) + env(safe-area-inset-bottom)) !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-desktop-header {
        display: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-header.rzm-workbench-mobile-header {
        position: fixed !important;
        inset: 0 0 auto !important;
        z-index: 305 !important;
        display: block !important;
        min-height: calc(var(--rzm-mobile-top-height) + env(safe-area-inset-top)) !important;
        padding-top: env(safe-area-inset-top) !important;
        color: #102d25 !important;
        border: 0 !important;
        border-bottom: 1px solid #dbe8e2 !important;
        background: rgba(252, 255, 254, .98) !important;
        box-shadow: 0 7px 22px rgba(6, 70, 51, .08) !important;
        backdrop-filter: blur(18px) saturate(135%) !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-workbench-mobile-bar {
        height: 62px !important;
        padding: 7px 10px 4px !important;
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) 40px !important;
        align-items: center !important;
        gap: 7px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-workbench-menu-button,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-account-shortcut {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand {
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        color: inherit !important;
        text-decoration: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand > span {
        width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
        border-radius: 11px !important;
        font-size: 9px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand strong {
        min-width: 0 !important;
        display: block !important;
        overflow: hidden !important;
        color: #071f19 !important;
        font-size: 16px !important;
        font-weight: 950 !important;
        line-height: 1.05 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand small {
        display: block !important;
        margin-top: 3px !important;
        overflow: hidden !important;
        color: #647a72 !important;
        font-size: 8px !important;
        line-height: 1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs {
        height: 50px !important;
        padding: 0 8px !important;
        gap: 0 !important;
        border-top: 1px solid rgba(222, 235, 229, .82) !important;
        display: flex !important;
        align-items: stretch !important;
        overflow-x: auto !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > button {
        min-width: max-content !important;
        height: 50px !important;
        flex: 0 0 auto !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav {
        position: fixed !important;
        inset: auto 0 0 !important;
        z-index: 304 !important;
        min-height: calc(var(--rzm-mobile-bottom-height) + env(safe-area-inset-bottom)) !important;
        padding: 5px max(4px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)) !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: end !important;
        gap: 0 !important;
        border: 0 !important;
        border-top: 1px solid #d5e3dc !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 -8px 24px rgba(9, 55, 42, .10) !important;
        backdrop-filter: blur(18px) saturate(135%) !important;
    }

    /* 窄屏不承载运营大屏：保留其桌面/iPad入口，手机底栏固定为五项。 */
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > a[href="executive_dashboard.php"] {
        display: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > a,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 4px 1px 2px !important;
        border: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-direction: column !important;
        gap: 2px !important;
        color: #6b7c75 !important;
        background: transparent !important;
        box-shadow: none !important;
        font: inherit !important;
        text-decoration: none !important;
        transform: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > * > span {
        position: relative !important;
        width: 31px !important;
        height: 30px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 9px !important;
        display: grid !important;
        place-items: center !important;
        color: inherit !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav svg {
        width: 21px !important;
        height: 21px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > * > strong {
        display: block !important;
        overflow: hidden !important;
        color: inherit !important;
        font-size: 10px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > .is-active {
        color: #087557 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > .is-active > span,
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > [aria-current="page"] > span {
        color: #fff !important;
        background: linear-gradient(145deg, #0b966b, #056045) !important;
        box-shadow: 0 5px 13px rgba(6, 105, 75, .19) !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-bottom-nav [data-rzm-message-badge] {
        position: absolute !important;
        top: -6px !important;
        right: -8px !important;
        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;
        border: 2px solid #fff !important;
        border-radius: 999px !important;
        display: grid !important;
        place-items: center !important;
        color: #fff !important;
        background: #ef4347 !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-unified-bottom-nav [data-rzm-message-badge][hidden] {
        display: none !important;
    }

    /* 首页沿用通用三段式手机导航，并以深海蓝/荧光绿衔接科技风首屏。 */
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-header.rzm-workbench-mobile-header {
        color: #effffd !important;
        border-bottom-color: rgba(67, 217, 188, .22) !important;
        background: linear-gradient(135deg, rgba(5, 23, 45, .985), rgba(4, 34, 50, .985)) !important;
        box-shadow: 0 8px 24px rgba(1, 11, 29, .28) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-workbench-menu-button {
        display: grid !important;
        place-items: center !important;
        border-color: rgba(94, 229, 198, .35) !important;
        color: #6fe9cf !important;
        background: rgba(9, 68, 76, .58) !important;
        box-shadow: inset 0 0 0 1px rgba(113, 238, 208, .05) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-workbench-menu-button > span {
        background: currentColor !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand > span {
        color: #042a2b !important;
        background: linear-gradient(145deg, #a4ff73, #28d7b0) !important;
        box-shadow: 0 6px 15px rgba(36, 220, 171, .20) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand strong {
        display: block !important;
        color: #f7fffd !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand small {
        display: block !important;
        color: #79cfc4 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-account-shortcut {
        border-color: rgba(116, 237, 201, .32) !important;
        color: #04231f !important;
        background: linear-gradient(145deg, #8cf46e, #24cda7) !important;
        box-shadow: 0 6px 16px rgba(26, 206, 157, .18) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs {
        display: flex !important;
        border-top-color: rgba(79, 198, 178, .16) !important;
        background: rgba(5, 25, 44, .92) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > a,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > button {
        color: #93aaa9 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > .is-active,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > [aria-current="page"] {
        color: #72ebc8 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > .is-active::after,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > [aria-current="page"]::after {
        background: #38ddb2 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-context-tabs.rzm-workbench-context-tabs > time {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
        padding: 0 10px !important;
        color: #9db4b5 !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav {
        border-top-color: rgba(76, 213, 183, .18) !important;
        background: rgba(5, 22, 39, .985) !important;
        box-shadow: 0 -10px 28px rgba(0, 9, 25, .34) !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > a,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > button {
        color: #8ca5aa !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > .is-active {
        color: #68eac8 !important;
    }

    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > .is-active > span,
    html body.rzm-mobile-enabled.rzm-page-home > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > [aria-current="page"] > span {
        color: #042820 !important;
        background: linear-gradient(145deg, #91f778, #2dd5ad) !important;
        box-shadow: 0 6px 16px rgba(37, 218, 169, .22) !important;
    }
}

@media (max-width: 350px) {
    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-workbench-mobile-bar {
        padding-inline: 7px !important;
        gap: 5px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-mobile-home-brand strong {
        font-size: 14px !important;
    }

    html body.rzm-mobile-enabled > .rzm-mobile-shell[data-rzm-mobile-shell] .rzm-bottom-nav.rzm-unified-bottom-nav > * > strong {
        font-size: 9px !important;
    }
}
