.jh-english-toggle{box-sizing:border-box;min-width:104px;height:42px;white-space:nowrap;padding:0 12px;background:transparent;color:inherit;border:1px solid #777;border-radius:0;font:700 12px/1 system-ui;cursor:pointer;letter-spacing:0}
.jh-english-toggle:disabled{opacity:.45;cursor:default}.jh-english-toggle:focus-visible{outline:2px solid #e6465f;outline-offset:3px}
.jh-preview-scope{padding:12px 18px;border-bottom:1px solid #555;background:#232326;color:#eee;font:13px/1.7 system-ui;text-align:center}
.jh-preview-scope a{color:#fff;text-decoration:underline}.jh-preview-scope p{margin:2px 0}.jh-preview-scope [hidden]{display:none}
@media(max-width:760px){.jh-english-toggle{height:36px;min-width:98px;padding:0 8px;font-size:11px}.site-header__controls{row-gap:8px}.site-header__tools{flex-wrap:nowrap}.jh-preview-scope{text-align:left}}

/* Preview-only: four actions share dimensions and spacing in their requested order. */
html body .site-header .site-header__controls{gap:16px}
html body .site-header .site-header__actions{display:grid;grid-template-columns:repeat(4,112px);gap:10px;align-items:stretch;font-size:12px;letter-spacing:0}
html body .site-header .site-header__actions > :not(#jh-action-dimension-specificity){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:112px;min-width:0;height:42px;min-height:42px;margin:0;padding:0 12px;border:1px solid #777;border-radius:0;font:700 12px/1 system-ui;letter-spacing:0;white-space:nowrap;text-decoration:none}
html body .site-header .site-header__actions > .sign-in:not(#jh-action-dimension-specificity){background:#fff;color:#000!important;border-color:#fff}
html body .site-header .site-header__actions > .jh-free-signup:not(#jh-action-dimension-specificity){background:transparent;color:#fff;border-color:#777}
html body .site-header .site-header__actions > .subscribe-button:not(#jh-action-dimension-specificity){background:#bc002d;color:#fff;border-color:#bc002d}
@media(max-width:760px){
 html body .site-header .site-header__bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
 html body .site-header .site-nav{grid-column:1;grid-row:1}
 html body .site-header .site-header__controls{display:contents}
 html body .site-header .site-header__tools{grid-column:2;grid-row:1;justify-self:end}
 html body .site-header .site-header__actions{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin:0}
 html body .site-header .site-header__actions > :not(#jh-action-dimension-specificity){width:100%;height:36px;min-height:36px;padding:0 6px;font-size:11px}
}

.jh-translation-notice p{font:12px/1.6 system-ui;margin:4px 0;color:inherit}.jh-translation-notice [hidden]{display:none}

/* Two mobile rows: navigation tools, then translation/account actions. */
@media(max-width:760px){
 html body .site-header .site-header__bar.jh-mobile-nav-ready{column-gap:12px;row-gap:12px!important;padding-top:12px;padding-bottom:12px;align-items:center}
 html body .site-header .site-header__bar #jh-site-menu-toggle{grid-column:1;grid-row:1;justify-self:start;width:auto;min-width:112px;max-width:100%;height:44px!important;min-height:44px!important;padding:0 16px!important;font:700 12px/1 system-ui!important;letter-spacing:0!important}
 html body .site-header .site-header__tools{gap:8px;align-items:center}
 html body .site-header .site-header__tools .icon-button{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center}
 html body .site-header .site-header__actions > :not(#jh-action-dimension-specificity){height:44px;min-height:44px;padding:0 3px;font-size:11px;line-height:1;letter-spacing:0}
}
