/* A remembered language choice, styled to match the realm. */
.language-offer { background:var(--surface); border-bottom:1px solid var(--border); color:var(--text); font-family:Tahoma,Arial,sans-serif; }
.language-offer[hidden] { display:none; }
.language-offer > div { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 22px; padding:12px 20px; min-height:53px; }
.language-symbol { display:grid; place-items:center; width:27px; height:27px; border:1px solid var(--border); border-radius:50%; color:var(--gold); font-size:15px; }
.language-offer p { margin:0; max-inline-size:65ch; font-size:13px; text-align:center; text-wrap:pretty; }
.language-accept { color:var(--gold); font-size:13px; font-weight:600; display:flex; align-items:center; gap:12px; }
.language-decline { color:var(--muted); font-size:12px; }
.language-offer a { display:inline-flex; align-items:center; justify-content:center; min-block-size:44px; text-underline-offset:5px; padding:6px 0; touch-action:manipulation; }
.language-switch { flex-shrink:0; color:var(--gold); border:1px solid var(--border); border-radius:5px; padding:7px 9px; font:12px/1.5 Tahoma,Arial,sans-serif; white-space:nowrap; text-align:center; touch-action:manipulation; transition:border-color 160ms ease,background-color 160ms ease; }
.language-switch:active { background:color-mix(in srgb,var(--gold) 9%,transparent); }
@media(hover:hover) and (pointer:fine) { .language-offer a:hover { text-decoration:underline; } .language-switch:hover { border-color:var(--gold); } }
.footer-language { border:0; padding:0; }
[data-no-translate], [data-no-translate-text], bdi { unicode-bidi:isolate; }
input[name=username],input[type=password],input[type=email],input[type=tel],input[name=sender],input[name=transactionId],input[name$=".recipient"],input[type=number],.shop-method-mark,.shop-stepper,.shop-country-code { direction:ltr; unicode-bidi:isolate; }
input[name=username],input[type=password],input[type=email],input[type=tel],input[name=sender],input[name=transactionId],input[name$=".recipient"] { text-align:start; }
html[lang=ar] { --sans:Tahoma,Arial,sans-serif; --serif:Tahoma,Arial,sans-serif; }
html[lang=ar] .section-label,html[lang=ar] .eyebrow,html[lang=ar] .card-number,html[lang=ar] .realm-bar small,html[lang=ar] .footer-links small,html[lang=ar] .badge,html[lang=ar] .data-table th,html[lang=ar] .shop-country-group { letter-spacing:0; line-height:1.7; }
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3 { letter-spacing:0; line-height:1.4; text-wrap:balance; overflow-wrap:break-word; }
html[lang=ar] .hero h1 { font-size:68px; line-height:1.5; font-weight:500; }
html[lang=ar] .hero h1 em,html[lang=ar] .join-section h2 em { font-style:normal; }
html[lang=ar] .hero p { line-height:2; }
html[lang=ar] .section-head h2,html[lang=ar] .page-head h1 { font-size:42px; line-height:1.45; }
html[lang=ar] .experience-card h3,html[lang=ar] .card h3 { font-size:24px; line-height:1.5; }
html[lang=ar] .class-panel h3 { font-size:35px; line-height:1.5; }
html[lang=ar] .shop-header h1,html[lang=ar] .shop-admin-header h1 { font-size:40px; line-height:1.5; }
html[lang=ar] .shop-product h2,html[lang=ar] .shop-cart-heading h2,html[lang=ar] .shop-empty h2,html[lang=ar] .shop-section-heading h2,html[lang=ar] .shop-pricing-settings h2 { line-height:1.5; }
html[lang=ar] .shop-product h2 { font-size:25px; }
html[lang=ar] .shop-product-description,html[lang=ar] .shop-fine-print,html[lang=ar] .shop-cart .shop-fine-print { font-size:12px; line-height:1.9; }
html[lang=ar] .shop-product-copy .section-label,html[lang=ar] .shop-product-price small,html[lang=ar] .shop-cart-heading .section-label { font-size:10px; }
html[dir=rtl] .brand { direction:ltr; }
html[lang=ar] .brand-type { font-family:'Cormorant Garamond',Georgia,serif; }
/* The composition stays centered when the writing direction changes. */
html[dir=rtl] .hero-content { text-align:center; }
html[dir=rtl] .hero-content > * { margin-inline:auto; }
html[dir=rtl] .hero h1 { padding-inline:0; }
html[dir=rtl] .hero-side-note { right:auto; left:26px; }
html[dir=rtl] .icon:has(use[href="#i-arrow"]) { transform:scaleX(-1); }
html[dir=rtl] .scroll-cue .icon { transform:rotate(90deg); }
html[dir=rtl] .data-table,html[dir=rtl] .guide-copy th,html[dir=rtl] .guide-copy td,html[dir=rtl] .shop-country-trigger { text-align:start; }
html[dir=rtl] .data-table th:first-child,html[dir=rtl] .data-table td:first-child { padding-left:20px; padding-right:25px; }
html[dir=rtl] .class-panel ul,html[dir=rtl] .item-detail ul,html[dir=rtl] .guide-copy ul,html[dir=rtl] .guide-copy ol { padding-inline-start:20px; padding-inline-end:0; }
html[dir=rtl] .class-facts > div { border-left:0; border-right:1px solid var(--border); }
html[dir=rtl] .dialog-close { right:auto; left:13px; }
html[dir=rtl] .toast { right:auto; left:30px; }
html[dir=rtl] .start-steps b { margin-right:0; margin-left:10px; }
html[dir=rtl] .shop-country-search-wrap > .icon { left:auto; right:25px; }
html[dir=rtl] .shop-page .shop-country input.shop-country-search { padding-left:13px; padding-right:37px; }
html[dir=rtl] .shop-notice { border-left:1px solid var(--border); border-right:2px solid var(--gold); }
html[dir=rtl] .shop-product-price strong,html[dir=rtl] .shop-cart-total > strong,.shop-recipient[dir=ltr],.shop-wrap[dir=ltr] { direction:ltr; unicode-bidi:isolate; }
html[dir=rtl] .shop-audit li span { margin-right:0; margin-left:8px; }
html[dir=rtl] .page-head,html[dir=rtl] .section-head,html[dir=rtl] .recovery-panel > h2,html[dir=rtl] #dialog-content > h2 { text-align:center; }
html[dir=rtl] .page-head > p,html[dir=rtl] .section-head > p,html[dir=rtl] .recovery-panel > p,html[dir=rtl] #dialog-content > p { margin-inline:auto; max-inline-size:65ch; text-align:center; text-wrap:pretty; }
html[dir=rtl] .recovery-panel,html[dir=rtl] .auth-form { margin-inline:auto; min-inline-size:0; }
html[dir=rtl] .auth-form > label,html[dir=rtl] .auth-form .field-hint,html[dir=rtl] .auth-form .username-status,html[dir=rtl] .auth-form .form-message { text-align:start; }
html[dir=rtl] .auth-form > a,html[dir=rtl] .recovery-back { text-align:center; margin-inline:auto; }
html[dir=rtl] .auth-form > a { display:block; overflow-wrap:anywhere; }
html[dir=rtl] .guide-layout > *,html[dir=rtl] .detail-grid > *,html[dir=rtl] .account-grid > *,html[dir=rtl] .class-panel > * { min-inline-size:0; }
html[dir=rtl] .guide-copy h2,html[dir=rtl] .guide-copy h3 { text-align:center; }
html[dir=rtl] .guide-copy p,html[dir=rtl] .guide-copy li { max-inline-size:65ch; margin-inline:auto; text-align:start; text-wrap:pretty; overflow-wrap:anywhere; }
html[dir=rtl] .guide-copy a,html[dir=rtl] .field-hint,html[dir=rtl] .form-message,html[dir=rtl] .detail-grid strong,html[dir=rtl] .account-grid strong { overflow-wrap:anywhere; }
html[dir=rtl] .guide-nav a,html[dir=rtl] .guide-nav button { text-align:center; }
@media(max-width:1150px) { .header-actions { gap:10px; } html[lang=ar] .hero h1 { font-size:60px; } }
@media(max-width:940px) { html[lang=ar] .hero h1 { font-size:56px; } }
@media(max-width:680px) {
  .language-offer > div { gap:8px 16px; padding:9px 15px; }
  .language-offer p { font-size:12px; }
  .language-symbol { display:none; }
  .language-switch { padding:6px 7px; font-size:11px; }
  .site-header .brand { width:138px; }
  .site-header .brand-type { font-size:17px; }
  html[lang=ar] .hero h1 { font-size:43px; }
  html[lang=ar] .hero-content { padding-top:55px; }
  html[lang=ar] .section-head h2,html[lang=ar] .page-head h1 { font-size:32px; }
  html[lang=ar] .join-section h2 { font-size:36px; }
  html[lang=ar] .class-panel h3 { font-size:29px; }
  html[dir=rtl] .experience-card .feature-icon { right:auto; left:25px; }
  html[dir=rtl] .start-steps { text-align:center; }
  html[dir=rtl] .toast { left:18px; }
}
@media(max-width:390px) { .site-header { padding-inline:12px; gap:5px; } .header-actions { gap:5px; } .site-header .brand { width:125px; } .header-actions .btn-small { padding-inline:8px; } .language-offer p { flex-basis:100%; text-align:center; } }
