/**
 * Arqelya — тёплая тёмная тема 2026 (override-слой)
 * Подключается ПОСЛЕДНИМ. Перекрывает зелёно-золотую палитру arqelya-theme.css
 * и per-page стили. Светлая тема не затрагивается.
 */

/* =========================================================================
   1. Базовые токены
   ========================================================================= */

html[data-theme="dark"] {
  --arq-loader-bg: #161311;
  --arq-loader-text: #f0e6d6;
  --arq-loader-muted: rgba(240, 230, 214, 0.45);

  /* Глобальные legacy-токены (uipro-motion + style + cabinet) ------------- */
  --arq-paper: #161311;
  --arq-paper-2: #1f1b18;
  --arq-paper-3: #272320;
  --arq-line: rgba(229, 219, 200, 0.1);
  --arq-line-strong: rgba(229, 219, 200, 0.18);

  --arq-ink: #f0e6d6;
  --arq-ink-soft: rgba(240, 230, 214, 0.72);
  --arq-ink-mute: rgba(240, 230, 214, 0.46);

  --arq-accent: #e07a4f;
  --arq-accent-hover: #ec8a5e;
  --arq-accent-soft: rgba(224, 122, 79, 0.14);
  --arq-accent-ink: #16110d;
  --arq-amber: #e89a6a;

  /* uipro-motion (--c-* / --calm-*) */
  --c-paper: #161311;
  --c-paper-2: #1f1b18;
  --c-moss: #e07a4f;
  --c-moss-mid: #ec8a5e;
  --c-moss-light: rgba(224, 122, 79, 0.35);
  --c-gold: #e89a6a;
  --c-rose: #d99a8a;
  --c-mist: rgba(240, 230, 214, 0.46);
  --c-white: #161311;
  --c-ink: #f0e6d6;
  --c-ink-soft: rgba(240, 230, 214, 0.72);
  --c-void: #f0e6d6;

  --calm-paper: #161311;
  --calm-milk: #1f1b18;
  --calm-fog: #272320;
  --calm-stone: rgba(229, 219, 200, 0.18);
  --calm-sage: #e07a4f;
  --calm-sage-dark: #c0653b;
  --calm-ink: #f0e6d6;
  --calm-muted: rgba(240, 230, 214, 0.46);
  --calm-line: rgba(229, 219, 200, 0.1);
  --calm-clay: #e89a6a;

  /* Cabinet / services / app (arqelya-theme.css overrides) */
  --cab-accent: #e07a4f;
  --cab-accent-2: #e89a6a;
  --services-accent: #e07a4f;
  --app-green: #e07a4f;
  --color-cta: #e07a4f;

  /* uipro-motion v2 (--ark-*) */
  --ark-paper: #161311;
  --ark-paper-warm: #1f1b18;
  --ark-mist: #272320;
  --ark-ink: #f0e6d6;
  --ark-muted: rgba(240, 230, 214, 0.46);
  --ark-sage: #e07a4f;
  --ark-sage-deep: #c0653b;
  --ark-sage-soft: rgba(224, 122, 79, 0.14);
  --ark-line: rgba(229, 219, 200, 0.1);
}

