/* ElvoCAD — Bina Tesisat & 3B BIM · web kabuğu düzeltmeleri */

/* Şerit: uzun etiketler komşu düğmelerin altına taşmasın (tam metin title'da) */
html body.cs-active #csHeader #csTools .cs-tool {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
html body.cs-active #csHeader #csTools .cs-tool > span,
html body.cs-active #csHeader #csTools .cs-tool > b {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Pafta sekmeleri: okunur yazı, görünür ince kaydırma çubuğu */
#acad2026ModelLayoutBar {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56, 189, 248, .55) transparent !important;
  font-size: 11px !important;
}
#acad2026ModelLayoutBar::-webkit-scrollbar { display: block !important; height: 6px !important; }
#acad2026ModelLayoutBar::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, .5); border-radius: 3px; }
.acad2026-layout-tab {
  font-size: 11px !important;
  padding: 3px 9px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

/* Bildirim: komut satırı / durum çubuğu / pafta sekmelerini örtmesin */
#elvoqUserActionToast {
  bottom: auto !important;
  top: 118px !important;
  right: 18px !important;
  z-index: 100500 !important;
}
#elvoqUserActionToast[style*="opacity: 0"] { display: none !important; }

/* Sağlık paneli alt bandın üstünde bitsin */
#elvoqHealthPanel { max-height: calc(100vh - 180px) !important; }

/* Geniş ekran (≥2200 CSS px): kabuk yazıları ve ikonlar okunur ölçekte */
@media (min-width: 2200px) {
  html body.cs-active #csHeader { zoom: 1.18; }
  #acad2026ModelLayoutBar, #acadFloatingCmdBar, .acad-status-pill { zoom: 1.15; }
}
/* Dar ekran (≤1500 px): şerit düğmelerinde yalnız ikon + kısa etiket */
@media (max-width: 1500px) {
  html body.cs-active #csHeader #csTools .cs-tool { max-width: 120px !important; min-width: 0 !important; }
}

/* Dil düğmesi TR / EN (çeviri katmanı elvocad-i18n.js) */
.header-toggle-pair { display: inline-flex; align-items: center; gap: 6px; }

/* Üst çubuk: yinelenen / eski kayıt düğmeleri kaldırıldı.
   Kaydet / Aç / Yeni: sağ üst ikon grubu + Dosya şeridi (tek biçim ELVOQ_PROJE v2) */
#btnBindDiskPermanentSave, #btnElvoqFileExport, #btnElvoqFileImport, #btnResetElvoqPermanentMemory,
#btnToggleSwarmArmyPause { display: none !important; }
