/* Offerist cabinet dark theme — GENERATED by scripts/build_dark_theme.js. Do not edit.
   Palette tokens live in theme.css. Re-run the script after changing cabinet CSS. */

/* ---- system/templates/front/css/account-typography.css ---- */
html[data-theme="dark"] body[data-template] #offerist-pjax-content :is(.main__title.section-title, .template-library-modal__title) {
  color: var(--th-text) !important;
}

/* ---- system/templates/front/css/custom.css ---- */
html[data-theme="dark"] .prof-top {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .box-title {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .drop-container {
  color: var(--th-text);
}
html[data-theme="dark"] .drop-title {
  color: var(--th-text);
}
html[data-theme="dark"] .drop-container,
html[data-theme="dark"] .template-import__drop {
  background: var(--th-surface-2) !important;
  color: var(--th-text) !important;
}
html[data-theme="dark"] .drop-title,
html[data-theme="dark"] .template-import__drop-title {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .drop-subtitle,
html[data-theme="dark"] .template-import__drop-link {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .drop-hint {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .super-admin-page {
  --super-bg: var(--th-surface-2);
  --super-card: var(--th-surface);
  --super-border: hsla(214, 42%, 60%, 0.35);
  --super-text: var(--th-text);
  --super-muted: var(--th-text-muted);
}
html[data-theme="dark"] .super-metric,
html[data-theme="dark"] .super-card {
  background: rgba(var(--th-surface-rgb), 0.96);
}
html[data-theme="dark"] .super-admin-page input[type="text"],
html[data-theme="dark"] .super-admin-page input[type="number"],
html[data-theme="dark"] .super-admin-page input[type="file"],
html[data-theme="dark"] .super-admin-page select,
html[data-theme="dark"] .super-admin-page textarea {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-btn {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-table-tools {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-table {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-table th {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-table td {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .super-table tr:hover td {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-badge--success {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(143, 64%, 72%, 1);
}
html[data-theme="dark"] .super-badge--warning {
  background: hsla(48, 85%, 55%, 0.2);
  color: hsla(23, 83%, 72%, 1);
}
html[data-theme="dark"] .super-badge--danger {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .super-badge--primary {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .super-badge--muted,
html[data-theme="dark"] .super-badge--neutral {
  background: var(--th-surface-2);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .super-notice--success {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(143, 64%, 72%, 1);
}
html[data-theme="dark"] .super-notice--danger,
html[data-theme="dark"] .super-alert {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .super-settings-nav {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-settings-nav a:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .super-checkline {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-image-preview {
  border: 1px dashed hsla(213, 27%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-settings-alert {
  background: hsla(212, 85%, 55%, 0.2);
  border: 1px solid hsla(214, 85%, 60%, 0.35);
}
html[data-theme="dark"] .super-sticky-save {
  background: rgba(var(--th-surface-rgb), 0.92);
}
html[data-theme="dark"] .super-admin-page input[type="email"],
html[data-theme="dark"] .super-admin-page input[type="datetime-local"] {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-admin-summary-line {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .super-impersonate-card h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .super-impersonate-link {
  border: 1px solid hsla(214, 41%, 60%, 0.35);
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page {
  --so-text: var(--th-text);
  --so-border: var(--th-border);
}
html[data-theme="dark"] .sent-offers-head h1 {
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-head__count {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-card {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-btn--white {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .so-btn--danger {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .so-kpi--blue .so-kpi__icon {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi--violet .so-kpi__icon {
  background: hsla(251, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi--green .so-kpi__icon {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-kpi--orange .so-kpi__icon {
  background: hsla(33, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi strong {
  color: var(--th-text);
}
html[data-theme="dark"] .so-kpi em {
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-filter-head h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .so-filter-grid label {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-filter-grid input,
html[data-theme="dark"] .so-filter-grid select,
html[data-theme="dark"] .so-table-toolbar select,
html[data-theme="dark"] .so-period-panel input {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-table-toolbar {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-table th {
  background: var(--th-card-bg) !important;
  color: var(--th-text) !important;
  border-bottom: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] .so-table td {
  border-bottom: 1px solid var(--th-border) !important;
  color: hsla(215, 25%, 72%, 1);
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .so-table tbody tr:hover td {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .so-table a {
  color: var(--th-text);
}
html[data-theme="dark"] .so-actions .is-table__action {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-actions .is-table__action:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(213, 27%, 60%, 0.35) !important;
}
html[data-theme="dark"] .so-period-panel {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .top-breadcrumbs__link {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .top-breadcrumbs__link:hover {
  color: hsla(173, 79%, 72%, 1);
}
html[data-theme="dark"] .top-breadcrumbs__current {
  color: var(--th-text);
}
html[data-theme="dark"] body .top .top__status--right {
  color: var(--th-text);
}
html[data-theme="dark"] body .top .top__status--right b {
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__title {
  border-bottom: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__title input {
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__title input:hover,
html[data-theme="dark"] .so-date-range-picker__title input:focus {
  background: hsla(214, 85%, 55%, 0.2) !important;
}
html[data-theme="dark"] .so-date-range-picker__title input.is-invalid {
  background: hsla(0, 85%, 55%, 0.2) !important;
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .so-date-range-picker__presets {
  border-right: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-date-range-picker__presets button {
  border-bottom: 1px solid var(--th-border);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-date-range-picker__presets button:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__presets button.is-active {
  background: hsla(203, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-date-range-picker__usage {
  border: 1px solid hsla(214, 85%, 60%, 0.35);
  background: hsla(214, 85%, 55%, 0.2);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-calendar__month {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-calendar__nav button {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-calendar__nav button:hover:not(:disabled) {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-calendar__week span {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-calendar__day:hover:not(:disabled) {
  background: hsla(212, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-calendar__day.is-in-range {
  background: hsla(203, 85%, 55%, 0.2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-date-range-picker__footer {
  border-top: 1px solid var(--th-border);
}
@media(max-width:920px) {
  html[data-theme="dark"] .so-date-range-picker__presets {
    border-bottom: 1px solid var(--th-border);
  }
}
html[data-theme="dark"] .super-settings-save-card {
  background: rgba(var(--th-surface-rgb), 0.95);
}
html[data-theme="dark"] .so-table input[type="checkbox"] {
  border: 2px solid hsla(213, 27%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-table input[type="checkbox"]:checked:before {
  border-left: 2px solid var(--th-border);
  border-bottom: 2px solid var(--th-border);
}
html[data-theme="dark"] .sent-offers-page .so-chart-switch {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .sent-offers-page .so-chart-switch button:hover {
  background: hsla(226, 85%, 55%, 0.2);
}
html[data-theme="dark"] .sent-offers-page .so-kpi-tooltip {
  border: 1px solid var(--th-border);
  background: rgba(var(--th-surface-rgb), 0.96);
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page .so-kpi-tooltip__value {
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page .so-kpi-tooltip:after {
  background: rgba(var(--th-surface-rgb), 0.96);
  border-right: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}

/* ---- system/templates/front/css/dataTables.dataTables.min.css ---- */
html[data-theme="dark"] {
  --dt-html-background: var(--th-surface);
}
html[data-theme="dark"].dark table.dataTable td.dt-control:before,
html[data-theme="dark"][data-bs-theme=dark] table.dataTable td.dt-control:before,
html[data-theme="dark"][data-theme=dark] table.dataTable td.dt-control:before {
  border-left-color: var(--th-border);
}
html[data-theme="dark"].dark table.dataTable tr.dt-hasChild td.dt-control:before,
html[data-theme="dark"][data-bs-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before,
html[data-theme="dark"][data-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before {
  border-top-color: var(--th-border);
}
html[data-theme="dark"] table.dataTable thead>tr>th.dt-orderable-asc:hover,
html[data-theme="dark"] table.dataTable thead>tr>th.dt-orderable-desc:hover,
html[data-theme="dark"] table.dataTable thead>tr>td.dt-orderable-asc:hover,
html[data-theme="dark"] table.dataTable thead>tr>td.dt-orderable-desc:hover {
  outline: 2px solid var(--th-border);
}
html[data-theme="dark"].dark table.dataTable thead>tr>th.dt-orderable-asc:hover,
html[data-theme="dark"].dark table.dataTable thead>tr>th.dt-orderable-desc:hover,
html[data-theme="dark"].dark table.dataTable thead>tr>td.dt-orderable-asc:hover,
html[data-theme="dark"].dark table.dataTable thead>tr>td.dt-orderable-desc:hover,
html[data-theme="dark"][data-bs-theme=dark] table.dataTable thead>tr>th.dt-orderable-asc:hover,
html[data-theme="dark"][data-bs-theme=dark] table.dataTable thead>tr>th.dt-orderable-desc:hover,
html[data-theme="dark"][data-bs-theme=dark] table.dataTable thead>tr>td.dt-orderable-asc:hover,
html[data-theme="dark"][data-bs-theme=dark] table.dataTable thead>tr>td.dt-orderable-desc:hover {
  outline: 2px solid var(--th-border);
}
html[data-theme="dark"] table.dataTable>thead>tr>th,
html[data-theme="dark"] table.dataTable>thead>tr>td {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] table.dataTable>tfoot>tr>th,
html[data-theme="dark"] table.dataTable>tfoot>tr>td {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] table.dataTable>tbody>tr.selected a {
  color: var(--th-text);
}
html[data-theme="dark"] table.dataTable.row-border>tbody>tr>*,
html[data-theme="dark"] table.dataTable.display>tbody>tr>* {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] table.dataTable.cell-border>tbody>tr>* {
  border-top: 1px solid var(--th-border);
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] table.dataTable.cell-border>tbody>tr>*:first-child {
  border-left: 1px solid var(--th-border);
}
html[data-theme="dark"] table.dataTable.cell-border>tbody>tr:first-child>* {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] div.dt-container .dt-paging .dt-paging-button.current,
html[data-theme="dark"] div.dt-container .dt-paging .dt-paging-button.current:hover {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] div.dt-container .dt-paging .dt-paging-button.disabled,
html[data-theme="dark"] div.dt-container .dt-paging .dt-paging-button.disabled:hover,
html[data-theme="dark"] div.dt-container .dt-paging .dt-paging-button.disabled:active {
  color: rgba(var(--th-text-rgb), 0.5) !important;
}
html[data-theme="dark"] div.dt-container.dt-empty-footer tbody>tr:last-child>* {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] div.dt-container.dt-empty-footer .dt-scroll-body {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"].dark .dt-container .dt-search input,
html[data-theme="dark"].dark .dt-container .dt-length select {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"].dark .dt-container .dt-paging .dt-paging-button.disabled,
html[data-theme="dark"].dark .dt-container .dt-paging .dt-paging-button.disabled:hover,
html[data-theme="dark"].dark .dt-container .dt-paging .dt-paging-button.disabled:active {
  color: var(--th-text-muted) !important;
}

/* ---- system/templates/front/css/deckcraft-configurator.css ---- */
html[data-theme="dark"] #project-deckcraft-tools [data-deck-status] {
  color: hsla(157, 59%, 72%, 1);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-layout {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-tabs {
  background: var(--th-surface-2);
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-tab {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-tab.is-active {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-tab-select {
  color: var(--th-text);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-group {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-item:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-nav-caption {
  border-top: 1px solid hsla(215, 36%, 60%, 0.35);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-tab--chrome {
  background: hsla(208, 85%, 55%, 0.2);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tools-tab--chrome.is-active {
  background: hsla(208, 85%, 55%, 0.2);
}
html[data-theme="dark"] #project-deckcraft-tools .deck-tool-icon {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .deck-launch-mode {
  border: 1px solid hsla(217, 37%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .deck-launch-mode label {
  color: var(--th-text);
}
html[data-theme="dark"] .deck-launch-mode select {
  border: 1px solid hsla(215, 30%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .deck-build-dialog {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .deck-build-content h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .deck-build-stages span {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .deck-build-stages span.is-current {
  background: hsla(219, 85%, 55%, 0.2);
  border-color: hsla(218, 85%, 60%, 0.35);
}
html[data-theme="dark"] .deck-build-stages span.is-complete {
  color: hsla(154, 55%, 72%, 1);
  background: var(--th-surface-2);
  border-color: hsla(149, 48%, 60%, 0.35);
}
html[data-theme="dark"] .deck-build-hint {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .deck-build-footer {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .deck-build-reopen {
  border: 1px solid hsla(216, 58%, 60%, 0.35);
  background: hsla(217, 85%, 55%, 0.2);
  color: hsla(215, 50%, 72%, 1);
}
html[data-theme="dark"] .deck-build-reopen:hover {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] .deck-build-overlay[data-state="active"] [data-deck-build-result] {
  color: hsla(152, 66%, 72%, 1);
}

/* ---- system/templates/front/css/deckcraft-preview.css ---- */
html[data-theme="dark"] .dc-preview__panel {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .dc-preview__header {
  background: var(--th-card-bg);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .dc-preview__title {
  color: var(--th-text);
}
html[data-theme="dark"] .dc-preview__close {
  background: var(--th-surface-2);
  color: hsla(214, 23%, 72%, 1);
}
html[data-theme="dark"] .dc-preview__close:hover,
html[data-theme="dark"] .dc-preview__secondary:hover {
  background: hsla(212, 43%, 55%, 0.2);
}
html[data-theme="dark"] .dc-preview__content {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .dc-preview__slide-image {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .dc-preview__loading,
html[data-theme="dark"] .dc-preview__error {
  color: hsla(217, 17%, 72%, 1);
}
html[data-theme="dark"] .dc-preview__arrow {
  background: rgba(var(--th-surface-rgb), 0.96);
  border: 1px solid hsla(217, 35%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .dc-preview__arrow:hover:not(:disabled) {
  background: var(--th-card-bg);
  color: hsla(170, 90%, 72%, 1);
}
html[data-theme="dark"] .dc-preview__footer {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .dc-preview__secondary {
  background: var(--th-surface-2);
  color: hsla(217, 25%, 72%, 1);
}

/* ---- system/templates/front/css/deckcraft-templates.css ---- */
html[data-theme="dark"] .dc-library {
  color: var(--th-text);
}
html[data-theme="dark"] .dc-library__new--disabled {
  color: var(--th-text-muted) !important;
  background: hsla(212, 32%, 55%, 0.2);
}
html[data-theme="dark"] .dc-library__search {
  background: var(--th-card-bg);
  border: 1px solid hsla(214, 42%, 60%, 0.35);
}
html[data-theme="dark"] .dc-library__search input {
  color: var(--th-text);
}
html[data-theme="dark"] .dc-library__item {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .dc-library__picture {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .dc-library__picture > img {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .dc-library__cover-btn--delete {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .dc-library__cover-btn--delete:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .dc-library__cover-btn > img,
html[data-theme="dark"] .dc-library__cover-btn > svg {
  color: var(--th-text);
}
html[data-theme="dark"] .dc-cover-modal__dialog {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .dc-cover-modal__close {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .dc-cover-modal__zoom {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .dc-cover-modal__btn--cancel {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .dc-library__name {
  color: var(--th-text);
}
html[data-theme="dark"] .dc-library__format {
  background: hsla(217, 68%, 55%, 0.2);
}
html[data-theme="dark"] .dc-library__menu summary {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .dc-library__menu-body {
  background: var(--th-card-bg);
  border: 1px solid hsla(217, 43%, 60%, 0.35);
}
html[data-theme="dark"] .dc-library__menu-body a,
html[data-theme="dark"] .dc-library__menu-body button {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .dc-library__menu-body a:hover,
html[data-theme="dark"] .dc-library__menu-body button:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .dc-library__empty {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .dc-library__empty-icon {
  color: hsla(174, 67%, 72%, 1);
}

/* ---- system/templates/front/css/filemanager-popup.css ---- */
html[data-theme="dark"] .of-fm-popup {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-popup__panel {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__sidebar {
  background: linear-gradient(180deg,var(--th-surface),var(--th-surface-2));
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-popup__folder {
  color: hsla(213, 16%, 72%, 1);
}
html[data-theme="dark"] .of-fm-popup__folder:hover {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-popup__folder.is-active {
  background: hsla(165, 78%, 55%, 0.2);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-popup__bar {
  background: hsla(212, 43%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-popup__upgrade {
  color: hsla(169, 83%, 72%, 1);
}
html[data-theme="dark"] .of-fm-popup__tab {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__tab.is-active {
  background: hsla(165, 78%, 55%, 0.2);
  color: var(--th-text);
  border-color: hsla(167, 58%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-popup__drop {
  border: 2px dashed hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__drop.is-dragover {
  background: hsla(167, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-popup__search input {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__view {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-popup__view button {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__view button.is-active {
  background: hsla(165, 78%, 55%, 0.2);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-popup__item {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__thumb {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .of-fm-popup__table td {
  background: var(--th-card-bg);
  border-top: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-popup__table td:first-child {
  border-left: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-popup__table td:last-child {
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-popup__table-thumb {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .of-fm-ai__preview {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .of-fm-ai__result-actions button:nth-child(2) {
  background: hsla(212, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__result-actions button:nth-child(3) {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__status {
  border: 1px solid hsla(215, 85%, 60%, 0.35);
  background: hsla(212, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__prompt {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__counter.is-warning {
  color: hsla(26, 90%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__counter.is-limit {
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__log {
  border: 1px solid hsla(214, 47%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__log:hover {
  background: hsla(212, 85%, 55%, 0.2);
  border-color: hsla(217, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-popup__pane.is-active::-webkit-scrollbar-thumb {
  background: hsla(214, 31%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__prompt-chat {
  border: 1px solid var(--th-border);
  background: linear-gradient(180deg,var(--th-surface) 0%,var(--th-surface-2) 100%);
}
html[data-theme="dark"] .of-fm-ai__chat-head span {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__chat-reset {
  background: hsla(212, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__chat-avatar {
  background: hsla(164, 48%, 55%, 0.2);
  color: hsla(173, 88%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__chat-msg.is-user .of-fm-ai__chat-avatar {
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__chat-bubble {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__chat-input {
  border: 1px solid hsla(214, 43%, 60%, 0.35);
  color: var(--th-text);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__chat-use {
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__model-select {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__fullscreen:hover {
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-popup.is-fullscreen .of-fm-popup__fullscreen span:before {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__preview {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-ai__result-actions button[data-ai-delete] {
  background: hsla(356, 85%, 55%, 0.2) !important;
  color: hsla(345, 83%, 72%, 1) !important;
}
html[data-theme="dark"] .of-fm-ai-lightbox__body img {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai-lightbox__close {
  background: var(--th-card-bg);
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__generate-tip {
  background: var(--th-card-bg);
  border: 1px solid hsla(214, 47%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__generate-tip:before {
  background: var(--th-card-bg);
  border-left: 1px solid hsla(214, 47%, 60%, 0.35);
  border-bottom: 1px solid hsla(214, 47%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-ai__prompt-sticky {
  background: linear-gradient(180deg,rgba(var(--th-surface-rgb), 0.94),var(--th-surface) 28%,var(--th-surface) 100%);
}
html[data-theme="dark"] .of-fm-ai__chat-option {
  border: 1px solid hsla(210, 50%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__chat-option:hover {
  background: hsla(212, 85%, 55%, 0.2);
  border-color: hsla(218, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-popup__tab[data-tab="ai-icons"].is-active {
  background: hsla(217, 85%, 55%, 0.2);
  border-color: hsla(218, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-ai__prompt-sticky {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__counter {
  background: rgba(var(--th-surface-rgb), 0.88);
}
html[data-theme="dark"] .of-fm-popup__tokens {
  border: 1px solid hsla(168, 57%, 60%, 0.35);
  background: linear-gradient(180deg,hsla(164, 85%, 55%, 0.2),var(--th-surface));
}
html[data-theme="dark"] .of-fm-popup__tokens-head {
  color: hsla(173, 88%, 72%, 1);
}
html[data-theme="dark"] .of-fm-popup__tokens-head b {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__disabled {
  border: 1px solid hsla(214, 47%, 60%, 0.35);
  background: var(--th-surface-2);
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__lock {
  background: rgba(var(--th-surface-rgb), 0.78);
}
html[data-theme="dark"] .of-fm-ai__lock>div {
  border: 1px solid hsla(168, 57%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__lock b {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-token-pay__head {
  border: 1px solid var(--th-border);
  background: linear-gradient(180deg,var(--th-surface),var(--th-surface-2));
}
html[data-theme="dark"] .of-fm-token-pay__head span {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-token-pay__head button {
  background: hsla(212, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-token-pay__balance b {
  color: hsla(173, 88%, 72%, 1);
}
html[data-theme="dark"] .of-fm-token-card {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-token-card b {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-token-card em {
  color: hsla(173, 88%, 72%, 1);
}
html[data-theme="dark"] .of-fm-token-pay__summary {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-fm-token-pay__summary b {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__chat-toggle,
html[data-theme="dark"] .of-fm-ai__restart {
  border: 1px solid hsla(212, 52%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__chat-toggle:hover,
html[data-theme="dark"] .of-fm-ai__restart:hover {
  background: hsla(212, 85%, 55%, 0.2);
  border-color: hsla(217, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-ai__prompt-title {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__restart {
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-fm-ai__ready-card {
  border: 1px solid var(--th-border);
  background: linear-gradient(180deg,var(--th-surface) 0%,var(--th-surface-2) 100%);
}
html[data-theme="dark"] .of-fm-ai__ready-badge strong {
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__ready-note {
  border-top: 1px dashed hsla(208, 46%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-popup__pane[data-pane="ai"].is-result-ready .of-fm-ai__prompt-sticky {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-ai__prompt-chat.is-collapsed {
  border-color: hsla(212, 50%, 60%, 0.35);
  background: linear-gradient(180deg,var(--th-surface) 0%,var(--th-surface) 100%);
}
html[data-theme="dark"] .of-fm-popup__tabs .of-fm-ai__log--top {
  border: 1px solid hsla(214, 47%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-fm-popup__tabs .of-fm-ai__log--top:hover {
  background: hsla(212, 85%, 55%, 0.2);
  border-color: hsla(217, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-fm-popup__tabs {
  border: 1px solid hsla(168, 48%, 60%, 0.35);
  background: hsla(166, 85%, 55%, 0.16);
}
html[data-theme="dark"] .of-fm-popup__tab.is-active,
html[data-theme="dark"] .of-fm-popup__tab[data-tab="ai"].is-active,
html[data-theme="dark"] .of-fm-popup__tab[data-tab="ai-icons"].is-active {
  border-color: hsla(169, 27%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-fm-ai__cancel {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .of-fm-ai__cancel:hover {
  background: hsla(356, 85%, 55%, 0.2);
}
@media (max-width:760px) {
  html[data-theme="dark"] .of-fm-popup__tab,
html[data-theme="dark"] .of-fm-popup__tab.is-active {
    border-bottom-color: hsla(214, 47%, 60%, 0.35);
  }
}

/* ---- system/templates/front/css/form-ui.css ---- */
html[data-theme="dark"] .of-form-page__head h1,
html[data-theme="dark"] .entity-form-page__head h1 {
  color: var(--th-text);
}
html[data-theme="dark"] .of-form-card__title,
html[data-theme="dark"] .entity-card__title {
  color: var(--th-text);
}
html[data-theme="dark"] .of-form-card__icon,
html[data-theme="dark"] .entity-card__icon {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-form-card__icon--green,
html[data-theme="dark"] .entity-card__icon--green {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .of-form-card__icon--violet,
html[data-theme="dark"] .entity-card__icon--violet {
  background: hsla(261, 85%, 55%, 0.2);
}
html[data-theme="dark"] .of-form-field,
html[data-theme="dark"] .entity-field {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-form-field__label,
html[data-theme="dark"] .entity-field__label {
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-form-input,
html[data-theme="dark"] .entity-input,
html[data-theme="dark"] .of-form-select,
html[data-theme="dark"] .entity-select {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .of-form-empty,
html[data-theme="dark"] .entity-empty {
  border: 1px dashed hsla(217, 32%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-form-upload__label,
html[data-theme="dark"] .entity-upload__label {
  border: 2px dashed hsla(217, 32%, 60%, 0.35);
  background-color: var(--th-surface) !important;
}
html[data-theme="dark"] .of-form-upload__label:hover,
html[data-theme="dark"] .of-form-upload__label.is-dragover,
html[data-theme="dark"] .entity-upload__label:hover,
html[data-theme="dark"] .entity-upload__label.is-dragover {
  background-color: var(--th-surface-2) !important;
}
html[data-theme="dark"] .upload-photo--uploaded .of-form-upload__label,
html[data-theme="dark"] .upload-photo--uploaded .entity-upload__label {
  border-color: hsla(216, 38%, 60%, 0.35);
  background-color: var(--th-surface) !important;
}
html[data-theme="dark"] .upload-photo--uploaded .of-form-upload__label:before,
html[data-theme="dark"] .upload-photo--uploaded .entity-upload__label:before {
  background-color: var(--th-surface);
  background-image: linear-gradient(45deg,var(--th-surface-3) 25%,transparent 25%),linear-gradient(-45deg,var(--th-surface-3) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--th-surface-3) 75%),linear-gradient(-45deg,transparent 75%,var(--th-surface-3) 75%);
}
html[data-theme="dark"] .of-form-upload__title,
html[data-theme="dark"] .entity-upload__title {
  color: var(--th-text);
}
html[data-theme="dark"] .of-form-btn--white,
html[data-theme="dark"] .entity-btn--white {
  background: var(--th-card-bg);
  color: var(--th-text);
  border: 1px solid hsla(216, 38%, 60%, 0.35);
}
html[data-theme="dark"] .of-form-btn--tertiary,
html[data-theme="dark"] .entity-btn--tertiary {
  background: var(--th-card-bg);
  border: 1px solid hsla(216, 38%, 60%, 0.35);
}
html[data-theme="dark"] .of-form-btn--danger,
html[data-theme="dark"] .entity-btn--danger {
  background: var(--th-card-bg);
  border: 1px solid hsla(0, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-form-help,
html[data-theme="dark"] .entity-help {
  background: var(--th-card-bg);
}
@media(max-width:767px) {
  html[data-theme="dark"] .of-form-field__label,
html[data-theme="dark"] .entity-field__label {
    border-bottom: 1px solid var(--th-border);
  }
}
html[data-theme="dark"] .of-form-editable-table__table .is-table-div {
  border: 1px solid hsla(214, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-form-editable-table__table .is-table thead th {
  background: var(--th-card-bg);
  color: var(--th-text);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-form-editable-table__table .is-table tbody td {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-form-editable-table .is-table__action {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .category-static-params__copy .select-m {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .category-static-params .of-sortable-placeholder td {
  background: hsla(160, 79%, 55%, 0.2) !important;
}
html[data-theme="dark"] .of-form-field-block .of-form-input,
html[data-theme="dark"] .of-form-field-block .entity-input,
html[data-theme="dark"] .of-form-field-block .of-form-select,
html[data-theme="dark"] .of-form-field-block .entity-select {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-form-basic-row__label {
  color: var(--th-text);
}
html[data-theme="dark"] .of-form-basic-row .of-form-input,
html[data-theme="dark"] .of-form-basic-row .entity-input,
html[data-theme="dark"] .of-form-basic-row .of-form-select,
html[data-theme="dark"] .of-form-basic-row .entity-select {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .of-dynamic-params__table {
  border: 1px solid hsla(214, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-dynamic-params__table .so-table thead th {
  background: var(--th-card-bg);
  color: var(--th-text);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-dynamic-params__table .so-table tbody td {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-dynamic-params__table tbody tr:hover {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-dynamic-params__table tbody tr.ui-sortable-helper {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-dynamic-params .is-table__action {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
@media(max-width:767px) {
  html[data-theme="dark"] .of-company-fields .of-form-field__label,
html[data-theme="dark"] .of-company-fields .entity-field__label {
    border-bottom: 1px solid var(--th-border);
  }
}
html[data-theme="dark"] .of-form-btn--disabled {
  background: var(--th-surface-2) !important;
  border-color: var(--th-border) !important;
}
html[data-theme="dark"] .of-offer-view-summary {
  background: linear-gradient(180deg,var(--th-surface) 0%,var(--th-surface) 100%);
}
html[data-theme="dark"] .of-offer-view-summary h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .of-offer-view-summary__product {
  color: var(--th-text);
}
html[data-theme="dark"] .of-offer-view-status--ready {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .of-offer-view-status--missing {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .of-offer-view-creator__avatar {
  background: linear-gradient(180deg,hsla(214, 85%, 55%, 0.2),hsla(214, 85%, 55%, 0.2));
  border: 1px solid hsla(214, 53%, 60%, 0.35);
}
html[data-theme="dark"] .of-offer-view-creator__name {
  color: var(--th-text);
}
html[data-theme="dark"] .of-offer-view-contact-list {
  border: 1px solid hsla(214, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-offer-view-contact-list__row {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-offer-view-contact-list__icon {
  border-right: 1px solid var(--th-border);
  color: hsla(215, 19%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-offer-view-contact-list__value {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .of-offer-view-source__head-title {
  color: var(--th-text);
}
html[data-theme="dark"] .of-offer-view-source__card {
  border: 1px solid hsla(214, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-offer-view-source__media {
  background: linear-gradient(180deg,var(--th-surface) 0%,var(--th-surface-2) 100%);
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-offer-view-source__title {
  color: var(--th-text);
}
html[data-theme="dark"] .of-offer-view-sources__divider {
  background: hsla(214, 44%, 55%, 0.2);
}
html[data-theme="dark"] .of-offer-view-table {
  border: 1px solid hsla(214, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-offer-view-table__row {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-offer-view-table__label {
  background: var(--th-card-bg);
  border-right: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-offer-view-table__value {
  color: var(--th-text);
}
html[data-theme="dark"] .of-offer-view-empty {
  border: 1px dashed hsla(213, 27%, 60%, 0.35);
  background: var(--th-surface-2);
}
@media(max-width:767px) {
  html[data-theme="dark"] .of-offer-view-source__media {
    border-bottom: 1px solid var(--th-border);
  }
  html[data-theme="dark"] .of-offer-view-table__label {
    border-bottom: 1px solid var(--th-border);
  }
}
html[data-theme="dark"] .product-advantage {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .product-advantages__empty {
  border: 1px dashed hsla(217, 29%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .entity-card__icon--amber {
  background: hsla(42, 85%, 55%, 0.2);
  color: hsla(39, 90%, 72%, 1);
}

/* ---- system/templates/front/css/global-tooltips.css ---- */
html[data-theme="dark"] #offerist-global-tooltip {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] #offerist-global-tooltip.is-top #offerist-global-tooltip__arrow {
  border-right: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] #offerist-global-tooltip.is-bottom #offerist-global-tooltip__arrow {
  border-left: 1px solid var(--th-border);
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] #offerist-global-tooltip.is-left #offerist-global-tooltip__arrow {
  border-right: 1px solid var(--th-border);
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] #offerist-global-tooltip.is-right #offerist-global-tooltip__arrow {
  border-left: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}

/* ---- system/templates/front/css/jquery.fancybox.min.css ---- */
html[data-theme="dark"] .fancybox-content {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .fancybox-slide--map .fancybox-content {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .fancybox-slide--iframe .fancybox-content {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .fancybox-error {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .fancybox-error p {
  color: var(--th-text);
}
html[data-theme="dark"] .fancybox-button[disabled],
html[data-theme="dark"] .fancybox-button[disabled]:hover {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .fancybox-loading {
  border-bottom-color: var(--th-border);
}
html[data-theme="dark"] .fancybox-share {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .fancybox-share h1 {
  color: var(--th-text);
}
html[data-theme="dark"] .fancybox-share__input {
  border-bottom: 1px solid var(--th-border);
  color: var(--th-text-muted);
}
html[data-theme="dark"] .fancybox-thumbs {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track {
  background: var(--th-card-bg);
}

/* ---- system/templates/front/css/onboarding.css ---- */
html[data-theme="dark"] {
  --ob-ink: var(--th-text);
  --ob-border: hsla(214, 41%, 60%, 0.35);
}
html[data-theme="dark"] .offerist-onboarding-invite__card {
  border: 1px solid var(--th-border);
  background: linear-gradient(145deg,var(--th-surface) 0%,var(--th-surface-2) 100%);
}
html[data-theme="dark"] .offerist-onboarding-invite__badge {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] .offerist-onboarding-invite h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-onboarding-invite__lead {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .offerist-onboarding-invite__points li {
  border: 1px solid hsla(213, 53%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .offerist-onboarding-invite__points li:before {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .offerist-onboarding-btn--secondary {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .offerist-onboarding-popover {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .offerist-onboarding-popover h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-onboarding-popover__text {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .offerist-onboarding-popover__close {
  background: var(--th-surface-2);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .offerist-onboarding-popover__footer {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-onboarding-popover__arrow {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .offerist-onboarding-popover[data-placement="right"] .offerist-onboarding-popover__arrow {
  border-left: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-onboarding-popover[data-placement="left"] .offerist-onboarding-popover__arrow {
  border-right: 1px solid var(--th-border);
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-onboarding-popover[data-placement="bottom"] .offerist-onboarding-popover__arrow {
  border-left: 1px solid var(--th-border);
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-onboarding-popover[data-placement="top"] .offerist-onboarding-popover__arrow {
  border-right: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-onboarding-tour.is-intro .offerist-onboarding-popover,
html[data-theme="dark"] .offerist-onboarding-tour.is-finish .offerist-onboarding-popover {
  background: linear-gradient(145deg,var(--th-surface) 0%,var(--th-surface-2) 100%);
}
html[data-theme="dark"] .offerist-onboarding-tour.is-intro .offerist-onboarding-popover__eyebrow {
  background: hsla(217, 85%, 55%, 0.2);
}

/* ---- system/templates/front/css/password-ui.css ---- */
html[data-theme="dark"] .of-user-password-status strong {
  color: var(--th-text);
}
html[data-theme="dark"] .of-password-field {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .of-password-control input {
  border: 1px solid hsla(218, 31%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-password-eye:hover,
html[data-theme="dark"] .of-password-eye.is-visible,
html[data-theme="dark"] .super-password-eye:hover,
html[data-theme="dark"] .super-password-eye.is-visible {
  background: hsla(219, 85%, 55%, 0.2);
}

/* ---- system/templates/front/css/pjax.css ---- */
html[data-theme="dark"] [data-offerist-pjax-content].is-pjax-loading::after {
  background: linear-gradient(90deg, transparent, rgba(var(--th-surface-rgb), 0.62), transparent),
        rgba(248,250,252,.18);
}
html[data-theme="dark"] .offerist-pjax-recovery {
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-pjax-recovery__button--secondary {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(218, 24%, 72%, 1);
}

/* ---- system/templates/front/css/select-ui.css ---- */
html[data-theme="dark"] {
  --of-select-border: hsla(213, 38%, 60%, 0.35);
  --of-select-border-hover: hsla(213, 28%, 60%, 0.35);
  --of-select-text: hsla(215, 25%, 72%, 1);
  --of-select-bg: var(--th-surface);
  --of-select-option-hover: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] select.of-select:disabled {
  border-color: var(--th-border);
  background-color: var(--th-surface-2);
}
html[data-theme="dark"] select.of-select option {
  color: hsla(215, 25%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .select2-container.of-select.select2-container--disabled .select2-selection--single {
  border-color: var(--th-border) !important;
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .select2-container.of-select .select2-selection--multiple {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .select2-container.of-select .select2-selection--multiple .select2-selection__choice {
  border: 1px solid hsla(211, 49%, 60%, 0.35) !important;
  background: var(--th-surface-2) !important;
  color: hsla(215, 19%, 72%, 1) !important;
}
html[data-theme="dark"] .select2-container.of-select .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 1px solid hsla(211, 49%, 60%, 0.35) !important;
}
html[data-theme="dark"] .select2-container.of-select .select2-search--inline .select2-search__field {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .select2-dropdown.of-select-dropdown {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .select2-dropdown.of-select-dropdown .select2-search--dropdown {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .select2-dropdown.of-select-dropdown .select2-search--dropdown .select2-search__field {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .select2-dropdown.of-select-dropdown .select2-results__option {
  color: hsla(215, 25%, 72%, 1);
}

/* ---- system/templates/front/css/select2.min.css ---- */
html[data-theme="dark"] .select2-dropdown {
  background-color: var(--th-surface);
}
html[data-theme="dark"] .select2-close-mask {
  background-color: var(--th-surface);
}
html[data-theme="dark"] .select2-container--default .select2-selection--single {
  background-color: var(--th-surface);
}
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--th-text);
}
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .select2-container--default .select2-selection--multiple {
  background-color: var(--th-surface);
}
html[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
html[data-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
  background-color: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .select2-container--default .select2-results__option--disabled {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .select2-container--default .select2-results__option--selected {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--single {
  background-color: var(--th-surface-2);
  background-image: -webkit-linear-gradient(top, var(--th-surface) 50%, var(--th-surface-3) 100%);
  background-image: -o-linear-gradient(top, var(--th-surface) 50%, var(--th-surface-3) 100%);
  background-image: linear-gradient(to bottom, var(--th-surface) 50%, var(--th-surface-3) 100%);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--single .select2-selection__rendered {
  color: var(--th-text);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--single .select2-selection__placeholder {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--single .select2-selection__arrow {
  background-color: var(--th-surface-3);
  background-image: -webkit-linear-gradient(top, var(--th-surface-3) 50%, #ccc 100%);
  background-image: -o-linear-gradient(top, var(--th-surface-3) 50%, #ccc 100%);
  background-image: linear-gradient(to bottom, var(--th-surface-3) 50%, #ccc 100%);
}
html[data-theme="dark"] .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  background-image: -webkit-linear-gradient(top, var(--th-surface) 0%, var(--th-surface-3) 50%);
  background-image: -o-linear-gradient(top, var(--th-surface) 0%, var(--th-surface-3) 50%);
  background-image: linear-gradient(to bottom, var(--th-surface) 0%, var(--th-surface-3) 50%);
}
html[data-theme="dark"] .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  background-image: -webkit-linear-gradient(top, var(--th-surface-3) 50%, var(--th-surface) 100%);
  background-image: -o-linear-gradient(top, var(--th-surface-3) 50%, var(--th-surface) 100%);
  background-image: linear-gradient(to bottom, var(--th-surface-3) 50%, var(--th-surface) 100%);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--multiple {
  background-color: var(--th-surface);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--multiple .select2-selection__choice {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--th-text);
}
html[data-theme="dark"] .select2-container--classic .select2-dropdown {
  background-color: var(--th-surface);
}
html[data-theme="dark"] .select2-container--classic .select2-results__option--disabled {
  color: var(--th-text-muted);
}

/* ---- system/templates/front/css/sidebar-navigation.css ---- */
html[data-theme="dark"] .sidebar .menu__link:hover {
  border-color: var(--th-border) !important;
}

/* ---- system/templates/front/css/styles.css ---- */
html[data-theme="dark"] {
  --default-color: var(--th-text);
  --purple-color: var(--th-text);
  --sidebar-color: var(--th-text);
  --background-color: var(--th-surface-2);
  --stroke: var(--th-border);
}
html[data-theme="dark"] .btn--gray {
  background: var(--th-card-bg);
  color: var(--th-text);
  border: 1px solid hsla(210, 38%, 60%, 0.35);
}
html[data-theme="dark"] .btn--gray:hover {
  background: var(--th-surface-2);
  color: hsla(177, 82%, 72%, 1);
}
html[data-theme="dark"] .input-class {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .input-class::placeholder {
  color: rgba(var(--th-text-rgb), 0.5);
}
html[data-theme="dark"] .input-class[disabled] {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .is-table tbody tr:not(:last-child),
html[data-theme="dark"] .is-table thead tr {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .is-table th {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .is-table tbody tr:nth-child(2n) {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .is-table__action {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .is-table tbody tr:nth-child(2n) .is-table__action,
html[data-theme="dark"] .is-table tbody tr:hover .is-table__action {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .balert {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .xalert {
  border-color: hsla(153, 31%, 60%, 0.35);
}
html[data-theme="dark"] .xalert-warning {
  color: var(--th-text);
  background: hsla(46, 85%, 55%, 0.2);
}
html[data-theme="dark"] .menu__item--active .menu__link {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .top {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .top__burger svg path {
  stroke: var(--th-text);
}
html[data-theme="dark"] .dropdown__content {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .dropdown__link:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .modal__box {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .modal__close svg path {
  fill: var(--th-text);
}
html[data-theme="dark"] .select2-container--default .select2-selection .select2-selection__rendered {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .group__item-value {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .upload-photo {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .gs-utl-flex-col {
  background: var(--th-surface-3);
}
html[data-theme="dark"] div[style*="color-scheme: initial !important"] {
  color: var(--th-text);
}
html[data-theme="dark"] .studio {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .studio__loading {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .studio__loading-text {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .template__box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template__image {
  border: 7px solid var(--th-border);
  background: linear-gradient(110deg, var(--th-surface-2) 8%, var(--th-surface-2) 18%, var(--th-surface-2) 33%);
}
html[data-theme="dark"] .template__image>img {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .gs-block-manager__category .gs-block-item {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .gs-block-manager__category .gs-cmp-accordion-handler {
  border-bottom: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] .make__template-box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .make__template-image {
  background: var(--th-card-bg);
  border: 7px solid var(--th-border);
}
html[data-theme="dark"] .make__products {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .make__product {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .offer__box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .make__progress-line {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .make__preview-page-title {
  color: var(--th-text);
}
html[data-theme="dark"] .make__preview canvas,
html[data-theme="dark"] .make__preview>canvas {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .make__preview-status--error {
  border: 1px solid hsla(0, 85%, 60%, 0.35);
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .make__preview-status--error small {
  color: hsla(0, 63%, 72%, 1);
}
html[data-theme="dark"] .make__preview-html-frame {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .top-alert-ico {
  color: var(--th-text);
}
html[data-theme="dark"] .xlog table {
  background: var(--th-card-bg);
  border-top: 1px solid var(--th-border);
  border-left: 1px solid var(--th-border);
}
html[data-theme="dark"] .xlog th,
html[data-theme="dark"] .xlog td {
  border-right: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .nav__box {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .pay-tabs .main__actions {
  border: 1px solid hsla(168, 48%, 60%, 0.35);
  background: hsla(166, 85%, 55%, 0.16);
}
html[data-theme="dark"] .pay-tabs .main__action-btn.btn--purple {
  background: var(--th-card-bg);
  border-color: hsla(176, 23%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .pay-tabs .main__action-btn.btn--purple:hover {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .fm__item-box {
  background: var(--th-surface-2);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .fm__item-date {
  color: rgba(var(--th-text-rgb), 0.5);
}
html[data-theme="dark"] .rates__tab {
  background: var(--th-surface-2);
  color: var(--th-text-muted);
}
html[data-theme="dark"] .rates__tab i {
  color: hsla(101, 90%, 72%, 1);
}
html[data-theme="dark"] .rates__box {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .rates__stitle {
  color: var(--th-text);
}
html[data-theme="dark"] .rates__cost-value>i {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .menu__item--adm {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .gjs-cv-canvas__frames {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .gs-block-manager__category .gs-cmp-accordion-handler:hover {
  background-color: var(--th-surface-3);
}
html[data-theme="dark"] .make__preview canvas {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .make__preview-html-frame {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-html-frame {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make__preview-page-title {
  color: var(--th-text) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .make__preview-html-frame {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .sent-offers-page {
  --so-border: var(--th-border);
  --so-text: var(--th-text);
  --so-bg: var(--th-surface-2);
}
html[data-theme="dark"] .sent-offers-title {
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-subtitle {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .dashboard-card {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-btn,
html[data-theme="dark"] .so-period {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .so-btn:hover,
html[data-theme="dark"] .so-period:hover {
  border-color: hsla(213, 27%, 60%, 0.35);
}
html[data-theme="dark"] .so-btn--danger {
  background: hsla(0, 85%, 55%, 0.2);
  border-color: hsla(0, 85%, 60%, 0.35);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .so-period-popover {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-period-popover__presets button,
html[data-theme="dark"] .so-quick button,
html[data-theme="dark"] .so-tags button {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-period-popover__presets button:hover,
html[data-theme="dark"] .so-quick button:hover,
html[data-theme="dark"] .so-tags button:hover {
  color: hsla(175, 77%, 72%, 1);
  background: hsla(152, 81%, 55%, 0.2);
}
html[data-theme="dark"] .so-period-popover label,
html[data-theme="dark"] .so-field {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-period-popover input,
html[data-theme="dark"] .so-field select,
html[data-theme="dark"] .so-per-page select,
html[data-theme="dark"] .so-card-head select {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .so-kpi-card__icon {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi-card--purple .so-kpi-card__icon {
  background: hsla(248, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi-card--green .so-kpi-card__icon {
  background: hsla(152, 81%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-kpi-card--orange .so-kpi-card__icon {
  background: hsla(33, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi-card__value {
  color: var(--th-text);
}
html[data-theme="dark"] .so-kpi-card__change {
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-card-head h3,
html[data-theme="dark"] .so-filters__head h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .so-chart-labels text {
  fill: var(--th-text-muted);
}
html[data-theme="dark"] .so-bar-row {
  color: var(--th-text);
}
html[data-theme="dark"] .so-bar-row i {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .so-donut {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .so-donut:after {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-donut-item {
  color: var(--th-text);
}
html[data-theme="dark"] .so-donut-item em {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-field select {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-quick {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-tags button {
  background: hsla(183, 85%, 55%, 0.2);
  border-color: hsla(186, 85%, 60%, 0.35);
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] .so-per-page {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-table th {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .so-table td {
  border-bottom: 1px solid var(--th-border);
  color: hsla(215, 25%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-table tr:hover td {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-table td a {
  color: var(--th-text);
}
html[data-theme="dark"] .so-product-cell img,
html[data-theme="dark"] .so-product-empty {
  background: var(--th-surface-2);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .so-product-cell b {
  color: var(--th-text);
}
html[data-theme="dark"] .so-status {
  background: color-mix(in srgb, var(--status-color) 15%, var(--th-surface));
}
@supports not (background: color-mix(in srgb, red 15%, white)) {
  html[data-theme="dark"] .so-status {
    background: hsla(152, 81%, 55%, 0.2);
  }
}
html[data-theme="dark"] .so-action {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .so-action:hover {
  border-color: hsla(213, 27%, 60%, 0.35);
}
html[data-theme="dark"] .so-action--danger {
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .so-pagination__buttons button,
html[data-theme="dark"] .so-pagination__buttons span {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .so-pagination__buttons span {
  color: hsla(175, 77%, 72%, 1);
  background: hsla(152, 81%, 55%, 0.2);
}
html[data-theme="dark"] .so-empty {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-modal__box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-check {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-managed-table-card {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-table-toolbar {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-table-toolbar__selected {
  color: var(--th-text);
}
html[data-theme="dark"] .of-table-btn {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-table-btn:hover {
  border-color: hsla(213, 27%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .of-table-btn--danger {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
  border-color: hsla(0, 85%, 60%, 0.35);
}
html[data-theme="dark"] .of-table-btn--danger:not(:disabled):hover {
  background: hsla(0, 85%, 55%, 0.2);
  border-color: hsla(0, 85%, 60%, 0.35);
  color: hsla(0, 63%, 72%, 1);
}
html[data-theme="dark"] .of-table-toolbar label {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .of-table-toolbar select {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-managed-table-card .dataTables_filter input {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
}
html[data-theme="dark"] .of-managed-table-card .paginate_button {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .of-managed-table-card .paginate_button.current {
  background: hsla(183, 85%, 55%, 0.2) !important;
  color: hsla(175, 77%, 72%, 1) !important;
}
html[data-theme="dark"] .of-modern-table {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-modern-table th {
  background: var(--th-card-bg) !important;
  color: var(--th-text) !important;
  border-bottom: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] .of-modern-table td {
  border-bottom: 1px solid var(--th-border) !important;
  color: hsla(215, 25%, 72%, 1);
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-modern-table tbody tr:hover td {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .of-modern-table a {
  color: var(--th-text);
}
html[data-theme="dark"] .of-modern-table a:hover {
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] .of-modern-table input[type="checkbox"] {
  border: 2px solid hsla(213, 27%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-modern-table input[type="checkbox"]:checked:before {
  border-left: 2px solid var(--th-border);
  border-bottom: 2px solid var(--th-border);
}
html[data-theme="dark"] .of-modern-table .is-table__action {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .of-modern-table .is-table__action:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(213, 27%, 60%, 0.35) !important;
}
html[data-theme="dark"] .of-modern-table .is-table__action--delete {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-modern-table .is-table__action--delete:hover {
  background: hsla(0, 85%, 55%, 0.2) !important;
  border-color: hsla(0, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .of-sortable-helper {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-sortable-helper td {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-sortable-placeholder td {
  background: hsla(183, 85%, 55%, 0.2) !important;
}
html[data-theme="dark"] .of-sortable-helper-table {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-sortable-helper-table tr,
html[data-theme="dark"] .of-sortable-helper-table td {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-sortable-placeholder td {
  background: hsla(183, 85%, 55%, 0.2) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__row--make {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 .edit__group,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 .group {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--2 {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .main {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .main__in {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3.proccess {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__row--make {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 .edit__group,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 .group {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--2,
html[data-theme="dark"] [data-template="offers/make"] .edit__row--make .edit__col--2 {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-title-row > span {
  color: var(--th-text) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-pdf-native-wrap {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-pdf-native-toolbar {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-pdf-native-frame {
  background: var(--th-surface-3) !important;
}
@supports selector(.main:has(#make_3.proccess)) {
  html[data-theme="dark"] [data-template="offers/make"] .main:has(#make_3.proccess) {
    background: var(--th-surface-3) !important;
  }
  html[data-theme="dark"] [data-template="offers/make"] .main:has(#make_3.proccess) .main__in {
    background: var(--th-surface-3) !important;
  }
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-html-wrap,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview canvas,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-pdf-native-wrap {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-html-frame {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make--loading {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .make--loading .make__load {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .make--loading .make__load-image {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .is-table__action,
html[data-theme="dark"] .of-modern-table .is-table__action,
html[data-theme="dark"] .template-card-icon-btn,
html[data-theme="dark"] .template-card-settings-btn,
html[data-theme="dark"] .template-card-delete-btn {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table tbody tr:nth-child(2n) .is-table__action,
html[data-theme="dark"] .is-table tbody tr:hover .is-table__action,
html[data-theme="dark"] .of-modern-table tbody tr:nth-child(2n) .is-table__action,
html[data-theme="dark"] .of-modern-table tbody tr:hover .is-table__action {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .is-table__action:hover,
html[data-theme="dark"] .of-modern-table .is-table__action:hover,
html[data-theme="dark"] .template-card-icon-btn:hover,
html[data-theme="dark"] .template-card-settings-btn:hover,
html[data-theme="dark"] .template-card-delete-btn:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(213, 27%, 60%, 0.35) !important;
  color: var(--th-text) !important;
}
html[data-theme="dark"] .is-table__action--edit,
html[data-theme="dark"] .template-card-settings-btn {
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--edit:hover,
html[data-theme="dark"] .template-card-settings-btn:hover {
  background: hsla(152, 81%, 55%, 0.2) !important;
  border-color: hsla(152, 76%, 60%, 0.35) !important;
  color: hsla(163, 90%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--delete:hover,
html[data-theme="dark"] .of-modern-table .is-table__action--delete:hover,
html[data-theme="dark"] .template-card-delete-btn:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(0, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table__action--copy:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(251, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .so-action--view,
html[data-theme="dark"] .so-action--copy,
html[data-theme="dark"] .so-action--delete,
html[data-theme="dark"] .so-action--danger {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--view:hover,
html[data-theme="dark"] .so-action--view:hover {
  background: hsla(214, 85%, 55%, 0.2) !important;
  border-color: hsla(213, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table__action--copy:hover,
html[data-theme="dark"] .so-action--copy:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(251, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table__action--delete:hover,
html[data-theme="dark"] .template-card-delete-btn:hover,
html[data-theme="dark"] .so-action--delete:hover,
html[data-theme="dark"] .so-action--danger:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(0, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table__action--edit,
html[data-theme="dark"] .is-table__action--copy,
html[data-theme="dark"] .is-table__action--delete,
html[data-theme="dark"] .is-table__action--view,
html[data-theme="dark"] .template-card-settings-btn,
html[data-theme="dark"] .template-card-delete-btn,
html[data-theme="dark"] .so-action--view,
html[data-theme="dark"] .so-action--copy,
html[data-theme="dark"] .so-action--delete,
html[data-theme="dark"] .so-action--danger {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--copy,
html[data-theme="dark"] .so-action--copy {
  color: hsla(215, 19%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--view,
html[data-theme="dark"] .so-action--view {
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .template-card-settings-btn,
html[data-theme="dark"] .is-table__action--edit {
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--edit:hover,
html[data-theme="dark"] .template-card-settings-btn:hover {
  background: hsla(152, 81%, 55%, 0.2) !important;
  border-color: hsla(152, 76%, 60%, 0.35) !important;
  color: hsla(163, 90%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table__action--copy:hover,
html[data-theme="dark"] .so-action--copy:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(251, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table__action--view:hover,
html[data-theme="dark"] .so-action--view:hover {
  background: hsla(214, 85%, 55%, 0.2) !important;
  border-color: hsla(213, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table__action--delete:hover,
html[data-theme="dark"] .template-card-delete-btn:hover,
html[data-theme="dark"] .so-action--delete:hover,
html[data-theme="dark"] .so-action--danger:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(0, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .template__edit {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .template__edit:hover {
  background: hsla(152, 81%, 55%, 0.2) !important;
  border-color: hsla(152, 76%, 60%, 0.35) !important;
  color: hsla(163, 90%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table .is-table__action,
html[data-theme="dark"] .of-modern-table .is-table__action,
html[data-theme="dark"] .of-table-actions .is-table__action,
html[data-theme="dark"] .template-card-icon-btn,
html[data-theme="dark"] .template-card-settings-btn,
html[data-theme="dark"] .template-card-delete-btn,
html[data-theme="dark"] .so-action,
html[data-theme="dark"] .so-action--view,
html[data-theme="dark"] .so-action--copy,
html[data-theme="dark"] .so-action--delete,
html[data-theme="dark"] .so-action--danger {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table .is-table__action--edit:hover,
html[data-theme="dark"] .of-modern-table .is-table__action--edit:hover,
html[data-theme="dark"] .of-table-actions .is-table__action--edit:hover,
html[data-theme="dark"] .template-card-settings-btn:hover,
html[data-theme="dark"] .template-settings-card-btn:hover {
  background: hsla(152, 81%, 55%, 0.2) !important;
  border-color: hsla(152, 76%, 60%, 0.35) !important;
  color: hsla(163, 90%, 72%, 1) !important;
}
html[data-theme="dark"] .is-table .is-table__action--copy:hover,
html[data-theme="dark"] .of-modern-table .is-table__action--copy:hover,
html[data-theme="dark"] .of-table-actions .is-table__action--copy:hover,
html[data-theme="dark"] .so-action--copy:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(251, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table .is-table__action--view:hover,
html[data-theme="dark"] .of-modern-table .is-table__action--view:hover,
html[data-theme="dark"] .of-table-actions .is-table__action--view:hover,
html[data-theme="dark"] .so-action--view:hover {
  background: hsla(214, 85%, 55%, 0.2) !important;
  border-color: hsla(213, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .is-table .is-table__action--delete:hover,
html[data-theme="dark"] .of-modern-table .is-table__action--delete:hover,
html[data-theme="dark"] .of-table-actions .is-table__action--delete:hover,
html[data-theme="dark"] .template-card-delete-btn:hover,
html[data-theme="dark"] .so-action--delete:hover,
html[data-theme="dark"] .so-action--danger:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(0, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .modal__close,
html[data-theme="dark"] .modal-box-close,
html[data-theme="dark"] .arcticmodal-close,
html[data-theme="dark"] .fancybox-close-small,
html[data-theme="dark"] .fancybox-button[data-fancybox-close],
html[data-theme="dark"] .fancybox-button.fancybox-close-small,
html[data-theme="dark"] .template-create-modal__close,
html[data-theme="dark"] .template-library-modal__close,
html[data-theme="dark"] .ai-template-modal__close,
html[data-theme="dark"] .office-template-modal__close,
html[data-theme="dark"] .office-vars-modal__close,
html[data-theme="dark"] .template-custom-create-modal__close,
html[data-theme="dark"] .template-settings-modal__close,
html[data-theme="dark"] .tpl-preview-modal__close,
html[data-theme="dark"] .tpl-preview-crop-modal__close,
html[data-theme="dark"] .tpl-page-preview-modal__close,
html[data-theme="dark"] .tariff-limit-modal__close,
html[data-theme="dark"] .of-fm-popup__close,
html[data-theme="dark"] .of-fm-ai-lightbox__close,
html[data-theme="dark"] .super-rate-modal__close {
  border: 1px solid hsla(216, 38%, 60%, 0.35) !important;
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .modal__close:hover,
html[data-theme="dark"] .modal-box-close:hover,
html[data-theme="dark"] .arcticmodal-close:hover,
html[data-theme="dark"] .fancybox-close-small:hover,
html[data-theme="dark"] .fancybox-button[data-fancybox-close]:hover,
html[data-theme="dark"] .fancybox-button.fancybox-close-small:hover,
html[data-theme="dark"] .template-create-modal__close:hover,
html[data-theme="dark"] .template-library-modal__close:hover,
html[data-theme="dark"] .ai-template-modal__close:hover,
html[data-theme="dark"] .office-template-modal__close:hover,
html[data-theme="dark"] .office-vars-modal__close:hover,
html[data-theme="dark"] .template-custom-create-modal__close:hover,
html[data-theme="dark"] .template-settings-modal__close:hover,
html[data-theme="dark"] .tpl-preview-modal__close:hover,
html[data-theme="dark"] .tpl-preview-crop-modal__close:hover,
html[data-theme="dark"] .tpl-page-preview-modal__close:hover,
html[data-theme="dark"] .tariff-limit-modal__close:hover,
html[data-theme="dark"] .of-fm-popup__close:hover,
html[data-theme="dark"] .of-fm-ai-lightbox__close:hover,
html[data-theme="dark"] .super-rate-modal__close:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(213, 27%, 60%, 0.35) !important;
  color: var(--th-text) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--2,
html[data-theme="dark"] [data-template="offers/make"] .edit__row--make .edit__col--2 {
  background: var(--th-surface-3) !important;
}
@media (max-width: 760px) {
  html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-inline-field .of-form-field__label,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-inline-field .entity-field__label {
    border-bottom: 1px solid var(--th-border) !important;
  }
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-client-field .select2-selection__rendered {
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-container--open .select2-dropdown {
  border: 1px solid hsla(216, 38%, 60%, 0.35) !important;
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-container--open .select2-dropdown--below {
  border-top: 1px solid hsla(216, 38%, 60%, 0.35) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-container--open .select2-dropdown--above {
  border-bottom: 1px solid hsla(216, 38%, 60%, 0.35) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-search--dropdown {
  background: var(--th-card-bg) !important;
  border-bottom: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-search--dropdown .select2-search__field {
  border: 1px solid hsla(216, 38%, 60%, 0.35) !important;
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-results__options {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-results__option {
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-results__option + .select2-results__option {
  border-top: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--th-card-bg) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] [data-template="offers/make"] .select2-results__option[aria-selected="true"],
html[data-theme="dark"] [data-template="offers/make"] .select2-results__option--selected {
  background: var(--th-surface-2) !important;
  color: hsla(215, 25%, 72%, 1) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-html-wrap,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview canvas,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-pdf-native-wrap {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-html-frame {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-endnote-title {
  color: var(--th-text) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__preview-endnote-text {
  color: var(--th-text-muted) !important;
}
@media (max-width: 760px) {
  html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-inline-field .of-form-field__label,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-inline-field .entity-field__label {
    border-bottom: 1px solid var(--th-border) !important;
  }
}

/* ---- system/templates/front/css/support.css ---- */
html[data-theme="dark"] .support-page {
  --support-ink: var(--th-text);
  --support-border: hsla(217, 39%, 60%, 0.35);
  --support-surface: var(--th-surface);
  --support-bg: var(--th-surface-2);
}
html[data-theme="dark"] .support-page__heading h1 {
  color: var(--th-text);
}
html[data-theme="dark"] .support-secondary-button {
  border: 1px solid hsla(215, 39%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-secondary-button:hover {
  border-color: hsla(215, 34%, 60%, 0.35);
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .support-workspace {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-sidebar-panel {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-status-tab {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-status-tab span {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-status-tab:hover {
  border-color: hsla(215, 38%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .support-user-filter select {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .support-user-filter select:focus {
  border-color: hsla(223, 85%, 60%, 0.35);
}
html[data-theme="dark"] .support-search input {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .support-search input:focus {
  border-color: hsla(223, 85%, 60%, 0.35);
}
html[data-theme="dark"] .support-search>a:hover {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-ticket-card {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-ticket-card:hover {
  border-color: hsla(214, 43%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-ticket-card.is-active {
  border-color: hsla(224, 85%, 60%, 0.35);
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .support-ticket-card.has-unread strong {
  color: var(--th-text);
}
html[data-theme="dark"] .support-ticket-card>strong {
  color: var(--th-text);
}
html[data-theme="dark"] .support-ticket-list__empty-icon {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-ticket-list__empty strong {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .support-conversation-panel {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-conversation-header {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-conversation-header h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .support-status-badge--open {
  background: hsla(146, 53%, 55%, 0.2);
  color: hsla(152, 71%, 72%, 1);
}
html[data-theme="dark"] .support-status-badge--closed {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-resolve-button {
  border: 1px solid hsla(147, 51%, 60%, 0.35);
  background: var(--th-surface-2);
  color: hsla(151, 73%, 72%, 1);
}
html[data-theme="dark"] .support-resolve-button:hover {
  background: hsla(146, 62%, 55%, 0.2);
  color: var(--th-text);
}
html[data-theme="dark"] .support-message__author strong {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-message__bubble {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .support-message--user .support-message__bubble {
  border-color: hsla(218, 85%, 60%, 0.35);
  background: hsla(216, 85%, 55%, 0.2);
  color: hsla(217, 53%, 72%, 1);
}
html[data-theme="dark"] .support-file-chip {
  border: 1px solid hsla(215, 39%, 60%, 0.35);
  background: rgba(var(--th-surface-rgb), 0.9);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-file-chip:hover {
  color: var(--th-text);
}
html[data-theme="dark"] .support-reply-composer {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-reply-composer textarea {
  border: 1px solid hsla(215, 39%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .support-reply-composer textarea:focus {
  border-color: hsla(223, 85%, 60%, 0.35);
}
html[data-theme="dark"] .support-selected-file {
  border: 1px solid hsla(215, 37%, 60%, 0.35);
  background: var(--th-surface-2);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .support-create-card {
  border: 1px solid hsla(215, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-create-card__icon {
  background: hsla(220, 85%, 55%, 0.2);
}
html[data-theme="dark"] .support-create-card__intro h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .support-field>span {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-field input,
html[data-theme="dark"] .support-field textarea {
  border: 1px solid hsla(215, 39%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .support-field input:focus,
html[data-theme="dark"] .support-field textarea:focus {
  border-color: hsla(223, 85%, 60%, 0.35);
}
html[data-theme="dark"] .support-closed-banner {
  border-top: 1px solid hsla(212, 37%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-closed-banner>svg {
  background: hsla(148, 59%, 55%, 0.2);
  color: hsla(152, 71%, 72%, 1);
}
html[data-theme="dark"] .support-closed-banner strong {
  color: hsla(150, 64%, 72%, 1);
}
html[data-theme="dark"] .support-empty-conversation__icon {
  background: hsla(220, 85%, 55%, 0.2);
}
html[data-theme="dark"] .support-empty-conversation h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .support-system-message--warning {
  background: hsla(44, 85%, 55%, 0.2);
  color: hsla(42, 81%, 72%, 1);
}
html[data-theme="dark"] .support-system-message--error {
  border: 1px solid hsla(0, 71%, 60%, 0.35);
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 58%, 72%, 1);
}
html[data-theme="dark"] .support-access-denied {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 58%, 72%, 1);
}
html[data-theme="dark"] .support-delete-button {
  border: 1px solid hsla(0, 85%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-delete-button:hover {
  border-color: hsla(0, 85%, 60%, 0.35);
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 69%, 72%, 1);
}
html[data-theme="dark"] .support-delete-confirm__dialog {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-delete-confirm__icon {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .support-delete-confirm__dialog h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .support-delete-confirm__ticket {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .support-delete-confirm__ticket strong {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .support-selected-file:hover,
html[data-theme="dark"] .support-selected-file:focus-within {
  border-color: hsla(218, 44%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-selected-file__remove {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .support-selected-file__remove:hover {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .support-drop-overlay {
  background: hsla(217, 85%, 55%, 0.19);
}
@media(min-width:901px) {
  html[data-theme="dark"] body[data-template="support/main"] .support-page__heading,
html[data-theme="dark"] body[data-template="super/support"] .support-page__heading {
    background: linear-gradient(180deg,var(--th-surface) 0%,var(--th-surface) 100%);
  }
}

/* ---- system/templates/front/css/tariff-modal.css ---- */
html[data-theme="dark"] .tariff-limit-modal__card {
  background: linear-gradient(145deg, var(--th-surface) 0%, var(--th-surface-2) 100%);
}
html[data-theme="dark"] .tariff-limit-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .tariff-limit-modal__message {
  color: rgba(var(--th-text-rgb), 0.72);
}
html[data-theme="dark"] .tariff-limit-modal__usage-item span {
  color: rgba(var(--th-text-rgb), 0.48);
}
html[data-theme="dark"] .tariff-limit-modal__usage-item strong {
  color: var(--th-text);
}
html[data-theme="dark"] .tariff-limit-modal__pay:hover {
  color: var(--th-text);
}

/* ---- system/templates/front/css/pages/offers-make.css ---- */
html[data-theme="dark"] [data-template="offers/make"] .make__step-bar,
html[data-theme="dark"] [data-template="offers/make"] .make__step-panel {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] [data-template="offers/make"] .make__step-badge {
  background: hsla(161, 70%, 55%, 0.2);
}
html[data-theme="dark"] [data-template="offers/make"] .make__step-bar-title {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__step-icon-button {
  border: 1px solid hsla(212, 36%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make__step-search-panel {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template-box {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template-image {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template-name {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template--checked .make__template-box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template--checked .make__template-name,
html[data-theme="dark"] [data-template="offers/make"] .make__template--checked .make__template-categories {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-sidebar {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-sidebar-title {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-category-button {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-category-button:hover {
  background: var(--th-surface-2);
  border-color: hsla(210, 44%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-category-button.is-active {
  background: hsla(164, 85%, 55%, 0.2);
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-category-count {
  background: var(--th-surface-2);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-category-button.is-active .make__product-category-count {
  background: hsla(164, 82%, 55%, 0.2);
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] [data-template="offers/make"] .make__products-meta-title {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product:hover {
  border-color: hsla(207, 46%, 60%, 0.35);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-image {
  background: var(--th-surface-2);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-title {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-category {
  background: var(--th-surface-2);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product-price {
  color: var(--th-text);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product--checked {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] .make__product--checked .make__product-category {
  background: hsla(161, 70%, 55%, 0.2);
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] [data-template="offers/make"] .make__products-empty {
  border: 1px dashed hsla(206, 42%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] #make_3 .make__info-card {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] #make_3 .edit__col--2 {
  background: var(--th-surface-3);
}
html[data-theme="dark"] #make_3 .make__preview-title-row {
  background: var(--th-surface-3);
}
html[data-theme="dark"] #make_3 .make__preview-html-wrap,
html[data-theme="dark"] #make_3 .make__preview canvas,
html[data-theme="dark"] #make_3 .make__preview-pdf-native-wrap {
  background: var(--th-card-bg);
}
html[data-theme="dark"] #make_3 .make__preview-html-frame {
  background: var(--th-card-bg);
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--1 {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] [data-template="offers/make"] #make_3 .edit__col--2,
html[data-theme="dark"] [data-template="offers/make"] .edit__row--make .edit__col--2 {
  background: var(--th-surface-3) !important;
}
@media (max-width: 760px) {
  html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-inline-field .of-form-field__label,
html[data-theme="dark"] [data-template="offers/make"] #make_3 .make__step3-inline-field .entity-field__label {
    border-bottom: 1px solid var(--th-border) !important;
  }
}
html[data-theme="dark"] .tpl-page-preview-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-page-preview-modal__head {
  border-bottom: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .tpl-page-preview-modal__close {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .tpl-page-preview-modal__frame {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .tpl-page-preview-modal__footer {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-page-preview-modal__status {
  background: rgba(var(--th-surface-rgb), 0.96);
  border: 1px solid var(--th-border);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .tpl-page-preview-modal__status--error {
  background: hsla(356, 85%, 55%, 0.2);
  border-color: hsla(0, 85%, 60%, 0.35);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .tpl-page-preview-modal__status-code {
  background: hsla(0, 85%, 55%, 0.11);
  color: hsla(0, 63%, 72%, 1);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template-empty {
  border: 1px solid hsla(210, 39%, 60%, 0.35);
  background: rgba(var(--th-surface-rgb), 0.92);
}
html[data-theme="dark"] [data-template="offers/make"] .make__template-empty-icon {
  color: hsla(175, 77%, 72%, 1);
  background: linear-gradient(145deg,hsla(165, 85%, 55%, 0.2),hsla(166, 77%, 55%, 0.2));
}
html[data-theme="dark"] [data-template="offers/make"] .make__template-empty-title {
  color: var(--th-text);
}

/* ---- system/templates/front/css/pages/products-export.css ---- */
html[data-theme="dark"] .products-export-page {
  --pe-text: var(--th-text);
  --pe-line: hsla(214, 40%, 60%, 0.35);
  --pe-soft: var(--th-surface-2);
  --pe-green-dark: hsla(160, 90%, 72%, 1);
}
html[data-theme="dark"] .products-export-page__header .main__title h1 {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-page__header .main__subtitle {
  color: hsla(217, 17%, 72%, 1);
}
html[data-theme="dark"] .products-export-back-btn {
  border: 1px solid hsla(213, 35%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-back-btn:hover {
  background: var(--th-card-bg);
  border-color: hsla(213, 32%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-select-card,
html[data-theme="dark"] .products-export-success-card,
html[data-theme="dark"] .products-export-results-card {
  background: var(--th-card-bg);
  border: 1px solid hsla(214, 32%, 60%, 0.35);
}
html[data-theme="dark"] .products-export-select-card__intro h2,
html[data-theme="dark"] .products-export-results-card__head h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-select-card__icon {
  background: hsla(203, 85%, 55%, 0.2);
}
html[data-theme="dark"] .products-export-select-card__counter {
  border: 1px solid hsla(212, 37%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-select-card__counter strong {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-select-card__toolbar {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-control {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-control--search input {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-select-table th {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-select-table td {
  color: hsla(217, 29%, 72%, 1);
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-select-table tbody tr:hover td {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-select-table input[type="checkbox"] {
  border: 1.8px solid hsla(214, 28%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-select-table input[type="checkbox"]:checked:before {
  border-left: 2px solid var(--th-border);
  border-bottom: 2px solid var(--th-border);
}
html[data-theme="dark"] .products-export-select-table input[type="checkbox"]:indeterminate:before {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-category-name {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-success-card__state {
  background: linear-gradient(115deg,hsla(157, 85%, 55%, 0.2) 0%,var(--th-surface-2) 72%,var(--th-surface) 100%);
}
html[data-theme="dark"] .products-export-success-card__state h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-stat:not(:first-of-type):before {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .products-export-stat strong {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-refresh-btn {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(217, 29%, 72%, 1);
}
html[data-theme="dark"] .products-export-refresh-btn:hover {
  border-color: hsla(213, 28%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-table-wrap {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-table th {
  background: var(--th-surface-2);
  color: var(--th-text);
  border-bottom: 1px solid hsla(214, 33%, 60%, 0.35);
}
html[data-theme="dark"] .products-export-table td {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: hsla(216, 20%, 72%, 1);
}
html[data-theme="dark"] .products-export-table tbody tr:hover td {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-table__product a {
  color: hsla(216, 37%, 72%, 1);
}
html[data-theme="dark"] .products-export-table__product a:hover {
  color: hsla(166, 88%, 72%, 1);
}
html[data-theme="dark"] .products-export-table__thumb {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .products-export-table__thumb--empty:before {
  background: linear-gradient(145deg,transparent 46%,hsla(211, 26%, 55%, 0.2) 47% 53%,transparent 54%);
}
html[data-theme="dark"] .products-export-category-pill {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .products-export-status-pill {
  border: 1px solid hsla(156, 63%, 60%, 0.35);
  background: hsla(154, 78%, 55%, 0.2);
  color: hsla(159, 90%, 72%, 1);
}
html[data-theme="dark"] .products-export-per-page {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-export-pagination button {
  color: var(--th-text);
}
html[data-theme="dark"] .products-export-pagination button:hover:not(:disabled):not(.is-active) {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .products-export-pagination button.is-active {
  background: hsla(152, 85%, 55%, 0.2);
  color: hsla(159, 88%, 72%, 1);
}
html[data-theme="dark"] .products-export-pagination__ellipsis {
  color: var(--th-text);
}

/* ---- system/templates/front/css/pages/products-import.css ---- */
html[data-theme="dark"] .products-import-drop {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .products-import-drop:hover {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .products-import-drop.is-dragover {
  background: hsla(152, 85%, 55%, 0.2) !important;
}
html[data-theme="dark"] .products-import-drop__icon {
  background: hsla(203, 85%, 55%, 0.2);
}
html[data-theme="dark"] .products-import-page .drop-title {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .products-import-setting-row {
  border-top: 1px solid hsla(214, 40%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-setting-row__label {
  color: var(--th-text);
}
html[data-theme="dark"] .products-import-select-wrap select {
  color: hsla(216, 24%, 72%, 1);
}
html[data-theme="dark"] .products-import-select-wrap>svg {
  stroke: var(--th-text-muted);
}
html[data-theme="dark"] .products-import-auto-badge {
  border: 1px solid hsla(156, 63%, 60%, 0.35);
  background: hsla(154, 78%, 55%, 0.2);
  color: hsla(159, 90%, 72%, 1);
}
html[data-theme="dark"] .products-import-map-table {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-map-table__head {
  background: var(--th-surface-2);
  border-bottom: 1px solid hsla(214, 33%, 60%, 0.35);
}
html[data-theme="dark"] .products-import-map-table__head span {
  color: var(--th-text);
}
html[data-theme="dark"] .products-import-map-table__head span+span {
  border-left: 1px solid hsla(214, 33%, 60%, 0.35);
}
html[data-theme="dark"] .products-import-map-row {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-map-row:hover {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-map-row__source {
  color: hsla(217, 28%, 72%, 1);
}
html[data-theme="dark"] .products-import-map-row__target {
  border-left: 1px solid var(--th-border);
}
html[data-theme="dark"] .products-import-preview h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .products-import-preview .is-table {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-preview .is-table th {
  background: var(--th-surface-2);
  color: var(--th-text);
  border: 1px solid hsla(214, 33%, 60%, 0.35);
}
html[data-theme="dark"] .products-import-preview .is-table td {
  background: var(--th-card-bg);
  color: hsla(216, 20%, 72%, 1);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .products-import-preview .is-table tbody tr:hover td {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-result-list {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-result-item {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-result-item:hover {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-import-result-item__icon {
  border: 1px solid hsla(156, 63%, 60%, 0.35);
  background: hsla(154, 78%, 55%, 0.2);
  color: hsla(159, 90%, 72%, 1);
}
html[data-theme="dark"] .products-import-result-item a {
  color: hsla(216, 37%, 72%, 1);
}
html[data-theme="dark"] .products-import-result-item a:hover {
  color: hsla(166, 88%, 72%, 1);
}

/* ---- system/templates/front/css/pages/templates-main.css ---- */
html[data-theme="dark"] .template-library-modal__close {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-library-modal__close:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .template-library-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-library-modal__search-input {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  color: hsla(215, 25%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-library-filter-card {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-library-filter-card__head {
  border-bottom: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .template-library-filter-section + .template-library-filter-section {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .template-library-filter-section__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-library-category {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .template-library-category__box {
  border: 1.5px solid hsla(213, 27%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-library-category__count {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .template-library-hero {
  border: 1px solid var(--th-border);
  background: linear-gradient(90deg, hsla(161, 79%, 55%, 0.19) 0%, hsla(206, 85%, 55%, 0.19) 45%, rgba(var(--th-surface-rgb), 0.66) 100%),
				url('/system/images/template-default-preview.svg') right 40px center / 390px auto no-repeat;
}
html[data-theme="dark"] .template-library-hero__badge {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .template-library-hero__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-library-card {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-library-card:hover {
  border-color: hsla(213, 27%, 60%, 0.35);
}
html[data-theme="dark"] .template-library-card__preview {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .template-library-card__badge {
  background: hsla(138, 76%, 55%, 0.19);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .template-library-card__name {
  color: var(--th-text);
}
html[data-theme="dark"] .template-library-card__btn {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-library-card__btn:hover {
  background: var(--th-card-bg);
  border-color: hsla(218, 85%, 60%, 0.35);
}
html[data-theme="dark"] .template-library-card__create-button {
  background: radial-gradient(circle at center, rgba(34,197,94,.18), transparent 40%),
				linear-gradient(180deg, var(--th-surface) 0%, var(--th-surface-2) 100%);
}
html[data-theme="dark"] .template-library-card--method .template-library-card__create-button {
  background: radial-gradient(circle at 88% 16%, rgba(45,212,191,.20), transparent 28%),
				radial-gradient(circle at 12% 86%, rgba(129,140,248,.14), transparent 32%),
				linear-gradient(180deg, var(--th-surface) 0%, var(--th-surface-2) 100%);
}
html[data-theme="dark"] .template-library-card--ai-method {
  background: linear-gradient(180deg, var(--th-surface-2) 0%, var(--th-surface) 100%);
}
html[data-theme="dark"] .template-library-card--ai-method .template-library-card__create-button {
  background: radial-gradient(circle at 8% 16%, rgba(255,210,75,.22), transparent 26%),
				radial-gradient(circle at 88% 80%, rgba(245,158,11,.18), transparent 28%),
				linear-gradient(180deg, var(--th-surface-2) 0%, hsla(46, 85%, 55%, 0.2) 100%);
}
html[data-theme="dark"] .template-library-card--pptx-method {
  border-color: hsla(17, 83%, 60%, 0.35);
  background: linear-gradient(180deg, var(--th-surface-2) 0%, var(--th-surface) 100%);
}
html[data-theme="dark"] .template-library-card--pptx-method .template-library-card__create-button {
  background: radial-gradient(circle at 0 20%, rgba(251,146,60,.18), transparent 32%),
				linear-gradient(180deg, var(--th-surface-2) 0%, hsla(18, 85%, 55%, 0.2) 100%);
}
html[data-theme="dark"] .template-library-card__ai-icon,
html[data-theme="dark"] .template-library-card__pptx-icon {
  background: rgba(var(--th-surface-rgb), 0.72);
}
html[data-theme="dark"] .template-library-modal__empty {
  border: 1px dashed hsla(218, 31%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-preview-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-preview-modal__close {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .tpl-preview-modal__img-wrap {
  background: var(--th-surface-2);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .tpl-preview-modal__name {
  color: var(--th-text);
}
html[data-theme="dark"] .tpl-preview-modal__btn--ghost {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .tpl-preview-modal__btn--ghost:hover {
  background: hsla(214, 32%, 55%, 0.2);
}
@media (max-width: 767px) {
  html[data-theme="dark"] .template-library-hero {
    background: linear-gradient(180deg, hsla(161, 79%, 55%, 0.19), hsla(206, 85%, 55%, 0.19));
  }
}
html[data-theme="dark"] .template-custom-create-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-custom-create-modal__category-panel {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .template-custom-create-modal__category-heading {
  color: var(--th-text);
}
html[data-theme="dark"] .template-custom-create-modal__category-list {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .template-custom-create-modal__close {
  color: var(--th-text);
}
html[data-theme="dark"] .template-custom-create-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-custom-create-modal__form {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .template-custom-create-modal__row {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .template-custom-create-modal__label {
  color: var(--th-text);
  border-right: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-custom-create-modal__field {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-custom-create-modal__field input,
html[data-theme="dark"] .template-custom-create-modal__field select {
  color: var(--th-text);
}
html[data-theme="dark"] .template-custom-create-category {
  color: var(--th-text);
}
html[data-theme="dark"] .template-custom-create-category__box {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-custom-create-modal__radio {
  color: var(--th-text);
}
@media (max-width: 767px) {
  html[data-theme="dark"] .template-custom-create-modal__label {
    border-bottom: 1px solid var(--th-border);
  }
}
html[data-theme="dark"] .template__preview-action {
  border: 1px solid hsla(215, 27%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .template__preview-action:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .template__actions-menu .ed-editor-more-btn {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template__actions-menu .ed-editor-more-btn:hover {
  background: var(--th-surface-2);
  border-color: hsla(213, 27%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .template__actions-menu .ed-editor-more-menu {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-card-more-menu.template-card-more-menu--portal {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-card-more-menu.template-card-more-menu--portal .ed-editor-more-menu__item {
  color: var(--th-text);
}
html[data-theme="dark"] .template-card-more-menu.template-card-more-menu--portal .ed-editor-more-menu__item:hover,
html[data-theme="dark"] .template-card-more-menu.template-card-more-menu--portal .ed-editor-more-menu__item:focus-visible {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .template-card-more-menu.template-card-more-menu--portal .ed-editor-more-menu__item--danger {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .template__actions-menu .ed-editor-more-menu__item {
  color: var(--th-text);
}
html[data-theme="dark"] .template__actions-menu .ed-editor-more-menu__item:hover,
html[data-theme="dark"] .template__actions-menu .ed-editor-more-menu__item:focus-visible {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .template__actions-menu .ed-editor-more-menu__item--danger {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .template-transfer-modal__dialog {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__close {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-transfer-modal__close:hover {
  background: var(--th-surface-2);
  border-color: hsla(213, 27%, 60%, 0.35);
}
html[data-theme="dark"] .template-transfer-modal__close:hover:before {
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__tabs {
  background: var(--th-surface-2);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .template-transfer-modal__tab:hover {
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__tab.is-active {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__tab[data-transfer-mode="copy"].is-active {
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__tab[data-transfer-mode="move"].is-active {
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .template-transfer-modal__mode-hint--move {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
  border: 1px solid hsla(353, 85%, 60%, 0.35);
}
html[data-theme="dark"] .template-transfer-modal__field span {
  color: var(--th-text);
}
html[data-theme="dark"] .template-transfer-modal__field input {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  color: var(--th-text);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-transfer-modal__error {
  background: var(--th-surface-2);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .template-transfer-modal__btn--ghost {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .template-preview-control {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .template-preview-control__btn--delete {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-preview-crop-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-preview-crop-modal__close {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .tpl-preview-crop-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .tpl-preview-crop-modal__zoom {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .tpl-preview-crop-modal__btn--ghost {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .tpl-page-preview-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-page-preview-modal__head {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .tpl-page-preview-modal__close {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .tpl-page-preview-modal__frame {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .tpl-page-preview-modal__footer {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-page-preview-modal__select:hover {
  color: var(--th-text);
}
html[data-theme="dark"] .tpl-page-preview-modal__status {
  background: rgba(var(--th-surface-rgb), 0.96);
  border: 1px solid var(--th-border);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .tpl-page-preview-modal__status--error {
  background: hsla(356, 85%, 55%, 0.2);
  border-color: hsla(0, 85%, 60%, 0.35);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .tpl-page-preview-modal__status-code {
  background: hsla(0, 85%, 55%, 0.11);
  color: hsla(0, 63%, 72%, 1);
}
html[data-theme="dark"] .ai-template-modal__dialog {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-modal__close {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-modal__close:hover {
  background: var(--th-surface-2);
  border-color: hsla(213, 27%, 60%, 0.35);
}
html[data-theme="dark"] .ai-template-modal__close:hover:before {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-autofill {
  border: 1px solid hsla(141, 79%, 60%, 0.35);
  background: hsla(152, 81%, 55%, 0.2);
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .ai-template-autofill:hover {
  background: hsla(141, 84%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-modal__spark,
html[data-theme="dark"] .ai-template-modal__success {
  background: hsla(147, 85%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-card {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-card h3,
html[data-theme="dark"] .ai-template-slides h3,
html[data-theme="dark"] .ai-template-done-preview h3,
html[data-theme="dark"] .ai-template-created h3,
html[data-theme="dark"] .ai-template-loader-panel h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-field {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-field input[type=text],
html[data-theme="dark"] .ai-template-field input[type=number],
html[data-theme="dark"] .ai-template-field select,
html[data-theme="dark"] .ai-template-field textarea {
  border: 1px solid hsla(213, 26%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-field--color>b {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-template-field--color label {
  border: 1px solid hsla(213, 26%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-hint {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-product-switch {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .ai-template-product-switch__title {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-toggle {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
}
html[data-theme="dark"] .ai-template-toggle span {
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-template-section-label {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-advantage>span {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-advantage input {
  border: 1px solid hsla(213, 26%, 60%, 0.35);
}
html[data-theme="dark"] .ai-template-add {
  border: 1px solid hsla(141, 57%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-slide-card {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-slide-card__check {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-slide-card__icon {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-slide-card strong {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-slide-card:hover,
html[data-theme="dark"] .ai-template-slide-card.is-checked {
  border-color: hsla(141, 57%, 60%, 0.35);
}
html[data-theme="dark"] .ai-template-price,
html[data-theme="dark"] .ai-template-balance {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-price strong,
html[data-theme="dark"] .ai-template-balance strong {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-price mark {
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-balance span {
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-btn--ghost {
  background: var(--th-surface-3);
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-steps,
html[data-theme="dark"] .ai-template-created {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-loader-panel {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .ai-template-done-preview {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-step:before {
  background: hsla(214, 32%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-step b {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-step span {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-step.is-active b {
  background: var(--th-card-bg);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-progressbar {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .ai-template-loader-panel {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .ai-template-loader-card {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .ai-template-loader-card h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-preview-card {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .ai-template-preview-card>div:first-child {
  border: 1px solid hsla(214, 33%, 60%, 0.35);
  background: linear-gradient(135deg,var(--th-surface) 0,var(--th-surface) 47%,hsla(218, 85%, 55%, 0.2) 48%,#b8c7dc 100%);
}
html[data-theme="dark"] .ai-template-preview-card strong {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-preview-card em {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-preview-card--loading>div:first-child {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-preview-card--loading span {
  background: hsla(217, 39%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-preview-card--loading em {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-bottom-note {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .ai-template-created li {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-template-summary {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-summary p {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .ai-template-summary b {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-ready-badge {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .ai-template-mini-slide {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-mini-slide span {
  background: hsla(214, 33%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-mini-slide em {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-mini-slide i {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-edit-note {
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-template-done-simple {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-done-check {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-template-done-simple h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-done-actions {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .ai-template-error {
  background: var(--th-surface-2);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .ai-template-error-log-link {
  background: var(--th-card-bg);
  border: 1px solid hsla(213, 85%, 60%, 0.35);
}
html[data-theme="dark"] .office-template-modal__dialog,
html[data-theme="dark"] .office-vars-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .office-template-modal__close,
html[data-theme="dark"] .office-vars-modal__close {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .office-template-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .office-template-upload {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .office-template-card {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .office-template-card__preview {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .office-template-card__name {
  color: var(--th-text);
}
html[data-theme="dark"] .office-template-card__btn {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .office-template-card__btn--update {
  background: hsla(48, 85%, 55%, 0.2);
  color: hsla(40, 90%, 72%, 1);
}
html[data-theme="dark"] .office-template-card__btn--danger {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .office-template-list__empty {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .office-vars-instructions {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .office-vars-instructions h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .office-vars-group {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .office-vars-group h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .office-vars-group td {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .office-var-copy {
  background: hsla(163, 70%, 55%, 0.2);
  color: hsla(163, 90%, 72%, 1);
}
html[data-theme="dark"] .ai-template-prompt-card h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-prompt-text,
html[data-theme="dark"] .ai-template-prompt-answer {
  border: 1px solid hsla(217, 24%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-prompt-answer {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-prompt-status.is-success {
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .ai-template-prompt-status.is-error {
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .ai-template-jpg-panel {
  border: 1px solid hsla(214, 53%, 60%, 0.35);
  background: linear-gradient(180deg,var(--th-surface),var(--th-surface));
}
html[data-theme="dark"] .ai-template-btn--import-backgrounds {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .ai-template-btn--import-backgrounds:not(:disabled):hover {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .ai-template-slide-jpg-log {
  border: 1px solid hsla(214, 53%, 60%, 0.35);
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-template-slide-jpg-log div+div {
  border-top: 1px solid hsla(213, 53%, 60%, 0.35);
}
html[data-theme="dark"] .ai-template-slide-jpg-log b {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-slide-jpg-card {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-slide-jpg-card img {
  background: var(--th-surface-3);
}
html[data-theme="dark"] .ai-template-slide-jpg-card figcaption {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-template-split-status.is-success {
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .ai-template-split-status.is-error {
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .ai-template-split-card {
  border: 1px solid hsla(214, 53%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-split-card__title {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-split-card textarea {
  border: 1px solid hsla(217, 24%, 60%, 0.35);
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-split-card.is-generating {
  outline: 2px solid hsla(212, 85%, 60%, 0.35);
}
html[data-theme="dark"] .template-copy-card-btn:hover {
  border-color: hsla(168, 84%, 60%, 0.35);
  background: hsla(152, 81%, 55%, 0.2);
}
html[data-theme="dark"] .template-copy-modal__dialog {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .template-copy-modal__close {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-copy-modal__close:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .template-copy-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-copy-modal__error {
  background: var(--th-surface-2);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .template-copy-modal__btn--no {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .ai-generation-plan {
  border: 1px solid hsla(214, 53%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-generation-plan__head {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-generation-plan__head span {
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .ai-generation-plan__item {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-generation-plan__item span {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ai-generation-plan__item b {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-generation-plan__item.is-ready,
html[data-theme="dark"] .ai-generation-plan__item.is-imported {
  background: hsla(138, 76%, 55%, 0.2);
}
html[data-theme="dark"] .ai-generation-plan__item.is-running,
html[data-theme="dark"] .ai-generation-plan__item.is-retrying {
  border-color: hsla(212, 85%, 60%, 0.35);
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .ai-generation-plan__item.is-error,
html[data-theme="dark"] .ai-generation-plan__item.is-refunded {
  border-color: hsla(0, 85%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-generation-plan__item.is-refunded em {
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .ai-template-auto-feed__item {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ai-template-auto-feed__head b {
  color: var(--th-text);
}
html[data-theme="dark"] .ai-template-auto-feed__item.is-done {
  border-color: hsla(141, 79%, 60%, 0.35);
  background: hsla(138, 76%, 55%, 0.2);
}
html[data-theme="dark"] .ai-template-auto-feed__item.is-done .ai-template-auto-feed__head span {
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .ai-template-auto-feed__item.is-error {
  border-color: hsla(0, 85%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ai-template-auto-feed__item.is-error .ai-template-auto-feed__head span {
  color: hsla(0, 74%, 72%, 1);
}

/* ---- public_assets/superadmin/debug-recorder.css ---- */
html[data-theme="dark"] .offerist-debug-recorder {
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-debug-recorder__quick-actions {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-debug-recorder__quick+ .offerist-debug-recorder__quick {
  border-top: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-debug-recorder__panel {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-debug-recorder__close {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-debug-recorder__status {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .offerist-debug-recorder__status strong {
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-debug-recorder__status span {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .offerist-debug-recorder__metrics>div {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .offerist-debug-recorder__metrics span {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .offerist-debug-recorder__metrics strong {
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-debug-recorder__scope {
  background: hsla(249, 85%, 55%, 0.2);
  color: hsla(246, 44%, 72%, 1);
}
html[data-theme="dark"] .offerist-debug-recorder__message {
  background: hsla(35, 85%, 55%, 0.2);
  color: hsla(33, 90%, 72%, 1);
}
html[data-theme="dark"] .offerist-debug-recorder__message.is-error {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(352, 75%, 72%, 1);
}
html[data-theme="dark"] .offerist-debug-recorder__message.is-success {
  background: hsla(150, 85%, 55%, 0.2);
  color: var(--th-text);
}
html[data-theme="dark"] .offerist-debug-recorder__note {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .offerist-debug-recorder__metrics strong.is-warning {
  color: hsla(26, 90%, 72%, 1);
}
html[data-theme="dark"] .offerist-debug-recorder__button--download {
  background: hsla(226, 85%, 55%, 0.2);
  border: 1px solid hsla(228, 85%, 60%, 0.35);
}
html[data-theme="dark"] .offerist-debug-recorder__button--download:hover:not(:disabled) {
  background: hsla(226, 85%, 55%, 0.2);
}

/* ---- public_assets/superadmin/rates-tabs.css ---- */
html[data-theme="dark"] .super-rates-tabs {
  background: var(--th-surface-2);
  border: 1px solid hsla(213, 39%, 60%, 0.35);
}
html[data-theme="dark"] .super-rates-tabs__item {
  color: hsla(217, 19%, 72%, 1);
}
html[data-theme="dark"] .super-rates-tabs__item:hover {
  color: var(--th-text);
  background: rgba(var(--th-surface-rgb), 0.72);
  border-color: hsla(213, 40%, 60%, 0.35);
}
html[data-theme="dark"] .super-rates-tabs__item.is-active {
  color: var(--th-text);
  background: var(--th-card-bg);
  border-color: hsla(214, 42%, 60%, 0.35);
}

/* ---- app/Modules/Billing/Views/pay.main.php <style> ---- */
html[data-theme="dark"] .pay-cabinet {
  --pay-mint-soft: hsla(163, 85%, 55%, 0.2);
  --pay-text: var(--th-text);
  --pay-line: var(--th-border);
  --pay-card: var(--th-surface);
}
html[data-theme="dark"] .pay-status-pill {
  color: hsla(168, 87%, 72%, 1);
  background: hsla(161, 78%, 55%, 0.2);
}
html[data-theme="dark"] .pay-cabinet__btn--outline {
  color: var(--th-text);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .pay-period-toggle {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .pay-period-toggle button {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  color: var(--th-text);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .pay-period-toggle button:hover {
  color: hsla(172, 90%, 72%, 1);
}
html[data-theme="dark"] .pay-period-toggle button.is-active {
  color: var(--th-text);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .pay-tariff-card {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .pay-tariff-card__price small {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .pay-tariff-card__features {
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .pay-tariff-card__features i {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .pay-tariff-card__button {
  color: hsla(172, 90%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .pay-safe-note a {
  color: hsla(172, 90%, 72%, 1);
}

/* ---- app/Modules/Billing/Views/rates.main.php <style> ---- */
html[data-theme="dark"] .categories-page__intro {
  color: var(--th-text);
}
html[data-theme="dark"] .categories-page__panel {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .categories-page__input {
  border: 1px solid hsla(217, 32%, 60%, 0.35);
  color: var(--th-text);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .categories-page__panel-title {
  color: var(--th-text);
}
html[data-theme="dark"] .categories-page__table {
  border: 1px solid hsla(215, 52%, 60%, 0.35);
}
html[data-theme="dark"] .categories-page__table-head {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .categories-page__row {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .categories-page__name {
  color: var(--th-text);
}
html[data-theme="dark"] .categories-page__empty {
  border: 1px dashed hsla(214, 30%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .categories-page__notice--success {
  border: 1px solid hsla(130, 49%, 60%, 0.35);
  background: var(--th-surface-2);
  color: hsla(131, 57%, 72%, 1);
}
html[data-theme="dark"] .categories-page__notice--error {
  border: 1px solid hsla(0, 63%, 60%, 0.35);
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(4, 76%, 72%, 1);
}

/* ---- app/Modules/Catalog/Views/products.main.php <style> ---- */
html[data-theme="dark"] .products-transfer-modal__dialog {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .products-transfer-modal__head h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .products-transfer-modal__close {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .products-transfer-modal__close:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .products-transfer-modal__action {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .products-transfer-modal__action:hover {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .products-transfer-modal__icon {
  background: hsla(219, 85%, 55%, 0.2);
}

/* ---- app/Modules/Dashboard/Services/SuperDiagnosticsService.php <style> ---- */
html[data-theme="dark"] private function renderHtml(array $report): string {
  background: var(--th-surface-2);
  color: var(--th-text);
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}

/* ---- app/Modules/Dashboard/Views/account-blog.detail.php <style> ---- */
html[data-theme="dark"] .account-blog-panel {
  background: var(--th-card-bg);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-detail-title {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-detail-image {
  background: var(--th-surface-2);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-detail-content {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-detail-content a:not(.btn):hover {
  color: hsla(171, 79%, 72%, 1) !important;
}
html[data-theme="dark"] .account-blog-detail-content h2,
html[data-theme="dark"] .account-blog-detail-content h3,
html[data-theme="dark"] .account-blog-detail-content h4 {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-author__name {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-author__role {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .account-blog-side-text {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .account-blog-side-btn {
  background: var(--th-card-bg) !important;
  color: var(--th-text) !important;
  border: 1px solid hsla(210, 38%, 60%, 0.35) !important;
}
html[data-theme="dark"] .account-blog-side-btn:hover {
  background: var(--th-surface-2) !important;
  color: hsla(177, 82%, 72%, 1) !important;
}
html[data-theme="dark"] .account-blog-next-card__label {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .account-blog-next-card__image {
  background: var(--th-surface-2);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-next-card__title {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-next-card__text {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .account-blog-not-found p {
  color: var(--th-text-muted);
}

/* ---- app/Modules/Dashboard/Views/account-blog.edit.php <style> ---- */
html[data-theme="dark"] .super-blog-cover-card,
html[data-theme="dark"] .super-blog-compose-card,
html[data-theme="dark"] .super-blog-dzen-sidebar .super-card {
  background: var(--th-card-bg);
  border: 1px solid hsla(212, 49%, 60%, 0.35);
}
html[data-theme="dark"] .super-blog-cover-preview {
  border: 2px dashed hsla(214, 37%, 60%, 0.35);
  background: linear-gradient(135deg, var(--th-surface) 0%, var(--th-surface-2) 100%);
}
html[data-theme="dark"] .super-blog-cover-preview:hover,
html[data-theme="dark"] .super-blog-cover-preview.is-dragover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .super-blog-cover-placeholder strong {
  color: var(--th-text);
}
html[data-theme="dark"] .super-blog-cover-icon {
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .super-blog-cover-btn--remove {
  color: var(--th-text);
  background: rgba(var(--th-surface-rgb), 0.96);
}
html[data-theme="dark"] .super-blog-title-input {
  border-bottom: 1px solid var(--th-border) !important;
  color: var(--th-text) !important;
}
html[data-theme="dark"] .super-blog-subline {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .super-blog-inline-toolbar {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-blog-editor-label > span {
  color: var(--th-text);
}
html[data-theme="dark"] .super-blog-drop-hint {
  border: 1px dashed hsla(214, 37%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-blog-drop-hint.is-dragover {
  background: hsla(222, 85%, 55%, 0.2);
}
html[data-theme="dark"] .super-blog-pin-control {
  border: 1px solid hsla(215, 46%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-blog-pin-control strong {
  color: var(--th-text);
}
html[data-theme="dark"] .super-blog-category-option {
  border: 1px solid hsla(215, 46%, 60%, 0.35);
  color: hsla(218, 24%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-blog-category-option:hover {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .super-blog-publish-card label {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .super-blog-checklist {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .super-blog-checklist span {
  background: hsla(217, 24%, 55%, 0.2);
}
html[data-theme="dark"] .super-blog-checklist div.is-ok {
  color: hsla(144, 70%, 72%, 1);
}
html[data-theme="dark"] .super-blog-help-card code {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .super-blog-dzen-form .cke_chrome {
  border: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] .super-blog-dzen-form .cke_top {
  background: var(--th-card-bg) !important;
  border-bottom: 1px solid var(--th-border) !important;
}

/* ---- app/Modules/Dashboard/Views/account-blog.main.php <style> ---- */
html[data-theme="dark"] .account-blog-rubrics {
  background: var(--th-card-bg);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-rubrics__title {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-rubrics__edit:hover {
  color: hsla(171, 76%, 72%, 1);
}
html[data-theme="dark"] .account-blog-rubric {
  color: hsla(218, 15%, 72%, 1);
}
html[data-theme="dark"] .account-blog-rubric:hover,
html[data-theme="dark"] .account-blog-rubric.is-active {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-rubric__check {
  border: 1px solid hsla(212, 37%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric__count {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .account-blog-search__box {
  background: var(--th-card-bg);
  border: 1px solid hsla(210, 38%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-search__input {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-search__input::placeholder {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .account-blog-search__clear {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .account-blog-search-empty {
  background: var(--th-card-bg);
  color: hsla(218, 15%, 72%, 1);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-card {
  background: var(--th-card-bg);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-card__image-empty {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-card h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-card h2 a:hover {
  color: hsla(171, 79%, 72%, 1);
}
html[data-theme="dark"] .account-blog-empty {
  background: var(--th-card-bg);
  color: hsla(218, 15%, 72%, 1);
  border: 1px solid hsla(215, 46%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-rubric-manager__dialog,
html[data-theme="dark"] .account-blog-rubric-delete__dialog {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-manager__header {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .account-blog-rubric-manager__header h2,
html[data-theme="dark"] .account-blog-rubric-delete__dialog h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-rubric-manager__close {
  border: 1px solid hsla(212, 37%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-manager__close:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-rubric-manager__create {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-manager__create > label {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .account-blog-rubric-manager__create-row input,
html[data-theme="dark"] .account-blog-rubric-row__title,
html[data-theme="dark"] .account-blog-rubric-delete__target select {
  border: 1px solid hsla(211, 37%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-rubric-manager__secondary {
  border: 1px solid hsla(212, 37%, 60%, 0.35);
  color: hsla(218, 24%, 72%, 1);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-delete__confirm {
  color: hsla(343, 80%, 72%, 1);
  background: hsla(356, 85%, 55%, 0.2);
}
html[data-theme="dark"] .account-blog-rubric-manager__list-head {
  background: var(--th-surface-2);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .account-blog-rubric-row {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-row:hover {
  background: var(--th-card-bg);
  border-color: hsla(212, 49%, 60%, 0.35);
}
html[data-theme="dark"] .account-blog-rubric-row.is-drop-target {
  background: hsla(169, 85%, 55%, 0.2);
}
html[data-theme="dark"] .account-blog-rubric-row__icon {
  border: 1px solid hsla(212, 36%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-row__icon:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .account-blog-rubric-row__icon--delete:hover {
  border-color: hsla(353, 85%, 60%, 0.35);
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .account-blog-rubric-manager__status.is-error {
  color: hsla(343, 80%, 72%, 1);
  background: hsla(356, 85%, 55%, 0.2);
}
html[data-theme="dark"] .account-blog-rubric-manager__status.is-success {
  color: hsla(162, 88%, 72%, 1);
  background: hsla(152, 81%, 55%, 0.2);
}
html[data-theme="dark"] .account-blog-rubric-manager__footer {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .account-blog-rubric-delete__dialog > p {
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .account-blog-rubric-delete__target {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .account-blog-rubric-delete__warning {
  color: hsla(343, 80%, 72%, 1);
  background: hsla(356, 85%, 55%, 0.2);
}
html[data-theme="dark"] .account-blog-card__pinned {
  background: hsla(48, 85%, 55%, 0.2);
  color: hsla(40, 90%, 72%, 1);
}

/* ---- app/Modules/Dashboard/Views/super.admins.php <style> ---- */
html[data-theme="dark"] [data-super-admins-page] .so-table-sort {
  color: var(--th-text);
}
html[data-theme="dark"] [data-super-admins-page] .so-table-sort:hover {
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] [data-super-admins-page] .so-table-sort.is-active {
  color: hsla(175, 77%, 72%, 1);
}

/* ---- app/Modules/Dashboard/Views/super.block_library.php <style> ---- */
html[data-theme="dark"] .ebl {
  color: var(--th-text);
}
html[data-theme="dark"] .ebl-hero {
  border: 1px solid hsla(213, 46%, 60%, 0.35);
  background: linear-gradient(135deg,var(--th-surface),hsla(215, 85%, 55%, 0.2));
}
html[data-theme="dark"] .ebl-btn {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .ebl-btn--danger {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .ebl-stat,
html[data-theme="dark"] .ebl-panel {
  border: 1px solid hsla(213, 41%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ebl input,
html[data-theme="dark"] .ebl textarea,
html[data-theme="dark"] .ebl select {
  border: 1px solid hsla(213, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ebl-card {
  border: 1px solid hsla(213, 39%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ebl-preview {
  background: linear-gradient(145deg,hsla(212, 57%, 55%, 0.2),hsla(213, 52%, 55%, 0.2));
}
html[data-theme="dark"] .ebl-card-body {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ebl-chip {
  background: var(--th-surface-2);
  color: hsla(215, 18%, 72%, 1);
}
html[data-theme="dark"] .ebl-dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ebl-dialog-head {
  border-bottom: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .ebl-field label {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-summary>div {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .ebl-audit-status--pass {
  background: hsla(152, 81%, 55%, 0.2);
  color: hsla(163, 90%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-status--warning {
  background: hsla(48, 85%, 55%, 0.2);
  color: hsla(26, 90%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-status--fail {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-item {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .ebl-audit-item--pass i {
  background: hsla(149, 80%, 55%, 0.2);
  color: hsla(163, 90%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-item--warning i {
  background: hsla(48, 85%, 55%, 0.2);
  color: hsla(26, 90%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-item--fail i {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .ebl-audit-coverage th,
html[data-theme="dark"] .ebl-audit-coverage td {
  border-bottom: 1px solid var(--th-border);
}

/* ---- app/Modules/Dashboard/Views/super.logs.php <style> ---- */
html[data-theme="dark"] .logs-storage {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .logs-storage.is-warning {
  background: hsla(48, 85%, 55%, 0.2);
}
html[data-theme="dark"] .logs-storage.is-critical {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .logs-storage__title {
  color: var(--th-text);
}
html[data-theme="dark"] .logs-storage__free {
  color: hsla(155, 90%, 72%, 1);
}
html[data-theme="dark"] .logs-storage.is-warning .logs-storage__free {
  color: hsla(22, 90%, 72%, 1);
}
html[data-theme="dark"] .logs-storage.is-critical .logs-storage__free {
  color: hsla(4, 76%, 72%, 1);
}
html[data-theme="dark"] .logs-storage__bar {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .logs-storage__groups {
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .logs-storage__groups span {
  background: rgba(var(--th-surface-rgb), 0.82);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .logs-storage__cleanup {
  background: hsla(219, 85%, 55%, 0.2);
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .logs-storage__cleanup:hover {
  background: hsla(219, 85%, 55%, 0.2);
}
html[data-theme="dark"] .logs-storage__cleanup--danger {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(4, 76%, 72%, 1);
}
html[data-theme="dark"] .logs-storage__cleanup--danger:hover {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .super-logs-filter__form select {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-logs-summary__item {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .super-logs-summary__item span {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .super-logs-card__head span {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .super-logs-table td code {
  background: var(--th-surface-2);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .super-logs-table td small {
  color: var(--th-text-muted);
}
html[data-theme="dark"] .super-alert--success {
  border-color: hsla(141, 79%, 60%, 0.35);
  background: hsla(138, 76%, 55%, 0.2);
  color: hsla(143, 64%, 72%, 1);
}
html[data-theme="dark"] .super-alert--danger {
  border-color: hsla(0, 85%, 60%, 0.35);
  background: var(--th-surface-2);
  color: hsla(0, 70%, 72%, 1);
}

/* ---- app/Modules/Dashboard/Views/super.onboarding.php <style> ---- */
html[data-theme="dark"] .super-onboarding {
  --so-ink: var(--th-text);
}
html[data-theme="dark"] .super-onboarding__hero {
  border: 1px solid hsla(213, 46%, 60%, 0.35);
  background: linear-gradient(135deg,var(--th-surface-2),hsla(215, 85%, 55%, 0.2));
}
html[data-theme="dark"] .super-onboarding h1 {
  color: var(--th-text);
}
html[data-theme="dark"] .super-onboarding__hero p {
  color: hsla(215, 18%, 72%, 1);
}
html[data-theme="dark"] .so-button {
  background: var(--th-surface-2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-button--danger {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .so-card {
  border: 1px solid hsla(213, 45%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-card h2 {
  color: var(--th-text);
}
html[data-theme="dark"] .so-field label {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-field input,
html[data-theme="dark"] .so-field textarea,
html[data-theme="dark"] .so-field select {
  border: 1px solid hsla(213, 41%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .so-message--success {
  background: hsla(152, 81%, 55%, 0.2);
  color: hsla(163, 90%, 72%, 1);
}
html[data-theme="dark"] .so-message--danger {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .so-step {
  border: 1px solid hsla(213, 46%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-step__title {
  color: var(--th-text);
}
html[data-theme="dark"] .so-step__number {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-stat {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .so-stat strong {
  color: var(--th-text);
}
html[data-theme="dark"] .so-note {
  background: hsla(214, 85%, 55%, 0.2);
  color: hsla(226, 71%, 72%, 1);
}
html[data-theme="dark"] .so-savebar {
  border: 1px solid hsla(213, 27%, 60%, 0.35);
  background: rgba(var(--th-surface-rgb), 0.9);
}
html[data-theme="dark"] .so-reset-form input {
  border: 1px solid hsla(213, 41%, 60%, 0.35);
}
html[data-theme="dark"] .so-help-list {
  color: hsla(215, 18%, 72%, 1);
}
html[data-theme="dark"] .so-video-editor {
  border: 1px dashed hsla(213, 39%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-video-editor__preview {
  background: linear-gradient(135deg,hsla(212, 62%, 55%, 0.2),var(--th-surface));
}
html[data-theme="dark"] .so-video-editor__empty strong {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-video-editor__progress {
  background: hsla(214, 44%, 55%, 0.2);
}
html[data-theme="dark"] .so-video-editor__status.is-error {
  color: hsla(345, 83%, 72%, 1);
}
html[data-theme="dark"] .so-video-editor__status.is-success {
  color: hsla(163, 90%, 72%, 1);
}
html[data-theme="dark"] .so-video-env {
  background: var(--th-surface-2);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-video-env strong {
  color: var(--th-text);
}
html[data-theme="dark"] .so-video-env.is-ok {
  background: hsla(152, 81%, 55%, 0.2);
  color: hsla(163, 90%, 72%, 1);
}
html[data-theme="dark"] .so-video-env.is-error {
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(345, 83%, 72%, 1);
}

/* ---- app/Modules/Dashboard/Views/super.rates_plans.php <style> ---- */
html[data-theme="dark"] .super-rate-modal__dialog {
  background: var(--th-card-bg);
  border: 1px solid hsla(215, 52%, 60%, 0.35);
}
html[data-theme="dark"] .super-rate-modal__head {
  background: linear-gradient(180deg,var(--th-surface) 0%,rgba(var(--th-surface-rgb), 0.96) 100%);
  border-bottom: 1px solid hsla(212, 49%, 60%, 0.35);
}
html[data-theme="dark"] .super-rate-modal__head h3 {
  color: var(--th-text);
}
html[data-theme="dark"] .super-rate-modal__close {
  border: 1px solid hsla(215, 39%, 60%, 0.35);
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .super-rate-modal__close:hover {
  background: hsla(215, 85%, 55%, 0.2);
}
html[data-theme="dark"] .super-rate-modal input[type="text"],
html[data-theme="dark"] .super-rate-modal input[type="number"],
html[data-theme="dark"] .super-rate-modal textarea {
  background: var(--th-card-bg);
  border: 1px solid hsla(212, 50%, 60%, 0.35);
  color: var(--th-text);
}

/* ---- app/Modules/Dashboard/Views/super.rates_tokens.php <style> ---- */
html[data-theme="dark"] .token-action-editor {
  border-top: 1px solid hsla(213, 53%, 60%, 0.35);
}
html[data-theme="dark"] .token-action-editor__title {
  color: var(--th-text);
}
html[data-theme="dark"] .token-action-editor__table {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .token-action-editor__table th {
  background: var(--th-card-bg);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .token-action-editor__table td {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .token-action-editor__name {
  color: var(--th-text);
}
html[data-theme="dark"] .token-action-editor__rub {
  color: hsla(170, 90%, 72%, 1);
}
html[data-theme="dark"] .token-action-editor__active {
  color: var(--th-text);
}
@media (max-width: 900px) {
  html[data-theme="dark"] .token-action-editor__table tr {
    border-bottom: 1px solid var(--th-border);
  }
}

/* ---- app/Modules/Dashboard/Views/super.settings.php <style> ---- */
html[data-theme="dark"] #project-ai .ai-model-status {
  color: hsla(218, 21%, 72%, 1);
}
html[data-theme="dark"] #project-ai .ai-provider {
  border: 1px solid hsla(217, 41%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] #project-ai .ai-provider.active {
  background: var(--th-surface-2);
}
html[data-theme="dark"] #project-ai .ai-release-table {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] #project-ai .ai-release-table th,
html[data-theme="dark"] #project-ai .ai-release-table td {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] #project-ai .ai-release-table th {
  background: var(--th-surface-2);
  color: hsla(218, 21%, 72%, 1);
}
html[data-theme="dark"] #ai-settings-modal .ai-settings-card {
  background: var(--th-card-bg);
}
html[data-theme="dark"] #ai-settings-modal .ai-modal-head {
  border-bottom: 1px solid var(--th-border);
  background: linear-gradient(135deg,var(--th-surface-2) 0%,hsla(175, 62%, 55%, 0.2) 100%);
}
html[data-theme="dark"] #ai-settings-modal .ai-modal-head strong {
  color: var(--th-text);
}
html[data-theme="dark"] #ai-settings-modal .ai-modal-close {
  background: var(--th-card-bg);
  color: hsla(220, 27%, 72%, 1);
}
html[data-theme="dark"] #ai-settings-modal .ai-field {
  color: var(--th-text);
}
html[data-theme="dark"] #ai-settings-modal .ai-field input:not([type="checkbox"]),
html[data-theme="dark"] #ai-settings-modal .ai-settings-card>.ai-two-columns input {
  border: 1px solid hsla(216, 36%, 60%, 0.35);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] #ai-settings-modal input:not([type="checkbox"]):focus {
  background: var(--th-card-bg);
}
html[data-theme="dark"] #ai-settings-modal input[readonly] {
  background: var(--th-surface-2);
}
html[data-theme="dark"] #ai-settings-modal .ai-field small {
  background: hsla(146, 50%, 55%, 0.2);
  color: hsla(149, 71%, 72%, 1);
}
html[data-theme="dark"] #ai-settings-modal .ai-settings-card>.ai-two-columns {
  border-top: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] #ai-settings-modal .super-checkline {
  border: 1px solid hsla(215, 36%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] #ai-settings-modal .ai-route-button {
  border: 1px solid hsla(216, 36%, 60%, 0.35) !important;
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] #ai-settings-modal .ai-test-status.ok {
  color: hsla(142, 76%, 72%, 1);
}

/* ---- app/Modules/Dashboard/Views/super.upgrade.php <style> ---- */
html[data-theme="dark"] .upgrade-title {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-card,
html[data-theme="dark"] .upgrade-side {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .upgrade-side__title {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-tabs {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .upgrade-tab-btn {
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .upgrade-tab-btn.is-active {
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-bulk {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .upgrade-check {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-bulk-delete {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .upgrade-version,
html[data-theme="dark"] .upgrade-full-backup,
html[data-theme="dark"] .upgrade-database-dump {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .upgrade-version__name,
html[data-theme="dark"] .upgrade-full-backup__name,
html[data-theme="dark"] .upgrade-database-dump__name {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-version__description,
html[data-theme="dark"] .upgrade-full-backup__description,
html[data-theme="dark"] .upgrade-database-dump__description {
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .upgrade-pill {
  background: hsla(219, 85%, 55%, 0.2);
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-rollback,
html[data-theme="dark"] .upgrade-mini-btn {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .upgrade-mini-btn--download {
  background: hsla(219, 85%, 55%, 0.2);
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-mini-btn--restore {
  background: hsla(162, 85%, 55%, 0.2);
  color: hsla(155, 90%, 72%, 1);
}
html[data-theme="dark"] .upgrade-dump-dropzone {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .upgrade-dump-dropzone__title {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-dump-dropzone__file {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-dump-source {
  background: hsla(219, 85%, 55%, 0.2);
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-mini-btn--danger {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .upgrade-empty {
  border: 1px dashed var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .upgrade-dropzone {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .upgrade-dropzone__title {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-dropzone__text {
  color: hsla(218, 15%, 72%, 1);
}
html[data-theme="dark"] .upgrade-dropzone__file {
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-btn--secondary {
  background: hsla(219, 85%, 55%, 0.2);
  color: hsla(218, 24%, 72%, 1);
}
html[data-theme="dark"] .upgrade-result {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .upgrade-result__title {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-list {
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .upgrade-script-box {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .upgrade-script-box__title {
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-script-input {
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .upgrade-create-full {
  border: 1px solid var(--th-border);
  background: var(--th-surface-2);
}

/* ---- app/Modules/Files/Views/filemanager.main.php <style> ---- */
html[data-theme="dark"] .fm-storage-card {
  background: linear-gradient(135deg, rgba(var(--th-surface-rgb), 0.98), rgba(var(--th-surface-2-rgb), 0.92));
}
html[data-theme="dark"] .fm-storage-card__label {
  color: var(--th-text);
}
html[data-theme="dark"] .fm-storage-card__stat {
  background: rgba(var(--th-surface-rgb), 0.82);
}
html[data-theme="dark"] .fm-storage-card__stat span {
  color: rgba(var(--th-text-rgb), 0.52);
}
html[data-theme="dark"] .fm-storage-card__stat strong {
  color: var(--th-text);
}
html[data-theme="dark"] .fm-storage-card__stat--free strong {
  color: hsla(156, 89%, 72%, 1);
}
html[data-theme="dark"] .files__upload .drop-container {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .fm-unlinked-filter {
  border: var(--ui-border, 1px solid var(--th-border));
  background: var(--th-card-bg);
}
html[data-theme="dark"] .fm-unlinked-filter:hover {
  border-color: hsla(213, 27%, 60%, 0.35);
}
html[data-theme="dark"] .fm-unlinked-filter__box {
  border: 2px solid hsla(217, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .fm-unlinked-filter__box:after {
  border: solid var(--th-border);
}
html[data-theme="dark"] .fm-unlinked-filter__text {
  color: var(--th-text);
}
html[data-theme="dark"] .fm-unlinked-filter input:checked ~ .fm-unlinked-filter__text {
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] .fm-unlinked-filter.is-active {
  background: hsla(152, 81%, 55%, 0.2);
}

/* ---- app/Modules/Offers/Actions/offers.make.php <style> ---- */
html[data-theme="dark"] '
		. 'html,
html[data-theme="dark"] body {
  background: var(--th-card-bg);
}

/* ---- app/Modules/Offers/Views/offers.main.php <style> ---- */
html[data-theme="dark"] .sent-offers-page {
  --so-text: var(--th-text);
  --so-border: var(--th-border);
}
html[data-theme="dark"] .sent-offers-head__count {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-btn--white {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .so-btn--danger {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .so-card {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-kpi--blue .so-kpi__icon {
  background: hsla(217, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi--violet .so-kpi__icon {
  background: hsla(251, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi--green .so-kpi__icon {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-kpi--orange .so-kpi__icon {
  background: hsla(33, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-kpi strong {
  color: var(--th-text);
}
html[data-theme="dark"] .so-kpi em {
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-card-head select,
html[data-theme="dark"] .so-filter-card select,
html[data-theme="dark"] .so-table-toolbar select,
html[data-theme="dark"] .so-period-panel input {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-bar {
  background: hsla(226, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-donut {
  background: conic-gradient(var(--th-surface-3) 0 100%);
}
html[data-theme="dark"] .so-donut:after {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-filter-grid label {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-fast-filters button,
html[data-theme="dark"] .so-period-panel__presets button {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-tag {
  background: hsla(183, 85%, 55%, 0.2);
  border: 1px solid hsla(168, 84%, 60%, 0.35);
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] .so-table-toolbar {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .so-table th {
  background: var(--th-card-bg) !important;
  color: var(--th-text) !important;
  border-bottom: 1px solid var(--th-border) !important;
}
html[data-theme="dark"] .so-table td {
  border-bottom: 1px solid var(--th-border) !important;
  color: hsla(215, 25%, 72%, 1);
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .so-table tbody tr:hover td {
  background: var(--th-surface-2) !important;
}
html[data-theme="dark"] .so-table a {
  color: var(--th-text);
}
html[data-theme="dark"] .so-product-cell img {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .so-product-cell__title {
  color: var(--th-text) !important;
}
html[data-theme="dark"] .so-status--sent {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(142, 76%, 72%, 1);
}
html[data-theme="dark"] .so-status--viewed {
  background: hsla(251, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-status--draft {
  background: hsla(34, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-status--accepted {
  background: hsla(141, 79%, 55%, 0.2);
  color: hsla(142, 72%, 72%, 1);
}
html[data-theme="dark"] .so-status--rejected,
html[data-theme="dark"] .so-status--send_error {
  background: hsla(0, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-status--archived {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .so-actions .is-table__action {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-period-panel {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .paginate_button {
  border: 1px solid var(--th-border) !important;
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .paginate_button.current {
  background: hsla(183, 85%, 55%, 0.2) !important;
  color: hsla(175, 77%, 72%, 1) !important;
}
html[data-theme="dark"] .so-table input[type="checkbox"] {
  border: 2px solid hsla(213, 27%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-table input[type="checkbox"]:checked:before {
  border-left: 2px solid var(--th-border);
  border-bottom: 2px solid var(--th-border);
}
html[data-theme="dark"] .so-date-range-picker {
  background: var(--th-card-bg);
  border: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__title {
  border-bottom: 1px solid var(--th-border);
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__title input {
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__title input:hover,
html[data-theme="dark"] .so-date-range-picker__title input:focus {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-date-range-picker__title input.is-invalid {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 74%, 72%, 1);
}
html[data-theme="dark"] .so-date-range-picker__presets {
  border-right: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-date-range-picker__presets button {
  border-bottom: 1px solid var(--th-border);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-date-range-picker__presets button:hover {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .so-date-range-picker__presets button.is-active {
  background: hsla(203, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-date-range-picker__usage {
  border: 1px solid hsla(214, 85%, 60%, 0.35);
  background: hsla(214, 85%, 55%, 0.2);
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .so-calendar__month {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-calendar__nav button {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-calendar__nav button:hover:not(:disabled) {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-calendar__week span {
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-calendar__day:hover:not(:disabled) {
  background: hsla(212, 85%, 55%, 0.2);
}
html[data-theme="dark"] .so-calendar__day.is-in-range {
  background: hsla(203, 85%, 55%, 0.2);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-date-range-picker__footer {
  border-top: 1px solid var(--th-border);
}
@media(max-width:920px) {
  html[data-theme="dark"] .so-date-range-picker__presets {
    border-bottom: 1px solid var(--th-border);
  }
}
html[data-theme="dark"] .so-search-select__button {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .so-search-select.is-open .so-search-select__button {
  color: var(--th-text);
}
html[data-theme="dark"] .so-search-select__dropdown {
  background: var(--th-card-bg);
  border: 1px solid hsla(216, 38%, 60%, 0.35);
}
html[data-theme="dark"] .so-search-select__search {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  color: var(--th-text);
}
html[data-theme="dark"] .so-search-select__option {
  background: var(--th-card-bg);
  color: hsla(215, 25%, 72%, 1);
}
html[data-theme="dark"] .so-search-select__option:hover,
html[data-theme="dark"] .so-search-select__option.is-active {
  background: hsla(183, 85%, 55%, 0.2);
  color: hsla(175, 77%, 72%, 1);
}
html[data-theme="dark"] .sent-offers-page .so-table tbody tr:nth-child(2n) .so-actions .is-table__action:not(:hover),
html[data-theme="dark"] .sent-offers-page .so-table tbody tr:hover .so-actions .is-table__action:not(:hover),
html[data-theme="dark"] .sent-offers-page .so-actions .is-table__action:not(:hover) {
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .sent-offers-page .so-actions .is-table__action:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(213, 27%, 60%, 0.35) !important;
}
html[data-theme="dark"] .sent-offers-page .so-actions .is-table__action--delete:hover {
  background: hsla(0, 85%, 55%, 0.2) !important;
  border-color: hsla(0, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .sent-offers-page .so-chart-tooltip {
  border: 1px solid var(--th-border);
  background: rgba(var(--th-surface-rgb), 0.96);
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page .so-chart-tooltip__value {
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page .so-chart-tooltip:after {
  background: rgba(var(--th-surface-rgb), 0.96);
  border-right: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .sent-offers-page .so-chart-switch {
  border: 1px solid hsla(216, 38%, 60%, 0.35);
  background: var(--th-surface-2);
}
html[data-theme="dark"] .sent-offers-page .so-chart-switch button:hover {
  background: hsla(226, 85%, 55%, 0.2);
}
html[data-theme="dark"] .sent-offers-page .so-kpi-tooltip {
  border: 1px solid var(--th-border);
  background: rgba(var(--th-surface-rgb), 0.96);
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page .so-kpi-tooltip__value {
  color: var(--th-text);
}
html[data-theme="dark"] .sent-offers-page .so-kpi-tooltip:after {
  background: rgba(var(--th-surface-rgb), 0.96);
  border-right: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .so-btn--demo-delete {
  background: hsla(356, 85%, 55%, 0.2) !important;
  border: 1px solid hsla(353, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .so-btn--demo-delete:hover {
  background: hsla(356, 85%, 55%, 0.2) !important;
  border-color: hsla(353, 85%, 60%, 0.35) !important;
  color: hsla(345, 83%, 72%, 1) !important;
}

/* ---- app/Modules/Settings/Views/options.main.php <style> ---- */
html[data-theme="dark"] .of-form-btn--demo-delete {
  background: hsla(356, 85%, 55%, 0.2) !important;
  border: 1px solid hsla(353, 85%, 60%, 0.35) !important;
}
html[data-theme="dark"] .of-form-btn--demo-delete:hover {
  background: hsla(356, 85%, 55%, 0.2) !important;
  border-color: hsla(353, 85%, 60%, 0.35) !important;
  color: hsla(345, 83%, 72%, 1) !important;
}

/* ---- app/Modules/Templates/Partials/template-settings-modal.php <style> ---- */
html[data-theme="dark"] .of-template-settings-modal__dialog {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-template-settings-modal__title {
  color: var(--th-text);
}
html[data-theme="dark"] .of-template-settings-modal__close {
  border: 1px solid hsla(216, 38%, 60%, 0.35) !important;
  background: var(--th-card-bg) !important;
}
html[data-theme="dark"] .of-template-settings-modal__close:hover {
  background: var(--th-surface-2) !important;
  border-color: hsla(213, 27%, 60%, 0.35) !important;
  color: var(--th-text) !important;
}
html[data-theme="dark"] .of-template-settings-grid {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-template-settings-row {
  border-bottom: 1px solid var(--th-border);
}
html[data-theme="dark"] .of-template-settings-label {
  color: var(--th-text);
  border-right: 1px solid var(--th-border);
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-template-settings-field {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-template-settings-field input:not([type="radio"]),
html[data-theme="dark"] .of-template-settings-field select {
  color: var(--th-text);
}
html[data-theme="dark"] .of-template-settings-color input[type="color"] {
  border: 1px solid hsla(215, 27%, 60%, 0.35) !important;
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-template-settings-color input[type="text"] {
  border: 1px solid hsla(215, 27%, 60%, 0.35) !important;
}
html[data-theme="dark"] .of-template-settings-radio {
  color: var(--th-text);
}
html[data-theme="dark"] .of-template-settings-categories__search {
  border: 1px solid var(--th-border);
  background: var(--th-card-bg);
  color: var(--th-text);
}
html[data-theme="dark"] .of-template-settings-category-list {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .of-template-settings-category-item {
  color: var(--th-text);
}
html[data-theme="dark"] .of-template-settings-category-box {
  background: var(--th-card-bg);
}
@media (max-width: 767px) {
  html[data-theme="dark"] .of-template-settings-label {
    border-bottom: 1px solid var(--th-border);
  }
}

/* ---- app/Modules/Templates/Views/templates.deckcraft_primary.php <style> ---- */
html[data-theme="dark"] .dc-categories-modal__item {
  color: var(--th-text);
}

/* ---- app/Modules/Templates/Views/templates.image.php <style> ---- */
html[data-theme="dark"] body {
  background: var(--th-surface-2);
  color: hsla(216, 18%, 72%, 1);
}
html[data-theme="dark"] .dc-page {
  background: var(--th-card-bg);
}
html[data-theme="dark"] body {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] .page__title {
  color: var(--th-text);
}
html[data-theme="dark"] .page__sheet {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .preview-error {
  border: 1px solid hsla(0, 85%, 60%, 0.35);
  background: hsla(356, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .preview-error code {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 63%, 72%, 1);
}

/* ---- app/Modules/Templates/Views/templates.import.php <style> ---- */
html[data-theme="dark"] .template-import__card,
html[data-theme="dark"] .template-import__form {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .template-import__title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-import__hint {
  color: hsla(215, 19%, 72%, 1);
}
html[data-theme="dark"] .template-import__drop {
  background: var(--th-surface-2);
}
html[data-theme="dark"] .template-import__drop-title {
  color: var(--th-text);
}
html[data-theme="dark"] .template-import__file {
  background: hsla(214, 85%, 55%, 0.2);
}
html[data-theme="dark"] .template-import__message--error {
  background: hsla(0, 85%, 55%, 0.2);
  color: hsla(0, 70%, 72%, 1);
}
html[data-theme="dark"] .template-import__message--success {
  background: hsla(141, 84%, 55%, 0.2);
  color: hsla(143, 64%, 72%, 1);
}

/* ---- app/Modules/Templates/Views/templates.make.php <style> ---- */
html[data-theme="dark"] #offerist-editor-loader {
  background: var(--th-surface-3) !important;
}
html[data-theme="dark"] #offerist-editor-loader .offerist-editor-loader__text {
  color: var(--th-text) !important;
}

/* ---- app/Modules/Templates/Views/templates.variables.php <style> ---- */
html[data-theme="dark"] .tpl-vars-help,
html[data-theme="dark"] .tpl-vars-block {
  background: var(--th-card-bg);
}
html[data-theme="dark"] .tpl-var-copy {
  border: 1px solid hsla(215, 32%, 60%, 0.35);
  background: var(--th-surface-2);
}

/* ---- app/include/pay_tabs.php <style> ---- */
html[data-theme="dark"] .of-pay-tabs__inner {
  border: 1px solid hsla(168, 48%, 60%, 0.35);
  background: hsla(166, 85%, 55%, 0.16);
}
html[data-theme="dark"] .of-pay-tabs__link:hover {
  color: hsla(170, 81%, 72%, 1);
}
html[data-theme="dark"] .of-pay-tabs__link.is-active {
  color: hsla(172, 90%, 72%, 1);
  background: var(--th-card-bg);
}

/* ---- app/global/inc/assets.php <style> ---- */
html[data-theme="dark"] '
            . 'html.offerist-app-booting,
html[data-theme="dark"].offerist-app-booting body {
  background: var(--th-surface-2);
}
html[data-theme="dark"] '
            . '#offerist-app-boot {
  background: var(--th-surface-2);
  color: var(--th-text);
}
html[data-theme="dark"] '
            . '.offerist-boot__top {
  background: var(--th-card-bg);
}
html[data-theme="dark"] '
            . '.offerist-boot__card {
  background: linear-gradient(110deg,var(--th-surface) 8%,var(--th-surface-2) 18%,var(--th-surface) 33%);
}
html[data-theme="dark"] '
            . '.offerist-boot__status {
  background: rgba(var(--th-surface-rgb), 0.94);
}

/* ---- app/global/scripts.php <style> ---- */
html[data-theme="dark"] .offerist-cookie-notice {
  border: 1px solid var(--th-border);
}
html[data-theme="dark"] .offerist-cookie-notice__close {
  border: 1px solid var(--th-border);
}
