/* Shared respondent direction support. Author preview/review controls retain
   their own UI language; this only changes questionnaire geometry. */
html[dir="rtl"] .dy-survey .progress-track .bar { left: auto; right: 0; }
html[dir="rtl"] .dy-survey :is(.q-group, .q-page-header, .intro-copy, .survey-ending) { text-align: start; }
html[dir="rtl"] .dy-survey :is(input[type="email"], input[type="url"], input[type="tel"], input[type="number"]) { direction: ltr; text-align: end; }
html[dir="rtl"] .dy-survey :is(input[type="text"], textarea) { unicode-bidi: plaintext; }
html[dir="rtl"] .dy-survey .q-scale-foot-min { text-align: right; }
html[dir="rtl"] .dy-survey .q-scale-foot-max { text-align: left; }
/* Overflow choices retain physical left/right scrolling and numeric order.
   Their captions still follow the content direction. */
html[dir="rtl"] .dy-survey .q-choice-scroll-frame { direction: ltr; }
html[dir="rtl"] .dy-survey .q-choice-scroll-content { direction: rtl; }
html[dir="rtl"] .dy-survey .survey-nav-arrow { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .dy-survey .q-scale-rh { padding-right: 0; padding-left: 10px; }
html[dir="rtl"] .dy-survey .q-other-text { padding-right: 27px; padding-left: 0; }
