/* Native language picker: full language names in the menu, compact code in the header. */
.af-language-control{display:inline-flex!important;position:relative;align-items:center;justify-content:center;gap:6px;width:68px;min-width:68px;height:44px;flex:none;border:1px solid var(--aft-line,#dfe8e1);border-radius:9px;background:var(--aft-surface,#fff);color:var(--aft-ink,#172823);font:700 var(--aft-text-small, 14px)/1 AffiRena,system-ui,sans-serif;cursor:pointer;box-sizing:border-box;white-space:nowrap}
.af-language-control>svg{width:17px;height:17px;flex:none;pointer-events:none}.af-language-control>span{pointer-events:none}
.af-language-control select{position:absolute!important;inset:0!important;opacity:0!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;cursor:pointer!important;font-size:16px!important}
.af-language-control:focus-within{outline:3px solid var(--aft-fg-teal,#07877f);outline-offset:3px}.af-language-control:hover{border-color:var(--aft-fg-teal,#07877f)}
.af-auth .af-auth-appearance{align-items:center;gap:10px}
html[data-af-language] .afr .af-nav-actions{gap:12px}
html[data-af-language] body.af-workspace .adap-topbar-actions{gap:10px}
html[data-af-language] body.af-workspace .adap-topbar-left{min-width:0}
html[data-af-language] body.af-workspace .adap-topbar-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-af-language] body.af-workspace :is(.adap-btn-primary,.adap-btn-primary-v3,.smm-btn-publish,.af-create-button){text-wrap:balance}
@media(max-width:1200px){html[data-af-language] .afr .af-nav-links{gap:14px}html[data-af-language] .afr .af-nav{gap:12px}html[data-af-language] .afr .af-nav-actions{gap:9px}html[data-af-language] body.af-workspace .af-search-trigger>span:not(.dashicons),html[data-af-language] body.af-workspace .af-search-trigger kbd{display:none}}
@media(max-width:760px){html[data-af-language] .afr .af-login{display:none}html[data-af-language] .afr .af-mobile-login{display:block!important}html[data-af-language] .afr .af-nav-actions{gap:5px}html[data-af-language] .afr .af-nav-cta{display:none}html[data-af-language] body.af-workspace .adap-topbar-actions{gap:5px}html[data-af-language] body.af-workspace .adap-topbar-profile{display:none}html[data-af-language] body.af-workspace .af-create-button{display:none}html[data-af-language] body.af-workspace .af-search-trigger{display:flex!important;padding:7px;min-width:32px;width:32px;justify-content:center}}
@media(max-width:420px){html[data-af-language] body.af-workspace .adap-topbar{padding-inline:12px;gap:5px}html[data-af-language] .af-language-control{width:54px;min-width:54px;gap:4px;font-size:var(--aft-text-caption, 13px)}html[data-af-language] .af-language-control>svg{width:15px;height:15px}html[data-af-language] body.af-workspace .af-workspace-brand{font-size:21px;gap:7px}html[data-af-language] body.af-workspace .af-workspace-brand svg{width:25px;height:29px}html[data-af-language] .afr .af-brand{font-size:21px;gap:6px}html[data-af-language] .afr .af-brand-symbol{width:26px}html[data-af-language] .afr .af-menu{width:36px;height:44px}html[data-af-language] .afr .shell{width:calc(100% - 32px)}html[data-af-language] .af-theme-switch{width:58px!important;flex-basis:58px!important}html[data-af-language] .afr .af-nav{gap:4px}html[data-af-language] .afr .af-nav-actions{gap:4px}}
@media print{.af-language-control{display:none!important}}

html[lang="en"]{--af-copy-workspace:"Workspace"}html[lang="ru"]{--af-copy-workspace:"Рабочее пространство"}html[lang="es"]{--af-copy-workspace:"Espacio de trabajo"}html[lang="fr"]{--af-copy-workspace:"Espace de travail"}
/* Leave room for longer translations without shrinking text or touch targets. */
.af-workspace .adap-nav-link{white-space:normal;line-height:1.35;min-height:44px}.af-workspace .adap-topbar-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.afr h1,.afr h2{overflow-wrap:break-word;hyphens:auto}.af-language-control select{cursor:pointer}.af-language-control option{color:CanvasText;background:Canvas}

/* Decorative orbits must not widen the mobile viewport. */
.afr{overflow-x:clip}
