.bh-languagebar{box-sizing:border-box;display:flex;justify-content:flex-end;align-items:center;gap:5px;padding:7px max(18px,calc((100% - 1160px)/2));min-height:46px;background:var(--paper,#fbfaf5);border-bottom:1px solid #dce3e3;font-family:Arial,"Geeza Pro",sans-serif;position:relative;z-index:25;line-height:1.4}
.bh-languagebar button{border:1px solid transparent;border-radius:7px;padding:6px 13px;min-height:32px;background:transparent;color:var(--ink,#193653);font:600 13px Arial,"Geeza Pro",sans-serif;cursor:pointer;white-space:nowrap}
.bh-languagebar button[aria-pressed="true"]{background:var(--ink,#193653);color:white}.bh-languagebar button:focus-visible{outline:3px solid #438caf;outline-offset:2px}
html[lang="ar"] body{font-family:Arial,"Geeza Pro",system-ui,sans-serif;letter-spacing:normal}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] .eyebrow{letter-spacing:normal;line-height:1.55}
html[lang="ar"] input[type="email"],html[lang="ar"] input[type="password"],html[lang="ar"] input[type="url"]{direction:ltr;text-align:left}
html[lang="ar"] .editor-menu button,html[lang="ar"] .nav button,html[lang="ar"] .catalog-details{text-align:start}
html[lang="ar"] .sidebar{left:auto;right:0}html[lang="ar"] .sidebar .logo{text-align:start}
html[lang="ar"] .brand{direction:ltr}html[lang="ar"] .brand span{text-align:left}
html[lang="ar"] .hero-copy h1{line-height:1.5;letter-spacing:normal}
html.bh-book-surface #app{direction:ltr}html.bh-book-surface[lang="ar"] .headtools,html.bh-book-surface[lang="ar"] .tabs,html.bh-book-surface[lang="ar"] .activityheader,html.bh-book-surface[lang="ar"] .activityfooter,html.bh-book-surface[lang="ar"] .sidetip,html.bh-book-surface[lang="ar"] #modal,html.bh-book-surface[lang="ar"] #toast{direction:rtl}
html.bh-book-surface .readingline,html.bh-book-surface .dialogue,html.bh-book-surface .wordbank,html.bh-book-surface .sentence,html.bh-book-surface [data-option]{direction:ltr;text-align:initial}
.translation-panel{margin-block:22px;padding:20px;border:1px solid var(--line,#dce3e3);border-radius:12px;background:#f5f8fa}.translation-panel summary{cursor:pointer;font-weight:700;list-style-position:inside}.translation-panel .editor-fields{margin-top:16px}.translation-panel [data-ar],.translation-panel [data-website-ar]{direction:rtl;text-align:right}.translation-reference{font-size:13px;color:#657888;direction:ltr;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.translation-note{font-size:14px;line-height:1.7}.english-fields{direction:ltr}.english-fields input,.english-fields textarea{direction:ltr}
@media(max-width:600px){.bh-languagebar{justify-content:center;padding:7px 16px}.translation-panel{padding:14px}html[lang="ar"] .hero-copy h1{font-size:36px}.bh-languagebar button{min-height:34px}}
