/* Public PC/mobile service entries. Loaded after both homepage bundles. */
.or-workspace-entry-group {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.or-workspace-entry-arrow {
    margin-left: 2px;
    font-size: .65em;
    line-height: 1;
}

#header.or-site-header .or-workspace-entry {
    display: inline-flex;
    width: auto;
    min-width: 88px;
    gap: 4px;
    padding: 0 12px;
}

#header.or-site-header .or-workspace-entry.is-beanstock,
#hd.or-mobile-header .or-workspace-entry.is-beanstock,
#hd.or-mobile-header .or-mobile-workspace-entries .or-workspace-entry.is-beanstock {
    border-color: #ff650f;
    background: #ff650f;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(255, 101, 15, .2);
}

#header.or-site-header .or-workspace-entry.is-beanstock:hover,
#header.or-site-header .or-workspace-entry.is-beanstock:focus-visible,
#hd.or-mobile-header .or-workspace-entry.is-beanstock:hover,
#hd.or-mobile-header .or-workspace-entry.is-beanstock:focus-visible,
#hd.or-mobile-header .or-mobile-workspace-entries .or-workspace-entry.is-beanstock:hover,
#hd.or-mobile-header .or-mobile-workspace-entries .or-workspace-entry.is-beanstock:focus-visible {
    border-color: #d94800;
    background: #d94800;
}

#header.or-site-header .or-workspace-entry:focus-visible,
#hd.or-mobile-header .or-workspace-entry:focus-visible {
    outline: 3px solid #132957;
    outline-offset: 3px;
}

#hd.or-mobile-header .or-mobile-workspace-entries {
    position: absolute;
    top: 12px;
    right: 58px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#hd.or-mobile-header--home .or-mobile-workspace-entries {
    top: 14px;
    right: 7px;
}

#hd.or-mobile-header .or-mobile-workspace-entries .or-mobile-entry {
    position: static;
    display: inline-flex;
    box-sizing: border-box;
    height: 36px;
    min-width: 76px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 0 9px;
    border: 1px solid #1457d9;
    border-radius: 9px;
    color: #fff;
    background: #1457d9;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

#hd.or-mobile-header.has-workspace-switch .or-mobile-auth {
    right: 172px;
}

#hd.or-mobile-header--home.has-workspace-switch #logo {
    right: 242px;
}

#hd.or-mobile-header .or-mobile-account-actions.has-workspace-switch a.is-service {
    grid-column: auto;
}

@media (min-width: 961px) and (max-width: 1250px) {
    #header.or-site-header.has-workspace-switch .gnb > li > a {
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    #header.or-site-header.has-workspace-switch .or-header-actions {
        gap: 5px;
        margin-left: 10px;
    }

    #header.or-site-header.has-workspace-switch .or-workspace-entry {
        min-width: 80px;
        padding: 0 9px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    #hd.or-mobile-header .or-mobile-workspace-entries {
        top: 12px;
        gap: 5px;
    }

    #hd.or-mobile-header .or-mobile-workspace-entries .or-mobile-entry {
        height: 34px;
        min-width: 70px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* Keep both service entries beside one another without covering authentication
   or the brand/menu row on narrow phones. No account action is removed. */
@media (max-width: 480px) {
    #hd.or-mobile-header.has-workspace-switch,
    #hd.or-mobile-header.has-workspace-switch #hd_wrapper {
        box-sizing: border-box;
        height: 104px;
        background: #fff;
    }

    #hd.or-mobile-header.has-workspace-switch #hd_wrapper {
        position: relative;
        border-radius: inherit;
    }

    #hd.or-mobile-header.has-workspace-switch #logo {
        position: absolute;
        top: 0;
        right: 90px;
        left: 85px;
        display: block;
        box-sizing: border-box;
        height: 58px;
        padding: 9px 0;
        text-align: left;
    }

    #hd.or-mobile-header--home.has-workspace-switch #logo {
        left: 49px;
    }

    #hd.or-mobile-header.has-workspace-switch #logo a {
        display: flex;
        height: 40px;
        align-items: center;
    }

    #hd.or-mobile-header.has-workspace-switch #logo .or-header-brand-mark {
        width: 104px;
        max-width: 100%;
        height: auto;
        max-height: 38px;
        margin: 0;
        object-fit: contain;
    }

    #hd.or-mobile-header.has-workspace-switch .or-mobile-auth {
        position: absolute;
        top: 12px;
        right: 8px;
        display: inline-flex;
        height: 34px;
        align-items: center;
        gap: 4px;
        padding: 0 8px;
        border: 1px solid #dce4f1;
        border-radius: 9px;
        color: #33415b;
        background: #f7f9fd;
        font-size: 13px;
        font-weight: 750;
        line-height: 1;
        white-space: nowrap;
    }

    #hd.or-mobile-header.has-workspace-switch #gnb_open {
        color: #14264b;
    }

    #hd.or-mobile-header.has-workspace-switch #user_btn {
        top: 12px;
        right: auto;
        left: 46px;
        width: 32px;
        height: 34px;
        padding: 0;
        color: #14264b;
    }

    #hd.or-mobile-header.has-workspace-switch .or-mobile-workspace-entries {
        top: auto;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }

    #hd.or-mobile-header.has-workspace-switch .or-mobile-workspace-entries .or-mobile-entry {
        flex: 1 1 0;
        min-width: 0;
        height: 36px;
        font-size: 14px;
    }

    #hd.or-mobile-header--home.has-workspace-switch ~ #wrapper .order-hero {
        padding-top: 130px;
    }
}

@media (max-width: 370px) {
    #hd.or-mobile-header.has-workspace-switch #logo {
        display: block;
    }

    #header.or-site-header .or-workspace-entry {
        min-width: 64px;
        padding: 0 6px;
        font-size: 11px;
    }
}
