/* Preserve the reading direction of user-entered identifiers in RTL pages. */
html[dir="rtl"] input:is([type="email"], [type="url"], [type="tel"]),
html[dir="rtl"] :is(code, pre, [data-ltr]) {
    direction: ltr;
    unicode-bidi: isolate;
}
html[dir="rtl"] .lang-switcher__opt {
    text-align: start;
}
html[dir="rtl"] :is(.salon-content, .app-shell, #main-content) {
    overflow-wrap: break-word;
}

@media print {
    .lang-fab, .lang-switcher { display: none !important; }
}
/* Keep the account and logout controls accessible in the compact panel header. */
.panel-locale .lang-fab {
    top: auto;
    inset-inline-end: auto;
    inset-inline-start: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px);
}
.panel-locale .lang-fab .lang-switcher__menu {
    top: auto;
    bottom: calc(100% + 6px);
    inset-inline-start: 0;
    inset-inline-end: auto;
}
