.manivo-header-utility,
.manivo-header-utility * { box-sizing: border-box; }

.manivo-header-utility {
    position: relative;
    z-index: 1001;
    width: 100%;
    border-bottom: 1px solid #dbe4eb;
    background: #fff;
    color: #163b5f;
    font-family: inherit;
}

.manivo-header-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1240px, calc(100% - 32px));
    min-height: 42px;
    margin: 0 auto;
}

.manivo-header-utility__language { flex: 0 0 auto; }
.manivo-header-utility__language .manivo-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
}
.manivo-header-utility__language .manivo-language-switcher__globe { display: none; }
.manivo-header-utility__language a { min-height: 40px; display: inline-flex; align-items: center; }

.manivo-header-utility__auth { min-width: 0; margin-left: auto; }
.manivo-header-utility__menu { position: relative; }
.manivo-header-utility__menu > summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 40px;
    padding: 5px 2px;
    color: #123d68;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    list-style: none;
    text-align: right;
    cursor: pointer;
}
.manivo-header-utility__menu > summary::-webkit-details-marker { display: none; }
.manivo-header-utility__menu > summary:focus-visible,
.manivo-header-utility__panel a:focus-visible { outline: 3px solid rgba(20, 148, 126, .3); outline-offset: 2px; }
.manivo-header-utility__menu[open] > summary > span { transform: rotate(180deg); }

.manivo-header-utility__panel {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid #d5e0e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 42, 67, .18);
}
.manivo-header-utility__title { display: block; padding: 7px 8px 10px; font-size: 15px; }
.manivo-header-utility__item { display: block; min-height: 44px; padding: 12px 10px; border-radius: 7px; color: #123d68; font-weight: 750; text-decoration: none; }
.manivo-header-utility__item:hover { background: #eef8f5; }
.manivo-header-utility__signin-option { padding: 10px 8px; border-top: 1px solid #e5ebf0; }
.manivo-header-utility__signin-option strong { display: block; font-size: 14px; }
.manivo-header-utility__signin-option p { margin: 3px 0 9px; color: #5b7084; font-size: 12px; line-height: 1.4; }
.manivo-header-utility__signin-option a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; border-radius: 7px; background: #123d68; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }

/* The universal row owns language selection on provider operational surfaces. */
body.manivo-has-header-utility .manivo-provider-universal-language,
body.manivo-has-header-utility .manivo-provider-universal-mobile-lang,
body.manivo-has-header-utility .manivo-ppv2-language,
body.manivo-has-header-utility .manivo-pov2-language,
body.manivo-has-header-utility .manivo-training-language,
body.manivo-has-header-utility .manivo-payout-pro-language { display: none !important; }

@media (max-width: 600px) {
    .manivo-header-utility__inner { width: calc(100% - 20px); min-height: 48px; gap: 10px; }
    .manivo-header-utility__language .manivo-language-switcher { gap: 5px; font-size: 12px; white-space: nowrap; }
    .manivo-header-utility__language a { min-height: 44px; }
    .manivo-header-utility__menu > summary { min-height: 44px; max-width: 54vw; font-size: 12px; }
    .manivo-header-utility__panel { right: 0; }
}

@media (max-width: 360px) {
    .manivo-header-utility__inner { width: calc(100% - 12px); gap: 6px; }
    .manivo-header-utility__language .manivo-language-switcher { font-size: 11px; }
    .manivo-header-utility__menu > summary { max-width: 50vw; font-size: 11px; }
}
