/* Logical alignment preserves the shared layouts in both reading directions. */
.language-options {
  right: auto;
  inset-inline-end: 0;
  max-height: min(70vh, 420px);
  overflow-y: auto;
}
.language-options button,
.calendar-edit,
.calendar-time-event-main,
.calendar-day-select,
.weekly-availability-table th,
.weekly-availability-table td {
  text-align: start;
}
html[dir='rtl'] body {
  font-family: Tahoma, 'Segoe UI', Arial, sans-serif;
}
html[dir='rtl'] :is(h1, h2, h3, .eyebrow, .service-heading, .login-link) {
  letter-spacing: normal;
}
html[dir='rtl'] :is(p, label, li) {
  line-height: 1.8;
}
html[dir='rtl'] :is(input, textarea, select, button) {
  font-family: inherit;
}
html[dir='rtl'] :is(th, td, .calendar-list-item, .request-summary, .staff-card) {
  text-align: start;
}
.wordmark,
.brand-header nav a[aria-label^='Dustless'],
.mobile-services a,
a[href^='mailto:'],
a[href^='tel:'],
input:is([type='email'], [type='password'], [type='tel'], [type='url'], [type='date'], [type='time'], [type='datetime-local'], [type='number']),
input[autocomplete='one-time-code'],
code,
.business-details {
  direction: ltr;
  unicode-bidi: isolate;
}
input:is([type='email'], [type='password'], [type='tel'], [type='url']) {
  text-align: left;
}
html[dir='rtl'] .wordmark {
  font-family: Arial, Helvetica, sans-serif;
}
html[dir='rtl'] nav,
html[dir='rtl'] .preferences {
  margin-left: 0;
  margin-inline-start: auto;
}
html[dir='rtl'] .section-navigation {
  margin-inline: auto;
}
html[dir='rtl'] .calendar-time-column {
  border-left: 0;
  border-inline-start: 1px solid var(--border);
}
html[dir='rtl'] .calendar-time-move {
  right: auto;
  inset-inline-end: 0;
}
.company-role-label,
.staff-role-badge {
  unicode-bidi: plaintext;
}
@media (max-width: 600px) {
  html[dir='rtl'] .brand-hero h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }
}
