.language-switch{display:flex;gap:5px;flex-shrink:0;direction:ltr!important;align-items:center}.language-switch a{padding:8px 10px;border:1px solid var(--border);border-radius:8px;font:600 13px Arial,sans-serif;text-decoration:none}.language-switch a[aria-current]{background:var(--gold);color:var(--bg)}header:has(.language-switch){flex-wrap:wrap;padding-block:16px}.locale-phase{font-size:14px;color:var(--muted);padding:16px 20px;border:1px solid var(--border);border-radius:12px;margin-top:20px;line-height:1.9}html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] h1,html[dir=rtl] h2{font-family:Tahoma,Arial,sans-serif;line-height:1.45}html[dir=rtl] .eyebrow{letter-spacing:0;line-height:1.8}html[dir=rtl] p{line-height:1.9}html[dir=rtl] input[type=email],html[dir=rtl] input[type=password],html[dir=rtl] #account-email,html[dir=rtl] .launch-countdown strong,html[dir=rtl] .monthly-price strong{direction:ltr;unicode-bidi:isolate}html[dir=rtl] canvas,html[dir=rtl] svg{direction:ltr}html[dir=rtl] .hero h1{font-size:clamp(36px,5vw,66px)}html[dir=rtl] .account-intro h1{font-size:clamp(36px,5vw,64px)}html[dir=rtl] .feature-art span{left:auto;right:16px}html[dir=rtl] .account-heading.is-connected{direction:rtl}html[dir=rtl] .install-dialog{ text-align:right }@media(max-width:650px){.language-switch{margin-inline-start:auto}.marketing-page header .language-switch{justify-content:center;width:100%;margin:0}html[dir=rtl] .account-heading.is-connected{grid-template-columns:1fr}html[dir=rtl] .account-heading #account-email{font-size:14px;overflow-wrap:anywhere}}

.language-switch a:first-child{display:block!important}html[dir=rtl] .terminal-sidebar{border-right:0;border-left:1px solid var(--border);padding:26px 0 20px 14px}html[dir=rtl] .command-account>span{margin-right:0;margin-left:auto}html[dir=rtl] .context-bar{border-left:0;border-right:2px solid var(--gold)}html[dir=rtl] input[type=number],html[dir=rtl] input[type=date],html[dir=rtl] input[type=datetime-local],html[dir=rtl] time,html[dir=rtl] canvas{direction:ltr;unicode-bidi:isolate}html[dir=rtl] textarea{unicode-bidi:plaintext;text-align:start}html[dir=rtl] [data-user-content]{unicode-bidi:plaintext}html[dir=rtl] th,html[dir=rtl] td{text-align:right}html[dir=rtl] .guide-topic summary:after{margin-left:0;margin-right:auto}html[dir=rtl] .guide-body ol{padding-left:0;padding-right:26px}html[dir=rtl] .guide-example{border-left:0;border-right:3px solid var(--gold)}html[dir=rtl] .guide-body li{padding-left:0;padding-right:6px}html[dir=rtl] .terminal-layout h1{font-size:clamp(32px,4vw,54px)}html[dir=rtl] .terminal-layout h2{font-size:30px}html[dir=rtl] .terminal-layout label{line-height:1.7}html[dir=rtl] .terminal-layout .button{white-space:normal;line-height:1.7}html[dir=rtl] .studio-tabs{gap:8px}html[dir=rtl] .terminal-shell header .language-switch{grid-column:1/-1;justify-self:end}html[dir=rtl] .guide-topic small{line-height:1.8}@media(max-width:1050px){html[dir=rtl] .terminal-sidebar{border:0;padding:10px 0 0}html[dir=rtl] .terminal-sidebar nav{direction:rtl}}@media(max-width:600px){html[dir=rtl] .terminal-layout h2{font-size:26px}html[dir=rtl] .guide-topic summary strong{font-size:18px}html[dir=rtl] .command-account>span{margin:0;width:100%;overflow-wrap:anywhere}.terminal-shell header .language-switch{grid-column:1/-1;justify-content:center;width:100%}}


/* Compact language controls in the first header bar. */
header .language-switch{flex-basis:auto;width:auto;gap:2px;padding:0;margin:0;justify-content:center}
header .language-switch a{display:inline-flex!important;align-items:center;justify-content:center;border:0;border-radius:5px;min-width:28px;min-height:36px;padding:6px;font:600 11px/1.2 Arial,sans-serif;color:var(--muted);background:transparent}
header .language-switch a[aria-current]{background:#ebc77914;color:var(--gold)}

@media(max-width:760px){
.marketing-page>header,.terminal-shell>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px 7px}
.marketing-page>header .site-logo,.terminal-shell>header .site-logo{grid-column:1;grid-row:1}
.marketing-page>header .site-logo img,.terminal-shell>header .site-logo img{width:clamp(90px,28vw,135px);height:44px;object-fit:cover}
.marketing-page>header .notification-cta,.terminal-shell>header .notification-cta{grid-column:2;grid-row:1;font-size:10px;padding:8px;min-height:36px;margin:0;max-width:122px;text-align:center}
.marketing-page>header nav.language-switch,.terminal-shell>header nav.language-switch,html[dir=rtl] .terminal-shell>header nav.language-switch{grid-column:3;grid-row:1;width:auto;gap:0;margin:0;padding:0;flex-wrap:nowrap;justify-self:end}
.marketing-page>header nav.language-switch a,.terminal-shell>header nav.language-switch a{font-size:10px;min-height:36px;min-width:26px;padding:5px;line-height:1.2}
.marketing-page>header nav:not(.language-switch){grid-column:1/-1;grid-row:2}
}

/* Equal, discreet language buttons in both language directions. */
header nav.language-switch{gap:4px!important}
header nav.language-switch a,
.marketing-page>header nav.language-switch a,
.terminal-shell>header nav.language-switch a{
 box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
 width:44px;min-width:44px;height:36px;min-height:36px;padding:4px;
 border:1px solid #42536b;border-radius:6px;background:transparent;
 color:var(--muted);font-size:11px;line-height:1.2;text-align:center;
}
header nav.language-switch a[aria-current]{border-color:#b79a59;background:#ebc7791c;color:var(--gold)}
header nav.language-switch a:hover,header nav.language-switch a:focus-visible{border-color:var(--gold);color:var(--gold)}
@media(max-width:380px){.marketing-page>header .site-logo img,.terminal-shell>header .site-logo img{width:90px}.marketing-page>header .notification-cta,.terminal-shell>header .notification-cta{max-width:110px;font-size:10px;padding:6px}}

/* Account language selection stays beside the logo, including narrow screens. */
.account-page>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center}
.account-page>header .site-logo{grid-column:1;grid-row:1;min-width:0}
.account-page>header>.button{grid-column:2;grid-row:1}
.account-page>header nav.language-switch{grid-column:3;grid-row:1;justify-self:end;width:auto;margin:0;flex-wrap:nowrap}
@media(max-width:600px){
 .account-page>header{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-block:14px}
 .account-page>header nav.language-switch{grid-column:2;grid-row:1}
 .account-page>header>.button{grid-column:1/-1;grid-row:2;justify-self:end;font-size:14px;padding:10px 14px}
 .account-page>header .site-logo img{width:135px;height:45px}
}
