/*
 * OneHLP legacy override layer (ADR-002). GENERATED: do not edit.
 * Dark and high-contrast colours for osTicket's own stylesheets.
 * Rebuild with: php scripts/build-legacy-theme.php
 */

/* ---- css/osticket.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) #loading {
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) #loading h4 {
  color: var(--oh-warning-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .non-local-image {
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) div.section-break {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .draft-saved {
  text-shadow: none;
}
:where([data-theme="dark"], [data-theme="contrast"]) .notice_bar {
  background-color: var(--oh-success-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) .warning_bar {
  background-color: var(--oh-warning-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) .error_bar {
  background-color: var(--oh-subtle);
}


/* ---- assets/default/css/theme.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) body,
:where([data-theme="dark"], [data-theme="contrast"]) input,
:where([data-theme="dark"], [data-theme="contrast"]) select,
:where([data-theme="dark"], [data-theme="contrast"]) textarea {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) hr {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) a,
:where([data-theme="dark"], [data-theme="contrast"]) .link {
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) h1 {
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) h2,
:where([data-theme="dark"], [data-theme="contrast"]) .subject {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .faded {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) #pagination li a:hover {
  color: var(--oh-danger);
}
:where([data-theme="dark"], [data-theme="contrast"]) #pagination .previousOff,
:where([data-theme="dark"], [data-theme="contrast"]) #pagination .nextOff {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) #pagination .active {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #msg_notice {
  background-color: var(--oh-success-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) #msg_warning,
:where([data-theme="dark"], [data-theme="contrast"]) .warning-banner {
  background-color: var(--oh-warning-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) #msg_error {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) #msg_info {
  color: var(--oh-primary-text);
  border-color: var(--oh-primary-border);
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .warning {
  background-color: var(--oh-warning-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) .warning strong {
  color: var(--oh-danger);
}
:where([data-theme="dark"], [data-theme="contrast"]) .error {
  color: var(--oh-danger);
}
:where([data-theme="dark"], [data-theme="contrast"]) .button,
:where([data-theme="dark"], [data-theme="contrast"]) .button:visited {
  text-shadow: none;
}
:where([data-theme="dark"], [data-theme="contrast"]) body {
  background-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #container {
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) #nav {
  border-top-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) #nav li a {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #nav li a.active,
:where([data-theme="dark"], [data-theme="contrast"]) #nav li a:hover {
  background-color: var(--oh-primary-soft);
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #nav li a:hover {
  background-color: var(--oh-subtle);
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #footer {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #footer a {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #faq ol {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #faq ol li {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) #faq ol li a {
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #faq ol li a:hover {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) #faq .article-meta {
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) #kb > li {
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #kb > li h4 span {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .featured-category i {
  text-shadow: none;
}
:where([data-theme="dark"], [data-theme="contrast"]) #kb-search #breadcrumbs {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #kb-search #breadcrumbs #breadcrumbs a {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketForm div input,
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin div input,
:where([data-theme="dark"], [data-theme="contrast"]) #ticketForm div textarea,
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin div textarea {
  border-color: var(--oh-border-strong);
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketForm td em,
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin td em,
:where([data-theme="dark"], [data-theme="contrast"]) #ticketForm div em,
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin div em {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketForm div.error label,
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin div.error label {
  color: var(--oh-danger);
}
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin {
  border-color: var(--oh-border);
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) #clientLogin strong {
  color: var(--oh-danger);
}
:where([data-theme="dark"], [data-theme="contrast"]) #reply {
  background-color: var(--oh-subtle);
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #reply input[type=text],
:where([data-theme="dark"], [data-theme="contrast"]) #reply #response_options textarea {
  border-color: var(--oh-border-strong);
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .Icon {
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketTable {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketTable caption {
  color: var(--oh-text);
  background-color: var(--oh-border);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketTable th {
  background-color: var(--oh-subtle);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketTable th a {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketTable td {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketTable tr.alt td {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) i.refresh {
  color: var(--oh-success-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .infoTable {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .action-button {
  color: var(--oh-text-muted) !important;
  border-color: var(--oh-border-strong);
  background-color: var(--oh-border);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .action-button span,
:where([data-theme="dark"], [data-theme="contrast"]) .action-button a {
  color: var(--oh-text-muted) !important;
}
:where([data-theme="dark"], [data-theme="contrast"]) .action-button a {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .external-auth-box {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .external-auth-icon {
  color: var(--oh-text);
  border-right-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .external-auth-name {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .sidebar .content {
  border-color: var(--oh-primary-border);
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .searchbar .search,
:where([data-theme="dark"], [data-theme="contrast"]) .search-form .search {
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) table.custom-data th {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) table .headline,
:where([data-theme="dark"], [data-theme="contrast"]) table.custom-data .headline {
  border-bottom-color: var(--oh-border);
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry .header {
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.avatar .header:before {
  border-left-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.response .header {
  background-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.avatar.response .header:after {
  border-left-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.message .header {
  background-color: var(--oh-primary-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.avatar.message .header:before {
  border-right-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.avatar.message .header:before {
  border-right-color: var(--oh-primary-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry.avatar.message .header:after {
  border-right-color: var(--oh-primary-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry .thread-body {
  border-color: var(--oh-border);
  border-bottom-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .attachments {
  background-color: var(--oh-subtle);
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .label {
  text-shadow: none;
}
:where([data-theme="dark"], [data-theme="contrast"]) .label-bare {
  border-color: var(--oh-border-strong);
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .type-icon {
  background-color: var(--oh-subtle);
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .type-icon.dark {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-event .type-icon::after {
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry::after {
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-entry::before {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketThread::before {
  border-left-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) #ticketThread {
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .freetext-files {
  border-color: var(--oh-border);
  background-color: var(--oh-subtle);
}


/* ---- css/typeahead.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .dropdown-menu {
  background-color: var(--oh-surface);
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .dropdown-menu .divider {
  background-color: var(--oh-border);
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .dropdown-menu a {
  color: var(--oh-text);
}


/* ---- css/ui-lightness/jquery-ui-1.13.2.custom.min.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .ui-selectable-helper {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget.ui-widget-content {
  border-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content {
  border-color: var(--oh-border);
  background-color: var(--oh-subtle);
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content a {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header {
  border-color: var(--oh-warning-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-default,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content .ui-state-default,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header .ui-state-default,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-button,
html:where([data-theme="dark"], [data-theme="contrast"]) .ui-button.ui-state-disabled:hover,
html:where([data-theme="dark"], [data-theme="contrast"]) .ui-button.ui-state-disabled:active {
  border-color: var(--oh-border);
  background-color: var(--oh-subtle);
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-default a,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-default a:link,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-default a:visited,
:where([data-theme="dark"], [data-theme="contrast"]) a.ui-button,
:where([data-theme="dark"], [data-theme="contrast"]) a:link.ui-button,
:where([data-theme="dark"], [data-theme="contrast"]) a:visited.ui-button,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-button {
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-hover,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content .ui-state-hover,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header .ui-state-hover,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-focus,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content .ui-state-focus,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header .ui-state-focus,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-button:hover,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-button:focus {
  border-color: var(--oh-warning-border);
  background-color: var(--oh-warning-soft);
  color: var(--oh-warning-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-hover a,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-hover a:hover,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-hover a:link,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-hover a:visited,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-focus a,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-focus a:hover,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-focus a:link,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-focus a:visited,
:where([data-theme="dark"], [data-theme="contrast"]) a.ui-button:hover,
:where([data-theme="dark"], [data-theme="contrast"]) a.ui-button:focus {
  color: var(--oh-warning-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-active,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content .ui-state-active,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header .ui-state-active,
:where([data-theme="dark"], [data-theme="contrast"]) a.ui-button:active,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-button:active,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-button.ui-state-active:hover {
  border-color: var(--oh-warning-border);
  background-color: var(--oh-surface);
  color: var(--oh-warning-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-icon-background,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-active .ui-icon-background {
  border-color: var(--oh-warning-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-active a,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-active a:link,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-active a:visited {
  color: var(--oh-warning-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-highlight,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content .ui-state-highlight,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header .ui-state-highlight {
  border-color: var(--oh-warning-border);
  background-color: var(--oh-warning-soft);
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-checked {
  border-color: var(--oh-warning-border);
  background-color: var(--oh-warning-soft);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-state-highlight a,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-content .ui-state-highlight a,
:where([data-theme="dark"], [data-theme="contrast"]) .ui-widget-header .ui-state-highlight a {
  color: var(--oh-text);
}


/* ---- css/jquery-ui-timepicker-addon.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input {
  border-bottom-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus {
  border-bottom-color: var(--oh-border-strong);
}


/* ---- css/thread.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body {
  color: var(--oh-text);
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body mark {
  background-color: var(--oh-warning-soft);
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body a:not(.button) {
  color: var(--oh-primary-text) !important;
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body a:not(.button):hover,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body a:not(.button):focus {
  color: var(--oh-primary-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body hr {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h1,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h2,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h3,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h4,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h5,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h6,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h1,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h2,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h3,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h4,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h5,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h6 {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h1 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h2 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h3 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h4 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h5 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body h6 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h1 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h2 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h3 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h4 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h5 small,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .h6 small {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body .page-header {
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body blockquote {
  border-left-color: var(--oh-border);
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body blockquote small {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body blockquote.pull-right {
  border-right-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table thead > tr > td,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table thead > tr > th,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table tr > th {
  background-color: var(--oh-subtle) !important;
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table thead > tr > th,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table tbody > tr > th,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table tfoot > tr > th,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table thead > tr > td,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table tbody > tr > td,
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table tfoot > tr > td {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table thead > tr > th {
  border-bottom-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table tbody + tbody {
  border-top-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body table table {
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .thread-body pre {
  background-color: var(--oh-subtle);
}


/* ---- css/rtl.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .rtl .action-button i.icon-caret-down {
  border-right-color: var(--oh-border-strong);
}


/* ---- css/select2.min.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .select2-dropdown {
  background-color: var(--oh-surface);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-close-mask {
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--single {
  background-color: var(--oh-surface);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--multiple {
  background-color: var(--oh-surface);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--oh-border);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-results__option[aria-disabled=true] {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--default .select2-results__option[aria-selected=true] {
  background-color: var(--oh-border);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--single {
  background-color: var(--oh-subtle);
  border-color: var(--oh-border-strong);
  background-image: none;
  background-color: var(--oh-surface);
  background-image: none;
  background-color: var(--oh-surface);
  background-image: none;
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--single .select2-selection__rendered {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--single .select2-selection__placeholder {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--single .select2-selection__arrow {
  background-color: var(--oh-border);
  border-left-color: var(--oh-border-strong);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--single .select2-selection__arrow b {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  border-right-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  background-image: none;
  background-color: var(--oh-surface);
  background-image: none;
  background-color: var(--oh-surface);
  background-image: none;
  background-color: var(--oh-surface);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
  background-image: none;
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--multiple {
  background-color: var(--oh-surface);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--multiple .select2-selection__choice {
  background-color: var(--oh-border);
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--oh-text);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-search--dropdown .select2-search__field {
  border-color: var(--oh-border-strong);
}
:where([data-theme="dark"], [data-theme="contrast"]) .select2-container--classic .select2-dropdown {
  background-color: var(--oh-surface);
}


/* ---- css/filedrop.css ---- */
:where([data-theme="dark"], [data-theme="contrast"]) .filedrop .dropzone {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .filedrop .files .file .filesize {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .filedrop .files .file .upload-rate {
  color: var(--oh-text-muted);
}
:where([data-theme="dark"], [data-theme="contrast"]) .progress {
  background-color: var(--oh-subtle);
}
:where([data-theme="dark"], [data-theme="contrast"]) .progress-bar[aria-valuenow="0"] {
  color: var(--oh-text-muted);
}