/* Высокоспецифичные дубли (перебивают per-page блоки в arqelya-theme.css) */
html[data-theme="dark"] body.page-body.page-editorial.page-editorial-home,
html[data-theme="dark"] body.page-body.page-editorial.page-practices-editorial,
html[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase,
html[data-theme="dark"] body.page-body.page-editorial.page-practice,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial,
html[data-theme="dark"] body.page-body.page-editorial.page-cabinet,
html[data-theme="dark"] body.page-body.page-editorial.page-journal,
html[data-theme="dark"] body.page-body.page-editorial.page-bundles-editorial,
html[data-theme="dark"] body.page-body.page-editorial.page-bundles-page,
html[data-theme="dark"] body.page-body.page-editorial.page-community,
html[data-theme="dark"] body.page-body.page-editorial.page-community-editorial,
html[data-theme="dark"] body.page-body.page-editorial.page-subscription,
html[data-theme="dark"] body.page-body.subscription-body.page-editorial {
  --arq-paper: #161311;
  --arq-paper-2: #1f1b18;
  --arq-ink: #f0e6d6;
  --arq-ink-soft: rgba(240, 230, 214, 0.72);
  --arq-accent: #e07a4f;
}

html[data-theme="dark"] body.page-body.page-editorial.page-qa {
  --arq-paper: #161311;
  --arq-paper-2: #1f1b18;
  --arq-paper-3: #272320;
  --arq-line: rgba(229, 219, 200, 0.1);
  --arq-line-strong: rgba(229, 219, 200, 0.18);
  --arq-ink: #f0e6d6;
  --arq-ink-soft: rgba(240, 230, 214, 0.72);
  --arq-ink-mute: rgba(240, 230, 214, 0.46);
  --arq-accent: #e07a4f;
  --arq-accent-hover: #ec8a5e;
  --arq-accent-soft: rgba(224, 122, 79, 0.14);
  --arq-accent-ink: #16110d;
  --arq-amber: #e89a6a;

  --c-paper: #161311;
  --c-paper-2: #1f1b18;
  --c-moss: #e07a4f;
  --c-moss-mid: #ec8a5e;
  --c-moss-light: rgba(224, 122, 79, 0.35);
  --c-gold: #e89a6a;
  --c-gold-soft: rgba(232, 154, 106, 0.28);
  --c-mist: rgba(240, 230, 214, 0.46);
  --c-white: #161311;
  --c-ink: #f0e6d6;
  --c-ink-soft: rgba(240, 230, 214, 0.72);
  --c-void: #f0e6d6;

  --calm-paper: #161311;
  --calm-sage: #e07a4f;
  --calm-sage-dark: #c0653b;
  --calm-ink: #f0e6d6;
  --calm-muted: rgba(240, 230, 214, 0.46);
  --calm-line: rgba(229, 219, 200, 0.1);
  --calm-clay: #e89a6a;

  --ark-paper: #161311;
  --ark-ink: #f0e6d6;
  --ark-muted: rgba(240, 230, 214, 0.46);
  --ark-sage: #e07a4f;
  --ark-sage-deep: #c0653b;
  --ark-sage-soft: rgba(224, 122, 79, 0.14);
  --ark-line: rgba(229, 219, 200, 0.1);

  --services-bg: #161311;
  --services-paper: rgba(31, 27, 24, 0.82);
  --services-panel: #1f1b18;
  --services-ink: #f0e6d6;
  --services-soft: rgba(240, 230, 214, 0.7);
  --services-muted: rgba(240, 230, 214, 0.46);
  --services-line: rgba(229, 219, 200, 0.1);
  --services-line-strong: rgba(224, 122, 79, 0.46);
  --services-accent: #e07a4f;

  --cab-accent: #e07a4f;
  --cab-accent-2: #e89a6a;
  --app-green: #e07a4f;
  --color-cta: #e07a4f;
}

[data-theme="dark"] body.page-body,
[data-theme="dark"] body.page-body.page-editorial,
html[data-theme="dark"] body.page-body,
html[data-theme="dark"] body.page-body.page-editorial {
  /* Дублируем для перебивания uipro-motion / style / per-page правил
     с более узкой специфичностью на body.page-body (без data-theme). */
  --arq-paper: #161311;
  --arq-paper-2: #1f1b18;
  --arq-paper-3: #272320;
  --arq-line: rgba(229, 219, 200, 0.1);
  --arq-line-strong: rgba(229, 219, 200, 0.18);

  --arq-ink: #f0e6d6;
  --arq-ink-soft: rgba(240, 230, 214, 0.72);
  --arq-ink-mute: rgba(240, 230, 214, 0.46);

  --arq-accent: #e07a4f;
  --arq-accent-hover: #ec8a5e;
  --arq-accent-soft: rgba(224, 122, 79, 0.14);
  --arq-accent-ink: #16110d;
  --arq-amber: #e89a6a;

  --c-paper: #161311;
  --c-paper-2: #1f1b18;
  --c-moss: #e07a4f;
  --c-moss-mid: #ec8a5e;
  --c-moss-light: rgba(224, 122, 79, 0.35);
  --c-gold: #e89a6a;
  --c-mist: rgba(240, 230, 214, 0.46);
  --c-white: #161311;
  --c-ink: #f0e6d6;
  --c-ink-soft: rgba(240, 230, 214, 0.72);
  --c-void: #f0e6d6;

  --calm-paper: #161311;
  --calm-milk: #1f1b18;
  --calm-sage: #e07a4f;
  --calm-sage-dark: #c0653b;
  --calm-ink: #f0e6d6;
  --calm-muted: rgba(240, 230, 214, 0.46);
  --calm-line: rgba(229, 219, 200, 0.1);
  --calm-clay: #e89a6a;

  --ark-paper: #161311;
  --ark-paper-warm: #1f1b18;
  --ark-mist: #272320;
  --ark-ink: #f0e6d6;
  --ark-muted: rgba(240, 230, 214, 0.46);
  --ark-sage: #e07a4f;
  --ark-sage-deep: #c0653b;
  --ark-sage-soft: rgba(224, 122, 79, 0.14);
  --ark-line: rgba(229, 219, 200, 0.1);

  --cab-accent: #e07a4f;
  --cab-accent-2: #e89a6a;
  --services-accent: #e07a4f;
  --app-green: #e07a4f;

  /* Пере-маппинг legacy-токенов uipro / editorial */
  --c-void: #f0e6d6;
  --c-ink: #f0e6d6;
  --c-ink-soft: rgba(240, 230, 214, 0.72);
  --c-paper: #161311;
  --c-paper-2: #1f1b18;
  --c-moss: var(--arq-accent);
  --c-moss-mid: var(--arq-accent-hover);
  --c-moss-light: var(--arq-accent-soft);
  --c-mist: var(--arq-ink-mute);
  --c-white: #161311;
  --c-gold: var(--arq-amber);
  --c-gold-soft: rgba(212, 154, 91, 0.22);

  --arq-accent-ink: #16110d;
  --arq-toggle-track-border: rgba(229, 219, 200, 0.14);
  --arq-toggle-track-bg: rgba(255, 255, 255, 0.05);
  --arq-toggle-thumb: #f0e6d6;
  --arq-toggle-hint: var(--arq-ink-mute);

  background-color: var(--arq-paper) !important;
  background-image: none !important;
  color: var(--arq-ink);
}

/* =========================================================================
   2. Глобальная типографика и ссылки
   ========================================================================= */

[data-theme="dark"] .page-editorial .section-eyebrow {
  color: var(--arq-ink-mute) !important;
}

[data-theme="dark"] .page-editorial .section-title {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .page-editorial .section-lead,
[data-theme="dark"] .page-editorial .text-muted-soft,
[data-theme="dark"] .page-editorial .small {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial .link-calm {
  color: var(--arq-ink-soft);
  text-decoration-color: rgba(224, 122, 79, 0.35);
}

[data-theme="dark"] .page-editorial .link-calm:hover {
  color: var(--arq-accent-hover);
}

[data-theme="dark"] .page-editorial .back-link {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .back-link:hover {
  color: var(--arq-accent-hover);
}

/* uipro-motion: глобальный `a { color: var(--calm-sage-dark); }` стал зелёным */
[data-theme="dark"] body.page-body a:not(.btn):not([class*="--solid"]):not([class*="cabinet-pill"]):not(.site-header__login-outline) {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] body.page-body a:hover:not(.btn) {
  color: var(--arq-accent-hover);
}

[data-theme="dark"] body.page-body .footer-brand,
[data-theme="dark"] body.page-body .footer-brand span,
[data-theme="dark"] body.page-body .site-header__logo-wordmark,
[data-theme="dark"] body.page-body .mh__name,
[data-theme="dark"] body.page-body .mh-menu__brand,
[data-theme="dark"] body.page-body .mh-menu__brand span {
  color: var(--arq-ink) !important;
}

/* hero stats и крупные числа на главной — оранжевые акценты */
[data-theme="dark"] body.page-editorial-home .arq-stat__num,
[data-theme="dark"] .arq-trust__num {
  color: var(--arq-amber) !important;
}

/* =========================================================================
   3. Кнопки CTA (оранжевый акцент)
   ========================================================================= */

[data-theme="dark"] .page-editorial .btn-calm,
[data-theme="dark"] .page-editorial .btn-primary {
  --bs-btn-bg: var(--arq-accent) !important;
  --bs-btn-border-color: var(--arq-accent) !important;
  --bs-btn-color: var(--arq-accent-ink) !important;
  --bs-btn-hover-bg: var(--arq-accent-hover) !important;
  --bs-btn-hover-border-color: var(--arq-accent-hover) !important;
  --bs-btn-hover-color: var(--arq-accent-ink) !important;
  background-color: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial .btn-calm:hover,
[data-theme="dark"] .page-editorial .btn-primary:hover {
  background-color: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial .btn-outline-calm,
[data-theme="dark"] .page-editorial .btn-outline-secondary {
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink-soft) !important;
  background: transparent !important;
}

[data-theme="dark"] .page-editorial .btn-outline-calm:hover,
[data-theme="dark"] .page-editorial .btn-outline-secondary:hover {
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-hover) !important;
  background: var(--arq-accent-soft) !important;
}

/* =========================================================================
   4. Шапка, футер, оффканвас, мобильная шапка
   ========================================================================= */

[data-theme="dark"] .page-editorial .site-header {
  background: var(--arq-paper) !important;
  border-bottom-color: var(--arq-line) !important;
}

[data-theme="dark"] .page-editorial .site-header__logo-wordmark,
[data-theme="dark"] .page-editorial .site-header__nav-link {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .site-header__nav-link:hover,
[data-theme="dark"] .page-editorial .site-header__nav-link.is-active {
  color: var(--arq-ink) !important;
  background: var(--arq-accent-soft) !important;
  box-shadow: inset 0 -1px 0 var(--arq-accent);
}

[data-theme="dark"] .page-editorial .site-header__micro-link {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .page-editorial .site-header__micro-link:hover {
  color: var(--arq-accent-hover);
}

[data-theme="dark"] .page-editorial .site-header__ghost-link {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .site-header__login-outline {
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink) !important;
  background: transparent !important;
}

[data-theme="dark"] .page-editorial .site-header__login-outline:hover {
  border-color: var(--arq-accent) !important;
  background: var(--arq-accent-soft) !important;
  color: var(--arq-accent-hover) !important;
}

[data-theme="dark"] .page-editorial .site-header__cabinet-pill {
  border-color: var(--arq-line-strong) !important;
  background: transparent !important;
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial .site-header__cabinet-pill:hover,
[data-theme="dark"] .page-editorial .site-header__cabinet-pill.is-active {
  border-color: var(--arq-accent) !important;
  background: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial .site-header__burger {
  border-color: var(--arq-line-strong) !important;
  background: var(--arq-paper-2) !important;
}

[data-theme="dark"] .page-editorial .site-header__burger-line {
  background: var(--arq-ink);
}

[data-theme="dark"] .page-editorial .site-nav-offcanvas {
  background: var(--arq-paper-2) !important;
  border-left-color: var(--arq-line) !important;
}

[data-theme="dark"] .page-editorial .site-nav-offcanvas__title,
[data-theme="dark"] .page-editorial .site-nav-offcanvas__link {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .site-nav-offcanvas__link.is-active,
[data-theme="dark"] .page-editorial .site-nav-offcanvas__link:hover {
  color: var(--arq-ink);
}

[data-theme="dark"] .page-editorial .site-nav-offcanvas__cta--solid {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial .site-nav-offcanvas__cta--outline {
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink);
}

[data-theme="dark"] .page-editorial .site-footer {
  background: var(--arq-paper) !important;
  border-top-color: var(--arq-line) !important;
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .site-footer .footer-brand span {
  color: var(--arq-ink);
}

[data-theme="dark"] .page-editorial .footer-legal__link {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .page-editorial .footer-legal__link:hover {
  color: var(--arq-accent-hover);
}

[data-theme="dark"] .page-editorial .arq-footer-minimal {
  background: var(--arq-paper) !important;
  border-top-color: var(--arq-line) !important;
}

[data-theme="dark"] .page-editorial .arq-footer-minimal__copy,
[data-theme="dark"] .page-editorial .arq-footer-minimal__disclaimer {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .page-editorial .arq-footer-minimal__link {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .arq-footer-minimal__link:hover {
  color: var(--arq-accent-hover);
}

/* Мобильная шапка */
html[data-theme="dark"] .mh {
  background: var(--arq-paper, #161311) !important;
  border-bottom-color: var(--arq-line) !important;
}

html[data-theme="dark"] .mh__name {
  color: var(--arq-ink, #f0e6d6);
}

html[data-theme="dark"] .mh-menu {
  background: var(--arq-paper-2, #1f1b18) !important;
}

html[data-theme="dark"] .mh-menu__link {
  color: var(--arq-ink-soft);
}

html[data-theme="dark"] .mh-menu__link.is-active {
  color: var(--arq-ink);
  background: var(--arq-accent-soft);
}

html[data-theme="dark"] .mh-menu__btn--solid {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] .mh-menu__btn--outline {
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink);
}

html[data-theme="dark"] .mh-menu__hint {
  color: var(--arq-ink-mute);
}

html[data-theme="dark"] .mh-overlay {
  background: rgba(10, 8, 6, 0.72) !important;
}

/* Логотип PNG (чёрный штрих) → белый в тёмной теме */
html[data-theme="dark"] img.site-logo-mark,
html[data-theme="dark"] .page-editorial .site-header__brand .site-header__logo,
html[data-theme="dark"] .page-editorial .site-header__brand img.site-logo-mark,
html[data-theme="dark"] .mh__logo,
html[data-theme="dark"] .site-footer__logo,
html[data-theme="dark"] .site-nav-offcanvas__logo,
[data-theme="dark"] img.site-logo-mark {
  filter: brightness(0) invert(1) !important;
  -webkit-filter: brightness(0) invert(1) !important;
  transition: filter 0.25s ease;
}

/* Название «Аркелия» рядом с лого — светлый текст (перебивает .navbar-brand { color: var(--c-moss) }) */
html[data-theme="dark"] .page-editorial .site-header__brand,
html[data-theme="dark"] .page-editorial .site-header__brand.navbar-brand,
html[data-theme="dark"] .page-editorial .site-header__logo-wordmark,
html[data-theme="dark"] body.page-body .site-header__logo-wordmark {
  color: var(--arq-ink, #f0e6d6) !important;
}

/* =========================================================================
   5. Формы
   ========================================================================= */

[data-theme="dark"] .page-editorial .form-control,
[data-theme="dark"] .page-editorial .form-select {
  background-color: var(--arq-paper-2) !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .page-editorial .form-control::placeholder {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .page-editorial .form-control:focus,
[data-theme="dark"] .page-editorial .form-select:focus {
  border-color: var(--arq-accent) !important;
  box-shadow: 0 0 0 1px rgba(224, 122, 79, 0.28) !important;
}

/* =========================================================================
   6. Карточки и общие блоки
   ========================================================================= */

[data-theme="dark"] .page-editorial .service-card,
[data-theme="dark"] .page-editorial .bundle-card,
[data-theme="dark"] .page-editorial .social-card,
[data-theme="dark"] .page-editorial .community-page__panel,
[data-theme="dark"] .page-editorial .community-sidebar-card,
[data-theme="dark"] .page-editorial .community-stories-hub,
[data-theme="dark"] .page-editorial .community-block__inner,
[data-theme="dark"] .page-editorial .subscription-panel,
[data-theme="dark"] .page-editorial .subscription-trust__item,
[data-theme="dark"] .page-editorial .anxiety-quiz-intro,
[data-theme="dark"] .page-editorial .anxiety-quiz-step,
[data-theme="dark"] .page-editorial .anxiety-quiz-option,
[data-theme="dark"] .page-editorial .continue-strip__card,
[data-theme="dark"] .page-editorial .reading-reminder__card,
[data-theme="dark"] .page-editorial .card {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line) !important;
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .page-editorial .service-card__title,
[data-theme="dark"] .page-editorial .bundle-card h3,
[data-theme="dark"] .page-editorial .social-card__title,
[data-theme="dark"] .page-editorial .subscription-hero__title,
[data-theme="dark"] .page-editorial .anxiety-quiz-title,
[data-theme="dark"] .page-editorial .anxiety-quiz-q {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .page-editorial .qa-acc .accordion-button {
  background: var(--arq-paper-2) !important;
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .page-editorial .qa-acc .accordion-button:not(.collapsed) {
  background: var(--arq-paper-3) !important;
}

[data-theme="dark"] .page-editorial .qa-acc .accordion-body {
  background: var(--arq-paper) !important;
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial .qa-content-note {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line) !important;
}

/* =========================================================================
   7. Главная (page-editorial-home)
   ========================================================================= */

[data-theme="dark"] body.page-editorial-home {
  background: linear-gradient(180deg, #181412 0%, var(--arq-paper) 48%, #1a1714 100%) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-display,
[data-theme="dark"] body.page-editorial-home .arq-section-title,
[data-theme="dark"] .page-editorial-home .arq-display,
[data-theme="dark"] .page-editorial-home .arq-section-title {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-eyebrow--muted,
[data-theme="dark"] .page-editorial-home .arq-eyebrow--muted {
  color: var(--arq-ink-mute) !important;
}

/* Базовый .arq-eyebrow (без модификатора --muted) в light имеет #2a2520 —
   в тёмной теме это сливается с фоном. Перекрываем глобально. */
[data-theme="dark"] .page-editorial .arq-eyebrow,
[data-theme="dark"] body.page-editorial .arq-eyebrow,
[data-theme="dark"] .page-editorial-home .arq-eyebrow,
[data-theme="dark"] body.page-editorial-home .arq-eyebrow {
  color: var(--arq-ink-mute) !important;
}

/* На светлой плашке внутри тёмной темы (например hero-блок) допускаем чуть ярче */
[data-theme="dark"] .page-editorial .arq-eyebrow--on-dark,
[data-theme="dark"] body.page-editorial .arq-eyebrow--on-dark {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-hero__lead {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial-home .arq-btn--primary {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial-home .arq-btn--primary:hover {
  background: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial-home .arq-btn--ghost {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .page-editorial-home .arq-btn--ghost:hover {
  color: var(--arq-accent-hover);
}

[data-theme="dark"] .page-editorial-home .arq-state-tag {
  color: var(--arq-ink-soft);
  border-color: var(--arq-line-strong);
  background: var(--arq-paper-2);
}

[data-theme="dark"] .page-editorial-home .arq-state-tag:hover {
  border-color: rgba(224, 122, 79, 0.45);
  color: var(--arq-ink);
}

[data-theme="dark"] .page-editorial-home .arq-state-reco__title {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .page-editorial-home .arq-state-reco__text {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial-home .arq-state-tag.is-active,
[data-theme="dark"] body.page-editorial-home .arq-state-tag.is-active {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .page-editorial-home .arq-state-reco__btn--cta {
  background: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial-home .arq-state-reco__btn--cta:hover {
  background: var(--arq-accent-hover) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .page-editorial-home .arq-link-all {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial-home .arq-link-all:hover {
  color: var(--arq-accent-hover) !important;
}

/* practice-card: базовые цвета __open и __meta в light — #7a6f63 / #9a9085,
   на тёмном фоне слишком слабые → даём ink-soft / ink-mute */
[data-theme="dark"] .page-editorial-home .arq-practice-card__open {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .page-editorial-home .arq-practice-card__meta {
  color: var(--arq-ink-mute) !important;
}

[data-theme="dark"] .page-editorial-home .arq-practice-card:hover {
  background: var(--arq-accent-soft) !important;
}

[data-theme="dark"] .page-editorial-home .arq-practice-card:hover .arq-practice-card__open,
[data-theme="dark"] .page-editorial-home .arq-practice-card__tag {
  color: var(--arq-amber) !important;
}

[data-theme="dark"] .page-editorial-home .arq-practice-card__title {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .page-editorial-home .arq-practice-card__desc {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-hero::before {
  background-image:
    linear-gradient(90deg, rgba(22, 19, 17, 0.94) 0%, rgba(22, 19, 17, 0.72) 38%, rgba(22, 19, 17, 0.35) 58%, rgba(22, 19, 17, 0) 82%),
    linear-gradient(180deg, rgba(22, 19, 17, 0.05), rgba(22, 19, 17, 0.55) 92%),
    url("../img/arqelya-ritual-still-life.png") !important;
  filter: brightness(0.68) saturate(0.85);
}

[data-theme="dark"] body.page-editorial-home .arq-hero::after {
  background: linear-gradient(180deg, transparent, rgba(22, 19, 17, 0.92) 90%) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-hero__grid::before {
  background:
    linear-gradient(90deg, rgba(22, 19, 17, 0.82), rgba(22, 19, 17, 0.12) 40%, rgba(22, 19, 17, 0) 100%),
    url("../img/arqelya-ritual-still-life.png") center right / cover no-repeat !important;
  filter: brightness(0.72) saturate(0.88);
}

[data-theme="dark"] body.page-editorial-home .arq-hero__stats {
  border-color: var(--arq-line) !important;
  background: rgba(31, 27, 24, 0.72) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-stat__num {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-stat__lbl {
  color: var(--arq-ink-mute) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-hero__quote-wrap {
  border-color: var(--arq-line) !important;
  border-left-color: rgba(224, 122, 79, 0.35) !important;
  background: rgba(22, 19, 17, 0.55) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-hero__quote-live {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-hero__quote-foot {
  color: var(--arq-ink-mute) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-state__grid,
[data-theme="dark"] body.page-editorial-home .arq-practices__grid {
  border-color: var(--arq-line) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-practice-card {
  border-right-color: var(--arq-line) !important;
}

[data-theme="dark"] .arq-phrase-band,
[data-theme="dark"] .page-editorial .main-content > section.arq-phrase-band {
  background: var(--arq-paper-2) !important;
  background-image: none !important;
  border-top-color: var(--arq-line) !important;
  border-bottom-color: var(--arq-line) !important;
}

[data-theme="dark"] .arq-phrase-band__label {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .arq-trust__num {
  color: var(--arq-ink-mute);
}

[data-theme="dark"] .arq-trust__heading {
  color: var(--arq-ink);
}

[data-theme="dark"] .arq-trust__text {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .arq-testimonials {
  background: var(--arq-paper-2) !important;
}

[data-theme="dark"] .arq-quote-card {
  background: var(--arq-paper-3) !important;
  border-left-color: rgba(224, 122, 79, 0.35) !important;
}

[data-theme="dark"] .arq-quote-card__text {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .arq-quote-card__author {
  color: var(--arq-ink-mute) !important;
}

[data-theme="dark"] .arq-quote-card--invite {
  background: transparent !important;
  border-left-color: rgba(224, 122, 79, 0.35) !important;
}
[data-theme="dark"] .arq-quote-card--invite .arq-quote-card__text {
  color: var(--arq-ink-mute) !important;
}
[data-theme="dark"] .arq-quote-card--invite .arq-quote-card__author a {
  color: var(--arq-ink-soft) !important;
}
[data-theme="dark"] .arq-testimonials__invite {
  background: var(--arq-paper-3) !important;
  border-left-color: rgba(224, 122, 79, 0.35) !important;
}
[data-theme="dark"] .arq-testimonials__invite-text {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .arq-final__title {
  color: var(--arq-ink);
}

[data-theme="dark"] .arq-final__lead {
  color: var(--arq-ink-soft);
}

[data-theme="dark"] .arq-final__disclaimer {
  color: var(--arq-ink-mute);
}

/* =========================================================================
   8. Практики — каталог (showcase + plx)
   ========================================================================= */

html[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase,
html[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase .main-content {
  background: var(--arq-paper) !important;
}

html[data-theme="dark"] .arq-practices-showcase,
[data-theme="dark"] .arq-practices-showcase {
  --page-bg: #161311;
  --page-bg-2: #12100e;
  --surface: rgba(240, 230, 214, 0.055);
  --surface-strong: rgba(240, 230, 214, 0.095);
  --surface-muted: rgba(240, 230, 214, 0.04);
  --ink: #f0e6d6;
  --ink-soft: rgba(240, 230, 214, 0.72);
  --ink-muted: rgba(240, 230, 214, 0.46);
  --hairline: rgba(229, 219, 200, 0.1);
  --accent: #e07a4f;
  --accent-soft: rgba(224, 122, 79, 0.14);
  --accent-faint: rgba(224, 122, 79, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, var(--page-bg) 0%, #1a1714 48%, var(--page-bg-2) 100%) !important;
}

html[data-theme="dark"] .arq-practices-showcase .state-card:hover,
html[data-theme="dark"] .arq-practices-showcase .state-card:focus-visible,
html[data-theme="dark"] .arq-practices-showcase .state-card.active,
[data-theme="dark"] .arq-practices-showcase .state-card:hover,
[data-theme="dark"] .arq-practices-showcase .state-card:focus-visible,
[data-theme="dark"] .arq-practices-showcase .state-card.active {
  border-color: rgba(224, 122, 79, 0.45) !important;
  background: var(--arq-accent-soft) !important;
}

html[data-theme="dark"] .arq-practices-showcase .spotlight-badge,
[data-theme="dark"] .arq-practices-showcase .spotlight-badge {
  color: var(--arq-amber) !important;
  border-color: rgba(212, 154, 91, 0.35) !important;
}

[data-theme="dark"] body.page-practices-editorial .plx-page {
  --plx-ink: #f0e6d6;
  --plx-muted: rgba(240, 230, 214, 0.58);
  --plx-soft: rgba(240, 230, 214, 0.38);
  --plx-paper: #161311;
  --plx-paper-2: #1f1b18;
  --plx-white: rgba(31, 27, 24, 0.94);
  --plx-line: rgba(229, 219, 200, 0.09);
  --plx-line-strong: rgba(229, 219, 200, 0.16);
  --plx-green: #e07a4f;
  --plx-olive: rgba(212, 154, 91, 0.85);
  --plx-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  background:
    radial-gradient(circle at 84% 3%, rgba(224, 122, 79, 0.06), transparent 32%),
    linear-gradient(180deg, #161311 0%, #1a1714 52%, #161311 100%) !important;
  color: var(--plx-ink);
}

[data-theme="dark"] body.page-practices-editorial .plx-search-card,
[data-theme="dark"] body.page-practices-editorial .plx-preview,
[data-theme="dark"] body.page-practices-editorial .plx-featured,
[data-theme="dark"] body.page-practices-editorial .plx-row__media,
[data-theme="dark"] body.page-practices-editorial .plx-cta,
[data-theme="dark"] body.page-practices-editorial .plx-empty {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line) !important;
}

[data-theme="dark"] body.page-practices-editorial .plx-search__input.form-control {
  background: var(--arq-paper-3) !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice {
  background: var(--arq-paper) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice .practice-page-plx.plx-page {
  --plx-green: #e07a4f;
  --plx-olive: rgba(212, 154, 91, 0.62);
  background:
    radial-gradient(760px 460px at 76% 8%, rgba(224, 122, 79, 0.08), transparent 62%),
    linear-gradient(180deg, #1a1714 0%, #161311 100%) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice .practice-article__title,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-article__title.article-title {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice .practice-article__lead,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-prose p,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-body p {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice .practice-article__rule {
  background: rgba(224, 122, 79, 0.34) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice .practice-favorite-btn--accent[aria-pressed="true"] {
  background: var(--arq-accent-soft) !important;
  border-color: rgba(224, 122, 79, 0.4) !important;
  color: var(--arq-accent-hover) !important;
}

[data-theme="dark"] body.page-practices-editorial.page-practice .practice-safety-callout {
  border-left-color: rgba(224, 122, 79, 0.28) !important;
}

/* practice-redesign.css (pageHeadInject) */
html[data-theme="dark"] body.page-practices-editorial.page-practice,
[data-theme="dark"] body.page-practices-editorial.page-practice {
  --practice-bg: #161311;
  --practice-bg-2: #12100e;
  --practice-ink: #f0e6d6;
  --practice-text: rgba(240, 230, 214, 0.72);
  --practice-muted: rgba(240, 230, 214, 0.46);
  --practice-line: rgba(229, 219, 200, 0.1);
  --practice-accent: #e07a4f;
  --practice-accent-soft: rgba(224, 122, 79, 0.13);
  --practice-surface: rgba(240, 230, 214, 0.055);
  --practice-surface-strong: rgba(240, 230, 214, 0.095);
  background: var(--practice-bg) !important;
}

/* practice-guided.css */
html[data-theme="dark"] body.page-practice--guided,
[data-theme="dark"] body.page-practice--guided,
html[data-theme="dark"] .page-practice--guided,
[data-theme="dark"] .page-practice--guided {
  --pg-bg: #161311;
  --pg-paper: #1f1b18;
  --pg-ink: #f0e6d6;
  --pg-ink-soft: rgba(240, 230, 214, 0.72);
  --pg-muted: rgba(240, 230, 214, 0.46);
  --pg-line: rgba(229, 219, 200, 0.14);
  --pg-line-soft: rgba(229, 219, 200, 0.07);
  --pg-accent: #e07a4f;
  --pg-accent-deep: #c0653b;
  --pg-accent-soft: rgba(224, 122, 79, 0.14);
  --pg-on-accent: #fffaf5;
  --pg-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.55);
}

/* services-editorial: фон страницы и градиенты карточек состояний */
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial {
  background:
    radial-gradient(780px 420px at 84% 4%, rgba(224, 122, 79, 0.12), transparent 66%),
    radial-gradient(560px 360px at 8% 46%, rgba(60, 40, 30, 0.6), transparent 68%),
    linear-gradient(180deg, #181411 0%, #161311 48%, #1c1815 100%) !important;
}

/* Шапка/футер: перебивают body.page-services-editorial .site-header { background: rgba(247,244,239,0.9) }
   и аналогичное правило для .site-footer из arqelya-theme.css (его специфичность выше, чем у общего тёмного правила) */
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .site-header {
  background: var(--arq-paper) !important;
  border-bottom-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .site-footer.arq-foot,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .site-footer {
  background: linear-gradient(180deg, var(--foot-paper, #1a1714) 0%, var(--foot-paper-2, #161311) 100%) !important;
  border-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card {
  border-color: var(--services-line) !important;
  background:
    linear-gradient(180deg, rgba(38, 30, 26, 0.72), rgba(22, 19, 17, 0.62)),
    rgba(38, 30, 26, 0.58) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card::before,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card::after {
  background:
    linear-gradient(180deg, rgba(224, 122, 79, 0.1), rgba(22, 19, 17, 0.08)) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card:hover,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card:hover {
  border-color: rgba(224, 122, 79, 0.45) !important;
  background:
    linear-gradient(180deg, rgba(48, 28, 20, 0.82), rgba(22, 19, 17, 0.72)),
    rgba(224, 122, 79, 0.08) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card__go,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link--button {
  border-color: var(--services-line-strong) !important;
  color: var(--services-accent) !important;
  background: rgba(224, 122, 79, 0.08) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link:hover,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link--button:hover {
  border-color: var(--services-accent) !important;
  background: var(--services-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial a:not(.service-card__link):not(.site-header__nav-link):not(.site-header__micro-link):not(.site-header__ghost-link):not(.site-header__login-outline):not(.site-header__cabinet-pill) {
  color: var(--services-accent) !important;
  text-decoration-color: rgba(224, 122, 79, 0.38) !important;
}

/* services zone-nav (chip filter) */
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-main,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-dot,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip-label {
  color: var(--services-accent) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__reset-count {
  background: rgba(224, 122, 79, 0.22) !important;
  color: var(--arq-ink) !important;
}

/* skip-link / reading-bar */
[data-theme="dark"] body.page-editorial > a.skip-link {
  background: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] body.page-editorial #readingBar {
  background-image: linear-gradient(90deg, var(--arq-accent), var(--arq-amber)) !important;
}

/* Mobile-header brand: цвет логотипа-текста */
[data-theme="dark"] body.page-editorial .mh__brand,
[data-theme="dark"] body.page-editorial .mh-menu__brand,
[data-theme="dark"] body.page-editorial .mh-menu__brand span,
[data-theme="dark"] body.page-editorial .mh-menu__link,
[data-theme="dark"] body.page-editorial .mh-menu__btn,
[data-theme="dark"] body.page-editorial .mh-menu__btn--solid,
[data-theme="dark"] body.page-editorial .mh-menu__btn--outline {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] body.page-editorial .site-nav-offcanvas__link,
[data-theme="dark"] body.page-editorial .site-nav-offcanvas__sub-link,
[data-theme="dark"] body.page-editorial .site-nav-offcanvas__cta {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] body.page-editorial .site-nav-offcanvas__link:hover,
[data-theme="dark"] body.page-editorial .site-nav-offcanvas__cta:hover {
  color: var(--arq-accent-hover) !important;
}

/* practice toolbar / reading-progress */
[data-theme="dark"] body.page-practice .practice-toolbar .btn-outline-secondary,
[data-theme="dark"] body.page-practice .practice-action-cluster .btn-outline-secondary,
[data-theme="dark"] body.page-practice .btn-outline-secondary {
  background: transparent !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] body.page-practice .practice-toolbar .btn-outline-secondary:hover,
[data-theme="dark"] body.page-practice .practice-action-cluster .btn-outline-secondary:hover,
[data-theme="dark"] body.page-practice .btn-outline-secondary:hover {
  background: var(--arq-accent-soft) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-hover) !important;
}

[data-theme="dark"] body.page-practice #practice-reading-progress {
  background: rgba(224, 122, 79, 0.08) !important;
}

[data-theme="dark"] body.page-practice #practice-reading-progress::before {
  background: var(--arq-accent) !important;
}

[data-theme="dark"] body.page-practice .practice-reading-progress__fill,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-reading-progress__fill {
  background: linear-gradient(90deg, var(--arq-accent), var(--arq-amber)) !important;
  box-shadow: 0 1px 6px rgba(224, 122, 79, 0.45) !important;
}

html[data-theme="dark"] body.page-practices-editorial.page-practice #main.main-content,
html[data-theme="dark"] body.page-practices-editorial.page-practice .practice-page-plx.plx-page,
[data-theme="dark"] body.page-practices-editorial.page-practice #main.main-content,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-page-plx.plx-page {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 34%, transparent 70%, rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, var(--practice-bg) 0%, #1a1714 48%, var(--practice-bg-2) 100%) !important;
}

html[data-theme="dark"] body.page-practices-editorial.page-practice .practice-complete-callout,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-complete-callout {
  border-color: rgba(224, 122, 79, 0.28) !important;
}

html[data-theme="dark"] body.page-practices-editorial.page-practice .practice-meta-chip.is-accent,
[data-theme="dark"] body.page-practices-editorial.page-practice .practice-meta-chip.is-accent {
  color: var(--arq-accent-hover) !important;
  border-color: rgba(224, 122, 79, 0.35) !important;
}

/* =========================================================================
   9. Услуги (services-2026)
   ========================================================================= */

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial {
  --svc26-paper: #161311;
  --svc26-paper-2: #1f1b18;
  --svc26-paper-3: #272320;
  --svc26-ink: #f0e6d6;
  --svc26-ink-soft: rgba(240, 230, 214, 0.72);
  --svc26-ink-muted: rgba(240, 230, 214, 0.46);
  --svc26-line: rgba(229, 219, 200, 0.1);
  --svc26-line-strong: rgba(229, 219, 200, 0.18);
  --svc26-sage: #e07a4f;
  --svc26-sage-deep: #ec8a5e;
  --svc26-sage-tint: rgba(224, 122, 79, 0.12);
  --svc26-cream-highlight: rgba(224, 122, 79, 0.08);
  --svc26-flagship: #d49a5b;
  --svc26-flagship-tint: rgba(212, 154, 91, 0.14);
  --svc26-deep: #c9a89a;
  --svc26-deep-tint: rgba(201, 168, 154, 0.12);
  --svc26-shadow-soft: 0 24px 50px -32px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-hero {
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(224, 122, 79, 0.08), transparent 60%),
    radial-gradient(700px 460px at 10% 110%, rgba(224, 122, 79, 0.04), transparent 65%),
    linear-gradient(120deg, var(--svc26-paper) 0%, var(--svc26-paper-2) 55%, var(--svc26-paper-3) 100%) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card {
  background: linear-gradient(160deg, rgba(39, 35, 32, 0.85) 0%, rgba(31, 27, 24, 0.95) 100%) !important;
  border-color: var(--svc26-line) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-state-card:hover,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card:hover {
  background: linear-gradient(160deg, rgba(48, 42, 38, 0.92) 0%, rgba(39, 35, 32, 1) 100%) !important;
  border-color: rgba(224, 122, 79, 0.28) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link--button {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link:hover,
html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .service-card__link--button:hover {
  background: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav {
  background: linear-gradient(180deg, rgba(31, 27, 24, 0.94), rgba(22, 19, 17, 0.9)) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-services-editorial .services-zone-nav__chip.is-active {
  border-color: rgba(224, 122, 79, 0.45) !important;
  background: var(--arq-accent-soft) !important;
}

/* =========================================================================
   10. Подборки
   ========================================================================= */

html[data-theme="dark"] .page-bundles-editorial .bundle-chip {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line) !important;
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-chip--new {
  color: var(--arq-accent-hover) !important;
  border-color: rgba(224, 122, 79, 0.35) !important;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-chip--save {
  color: var(--arq-amber) !important;
}

/* bundles-redesign.css (pageHeadInject) */
html[data-theme="dark"] body.page-bundles-editorial,
html[data-theme="dark"] body.page-bundle-editorial {
  --bundle-bg: #161311;
  --bundle-ink: #f0e6d6;
  --bundle-muted: rgba(240, 230, 214, 0.72);
  --bundle-soft: rgba(240, 230, 214, 0.46);
  --bundle-line: rgba(229, 219, 200, 0.1);
  --bundle-panel: rgba(31, 27, 24, 0.84);
  --bundle-panel-solid: #1f1b18;
  --bundle-green: #e07a4f;
  --bundle-green-dark: #ec8a5e;
  --bundle-light: #161311;
  background:
    radial-gradient(circle at 82% 14%, rgba(224, 122, 79, 0.08), transparent 36vw),
    linear-gradient(180deg, #161311 0%, #12100e 100%) !important;
}

html[data-theme="dark"] .page-bundles-editorial .btn-calm,
html[data-theme="dark"] .page-bundle-editorial .btn-calm {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] .page-bundles-editorial .bundle-card:hover,
html[data-theme="dark"] .page-bundle-editorial .bundle-card:hover {
  border-color: rgba(224, 122, 79, 0.28) !important;
}

/* =========================================================================
   11. Сообщество (guest peek)
   ========================================================================= */

html[data-theme="dark"] .community-page--guest .community-peek {
  background: var(--arq-paper) !important;
}

html[data-theme="dark"] .community-page--guest .community-peek__card {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line) !important;
}

html[data-theme="dark"] .community-page--guest .community-faq details {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line) !important;
}

/* community-2026.css (pageHeadInject) */
html[data-theme="dark"] body.community-2026 {
  --cm-bg: #161311;
  --cm-bg-2: #1a1714;
  --cm-card: #1f1b18;
  --cm-card-2: rgba(31, 27, 24, 0.7);
  --cm-ink: #f0e6d6;
  --cm-ink-2: #ddd6ca;
  --cm-muted: rgba(240, 230, 214, 0.62);
  --cm-soft: rgba(240, 230, 214, 0.32);
  --cm-line: rgba(229, 219, 200, 0.1);
  --cm-line-2: rgba(229, 219, 200, 0.06);
  --cm-accent: #e07a4f;
  --cm-accent-2: #ec8a5e;
  --cm-accent-ink: #16110d;
  --cm-veil: linear-gradient(180deg, rgba(22, 19, 17, 0) 0%, rgba(22, 19, 17, 0.96) 80%);
}

html[data-theme="dark"] .community-2026 .cm-filters button.is-active,
html[data-theme="dark"] .community-2026 .cm-principle:hover {
  border-color: rgba(224, 122, 79, 0.4) !important;
  background: var(--arq-accent-soft) !important;
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] .community-2026 .cm-hero::before {
  background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(224, 122, 79, 0.08), transparent 58%) !important;
}

/* =========================================================================
   12. Кабинет
   ========================================================================= */

html[data-theme="dark"] body.page-editorial.page-cabinet {
  --cab-bg: #161311;
  --cab-bg-2: #1a1714;
  --cab-panel: rgba(31, 27, 24, 0.78);
  --cab-panel-strong: rgba(39, 35, 32, 0.94);
  --cab-ink: #f0e6d6;
  --cab-soft: rgba(240, 230, 214, 0.72);
  --cab-muted: rgba(240, 230, 214, 0.46);
  --cab-line: rgba(229, 219, 200, 0.1);
  --cab-line-strong: rgba(229, 219, 200, 0.18);
  --cab-accent: #e07a4f;
  --cab-accent-2: #d49a5b;
  --cab-accent-soft: rgba(224, 122, 79, 0.12);
  background:
    radial-gradient(circle at 12% 2%, rgba(224, 122, 79, 0.06), transparent 34rem),
    linear-gradient(180deg, var(--cab-bg) 0%, var(--cab-bg-2) 100%) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .site-header {
  background: rgba(22, 19, 17, 0.92) !important;
  border-bottom-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro {
  --pro-bg: #161311;
  --pro-bg-sunk: #12100e;
  --pro-surface: #1f1b18;
  --pro-surface-hover: #272320;
  --pro-ink: #f0e6d6;
  --pro-ink-2: rgba(240, 230, 214, 0.88);
  --pro-text: rgba(240, 230, 214, 0.72);
  --pro-muted: rgba(240, 230, 214, 0.46);
  --pro-mute2: rgba(240, 230, 214, 0.32);
  --pro-line: rgba(229, 219, 200, 0.1);
  --pro-line-strong: rgba(229, 219, 200, 0.18);
  --pro-accent: #e07a4f;
  --pro-accent-hover: #ec8a5e;
  --pro-accent-soft: rgba(224, 122, 79, 0.14);
  --pro-accent-faint: rgba(224, 122, 79, 0.07);
  background: var(--pro-bg) !important;
  color: var(--pro-text) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today .btn-primary,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__mood .btn-primary,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today .btn-primary,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__mood .btn-primary {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today .btn-primary:hover,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__mood .btn-primary:hover,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today .btn-primary:hover,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__mood .btn-primary:hover {
  background: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__mood-chips button.is-active,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__mood-chips button.is-active {
  border-color: var(--arq-accent) !important;
  background: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today-eyebrow::before,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today-eyebrow::before {
  background: var(--arq-accent) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today-progress span,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today-progress span {
  background: var(--arq-accent) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__nav-tile:hover .cabinet-pro__nav-tile-value,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__nav-tile:hover .cabinet-pro__nav-tile-value {
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__notice {
  background: rgba(224, 122, 79, 0.08) !important;
  border-color: rgba(224, 122, 79, 0.22) !important;
  color: var(--pro-ink) !important;
}

/* cabinet-pro.css: «Сегодня» и sage-glow — убираем лесной градиент */
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today {
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(224, 122, 79, 0.14), transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(224, 122, 79, 0.08), transparent 60%),
    linear-gradient(160deg, #2a221c 0%, #161311 100%) !important;
  border-color: rgba(224, 122, 79, 0.18) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today-eyebrow::before,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today-eyebrow::before {
  box-shadow: 0 0 0 3px rgba(224, 122, 79, 0.22) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__today-progress,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__today-progress {
  background: rgba(224, 122, 79, 0.12) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__mood textarea:focus,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__mood textarea:focus {
  box-shadow: 0 0 0 3px rgba(224, 122, 79, 0.18) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__mood-private,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__mood-private {
  background: rgba(224, 122, 79, 0.1) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__notice .lux-link:hover,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__notice button.link-button:hover,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__notice .lux-link:hover,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__notice button.link-button:hover {
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__quote,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__quote {
  background: rgba(224, 122, 79, 0.06) !important;
  border-color: rgba(224, 122, 79, 0.16) !important;
  border-left-color: var(--arq-accent) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__settings-body input.form-control:focus,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__settings-body input.form-control:focus {
  box-shadow: 0 0 0 3px rgba(224, 122, 79, 0.18) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .cabinet-pro__settings-body code,
html[data-theme="dark"] .cabinet-pro .cabinet-pro__settings-body code {
  background: rgba(224, 122, 79, 0.08) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .alert-success,
html[data-theme="dark"] .cabinet-pro .alert-success {
  background: rgba(224, 122, 79, 0.12) !important;
  color: var(--arq-ink-soft) !important;
  border-color: rgba(224, 122, 79, 0.2) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro {
  --cp-ivory: #161311;
  --cp-linen: #1f1b18;
  --cp-sage: #e07a4f;
  --cp-sage-mid: #ec8a5e;
  --cp-mist: rgba(240, 230, 214, 0.66);
  --cp-ink: #f0e6d6;
  --cp-ink-soft: rgba(240, 230, 214, 0.78);
  --cp-gold: #d49a5b;
  --cp-gold-soft: rgba(212, 154, 91, 0.22);
  --cp-line: rgba(229, 219, 200, 0.14);
  background:
    radial-gradient(780px 420px at 84% 4%, rgba(224, 122, 79, 0.06), transparent 66%),
    linear-gradient(180deg, #181412 0%, #161311 48%, #1a1714 100%) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-hero,
html[data-theme="dark"] body.page-editorial.page-cabinet .inv-header,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-sidecard,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-access,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-today__shell,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-mod,
html[data-theme="dark"] body.page-editorial.page-cabinet .inv-panel {
  background: linear-gradient(180deg, rgba(39, 35, 32, 0.72), rgba(31, 27, 24, 0.66)) !important;
  border-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-pill,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-editorial__chip,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-dock__inner {
  background: var(--arq-accent-soft) !important;
  border-color: rgba(224, 122, 79, 0.24) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-note,
html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro .form-control {
  background: var(--arq-paper-3) !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-pro-dock__i {
  color: var(--arq-amber) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .continue-practice-card__progress span {
  background: var(--arq-accent) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet {
  --app-bg: #161311;
  --app-panel: #1f1b18;
  --app-panel-soft: #272320;
  --app-ink: #f0e6d6;
  --app-text: rgba(240, 230, 214, 0.72);
  --app-muted: rgba(240, 230, 214, 0.46);
  --app-line: rgba(229, 219, 200, 0.14);
  --app-line-strong: rgba(229, 219, 200, 0.22);
  --app-green: #e07a4f;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .mood-checkin__choices button.is-active,
html[data-theme="dark"] body.page-editorial.page-cabinet .mood-checkin__choices button[aria-pressed="true"] {
  border-color: var(--arq-accent) !important;
  background: var(--arq-accent-soft) !important;
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .continue-practice-card__progress {
  background: rgba(240, 230, 214, 0.12) !important;
}

html[data-theme="dark"] body.page-editorial.page-cabinet .cabinet-hero {
  background:
    linear-gradient(140deg, rgba(22, 19, 17, 0.94) 0%, rgba(31, 27, 24, 0.92) 54%, rgba(48, 38, 32, 0.78) 100%),
    url("../img/arqelya-ritual-still-life.png") center/cover no-repeat !important;
}

/* =========================================================================
   13. Журнал
   ========================================================================= */

html[data-theme="dark"] body.page-journal {
  --jr-bg-start: #161311;
  --jr-bg-mid: #1a1714;
  --jr-bg-end: #12100e;
  --jr-ink: #f0e6d6;
  --jr-ink-soft: rgba(240, 230, 214, 0.88);
  --jr-text: rgba(240, 230, 214, 0.72);
  --jr-muted: rgba(240, 230, 214, 0.46);
  --jr-surface: rgba(31, 27, 24, 0.78);
  --jr-surface-soft: rgba(31, 27, 24, 0.55);
  --jr-surface-strong: rgba(39, 35, 32, 0.92);
  --jr-line: rgba(229, 219, 200, 0.1);
  --jr-line-strong: rgba(229, 219, 200, 0.18);
  --jr-sage: #e07a4f;
  --jr-moss: #ec8a5e;
  --jr-sage-soft: rgba(224, 122, 79, 0.14);
  --jr-sage-ink-on: #16110d;
  --jr-clay: #d49a5b;
  background:
    radial-gradient(1100px 700px at 10% -10%, rgba(224, 122, 79, 0.06), transparent 60%),
    radial-gradient(900px 600px at 95% 0%, rgba(224, 122, 79, 0.04), transparent 60%),
    linear-gradient(180deg, var(--jr-bg-start) 0%, var(--jr-bg-mid) 50%, var(--jr-bg-end) 100%) !important;
}

html[data-theme="dark"] .page-journal .journal-shell .btn-calm,
html[data-theme="dark"] .page-journal .journal-shell .btn-primary {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] .page-journal .journal-shell .btn-calm:hover,
html[data-theme="dark"] .page-journal .journal-shell .btn-primary:hover {
  background: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] .page-journal .journal-pager__link.is-active {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] .page-journal .journal-meta-chip--date {
  color: var(--arq-amber) !important;
}

/* =========================================================================
   14. Cookie-баннер
   ========================================================================= */

[data-theme="dark"] .cookie-consent,
[data-theme="dark"] .page-editorial .cookie-consent__inner {
  background: rgba(31, 27, 24, 0.98) !important;
  border-color: var(--arq-line) !important;
}

[data-theme="dark"] .cookie-consent__title {
  color: var(--arq-ink) !important;
}

[data-theme="dark"] .cookie-consent__text {
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .cookie-consent .btn,
[data-theme="dark"] .cookie-consent button {
  --bs-btn-color: var(--arq-ink) !important;
  --bs-btn-border-color: var(--arq-line-strong) !important;
  --bs-btn-bg: transparent !important;
}

[data-theme="dark"] .cookie-consent .btn-primary,
[data-theme="dark"] .cookie-consent .btn-calm,
[data-theme="dark"] .cookie-consent button.btn-primary {
  --bs-btn-bg: var(--arq-accent) !important;
  --bs-btn-border-color: var(--arq-accent) !important;
  --bs-btn-color: var(--arq-accent-ink) !important;
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

[data-theme="dark"] .cookie-consent .btn-outline-secondary {
  background: transparent !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink-soft) !important;
}

[data-theme="dark"] .cookie-consent .btn-outline-secondary:hover {
  background: var(--arq-accent-soft) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-hover) !important;
}

/* =========================================================================
   15. Focus / доступность
   ========================================================================= */

[data-theme="dark"] .page-editorial a:focus-visible,
[data-theme="dark"] .page-editorial button:focus-visible,
[data-theme="dark"] .page-editorial input:focus-visible,
[data-theme="dark"] .page-editorial textarea:focus-visible,
[data-theme="dark"] .page-editorial select:focus-visible {
  outline-color: rgba(224, 122, 79, 0.55) !important;
}

/* =========================================================================
   16. Ластики — зелёные/золотые литералы из legacy-правил
   ========================================================================= */

[data-theme="dark"] .page-editorial .site-header__nav-link:hover,
[data-theme="dark"] .page-editorial .site-header__nav-link.is-active {
  background: var(--arq-accent-soft) !important;
}

[data-theme="dark"] body.page-editorial-home .arq-practice-card:hover .arq-practice-card__open {
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] .arq-page-loader__logo.site-logo-mark {
  filter: brightness(0) invert(1) drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

/* =========================================================================
   17. Финальный контроль legacy-зелёных токенов
   ========================================================================= */

html[data-theme="dark"],
html[data-theme="dark"] body.page-body,
html[data-theme="dark"] body.page-body.page-editorial {
  --color-primary: #e07a4f;
  --color-primary-dark: #c0653b;
  --color-cta: #e07a4f;
  --color-cta-hover: #ec8a5e;
}

html[data-theme="dark"] body.page-body.page-editorial .service-card__link-arr,
html[data-theme="dark"] body.page-body.page-editorial .services-state-card__go {
  color: var(--arq-accent) !important;
  border-color: rgba(224, 122, 79, 0.46) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .btn-calm,
html[data-theme="dark"] body.page-body.page-editorial .btn-primary,
html[data-theme="dark"] body.page-body.page-editorial a.btn-calm,
html[data-theme="dark"] body.page-body.page-editorial button.btn-calm,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-calm,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-primary {
  --bs-btn-bg: var(--arq-accent) !important;
  --bs-btn-border-color: var(--arq-accent) !important;
  --bs-btn-color: var(--arq-accent-ink) !important;
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
  box-shadow: 0 16px 34px rgba(224, 122, 79, 0.22) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .btn-calm:hover,
html[data-theme="dark"] body.page-body.page-editorial .btn-primary:hover,
html[data-theme="dark"] body.page-body.page-editorial a.btn-calm:hover,
html[data-theme="dark"] body.page-body.page-editorial button.btn-calm:hover,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-calm:hover,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-primary:hover {
  background: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
  color: var(--arq-accent-ink) !important;
}

/* btn-outline-calm / btn-outline-secondary — повышаем специфичность под uipro */
html[data-theme="dark"] body.page-body.page-editorial .btn-outline-calm,
html[data-theme="dark"] body.page-body.page-editorial .btn-outline-secondary,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-outline-calm,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-outline-secondary {
  background: transparent !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .btn-outline-calm:hover,
html[data-theme="dark"] body.page-body.page-editorial .btn-outline-secondary:hover,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-outline-calm:hover,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .btn-outline-secondary:hover {
  background: var(--arq-accent-soft) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-hover) !important;
}

/* form-control / form-select глобально для тёмной темы */
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .form-control,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .form-select {
  background: rgba(22, 19, 17, 0.78) !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .form-control:focus,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .form-select:focus {
  border-color: rgba(224, 122, 79, 0.55) !important;
  box-shadow: 0 0 0 0.22rem rgba(224, 122, 79, 0.18) !important;
}

/* Карточки с белым фоном из uipro */
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .bundle-card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .service-card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .services-state-card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .social-card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .practice-mini,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .path-card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .qa-topic,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .community-page__panel,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .community-sidebar-card,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .community-block__inner {
  background: rgba(31, 27, 24, 0.84) !important;
  border-color: var(--arq-line) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="dark"] body.page-body.page-editorial:not(.page-cabinet) .cookie-consent .btn,
html[data-theme="dark"] body.page-body.page-editorial:not(.page-cabinet) .cookie-consent button,
html[data-theme="dark"] body:not(.page-home-ritual):not(.page-cabinet) .cookie-consent .btn-outline-secondary {
  background: transparent !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-body.page-editorial:not(.page-cabinet) .cookie-consent .btn-primary,
html[data-theme="dark"] body.page-body.page-editorial:not(.page-cabinet) .cookie-consent button.btn-primary {
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial:not(.page-cabinet) .cookie-consent .btn-outline-secondary:hover,
html[data-theme="dark"] body:not(.page-home-ritual):not(.page-cabinet) .cookie-consent .btn-outline-secondary:hover {
  background: var(--arq-accent-soft) !important;
  border-color: var(--arq-accent) !important;
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .community-block__inner {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(224, 122, 79, 0.08), transparent 55%),
    rgba(31, 27, 24, 0.92) !important;
  border-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .community-block__inner a {
  color: var(--arq-accent) !important;
  text-decoration-color: rgba(224, 122, 79, 0.35) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .community-block__inner a:hover {
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .community-block__inner .form-control,
html[data-theme="dark"] body.page-body.page-editorial .community-block__inner input[type="email"],
html[data-theme="dark"] body.page-body.page-editorial .community-block__inner input[type="password"],
html[data-theme="dark"] body.page-body.page-editorial .community-block__inner input[type="text"] {
  background: rgba(22, 19, 17, 0.72) !important;
  border-color: var(--arq-line-strong) !important;
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .community-block__inner .form-control:focus,
html[data-theme="dark"] body.page-body.page-editorial .community-block__inner input:focus {
  border-color: rgba(224, 122, 79, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(224, 122, 79, 0.15) !important;
}

html[data-theme="dark"] body.page-bundles-editorial,
html[data-theme="dark"] body.page-bundle-editorial {
  --bundle-bg: #161311;
  --bundle-ink: #f0e6d6;
  --bundle-muted: rgba(240, 230, 214, 0.7);
  --bundle-soft: rgba(240, 230, 214, 0.46);
  --bundle-line: rgba(229, 219, 200, 0.12);
  --bundle-panel: rgba(31, 27, 24, 0.84);
  --bundle-panel-solid: #1f1b18;
  --bundle-green: #e07a4f;
  --bundle-green-dark: #ec8a5e;
  --bundle-light: #161311;
}

html[data-theme="dark"] .page-bundles-editorial .bundles-hero {
  background:
    linear-gradient(90deg, rgba(18, 14, 12, 0.96) 0%, rgba(35, 24, 19, 0.88) 50%, rgba(35, 24, 19, 0.58) 100%),
    linear-gradient(180deg, rgba(224, 122, 79, 0.28), rgba(22, 19, 17, 0.34)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1800&q=80") center / cover !important;
  background-blend-mode: normal, color, luminosity;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundles-editorial .bundle-card {
  background: rgba(31, 27, 24, 0.9) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundles-editorial .bundle-card:hover {
  background: rgba(40, 31, 26, 0.96) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundles-editorial .bundle-card .card-body::before {
  background: rgba(224, 122, 79, 0.14) !important;
  color: var(--arq-accent) !important;
}

/* page-bundle-editorial: hero (.section-head) с горным изображением — прогреваем */
html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .section-head {
  background:
    linear-gradient(90deg, rgba(18, 14, 12, 0.94) 0%, rgba(35, 24, 19, 0.84) 50%, rgba(35, 24, 19, 0.5) 100%),
    linear-gradient(180deg, rgba(224, 122, 79, 0.22), rgba(22, 19, 17, 0.32)),
    url("https://images.unsplash.com/photo-1470770903676-69b98201ea1c?auto=format&fit=crop&w=1700&q=80") center / cover !important;
  background-blend-mode: normal, color, luminosity !important;
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .section-head .section-eyebrow {
  color: rgba(240, 230, 214, 0.72) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .section-head .section-lead {
  color: rgba(240, 230, 214, 0.86) !important;
}

/* Состав подборки: ссылки и кнопки */
html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .bundle-detail__container li.border-bottom,
html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .bundle-detail__container li {
  border-color: var(--arq-line) !important;
  background: transparent !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .bundle-detail__container a:not(.btn) {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-bundle-editorial .bundle-detail__container a:not(.btn):hover {
  color: var(--arq-accent-hover) !important;
}

/* =========================================================================
   N. Главная: copy-toast, continue-strip, reading-reminder
   ========================================================================= */

html[data-theme="dark"] body.page-body.page-editorial .arq-copy-toast {
  color: var(--arq-accent) !important;
  border-color: rgba(224, 122, 79, 0.46) !important;
  background: rgba(224, 122, 79, 0.08) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__eyebrow {
  color: var(--arq-ink-mute) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__link {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__link:hover {
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__dismiss,
html[data-theme="dark"] body.page-body.page-editorial .reading-reminder__dismiss {
  background: rgba(224, 122, 79, 0.08) !important;
  color: var(--arq-ink-soft) !important;
  border-color: var(--arq-line-strong) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__dismiss:hover,
html[data-theme="dark"] body.page-body.page-editorial .reading-reminder__dismiss:hover {
  background: rgba(224, 122, 79, 0.18) !important;
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__dismiss:focus-visible,
html[data-theme="dark"] body.page-body.page-editorial .reading-reminder__dismiss:focus-visible {
  outline-color: rgba(224, 122, 79, 0.45) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .reading-reminder__card {
  background: rgba(31, 27, 24, 0.84) !important;
  border-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .reading-reminder__text {
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .continue-strip__card {
  background: rgba(31, 27, 24, 0.84) !important;
  border-color: var(--arq-line) !important;
}

/* legal-note (boundaries / privacy / offer / refunds) */
html[data-theme="dark"] body.page-body.page-editorial .legal-note,
html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-note {
  background: linear-gradient(135deg, rgba(224, 122, 79, 0.08), rgba(232, 154, 106, 0.05)) !important;
  border-left-color: rgba(224, 122, 79, 0.42) !important;
  color: var(--arq-ink-soft) !important;
}

/* =========================================================================
   Anxiety quiz (anxiety_quiz.php / anxiety_quiz_result.php)
   ========================================================================= */

html[data-theme="dark"] body.page-body.page-editorial.page-anxiety-quiz {
  --aq-accent: #e07a4f;
  --aq-accent-soft: rgba(224, 122, 79, 0.16);
  --aq-border: rgba(229, 219, 200, 0.14);
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-hero {
  background: linear-gradient(180deg, rgba(31, 27, 24, 0.6) 0%, var(--arq-paper) 100%) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-eyebrow {
  color: var(--arq-ink-mute) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-title {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-lead {
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-q {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-progress {
  background: var(--aq-accent-soft) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-progress__bar {
  background: linear-gradient(90deg, var(--arq-accent), var(--arq-amber)) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-option {
  background: rgba(31, 27, 24, 0.84) !important;
  border-color: var(--aq-border) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-option:hover {
  border-color: rgba(224, 122, 79, 0.42) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-option:has(input:focus-visible) {
  outline-color: rgba(224, 122, 79, 0.55) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-option__text,
html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-prose p {
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-practice-link {
  background: rgba(31, 27, 24, 0.84) !important;
  border-color: var(--aq-border) !important;
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-practice-link:hover {
  border-color: rgba(224, 122, 79, 0.42) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-practice-link__title {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-practice-link__excerpt {
  color: var(--arq-ink-mute) !important;
}

html[data-theme="dark"] body.page-anxiety-quiz .anxiety-quiz-practice-link__cta {
  color: var(--arq-accent) !important;
}

/* Главная: блок home-anxiety-entry */
html[data-theme="dark"] body.page-editorial .home-anxiety-entry {
  background:
    linear-gradient(135deg, rgba(31, 27, 24, 0.94) 0%, rgba(24, 20, 17, 0.98) 50%, rgba(40, 30, 26, 0.95) 100%) !important;
  border-color: var(--arq-line) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] body.page-editorial .home-anxiety-entry::before {
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(224, 122, 79, 0.18), transparent 55%) !important;
}

html[data-theme="dark"] body.page-editorial .home-anxiety-entry__eyebrow {
  color: var(--arq-ink-mute) !important;
}

html[data-theme="dark"] body.page-editorial .home-anxiety-entry__title {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-editorial .home-anxiety-entry__text {
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-editorial .home-anxiety-entry__note {
  color: var(--arq-ink-mute) !important;
}

/* =========================================================================
   N+1. Контраст заголовков и тёмные карточки в светлой обёртке
   ========================================================================= */

/* Главная: «Сезонные подборки» и подобные section-titles c хардкодом #2a2520 */
html[data-theme="dark"] body.page-editorial .arq-bundles-promo__title,
html[data-theme="dark"] body.page-editorial .arq-bundles-promo__inner,
html[data-theme="dark"] body.page-editorial-home .arq-bundles-promo__title,
html[data-theme="dark"] body.page-editorial-home h2[class*="arq-"],
html[data-theme="dark"] body.page-editorial-home .arq-section-title,
html[data-theme="dark"] body.page-editorial-home .arq-display {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-editorial .arq-bundles-promo__inner {
  border-top-color: var(--arq-line) !important;
}

html[data-theme="dark"] body.page-editorial .arq-bundles-promo__lead {
  color: var(--arq-ink-soft) !important;
}

/* Legal pages (boundaries / privacy / offer / refunds): h2 в legal-prose */
html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose h2,
html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose h3,
html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose strong,
html[data-theme="dark"] body.page-body.page-editorial .legal-page .legal-prose h2,
html[data-theme="dark"] body.page-body.page-editorial .legal-page .legal-prose h3 {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose,
html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose p,
html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose li {
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose a,
html[data-theme="dark"] body.page-body.page-editorial .legal-page .legal-prose a {
  color: var(--arq-accent) !important;
  text-decoration-color: rgba(224, 122, 79, 0.42) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-legal-editorial .legal-prose a:hover,
html[data-theme="dark"] body.page-body.page-editorial .legal-page .legal-prose a:hover {
  color: var(--arq-accent-hover) !important;
}

/* QA: «Про сайт и формат» / «Про себя» — qa-topic__title */
html[data-theme="dark"] body.page-body.page-editorial.page-qa-editorial .qa-topic__title,
html[data-theme="dark"] body.page-editorial .qa-topic__title {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial.page-qa-editorial .qa-topic__lead {
  color: var(--arq-ink-soft) !important;
}

/* QA финальная карточка-CTA «Хотите разобраться глубже…» — была белой */
html[data-theme="dark"] body.page-body.page-editorial .qa-soft-cta,
html[data-theme="dark"] body.page-body.page-editorial.page-qa-editorial .qa-soft-cta,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .qa-soft-cta,
html[data-theme="dark"] body.page-body.page-editorial .practice-list-cta,
html[data-theme="dark"] body.page-body:not(.page-home-ritual):not(.page-cabinet) .practice-list-cta {
  background: rgba(31, 27, 24, 0.84) !important;
  background-image: linear-gradient(145deg, rgba(38, 32, 28, 0.92), rgba(26, 22, 19, 0.86)) !important;
  border-color: var(--arq-line) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32) !important;
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .qa-soft-cta__title,
html[data-theme="dark"] body.page-body.page-editorial.page-qa-editorial .qa-soft-cta__title,
html[data-theme="dark"] body.page-body.page-editorial .practice-list-cta__title {
  color: var(--arq-ink) !important;
}

html[data-theme="dark"] body.page-body.page-editorial .qa-soft-cta__text,
html[data-theme="dark"] body.page-body.page-editorial.page-qa-editorial .qa-soft-cta__text,
html[data-theme="dark"] body.page-body.page-editorial .practice-list-cta__text {
  color: var(--arq-ink-soft) !important;
}

/* Bundle: карточка цены — оранжевый акцент на сумме */
html[data-theme="dark"] body.page-bundle-editorial .bundle-price-card,
html[data-theme="dark"] .page-bundle-editorial .bundle-price-card {
  background: linear-gradient(145deg, rgba(38, 32, 28, 0.94), rgba(26, 22, 19, 0.86)) !important;
  border-color: rgba(224, 122, 79, 0.22) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38) !important;
}

html[data-theme="dark"] .page-bundle-editorial .bundle-price-card__label {
  color: var(--arq-ink-soft) !important;
}

html[data-theme="dark"] .page-bundle-editorial .bundle-price-card__note,
html[data-theme="dark"] .page-bundle-editorial .bundle-price-card__saving {
  color: var(--arq-ink-mute) !important;
}

html[data-theme="dark"] .page-bundle-editorial .bundle-price-card__amount {
  color: var(--arq-accent) !important;
}

/* Заголовки h2/h3 общего назначения в editorial-страницах: гарантируем читабельность */
html[data-theme="dark"] body.page-body.page-editorial main h2,
html[data-theme="dark"] body.page-body.page-editorial main h3 {
  color: var(--arq-ink);
}

/* …но не перебиваем уже точечно стилизованные оранжевые/амбер-заголовки */
html[data-theme="dark"] body.page-body.page-editorial .arq-accent-text,
html[data-theme="dark"] body.page-body.page-editorial [class*="--accent"] {
  color: var(--arq-accent) !important;
}

/* =========================================================================
   community-redesign.css (compose / legacy community pages)
   ========================================================================= */

html[data-theme="dark"] body.page-body.page-editorial.community-redesign,
html[data-theme="dark"] body.community-redesign {
  --comm-bg: #161311;
  --comm-bg-2: #12100e;
  --comm-ink: #f0e6d6;
  --comm-muted: rgba(240, 230, 214, 0.72);
  --comm-soft: rgba(240, 230, 214, 0.46);
  --comm-line: rgba(229, 219, 200, 0.1);
  --comm-panel: rgba(31, 27, 24, 0.82);
  --comm-panel-strong: rgba(31, 27, 24, 0.96);
  --comm-moss: #e07a4f;
  --comm-moss-deep: #ec8a5e;
  --comm-clay: #d49a5b;
  --comm-light: #161311;
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 122, 79, 0.08), transparent 34vw),
    linear-gradient(180deg, var(--comm-bg) 0%, var(--comm-bg-2) 100%) !important;
  color: var(--comm-ink) !important;
}

html[data-theme="dark"] body.community-redesign .community-filters button.is-active {
  color: var(--arq-accent-ink) !important;
  background: var(--arq-accent) !important;
  border-color: var(--arq-accent) !important;
}

html[data-theme="dark"] body.community-redesign .community-hero {
  background:
    linear-gradient(90deg, rgba(18, 14, 12, 0.92) 0%, rgba(35, 24, 19, 0.7) 48%, rgba(35, 24, 19, 0.2) 100%),
    url("https://images.unsplash.com/photo-1499209974431-9dddcece7f88?auto=format&fit=crop&w=1800&q=82") center / cover !important;
}

/* Загрузчик: убираем зелёный fallback из arqelya-theme.css */
html[data-theme="dark"] {
  --arq-loader-bg: #161311;
  --arq-loader-text: #f0e6d6;
  --arq-loader-muted: rgba(240, 230, 214, 0.45);
}

/* =========================================================================
   Auth (login / register): community-block — sage в arqelya-theme.css
   ========================================================================= */

html[data-theme="dark"] .page-editorial .community-block__inner {
  background: linear-gradient(145deg, rgba(224, 122, 79, 0.06), rgba(31, 27, 24, 0.5)) !important;
  border-color: var(--arq-line) !important;
}

html[data-theme="dark"] .page-editorial .community-block__inner .form-control,
html[data-theme="dark"] .page-editorial .community-block__inner input[type="email"],
html[data-theme="dark"] .page-editorial .community-block__inner input[type="password"],
html[data-theme="dark"] .page-editorial .community-block__inner input[type="text"] {
  background: var(--arq-paper-2) !important;
  border-color: var(--arq-line-strong) !important;
}

html[data-theme="dark"] .page-editorial .community-block__inner .form-control:focus,
html[data-theme="dark"] .page-editorial .community-block__inner input:focus {
  background: var(--arq-paper-3) !important;
  border-color: var(--arq-accent) !important;
  box-shadow: 0 0 0 3px rgba(224, 122, 79, 0.15) !important;
}

html[data-theme="dark"] .page-editorial .community-block__inner a {
  color: var(--arq-accent) !important;
}

html[data-theme="dark"] .page-editorial .community-block__inner a:hover {
  color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] .page-editorial .community-block__inner .btn-calm:hover,
html[data-theme="dark"] .page-editorial .community-block__inner .btn-primary:hover {
  background: var(--arq-accent-hover) !important;
  border-color: var(--arq-accent-hover) !important;
}

html[data-theme="dark"] .page-editorial .alert-success {
  background: rgba(224, 122, 79, 0.12) !important;
  color: var(--arq-ink-soft) !important;
  border-color: rgba(224, 122, 79, 0.2) !important;
}

/* practices-showcase.css: зелёный body fallback */
html[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase,
html[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase .main-content,
[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase,
[data-theme="dark"] body.page-body.page-editorial.page-practices-showcase .main-content {
  background: var(--arq-paper, #161311) !important;
}
