/* Koyu tema — elle ince ayar (2026-11-12, Opus). Renklerin çoğu design/mt-koyu-tema-uretilen.css'ten gelir
   (mevcut CSS'ten türetilir, tools/koyu-tema-uret.cjs). Burada: tarayıcı denetimleri, logolar, düğme. Açık tema değişmez. */
@media screen {
  html[data-theme="dark"] { color-scheme: dark; }
  html[data-theme="dark"] body { background-color: #18191b; }
}

/* Başlık logosu: koyu zeminde mevcut beyaz sürümler (design/Masttech_Logo_*_Beyaz.svg)
   Sinan 2026-11-12 kuralı: logo ZEMİNE göre seçilir. Yalnız ekranda (koyu tema zemini koyu); baskı/PDF'te kâğıt beyaz,
   arka planlar basılmaz → orada normal (koyu "mas") logo kalır. Önceden @media yoktu: PDF'te beyaz "mas" beyaz kâğıtta görünmüyordu. */
@media screen {
html[data-theme="dark"] img[src$="/design/Masttech_Logo_TR.svg"] { content: url("/design/Masttech_Logo_TR_Beyaz.svg"); }
html[data-theme="dark"] img[src$="/design/Masttech_Logo_EN.svg"] { content: url("/design/Masttech_Logo_EN_Beyaz.svg"); }
html[data-theme="dark"] img[src$="/design/Masttech_Logo_AR.svg"] { content: url("/design/Masttech_Logo_AR_Beyaz.svg"); }
html[data-theme="dark"] img[src$="/design/Masttech_Logo_DE.svg"] { content: url("/design/Masttech_Logo_EN_Beyaz.svg"); }
html[data-theme="dark"] img[src$="/design/Masttech_Logo_PL.svg"] { content: url("/design/Masttech_Logo_PL_Beyaz.svg"); } /* Sinan 2026-11-12: PL logosu koyu temada beyaz sürüm ("mas" #1a1a18 koyu zeminde görünmüyordu) */
}

/* Açık/koyu düğmesi (dil seçicinin yanında) */
.mt-tema-li { display: flex; align-items: center; list-style: none; }
.mt-tema-dugme {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 34px; block-size: 34px; margin-inline-start: 6px; padding: 0;
  border: 1px solid var(--mt-line); border-radius: var(--mt-radius-pill);
  background: transparent; color: var(--mt-secondary); cursor: pointer;
  transition: border-color .2s var(--mt-ease), color .2s var(--mt-ease);
}
.mt-tema-dugme:hover, .mt-tema-dugme:focus-visible { border-color: var(--mt-red); color: var(--mt-red); outline: none; }
.mt-tema-dugme:focus-visible { box-shadow: 0 0 0 3px rgba(227, 1, 15, .25); }
.mt-tema-dugme svg { inline-size: 18px; block-size: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-tema-dugme .mt-tema-ay { fill: currentColor; stroke: none; }
.mt-tema-dugme .mt-tema-gunes { display: none; }
html[data-theme="dark"] .mt-tema-dugme { border-color: #3a3f46; color: #e7e9ec; }
html[data-theme="dark"] .mt-tema-dugme .mt-tema-ay { display: none; }
html[data-theme="dark"] .mt-tema-dugme .mt-tema-gunes { display: block; }
.mt-tema-dugme[hidden] { display: none; }
/* Sinan 2026-11-12: hover/focus yalnız standart palet (kırmızı #E3010F, siyah, gri, beyaz). Tema sıfırlama CSS'inin
   button:hover { background:#c36 } (pembe/magenta) kuralı düğmeye sızıyordu; zemin şeffaf kalır. */
.mt-tema-dugme:hover, .mt-tema-dugme:focus, .mt-tema-dugme:active { background: transparent !important; box-shadow: none; }
/* fare tıklamasından sonra kalan :focus (görünür odak değil) aynı sıfırlamadan color:#fff alıyordu → açık temada beyaz
   zeminde beyaz ikon (boş daire). İkon rengi her durumda açıkça yazılır; sıra önemli: hover/focus-visible en sonda. */
.mt-tema-dugme, .mt-tema-dugme:focus, .mt-tema-dugme:active { color: var(--mt-secondary, #1A1D21) !important; border-color: var(--mt-line, #D9DCE0); }
.mt-tema-dugme:hover, .mt-tema-dugme:focus-visible { color: var(--mt-red, #E3010F) !important; border-color: var(--mt-red, #E3010F); }
.mt-tema-dugme:focus-visible { box-shadow: 0 0 0 3px rgba(227, 1, 15, .25) !important; }
html[data-theme="dark"] .mt-tema-dugme,
html[data-theme="dark"] .mt-tema-dugme:focus,
html[data-theme="dark"] .mt-tema-dugme:active { color: #e7e9ec !important; border-color: #3a3f46; }
html[data-theme="dark"] .mt-tema-dugme:hover,
html[data-theme="dark"] .mt-tema-dugme:focus-visible { border-color: #E3010F; color: #fff !important; }

/* YKB portresi: açık temada beyaz fon "multiply" ile zemine karışıyor (mt-merkez-bant.css). Koyu zeminde multiply
   fotoğrafı karartır; portre kendi açık kartında, karışımsız gösterilir. */
html[data-theme="dark"] .mt-kurum__portre img { mix-blend-mode: normal !important; }
html[data-theme="dark"] .mt-kurum__portre .elementor-element-e662d55 { background: #eef0f2; border-radius: 10px; overflow: hidden; }

/* Mobil açılır menü: düğme dil satırının altında, aynı sol hizada */
.elementor-nav-menu--dropdown li.mt-tema-li { padding: 0 20px 14px; }
.elementor-nav-menu--dropdown li.mt-tema-li .mt-tema-dugme { margin-inline-start: 0; }

/* ISO sertifika logoları: kendi renkleri korunur (yeniden renklendirilmez), koyu zeminde okunsun diye açık daire zemin */
html[data-theme="dark"] img[src*="/uploads/2025/08/45001."],
html[data-theme="dark"] img[src*="/uploads/2025/08/14001."],
html[data-theme="dark"] img[src*="/uploads/2025/08/9001."],
html[data-theme="dark"] img[src*="/uploads/2025/08/3834"],
html[data-theme="dark"] img[src*="/uploads/2025/08/27001."] { background: #eef0f2; border-radius: 50%; }

/* Sinan 2026-11-12 footer gri (koyu tema karşılığı; temel kural mt-footer-grup.css): üretilen koyu tema ayırıcıları ve
   sosyal ikon çerçevesini siyaha (rgba(22,22,22,..)) çeviriyordu. Aynı griler: ayırıcı #414141, ikon çerçevesi #69727D; hover kırmızı. */
html[data-theme="dark"] body .mt-site-footer .footer-alt { border-top-color: #414141; }
html[data-theme="dark"] body .mt-site-footer .footer-sep,
html[data-theme="dark"] body footer#siteFooter .footer-sep,
html[data-theme="dark"] body .mt-site-footer .footer-meta__sep,
html[data-theme="dark"][lang="ar"] body .mt-site-footer .footer-meta__sep { background: #414141 !important; }
html[data-theme="dark"] body .mt-site-footer .footer-social__link { border-color: #69727D; }
html[data-theme="dark"] body .mt-site-footer .footer-social__link:hover,
html[data-theme="dark"] body .mt-site-footer .footer-social__link:focus-visible { border-color: #E3010F; }
html[data-theme="dark"] body .footer-legal__h::after,
html[data-theme="dark"] body .mt-site-footer .footer-grup__h::after { background: #E3010F; }
/* N19 görsel denetim 2026-11-12 (yalnız koyu tema): Kariyer belgeleri ve başvuru formu — üretilen tema iki şeyi atlamış.
   K-1 .nt-doc th: yazı #cccccc'ye dönüyor ama zemin açık (#FBF8F2) kalıyor → 1.51:1. Zemin koyu temanın tablo tonu #1d1d1e (≈11:1).
   K-2 .tc-check input:disabled + span (okunmadan pasif onay kutusu metni): --tc-ink-2 koyu temada tanımsız, #5C4A3A / #1B1C1C = 2.03:1.
       Koyu temanın ikincil yazı tonu #aeaeae (≈8:1); pasif görünüm etkin metinden (#cccccc) yine daha sönük. */
html[data-theme="dark"] body.mt-belge-cerceve .nt-doc th,
html[data-theme="dark"] .nt-doc th { background: #1d1d1e; color: #cccccc; border-color: #28292a; }
html[data-theme="dark"] .tc-check input:disabled + span { color: #aeaeae; }
/* Akordeon aktif başlık koyu temada da kırmızı (--n-accordion-title-active-color). Tema thread'i düzeltmesi, N20 görsel denetimi 2026-11-12 */
html[data-theme="dark"] .elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title { color: var(--n-accordion-title-active-color); }

/* MSA 1. ve 2. adım fotoğraflı kartları (2026-11-18, Sinan: "gri gradient şeffaf uygula foto/temalar görünür olsun"):
   Fotoğraf katmanı (::before) yüksek görünürlükte tutulur; üstüne ağır siyah perde yerine soldan sağa açılan şeffaf gri
   gradient (::after) uygulanır, sağ yarıda fotoğraf/tema net görünür, metin yumuşak gölgeyle okunurluğunu korur. */
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card,
html[data-theme="dark"] body.assistant-page #usageCardGrid.assistant-cards .assistant-card,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card,
html[data-theme="dark"] body.assistant-page #mountingCardGrid.assistant-cards .assistant-card:not(.is-mobile-active),
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card.is-mobile-active,
html[data-theme="dark"] body.assistant-page #mountingCardGrid [data-msa="MSA_MOBILE_OPTION_CARD"] {
  background-color: #2d323a !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card.is-selected,
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card[aria-pressed="true"],
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card.is-selected,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card[aria-pressed="true"],
html[data-theme="dark"] body.assistant-page #mountingCardGrid.assistant-cards .assistant-card.is-selected,
html[data-theme="dark"] body.assistant-page #mountingCardGrid.assistant-cards .assistant-card[aria-pressed="true"] {
  background-color: #2a3431 !important;
  border-color: #4ade80 !important;
}
html[data-theme="dark"] #usageCardGrid .assistant-card::before,
html[data-theme="dark"] #mountingCardGrid .assistant-card::before {
  opacity: 0.78 !important;
}
html[data-theme="dark"] #usageCardGrid .assistant-card:hover::before,
html[data-theme="dark"] #usageCardGrid .assistant-card:focus-visible::before,
html[data-theme="dark"] #usageCardGrid .assistant-card.is-selected::before,
html[data-theme="dark"] #usageCardGrid .assistant-card[aria-pressed="true"]::before,
html[data-theme="dark"] #mountingCardGrid .assistant-card:hover::before,
html[data-theme="dark"] #mountingCardGrid .assistant-card:focus-visible::before,
html[data-theme="dark"] #mountingCardGrid .assistant-card.is-selected::before,
html[data-theme="dark"] #mountingCardGrid .assistant-card[aria-pressed="true"]::before {
  opacity: 0.88 !important;
}
html[data-theme="dark"] #usageCardGrid .assistant-card::after,
html[data-theme="dark"] #mountingCardGrid .assistant-card::after {
  background: linear-gradient(
    90deg,
    rgba(44, 49, 57, 0.72) 0%,
    rgba(48, 54, 63, 0.40) 48%,
    rgba(52, 58, 68, 0.08) 100%
  ) !important;
}
html[data-theme="dark"][dir="rtl"] #usageCardGrid .assistant-card::after,
html[data-theme="dark"][dir="rtl"] #mountingCardGrid .assistant-card::after {
  background: linear-gradient(
    270deg,
    rgba(44, 49, 57, 0.72) 0%,
    rgba(48, 54, 63, 0.40) 48%,
    rgba(52, 58, 68, 0.08) 100%
  ) !important;
}
html[data-theme="dark"] #usageCardGrid .assistant-card:hover::after,
html[data-theme="dark"] #usageCardGrid .assistant-card:focus-visible::after,
html[data-theme="dark"] #usageCardGrid .assistant-card.is-selected::after,
html[data-theme="dark"] #usageCardGrid .assistant-card[aria-pressed="true"]::after,
html[data-theme="dark"] #mountingCardGrid .assistant-card:hover::after,
html[data-theme="dark"] #mountingCardGrid .assistant-card:focus-visible::after,
html[data-theme="dark"] #mountingCardGrid .assistant-card:focus-within::after,
html[data-theme="dark"] #mountingCardGrid .assistant-card.is-selected::after,
html[data-theme="dark"] #mountingCardGrid .assistant-card[aria-pressed="true"]::after {
  background: linear-gradient(
    90deg,
    rgba(28, 52, 44, 0.68) 0%,
    rgba(34, 60, 51, 0.34) 48%,
    rgba(38, 66, 56, 0.06) 100%
  ) !important;
}
html[data-theme="dark"][dir="rtl"] #usageCardGrid .assistant-card:hover::after,
html[data-theme="dark"][dir="rtl"] #usageCardGrid .assistant-card:focus-visible::after,
html[data-theme="dark"][dir="rtl"] #usageCardGrid .assistant-card.is-selected::after,
html[data-theme="dark"][dir="rtl"] #usageCardGrid .assistant-card[aria-pressed="true"]::after,
html[data-theme="dark"][dir="rtl"] #mountingCardGrid .assistant-card:hover::after,
html[data-theme="dark"][dir="rtl"] #mountingCardGrid .assistant-card:focus-visible::after,
html[data-theme="dark"][dir="rtl"] #mountingCardGrid .assistant-card:focus-within::after,
html[data-theme="dark"][dir="rtl"] #mountingCardGrid .assistant-card.is-selected::after,
html[data-theme="dark"][dir="rtl"] #mountingCardGrid .assistant-card[aria-pressed="true"]::after {
  background: linear-gradient(
    270deg,
    rgba(28, 52, 44, 0.68) 0%,
    rgba(34, 60, 51, 0.34) 48%,
    rgba(38, 66, 56, 0.06) 100%
  ) !important;
}
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card .assistant-card-title,
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card:hover:not([aria-pressed="true"]):not(.is-selected) .assistant-card-title,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card .assistant-card-title,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card.is-selected .assistant-card-title,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card[aria-pressed="true"] .assistant-card-title,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card:hover:not([aria-pressed="true"]):not(.is-selected) .assistant-card-title,
html[data-theme="dark"] body.assistant-page #mountingCardGrid [data-msa="MSA_MOBILE_OPTION_TITLE"] {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.78), 0 0 12px rgba(0, 0, 0, 0.42) !important;
}
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card .assistant-card-hint,
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card:hover:not([aria-pressed="true"]):not(.is-selected) .assistant-card-hint,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card .assistant-card-hint,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card.is-selected .assistant-card-hint,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card[aria-pressed="true"] .assistant-card-hint,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card:hover:not([aria-pressed="true"]):not(.is-selected) .assistant-card-hint,
html[data-theme="dark"] body.assistant-page #mountingCardGrid [data-msa="MSA_MOBILE_OPTION_SUMMARY"] {
  color: #f1f5f9 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78) !important;
}
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card .assistant-card-effect,
html[data-theme="dark"] body.assistant-page #usageCardGrid .assistant-card:hover:not([aria-pressed="true"]):not(.is-selected) .assistant-card-effect,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card .assistant-card-effect,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card.is-selected .assistant-card-effect,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card[aria-pressed="true"] .assistant-card-effect,
html[data-theme="dark"] body.assistant-page #mountingCardGrid .assistant-card:hover:not([aria-pressed="true"]):not(.is-selected) .assistant-card-effect {
  color: #e2e8f0 !important;
  border-top-color: rgba(255, 255, 255, 0.24) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.74) !important;
}
/* Hello Theme genel a ve button pembe/magenta (#c36 / #f45a86 / #a8adea) varsayılanlarını kurumsal palete çevir */
html[data-theme="dark"] a { color: #e7e9ec; }
html[data-theme="dark"] a:active,
html[data-theme="dark"] a:hover { color: #ffffff; }
html[data-theme="dark"] header.elementor-location-header a { color: #e7e9ec; }
html[data-theme="dark"] header.elementor-location-header .elementor-widget-theme-site-logo a,
html[data-theme="dark"] header.elementor-location-header .elementor-widget-theme-site-logo a:hover,
html[data-theme="dark"] header.elementor-location-header .elementor-widget-theme-site-logo a:active,
html[data-theme="dark"] header.elementor-location-header .elementor-widget-theme-site-logo a:focus { color: #ffffff !important; }
html[data-theme="dark"] [type="button"]:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn),
html[data-theme="dark"] [type="submit"]:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn),
html[data-theme="dark"] button:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn) {
  border-color: #3a3f46;
  color: #e7e9ec;
}
html[data-theme="dark"] [type="button"]:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn):focus,
html[data-theme="dark"] [type="button"]:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn):hover,
html[data-theme="dark"] [type="submit"]:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn):focus,
html[data-theme="dark"] [type="submit"]:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn):hover,
html[data-theme="dark"] button:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn):focus,
html[data-theme="dark"] button:not(.mt-tema-dugme):not(.mt-lang-dd__btn):not(.footer-legal__consent-btn):hover {
  background-color: #E3010F;
  border-color: #E3010F;
  color: #ffffff;
}

/* MSA koyu tema dış arka planı (2026-11-18, Sinan: "şimdilik sadece MSA'da siyah tema arkasını gri üzerine siyah karolaj uygula"):
   Yalnız MSA sayfaları (body.assistant-page ve body.product-page) koyu temada düz siyah yerine endüstriyel gri zemin (#383c44)
   üzerine 20 px ince + 100 px modül siyah mühendislik karolajı alır; iç kartlar (#181a1d) koyu kalarak zeminden ayrışır. */
html[data-theme="dark"] body.assistant-page:not(.legal-page),
html[data-theme="dark"] body.product-page {
  background-color: #32363d;
}
html[data-theme="dark"] body.product-page main.product-main {
  background: transparent;
}
html[data-theme="dark"] body.assistant-page:not(.legal-page) main.assistant-main,
html[data-theme="dark"] body.product-page {
  --msa-koyu-zemin: #32363d;
  --msa-koyu-ton: #383c44;
  --msa-koyu-kenar: 56px;
  --msa-koyu-cizgi: rgb(0 0 0 / .26);
  --msa-koyu-cizgi-guclu: rgb(0 0 0 / .48);
  background-color: var(--msa-koyu-zemin) !important;
  background-image:
    /* üst: header altı yumuşak gölge */
    linear-gradient(to bottom, rgb(0 0 0 / .28) 0, transparent 40px),
    /* alt: footer'a doğru yumuşak geçiş */
    linear-gradient(to top, rgb(0 0 0 / .24) 0, transparent 56px),
    /* yan kenar vinyeti */
    linear-gradient(90deg, var(--msa-koyu-zemin) 0, transparent var(--msa-koyu-kenar), transparent calc(100% - var(--msa-koyu-kenar)), var(--msa-koyu-zemin) 100%),
    /* 20 px ince siyah ızgara */
    linear-gradient(var(--msa-koyu-cizgi) 1px, transparent 1px),
    linear-gradient(90deg, var(--msa-koyu-cizgi) 1px, transparent 1px),
    /* 100 px modül siyah çizgisi (5 hücrede bir) */
    linear-gradient(var(--msa-koyu-cizgi-guclu) 1px, transparent 1px),
    linear-gradient(90deg, var(--msa-koyu-cizgi-guclu) 1px, transparent 1px),
    /* gri karolaj tablası */
    linear-gradient(var(--msa-koyu-ton), var(--msa-koyu-ton)) !important;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    20px 20px,
    20px 20px,
    100px 100px,
    100px 100px,
    100% 100% !important;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, repeat, no-repeat !important;
  background-position: 0 0, 0 0, 0 0, center top, center top, center top, center top, 0 0 !important;
}
html[data-theme="dark"] body.assistant-page:not(.legal-page) main.assistant-main {
  background-attachment: local !important;
}
@media (max-width: 767px) {
  html[data-theme="dark"] body.assistant-page:not(.legal-page) main.assistant-main,
  html[data-theme="dark"] body.product-page {
    --msa-koyu-kenar: 16px;
    --msa-koyu-cizgi: rgb(0 0 0 / .22);
    --msa-koyu-cizgi-guclu: rgb(0 0 0 / .42);
  }
}
/* Gri karolaj üstündeki koyu MSA kartları ve iç içe kutu katman hiyerarşisi (2026-11-18, Sinan: "iç içe olan siyah kutularda ton farkı ver"):
   Katman 0 (Sayfa karolajı): #383c44 gri + siyah ızgara
   Katman 1 (Ana dış kabuk — .assistant-panel / .assistant-hero / .product-*-section): #14171b (derin antrasit)
   Katman 2 (İç kartlar / grup kutuları): #232932 (belirgin açık arduvaz gri, #3a4352 kenarlık)
   Katman 3 (Gömülü giriş kuyuları #111418 + yükseltilmiş seçim hapları/alt kutular #303845, #525f73 kenarlık) */
html[data-theme="dark"] body.assistant-page:not(.legal-page) main.assistant-main > .assistant-hero {
  background: #14171b !important;
  border: 1px solid #282e37 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
}
html[data-theme="dark"] body.assistant-page .assistant-panel {
  background: #14171b !important;
  border: 1px solid #282e37 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36) !important;
}
html[data-theme="dark"] body.assistant-page .assistant-progress-item .assistant-progress-btn {
  background: #1a1e24;
  border-color: #2e3540;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}
html[data-theme="dark"] body.assistant-page .assistant-progress-item.is-locked .assistant-progress-btn {
  background: #181b20 !important;
  border-color: #2a303a !important;
}
html[data-theme="dark"] body.assistant-page .assistant-progress-item.is-current .assistant-progress-btn,
html[data-theme="dark"] body.assistant-page .assistant-progress-item[data-step="5"].is-current .assistant-progress-btn {
  background: #162a24 !important;
  border-color: #7d958c !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30) !important;
}

/* ---- ADIM 3: Teknik İhtiyaçlar & Gelişmiş Mühendislik Kriterleri iç içe kutu ton farkı ---- */
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-field,
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .assistant-field,
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .assistant-field.is-mobile-active,
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .advanced-criterion-card.msa-basic-material,
html[data-theme="dark"] body.assistant-page #assistantPanel .advanced-criterion-card,
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-adv-inline #advancedCriteriaGrid .advanced-criterion-card,
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-stage-summary__card {
  background: #232932 !important;
  border: 1px solid #3a4352 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22) !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .assistant-field.msa-capacity-trigger {
  background: linear-gradient(180deg, rgba(22, 92, 74, 0.20) 0%, #232932 100%) !important;
  border: 1.5px solid #62b296 !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-field:hover,
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .assistant-field:hover,
html[data-theme="dark"] body.assistant-page #assistantPanel .advanced-criterion-card:hover,
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-adv-inline #advancedCriteriaGrid .advanced-criterion-card:hover {
  border-color: #525f73 !important;
}
/* Kart içindeki metin/sayı giriş kuyuları (Katman 3 — gömülü koyu kuyu #111418 + belirgin çelik çerçeve) */
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid input.assistant-form__control:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .assistant-field.is-mobile-active input[type="text"],
html[data-theme="dark"] body.assistant-page #assistantPanel #advancedCriteriaGrid input.assistant-form__control:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.assistant-page #assistantPanel #advancedCriteriaGrid textarea.assistant-form__control,
html[data-theme="dark"] body.assistant-page #assistantPanel input.assistant-form__control:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.assistant-page #assistantPanel textarea.assistant-form__control,
html[data-theme="dark"] body.assistant-page #assistantPanel input#demandFullName,
html[data-theme="dark"] body.assistant-page #assistantPanel input#demandWorkEmail,
html[data-theme="dark"] body.assistant-page #assistantPanel input#demandCompanyName,
html[data-theme="dark"] body.assistant-page #assistantPanel textarea#demandProjectNotes,
html[data-theme="dark"] body.assistant-page #assistantPanel input#demandCaptcha,
html[data-theme="dark"] body.assistant-page #assistantPanel .demand-form input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.assistant-page #assistantPanel .demand-form textarea {
  background-color: #111418 !important;
  border: 1px solid #455061 !important;
  color: #f1f5f9 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.52) !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid input.assistant-form__control:not([type="checkbox"]):not([type="radio"]):hover,
html[data-theme="dark"] body.assistant-page #assistantPanel input.assistant-form__control:not([type="checkbox"]):not([type="radio"]):hover,
html[data-theme="dark"] body.assistant-page #assistantPanel textarea.assistant-form__control:hover,
html[data-theme="dark"] body.assistant-page #assistantPanel .demand-form input:not([type="checkbox"]):not([type="radio"]):hover,
html[data-theme="dark"] body.assistant-page #assistantPanel .demand-form textarea:hover {
  border-color: #606f85 !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid input.assistant-form__control:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="dark"] body.assistant-page #assistantPanel input.assistant-form__control:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="dark"] body.assistant-page #assistantPanel textarea.assistant-form__control:focus,
html[data-theme="dark"] body.assistant-page #assistantPanel .demand-form input:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="dark"] body.assistant-page #assistantPanel .demand-form textarea:focus {
  background-color: #0d1014 !important;
  border-color: #4ade80 !important;
}
/* Kart içindeki seçim hapları (Manual/Motorized, Guyed/Self-Supporting, Aluminum/Composite/Other — yükseltilmiş #303845 ton) */
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .msa-mobile-technical-row:is([data-field="operation"], [data-field="guyed"]) .assistant-field-choices .assistant-choice,
html[data-theme="dark"] body.assistant-page #assistantPanel #advancedCriteriaGrid .advanced-criterion-card[data-field="material"] .mt-ui-segment-btn,
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .advanced-criterion-card[data-field="material"] .mt-ui-segment-btn,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-choice,
html[data-theme="dark"] body.assistant-page #assistantPanel .advanced-choice-btn {
  background: #303845 !important;
  border: 1px solid #556378 !important;
  color: #f1f5f9 !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .msa-mobile-technical-row:is([data-field="operation"], [data-field="guyed"]) .assistant-field-choices .mt-ui-segment-btn:hover:not(:disabled):not(.is-selected):not([aria-pressed="true"]),
html[data-theme="dark"] body.assistant-page #assistantPanel #advancedCriteriaGrid .advanced-criterion-card[data-field="material"] .mt-ui-segment-btn:hover:not(:disabled):not(.is-selected):not([aria-pressed="true"]),
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-choice:hover:not(.is-selected):not([aria-pressed="true"]),
html[data-theme="dark"] body.assistant-page #assistantPanel .advanced-choice-btn:hover:not(.is-selected):not([aria-pressed="true"]) {
  background: #3a4454 !important;
  border-color: #75869e !important;
  color: #ffffff !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel #basicFieldsGrid .msa-mobile-technical-row:is([data-field="operation"], [data-field="guyed"]) .assistant-field-choices .assistant-choice[aria-pressed="true"],
html[data-theme="dark"] body.assistant-page #assistantPanel #advancedCriteriaGrid .advanced-criterion-card[data-field="material"] .mt-ui-segment-btn[aria-pressed="true"],
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-choice.is-selected,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-choice[aria-pressed="true"],
html[data-theme="dark"] body.assistant-page #assistantPanel .advanced-choice-btn.is-selected,
html[data-theme="dark"] body.assistant-page #assistantPanel .advanced-choice-btn[aria-pressed="true"] {
  background: #174033 !important;
  border-color: #4ade80 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.28) !important;
}
/* Alt bilgi bandı ve eksik alan rozetleri */
html[data-theme="dark"] body.assistant-page #assistantPanel #assistantNextHint.assistant-nav-hint {
  background: #1e2827 !important;
  border: 1px solid #384d48 !important;
  border-inline-start: 3px solid #62b296 !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-nav-hint__field {
  background: #2d3b39 !important;
  border: 1px solid #526b66 !important;
  color: #f1f5f9 !important;
}

/* ---- ADIM 4: Önerilen Çözüm, Neden Önerildi, Mühendislik İncelemesi ve Alternatifler ---- */
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-solution-infobox-row > .assistant-result-card--featured,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-product-card.assistant-result-card--featured {
  background: linear-gradient(165deg, #1f312c 0%, #212830 58%, #1e242c 100%) !important;
  border: 1.5px solid #4ca384 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.30) !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-alternative-card,
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-alt-card,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-product-card:not(.assistant-result-card--featured) {
  background: #232932 !important;
  border: 1px solid #3c4757 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24) !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-alt-card[data-component="MSA_ALTERNATIVE_HOVER"]:hover,
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-alternative-card:hover {
  background: #29313c !important;
  border-color: #62b296 !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-solution-infobox-row .assistant-why-box,
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-why-box[data-msa="MSA_WHY_RECOMMENDED"],
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-why-box {
  background: linear-gradient(165deg, #202b3b 0%, #243144 100%) !important;
  border: 1px solid #495d79 !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-solution-infobox-row .assistant-engineering-box,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-engineering-box,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-alt-empty,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-infobox {
  background: #232932 !important;
  border: 1px solid #3c4757 !important;
  border-inline-start: 3px solid #7d958c !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-main-pose,
html[data-theme="dark"] body.assistant-page #assistantPanel .assistant-solution__media-frame {
  background: #11151a !important;
  border: 1px solid #36404e !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-result-card--featured .assistant-result-card__gallery-main::before {
  background: transparent !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-alt-link[data-msa="MSA_ALTERNATIVE_PRODUCT_LINK"],
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-card-actions .msa-card-action--view {
  background: #2f3b4f !important;
  border: 1px solid #596c87 !important;
  color: #ffffff !important;
}
html[data-theme="dark"] body.assistant-page[data-step="4"] #assistantPanel .assistant-alt-link:hover,
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-card-actions .msa-card-action--view:hover {
  background: #3b4a63 !important;
  border-color: #7c93b3 !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-solution-guide {
  background: #1e2927 !important;
  border-color: #3d5a52 !important;
}
html[data-theme="dark"] body.assistant-page #assistantPanel .msa-solution-guide__card {
  background: #262e37 !important;
  border-color: #3e4959 !important;
}

/* ---- ADIM 5: Talep Özeti Tablosu ve İletişim Formu Kartı ---- */
html[data-theme="dark"] body.assistant-page .assistant-summary-card,
html[data-theme="dark"] body.assistant-page .assistant-request-card,
html[data-theme="dark"] body.assistant-page .assistant-form-panel {
  background: #21262d !important;
  border: 1px solid #353e4b !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
}
html[data-theme="dark"] body.assistant-page .assistant-summary-desc {
  background: #2a313b !important;
  border: 1px solid #3e4756 !important;
  border-inline-start: 3px solid #7d958c !important;
}
html[data-theme="dark"] body.assistant-page .msa-request-summary__table {
  background: #1b2026 !important;
  border: 1px solid #363f4d !important;
  border-radius: 8px;
}
html[data-theme="dark"] body.assistant-page th.msa-request-summary__label {
  background: #181c22 !important;
  border-color: #323a47 !important;
  color: #cbd5e1 !important;
}
html[data-theme="dark"] body.assistant-page td.msa-request-summary__value {
  background: #262c35 !important;
  border-color: #323a47 !important;
  color: #f1f5f9 !important;
}
html[data-theme="dark"] body.assistant-page th.msa-request-summary__product-label {
  background: #172b24 !important;
  border-top-color: #21262d !important;
  border-bottom-color: #21262d !important;
  color: #e2e8f0 !important;
}
html[data-theme="dark"] body.assistant-page td.msa-request-summary__product-value {
  background: #1d352d !important;
  border-top-color: #21262d !important;
  border-bottom-color: #21262d !important;
  color: #ffffff !important;
}
html[data-theme="dark"] body.assistant-page .assistant-security-card,
html[data-theme="dark"] body.assistant-page .form-group--captcha {
  background: #2a313b !important;
  border: 1px solid #3e4756 !important;
}

/* Alt gezinme düğmeleri (Back / Reset / Next — dış kabuktan ayrışan ton) */
html[data-theme="dark"] body.assistant-page #assistantBackBtn {
  background: #242a33 !important;
  border-color: #414b5a !important;
  color: #e2e8f0 !important;
}
html[data-theme="dark"] body.assistant-page #assistantBackBtn:hover:not(:disabled) {
  background: #2e3642 !important;
  border-color: #5b687c !important;
}
html[data-theme="dark"] body.assistant-page #assistantResetBtn {
  background: #24191c !important;
  border-color: #d92632 !important;
}
html[data-theme="dark"] body.assistant-page #assistantResetBtn:hover:not(:disabled) {
  background: #E3010F !important;
  color: #ffffff !important;
}

/* ---- MSA Ürün Detay Sayfası (body.product-page) iç içe kutu ton farkı ---- */
html[data-theme="dark"] body.product-page .product-info-box,
html[data-theme="dark"] body.product-page .product-specs-section,
html[data-theme="dark"] body.product-page .product-media-section,
html[data-theme="dark"] body.product-page .product-actions-section,
html[data-theme="dark"] body.product-page .product-not-found__card {
  background: #15181c !important;
  border: 1px solid #282e37 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32) !important;
}
html[data-theme="dark"] body.product-page .product-info-box {
  border-left: 4px solid #E3010F !important;
}
html[data-theme="dark"] body.product-page .product-spec-card {
  background: #222831 !important;
  border: 1px solid #36404e !important;
}
html[data-theme="dark"] body.product-page .product-spec-card:hover {
  background: #29303b !important;
  border-color: #E3010F !important;
}
html[data-theme="dark"] body.product-page .product-info-box__badge {
  background: #252b34 !important;
  border-color: #455060 !important;
}
html[data-theme="dark"] body.product-page .product-media-tab {
  background: #222831 !important;
  border-color: #384250 !important;
}
html[data-theme="dark"] body.product-page .product-media-tab.is-active {
  background: #18362c !important;
  border-color: #62b296 !important;
}
html[data-theme="dark"] body.product-page .product-actions-section .btn-ghost,
html[data-theme="dark"] body.product-page .product-contact-switch {
  background: #222831 !important;
  border: 1px solid #3c4656 !important;
}
html[data-theme="dark"] body.product-page :is(#productMediaViewer, #productMediaSlider, .product-media-slider, .product-media-viewer, .product-media-frame, .product-media-stage) {
  background: #1d232c !important;
  border: 1px solid #36404e !important;
}
@media (prefers-contrast: more), (forced-colors: active), print {
  html[data-theme="dark"] body.assistant-page:not(.legal-page) main.assistant-main,
  html[data-theme="dark"] body.product-page {
    background-image: none !important;
  }
}

/* ============================================================================================
   TÜM SİTE KARANLIK TEMA KAROLAJ VE 4 KATMANLI SİYAH/ARDUVAZ TON HİYERARŞİSİ (2026-11-18)
   Sinan talimatı: "karolaj ve siyah tonlamayı tüm site, karanlık tema için kullan !"
   Katman 0 — Dış Zemin Karolajı : #32363d / #383c44 gri zemin + 20 px / 100 px siyah ızgara
   Katman 1 — Ana Yüzey / Kabuk  : #14171b derin antrasit (#282e37 kenarlık)
   Katman 2 — İç Kartlar / Kutular: #222831 / #232932 arduvaz gri (#3a4352 kenarlık)
   Katman 3 — Giriş Kuyuları #111418 + Seçim/Rozet/Üst Hücreler #2d3542 (#4c596d kenarlık)
   Yalnız @media screen + html[data-theme="dark"] altında çalışır; açık tema ve PDF baskı değişmez.
   ============================================================================================ */
@media screen {
  html[data-theme="dark"] {
    --mt-karolaj-zemin: #32363d;
    --mt-karolaj-ton: #383c44;
    --mt-karolaj-cizgi: rgb(0 0 0 / .26);
    --mt-karolaj-cizgi-guclu: rgb(0 0 0 / .48);
    --mt-okuma-yuzey: #14171b;
  }

  /* Üst menü çubuğu: karolajlı sayfaların üstünde net koyu çerçeve */
  html[data-theme="dark"] header.elementor-location-header .site-header {
    background: rgba(20, 23, 27, 0.95) !important;
    border-bottom: 1px solid #2b323d !important;
  }

  /* ---- 1) KATMAN 0: SİTE GENELİ KAROLAJ ZEMİNLERİ (Gri Üzerine Siyah 20/100 px Izgara) ---- */
  /* a) Alta doğru yumuşayan giriş karolajları (.mt-karolaj, Sektörler girişi, Ürün Haritası hero) */
  html[data-theme="dark"] .mt-karolaj:not(.mt-karolaj--tam):not(.mt-karolaj--sayfa):not(.mt-hs),
  html[data-theme="dark"] .legal-page .legal-main,
  html[data-theme="dark"] .elementor-3173 > .elementor-element-204fd0b,
  html[data-theme="dark"] .elementor-1063 > .elementor-element-204fd0b {
    background-color: #32363d !important;
    background-image:
      linear-gradient(to bottom, transparent 0, transparent calc(var(--mt-karolaj-yukseklik, 380px) * .55), #2a2e35 var(--mt-karolaj-yukseklik, 380px)),
      linear-gradient(90deg, #32363d 0, transparent var(--mt-karolaj-kenar, 56px), transparent calc(100% - var(--mt-karolaj-kenar, 56px)), #32363d 100%),
      linear-gradient(rgb(0 0 0 / .26) 1px, transparent 1px),
      linear-gradient(90deg, rgb(0 0 0 / .26) 1px, transparent 1px),
      linear-gradient(rgb(0 0 0 / .48) 1px, transparent 1px),
      linear-gradient(90deg, rgb(0 0 0 / .48) 1px, transparent 1px),
      linear-gradient(#383c44, #383c44) !important;
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px, 100px 100px, 100px 100px, 100% 100% !important;
    background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, repeat, no-repeat !important;
    background-position: 0 0, 0 0, center top, center top, center top, center top, 0 0 !important;
  }

  /* b) Tam bölüm & sayfa boyu karolajlar (Ana sayfa tüm bölümler, tüm alt sayfalar, Seriler, Ürün Haritası, Kariyer, Org Şeması, Yasal Belgeler, 404) */
  html[data-theme="dark"] .mt-karolaj.mt-karolaj--tam,
  html[data-theme="dark"] .mt-karolaj.mt-karolaj--sayfa,
  html[data-theme="dark"] body.home .elementor > .elementor-element-5ce5880,
  html[data-theme="dark"] body.home section.mt-hs,
  html[data-theme="dark"] body.home section.mt-msa-band.mt-msa-band--ds,
  html[data-theme="dark"] body.home section.mt-kb,
  html[data-theme="dark"] body.home .elementor > .elementor-element-abadf06,
  html[data-theme="dark"] body.home .elementor > .elementor-element-8d19fe0,
  html[data-theme="dark"] body.home .elementor > .elementor-element-5b59809,
  html[data-theme="dark"] body.home .elementor > .elementor-element-ea56fef,
  html[data-theme="dark"] body:not(.home) .elementor-element-54cfaa8,
  html[data-theme="dark"] body:not(.home) .elementor-element-666e18d8,
  html[data-theme="dark"] body:not(.home) .elementor-element-0abf763,
  html[data-theme="dark"] body:not(.home) .elementor-element-a8185c7,
  html[data-theme="dark"] body:not(.home) .elementor-element-16d0af0,
  html[data-theme="dark"] body:not(.home) .elementor-element-b60187a,
  html[data-theme="dark"] body:not(.home) .elementor-element-4a158ae,
  html[data-theme="dark"] body:not(.home) .elementor-element-1bbef2f,
  html[data-theme="dark"] body:not(.home) .elementor-element-5bd6484,
  html[data-theme="dark"] body:not(.home) .elementor-element-43ff03c,
  html[data-theme="dark"] body:not(.home) .elementor-element-5d6a7f1,
  html[data-theme="dark"] body:not(.home) .elementor-element-b811cf7,
  html[data-theme="dark"] body:not(.home) .elementor-element-a74dc2b,
  html[data-theme="dark"] body:not(.home) .elementor-element-7f9f34a,
  html[data-theme="dark"] body:not(.home) .elementor-element-433a8c9,
  html[data-theme="dark"] body:not(.home) .elementor-element-5ddbf29,
  html[data-theme="dark"] body:not(.home) .elementor-element-68456d3,
  html[data-theme="dark"] body:not(.home) .elementor-element-861984d,
  html[data-theme="dark"] body:not(.home) .elementor-element-2ddb25c,
  html[data-theme="dark"] body:not(.home) .elementor-element-6fe78d4,
  html[data-theme="dark"] body:not(.home) .elementor-element-c394828,
  html[data-theme="dark"] body:not(.home) .elementor-element-a048a27,
  html[data-theme="dark"] body:not(.home) .elementor-element-166c6dc,
  html[data-theme="dark"] body:not(.home) .elementor-element-405b71f,
  html[data-theme="dark"] body:not(.home) .elementor-element-19b6b65,
  html[data-theme="dark"] body:not(.home) .elementor-element-67eae7f,
  html[data-theme="dark"] body:not(.home) .elementor-element-e79833e,
  html[data-theme="dark"] body:not(.home) .elementor-element-1144499,
  html[data-theme="dark"] body:not(.home) .elementor-element-ccbde96,
  html[data-theme="dark"] body:not(.home) .elementor-element-618f4f9,
  html[data-theme="dark"] body:not(.home) .elementor-element-c37d82b,
  html[data-theme="dark"] body:not(.home) .elementor-element-be1db57,
  html[data-theme="dark"] body:not(.home) .elementor-element-afc79af,
  html[data-theme="dark"] body:not(.home) .elementor[data-elementor-type="wp-page"],
  html[data-theme="dark"] body:not(.home) section.mt-pn,
  html[data-theme="dark"] body.mt-page-seriler main.mt-ser,
  html[data-theme="dark"] body.mt-page-seriler main.mt-ser > section.sec--alt,
  html[data-theme="dark"] body.mt-page-seriler main.mt-ser > section.cta,
  html[data-theme="dark"] body.mt-page-urun-haritasi main.mt-pm,
  html[data-theme="dark"] body.mt-page-kariyer main.tc,
  html[data-theme="dark"] main.tc,
  html[data-theme="dark"] main.mt-org-page,
  html[data-theme="dark"] main.mt-404g,
  html[data-theme="dark"] main.mt-404,
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main,
  html[data-theme="dark"] body.mt-yb {
    background-color: #32363d !important;
    background-image:
      linear-gradient(to bottom, rgb(0 0 0 / .24) 0, transparent 36px),
      linear-gradient(to top, rgb(0 0 0 / .20) 0, transparent 48px),
      linear-gradient(90deg, #32363d 0, transparent var(--mt-karolaj-kenar, 56px), transparent calc(100% - var(--mt-karolaj-kenar, 56px)), #32363d 100%),
      linear-gradient(rgb(0 0 0 / .26) 1px, transparent 1px),
      linear-gradient(90deg, rgb(0 0 0 / .26) 1px, transparent 1px),
      linear-gradient(rgb(0 0 0 / .48) 1px, transparent 1px),
      linear-gradient(90deg, rgb(0 0 0 / .48) 1px, transparent 1px),
      linear-gradient(#383c44, #383c44) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 20px 20px, 20px 20px, 100px 100px, 100px 100px, 100% 100% !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, repeat, no-repeat !important;
    background-position: 0 0, 0 0, 0 0, center top, center top, center top, center top, 0 0 !important;
  }

  /* Karolaj üstünde doğrudan duran bölüm başlıkları (Ürünlerimiz / Haberler üst başlığı): tam okunurluk */
  html[data-theme="dark"] body.home .elementor-element-8d19fe0 .elementor-element-8ff7708 .elementor-heading-title,
  html[data-theme="dark"] body.home .elementor-element-8d19fe0 .elementor-element-81bc65a .elementor-heading-title,
  html[data-theme="dark"] body.home .elementor-element-5b59809 .elementor-heading-title,
  html[data-theme="dark"] body.home .elementor-element-ea56fef .elementor-element-e9524dd .elementor-heading-title,
  html[data-theme="dark"] body.home .elementor-element-ea56fef .elementor-element-68d0b0a .elementor-heading-title,
  html[data-theme="dark"] body.home .mt-hs__title {
    color: #f8fafc !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  }
  html[data-theme="dark"] body.home .elementor-element-8d19fe0 .elementor-element-b57e7b5,
  html[data-theme="dark"] body.home .mt-hs__intro {
    color: #e2e8f0 !important;
  }

  /* ---- 2) KATMAN 1: TÜM SİTE OKUMA YÜZEYLERİ VE ANA DIŞ KABUK KARTLARI (#14171b + #282e37 kenarlık) ---- */
  html[data-theme="dark"] .mt-okuma-yuzey,
  html[data-theme="dark"] .mt-kurum__kap,
  html[data-theme="dark"] section.mt-ara.mt-ara--sade,
  html[data-theme="dark"] body main.mt-404 > .mt-404__in,
  html[data-theme="dark"] body main.mt-ser > section.phead > .wrap,
  html[data-theme="dark"] body main.mt-ser > section.sec > .wrap,
  html[data-theme="dark"] body main.mt-ser > section.cta > .cta__in,
  html[data-theme="dark"] body main.mt-pm .mt-pm-hero > .mt-pm-wrap,
  html[data-theme="dark"] body main.tc:not(:has(> .tc-sec > .tc-split)) > .tc-intro--career > .tc-wrap,
  html[data-theme="dark"] body main.tc > .tc-sec:is([aria-labelledby="tc-open"], [aria-labelledby="tc-pool"], [aria-labelledby="tc-areas"]) > .tc-wrap,
  html[data-theme="dark"] body main.tc > .tc-intro--sm > .tc-wrap,
  html[data-theme="dark"] body main.tc .tc-split > .tc-apply,
  html[data-theme="dark"] body main.tc > .tc-sec:not(:has(> .tc-split)) > .tc-wrap > .tc-form,
  html[data-theme="dark"] body section.mt-pn > .mt-pn__head,
  html[data-theme="dark"] body :is(.elementor-3150, .elementor-1055) .elementor-element.elementor-element-8716cfc,
  html[data-theme="dark"] body :is(.elementor-3150, .elementor-1055) .elementor-element.elementor-element-9e8ad34,
  html[data-theme="dark"] body .elementor .elementor-element.elementor-element-b3bec43,
  html[data-theme="dark"] body .elementor .elementor-element.elementor-element-bc5acd2,
  html[data-theme="dark"] body .elementor .elementor-element.elementor-element-8f74aa4,
  html[data-theme="dark"] body:not(.home):not(:has(.elementor-3158, .elementor-1061)) .elementor .elementor-element.elementor-element-b1a0654,
  html[data-theme="dark"] body:not(.home) .elementor .elementor-element.elementor-element-27082bc,
  html[data-theme="dark"] body:not(.home) .elementor :is(.elementor-element-666e18d8, .elementor-element-0abf763, .elementor-element-a8185c7) > .e-con,
  html[data-theme="dark"] body:not(.home) .elementor :is(.elementor-element-f2a6688, .elementor-element-c4ddd73, .elementor-element-3c917c3, .elementor-element-0da13af,
    .elementor-element-9e90e01, .elementor-element-074f962, .elementor-element-0a8a942, .elementor-element-ed29aa9,
    .elementor-element-d71034b, .elementor-element-27612bc, .elementor-element-12366db, .elementor-element-818f393, .elementor-element-c643d63),
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main > .mt-yb-doc,
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main > .mt-ys-doc,
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main > .nt-doc,
  html[data-theme="dark"] body.mt-yb .mt-yb-doc {
    background: #14171b !important;
    border: 1px solid #282e37 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
  }
  html[data-theme="dark"] body :is(.elementor-3150, .elementor-1055) > .elementor-element.elementor-element-dd2ff27 {
    background: transparent !important;
  }
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main > .nt-doc,
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main > .mt-yb-doc,
  html[data-theme="dark"] body.mt-yb .mt-yb-doc {
    border-top: 4px solid #E3010F !important;
  }

  /* Elementor EN/AR/DE seri sayfalarındaki yarı saydam koyu özellik bantları (örn. 2f16750): karolaj metin arkasına sızmasın */
  html[data-theme="dark"] body:not(.home) .elementor[data-elementor-type="wp-page"] > .e-con:has(.elementor-widget-image-box) {
    background: #181d24 !important;
    border-block: 1px solid #323b49 !important;
  }

  /* ---- 3) ANA SAYFA KARTLARI VE İÇ İÇE KUTU TON HİYERARŞİSİ ---- */
  /* Hero sol metin kartı ve Hakkımızda sağ metin kartı (Katman 1 — düz #14171b) */
  html[data-theme="dark"] body.home .elementor-element-5ce5880 > .elementor-element-9455d1b > .elementor-motion-effects-container > .elementor-motion-effects-layer,
  html[data-theme="dark"] body.home .elementor-element-5ce5880 > .elementor-element-9455d1b,
  html[data-theme="dark"] body.home .elementor-element-abadf06 > .elementor-element-5a6053e,
  html[data-theme="dark"] body.home .elementor-element-abadf06 > .elementor-element-5a6053e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background: #14171b !important;
    border: 1px solid #282e37 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36) !important;
  }
  /* Hero ikincil düğmeler (Katman 2/3) */
  html[data-theme="dark"] body.home .elementor-element-5ce5880 [data-id="2a1a10e"] a.elementor-button {
    background: #242c38 !important;
    border: 1px solid #455266 !important;
    color: #f8fafc !important;
  }
  html[data-theme="dark"] body.home .elementor-element-5ce5880 .elementor-element-afa586a a.elementor-button {
    background: #212730 !important;
    border: 1.5px solid #455266 !important;
    color: #e2e8f0 !important;
  }
  /* Ana sayfa Ürünlerimiz / Avantajlar / Haberler kartları: karolaj üstünde net koyu kart */
  html[data-theme="dark"] body.home .elementor :is(
    .elementor-element-7b97b04, .elementor-element-1b3b0c6, .elementor-element-42b38b1,
    .elementor-element-4e10b1a, .elementor-element-65a7844, .elementor-element-47d7f6f, .elementor-element-3602dc3, .elementor-element-3b0b528,
    .elementor-element-dfc6bff, .elementor-element-5b891b1, .elementor-element-1e23980, .elementor-element-91657c7,
    .elementor-element-270c3f4, .elementor-element-7e459f8, .elementor-element-5d366c4, .elementor-element-88e4218
  ) {
    background: #15191f !important;
    border: 1px solid #2d3542 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32) !important;
  }
  html[data-theme="dark"] body.home .elementor :is(
    .elementor-element-7b97b04, .elementor-element-1b3b0c6, .elementor-element-42b38b1,
    .elementor-element-4e10b1a, .elementor-element-65a7844, .elementor-element-47d7f6f, .elementor-element-3602dc3, .elementor-element-3b0b528,
    .elementor-element-dfc6bff, .elementor-element-5b891b1, .elementor-element-1e23980, .elementor-element-91657c7,
    .elementor-element-270c3f4, .elementor-element-7e459f8, .elementor-element-5d366c4, .elementor-element-88e4218
  ) > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background: transparent !important;
  }

  /* Ana sayfa Seri Önizleme (.mt-hs): karolaj üstünde Katman 1 dış kart (.mt-hs__wrap #14171b) -> Katman 2 panel (#1d232c) -> Katman 3 özet/sekmeler (#262e3a) */
  html[data-theme="dark"] .mt-hs > .mt-hs__wrap {
    background: #14171b !important;
    border: 1px solid #282e37 !important;
    border-radius: 16px !important;
    padding: 32px 36px 28px !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38) !important;
  }
  @media (max-width: 767px) {
    html[data-theme="dark"] .mt-hs > .mt-hs__wrap {
      padding: 22px 18px 20px !important;
      border-radius: 12px !important;
    }
  }
  html[data-theme="dark"] .mt-hs__panel {
    background: #1c222b !important;
    border: 1px solid #353f4e !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24) !important;
  }
  html[data-theme="dark"] .mt-hs__ro {
    background: #252d39 !important;
    border-inline-start-color: #3c4757 !important;
  }
  html[data-theme="dark"] .mt-hs__dl > div {
    border-top-color: #384354 !important;
  }
  html[data-theme="dark"] .mt-hs__tab {
    background: #212730 !important;
    border-color: #3c4757 !important;
    color: #dbe2ec !important;
  }
  html[data-theme="dark"] .mt-hs__tab:hover {
    background: #2a323e !important;
    border-color: #5b697e !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] .mt-hs__tab[aria-selected="true"],
  html[data-theme="dark"] .mt-hs__tab[aria-selected="true"]:hover {
    background: #181c23 !important;
    border-color: #E3010F !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(227, 1, 15, 0.35) !important;
  }
  html[data-theme="dark"] .mt-hs__n {
    background: #2f3846 !important;
    color: #e2e8f0 !important;
  }
  html[data-theme="dark"] .mt-hs__tab[aria-selected="true"] .mt-hs__n {
    background: #E3010F !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] .mt-hs__btn:not(.mt-hs__btn--p):not(.mt-hs__btn--msa) {
    background: #252d39 !important;
    border-color: #485568 !important;
    color: #f1f5f9 !important;
  }

  /* Ana sayfa MSA Bandı (.hero-command-bar) & Kariyer Bandı (.mt-kb__card): karolaj üstünde Katman 1-3 tonları */
  html[data-theme="dark"] .mt-msa-band .hero-command-bar,
  html[data-theme="dark"] .mt-kb__card {
    background: #14171b !important;
    border: 1px solid #2e3643 !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38) !important;
  }
  html[data-theme="dark"] .mt-msa-band .hero-quick-search__input {
    background: #101317 !important;
    color: #f8fafc !important;
  }
  html[data-theme="dark"] .mt-msa-band .hero-contact-switch {
    background: #222831 !important;
    border: 1px solid #3c4757 !important;
  }
  html[data-theme="dark"] .mt-kb__tool {
    background: #1c2129 !important;
    border: 1px solid #323b49 !important;
  }
  html[data-theme="dark"] .mt-kb .mt-kb__job {
    background: #242b35 !important;
    border: 1px solid #3b4555 !important;
  }
  html[data-theme="dark"] .mt-kb .mt-kb__job:hover {
    background: #2b3340 !important;
    border-color: #E3010F !important;
  }
  html[data-theme="dark"] .mt-kb .mt-kb__job-m span + span {
    background: #161a20 !important;
    border-color: #384252 !important;
  }
  html[data-theme="dark"] .mt-kb .mt-kb__tab[aria-selected="true"],
  html[data-theme="dark"] .mt-kb .mt-kb__tab[aria-selected="true"]:hover {
    background: #28303c !important;
    border-color: #4c596d !important;
    color: #ffffff !important;
  }

  /* ---- 4) HAKKIMIZDA, HİZMETLER, SEKTÖRLER, ŞİRKET PROFİLİ, POLİTİKALAR, İLETİŞİM VE 404 İÇ KUTULARI ---- */
  /* Hakkımızda (.mt-kurum__kap #14171b) içindeki iki kurumsal sütun kartı (.mt-kurum__blok #1f252e) */
  html[data-theme="dark"] .mt-kurum__ikili::before {
    display: none;
  }
  html[data-theme="dark"] .mt-kurum__blok {
    background: #1f252e !important;
    border: 1px solid #343e4d !important;
    border-radius: 12px;
    padding: 22px 24px !important;
  }
  html[data-theme="dark"] .mt-kurum__alt-satir a.elementor-button {
    background: #29313e !important;
    border: 1px solid #4a576b !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] body:not(.home) .elementor-element-54cfaa8 > .elementor-element-a02808e {
    background: #14171b !important;
    border: 1px solid #282e37 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36) !important;
  }

  /* Hizmetler: sol fotoğraf üstü bilgi kutuları koyu şeffaf cam + sağ #14171b kart içindeki 6 hizmet kutusu (#232932) */
  html[data-theme="dark"] body :is(.elementor-3158, .elementor-1061) .elementor-element-16d0af0 > .e-con:first-child .e-con:has(> .elementor-widget-heading) {
    background: rgba(22, 27, 34, 0.80) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(6px);
    border-radius: 10px;
  }
  html[data-theme="dark"] body :is(.elementor-3158, .elementor-1061) .elementor-element-187071f .e-con:has(> .elementor-widget-text-editor),
  html[data-theme="dark"] body :is(.elementor-3158, .elementor-1061) .elementor-element-b3bec43 .e-con.e-child:has(.elementor-widget-heading):not(:has(.e-con)) {
    background: #232932 !important;
    border: 1px solid #3a4352 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  }

  /* Sektörler (#14171b dış panel içindeki 6 sektör kartı: #212730 gövde + #29313e başlık şeridi) */
  html[data-theme="dark"] body :is(.elementor-3173, .elementor-1063) .elementor-element-27082bc .eqh > .e-con {
    background: #212730 !important;
    border: 1px solid #384252 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24) !important;
  }
  html[data-theme="dark"] body :is(.elementor-3173, .elementor-1063) .elementor-element-27082bc .eqh > .e-con > .e-con:first-child {
    background: #29313e !important;
    border-bottom: 1px solid #3d4859 !important;
  }

  /* Politikalar akordeonları (#212730 gövde + #272f3b başlık) ve popup (dialog.mt-pol) */
  html[data-theme="dark"] .elementor-widget-n-accordion .e-n-accordion-item {
    background: #1f252e !important;
    border: 1px solid #36404e !important;
    border-radius: 10px;
    overflow: hidden;
  }
  html[data-theme="dark"] .elementor-widget-n-accordion .e-n-accordion-item > .e-n-accordion-item-title {
    background: #262e3a !important;
    border-color: #3a4555 !important;
  }
  html[data-theme="dark"] .elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title,
  html[data-theme="dark"] .elementor-widget-n-accordion .e-n-accordion-item[open] > .e-n-accordion-item-title .e-n-accordion-item-title-text {
    background: #2b2125 !important;
    color: #ff6b75 !important;
    border-bottom: 1px solid #4a3036 !important;
  }
  html[data-theme="dark"] dialog.mt-pol {
    background: #1d222a !important;
    border: 1px solid #36404e !important;
  }
  html[data-theme="dark"] dialog.mt-pol .mt-pol__nav {
    background: #14171b !important;
    border-inline-end: 1px solid #2d3542 !important;
  }
  html[data-theme="dark"] dialog.mt-pol .mt-pol__doc {
    background: #1e242c !important;
  }

  /* İletişim sol kart (#14171b) içindeki yalnız 2 bilgi kutusu (0ef65df, 45de8f8 -> #222831) ve Akıllı Teklif Formu */
  html[data-theme="dark"] body .elementor .elementor-element.elementor-element-0ef65df,
  html[data-theme="dark"] body .elementor .elementor-element.elementor-element-45de8f8 {
    background: #222831 !important;
    border: 1px solid #384252 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  }
  html[data-theme="dark"] form.mtq fieldset.mtq-tech,
  html[data-theme="dark"] form.mtq .mtq-from {
    background: #212730 !important;
    border: 1px solid #384252 !important;
    border-radius: 10px;
    padding: 14px 16px;
  }
  html[data-theme="dark"] form.mtq .mtq-from {
    border-inline-start: 3px solid #E3010F !important;
  }
  html[data-theme="dark"] .elementor-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  html[data-theme="dark"] .elementor-form select,
  html[data-theme="dark"] .elementor-form textarea,
  html[data-theme="dark"] form.mtq input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  html[data-theme="dark"] form.mtq select,
  html[data-theme="dark"] form.mtq textarea {
    background-color: #111418 !important;
    border: 1px solid #455061 !important;
    color: #f1f5f9 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.48) !important;
  }
  html[data-theme="dark"] .elementor-form :is(input, select, textarea):focus,
  html[data-theme="dark"] form.mtq :is(input, select, textarea):focus {
    background-color: #0d1014 !important;
    border-color: #E3010F !important;
  }

  /* 404 Arama ve Keşif Kartı (section.mt-ara--sade): Katman 1 #14171b -> Katman 2 seri kutuları #222831 -> Katman 3 arama kuyusu #101318 */
  html[data-theme="dark"] section.mt-ara :is(form, .mt-ara__form, .mt-ara__bar, .mt-ara__kutu),
  html[data-theme="dark"] section.mt-ara input[type="search"],
  html[data-theme="dark"] section.mt-ara input[type="text"] {
    background-color: #101318 !important;
    border-color: #455061 !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] section.mt-ara--sade a {
    background: #222831 !important;
    border: 1px solid #384252 !important;
  }
  html[data-theme="dark"] section.mt-ara--sade a:hover,
  html[data-theme="dark"] section.mt-ara--sade a:focus-visible {
    background: #2a323f !important;
    border-color: #E3010F !important;
  }

  /* ---- 5) ÜRÜNLER GEZİNME (.mt-pn), SERİLER (main.mt-ser) VE ÜRÜN HARİTASI (main.mt-pm) ---- */
  html[data-theme="dark"] .mt-pn-bar {
    background: #14171b !important;
    border: 1px solid #2e3643 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32) !important;
  }
  html[data-theme="dark"] .mt-pn-bar__views {
    background: #14171b !important;
    box-shadow: -10px 0 10px -6px #14171b !important;
  }
  html[data-theme="dark"] .mt-pn-bar__n {
    background: #262e3a !important;
    color: #e2e8f0 !important;
  }
  html[data-theme="dark"] .mt-pn__card {
    background: #15191f !important;
    border: 1px solid #2f3846 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  }
  html[data-theme="dark"] .mt-pn__card:hover {
    background: #1b2028 !important;
    border-color: #4c596d !important;
  }
  html[data-theme="dark"] .mt-pn__media {
    background: #101318 !important;
  }
  html[data-theme="dark"] .mt-pn__badge,
  html[data-theme="dark"] .mt-pn__chip {
    background: #252c37 !important;
    border-color: #3f4a5c !important;
    color: #e2e8f0 !important;
  }
  html[data-theme="dark"] .mt-sp {
    background: #14171b !important;
    border-bottom-color: #2b323d !important;
  }
  html[data-theme="dark"] .mt-flow {
    background: #242932 !important;
    border-color: #363f4d !important;
  }
  html[data-theme="dark"] .mt-flow__step > a:not(:last-child),
  html[data-theme="dark"] .mt-flow__step > div {
    background: #15181c !important;
    border-color: #323b48 !important;
  }

  /* Seriler (main.mt-ser): Katman 1 okuma yüzeyi (#14171b) içinde Katman 2 kart/tablo/spec (#222831) + Katman 3 kuyu (#111418) */
  html[data-theme="dark"] main.mt-ser :is(.card, .mastviz, .specs, .panel, .table, .fbar, .tool, .chart, .mcard, .rprim, .certs li, .docs li, .atlas__side, .drawer, .modal, .band) {
    background: #222831 !important;
    border-color: #384252 !important;
  }
  html[data-theme="dark"] main.mt-ser dl.spec {
    background: #36404e !important;
    border-color: #384252 !important;
  }
  html[data-theme="dark"] main.mt-ser dl.spec > div {
    background: #222831 !important;
  }
  html[data-theme="dark"] main.mt-ser .specs > div {
    border-color: #323b49 !important;
  }
  html[data-theme="dark"] main.mt-ser :is(.scard__sil, .tool__vis, .ctx, .live, .rprim__sil, thead th) {
    background: #171b22 !important;
    border-color: #323b49 !important;
  }
  html[data-theme="dark"] main.mt-ser :is(.input, .select, .textarea) {
    background: #111418 !important;
    border-color: #455061 !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] main.mt-ser :is(.tags li, .chip > span, .optcard > span),
  html[data-theme="dark"] main.mt-ser a.btn:not(.btn--p):not(.btn--primary) {
    background: #29313e !important;
    border-color: #485568 !important;
    color: #f1f5f9 !important;
  }

  /* Ürün Haritası (main.mt-pm): Katman 1 yan/ana panel (#14171b) -> Katman 2 grafik/tablo/kart (#1f252e / #222831) -> Katman 3 filtre/başlık */
  html[data-theme="dark"] main.mt-pm :is(.mt-pm-side, .mt-pm-main, .mt-pm-drawer) {
    background: #14171b !important;
    border: 1px solid #2b3340 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
  }
  html[data-theme="dark"] main.mt-pm :is(.mt-pm-chart, .mt-pm-plot, .mt-pm-legend, .mt-pm-mcard, .mt-pm-msabox, .mt-pm-dl div) {
    background: #1f252e !important;
    border-color: #36404e !important;
  }
  html[data-theme="dark"] main.mt-pm .mt-pm-mcard:hover {
    background: #29313d !important;
    border-color: #E3010F !important;
  }
  html[data-theme="dark"] main.mt-pm :is(.mt-pm-table, .mt-pm-matrix) {
    background: #1d222a !important;
    border-color: #36404e !important;
  }
  html[data-theme="dark"] main.mt-pm :is(.mt-pm-table thead th, .mt-pm-matrix thead th) {
    background: #262d38 !important;
    color: #e2e8f0 !important;
  }
  html[data-theme="dark"] main.mt-pm :is(.mt-pm-table tbody tr:hover, .mt-pm-matrix tbody tr:hover > *) {
    background: #252c37 !important;
  }
  html[data-theme="dark"] main.mt-pm select {
    background: #111418 !important;
    border-color: #455061 !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] main.mt-pm .mt-pm-seg {
    background: #222831 !important;
    border-color: #384252 !important;
  }
  html[data-theme="dark"] main.mt-pm .mt-pm-seg button[aria-pressed="true"] {
    background: #323b49 !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] main.mt-pm .mt-pm-chip span,
  html[data-theme="dark"] main.mt-pm button.mt-pm-btn:not(.mt-pm-btn--primary),
  html[data-theme="dark"] main.mt-pm button.mt-pm-icon {
    background: #232932 !important;
    border-color: #414c5d !important;
    color: #e2e8f0 !important;
  }

  /* ---- 6) KARİYER (main.tc + alt İK Politikası kartı) İÇ İÇE KUTU TON HİYERARŞİSİ ---- */
  html[data-theme="dark"] .mt-ik-pol__in {
    background: #14171b !important;
    border: 1px solid #282e37 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
  }
  html[data-theme="dark"] main.tc :is(.tc-job__link, .tc-general, .tc-group, .tc-apply .tc-form, .mt-ik-pol, .mt-ik-pol__in) {
    background: #222831 !important;
    border: 1px solid #384252 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  }
  html[data-theme="dark"] main.tc .mt-ik-pol:has(.mt-ik-pol__in) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html[data-theme="dark"] main.tc .tc-job__link:hover,
  html[data-theme="dark"] main.tc .tc-job__link:focus-visible {
    background: #28303c !important;
    border-color: #546278 !important;
  }
  html[data-theme="dark"] main.tc .tc-job__meta > span + span,
  html[data-theme="dark"] main.tc .tc-group li {
    background: #2e3643 !important;
    color: #e2e8f0 !important;
    box-shadow: inset 0 0 0 1px #455163 !important;
  }
  html[data-theme="dark"] main.tc .tc-areas__g {
    background: #222831 !important;
    border-color: #384252 !important;
  }
  html[data-theme="dark"] main.tc .tc-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: #111418 !important;
    border: 1px solid #455061 !important;
    color: #f1f5f9 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.48) !important;
  }

  /* ---- 7) ORGANİZASYON ŞEMASI (main.mt-org-page — Yalnız Ekran, A3 PDF Baskıya Dokunmaz) ---- */
  html[data-theme="dark"] main.mt-org-page #org-root {
    background: #14171b;
    border: 1px solid #282e37;
    border-radius: 16px;
    padding: 24px 28px 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
  }
  @media (max-width: 899px) {
    html[data-theme="dark"] main.mt-org-page #org-root {
      padding: 16px 12px 24px;
      border-radius: 12px;
    }
  }
  /* .ocx-dept kapsayıcısı şeffaf kalır (GMY alt gruplarında arka dikdörtgen lekesi oluşmasın); yalnız başlık + roller kutusu boyanır */
  html[data-theme="dark"] .mt-org-page .ocx-dept {
    background: transparent !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-line {
    background: #242c38 !important;
    border: 1.5px solid #4c596d !important;
    border-radius: 8px;
    color: #ffffff !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-deputy-box {
    background: #313b4b !important;
    border-color: #56657c !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-dept-h {
    background: #181d25 !important;
    border-color: #3b4555 !important;
    border-top: 3px solid #64748b !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-dept > .ocx-roles {
    background: #212730 !important;
    border-color: #3b4555 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-dept > .ocx-roles > li > .ocx-role {
    background: #2d3644 !important;
    border-color: #526075 !important;
    color: #ffffff !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-roles .ocx-roles .ocx-role {
    background: #171b22 !important;
    border-color: #3a4454 !important;
    color: #e2e8f0 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-role.ocx-role--dashed,
  html[data-theme="dark"] .mt-org-page .ocx-dept > .ocx-roles > li > .ocx-role.ocx-role--dashed {
    background: #171b22 !important;
    border: 1.5px dashed #7a889e !important;
    color: #e2e8f0 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-staff-box {
    background: #222831 !important;
    border-color: #3f4a5c !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-staff-box.ocx-box--accent-red {
    background: #28191d !important;
    border-color: #E3010F !important;
  }

  /* ---- 8) YASAL BELGELER İÇ META KUTUSU VE TABLO TON HİYERARŞİSİ ---- */
  html[data-theme="dark"] :is(.mt-yb-doc, .nt-doc) :is(.mt-yb-meta, .nt-meta, .mt-yb-head dl) {
    background: #212730 !important;
    border: 1px solid #384252 !important;
  }
  html[data-theme="dark"] :is(.mt-yb-doc, .nt-doc) :is(.mt-yb-pdf, .nt-pdf) {
    background: #242b35 !important;
    border-color: #455163 !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] :is(.mt-yb-doc, .nt-doc) th {
    background: #242b35 !important;
    border-color: #3b4555 !important;
    color: #f1f5f9 !important;
  }
  html[data-theme="dark"] :is(.mt-yb-doc, .nt-doc) td {
    background: #1b2027 !important;
    border-color: #323b49 !important;
    color: #e2e8f0 !important;
  }
}

@media (max-width: 767px) and (screen) {
  html[data-theme="dark"] {
    --mt-karolaj-kenar: 16px;
  }
}

/* Yüksek kontrast ve A3/A4 PDF Baskı Koruması: koyu tema açıkken bile yazdırmada kâğıt beyaz, karolaj kapalı ve şema orijinal açık renklerinde basılır */
@media (prefers-contrast: more), (forced-colors: active) {
  html[data-theme="dark"] .mt-karolaj,
  html[data-theme="dark"] body.home .elementor > .e-con,
  html[data-theme="dark"] body:not(.home) .elementor[data-elementor-type="wp-page"],
  html[data-theme="dark"] main.mt-ser,
  html[data-theme="dark"] main.mt-pm,
  html[data-theme="dark"] main.tc,
  html[data-theme="dark"] main.mt-org-page,
  html[data-theme="dark"] main.mt-404g,
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main,
  html[data-theme="dark"] body.mt-yb {
    background-image: none !important;
  }
}
@media print {
  html[data-theme="dark"] { color-scheme: light !important; }
  html[data-theme="dark"] body,
  html[data-theme="dark"] main.mt-org-page,
  html[data-theme="dark"] main.mt-org-page #org-root,
  html[data-theme="dark"] body.mt-belge-cerceve .mt-belge-main,
  html[data-theme="dark"] body.mt-yb {
    background: #ffffff !important;
    background-image: none !important;
    color: #141414 !important;
    box-shadow: none !important;
  }
  html[data-theme="dark"] .mt-org-page {
    --ocx-ink: #141414 !important;
    --ocx-line: #9AA0A6 !important;
    --ocx-border: #D9DCE0 !important;
    --ocx-soft: #F7F8F9 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-title { color: #141414 !important; }
  html[data-theme="dark"] .mt-org-page .ocx-head { border-bottom-color: #D9DCE0 !important; }
  html[data-theme="dark"] .mt-org-page .ocx-dept-h,
  html[data-theme="dark"] .mt-org-page .ocx-dept > .ocx-roles,
  html[data-theme="dark"] .mt-org-page .ocx-dept > .ocx-roles > li > .ocx-role,
  html[data-theme="dark"] .mt-org-page .ocx-staff-box {
    background: #ffffff !important;
    color: #141414 !important;
    border-color: #B4B9C0 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-dept-h { border-top: 3px solid #141414 !important; }
  html[data-theme="dark"] .mt-org-page .ocx-dept-t,
  html[data-theme="dark"] .mt-org-page .ocx-staff-box .ocx-box-t { color: #141414 !important; }
  html[data-theme="dark"] .mt-org-page .ocx-staff-box .ocx-box-sub { color: #69727D !important; }
  html[data-theme="dark"] .mt-org-page .ocx-staff-box.ocx-box--accent-red {
    background: #ffffff !important;
    border-color: #E3010F !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-roles .ocx-roles .ocx-role {
    background: #F7F8F9 !important;
    border-color: #D9DCE0 !important;
    color: #414141 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-role.ocx-role--dashed,
  html[data-theme="dark"] .mt-org-page .ocx-dept > .ocx-roles > li > .ocx-role.ocx-role--dashed,
  html[data-theme="dark"] .mt-org-page .ocx-roles .ocx-roles .ocx-role.ocx-role--dashed {
    background: #FAFAFB !important;
    border: 1.5px dashed #7A828E !important;
    color: #414141 !important;
  }
  html[data-theme="dark"] .mt-org-page .ocx-line { background: #141414 !important; color: #ffffff !important; }
  html[data-theme="dark"] .mt-org-page .ocx-deputy-box { background: #4A4F57 !important; border-color: #4A4F57 !important; color: #ffffff !important; }
}

/* KOYU-KOLAJ-01 (Sinan 2026-11-20 "kart siyah / siyah temada"): Hizmetler + Sektörler alt bandındaki kolaj kartı
 (TR d15fac0 / bd2cb6a, EN-AR-DE-PL 0850aed). Katman 1 kuralındaki "background" kısaltması katalog kolaj görselini
 (background-image) siliyor, kart boş siyah kalıyordu. Burada yalnız zemin rengi, kenarlık ve gölge verilir; görsel korunur. */
@media screen {
html[data-theme="dark"] body:not(.home) .elementor :is(.elementor-element-bd2cb6a, .elementor-element-0850aed, .elementor-element-d15fac0),
html[data-theme="dark"] body:not(.home) .elementor :is(.elementor-element-bd2cb6a, .elementor-element-0850aed, .elementor-element-d15fac0) > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: #14171b !important;
}
html[data-theme="dark"] body:not(.home) .elementor :is(.elementor-element-bd2cb6a, .elementor-element-0850aed, .elementor-element-d15fac0) {
  border: 1px solid #282e37 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34) !important;
}
}
