/* NewChoice Dark System — BD6.1
   A single, deliberate night palette for every public surface. */

html[data-theme="dark"] {
  color-scheme: dark;
  --white: #102531;
  --bg: #07141c;
  --bg-2: #0a1922;
  --surface: #102631;
  --surface-2: #152f3b;
  --surface-3: #1a3845;
  --ink: #f2f7f9;
  --ink-2: #c3d2d8;
  --ink-3: #8fa6b0;
  --border: rgba(153, 196, 211, 0.13);
  --border-2: rgba(153, 196, 211, 0.22);
  --cyan: #43b8d9;
  --cyan-dark: #2394b6;
  --cyan-soft: rgba(67, 184, 217, 0.13);
  --gold: #edc86f;
  --gold-mid: #d9af4f;
  --gold-soft: rgba(237, 200, 111, 0.13);
  --green: #4dd5ae;
  --red: #ff7d7d;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
  --shadow-sm: 0 9px 26px rgba(0, 0, 0, 0.2);
  background: #07141c;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 88% -8%, rgba(50, 159, 191, 0.13), transparent 34rem),
    radial-gradient(circle at -8% 32%, rgba(229, 188, 91, 0.06), transparent 28rem),
    linear-gradient(180deg, #081720 0%, #07141c 58%, #061119 100%) !important;
  color: #f2f7f9 !important;
}

html[data-theme="dark"] body::before,
html[data-theme="dark"] body::after {
  opacity: 0.16 !important;
  filter: saturate(0.75) brightness(0.52) !important;
}

html[data-theme="dark"] * { scrollbar-color: #315463 #0b1d27; }
html[data-theme="dark"] *::-webkit-scrollbar { width: 10px; height: 10px; }
html[data-theme="dark"] *::-webkit-scrollbar-track { background: #0b1d27; }
html[data-theme="dark"] *::-webkit-scrollbar-thumb { background: #315463; border: 2px solid #0b1d27; border-radius: 999px; }
html[data-theme="dark"] ::selection { color: #06141c; background: #6bd2ee; }

html[data-theme="dark"] :focus-visible {
  outline: 3px solid rgba(67, 184, 217, 0.42) !important;
  outline-offset: 2px;
}

html[data-theme="dark"] a { color: #79d2e9; }
html[data-theme="dark"] hr { border-color: rgba(153, 196, 211, 0.14) !important; }
html[data-theme="dark"] svg:not([fill="none"]) { color: currentColor; }

/* Navigation */
html[data-theme="dark"] :is(
  .navbar, .nav, #nav, .header, .topbar, .store-nav-g1, .wl-nav,
  .legal-nav, .nc-about-nav, .studio-header, .toolbar, .bar
) {
  background: rgba(8, 23, 32, 0.9) !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025), 0 16px 38px rgba(0, 0, 0, 0.13) !important;
  color: #eef6f8 !important;
  backdrop-filter: blur(18px) saturate(125%);
}

html[data-theme="dark"] :is(
  .nav-link, .navbar__link, .store-nav-g1__link, .store-nav-g1__mobile-link,
  .mobile-link, .legal-nav a, .wl-nav a, .nc-about-link, .header-title, .topbar-title
) { color: #b8cad1 !important; }

html[data-theme="dark"] :is(
  .nav-link:hover, .navbar__link:hover, .store-nav-g1__link:hover,
  .store-nav-g1__link--active, .mobile-link:hover
) { color: #f7fbfc !important; }

html[data-theme="dark"] :is(
  .nav-user, .navbar__user, .store-nav-g1__user, .store-nav-g1__cart,
  .nav-menu-btn, .store-nav-g1__menu-btn, .navbar__menu-btn
) {
  background: #112a36 !important;
  border-color: rgba(136, 197, 217, 0.2) !important;
  color: #eef6f8 !important;
}

html[data-theme="dark"] :is(.store-nav-g1__mobile, .mobile-menu, .nav-mobile) {
  background: #0d222d !important;
  border-color: rgba(136, 197, 217, 0.18) !important;
  box-shadow: var(--shadow) !important;
}
html[data-theme="dark"] .nc-about-mobile-menu {
  background: #0d222d !important;
  border-color: rgba(136, 197, 217, 0.18) !important;
  box-shadow: var(--shadow) !important;
}
html[data-theme="dark"] :is(.nc-about-menu-btn, .nc-about-cta-ghost) {
  background: #112a36 !important;
  color: #eef6f8 !important;
  border-color: rgba(136, 197, 217, 0.2) !important;
}

/* Typography */
html[data-theme="dark"] :is(
  h1, h2, h3, h4, h5, h6, .page-title, .section-title, .section-head__title,
  .card__title, .form-card__title, .hero-title, .feature-title, .how-title,
  .service-card__title, .course-title, .trainer-info-name, .pd-modal__title,
  .empty__title, .empty-state-g1__title, .tp-section-title, .wl-card-title,
  .legal-header h1, .title
) { color: #f4f8fa !important; }

html[data-theme="dark"] :is(
  p, .subtitle, .page-subtitle, .section-desc, .section-sub, .section-head__desc,
  .card__meta, .feature-desc, .how-desc, .service-card__desc, .course-desc,
  .trainer-desc, .hero-desc, .pd-modal__desc, .empty__desc, .empty-state-g1__desc,
  .tp-empty__desc, .wl-empty-desc, .meta, .detail, .text, .hint
) { color: #9fb3bc !important; }

html[data-theme="dark"] :is(label, .form-group__label, .field label, dt) { color: #c9d8de !important; }
html[data-theme="dark"] :is(small, .muted, .sub, .form-hint, .field-hint) { color: #859da8 !important; }

/* Forms */
html[data-theme="dark"] :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea, select, .form-group__input, .form-group__select, .form-group__textarea,
  .cw-modal-input, .q2-search-input, .search-input-g1, .sort-select,
  .nc-filter-select, .store-coupon input
) {
  background: #0c202b !important;
  color: #eef6f8 !important;
  -webkit-text-fill-color: #eef6f8 !important;
  border-color: rgba(145, 198, 216, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
  caret-color: #62c9e4 !important;
}

html[data-theme="dark"] :is(input, textarea)::placeholder {
  color: #718b97 !important;
  -webkit-text-fill-color: #718b97 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] :is(input, textarea, select):focus {
  background: #102934 !important;
  border-color: #43b8d9 !important;
  box-shadow: 0 0 0 4px rgba(67, 184, 217, 0.13) !important;
}

html[data-theme="dark"] :is(input, textarea, select):disabled {
  background: #101f27 !important;
  color: #718690 !important;
  -webkit-text-fill-color: #718690 !important;
  opacity: 0.75 !important;
}

html[data-theme="dark"] select option { background: #102631; color: #eef6f8; }
html[data-theme="dark"] input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0c202b inset !important;
  -webkit-text-fill-color: #eef6f8 !important;
}
html[data-theme="dark"] input[type="checkbox"],
html[data-theme="dark"] input[type="radio"] { accent-color: #35b1d4; }

/* Buttons */
html[data-theme="dark"] :is(
  .btn-ghost, .btn--ghost, .pd-modal__cta--ghost, .state-btn,
  .viewer-btn, .cw-modal-btn-cancel, .q1-qa-btn
) {
  background: #142d39 !important;
  color: #dce8ec !important;
  border-color: rgba(145, 198, 216, 0.2) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] :is(
  .btn-primary, .btn--primary, .store-small-button, .store-action--primary,
  .store-checkout-button, .pd-modal__cta:not(.pd-modal__cta--ghost),
  .cwz-g41-btn-next, .cwz-g41-btn-submit, .q1-qa-btn--primary
) {
  color: #f7fcfd !important;
  background: linear-gradient(135deg, #177d9b, #239fbe) !important;
  border-color: rgba(82, 203, 235, 0.3) !important;
  box-shadow: 0 10px 24px rgba(13, 118, 148, 0.2) !important;
}

html[data-theme="dark"] :is(.btn-gold, .btn--gold-soft) {
  background: linear-gradient(135deg, #d7aa49, #efd27d) !important;
  color: #17262d !important;
  border-color: rgba(255, 225, 147, 0.35) !important;
}

html[data-theme="dark"] :is(button, .btn, .tp-btn, .card-g1__cta):not(:disabled):hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

html[data-theme="dark"] :is(.btn-danger, .btn--danger, .danger) {
  color: #ffadad !important;
  background: rgba(255, 99, 99, 0.11) !important;
  border-color: rgba(255, 113, 113, 0.24) !important;
}

/* Shared surfaces */
html[data-theme="dark"] :is(
  .card, .panel, .form-card, .stat-card, .info-card, .faq-item, .auth-card,
  .state-card, .legal-content, .legal-intro, .legal-contact, .wl-card,
  .tp-stat, .tp-product, .tp-about, .cw-card, .schedule-item, .permissions-card,
  .q1-stat-card, .q1-agenda-item, .q2-search-results, .q2-result-group,
  .ibk-g50-card, .g52a-stat, .g52a-timeline, .g52dp1-card,
  .rec-g43-section, .pkg-g44-section, .q8-help-card,
  .profile-card, .chat-box, .conv-list, .empty-state, .modal-content, .cart-modal
) {
  background: rgba(15, 38, 50, 0.94) !important;
  color: #edf5f7 !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: var(--shadow-sm) !important;
}

html[data-theme="dark"] :is(
  .card:hover, .info-card:hover, .wl-card:hover, .tp-product:hover,
  .cw-card:hover, .schedule-item:hover
) { border-color: rgba(82, 193, 224, 0.3) !important; }

html[data-theme="dark"] :is(.modal-bg, .pd-modal-bg, .cw-modal, .ibk-g50-modal, .q8-help-overlay, .overlay) {
  background: rgba(2, 9, 13, 0.78) !important;
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] :is(
  .modal, .nc-dialog, .pd-modal, .cw-modal-box, .ibk-g50-modal-box,
  .store-commerce-dialog, .end-modal, .music-panel
) {
  background: #102631 !important;
  color: #eff6f8 !important;
  border-color: rgba(145, 198, 216, 0.18) !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.48) !important;
}

html[data-theme="dark"] :is(.modal-title, .nc-dialog__title, .cw-modal-title, .ibk-g50-modal-title) { color: #f4f9fa !important; }
html[data-theme="dark"] :is(.modal-desc, .nc-dialog__subtitle, .cw-modal-desc, .ibk-g50-modal-desc) { color: #99afb9 !important; }
html[data-theme="dark"] .card__head {
  background: rgba(20, 47, 59, 0.82) !important;
  border-color: rgba(145, 198, 216, 0.12) !important;
}

/* Account menu and dashboard headers */
html[data-theme="dark"] :is(.user-menu, .dropdown) {
  background: #102832 !important;
  color: #eaf3f6 !important;
  border-color: rgba(145, 198, 216, 0.18) !important;
  box-shadow: var(--shadow) !important;
}
html[data-theme="dark"] :is(.user-name, .user-arrow, .dropdown__item) { color: #dce9ed !important; }
html[data-theme="dark"] .dropdown__item {
  background: transparent !important;
  border-color: rgba(145, 198, 216, 0.11) !important;
}
html[data-theme="dark"] .dropdown__item:hover { background: #173844 !important; color: #f3f9fa !important; }
html[data-theme="dark"] .dropdown__item--danger { color: #ff9a9a !important; }
html[data-theme="dark"][data-nc-page="index"] .section-head {
  background: linear-gradient(135deg, #132f3b, #102731) !important;
  color: #eef6f8 !important;
  border-color: rgba(145, 198, 216, 0.15) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Tables and lists */
html[data-theme="dark"] :is(table, .table-wrap, .permissions-table-wrap, .coupon-table-wrap) {
  background: #0f2732 !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}
html[data-theme="dark"] th {
  background: #16333f !important;
  color: #dce9ed !important;
  border-color: rgba(145, 198, 216, 0.13) !important;
}
html[data-theme="dark"] td {
  color: #bcd0d7 !important;
  border-color: rgba(145, 198, 216, 0.1) !important;
}
html[data-theme="dark"] tr:hover td { background: rgba(58, 157, 186, 0.055) !important; }

/* Tabs, filters and compact controls */
html[data-theme="dark"] :is(.tabnav, .admin-tabnav, .coord-tab-group, .filter-shell-g1, .store-g2-shell, .store-section-tabs) {
  background: rgba(13, 32, 42, 0.96) !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14) !important;
}
html[data-theme="dark"] :is(.tab-btn, .tp-tab, .filter-chip, .store-g2-chip, .q5-pill, .store-section-tab) {
  color: #9eb4bd !important;
  background: transparent !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}
html[data-theme="dark"] :is(.tab-btn.active, .tp-tab.active, .filter-chip.active, .store-g2-chip.active, .q5-pill.active, .store-section-tab.active) {
  color: #effafd !important;
  background: rgba(50, 164, 197, 0.16) !important;
  border-color: rgba(76, 194, 227, 0.38) !important;
  box-shadow: inset 0 -2px 0 #43b8d9 !important;
}

html[data-theme="dark"] :is(.badge, .tag, .status-badge, .card-g1__badge, .card-g1__mode-badge, .coupon-scope-pill) {
  border-color: rgba(145, 198, 216, 0.2) !important;
}

/* Landing */
html[data-theme="dark"][data-nc-page="landing"] :is(.hero, .features-bg, .how-bg, .trainers-bg, .courses-bg, .services-section) {
  background-color: transparent !important;
  color: #eef6f8 !important;
}
html[data-theme="dark"] :is(.hero-shell, .hero-premium-card, .hero-session-card) {
  background: linear-gradient(155deg, rgba(18, 48, 61, 0.98), rgba(9, 27, 36, 0.98)) !important;
  border-color: rgba(113, 198, 224, 0.18) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="dark"] .hero-badge { background: rgba(67, 184, 217, 0.12) !important; color: #9ee3f5 !important; border-color: rgba(67, 184, 217, 0.24) !important; }
html[data-theme="dark"] .gradient-text { background-image: linear-gradient(100deg, #68d0eb, #c4edf7) !important; }
html[data-theme="dark"] :is(.hero-trust-item, .tag) { background: rgba(19, 49, 62, 0.82) !important; color: #c2d5dc !important; border-color: rgba(145, 198, 216, 0.15) !important; }

html[data-theme="dark"] :is(.feature-card, .service-card, .how-card, .trainer-card, .course-card, .cert-card, .upcoming-group-card) {
  background: linear-gradient(150deg, #122b37, #0d222c) !important;
  color: #eef6f8 !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="dark"] :is(.feature-card, .service-card, .how-card, .trainer-card, .course-card):hover {
  border-color: rgba(75, 190, 222, 0.34) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28) !important;
}
html[data-theme="dark"] :is(.service-card__branch, .trainer-tags .tag, .hero-floating-card) {
  background: #173441 !important;
  color: #d7e6ea !important;
  border-color: rgba(145, 198, 216, 0.16) !important;
}
html[data-theme="dark"] :is(.hero-floating-card--program, .hero-floating-card--review) { box-shadow: 0 18px 46px rgba(0,0,0,.3) !important; }
html[data-theme="dark"] :is(.cta-bg, footer) { background: #081a23 !important; border-color: rgba(145, 198, 216, 0.12) !important; }
html[data-theme="dark"] :is(.footer-link, .footer-desc, .footer-copy) { color: #91a8b2 !important; }
html[data-theme="dark"] .footer-link:hover { color: #edf8fa !important; }

/* Store */
html[data-theme="dark"][data-nc-page="store"] .filter-shell-g1 {
  background: rgba(9, 26, 35, 0.94) !important;
  border-top: 1px solid rgba(145, 198, 216, 0.08) !important;
}
html[data-theme="dark"] :is(.card-g1, .store-g2-card) {
  background: linear-gradient(155deg, #122b37 0%, #0d222c 100%) !important;
  border-color: rgba(145, 198, 216, 0.15) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="dark"] :is(.card-g1__body, .card-g1__footer, .store-g2-card__body, .store-g2-card__footer) {
  background: transparent !important;
  border-color: rgba(145, 198, 216, 0.1) !important;
}
html[data-theme="dark"] :is(.card-g1__title, .store-g2-card__title) { color: #f1f7f9 !important; }
html[data-theme="dark"] :is(.card-g1__trainer, .store-g2-card__trainer, .card-g1__validity) { color: #91a8b2 !important; }
html[data-theme="dark"] :is(.card-g1__price, .store-g2-card__price, .pd-modal__price-amount) { color: #67cce7 !important; }
html[data-theme="dark"] :is(.card-g1__thumb, .store-g2-card__thumb, .pd-modal__hero) {
  background: linear-gradient(145deg, #173746, #0d2631) !important;
  border-color: rgba(145, 198, 216, 0.12) !important;
}
html[data-theme="dark"] :is(.card-g1__heart, .store-g2-card__heart, .pd-modal__close, .store-commerce-close) {
  background: rgba(10, 29, 39, 0.9) !important;
  color: #c7d8de !important;
  border-color: rgba(145, 198, 216, 0.18) !important;
}
html[data-theme="dark"] :is(.url-filter-banner, .store-coupon, .store-tabby-promo, .pd-modal__price-card) {
  background: #142f3b !important;
  border-color: rgba(145, 198, 216, 0.16) !important;
  color: #dce9ed !important;
}
html[data-theme="dark"] :is(.store-cart-item, .store-summary-row, .store-payment-option, .store-mine-card) {
  background: #112a36 !important;
  border-color: rgba(145, 198, 216, 0.13) !important;
  color: #dbe8ec !important;
}
html[data-theme="dark"] .store-summary-row--total { background: #183846 !important; color: #f3fafb !important; }
html[data-theme="dark"] .store-cart-summary {
  background: #0d222c !important;
  color: #e6f0f3 !important;
  border: 1px solid rgba(145, 198, 216, 0.15) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}
html[data-theme="dark"] .store-cart-summary h3,
html[data-theme="dark"] .store-payment-title { color: #f1f7f9 !important; }
html[data-theme="dark"] .store-cart-summary .store-summary-row {
  background: transparent !important;
  color: #b9ccd3 !important;
  border-color: rgba(145, 198, 216, 0.12) !important;
}
html[data-theme="dark"] .store-cart-summary .store-summary-row--total {
  background: #173744 !important;
  color: #f4f9fa !important;
  border-color: rgba(105, 200, 226, 0.2) !important;
}
html[data-theme="dark"] .store-payment-option.is-selected {
  background: #173844 !important;
  border-color: #43b8d9 !important;
  box-shadow: 0 0 0 3px rgba(67, 184, 217, 0.12) !important;
}
html[data-theme="dark"] .store-payment-copy strong { color: #edf6f8 !important; }
html[data-theme="dark"] .store-payment-copy small { color: #8fa6b0 !important; }
html[data-theme="dark"] :is(.store-empty, .store-account-link) {
  background: #102832 !important;
  color: #a9bdc5 !important;
  border-color: rgba(145, 198, 216, 0.16) !important;
  box-shadow: var(--shadow-sm) !important;
}
html[data-theme="dark"] .store-empty h2 { color: #f1f7f9 !important; }
html[data-theme="dark"] .store-empty p { color: #94aab3 !important; }
html[data-theme="dark"] .store-account-link { color: #71d0e8 !important; }
html[data-theme="dark"] .store-mine-header h1 { color: #f2f7f9 !important; }
html[data-theme="dark"] .store-mine-header p { color: #91a8b2 !important; }
html[data-theme="dark"] .skeleton-card { background: #102631 !important; border-color: rgba(145,198,216,.1) !important; }
html[data-theme="dark"] :is(.skeleton-thumb, .skeleton-line) { background: linear-gradient(90deg,#142d39,#1b3a47,#142d39) !important; }
html[data-theme="dark"] :is(.product-card, .empty-state-g1) {
  background: #102832 !important;
  color: #dce9ed !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}
html[data-theme="dark"] :is(.card-g1__desc, .pd-modal__features, .pd-modal__feature) { color: #9fb4bd !important; }
html[data-theme="dark"] :is(.store-g2-search, .store-g2-sort, .tp-tabs) {
  background: #0e2530 !important;
  border-color: rgba(145, 198, 216, 0.15) !important;
}
html[data-theme="dark"] .store-g2-card__mode {
  background: #183945 !important;
  color: #cce0e6 !important;
  border-color: rgba(145, 198, 216, 0.18) !important;
}
html[data-theme="dark"] .store-g2-chip__count { background: #224956 !important; color: #d9edf2 !important; }
html[data-theme="dark"] :is(.store-g2-card__cta, .tp-btn--ghost) {
  background: #173440 !important;
  color: #e2edf0 !important;
  border-color: rgba(145, 198, 216, 0.2) !important;
}
html[data-theme="dark"] .store-g2-card__cta:not(.store-g2-card__cta--owned):not(.store-g2-card__cta--in-cart):not(.store-g2-card__cta--expired) {
  background: linear-gradient(135deg, #177d9b, #239fbe) !important;
  color: #f8fcfd !important;
}
html[data-theme="dark"] .store-g2-card__cta--owned { color: #7ee2c5 !important; border-color: rgba(77, 213, 174, 0.28) !important; }
html[data-theme="dark"] .store-g2-card__cta--in-cart { color: #f2d783 !important; border-color: rgba(237, 200, 111, 0.28) !important; }
html[data-theme="dark"] .store-g2-card__cta--expired { color: #8399a3 !important; opacity: 0.75 !important; }
html[data-theme="dark"] .store-nav-g1__user-name { color: #eef6f8 !important; }

/* Promoted course — editorial, restrained and distinct */
html[data-theme="dark"] :is(.hero-course-promo, .hero-course-offer) {
  background: linear-gradient(145deg, #12303c 0%, #0d252f 100%) !important;
  color: #eef7f9 !important;
  border-color: rgba(105, 200, 226, 0.2) !important;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.27) !important;
}
html[data-theme="dark"] .hero-course-promo::before {
  background: linear-gradient(90deg, #43b8d9 0 58%, #edc86f 58% 78%, rgba(255,255,255,.4) 78%) !important;
}
html[data-theme="dark"] :is(.hero-course-promo .section-badge, .hero-course-promo .badge) {
  background: rgba(237, 200, 111, 0.13) !important;
  color: #f1d684 !important;
  border-color: rgba(237, 200, 111, 0.24) !important;
}

/* Admin and coordinator */
html[data-theme="dark"][data-nc-page="index"] .page,
html[data-theme="dark"][data-nc-page="coordinator"] .container { background: transparent !important; }
html[data-theme="dark"] :is(.admin-nav-group__label, .page-head, .section-title) { color: #eaf3f6 !important; }
html[data-theme="dark"] :is(.coupon-scope-note, .coupon-stack-option, .permissions-note, .pkg-g44-help, .q8-help-key) {
  background: #142e3a !important;
  color: #a9bec6 !important;
  border-color: rgba(145, 198, 216, 0.15) !important;
}
html[data-theme="dark"] :is(.cwz-g41, .cwz-g41-content, .cwz-g41-review, .cwz-g41-kind, .cwz-g42-category, .cwz-g42-shape) {
  background: #102832 !important;
  color: #e5f0f3 !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}
html[data-theme="dark"] :is(.cwz-g41-kind:hover, .cwz-g42-category:hover, .cwz-g42-shape:hover, .cwz-g41-active) {
  background: #173844 !important;
  border-color: rgba(68, 188, 219, 0.35) !important;
}
html[data-theme="dark"] :is(.schedule-meta-item, .cw-card-info-row, .ibk-g50-session-row, .q2-result-item, .g52a-timeline-event) {
  background: #132d39 !important;
  border-color: rgba(145, 198, 216, 0.11) !important;
  color: #bdd0d7 !important;
}
html[data-theme="dark"] :is(.empty, .cw-empty, .q1-empty, .q2-empty, .ibk-g50-empty, .tp-empty, .wl-empty) {
  background: rgba(13, 34, 45, 0.72) !important;
  border-color: rgba(145, 198, 216, 0.13) !important;
  color: #9fb3bc !important;
}
html[data-theme="dark"] :is(.an-section, .an-kpi, .an-top-prod) {
  background: #102832 !important;
  color: #dce9ed !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: var(--shadow-sm) !important;
}
html[data-theme="dark"] :is(.an-section__title, .an-top-prod__title, .an-user__name, .an-kpi__value) { color: #eef7f9 !important; }
html[data-theme="dark"] :is(.stat-num, .g52dp1-value) { color: #68cde7 !important; }
html[data-theme="dark"] :is(.stat-label, .g52dp1-label, .g52dp1-desc) { color: #91a8b2 !important; }
html[data-theme="dark"] :is(.nc-notif-panel, .cart-popover) {
  background: #102631 !important;
  color: #eaf3f6 !important;
  border-color: rgba(145, 198, 216, 0.18) !important;
  box-shadow: var(--shadow) !important;
}
html[data-theme="dark"] .nc-notif-item {
  background: #132d39 !important;
  color: #bcd0d7 !important;
  border-color: rgba(145, 198, 216, 0.11) !important;
}
html[data-theme="dark"] .nc-user-pill {
  background: #173542 !important;
  color: #e7f1f4 !important;
  border-color: rgba(145, 198, 216, 0.18) !important;
}

/* Auth, contact and legal */
html[data-theme="dark"] :is(.page-hero, .legal-header) { background: transparent !important; color: #eff7f9 !important; }
html[data-theme="dark"] :is(.contact-form, .contact-info, .faq-a-inner) {
  background: #102631 !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  color: #bfd0d7 !important;
}
html[data-theme="dark"] .faq-q { color: #e7f1f4 !important; }
html[data-theme="dark"] .faq-q-icon { background: #173947 !important; color: #6bcce5 !important; }
html[data-theme="dark"] :is(.legal-content h2, .legal-content h3, .legal-intro strong) { color: #eaf4f6 !important; }
html[data-theme="dark"] :is(.legal-content p, .legal-content li, .legal-intro, .legal-contact) { color: #adc0c8 !important; }
html[data-theme="dark"] .auth-mark { background: #173a48 !important; color: #79d2e9 !important; }
html[data-theme="dark"] :is(.alert, .form-msg, .security-note) { background: #142d39 !important; border-color: rgba(145, 198, 216, 0.16) !important; color: #c5d5db !important; }

/* About */
html[data-theme="dark"][data-nc-page="about"] :is(.sec, .alt) { background: transparent !important; }
html[data-theme="dark"] :is(.pillar, .challenge, .value-card, .subprogram, .why-card, .plan-step, .bio, .callout, .goal) {
  background: linear-gradient(150deg, #122b37, #0d222c) !important;
  color: #dbe8ec !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: var(--shadow-sm) !important;
}
html[data-theme="dark"] :is(.pillar-num, .challenge-num, .value-num, .plan-step-num) { color: #70cee6 !important; }
html[data-theme="dark"] :is(.prose, .pillar p, .challenge p, .value-card p, .why-card p, .plan-step-body) { color: #a9bdc5 !important; }
html[data-theme="dark"] :is(.step-card, .service-card-3d, .feature-card--has-illustration) {
  background: linear-gradient(150deg, #122b37, #0d222c) !important;
  color: #dbe8ec !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
  box-shadow: var(--shadow-sm) !important;
}
html[data-theme="dark"] :is(.hero-subtitle, .footer-bottom) { color: #91a8b2 !important; }
html[data-theme="dark"] .footer { background: #081a23 !important; border-color: rgba(145, 198, 216, 0.12) !important; }

/* Trainer, wishlist and content */
html[data-theme="dark"] :is(.tp-hero, .wl-header) { background: transparent !important; color: #eef6f8 !important; }
html[data-theme="dark"] :is(.tp-product__thumb, .wl-card-thumb) { background: #173642 !important; }
html[data-theme="dark"] :is(.tp-product__title, .wl-card-title, .tp-info h1) { color: #f1f7f9 !important; }
html[data-theme="dark"] :is(.tp-product__price, .wl-card-price) { color: #6bcde7 !important; }
html[data-theme="dark"] :is(.tp-cert, .tp-tabs) {
  background: #102832 !important;
  color: #dce9ed !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}
html[data-theme="dark"] :is(.tp-name, .tp-cert__title) { color: #eef7f9 !important; }
html[data-theme="dark"] :is(.tp-about__bio, .tp-cert__issuer, .tp-stat__label) { color: #96acb5 !important; }

/* Immersive live, viewer and reader pages */
html[data-theme="dark"] :is(.studio, .app, .stage, .meeting-area, .video-area, .reader-shell) {
  background: #050e14 !important;
  color: #edf6f8 !important;
}
html[data-theme="dark"] :is(.frame, .video-container, .viewer-stage, .live-stage) {
  background: #081720 !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}
html[data-theme="dark"] :is(.bottombar, .viewer-controls, .control-bar, .chat-panel, .side-panel) {
  background: rgba(10, 28, 37, 0.96) !important;
  border-color: rgba(145, 198, 216, 0.13) !important;
  color: #dce9ed !important;
}
html[data-theme="dark"] :is(.control-btn, .viewer-btn, .music-button, .topbar-btn) {
  background: #16333f !important;
  border-color: rgba(145, 198, 216, 0.17) !important;
  color: #e4eef1 !important;
}
html[data-theme="dark"] :is(.waiting-state, .error-state, .loading-overlay, .overlay-message) {
  background: #0d232d !important;
  color: #dce9ed !important;
  border-color: rgba(145, 198, 216, 0.14) !important;
}

/* Theme control */
.nc-theme-toggle,
.nc-dark-redesign-toggle {
  position: fixed !important;
  inset-inline-end: 22px !important;
  bottom: 22px !important;
  width: 48px !important;
  height: 48px !important;
  z-index: 9990 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 15px !important;
  border: 1px solid rgba(25, 111, 137, 0.18) !important;
  background: rgba(244, 249, 251, 0.94) !important;
  color: #187f9e !important;
  box-shadow: 0 12px 34px rgba(15, 67, 83, 0.16) !important;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}
.nc-theme-toggle::before,
.nc-dark-redesign-toggle::before { content: "☾" !important; font: 700 25px/1 system-ui !important; }
.nc-theme-toggle:hover,
.nc-dark-redesign-toggle:hover { transform: translateY(-2px) !important; }
html[data-theme="dark"] :is(.nc-theme-toggle, .nc-dark-redesign-toggle) {
  background: rgba(17, 42, 54, 0.96) !important;
  color: #f0cc75 !important;
  border-color: rgba(237, 200, 111, 0.25) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="dark"] :is(.nc-theme-toggle, .nc-dark-redesign-toggle)::before { content: "☀" !important; font-size: 21px !important; }
.nc-theme-toggle > *, .nc-dark-redesign-toggle > * { display: none !important; }

@media (max-width: 720px) {
  .nc-theme-toggle, .nc-dark-redesign-toggle {
    inset-inline-end: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }
  html[data-theme="dark"] :is(.modal, .nc-dialog, .pd-modal, .store-commerce-dialog, .cw-modal-box) {
    border-radius: 22px 22px 0 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] *, html[data-theme="dark"] *::before, html[data-theme="dark"] *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
