/* ============================================================
   Sinerji Team CRM — theme-dark.css
   Koyu tema. Yalnızca <html data-theme="dark"> iken etkindir; açık temada
   hiçbir kuralı uygulanmaz. Menüdeki düğmeyle seçilir, tarayıcıda saklanır.
   Not: Bölüm 2, assets/css altındaki diğer dosyalardaki sabit renklerden
   otomatik türetilmiştir. Orada bir renk değişirse bu dosya yeniden üretilmelidir.
   ============================================================ */

/* 1) Renk değişkenleri */
html[data-theme="dark"] {
  color-scheme: dark;

  --bg:          #0e141c;
  --surface:     #161e29;
  --surface-2:   #1b2532;
  --border:      #2a3646;
  --border-2:    #364457;

  --text:        #e6edf5;
  --text-soft:   #aab7c8;
  --text-mute:   #7f8ea3;

  --ok-bg:       #12301f;
  --warn-bg:     #3a2a0d;
  --danger-bg:   #3d1717;
  --info-bg:     #14284a;
  --purple-bg:   #2a1f4d;

  --shadow:      0 1px 2px rgba(0,0,0,.40), 0 6px 20px rgba(0,0,0,.35);
  --shadow-sm:   0 1px 2px rgba(0,0,0,.45);

  /* Koyu zeminde METİN/ÇİZGİ olarak kullanılan renklerin açık karşılıkları.
     (Aynı değişkenler zemin olarak kullanıldığında koyu kalır.) */
  --dk-navy-fg:      #d6e4f6;
  --dk-navy-600-fg:  #bcd2ee;
  --dk-navy-400-fg:  #8fb4e3;
  --dk-brand-fg:     #6b9bff;
  --dk-brand-600-fg: #7aa6ff;
  --dk-ok-fg:        #4ade80;
  --dk-warn-fg:      #fbbf24;
  --dk-danger-fg:    #f87171;
  --dk-info-fg:      #7db3ff;
  --dk-purple-fg:    #b79cff;
  --dk-navy-bd:      #3d5273;
  --dk-navy-bd2:     #4a6a96;

  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='11' fill='%232a3a52'/%3E%3Cpath d='M6.5 9l4.5 4.5L15.5 9' fill='none' stroke='%23cfe0f5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

html[data-theme="dark"] body { background: var(--bg); color: var(--text); }
html[data-theme="dark"] ::placeholder { color: var(--text-mute); opacity: 1; }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea { color-scheme: dark; }
html[data-theme="dark"] img { opacity: .94; }
html[data-theme="dark"] .st-logo img,
html[data-theme="dark"] .avatar img { opacity: 1; }

/* Logo: koyu temada beyaz yazılı sürüm */
.st-logo img.st-logo__dark { display: none !important; }
html[data-theme="dark"] .st-logo img.st-logo__dark { display: block !important; }
html[data-theme="dark"] .st-logo img:not(.st-logo__dark) { display: none !important; }

/* Ana düğme: lacivert zemin koyu yüzeyde kaybolduğu için marka mavisi */
html[data-theme="dark"] .btn--primary { background: var(--brand); color: #fff; }
html[data-theme="dark"] .btn--primary:hover { background: var(--brand-600); }

/* CB Kobi Akademi: marka çipindeki Kobi logosunun koyu tema sürümü */
img.kobi-logo-dark { display: none !important; }
html[data-theme="dark"] img.kobi-logo-dark { display: block !important; }
html[data-theme="dark"] img.kobi-logo-light { display: none !important; }

/* Ekibimiz: ortak logoların koyu tema sürümleri (açık/koyu çift img) */
.team-partners img.tp-dark { display: none; }
html[data-theme="dark"] .team-partners img.tp-dark { display: block; }
html[data-theme="dark"] .team-partners img.tp-light { display: none; }
html[data-theme="dark"] .team-partners img { opacity: 1; }

/* Teşekkür Kartı: lacivert düğme/çip/adım zemini koyu yüzeyde kaybolmasın */
html[data-theme="dark"] .tk { --tk-navy: #2b59c9; }
html[data-theme="dark"] .tk-btn--primary:not([disabled]):hover { background: #3b6fe0; }
html[data-theme="dark"] .tk-btn--ghost:not([disabled]):hover { border-color: var(--dk-brand-fg); }
html[data-theme="dark"] .tk-chip.is-on:hover { color: #fff; }
html[data-theme="dark"] .tk-preview { box-shadow: 0 8px 28px rgba(0,0,0,.45); }

/* Raporlar: --k ile boyanan rakamlar/kenarlıklar (lacivert, yeşil, kırmızı) koyu zeminde okunsun */
html[data-theme="dark"] .rp-kpi--navy, html[data-theme="dark"] .rp-tile--navy { --k: #8fb4e3; }
html[data-theme="dark"] .rp-kpi--blue, html[data-theme="dark"] .rp-tile--blue { --k: #6b9bff; }
html[data-theme="dark"] .rp-kpi--green, html[data-theme="dark"] .rp-tile--green { --k: #4ade80; }
html[data-theme="dark"] .rp-kpi--win, html[data-theme="dark"] .rp-tile--win { --k: #2dd4bf; }
html[data-theme="dark"] .rp-tile--alert { --k: #f87171; }

/* SVG grafikleri (includes/charts.php, raporlar): sabit koyu renkler koyu zeminde açılır */
html[data-theme="dark"] [stroke="#0f2c4d"] { stroke: #8fb4e3; }
html[data-theme="dark"] [fill="#0f2c4d"] { fill: #8fb4e3; }
html[data-theme="dark"] [stroke="#2f6094"] { stroke: #7aa6e0; }
html[data-theme="dark"] [fill="#2f6094"] { fill: #7aa6e0; }
html[data-theme="dark"] [stroke="#15803d"] { stroke: #4ade80; }
html[data-theme="dark"] [fill="#15803d"] { fill: #4ade80; }
html[data-theme="dark"] [stroke="#b91c1c"] { stroke: #f87171; }
html[data-theme="dark"] [fill="#b91c1c"] { fill: #f87171; }
html[data-theme="dark"] [stroke="#b45309"] { stroke: #fbbf24; }
html[data-theme="dark"] [fill="#b45309"] { fill: #fbbf24; }
html[data-theme="dark"] [stroke="#6d28d9"] { stroke: #b79cff; }
html[data-theme="dark"] [fill="#6d28d9"] { fill: #b79cff; }
html[data-theme="dark"] [stroke="#64748b"] { stroke: #94a3b8; }
html[data-theme="dark"] [fill="#64748b"] { fill: #94a3b8; }
html[data-theme="dark"] [stroke="#2563eb"] { stroke: #6b9bff; }
html[data-theme="dark"] [fill="#2563eb"] { fill: #6b9bff; }
html[data-theme="dark"] [stroke="#0d9488"] { stroke: #2dd4bf; }
html[data-theme="dark"] [fill="#0d9488"] { fill: #2dd4bf; }
html[data-theme="dark"] [stroke="#eef2f7"], html[data-theme="dark"] [stroke="#e2e8f0"], html[data-theme="dark"] [stroke="#cbd5e1"] { stroke: #2f3b4c; }

/* 2) Menüdeki tema düğmesi (açık temada da görünür) */
.sidebar__foot-row .theme-toggle { flex: 0 0 auto; width: 2.4rem; padding-left: 0; padding-right: 0; justify-content: center; }
.theme-toggle .theme-toggle__moon { display: inline; }
.theme-toggle .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: inline; }

/* 3) Diğer CSS dosyalarından türetilen koyu tema karşılıkları */
/* ---- advisor.css ---- */
html:where([data-theme="dark"]) .adv,
html:where([data-theme="dark"]) .advcard-pop{--adv-tint:#0d172e;--adv-line:#28385f;--adv-chip:#111a2f}
html:where([data-theme="dark"]) .advisor-name:hover{color:var(--dk-brand-fg);text-decoration-color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .adv-photo__img{border:5px solid rgba(24,29,37,0.92)}
html:where([data-theme="dark"]) .adv-badge--cb{background:#131820;border-color:#181d25}
html:where([data-theme="dark"]) .adv-btn--solid{background:#131820;border-color:#181d25}
html:where([data-theme="dark"]) .adv-todo{background:linear-gradient(135deg, var(--adv-tint), #131820)}
html:where([data-theme="dark"]) .adv-todo__list li{background:#131820}
html:where([data-theme="dark"]) .adv-todo__list li.is-done{color:var(--dk-ok-fg);border-color:#558767;background:#13291b}
html:where([data-theme="dark"]) .adv-cert{background:linear-gradient(160deg, #131820, var(--adv-tint))}
html:where([data-theme="dark"]) .advs-head h1{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .advs-progress__top{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .advs-progress__bar{background:#19212e}
html:where([data-theme="dark"]) .advs-card__head > span{background:linear-gradient(145deg, #111a2f, #121f39)}
html:where([data-theme="dark"]) .advs-card__head h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .advs-block h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .advs-badge-count{color:var(--dk-navy-600-fg);background:#111a2f}
html:where([data-theme="dark"]) .advs-theme:has(input:checked){border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .advs-chip:hover span{border-color:var(--dk-navy-bd2);color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .advs-chip input:checked + span{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .advs-tag{background:#111a2f;color:var(--dk-navy-fg);border:1px solid #2d4071}
html:where([data-theme="dark"]) .advs-tag button{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .advs-tag button:hover{background:#152139}
html:where([data-theme="dark"]) .advs-lang.is-on{border-color:#384f82;background:#0d172c}
html:where([data-theme="dark"]) .advs-lang__name input{accent-color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .advs-lang select{background-color:#131820}
html:where([data-theme="dark"]) .advs-crop__box h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .speech-bubble--hero{color:var(--adv-1, #bfd5ee);background:rgba(19,24,32,0.96);border:1px solid rgba(24,29,37,0.96)}
html:where([data-theme="dark"]) .speech-bubble--hero:last-child::before,
html:where([data-theme="dark"]) .speech-bubble--hero:last-child::after{background:rgba(19,24,32,0.96)}

/* ---- app.css ---- */
html:where([data-theme="dark"]) a{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .welcome-head__cb-tag{color:#abc2f7}
html:where([data-theme="dark"]) .welcome-quote{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .notif__read-all{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .notif__read-all:hover{background:var(--surface-2,#1a1c21)}
html:where([data-theme="dark"]) .notif__sum-urgent{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .notif__group--urgent{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .notif__x:hover{color:var(--dk-danger-fg)}
@media (min-width: 700px){
  html:where([data-theme="dark"]) .notif__ic{background:#0f1b2f}
  html:where([data-theme="dark"]) .notif__item--danger .notif__ic{background:#300f0f}
}
html:where([data-theme="dark"]) .pager__num.is-active{border-color:var(--dk-navy-bd)}
@media (max-width: 959px), (display-mode: standalone){
  html:where([data-theme="dark"]) .mobile-nav__item.is-active,
html:where([data-theme="dark"]) .mobile-nav__item[aria-expanded="true"]{color:var(--dk-navy-fg)}
}
html:where([data-theme="dark"]) .online-chip.is-me{border-color:#558767;color:#bbeacd}
html:where([data-theme="dark"]) .team-head{border-color:#3d4855;background:linear-gradient(115deg, #131820 0%, #141b24 62%, #121d2d 100%)}
html:where([data-theme="dark"]) .team-level__heading > span{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .team-online-count{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .team-level__title{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .team-card__cb-badge-label{color:var(--dk-navy-fg);background:#131820}
html:where([data-theme="dark"]) .team-grid--leaders .team-card{border-color:#2a4167}
html:where([data-theme="dark"]) .team-card__state.is-on{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .stat__num{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .stat--warn .stat__num{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .stat--danger .stat__num{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .stat__sub b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .stat__link{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) #volTeam:focus-visible ~ .card__head label[for="volTeam"],
html:where([data-theme="dark"]) #volMine:focus-visible ~ .card__head label[for="volMine"]{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .dash-vol__total{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dash-vol__more{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .dash-donut__center b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dash-donut__seg.is-satilik,
html:where([data-theme="dark"]) .dash-dot.is-satilik{stroke:#83bbe0}
html:where([data-theme="dark"]) .dash-donut__seg.is-kiralik,
html:where([data-theme="dark"]) .dash-dot.is-kiralik{stroke:#89bfa0}
html:where([data-theme="dark"]) .dash-legend b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dash-share__txt b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dash-bars__row b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dash-facts b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dash-mini td{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .btn--danger{color:var(--dk-danger-fg);border-color:#723a3a}
html:where([data-theme="dark"]) .btn--danger:hover{background:#381212}
html:where([data-theme="dark"]) .btn--success{color:var(--dk-ok-fg);border-color:#558767}
html:where([data-theme="dark"]) .field .err{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) legend{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .badge--lead{background:#191f27;color:#acb6c4;border-color:#3f4956}
html:where([data-theme="dark"]) .badge--contacted{color:var(--dk-info-fg);border-color:#2f4c7a}
html:where([data-theme="dark"]) .badge--interested{background:#191f27;color:#acb6c4;border-color:#3f4956}
html:where([data-theme="dark"]) .badge--showing{color:var(--dk-info-fg);border-color:#2f4c7a}
html:where([data-theme="dark"]) .badge--offer{color:var(--dk-warn-fg);border-color:#a78a44}
html:where([data-theme="dark"]) .badge--negotiation{color:var(--dk-purple-fg);border-color:#48366f}
html:where([data-theme="dark"]) .badge--won{color:var(--dk-ok-fg);border-color:#558767}
html:where([data-theme="dark"]) .badge--lost{color:var(--dk-danger-fg);border-color:#723a3a}
html:where([data-theme="dark"]) .badge--waiting{color:var(--dk-warn-fg);border-color:#a78a44}
html:where([data-theme="dark"]) .badge--has_time{color:var(--dk-info-fg);border-color:#2f4c7a}
html:where([data-theme="dark"]) .badge--will_return{color:var(--dk-purple-fg);border-color:#48366f}
html:where([data-theme="dark"]) .badge--low{background:#191f27;color:#acb6c4}
html:where([data-theme="dark"]) .badge--normal{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .badge--high{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .badge--urgent{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .badge--pending{background:#191f27;color:#acb6c4}
html:where([data-theme="dark"]) .badge--in_progress{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .badge--done{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .badge--scheduled{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .badge--progress{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .badge--expired{background:#171f26;color:#acb6c4}
html:where([data-theme="dark"]) .badge--cancelled{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .badge--role{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .alert--success{color:#bbeacd;border-color:#558767}
html:where([data-theme="dark"]) .alert--error{color:#e19d9d;border-color:#723a3a}
html:where([data-theme="dark"]) .alert--info{color:#96a9e0;border-color:#2f4c7a}
html:where([data-theme="dark"]) .timeline__item.is-task::before{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .interaction__seq{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tabs button.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tabs .taba:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tabs .taba.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .toast{background:var(--surface, #131820);color:var(--text, #d2d9e5);border:1px solid var(--border, #39404b)}
html:where([data-theme="dark"]) .toast__msg{color:var(--text-soft, #a0a8b5)}
html:where([data-theme="dark"]) .toast__title[hidden] + .toast__msg{color:var(--text, #d2d9e5)}
html:where([data-theme="dark"]) .toast__count{background:var(--ok-bg, #182b1f)}
html:where([data-theme="dark"]) .toast__count small{color:var(--text-soft, #a0a8b5)}
html:where([data-theme="dark"]) .toast__close{color:var(--text-soft, #a0a8b5)}
html:where([data-theme="dark"]) .toast__close:hover{color:var(--text, #d2d9e5)}
html:where([data-theme="dark"]) .auth__logo-tile{background:#131820}
html:where([data-theme="dark"]) .auth .field input{background:#131820}
html:where([data-theme="dark"]) .chart-donut-num{fill:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .progress-row__val b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .badge--pf-active{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .badge--pf-processing{color:var(--dk-purple-fg)}
html:where([data-theme="dark"]) .badge--pf-expiring{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .badge--pf-expired{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .badge--pf-completed{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .badge--pf-cancelled{background:#191f27;color:#949fae}
html:where([data-theme="dark"]) .cal-cell.is-today .cal-cell__n{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .cal-ev{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .cal-ev--task{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .cal-ev--interaction{color:var(--dk-purple-fg)}
html:where([data-theme="dark"]) .cal-ev--event{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .cal-ev--appointment{background:#362a0f;color:#e1cd96}
@media print{
  html:where([data-theme="dark"]) .card{border-color:#586c89}
}
html:where([data-theme="dark"]) .management-hero{background:linear-gradient(120deg,#16232b,#151c23);color:#bfd5ee}
html:where([data-theme="dark"]) .management-hero p{color:#a1afbd}
html:where([data-theme="dark"]) .cb-lock{background:#131820;color:#bed3e7}
html:where([data-theme="dark"]) .cb-lock__icon{background:linear-gradient(135deg, #12202f, #162637)}
html:where([data-theme="dark"]) .cb-lock p{color:#a8c6e4}
html:where([data-theme="dark"]) .cb-lock small{color:#8f9ca9}
html:where([data-theme="dark"]) .live-select:focus-visible{outline:2px solid var(--dk-navy-bd, #1a2e52)}
html:where([data-theme="dark"]) .live-select[data-live="yayinda"]{border-color:#558767;color:#bbeacd}
html:where([data-theme="dark"]) .live-select[data-live="kalkti"]{border-color:#873d3d;color:#e19d9d}
html:where([data-theme="dark"]) .live-badge[data-live="yayinda"]{border-color:#558767;color:#bbeacd}
html:where([data-theme="dark"]) .live-badge[data-live="kalkti"]{border-color:#873d3d;color:#e19d9d}
html:where([data-theme="dark"]) .kind-fieldset{border-color:var(--dk-navy-bd, #1a2e52)}
html:where([data-theme="dark"]) .kind-option:hover .kind-option__body{border-color:var(--dk-navy-bd, #1a2e52)}
html:where([data-theme="dark"]) .kind-option input:focus-visible + .kind-option__body{outline:2px solid var(--dk-navy-bd, #1a2e52)}
html:where([data-theme="dark"]) .kind-option input:checked + .kind-option__body{border-color:var(--dk-navy-bd, #1a2e52)}
html:where([data-theme="dark"]) select:not([multiple]):not([size]):not([data-result-select]):hover:not(:disabled){border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .sidebar{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav-heading{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav a,
html:where([data-theme="dark"]) .sidebar__nav-folder{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav a:hover,
html:where([data-theme="dark"]) .sidebar__nav-folder:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav a.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav-sub a{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .sidebar__nav-sub a:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav-sub a.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav-toggle{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav-toggle:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__nav-branch.is-open > .sidebar__nav-folder{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .userchip__meta strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .userchip__meta small{color:var(--dk-brand-600-fg)}
html:where([data-theme="dark"]) .sidebar .btn--ghost{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__foot-row .btn.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .sidebar__foot-links a:hover,
html:where([data-theme="dark"]) .sidebar__foot-links a.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ivo-sqm[data-ivo-state="high"],
html:where([data-theme="dark"]) .ivo-note[data-ivo-state="high"]{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .ivo-sqm[data-ivo-state="low"],
html:where([data-theme="dark"]) .ivo-note[data-ivo-state="low"]{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .ivo-sqm[data-ivo-state="same"],
html:where([data-theme="dark"]) .ivo-note[data-ivo-state="same"]{color:#f0c586}
html:where([data-theme="dark"]) .appt-purpose span{background:#131820;color:#acb6c4}
html:where([data-theme="dark"]) .feed-item{border-bottom:1px solid var(--border, #39404b)}
html:where([data-theme="dark"]) .feed-stats tfoot th,
html:where([data-theme="dark"]) .feed-stats tfoot td{border-top:2px solid var(--border, #39404b)}

/* ---- appt-stats.css ---- */
html:where([data-theme="dark"]) .ap-stat__num--done b{color:#a1e0c1}
html:where([data-theme="dark"]) .ap-stat__num--next b{color:var(--dk-brand-fg)}

/* ---- availability.css ---- */
html:where([data-theme="dark"]) .ab-cat--personal{--cb:#0d112e}
html:where([data-theme="dark"]) .ab-cat--health{--c:#e6728f;--cb:#300e17}
html:where([data-theme="dark"]) .ab-cat--family{--c:#a3ece6;--cb:#16312c}
html:where([data-theme="dark"]) .ab-cat--social{--c:#a568da;--cb:#1e0e31}
html:where([data-theme="dark"]) .ab-cat--meeting{--c:#6182dd;--cb:#0e1b33}
html:where([data-theme="dark"]) .ab-cat--leave{--c:#86ccf3;--cb:#0f2534}
html:where([data-theme="dark"]) .ab-cat--other{--c:#acb6c4;--cb:#191f27}
html:where([data-theme="dark"]) .alert--warning{background:#0f1d30;color:#bfd5ee;border:1px solid #3a5782}
html:where([data-theme="dark"]) .cal-ev--block{background:repeating-linear-gradient(135deg, #191f27, #191f27 6px, #1c222c 6px, #1c222c 12px);color:#bac4d2}
html:where([data-theme="dark"]) .avail-live__item--error{color:#e19d9d;border:1px solid #873d3d}
html:where([data-theme="dark"]) .avail-live__item--warning{background:#0f1d30;color:#bfd5ee;border:1px solid #3a5782}
html:where([data-theme="dark"]) .ab-hero__cta{background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ab-hero__cta:hover{background:#0f1d30}
html:where([data-theme="dark"]) .ab-sub{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ab-form > summary{color:var(--dk-navy-fg);background:linear-gradient(180deg, #101a2a, #131820)}
html:where([data-theme="dark"]) .ab-chip span{background:#131820}
html:where([data-theme="dark"]) .ab-day span{background:#131820}
html:where([data-theme="dark"]) .ab-day input:checked + span{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ab-seg span{background:#131820}
html:where([data-theme="dark"]) .ab-seg input:checked + span{background:#0d192e}
html:where([data-theme="dark"]) .ab-tl__label:hover{background:#0d192e}
html:where([data-theme="dark"]) .ab-tl__col{background:#171b24}
html:where([data-theme="dark"]) .ab-tl__day.is-off .ab-tl__col{background:repeating-linear-gradient(45deg, #171b24, #171b24 8px, #1a1e26 8px, #1a1e26 16px)}
html:where([data-theme="dark"]) .ab-tl__work{background:#131820}
html:where([data-theme="dark"]) .ab-count{background:#171f2b;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ab-card{background:#131820}
html:where([data-theme="dark"]) .ab-pill{background:#191f27;color:#acb6c4}
html:where([data-theme="dark"]) .ab-pill--busy{color:#e887a2}
html:where([data-theme="dark"]) .ab-pill--phone{background:#16312c;color:#a3ece6}
html:where([data-theme="dark"]) .ab-bar__track{background:#191f27}
html:where([data-theme="dark"]) .ab-bar.is-current .ab-bar__lbl{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .ab-month.is-current{background:#0d192e;border-color:#3a5782}
html:where([data-theme="dark"]) .ab-stack{background:#191f27}
html:where([data-theme="dark"]) .ab-work summary{color:var(--dk-navy-fg)}

/* ---- brand-picker.css ---- */
html:where([data-theme="dark"]) .brand-field select,
html:where([data-theme="dark"]) .brand-trigger{border:1px solid #51647f;background:#1b2017}
html:where([data-theme="dark"]) .brand-menu{background:#131820;border:1px solid #506157}
html:where([data-theme="dark"]) .register-form .brand-search{background:#1a211d;border-color:#444f47}
html:where([data-theme="dark"]) .brand-option:hover,
html:where([data-theme="dark"]) .brand-option.is-active{background:#1c241f}
html:where([data-theme="dark"]) .brand-option[aria-selected=true]{background:#1a2a20;color:#b3f3e4}
html:where([data-theme="dark"]) .brand-field [data-brand-other]{background:#1a221c;border:1px solid #45554a}

/* ---- call-list.css ---- */
html:where([data-theme="dark"]) .wk-hero .btn--light{background:#131820;color:var(--dk-navy-fg);border-color:#181d25}
html:where([data-theme="dark"]) .wk-hero .btn--light:hover{background:#0f1d34}
html:where([data-theme="dark"]) .wk-stat:hover{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .wk-stat b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-stat--danger b{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .wk-stat--ok b{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .wk-stat--mute .wk-stat__ic{background:#191f27}
html:where([data-theme="dark"]) .wk-view:hover{color:var(--dk-navy-fg);border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .wk-view.is-active{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .wk-avatar{color:var(--dk-navy-fg);border:1px solid #2f4c7a}
html:where([data-theme="dark"]) .wk-item__name a{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-item--task > input[type=checkbox]{accent-color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .wk-chip{background:#191f27;color:#acb6c4}
html:where([data-theme="dark"]) .wk-chip--late{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .wk-chip--today{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .wk-chip--tomorrow,
html:where([data-theme="dark"]) .wk-chip--next{background:#121b2e;color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .wk-chip--done{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .wk-panel > summary{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-block h4{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-choice input:checked + span{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-card__title{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-card--danger{border-color:#723a3a;background:#2a0c0c}
html:where([data-theme="dark"]) .wk-card--danger .wk-card__title{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .wk-seg{background:#191f27}
html:where([data-theme="dark"]) .wk-seg a.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-status--late{border-color:#723a3a}
html:where([data-theme="dark"]) .wk-status--done{border-color:#558767}
html:where([data-theme="dark"]) .wk-status--today{border-color:#2f4c7a}
html:where([data-theme="dark"]) .wk-callout{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-talk--partner .wk-talk__ic{background:#140e31}
html:where([data-theme="dark"]) .wk-talk__head strong a{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-talk__plan.is-late{border-color:#723a3a}
html:where([data-theme="dark"]) .wk-empty h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .wk-newtask > summary{color:var(--dk-navy-fg)}

/* ---- cb-documents.css ---- */
html:where([data-theme="dark"]) .cb-library{--cb-ink:#bbd2e8}
html:where([data-theme="dark"]) .cb-hero .cb-primary{background:#131820 !important;color:#acc9e7 !important;border-color:#181d25 !important}
html:where([data-theme="dark"]) .cb-filters input,
html:where([data-theme="dark"]) .cb-filters select,
html:where([data-theme="dark"]) .cb-form-body input,
html:where([data-theme="dark"]) .cb-form-body textarea{border:1px solid #505d69;background:#131820;color:#bbd1e7}
html:where([data-theme="dark"]) .cb-filters #cb-count{color:#94a2af}
html:where([data-theme="dark"]) .cb-card{background:#131820;border:1px solid #3b4753;color:#bed3e7}
html:where([data-theme="dark"]) .cb-card:hover{border-color:#5e758c}
html:where([data-theme="dark"]) .cb-file-icon{background:#111c2e;color:#87addb;border:1px solid #33455c}
html:where([data-theme="dark"]) .cb-file-icon[data-type=xlsx],
html:where([data-theme="dark"]) .cb-file-icon[data-type=xls]{background:#1a2a22;color:#a0d9c1;border-color:#446654}
html:where([data-theme="dark"]) .cb-file-icon[data-type=pdf]{background:#2f130d;color:#c48275;border-color:#5e3c32}
html:where([data-theme="dark"]) .cb-file-icon[data-type=jpeg],
html:where([data-theme="dark"]) .cb-file-icon[data-type=jpg],
html:where([data-theme="dark"]) .cb-file-icon[data-type=png]{background:#1b132c;color:#9b81b9;border-color:#3f2f59}
html:where([data-theme="dark"]) .cb-card-category{color:#8b9eb1}
html:where([data-theme="dark"]) .cb-card-description{color:#939ea9}
html:where([data-theme="dark"]) .cb-card-bottom{border-top:1px solid #2d353d}
html:where([data-theme="dark"]) .cb-empty{background:#141b24;border:1px dashed #4c5d6e;color:#8e9dad}
html:where([data-theme="dark"]) .cb-empty h3{color:#b2c9de}
html:where([data-theme="dark"]) .cb-notice{background:#2f140d;border:1px solid #986252}
html:where([data-theme="dark"]) .cb-dialog{border:1px solid #39434f;color:#bdd3e6;background:#131820}
html:where([data-theme="dark"]) .cb-close{border:1px solid #39424b;background:#151c23;color:#9bacbc}
html:where([data-theme="dark"]) .cb-meta span{background:#181f26;color:#98a5b2}
html:where([data-theme="dark"]) .cb-preview{border:1px solid #353f48;background:radial-gradient(ellipse at top,#131d29,#151c23)}
html:where([data-theme="dark"]) .cb-office-preview p{color:#8e9ca9}
html:where([data-theme="dark"]) .cb-preview iframe{background:#131820}
html:where([data-theme="dark"]) .cb-preview-hint{color:#8e9ca9}
html:where([data-theme="dark"]) .cb-detail-description{color:#8e9ca9}
html:where([data-theme="dark"]) .cb-dialog-foot{border-top:1px solid #313a44;background:#0c1529}
html:where([data-theme="dark"]) .cb-upload-area{border:1px dashed #60758a;background:#141c25}
html:where([data-theme="dark"]) .cb-danger{color:#c87c78 !important;background:#2e110d !important;border:1px solid #694039 !important}
html:where([data-theme="dark"]) .cb-brandchip{background:#131820}

/* ---- cb-egitim.css ---- */
html:where([data-theme="dark"]) .eg-lib,
html:where([data-theme="dark"]) .eg-hub,
html:where([data-theme="dark"]) .eg-reader,
html:where([data-theme="dark"]) .eg-locked{--eg-ink:#bfd4ea;--eg-mute:#95a3b2;--eg-line:#374555;--eg-soft:#101c2b;--eg-soft2:#121f2f}
html:where([data-theme="dark"]) .eg-hubcard{background:#131820}
html:where([data-theme="dark"]) .eg-hubcard:hover{border-color:#567394}
html:where([data-theme="dark"]) .eg-hubcard__icon{background:linear-gradient(135deg, #12202f, #162637)}
html:where([data-theme="dark"]) .eg-hubcard--docs .eg-hubcard__icon{background:linear-gradient(135deg, #1a2b28, #203430)}
html:where([data-theme="dark"]) .eg-hubcard__meta b{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-hubcard:hover .eg-hubcard__go{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-search input{border:1px solid #4b5867;background:#131820}
html:where([data-theme="dark"]) .eg-chip{border:1px solid #4b5867;background:#131820;color:#a3b7cc}
html:where([data-theme="dark"]) .eg-chip:hover{border-color:#597392;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-card{background:#131820}
html:where([data-theme="dark"]) .eg-card:hover{border-color:#587493}
html:where([data-theme="dark"]) .eg-card__cover{background:#182330}
html:where([data-theme="dark"]) .eg-card__cat{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-card__meta{border-top:1px solid #2a333d}
html:where([data-theme="dark"]) .eg-card__progress{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .eg-card__progress i{background:#212b29}
html:where([data-theme="dark"]) .eg-empty{border:1px dashed #4d6073;background:#141b24}
html:where([data-theme="dark"]) .eg-locked{background:#131820}
html:where([data-theme="dark"]) .eg-locked__icon{color:var(--dk-brand-fg);background:linear-gradient(135deg, #12202f, #162637)}
html:where([data-theme="dark"]) .eg-locked .eg-eyebrow{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-back{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-rhead .eg-eyebrow{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-rmeta span{color:#9db6d0}
html:where([data-theme="dark"]) .eg-toc__box{background:#131820}
html:where([data-theme="dark"]) .eg-toc__box > summary{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) #egToc a{color:#9baec3}
html:where([data-theme="dark"]) #egToc a[data-level="1"]{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) #egToc a:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) #egToc a.is-active{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-docsearch input{border:1px solid #4b5867}
html:where([data-theme="dark"]) .eg-doc mark{color:#de7f7a}
html:where([data-theme="dark"]) .eg-doc mark.eg-hit{background:#11223a}
html:where([data-theme="dark"]) .eg-lead{background:linear-gradient(120deg, #0f1e2f, #0c1a2b);border:1px solid #334861}
html:where([data-theme="dark"]) .eg-lead p{color:#a1bcd9}
html:where([data-theme="dark"]) .eg-sec,
html:where([data-theme="dark"]) .eg-obj,
html:where([data-theme="dark"]) .eg-checkgroup,
html:where([data-theme="dark"]) .eg-tips{background:#131820}
html:where([data-theme="dark"]) .eg-sec > h3,
html:where([data-theme="dark"]) .eg-tips > h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-sub{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-plain{color:#b5c9dd}
html:where([data-theme="dark"]) .eg-say{border:1px solid #31455c;color:#b9d2eb}
html:where([data-theme="dark"]) .eg-note{background:#171c23;border:1px dashed #5d6a79;color:#a2b1c1}
html:where([data-theme="dark"]) .eg-note::before{background:#1c2630;color:#a2b5ca}
html:where([data-theme="dark"]) .eg-pts li{border-bottom:1px solid #27323c}
html:where([data-theme="dark"]) .eg-fill span{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-fill i{border-bottom:2px dotted #637588}
html:where([data-theme="dark"]) .eg-obj__head{background:linear-gradient(110deg, #0f1e2f, #0c1a2b);border-bottom:1px solid #2f4359}
html:where([data-theme="dark"]) .eg-obj__head small{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-obj__head h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-qa{border:1px solid #31455c}
html:where([data-theme="dark"]) .eg-closing{background:#192724;border:1px solid #4f6f68;color:#b8e9df}
html:where([data-theme="dark"]) .eg-closing::before{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .eg-tags li{border:1px solid #374d66;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-fig{background:#131820}
html:where([data-theme="dark"]) .eg-mini{border:1px solid #334559}
html:where([data-theme="dark"]) .eg-mini h5{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-mini p{color:#a5b8cb}
html:where([data-theme="dark"]) .eg-progress{background:#131820}
html:where([data-theme="dark"]) .eg-progress__top strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-reset{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-progress__bar{background:#18222e}
html:where([data-theme="dark"]) .eg-checkgroup > h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-checks li{border-top:1px solid #2a333d}
html:where([data-theme="dark"]) .eg-box{border:2px solid #60748b;background:#131820}
html:where([data-theme="dark"]) .eg-box::after{border:solid #181d25}
html:where([data-theme="dark"]) .eg-check__when{color:#9db6d0}
html:where([data-theme="dark"]) .eg-checks input:checked ~ .eg-check__txt .eg-check__when{background:#1b2c28;color:#a0e4d4}
html:where([data-theme="dark"]) .eg-three__list span{background:#131820;color:#96a9e0}
html:where([data-theme="dark"]) .fb__stage{background:#131820}
html:where([data-theme="dark"]) .fb__stage img{background:#131820}
html:where([data-theme="dark"]) .fb__spin::after{border-top-color:#181d25}
html:where([data-theme="dark"]) .fb__btn:focus-visible{outline:3px solid #4170aa}
html:where([data-theme="dark"]) .fb__strip button{background:#131820}
html:where([data-theme="dark"]) .fb__strip button.is-on{border-color:#4170aa}
html:where([data-theme="dark"]) .fb-grid{background:#131820}
html:where([data-theme="dark"]) .fb-grid__head button{background:#141c25;color:#9bacbc}
html:where([data-theme="dark"]) .fb-grid__body button{background:#131820}
html:where([data-theme="dark"]) .fb-grid__body button:hover{border-color:#557396}
html:where([data-theme="dark"]) .fb-grid__body img{background:#19212a}
html:where([data-theme="dark"]) .eg-faq > summary{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .eg-faq > summary::after{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-faq[open] > summary{background:linear-gradient(110deg, #0f1e2f, #0c1a2b);border-bottom:1px solid #2f4359}
html:where([data-theme="dark"]) .vd-card{background:#131820}
html:where([data-theme="dark"]) .vd-play:focus-visible{outline:3px solid #4170aa}
html:where([data-theme="dark"]) .vd-body h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .vd-body p{color:#9db6d0}
html:where([data-theme="dark"]) .vd-body small a{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .eg-brandchip{background:#131820}

/* ---- cb-gorusme.css ---- */
html:where([data-theme="dark"]) .gm{--gm-ink:#bfd4ea;--gm-mute:#95a3b2;--gm-line:#374555}
html:where([data-theme="dark"]) .gm-brandchip{background:#131820}
html:where([data-theme="dark"]) .gm-step{background:#131820}
html:where([data-theme="dark"]) .gm-doc__card{background:#0f1b28}
html:where([data-theme="dark"]) .gm-doc:hover .gm-doc__card{border-color:#567394}
html:where([data-theme="dark"]) .gm-doc__icon{background:linear-gradient(135deg, #12202f, #162637)}
html:where([data-theme="dark"]) .gm-doc input:checked + .gm-doc__card{background:#0f1d2d}
html:where([data-theme="dark"]) .gm-field{color:#a3b7cc}
html:where([data-theme="dark"]) .gm-field input[type="text"],
html:where([data-theme="dark"]) .gm-field input[type="date"],
html:where([data-theme="dark"]) .gm-field select{border:1px solid #4b5867;background:#131820}
html:where([data-theme="dark"]) .gm-seg{background:#15202b}
html:where([data-theme="dark"]) .gm-seg span{color:#9db0c4}
html:where([data-theme="dark"]) .gm-seg input:checked + span{background:#131820;color:#aac9ec}
html:where([data-theme="dark"]) .gm-side{background:#131820}
html:where([data-theme="dark"]) .gm-paper{background:#131820}
html:where([data-theme="dark"]) .gm-pc{border:1px solid #373f4b}
html:where([data-theme="dark"]) .gm-pc b{color:#b7c8f2}
html:where([data-theme="dark"]) .gm-pc small{color:#839bbc}
html:where([data-theme="dark"]) .gm-pc i{background:#1d232b}
html:where([data-theme="dark"]) .gm-paper__lines i{background:#1a1e26}
html:where([data-theme="dark"]) .gm-paper__lines i:nth-child(odd){background:#1d232b}
html:where([data-theme="dark"]) .gm-prep{background:#131820}
html:where([data-theme="dark"]) .gm-prep__icon{background:linear-gradient(135deg, #12202f, #162637);color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .gm-prep__more{color:var(--dk-brand-fg)}

/* ---- cb-sunumlar.css ---- */
html:where([data-theme="dark"]) .sn-lib{--sn-ink:#bfd4ea;--sn-mute:#95a3b2;--sn-line:#374555}
html:where([data-theme="dark"]) .sn-eyebrow--dark{color:#96aabe}
html:where([data-theme="dark"]) .sn-brandchip{background:#131820}
html:where([data-theme="dark"]) .sn-notice{background:#2f140d;border:1px solid #986252}
html:where([data-theme="dark"]) .sn-tabs{background:#15202b}
html:where([data-theme="dark"]) .sn-tab{color:#9db0c4}
html:where([data-theme="dark"]) .sn-tab i{background:#1a2634;color:#a5bed8}
html:where([data-theme="dark"]) .sn-tab[aria-selected="true"]{background:#131820;color:#aac9ec}
html:where([data-theme="dark"]) .sn-search input{border:1px solid #4b5867;background:#131820}
html:where([data-theme="dark"]) .sn-chip{border:1px solid #4b5867;background:#131820;color:#a3b7cc}
html:where([data-theme="dark"]) .sn-chip:hover{border-color:#5a7491}
html:where([data-theme="dark"]) .sn-card{background:#131820}
html:where([data-theme="dark"]) .sn-card:hover{border-color:#567394}
html:where([data-theme="dark"]) .sn-scope{background:#131820;color:#aac9ec}
html:where([data-theme="dark"]) .sn-card__cat{color:#899eb4}
html:where([data-theme="dark"]) .sn-card h3{color:#bed6ed}
html:where([data-theme="dark"]) .sn-edit{border:1px solid #445261;background:#141c25;color:#9db0c4}
html:where([data-theme="dark"]) .sn-edit:hover{background:#15202d;border-color:#567394}
html:where([data-theme="dark"]) .sn-empty{background:#141b24;border:1px dashed #516477;color:#8e9dad}
html:where([data-theme="dark"]) .sn-empty h3{color:#b2c9de}
html:where([data-theme="dark"]) .sn-dialog{border:1px solid #39434f;color:#bdd3e6;background:#131820}
html:where([data-theme="dark"]) .sn-close{border:1px solid #39424b;background:#151c23;color:#9bacbc}
html:where([data-theme="dark"]) .sn-form input:not([type="radio"]),
html:where([data-theme="dark"]) .sn-form textarea{border:1px solid #505d69;background:#131820;color:#bbd1e7}
html:where([data-theme="dark"]) .sn-scopeopt > span{border:1.5px solid #445261;background:#151c23}
html:where([data-theme="dark"]) .sn-scopeopt input:checked + span{background:#111e2e}
html:where([data-theme="dark"]) .sn-dialog__foot{border-top:1px solid #313a44;background:#0c1529}
html:where([data-theme="dark"]) .sn-danger{color:#c87c78 !important;background:#2e110d !important;border:1px solid #694039 !important}

/* ---- customer-cards.css ---- */
html:where([data-theme="dark"]) .customer-eyebrow{color:#c8b796}
html:where([data-theme="dark"]) .customer-intro h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .customer-total strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .customer-card{background:var(--surface,#131820)}
html:where([data-theme="dark"]) .customer-card:focus-within{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .customer-card__head .avatar{background:#181e28;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .customer-card__identity a{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .customer-card__conversation{background:var(--surface-2,#161b24)}
html:where([data-theme="dark"]) .customer-price strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .customer-card__more summary{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .customer-recency{color:#d6c5a2;background:#302919}

/* ---- daily.css ---- */
html:where([data-theme="dark"]) .daily-eyebrow,
html:where([data-theme="dark"]) .daily-label{color:#c8b796}
html:where([data-theme="dark"]) .daily-heading h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-date-card{background:#131820}
html:where([data-theme="dark"]) .daily-date-card strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-editor__top h3,
html:where([data-theme="dark"]) .daily-nav h3,
html:where([data-theme="dark"]) .daily-history h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-save.is-error{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .daily-paper{background:repeating-linear-gradient(to bottom,#131820 0,#131820 35px,#1b2026 36px)}
html:where([data-theme="dark"]) .daily-paper__margin{border-left:1px solid #6d443d}
html:where([data-theme="dark"]) .daily-calendar-icon{background:#2b2619;color:#ceb88e}
html:where([data-theme="dark"]) .daily-today{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-today span{color:#c7b284}
html:where([data-theme="dark"]) .daily-period a.is-active{background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-entry-link:hover,
html:where([data-theme="dark"]) .daily-entry-link.is-current{background:#151c23}
html:where([data-theme="dark"]) .daily-entry-date strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-toolbar{border-top:1px solid #434037;border-bottom:1px solid #595446;background:#232117}
html:where([data-theme="dark"]) .daily-toolbar button{color:#a7b0bc}
html:where([data-theme="dark"]) .daily-toolbar button:hover{border-color:#6f644a;background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-toolbar button[aria-pressed="true"]{border-color:#968454;background:#322a18;color:#d6c096}
html:where([data-theme="dark"]) .daily-toolbar__divider{border-left:1px solid #7b7361}
html:where([data-theme="dark"]) .daily-color{border:1px solid #595446;background:#131820}
html:where([data-theme="dark"]) .daily-paper .daily-richtext{color:#c3d0dc}
html:where([data-theme="dark"]) .daily-richtext h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-richtext h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .daily-richtext blockquote{border-left:3px solid #8e815c;color:#98a0ab}
html:where([data-theme="dark"]) .daily-search__query input,
html:where([data-theme="dark"]) .daily-search__dates input{background:#131820}
html:where([data-theme="dark"]) .daily-search-clear{color:#c8b796}
html:where([data-theme="dark"]) .daily-quote{border:1px solid #6e634b;background:linear-gradient(105deg,#242116,#131820)}
html:where([data-theme="dark"]) .daily-quote p{color:#a6afbb}

/* ---- dash-motivation.css ---- */
html:where([data-theme="dark"]) .dm-chip--streak{border-color:rgba(65,136,170,0.5)}
html:where([data-theme="dark"]) .dm-ring__fill{stroke:var(--dm-accent, var(--dk-brand-fg))}
html:where([data-theme="dark"]) .dm-next__title{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dm-next__more b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dm-goal__num{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dm-goal.is-met .dm-goal__num{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .dm-weekly b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dm-weekly.is-met b{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .dm-day.done i{background:#11351d;color:#9ce7b8}
html:where([data-theme="dark"]) .dm-day.today i{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .dm-day.today{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dm-week__msg{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .dm-week__tiles b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .stat--soft{border-left:3px solid var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .stat--clear .stat__num{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .dm-details > summary{color:var(--dk-navy-fg)}

/* ---- field-visits.css ---- */
html:where([data-theme="dark"]) .fv-hero__cta .btn--primary{background:#131820;color:#c8daf1;border:1px solid #181d25}
html:where([data-theme="dark"]) .fv-hero__cta .btn--primary:hover{background:#0f2534}
html:where([data-theme="dark"]) .fv-stat b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-stat--win .fv-stat__ic{background:#123c33}
html:where([data-theme="dark"]) .fv-stat--win b{color:#a3ece6}
html:where([data-theme="dark"]) .fv-evening{background:linear-gradient(135deg, #0d192e, #0c172b);border:1px solid #364b70;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-evening.is-met{background:linear-gradient(135deg, #162c1e, #12281a);border-color:#528864}
html:where([data-theme="dark"]) .fv-tab:hover{border-color:var(--dk-navy-bd2);color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-tab.is-active{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fv-badge{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .fv-badge--alert{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fv-daynav__label{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-today-tag{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .fv-filter > summary{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-card.is-late{background:#2a0c0c}
html:where([data-theme="dark"]) .fv-card__time b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-card__head h3 a{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-chip{background:#1a1e26}
html:where([data-theme="dark"]) .fv-chip--ok{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .fv-chip--info{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .fv-chip--win{background:#123c33;color:#a3ece6}
html:where([data-theme="dark"]) .fv-chip--bad{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fv-chip--warn{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .fv-chip--shared{color:var(--dk-purple-fg)}
html:where([data-theme="dark"]) .fv-notes details summary{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .fv-line--bad{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fv-contract-card{background:linear-gradient(135deg, #132f29, #122a23);border:1px solid #52988c;color:#bdeee8}
html:where([data-theme="dark"]) .fv-contract-card b{color:#a3ece6}
html:where([data-theme="dark"]) .fv-pill:hover span{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .fv-pill input:focus-visible + span{outline:3px solid #4172aa}
html:where([data-theme="dark"]) .fv-pill--ok input:checked + span{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .fv-pill--info input:checked + span{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .fv-pill--bad input:checked + span{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fv-pill--win input:checked + span{background:#123c33;color:#a3ece6}
html:where([data-theme="dark"]) .fv-contract{border:1px solid #52988c;background:#122821}
html:where([data-theme="dark"]) .fv-contract__title{color:#a3ece6}
html:where([data-theme="dark"]) .fv-fieldset legend{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fv-mode input:checked + span{background:#0d192e}
html:where([data-theme="dark"]) .fv-mode input:focus-visible + span{outline:3px solid #4172aa}
html:where([data-theme="dark"]) .fv-phone-hint{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .fv-dup{border:1px solid #a58846;color:#f1c69f}

/* ---- fsbo-google-contacts.css ---- */
html:where([data-theme="dark"]) .fsbo-code{background:#0e1b31;color:#83a8e4}
html:where([data-theme="dark"]) .fsbo-gc-backfill{border:1px solid #273f63;background:#0c182c;color:#83a8e4}
html:where([data-theme="dark"]) .fsbo-gc-backfill button{border:1px solid #4169a9;background:#131820;color:#83a8e4}
html:where([data-theme="dark"]) .gc-btn{border:1px solid #273f63;background:linear-gradient(180deg,#131820 0%,#0c182c 100%);color:#83a8e4}
html:where([data-theme="dark"]) .gc-btn:hover{border-color:#4169a9;background:linear-gradient(180deg,#131820 0%,#0e1b31 100%)}
html:where([data-theme="dark"]) .gc-btn__spin{border-top-color:#181d25}
html:where([data-theme="dark"]) .gc-btn[data-state="done"],
html:where([data-theme="dark"]) .gc-btn[data-state="exists"]{border-color:#45684f;background:linear-gradient(180deg,#131820 0%,#1a2b1f 100%);color:#aeeec6}
html:where([data-theme="dark"]) .gc-btn[data-state="error"]{border-color:#67302b;background:linear-gradient(180deg,#131820 0%,#301411 100%);color:#eb8383}
html:where([data-theme="dark"]) .gc-btn__hint{color:#98acc7}
html:where([data-theme="dark"]) .gc-btn__hint.is-error{color:#dd706e}
html:where([data-theme="dark"]) .fsbo-gc-note{color:#98acc7}
html:where([data-theme="dark"]) .gc-book{color:#83a8e4;background:#0e1b31}

/* ---- fsbo-objections.css ---- */
html:where([data-theme="dark"]) .fo-panel{border-left:1px solid #3a4455;background:#151a25;color:#cbd5e8}
html:where([data-theme="dark"]) .fo-head{background:#131820;border-bottom:1px solid #38404e}
html:where([data-theme="dark"]) .fo-eyebrow{color:#9ca9bb}
html:where([data-theme="dark"]) .fo-head h2{color:#bacbe9}
html:where([data-theme="dark"]) .fo-head p{color:#9ca9bb}
html:where([data-theme="dark"]) .fo-close{border:1px solid #3a4455;background:#131820;color:#b5c5de}
html:where([data-theme="dark"]) .fo-nav{background:#131820;border-bottom:1px solid #38404e}
html:where([data-theme="dark"]) .fo-nav span{color:#949fae}
html:where([data-theme="dark"]) .fo-back{background:#0d172f;color:#7991dc}
html:where([data-theme="dark"]) .fo-muted{color:#959fb0}
html:where([data-theme="dark"]) .fo-choice{border:1px solid #3a4455;background:#131820;color:#b9c9e3}
html:where([data-theme="dark"]) .fo-choice:hover{border-color:#475ea4;background:#0d162d}
html:where([data-theme="dark"]) .fo-number{background:#0d172f;color:#6e87d0}
html:where([data-theme="dark"]) .fo-ack{color:#9ca9bb}
html:where([data-theme="dark"]) .fo-first{background:#0e1730}
html:where([data-theme="dark"]) .fo-label{color:#7b93d1}
html:where([data-theme="dark"]) .fo-branch{border:1px solid #535f6d;background:#131820;color:#bac4d2}
html:where([data-theme="dark"]) .fo-questions li{background:#131820;border:1px solid #38404f}
html:where([data-theme="dark"]) .fo-questions li:before{background:#0d172f;color:#7b93d1}
html:where([data-theme="dark"]) .fo-next{background:#1a2922;border:1px solid #4d6a5b}
html:where([data-theme="dark"]) .fo-next .fo-label{color:#b0dfca}
html:where([data-theme="dark"]) .fo-detail{background:#131820;border:1px solid #3a4455}
html:where([data-theme="dark"]) .fo-detail p{color:#9ca9bb}
html:where([data-theme="dark"]) .fo-foot{background:#131820;border-top:1px solid #38404e;color:#949fae}

/* ---- fsbo.css ---- */
html:where([data-theme="dark"]) .fsbo-quote__mark{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .fsbo-quote p{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-infobar__ok{color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-search > label{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-search__controls select:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fsbo-datebar__label b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-datebar__chip{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .fsbo-datebar__chip--today{background:#11351d;color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-stat__num--done b{color:#bbeacd}
html:where([data-theme="dark"]) .fsbo-stat--report .fsbo-stat__num--done span{color:#bbeacd}
html:where([data-theme="dark"]) select[data-report-state="1"] option,
html:where([data-theme="dark"]) select[data-report-state="0"] option{background:#131820;color:#cdd8e5}
html:where([data-theme="dark"]) .fsbo-block__status.is-error{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-parcel span{color:var(--text-mute, #949fae)}
html:where([data-theme="dark"]) .fsbo-pill-btn,
html:where([data-theme="dark"]) a.fsbo-pill-btn{border:1px solid #2d4e78;background:#0d1b2e;color:#6182dd}
html:where([data-theme="dark"]) .fsbo-pill-btn:hover{background:#0f2036;border-color:#4172aa;color:#7d94df}
html:where([data-theme="dark"]) .fsbo-date-hint{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-sqm-price[data-ivo-state="high"],
html:where([data-theme="dark"]) .field .fsbo-ivo-result[data-ivo-state="high"]{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-sqm-price[data-ivo-state="low"],
html:where([data-theme="dark"]) .field .fsbo-ivo-result[data-ivo-state="low"]{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .fsbo-sqm-price[data-ivo-state="same"],
html:where([data-theme="dark"]) .field .fsbo-ivo-result[data-ivo-state="same"]{color:#f0c586}
html:where([data-theme="dark"]) .fsbo-views__tab{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-views__tab.is-active{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fsbo-section__title{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-block__role{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .fsbo-block__gone{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-result > label{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-result select:hover{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .fsbo-result select option{background:#131820}
html:where([data-theme="dark"]) .fsbo-result select[data-result="positive"]{--res-bd:#558767}
html:where([data-theme="dark"]) .fsbo-result select[data-result="negative"]{--res-bd:#823e3e}
html:where([data-theme="dark"]) .fsbo-result select[data-result="unclear"]{--res-bd:#2f4c7a}
html:where([data-theme="dark"]) .fsbo-result select[data-result="follow_up"]{--res-bd:#2f4c7a}
html:where([data-theme="dark"]) .fsbo-result select[data-result="no_follow_up"]{--res-fg:#acb6c4;--res-bg:#191f27;--res-bd:#3f4956}
html:where([data-theme="dark"]) .fsbo-result select[data-result="unreachable"]{--res-fg:#acb6c4;--res-bg:#191f27;--res-bd:#3f4956}
html:where([data-theme="dark"]) .fsbo-result__status.is-error{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-talk__meta{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .fsbo-talk__status.is-error{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-calls{border:1px solid var(--border, #3e4a59);background:var(--surface, #131820)}
html:where([data-theme="dark"]) .fsbo-calls input,
html:where([data-theme="dark"]) .fsbo-calls select,
html:where([data-theme="dark"]) .fsbo-calls textarea{border:1px solid var(--border-2, #4a5362);background:var(--surface, #131820);color:var(--text, #c5d4e8)}
html:where([data-theme="dark"]) .fsbo-call-outcome{border-top:1px solid var(--border, #3e4a59)}
html:where([data-theme="dark"]) .fsbo-call-history-item{border-top:1px solid var(--border, #3e4a59)}
html:where([data-theme="dark"]) .fsbo-call-group{border:1px solid var(--border, #3e4a59);background:var(--surface, #131820)}
html:where([data-theme="dark"]) .fsbo-call-link{border-top:1px solid var(--border, #3e4a59)}
html:where([data-theme="dark"]) .fsbo-call-summary.is-overdue,
html:where([data-theme="dark"]) .fsbo-call-group.is-overdue > summary,
html:where([data-theme="dark"]) .fsbo-call-feedback.is-error{color:#e38179}
html:where([data-theme="dark"]) .fsbo-filter__toggle{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-filter__toggle:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fsbo-filter__chip{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-filter__chip:hover{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .field .hint.listing-location__note{color:var(--dk-danger-fg, #e07676)}
html:where([data-theme="dark"]) .field .fsbo-state-select[data-state="satista"]{border-color:#558767;color:#bbeacd}
html:where([data-theme="dark"]) .field .fsbo-state-select[data-state="kapora"]{border-color:#37507b;color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .field .fsbo-state-select[data-state="satildi"],
html:where([data-theme="dark"]) .field .fsbo-state-select[data-state="kiralandi"]{border-color:#873d3d;color:#e19d9d}
html:where([data-theme="dark"]) .fsbo-block__archived{color:var(--muted, #949fae)}
html:where([data-theme="dark"]) .fsbo-toggle{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-toggle:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fsbo-ident__name{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-badge{border:1px solid #697381;background:#1d232c;color:#bac4d2}
html:where([data-theme="dark"]) .fsbo-badge--res-positive,
html:where([data-theme="dark"]) .fsbo-badge--report-yes{background:#174226;color:#bbeacd}
html:where([data-theme="dark"]) .fsbo-badge--res-negative,
html:where([data-theme="dark"]) .fsbo-badge--res-no_follow_up,
html:where([data-theme="dark"]) .fsbo-badge--report-no{background:#3d1111;border-color:#aa4141;color:#e19d9d}
html:where([data-theme="dark"]) .fsbo-badge--res-unclear,
html:where([data-theme="dark"]) .fsbo-badge--res-follow_up,
html:where([data-theme="dark"]) .fsbo-badge--live{background:#122741;border-color:#4170aa;color:#96a9e0}
html:where([data-theme="dark"]) .fsbo-badge--call{background:#122741;color:#96a9e0}
html:where([data-theme="dark"]) a.fsbo-badge--link{background:#1c2530;border-color:#697381;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) a.fsbo-badge--link:hover{background:#122741;border-color:#4170aa}
html:where([data-theme="dark"]) a.fsbo-badge--link:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .field .fsbo-ivo-result[data-ivo-state="same"]{background:#191f27;color:#acb6c4}
html:where([data-theme="dark"]) .fsbo-block__status.is-saved{color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-talk-add{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .fsbo-talk-add:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fsbo-block__actions--inline .fsbo-delete{border-color:#823e3e;color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .fsbo-chip{border:1.5px solid var(--chip-bd, #535f6d);background:#131820;color:var(--chip-fg, #bac4d2)}
html:where([data-theme="dark"]) .fsbo-chip:hover{background:var(--chip-bg, #171f26)}
html:where([data-theme="dark"]) .fsbo-chip:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fsbo-chip--positive{--chip-fg:#9ce7b8;--chip-bd:#48a269;--chip-bg:#11351d}
html:where([data-theme="dark"]) .fsbo-chip--negative{--chip-fg:#e07676;--chip-bd:#983a3a;--chip-bg:#330f0f}
html:where([data-theme="dark"]) .fsbo-chip--unreachable{--chip-fg:#acb6c4;--chip-bd:#535f6d;--chip-bg:#191f27}
html:where([data-theme="dark"]) .fsbo-chip--follow_up{--chip-fg:#6182dd;--chip-bd:#4172aa;--chip-bg:#0f2036}
html:where([data-theme="dark"]) .fsbo-queue__head{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-queue__count{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .fsbo-queue__who strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-queue__reason{color:#6182dd}
html:where([data-theme="dark"]) .fsbo-queue__reason--late{color:#e07676}
html:where([data-theme="dark"]) .fsbo-queue__reason--new,
html:where([data-theme="dark"]) .fsbo-queue__reason--retry{color:#acb6c4}
html:where([data-theme="dark"]) .fsbo-queue__done{color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-funnel__step b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-funnel__step small{color:#6182dd}
html:where([data-theme="dark"]) .fsbo-funnel__step--positive b,
html:where([data-theme="dark"]) .fsbo-funnel__step--positive small{color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-paste__head label{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fsbo-paste__info{border:1px solid #48a269;background:#0f2e1c;color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-paste__info:hover{background:#11351d}
html:where([data-theme="dark"]) .fsbo-paste__note{border:1px solid #48a269;background:#0f2e1c;color:#bbeacd}
html:where([data-theme="dark"]) .fsbo-paste__result{color:#9ce7b8}
html:where([data-theme="dark"]) .fsbo-paste__result[data-tone="warn"]{color:#e07676}
html:where([data-theme="dark"]) .hint.fsbo-notify-done{color:#9ce7b8 !important}

/* ---- goal-bar.css ---- */
html:where([data-theme="dark"]) .goal-bar__title{color:var(--dk-navy-fg)}

/* ---- gorusme-hatirlatma.css ---- */
html:where([data-theme="dark"]) .gh{border-left:4px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .gh summary:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .gh__head strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .gh__list b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .gh__more{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .gh__step{background:var(--bg, #161b24)}
html:where([data-theme="dark"]) .gh__step b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .gh__stepno{color:var(--dk-navy-400-fg)}
html:where([data-theme="dark"]) .gh__stepico{background:#131820}
html:where([data-theme="dark"]) .gh__script{border:1px dashed var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .gh__scripthead{color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .gh__copy{border:1px solid var(--dk-navy-bd2);background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .gh__script p{color:var(--dk-navy-fg)}

/* ---- haberler.css ---- */
html:where([data-theme="dark"]) .nw-tab{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .nw-tab:hover{border-color:var(--dk-navy-bd2);background:#121b29}
html:where([data-theme="dark"]) .nw-tab.is-active{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .nw-n{background:#17202d;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .nw-il-pick select{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .nw-cat{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .nw-cat--ekonomi{background:#183028;color:#a3ece6}
html:where([data-theme="dark"]) .nw-cat--mevzuat{background:#19142d;color:#8c79c7}
html:where([data-theme="dark"]) .nw-cat--insaat{background:#18212d;color:var(--dk-navy-600-fg)}
html:where([data-theme="dark"]) .nw-cat--yatirim{background:#1c2d21;color:#9ce7b8}
html:where([data-theme="dark"]) .nw-card__title a{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .nw-il{background:#191f27}
html:where([data-theme="dark"]) .nw-go{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .nw-hide{color:var(--dk-danger-fg)}

/* ---- listing-location.css ---- */
html:where([data-theme="dark"]) .listing-location__hint[data-tone="ok"]{color:var(--success, #9ce7b8)}
html:where([data-theme="dark"]) .listing-location__hint[data-tone="error"]{color:var(--dk-danger-fg, #d47a71)}
html:where([data-theme="dark"]) .listing-location__nb-note{color:var(--dk-danger-fg, #d47a71)}
html:where([data-theme="dark"]) .loc-combo__panel{background:var(--surface, #131820);border:1px solid var(--border-2, #4a5362)}
html:where([data-theme="dark"]) .loc-combo__head{color:var(--text-soft, #a0a9b9);background:var(--surface-2, #151c23);border-bottom:1px solid var(--border, #39404b)}
html:where([data-theme="dark"]) .loc-combo__opt{color:var(--text, #d2dbe5)}
html:where([data-theme="dark"]) .loc-combo__opt.is-selected{color:var(--dk-navy-fg, #bfd5ee)}
html:where([data-theme="dark"]) .loc-combo__check{color:var(--dk-brand-fg, #2563eb)}
html:where([data-theme="dark"]) .loc-combo__match{color:var(--dk-brand-600-fg, #6182dd)}
html:where([data-theme="dark"]) .loc-combo__empty{color:var(--text-soft, #a0a9b9)}
html:where([data-theme="dark"]) .loc-combo__empty strong{color:var(--text, #d2dbe5)}
html:where([data-theme="dark"]) .loc-combo__empty--error strong{color:var(--dk-danger-fg, #e07676)}
html:where([data-theme="dark"]) .loc-combo__foot{background:var(--surface-2, #151c23);border-top:1px solid var(--border, #39404b)}

/* ---- network.css ---- */
html:where([data-theme="dark"]) .net-hero h1{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-privacy{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .net-kpi b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-kpi--navy .net-kpi__ic{background:#18212c}
html:where([data-theme="dark"]) .net-tab.is-active{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .net-tab.is-active .net-tab__n{background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-tag--need{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .net-tag--source{color:var(--dk-purple-fg)}
html:where([data-theme="dark"]) .net-pill--interested{border-color:#2f4c7a;color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .net-pill--contacted{border-color:#558767;color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .net-pill--dismissed{border-color:#723a3a;color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .net-pill--need{border-color:#2f4c7a;color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .net-pill--source{border-color:#3d2c6a;color:var(--dk-purple-fg)}
html:where([data-theme="dark"]) .net-side--other{background:#131820}
html:where([data-theme="dark"]) .net-side strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-chip--ok{color:var(--dk-ok-fg);border-color:#558767}
html:where([data-theme="dark"]) .net-chip--off{color:var(--dk-danger-fg);border-color:#723a3a}
html:where([data-theme="dark"]) .net-reason{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .net-advisor strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-btn:hover{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .net-row strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-missing{color:var(--dk-danger-fg) !important}
html:where([data-theme="dark"]) .net-h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-mini strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-seg__i:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-pulse__head h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-bar b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-empty h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-fix__head strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .net-fix__suggest{color:var(--dk-info-fg)}

/* ---- person-picker.css ---- */
html:where([data-theme="dark"]) .person-picker__result{border-bottom:1px solid #425268}
html:where([data-theme="dark"]) .person-picker__result:hover,
html:where([data-theme="dark"]) .person-picker__result.is-active{background:#1c241f}

/* ---- piyasa.css ---- */
html:where([data-theme="dark"]) .mp-pdfbtn{background:#131820;color:var(--dk-navy-fg);border:1px solid #181d25}
html:where([data-theme="dark"]) .mp-pdfbtn:hover{background:#121d2f}
html:where([data-theme="dark"]) .mp-kpi__value{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-pill.is-up{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .mp-pill.is-down{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .mp-pill.is-neutral{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .mp-pill.is-flat{background:#191f27}
html:where([data-theme="dark"]) .mp-sec__icon{background:linear-gradient(135deg, #122035, #1c172e);border:1px solid #42536c}
html:where([data-theme="dark"]) .mp-sec__head h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-stat b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-card h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-big{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-bar.is-last{fill:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .mp-pt:hover .mp-bar{fill:var(--dk-navy-400-fg)}
html:where([data-theme="dark"]) .mp-pt:hover .mp-bar.is-last{fill:var(--dk-brand-600-fg)}
html:where([data-theme="dark"]) .mp-line-sa{stroke:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-share{background:#191f27}
html:where([data-theme="dark"]) .mp-share__legend b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-mini b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-city__head h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-city__num{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-city__rows b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .mp-spinner{border:3px solid #303f56}

/* ---- portfolio-marketing.css ---- */
html:where([data-theme="dark"]) .pm-btn-light{background:#131820;color:var(--dk-navy-fg);border-color:#181d25}
html:where([data-theme="dark"]) .pm-btn-light:hover{background:#121d2d}
html:where([data-theme="dark"]) .pm-stat__n{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .pm-stat--hot .pm-stat__n{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .pm-stat--follow .pm-stat__n{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .pm-stat--follow.is-late{border-color:#723a3a}
html:where([data-theme="dark"]) .pm-stat--follow.is-late .pm-stat__n{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .pm-funnel__bar span + span{border-left:2px solid #181d25}
html:where([data-theme="dark"]) .pm-col__title{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .pm-card__call:hover{background:#132540}
html:where([data-theme="dark"]) .pm-temp--ilik{color:var(--dk-purple-fg);border-color:#48366f}
html:where([data-theme="dark"]) .pm-temp--sicak{color:var(--dk-danger-fg);border-color:#723a3a}
html:where([data-theme="dark"]) .pm-chip--ok{color:var(--dk-ok-fg);border-color:#558767}
html:where([data-theme="dark"]) .pm-chip--late{color:var(--dk-danger-fg);border-color:#723a3a}
html:where([data-theme="dark"]) .pm-chip--today{color:var(--dk-info-fg);border-color:#2f4c7a}
html:where([data-theme="dark"]) .pm-yes{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .pm-phone .pm-phone__wa{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .pm-panel h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .pm-cols span{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .pm-checks li.is-done{color:var(--dk-ok-fg)}
html:where([data-theme="dark"]) .pm-nextstep{color:#96a9e0}
html:where([data-theme="dark"]) .pm-kinds input:focus-visible + span{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .pm-tl__del button:hover{color:var(--dk-danger-fg)}

/* ---- pwa-install.css ---- */
html:where([data-theme="dark"]) .pwa-card{border:1px solid #495f6c;background:linear-gradient(115deg,#152529,#0c142b);color:#bfd5ee}
html:where([data-theme="dark"]) .pwa-eyebrow{color:#9acbd0}
html:where([data-theme="dark"]) .pwa-card p{color:#9fadbb}
html:where([data-theme="dark"]) .pwa-later{color:#a0afbb}
html:where([data-theme="dark"]) .pwa-menu{border-top:1px solid #39404b;color:#bfd5ee}
html:where([data-theme="dark"]) .pwa-menu:hover{color:#bfd5ee}
html:where([data-theme="dark"]) .pwa-login{border:1px solid #43555a;background:#172327;color:#bfd5ee}
html:where([data-theme="dark"]) .pwa-guide{border:1px solid #3f4d56;background:#131820;color:#bfd5ee}
html:where([data-theme="dark"]) .pwa-close{background:#192025;color:#a7b7c7}
html:where([data-theme="dark"]) .pwa-intro{color:#97a2b0}
html:where([data-theme="dark"]) .pwa-steps li{border:1px solid #374249;background:#151c23}
html:where([data-theme="dark"]) .pwa-step-icon{background:#1c2a2a;color:#a0e2e7}
html:where([data-theme="dark"]) .pwa-step-number{color:#93a5ae}
html:where([data-theme="dark"]) .pwa-steps p{color:#97a2b0}
html:where([data-theme="dark"]) .pwa-status{color:#a6d6da}
html:where([data-theme="dark"]) .pwa-browser-note{background:#31250e;border:1px solid #816b42;color:#dfcaa5}
html:where([data-theme="dark"]) .pwa-url{border:1px solid #8a7d60;background:#131820;color:#e5d5b2}

/* ---- quote.css ---- */
html:where([data-theme="dark"]) .q-strip{border-left:4px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .q-strip__text{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .q-strip__tip b{color:var(--dk-navy-fg)}

/* ---- rental-contract.css ---- */
html:where([data-theme="dark"]) .rc-badge{color:var(--dk-info-fg)}
html:where([data-theme="dark"]) .rc-alert{color:var(--dk-warn-fg)}
html:where([data-theme="dark"]) .rc-doc input[type=text],
html:where([data-theme="dark"]) .rc-doc input[type=date],
html:where([data-theme="dark"]) .rc-doc textarea{background:#2a250c}
html:where([data-theme="dark"]) .rc-doc input:focus,
html:where([data-theme="dark"]) .rc-doc textarea:focus{background:#131820}
html:where([data-theme="dark"]) .rc-mirror{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .rc-slot img{background:#131820}

/* ---- tag-picker.css ---- */
html:where([data-theme="dark"]) .tag-chip--profile,
html:where([data-theme="dark"]) .tag-option--profile[aria-pressed=true]{color:var(--dk-info-fg);border-color:#2f4c7a}
html:where([data-theme="dark"]) .tag-chip--owner,
html:where([data-theme="dark"]) .tag-option--owner[aria-pressed=true]{background:#18212f;color:var(--dk-navy-fg);border-color:#4b5b74}
html:where([data-theme="dark"]) .tag-chip--urgency,
html:where([data-theme="dark"]) .tag-option--urgency[aria-pressed=true]{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .tag-chip--relation,
html:where([data-theme="dark"]) .tag-option--relation[aria-pressed=true]{background:#191f27;color:#acb6c4;border-color:#3f4956}
html:where([data-theme="dark"]) .tag-picker__add{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tag-picker__add:hover{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .tag-picker__add:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .tag-picker__add[aria-expanded=true]{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .tag-picker__status.is-error{color:var(--dk-danger-fg)}
html:where([data-theme="dark"]) .tag-menu__input:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .tag-option:hover{border-color:var(--dk-navy-bd2)}
html:where([data-theme="dark"]) .tag-option:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .tag-picker--field .tag-picker__select:hover{border-color:var(--dk-navy-bd2)}

/* ---- tesekkur-karti.css ---- */
html:where([data-theme="dark"]) .tk{--tk-ink:#bfd4ea;--tk-mute:#95a3b2;--tk-line:#374555}
html:where([data-theme="dark"]) .tk-step{background:#131820}
html:where([data-theme="dark"]) .tk-step__head h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tk-field > span,
html:where([data-theme="dark"]) .tk-label{color:#a3b7cc}
html:where([data-theme="dark"]) .tk-field input[type="text"],
html:where([data-theme="dark"]) .tk-field textarea{border:1px solid #4b5867;background:#131820}
html:where([data-theme="dark"]) .tk-note{background:#111d2c;color:#a5bed8}
html:where([data-theme="dark"]) .tk-note--warn{background:#32230e;color:#f0c495}
html:where([data-theme="dark"]) .tk-seg{background:#15202b}
html:where([data-theme="dark"]) .tk-seg span{color:#9db0c4}
html:where([data-theme="dark"]) .tk-seg input:checked + span{background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tk-chip{border:1px solid #4b5867;background:#131820;color:#a3b7cc}
html:where([data-theme="dark"]) .tk-chip:hover{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .tk-link{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .tk-preview{background:#131820}
html:where([data-theme="dark"]) .tk-btn--ghost{background:#131820;color:var(--dk-navy-fg);border-color:#4e5f76}
html:where([data-theme="dark"]) .tk-hint--warn{color:#f0c495}
html:where([data-theme="dark"]) .tk-status{color:#9ce7b8}
html:where([data-theme="dark"]) .tk-status--err{color:#e07676}
html:where([data-theme="dark"]) .tk-confirm{background:#0d1d2e;border:1px solid #436183}
html:where([data-theme="dark"]) .tk-confirm strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tk-confirm p{color:#a3b7cc}
html:where([data-theme="dark"]) .tk-find input{border:1px solid #4b5867;background:#131820}
html:where([data-theme="dark"]) .tk-results{background:#131820}
html:where([data-theme="dark"]) .tk-result{background:#131820}
html:where([data-theme="dark"]) .tk-result:hover,
html:where([data-theme="dark"]) .tk-result:focus-visible{background:#111d2c}
html:where([data-theme="dark"]) .tk-result strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tk-result em{background:#18202b;color:#9db0c4}
html:where([data-theme="dark"]) .tk-field input[type="tel"]{border:1px solid #4b5867;background:#131820}

/* ---- advisor-performance.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .ap-page .ap-filter select,
html:where([data-theme="dark"]) .ap-page .ap-filter input{border:1px solid #535f6d}
html:where([data-theme="dark"]) .ap-visual{border:1px solid var(--border,#37404c);background:var(--surface,#131820)}
html:where([data-theme="dark"]) .ap-bar__track{background:#182028}
html:where([data-theme="dark"]) .ap-choice select{border:1px solid #535f6d}
html:where([data-theme="dark"]) .ap-table th{background:var(--surface,#131820)}
html:where([data-theme="dark"]) .ap-fsbo-table th{background:var(--surface,#131820)}

/* ---- arac-amortisman.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .tool-result{background:linear-gradient(135deg, #132132 0%, #1c182b 100%);border:1px solid #42536c}
html:where([data-theme="dark"]) .tool-result__label{color:#a3afc0}
html:where([data-theme="dark"]) .tool-result__value{color:#bfd5ee}

/* ---- arac-bina-yiprama.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .tool-result{background:linear-gradient(135deg, #132132 0%, #1c182b 100%);border:1px solid #42536c}
html:where([data-theme="dark"]) .tool-result__label{color:#a3afc0}
html:where([data-theme="dark"]) .tool-result__value{color:#bfd5ee}

/* ---- arac-kira-karsilastirma.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .compare-col h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .tool-result{background:linear-gradient(135deg, #132132 0%, #1c182b 100%);border:1px solid #42536c}
html:where([data-theme="dark"]) .tool-result__label{color:#a3afc0}
html:where([data-theme="dark"]) .tool-result__value{color:#bfd5ee}
html:where([data-theme="dark"]) .tool-verdict{color:#bbeacd}

/* ---- arac-konut-kredisi.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .tool-result{background:linear-gradient(135deg, #132132 0%, #1c182b 100%);border:1px solid #42536c}
html:where([data-theme="dark"]) .tool-result__label{color:#a3afc0}
html:where([data-theme="dark"]) .tool-result__value{color:#bfd5ee}

/* ---- arac-tapu-harci.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .tool-result{background:linear-gradient(135deg, #132132 0%, #1c182b 100%);border:1px solid #42536c}
html:where([data-theme="dark"]) .tool-result__label{color:#a3afc0}
html:where([data-theme="dark"]) .tool-result__value{color:#bfd5ee}

/* ---- arac-ticari-kredi.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .tool-result{background:linear-gradient(135deg, #132132 0%, #1c182b 100%);border:1px solid #42536c}
html:where([data-theme="dark"]) .tool-result__label{color:#a3afc0}
html:where([data-theme="dark"]) .tool-result__value{color:#bfd5ee}

/* ---- arac-ticari-rontgen.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .ay-rontgen{--navy-ink:#b2c8f1;--ink:#d0d7e5;--line:#3c4456;--input-line:#586277}
html:where([data-theme="dark"]) .ayr-card{border-top:3px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-badge{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ayr-progress-meta b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ayr-input{background:#131820}
html:where([data-theme="dark"]) .ayr-input:focus{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-computed{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ayr-seg-btn{background:#131820}
html:where([data-theme="dark"]) .ayr-seg-btn:hover{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-seg-btn.is-on{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-cat{background:#131820}
html:where([data-theme="dark"]) .ayr-cat:hover{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-cat.is-on{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-cat.is-on .ayr-dot{background:#131820}
html:where([data-theme="dark"]) .ayr-btn-ghost{background:#131820}
html:where([data-theme="dark"]) .ayr-btn-ghost:hover{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-spinner{border-top-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-result-done{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ayr-bar-val{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .ayr-metric{background:#131820;border-top:3px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .ayr-block{border-left:3px solid var(--dk-navy-bd)}

/* ---- araclar.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .resource-card{color:#bdd0e6;border:1px solid #42536c;background:linear-gradient(135deg, #132132 0%, #1c182b 100%)}
html:where([data-theme="dark"]) a.resource-card:hover{color:#bdd0e6}
html:where([data-theme="dark"]) .resource-card__icon{color:#bfd5ee}
html:where([data-theme="dark"]) .resource-card .muted{color:#a3afc0}
html:where([data-theme="dark"]) .resource-card__action{color:#85add9}

/* ---- blog-admin.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .article-preview-content h2,
html:where([data-theme="dark"]) .article-preview-content h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .article-preview-content a{color:var(--dk-brand-fg)}

/* ---- blog-editor.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .editor-toolbar button{background:#131820}
html:where([data-theme="dark"]) .editor-area{background:#131820}
html:where([data-theme="dark"]) .editor-area h2{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .editor-area h3{color:var(--dk-navy-fg)}

/* ---- calendar.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .cal-ev--customer_call{background:#0e1f31;color:#a1c5e6}
html:where([data-theme="dark"]) .cal-ev--field_visit{background:#18332d;color:#b3ede6}
html:where([data-theme="dark"]) .cal-ev.is-done{background:#1c2821;color:#b1d3bf}
html:where([data-theme="dark"]) .cal-ev--field_visit.is-done{background:#1d3731;color:#b3ede6}
html:where([data-theme="dark"]) .cal-stat__num--done b{color:#a1e0c1}
html:where([data-theme="dark"]) .cal-stat__num--next b{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .cal-stat--total::before{background:#19335a}

/* ---- customers.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .cu-stat__num--warn b{color:#eeab79}
html:where([data-theme="dark"]) .cu-filter[open]{border-color:var(--dk-navy-bd2, var(--border-2))}
html:where([data-theme="dark"]) .cu-filter__toggle{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .cu-filter__toggle:focus-visible{outline:2px solid var(--dk-navy-bd)}
html:where([data-theme="dark"]) .cu-filter__chip{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .cu-filter__chip:hover{border-color:var(--dk-navy-bd2)}

/* ---- expenses.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .expense-card{background:var(--card-bg, #131820)}
html:where([data-theme="dark"]) .expense-card__amount{color:var(--primary, #9bc6ec)}

/* ---- faydali-baglantilar.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .resource-card{color:#bdd0e6;border:1px solid #42536c;background:linear-gradient(135deg, #132132 0%, #1c182b 100%)}
html:where([data-theme="dark"]) a.resource-card:hover{color:#bdd0e6}
html:where([data-theme="dark"]) .resource-card__icon{color:#bfd5ee}
html:where([data-theme="dark"]) .resource-card .muted{color:#a3afc0}
html:where([data-theme="dark"]) .resource-card__action{color:#85add9}
html:where([data-theme="dark"]) .resource-card--pending{background:#1a1d21}

/* ---- gizlilik-politikasi.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .policy{color:#c4dbed}
html:where([data-theme="dark"]) .policy p,
html:where([data-theme="dark"]) .policy li{color:#c0d1de}
html:where([data-theme="dark"]) .policy .meta{color:#a8b6c0}
html:where([data-theme="dark"]) .policy .box{border:1px solid #3f4a55;background:#141c25}
html:where([data-theme="dark"]) .policy th,
html:where([data-theme="dark"]) .policy td{border:1px solid #3f4a55}
html:where([data-theme="dark"]) .policy th{background:#141c25}

/* ---- includes/customer_form.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .field > .customer-field-error{color:#e38179}
html:where([data-theme="dark"]) .xp-num{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .xp-edit{color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .xp-add{color:var(--dk-brand-fg)}

/* ---- includes/finance.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .fx-tabs{background:#1a2029}
html:where([data-theme="dark"]) .fx-tabs a:hover{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-tabs a.is-active{background:#131820;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-pills a.is-active{background:#131820;color:var(--dk-navy-fg);border-color:#181d25}
html:where([data-theme="dark"]) .fx-pills--light a{background:#131820}
html:where([data-theme="dark"]) .fx-pills--light a:hover{background:#141c28;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-pills--light a.is-active{border-color:var(--dk-navy-bd)}
html:where([data-theme="dark"]) .fx-card{background:#131820}
html:where([data-theme="dark"]) .fx-card__head h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-mix{background:#191f27}
html:where([data-theme="dark"]) .fx-legend__row b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-note{background:#0d192e;border:1px solid #263c64}
html:where([data-theme="dark"]) .fx-note__ic{background:#131820}
html:where([data-theme="dark"]) .fx-note__body strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-month b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-item__amount{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-chip{background:#191f27}
html:where([data-theme="dark"]) .fx-chip--own{background:#1b222c}
html:where([data-theme="dark"]) .fx-chip--coop{background:#0f2036;color:#6182dd}
html:where([data-theme="dark"]) .fx-chip--referral{background:#1a3431;color:#a3ece6}
html:where([data-theme="dark"]) .fx-chip--draft{background:#131820;color:var(--dk-brand-fg)}
html:where([data-theme="dark"]) .fx-item--draft{background:linear-gradient(90deg,#0d172c,#131820);border:1px dashed #4564a5}
html:where([data-theme="dark"]) .fx-empty strong{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-step h3{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-opt{background:#131820}
html:where([data-theme="dark"]) .fx-opt__t{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-seg input:checked+.fx-opt{background:#0d182e}
html:where([data-theme="dark"]) .fx-ctx{background:#0d192e;border:1px solid #263c64;color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-goal__stat b{color:var(--dk-navy-fg)}
html:where([data-theme="dark"]) .fx-goal__stat--done b{color:#a3ece6}
html:where([data-theme="dark"]) .fx-goal__track{background:#191f27}
html:where([data-theme="dark"]) .fx-goal__foot b{color:var(--dk-navy-fg)}

/* ---- portfolios.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .pf-stat__num--warn b{color:#eeab79}
html:where([data-theme="dark"]) .pf-stat__num--good b{color:#bbeacd}

/* ---- reports.php (sayfa içi stil) ---- */
html:where([data-theme="dark"]) .rp-hero__form select option{color:#c3d3e7;background-color:#131820}
html:where([data-theme="dark"]) .rp-hero__form input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.85;cursor:pointer}
html:where([data-theme="dark"]) .rp-hero__actions .rp-apply{background:#131820;color:#c8daf1;border:1px solid #181d25}
html:where([data-theme="dark"]) .rp-hero__actions .rp-apply:hover{background:#0f2534}
html:where([data-theme="dark"]) .rp-hero__form :focus-visible{outline:3px solid #4188aa}
html:where([data-theme="dark"]) .rp-scope{background:var(--surface-2,#171f26)}
@media print{
  html:where([data-theme="dark"]) body{background:#181d23 !important}
}
html:where([data-theme="dark"]) .rp-ring--light .rp-ring__txt{color:var(--text,#c3d3e7)}
html:where([data-theme="dark"]) .rp-kpi{border:1px solid var(--border,#37404c);background:var(--surface,#131820)}
html:where([data-theme="dark"]) .rp-delta{background:#171f26;color:#acb6c4}
html:where([data-theme="dark"]) .rp-delta--up{background:#11351d;color:#afe7c4}
html:where([data-theme="dark"]) .rp-delta--down{background:#330f0f;color:#e28b8b}
html:where([data-theme="dark"]) .rp-badge{border:1px solid var(--border,#37404c);background:var(--surface,#131820)}
html:where([data-theme="dark"]) .rp-badge__ico{background:#171f26}
html:where([data-theme="dark"]) .rp-badge small{color:#949fae}
html:where([data-theme="dark"]) .rp-badge em{color:#949fae}
html:where([data-theme="dark"]) .rp-badge--on{background:linear-gradient(180deg,#0f2e20,var(--surface,#131820))}
html:where([data-theme="dark"]) .rp-badge--on em{color:#a1f4dd}
html:where([data-theme="dark"]) .rp-badge__bar{background:#1d232c}
html:where([data-theme="dark"]) .rp-seg{background:#182028}
html:where([data-theme="dark"]) .rp-seg__legend{color:#949fae}
html:where([data-theme="dark"]) .rp-tile{border:1px solid var(--border,#37404c);background:var(--surface,#131820)}
html:where([data-theme="dark"]) .rp-tile small{color:#949fae}
html:where([data-theme="dark"]) .reports-page .card__head{border-bottom:2px solid #37404c}
html:where([data-theme="dark"]) .reports-page .card__head h3,
html:where([data-theme="dark"]) .reports-page .reports-filter h2{color:var(--text,#c3d3e7)}
html:where([data-theme="dark"]) .reports-page .rp-sec .reports-metrics .stat{background:var(--surface-2,#151c23);border-color:#303a47}
html:where([data-theme="dark"]) .reports-page .reports-nav{background:rgba(19,24,32,0.95);border:1px solid var(--border,#37404c)}
html:where([data-theme="dark"]) .reports-page .reports-nav a{color:var(--text,#c3d3e7)}
html:where([data-theme="dark"]) .reports-page .reports-nav a:hover{background:#121d2d}
html:where([data-theme="dark"]) .reports-page .rp-sec>.card__head{border-bottom:1px solid var(--border,#37404c)}
html:where([data-theme="dark"]) .rp-lead{color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .rp-candle{color:var(--text,#ccd5e2)}
html:where([data-theme="dark"]) .reports-visual{border:1px solid #303a47;background:var(--surface-2,#151c23)}
html:where([data-theme="dark"]) .reports-page .reports-visual h4{color:var(--text,#c3d3e7)}
html:where([data-theme="dark"]) .reports-bar-track{background:#1a232e}
html:where([data-theme="dark"]) .rp-col__bar{border-bottom:2px solid #535f6d}
html:where([data-theme="dark"]) .rp-col__l{color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .rp-empty{border:1px dashed #535f6d;background:var(--surface-2,#151c23);color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .rp-empty b{background:#18202a;color:#acb6c4}
html:where([data-theme="dark"]) .rp-hint{color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .rp-note{border-top:1px dashed #444f5e}
html:where([data-theme="dark"]) .reports-page .rp-note summary{color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .rp-note__body{color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .rp-note-flat{border-top:1px dashed #444f5e;color:#a0a9b9}
html:where([data-theme="dark"]) .reports-followup a{border:1px solid var(--border,#37404c);background:var(--surface,#131820)}
html:where([data-theme="dark"]) .reports-followup strong{color:#bfd5ee}
html:where([data-theme="dark"]) .rp-cmp__now{color:#bfd5ee}
html:where([data-theme="dark"]) .rp-cmp__now small{color:var(--text-soft,#a0a9b9)}
html:where([data-theme="dark"]) .reports-pair-track{background:#1a232e}
html:where([data-theme="dark"]) .reports-change{background:#18202a;color:#acb6c4}
html:where([data-theme="dark"]) .reports-change--up{background:#11351d;color:#afe7c4}
html:where([data-theme="dark"]) .reports-change--down{background:#330f0f;color:#e28b8b}

/* 4) Danışman tanıtım sayfası (advisor.css): tema rengi (--adv-1/--adv-2) koyu zeminde METİN olarak
   okunmuyordu; açık karşılığı --adv-fg ile türetilir (danışmanın seçtiği temayı da izler). */
html[data-theme="dark"] .adv,
html[data-theme="dark"] .advcard-pop { --adv-fg: color-mix(in srgb, var(--adv-1) 30%, #fff); }
html[data-theme="dark"] .adv-card h2,
html[data-theme="dark"] .adv-todo__head,
html[data-theme="dark"] .adv-stat b,
html[data-theme="dark"] .adv-cert__body strong,
html[data-theme="dark"] .adv-chip,
html[data-theme="dark"] .advcard__chips span,
html[data-theme="dark"] .adv-todo__list li a:hover,
html[data-theme="dark"] .advcard__acts a:hover { color: var(--adv-fg); }
html[data-theme="dark"] .adv-count { color: var(--adv-fg); background: var(--adv-chip); }
html[data-theme="dark"] .adv-dots i.is-on { background: var(--adv-3); }
html[data-theme="dark"] .adv-card h2 { border-bottom-color: var(--border); }
/* Kahraman alanındaki beyaz/yarı saydam düğme ve rozetler: koyu metin + açık zemin (önceki türetme koyu/koyu bırakmıştı) */
html[data-theme="dark"] .adv-badge--cb,
html[data-theme="dark"] .adv-btn--solid { background: var(--dk-navy-fg); border-color: var(--dk-navy-fg); color: var(--adv-1); }
html[data-theme="dark"] .adv-btn--solid:hover { background: #fff; border-color: #fff; color: var(--adv-1); }
html[data-theme="dark"] .adv-btn__badge { box-shadow: 0 0 0 2px rgba(22,30,41,.9); }
/* Kendi sayfandaki "tamamla" kartı */
html[data-theme="dark"] .adv-todo__list li.is-done { color: var(--dk-ok-fg); }
html[data-theme="dark"] .adv-todo__list li { color: var(--text-soft); }
/* Hover kartındaki birincil düğme ve konuşma balonları */
html[data-theme="dark"] .advcard__acts a.is-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
html[data-theme="dark"] .advcard-pop { box-shadow: 0 10px 34px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.4); }
html[data-theme="dark"] .speech-bubble--hero { color: var(--adv-fg); }
html[data-theme="dark"] .adv-hero.has-photo::before { opacity: calc(var(--veil, .75) + .1); }
/* Seçilen tema, açık zemin değerlerini (--adv-tint/line/chip) satır içi style ile yazar ve koyu değerleri ezer;
   bu yüzden çip/kart zeminleri açık kalıp açık yazıyla "patlıyordu". Koyu temada tema renginden yeniden türetilir. */
html[data-theme="dark"] .adv,
html[data-theme="dark"] .advcard-pop {
  --adv-tint: color-mix(in srgb, var(--adv-1) 16%, var(--surface)) !important;
  --adv-chip: color-mix(in srgb, var(--adv-1) 24%, var(--surface)) !important;
  --adv-line: color-mix(in srgb, var(--adv-1) 45%, var(--surface)) !important;
}

/* ---- maliyet-gorseli.css ---- */
html:where([data-theme="dark"]) .mg-depo input[type="text"],
html:where([data-theme="dark"]) .mg-extra input{border:1px solid #4b5867;background:#131820}
html:where([data-theme="dark"]) .mg-extra button{border:1px solid #4b5867;background:#131820;color:#f0c495}
html:where([data-theme="dark"]) .mg-check{color:#a3b7cc}
