/* VizorDesk — paylaşımlı LIGHT/DARK tema. day=light, night=dark(varsayılan).
   Sekmeler --void/--line/--text/--muted/--dim + aksan değişkenlerini var() ile kullanır.
   LIGHT'ta: yumuşak zemin + KOYULAŞTIRILMIŞ aksanlar (neon beyazda okunmaz) + güçlü metin. */

html[data-theme="day"]{
  /* chrome — yumuşak zemin, çok parlak beyaz DEĞİL */
  --void:#EAEEF4 !important; --bg:#EAEEF4 !important;
  --line:#CDD6E2 !important; --slate:#CDD6E2 !important;
  --text:#0B1220 !important; --ink:#0B1220 !important; --white:#0B1220 !important; --ink2:#1F2A3A !important;
  --muted:#3E4A5C !important; --dim:#5A6779 !important; --ink3:#5A6779 !important;
  --card:#FFFFFF !important; --surface:#FFFFFF !important; --panel:#FFFFFF !important; --titanium:#FFFFFF !important; --card2:#F6F8FB !important;
  /* AKSANLAR — light'ta okunur koyu tonlar (neon değil) */
  --green:#0F9D58 !important; --grn:#0F9D58 !important; --up:#0F9D58 !important; --tq:#0E9F6E !important;
  --red:#DC2626 !important; --dn:#DC2626 !important; --down:#DC2626 !important;
  --amber:#B45309 !important; --yellow:#B45309 !important; --warn:#B45309 !important; --amb:#B45309 !important;
  --blue:#0369A1 !important; --pur:#6D28D9 !important; --purple:#6D28D9 !important;
}

/* gövde + kozmik koyu katmanları light'a çevir */
html[data-theme="day"] body{ background:#EAEEF4 !important; color:#0B1220 !important; }
html[data-theme="day"] body::before, html[data-theme="day"] body::after,
html[data-theme="day"] #vz-cosmos, html[data-theme="day"] .cosmos, html[data-theme="day"] .bg{ display:none !important; }

/* kartlar / paneller — beyaz + kenar + hafif gölge, koyu cam iptal */
html[data-theme="day"] .card, html[data-theme="day"] .anch,
html[data-theme="day"] [class*="card"], html[data-theme="day"] [class*="panel"],
html[data-theme="day"] [class*="box"]:not(body), html[data-theme="day"] [class*="tile"],
html[data-theme="day"] [class*="cell"], html[data-theme="day"] [class*="hud"],
html[data-theme="day"] [class*="pane"], html[data-theme="day"] [class*="sec"]{
  background:#FFFFFF !important; border-color:#CDD6E2 !important;
  box-shadow:0 1px 3px rgba(16,22,34,.07), 0 1px 2px rgba(16,22,34,.04) !important; backdrop-filter:none !important;
}

/* ── KONTRAST KURTARMA: koyu-tema için sabit-kodlanmış AÇIK metin renkleri beyazda görünmez → koyuya çevir ── */
html[data-theme="day"] [style*="#F8FAFC"],html[data-theme="day"] [style*="#f8fafc"],
html[data-theme="day"] [style*="#E6EDF3"],html[data-theme="day"] [style*="#e6edf3"],
html[data-theme="day"] [style*="#C7D0DE"],html[data-theme="day"] [style*="#cfd8e3"],
html[data-theme="day"] [style*="#fff"],html[data-theme="day"] [style*="#FFF"],
html[data-theme="day"] [style*="color:#94A3B8"],html[data-theme="day"] [style*="color:#56616F"]{ color:#0B1220 !important; }
/* sabit neon YEŞİL metin (başlık/vurgu) beyazda okunmaz → koyu yeşil */
html[data-theme="day"] [style*="#00FF66"],html[data-theme="day"] [style*="#00ff66"],
html[data-theme="day"] [style*="#5EFFA0"],html[data-theme="day"] [style*="#5effa0"],
html[data-theme="day"] [style*="#7BFFB0"]{ color:#0F9D58 !important; }
html[data-theme="day"] [style*="#7DD3FC"],html[data-theme="day"] [style*="#7dd3fc"]{ color:#0369A1 !important; }
html[data-theme="day"] [style*="#FFB020"],html[data-theme="day"] [style*="#ffb020"],html[data-theme="day"] [style*="#d9a441"]{ color:#B45309 !important; }
html[data-theme="day"] [style*="#A78BFA"],html[data-theme="day"] [style*="#a78bfa"],html[data-theme="day"] [style*="#c4b5fd"]{ color:#6D28D9 !important; }
html[data-theme="day"] [style*="#FF3355"],html[data-theme="day"] [style*="#ff3355"],html[data-theme="day"] [style*="#ff8199"]{ color:#DC2626 !important; }

/* satır/ayraç */
html[data-theme="day"] [class*="row"], html[data-theme="day"] hr,
html[data-theme="day"] table td, html[data-theme="day"] table th{ border-color:#DCE3EC !important; }
/* input/search koyu zeminleri */
html[data-theme="day"] input, html[data-theme="day"] select, html[data-theme="day"] [class*="search"], html[data-theme="day"] [class*="btn"]{
  background:#FFFFFF !important; color:#0B1220 !important; border-color:#CDD6E2 !important;
}
html[data-theme="day"] ::-webkit-scrollbar-thumb{ background:#B8C2D0 !important; }

/* ── BAŞLIK KONTRAST: koyu-tema beyaz başlıkları (.title{color:#fff}) light'ta okunur yap ── */
html[data-theme="day"] .title,html[data-theme="day"] .dt,html[data-theme="day"] .ct,html[data-theme="day"] .hd,
html[data-theme="day"] [class*="title"],html[data-theme="day"] [class*="head"]:not([class*="green"]),
html[data-theme="day"] h1,html[data-theme="day"] h2,html[data-theme="day"] h3,html[data-theme="day"] h4{ color:#0B1220 !important; }
html[data-theme="day"] .lead,html[data-theme="day"] .sub,html[data-theme="day"] .desc,html[data-theme="day"] .muted{ color:#3E4A5C !important; }

/* ── TOGGLE/SEG aktif butonlar: koyu-temada color:#fff → light'ta GÖRÜNMEZ. Aktif=dolu yeşil+beyaz, pasif=koyu ── */
html[data-theme="day"] .langtog button,html[data-theme="day"] .toggle button,html[data-theme="day"] .seg-btn,
html[data-theme="day"] .viewtog button,html[data-theme="day"] [class*="tog"] button,html[data-theme="day"] [class*="seg"] button{ color:#26313F !important; }
html[data-theme="day"] .langtog button.on,html[data-theme="day"] .toggle button.on,html[data-theme="day"] .seg-btn.on,html[data-theme="day"] .seg-btn.active,
html[data-theme="day"] .viewtog button.on,html[data-theme="day"] [class*="tog"] button.on,html[data-theme="day"] [class*="seg"] button.on,
html[data-theme="day"] .toggle button.active,html[data-theme="day"] button.on{ color:#FFFFFF !important; background:#0F9D58 !important; }
/* genel: koyu-temada beyaz-yazili highlight'lar light'ta koyu zemine binsin */
html[data-theme="day"] .tab.active{ color:#0B1220 !important; }
/* soluk metinleri daha koyu (okunur) */
html[data-theme="day"]{ --dim:#4A5568 !important; --faint:#5A6779 !important; }
html[data-theme="day"] [style*="var(--dim)"],html[data-theme="day"] .faint,html[data-theme="day"] [style*="#56616F"],html[data-theme="day"] [style*="#56616f"]{ color:#4A5568 !important; }
