/* Shared header: direct language switching and categorized alerts. */
.studio-exact-head{grid-template-columns:minmax(0,1fr) auto auto!important}.studio-legacy-theme-control,.studio-exact-language{display:none!important}
.studio-notification-tabs{display:grid;border-bottom:1px solid #153b5a;background:#041126}.studio-notification-tabs button{position:relative;min-width:0;border:0;background:transparent;color:#7790aa;font-weight:800;cursor:pointer}.studio-notification-tabs button.is-active{background:rgba(var(--studio-rgb),.16);color:#dff2ff}.studio-notification-tabs button.is-active:after{content:"";position:absolute;right:20%;bottom:-7px;left:20%;height:2px;border-radius:9px;background:var(--studio-accent)}
.studio-language-choice{width:100%;min-height:62px;margin-bottom:8px;padding:9px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;border:1px solid #173b59;border-radius:11px;background:#071a31;color:#eaf5ff;text-align:right}.studio-language-choice>i{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#0b2c4a;color:#68c3ff;font-style:normal;font-weight:900}.studio-language-choice>em{color:#55d7a3;font-size:8px;font-style:normal}.studio-language-choice:disabled{opacity:.52}
.studio-notification-popover{width:min(440px,calc(100vw - 24px))}.studio-notification-tabs{grid-template-columns:repeat(5,1fr);padding:7px 6px}.studio-notification-tabs button{height:36px;border-radius:8px;font-size:8px}.studio-notification-tabs button b{display:inline-grid;place-items:center;min-width:16px;height:16px;margin-inline-start:2px;padding:0 4px;border-radius:99px;background:#173753;color:#79bfea;font:800 7px Arial}.studio-notification-tabs button b:empty{display:none}.studio-preview-item.category-content>button>i{background:#103b46;color:#54d8cf}.studio-preview-item.category-support>button>i{background:#3d2637;color:#ff8bc2}.studio-preview-item.category-system>button>i{background:#252c3b;color:#aebbd0}
.studio-member-links-compact{grid-template-columns:1fr!important}.studio-account-popover .studio-member-links-compact>a{min-height:48px!important}
.notification-summary-v209{grid-template-columns:repeat(7,minmax(0,1fr))!important}.notification-summary-v209>*{min-width:0}.notification-summary-v209 small{white-space:nowrap}
@media(max-width:1680px) and (min-width:1121px){.studio-exact-head{grid-template-columns:minmax(0,1fr) auto auto!important}}
@media(max-width:1120px){.studio-exact-actions{order:3}.studio-header-nav-group{order:1}}
@media(max-width:1050px){.notification-summary-v209{grid-template-columns:repeat(4,1fr)!important}}
@media(max-width:820px){.studio-notification-tabs{overflow-x:auto;grid-template-columns:repeat(5,minmax(70px,1fr))}.studio-notification-tabs button{white-space:nowrap}}
@media(max-width:520px){.studio-exact-head{grid-template-columns:minmax(0,1fr) auto auto!important}.studio-notification-tabs{grid-template-columns:repeat(5,72px)}.studio-notification-tabs button{font-size:7px}.notification-summary-v209{grid-template-columns:repeat(2,1fr)!important}}

/* A single globe replaces the former tools popover in the same header slot. */
body.studio-theme .studio-site-header .studio-header-language-switch{
    flex:none;
    align-self:center;
    margin:0;
}
body.studio-theme .studio-site-header .studio-header-language-button{
    position:relative;
    box-sizing:border-box;
    display:grid;
    place-items:center;
    width:42px;
    min-width:42px;
    height:42px;
    min-height:42px;
    padding:0;
    border:1px solid var(--studio-color-border);
    border-radius:12px;
    background:var(--studio-color-control);
    color:var(--studio-color-accent);
    cursor:pointer;
    touch-action:manipulation;
    transition:border-color .18s,background-color .18s;
}
body.studio-theme .studio-site-header .studio-header-language-button:hover{
    border-color:var(--studio-color-accent);
    background:color-mix(in srgb,var(--studio-color-accent) 12%,var(--studio-color-control));
}
body.studio-theme .studio-site-header .studio-header-language-button:focus-visible{
    outline:2px solid var(--studio-color-accent);
    outline-offset:3px;
}
body.studio-theme .studio-site-header .studio-header-language-button svg{
    display:block;
    width:21px;
    height:21px;
    margin:0!important;
    fill:none;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
}
body.studio-theme .studio-site-header .studio-header-language-button:is(.studio-rail-control,.has-managed-nav-icon) .studio-header-language-globe{display:none!important}
body.studio-theme .studio-site-header .studio-header-language-button .studio-header-language-code{
    position:absolute!important;
    display:grid!important;
    place-items:center;
    inset:auto 3px 3px auto;
    min-width:15px;
    height:13px;
    padding:0 2px;
    margin:0!important;
    border:1px solid var(--studio-color-border);
    border-radius:4px;
    background:var(--studio-color-control);
    color:var(--studio-color-accent);
    font-size:8px!important;
    font-weight:700;
    line-height:1!important;
}
@media(min-width:1381px){
    body.studio-theme .studio-site-header .studio-header-language-button{height:46px;min-height:46px}
}
@media(min-width:601px) and (max-width:1120px){
    body.studio-theme .studio-site-header .studio-header-language-button{width:44px;min-width:44px;height:44px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){
    body.studio-theme .studio-site-header .studio-header-language-button{transition:none}
}
