@media screen and (min-width: 1281px) {
    .header__ttl{
        display: none;
    }
    .header__inner.is-sticky .header__ttl{
        display: block;
    }

    .mz-header-menu {
        position: relative;
        z-index: 1000002;
    }

    .mz-header-menu + .header {
        top: 72px;
    }

    .mz-header-menu + .header .case-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    .page-id-1777 .mz-header-menu + .header .case-menu {
        transform: translateX(-10%);
    }

    .mz-header-menu + .header .solution-menu {
        transform: translateX(-50%);
    }
    .page-id-1777 .mz-header-menu + .header .solution-menu {
        transform: translateX(-10%);
    }

    .mz-header-menu + .header.header_globalnav .case-menu {
        background-color: #0098b4;
    }

    .lab-header {
        z-index: 99;
    }

    .lab-header__branding {
        width: 240px;
        padding: 15px 0 10px;
    }
}

body:has(.anywhere-chat--open) .header,
body:has(.anywhere-chat--open) .mz-header-menu,
body:has(.anywhere-chat--open) .lab-header {
    z-index: 999999 !important;
}

html:has([id^=mastra-ai-chat-widget-].anywhere-chat--open) {
    overflow: hidden;
    touch-action: none;
}

[id^=mastra-ai-chat-widget-].anywhere-chat--open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(0.3rem);
    -webkit-backdrop-filter: blur(0.3rem);
}

[id^=mastra-ai-chat-widget-] .mastra-bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

@media screen and (max-width: 1280px) {
    .mz-header-menu {
        display: none !important;
    }
}
