/* Generated by convert_odt V916 — BiDi / RTL support. */

html[dir="rtl"], body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.md-content,
.md-typeset,
.md-content__inner {
  unicode-bidi: isolate;
}
/* V915: also target MkDocs content directly so RTL works before JS sets html[dir]. */
.md-content,
.md-typeset,
.md-content__inner,
article.md-content__inner,
html[dir="rtl"] .md-content,
html[dir="rtl"] .md-typeset,
html[dir="rtl"] .md-content__inner {
  direction: rtl;
  text-align: right;
}
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}
.md-typeset p,
.md-typeset li,
.md-typeset blockquote {
  unicode-bidi: plaintext;
}

/* Isolated Latin / technical / personal-name fragments. */
bdi[dir="ltr"],
span[dir="ltr"],
.ltr-term,
.ltr-latin,
.ltr-person {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  text-align: left !important;
  white-space: nowrap;
}

/* Isolated RTL fragments inside LTR documents. */
bdi[dir="rtl"],
span[dir="rtl"],
.rtl-term {
  direction: rtl !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  text-align: right !important;
}

/* MkDocs Material navigation/header in RTL. */
.md-header__title,
.md-header__topic,
.md-tabs,
.md-nav,
.md-nav__title,
.md-nav__item,
.md-nav__link,
.md-sidebar {
  direction: rtl;
  text-align: right;
}
.md-nav__list {
  padding-right: 0;
  padding-left: 0;
}
.md-nav__link {
  justify-content: flex-start;
}
.md-nav__link .md-ellipsis {
  direction: rtl;
  text-align: right;
}
.md-header__title .md-header__topic,
.md-header__title .md-ellipsis {
  unicode-bidi: plaintext;
}

/* Better mixed RTL/LTR inline punctuation handling. */
.md-typeset a,
.md-typeset strong,
.md-typeset em {
  unicode-bidi: isolate;
}

/* Code and preformatted text must remain LTR. */
pre, code, kbd, samp,
.highlight, .codehilite,
.odt-code-rich,
.odt-code-rich * {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left !important;
}

/* RTL lists in MkDocs Material. */
.md-typeset ul,
.md-typeset ol,
html[dir="rtl"] .md-typeset ul,
html[dir="rtl"] .md-typeset ol {
  padding-right: 1.5em;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
}
.md-typeset li,
html[dir="rtl"] .md-typeset li {
  text-align: right;
}
.md-typeset blockquote {
  border-right: .2rem solid var(--md-default-fg-color--lighter);
  border-left: 0;
  padding-right: .8rem;
  padding-left: 0;
}

/* Tables follow RTL column order. Code tables remain LTR. */
.md-typeset table:not(.highlighttable),
.md-typeset table.odt-table,
html[dir="rtl"] .md-typeset table:not(.highlighttable) {
  direction: rtl;
  text-align: right;
}
.md-typeset table:not(.highlighttable) th,
.md-typeset table:not(.highlighttable) td,
.md-typeset table.odt-table th,
.md-typeset table.odt-table td {
  direction: rtl;
  text-align: right;
}
.md-typeset table.odt-table td:has(> img:only-child),
.md-typeset table.odt-table th:has(> img:only-child) {
  text-align: center;
}
.md-typeset table pre,
.md-typeset table code {
  direction: ltr !important;
  text-align: left !important;
}

figure, .md-typeset figure {
  text-align: center;
}
