/* ========= TEMEL ========= */
.stl-wrap{
  --b:#e5e7eb;
  --muted:#6b7280;
  --ink:#111827;
  --bg:#fff;
  --soft-2:#f8fafc;

  --canvas:#f5f7fb;
  --card:#ffffff;
  --shadow-1: 0 3px 10px rgba(2,6,23,.06), 0 1px 2px rgba(2,6,23,.04);
  --shadow-2: 0 8px 22px rgba(2,6,23,.08), 0 3px 6px rgba(2,6,23,.06);
}
.stl-wrap{
  border:1px solid var(--b);
  border-radius:16px;
  background:var(--canvas);
  padding:12px;
}
.stl-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.stl-count{color:var(--muted);font-size:.9rem;margin-left:6px}
.stl-list{min-height:60px}
.stl-empty{padding:16px;color:var(--muted)}
.stl-pill{border:1px solid #e5e7eb;border-radius:999px;padding:3px 8px;background:#f9fafb;font-size:12px}

/* ========= KART GÖRÜNÜMÜ (arka plandan ayrı) ========= */
@media (min-width:1100px){
  .kb-board{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .kb-col{background:transparent;border:0;border-radius:16px;display:flex;flex-direction:column;min-height:200px}
  .kb-col-head{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 6px;border-bottom:1px solid #eef2f7;font-weight:600}
  .kb-count{color:var(--muted);font-weight:400; display: none;}
  .kb-list{display:flex;flex-direction:column;gap:16px;padding:14px}
  .kb-card{background:var(--card);border:1px solid rgba(2,6,23,.06);border-radius:16px;padding:14px;box-shadow:var(--shadow-1); width:80%; margin:0 auto;}
  .kb-card:hover{box-shadow:var(--shadow-2)}
  .kb-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
}
@media (max-width:1099.98px){
  .kb-board{display:none}
  .stl-mobile-list{display:flex;flex-direction:column;gap:16px}
  .mb-card{background:var(--card);border:1px solid rgba(2,6,23,.06);border-radius:16px;padding:14px;box-shadow:var(--shadow-1)}
  .mb-card:hover{box-shadow:var(--shadow-2)}
  .mb-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
}

/* ========= ÜST SATIR: Kalan Gün Rozeti + Son Gün ========= */
.st-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.st-top-due{font-weight:600;color:#0f172a;font-size:13px;white-space:nowrap}

/* rozet */
.st-badge{
  --bg:#eef2f7; --fg:#334155;
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:14px; background:var(--bg); color:var(--fg);
  font-size:12px; font-weight:700; letter-spacing:.2px; text-transform:uppercase;
}
.st-badge .dot{width:8px;height:8px;border-radius:50%;background:var(--fg);opacity:.95}
.st-badge--ok    { --bg:#ecfdf5; --fg:#047857; }
.st-badge--warn  { --bg:#fff7ed; --fg:#c2410c; }
.st-badge--danger{ --bg:#fee2e2; --fg:#b91c1c; }
.st-badge--over  { --bg:#fee2e2; --fg:#991b1b; }
.st-badge--done  { --bg:#e5e7eb; --fg:#374151; }

/* ========= Üst sağdaki tarih rozeti ========= */
.st-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.st-top-right{display:flex;align-items:center;gap:8px}
.st-badge--date{
  --bg:#f0f0f0; --fg:#6b7280; --bd:#eef2f7;
  background:var(--bg);
  color:var(--fg);
  border:1px solid var(--bd);
  border-radius:12px;
  padding:6px 10px;
  font-size:12px;
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
  display:inline-flex;gap:6px;align-items:center;
}
.st-badge--date .ic{ width:14px; height:14px; fill:currentColor; opacity:.85 }
.stl-chip--due{background:transparent;border:0;padding:0}
.stl-chip--due > .st-badge--date{ margin-left:auto }

/* İkonları hafif gri ve belirsiz yap */
.st-ic{
  width:14px; height:14px;
  display:inline-block;
  fill: currentColor;
  opacity: .65;
  margin-right:6px;
  flex: 0 0 auto;
}
.st-badge .st-ic{ opacity:.70; }
.st-badge--date .st-ic{ opacity:.55; }

/* ========= KART BAŞLIĞI: satır temelli sade görünüm ========= */
.st-header{
  display: block;
  margin-bottom: 6px;
}

/* İş tipi başlığı (geri getirildi) */
.st-type{
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color:#0f172a;
  line-height: 1.3;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* Satırlar */
.st-lines{
  display: flex;
  flex-direction: column;
  gap: 10px;                /* dikey araları biraz daha aç */
}

/* Tüm satırlar için ortak tipografi */
.st-line{
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-line .st-ic{
  width:14px; height:14px;
  fill: currentColor;
  opacity: .65;
  flex: 0 0 auto;
}

/* Metin kısaltmaları */
.st-line span{ overflow:hidden; text-overflow:ellipsis; text-transform: capitalize; }

/* META (zarf ikonlu) satırı — ana bilgilerden ayrışsın */
.st-line.st-meta{
  /*margin-top:12px;*/
  padding-top:12px;
  border-top:1px dashed var(--b);
  color: var(--ink);
}
.st-line.st-meta span{ color: var(--ink); }

/* mobilde dosya alta iner (eski kuralla uyumlu kalsın) */
@media (max-width:1099.98px){
  .st-header{grid-template-columns:1fr}
}

/* ========= aksiyon butonları (ikon) ========= */
.stl-actions{display:flex;gap:8px;flex-wrap:wrap}
.stl-act{
  border:1px solid #e5e7eb;border-radius:10px;background:#fff;
  padding:6px 10px;cursor:pointer;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;
  box-shadow: var(--shadow-1);
}
.stl-act--icon{width:34px;height:34px;padding:0}
.stl-act svg{width:18px;height:18px;display:block;fill:#111827}
.stl-act[disabled], .stl-act.is-disabled{opacity:.5;cursor:not-allowed;filter:grayscale(15%)}

/* --- Hesaplama detayları (slide) sadece “Nasıl hesaplandı?” için --- */
.stl-details{
  overflow:hidden;
  max-height:0;
  transition:max-height .28s ease, padding .28s ease;
  border-top:1px dashed var(--b);
  /*margin-top:10px;*/
  padding:0 2px;
}
.stl-details.is-open{ padding-top:10px; }

/* iç metin (hesaplama) */
.stl-calc{ margin:0; padding-left:18px; color:#374151; font-size:12.5px; line-height:1.5; }
.stl-calc li{ margin:4px 0; }

/* --- Detaylar paneli (slide) — ÜÇ ÇİZGİ MENÜ KALDIRILDIĞI İÇİN BU BLOK ARTIK KULLANILMIYOR AMA DOKUNMUYORUZ
   (Diğer bileşenleri bozmamak adına) --- */
.stl-more{
  overflow:hidden;
  max-height:0;
  transition:max-height .28s ease, padding .28s ease, background .28s ease;
  border-top:1px dashed var(--b);
  margin-top:12px;
  padding:0 2px;
  background:transparent;
  border-radius:10px;
}
.stl-more.is-open{ padding:12px; background:var(--soft-2); }

/* Eşit iki kolon bilgi listesi */
.stl-pairs{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px 16px;
  margin:0;
  padding:0;
  list-style:none;
  font-size:13px;
  color:#374151;
  line-height:1.5;
}
.stl-pairs li{ display:flex; flex-direction:column; gap:2px; }
.stl-pairs .k{ font-size:12px; color: var(--muted); }
.stl-pairs .v{ font-size:13px; color: var(--ink); font-weight:500; }
@media (max-width:1099.98px){
  .stl-pairs{ grid-template-columns: 1fr; }
}

/* ========= pager & misc ========= */
.stl-pager{display:none} /* sonsuz kaydırma ile gizli */
.stl-pager button{border:1px solid var(--b);background:#f9fafb;border-radius:8px;padding:6px 10px;cursor:pointer}
.stl-pager button:disabled{opacity:.5;cursor:not-allowed}
.kb-card.row-pending, .mb-card.row-pending, .stl-row.row-pending{opacity:.6;pointer-events:none}

/* ========= İŞLER PANELİ: dış scroll ayarları ========= */
/* Paneli kolon yap: üstte başlık, ortada scroll'lu liste, altta sayfalama */
#st-isler.stl-wrap{
  display: flex;
  flex-direction: column;
  height: clamp(520px, 78dvh, 900px);

}

/* başlık ve pager sabit; liste scroll olur */
#st-isler .stl-head{ flex: 0 0 auto; }
#st-isler .stl-pager{ flex: 0 0 auto; }

/* esas scroll’lu kısım — tam sayfaya yakın uzat (sonsuz kaydırma için) */
#st-isler .stl-list{
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#st-isler .stl-list::-webkit-scrollbar{ width:0; height:0; }

/* ==== Masaüstü: kompakt liste ve kartlar ==== */
@media (min-width:1100px){
  #st-isler .kb-board{
    grid-template-columns: repeat(2, minmax(340px, 520px));
    justify-content: center;
    gap: 18px;
  }
  #st-isler .kb-list{ padding: 10px 12px; }
  #st-isler .kb-card{
    padding: 12px 14px;
    border-radius: 14px;
  }
  #st-isler .kb-row1{ margin-bottom: 10px; gap: 10px; }
  #st-isler .stl-chip{ padding: 9px 10px; font-size: 13px; }
  #st-isler .kb-actions{ margin-top: 10px; gap: 6px; }
  #st-isler .stl-act--icon{ width: 32px; height: 32px; }
}

/* (İsteğe bağlı) dış kabı da çok geniş sayfalarda sınırla */
#st-isler.stl-wrap{
  max-width: 1280px;
	min-width: 862px;
  margin-inline: auto;
}

/* ==== Masaüstü: kolonlar bağımsız scroll ==== */
@media (min-width:1100px){
  #st-isler .stl-list{
    overflow: hidden;           /* dış kapsayıcı scroll yok */
  }
  #st-isler .kb-board{
    height: 100%;
    grid-template-columns: repeat(2, minmax(340px, 520px));
    justify-content: center;
    gap: 18px;
  }
  #st-isler .kb-col{
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: transparent;
    border: 0;
  }
  #st-isler .kb-col-head{
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--canvas);
    border-bottom: 1px solid #eef2f7;
    padding: 10px 12px 6px;
  }
  #st-isler .kb-list{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: none;
  }
  #st-isler .kb-list::-webkit-scrollbar{ width: 0; height: 0; }
}

/* === DESKTOP OVERRIDES: listeleri ayır + kartları daralt === */
@media (min-width:1100px){
  #st-isler .kb-board{
    grid-template-columns: repeat(2, minmax(320px, 480px));
    gap: 24px;
    justify-content: center;
  }
  #st-isler .kb-col{
    background: var(--card);
    border: 1px solid rgba(2,6,23,.08);
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    padding: 2px;
  }
  #st-isler .kb-col:hover{ box-shadow: var(--shadow-2); }
  #st-isler .kb-col-head{
    background: var(--card);
    border-bottom: 1px solid #eef2f7;
    padding: 10px 12px 6px;
  }
  #st-isler .kb-list{ padding: 10px 10px 14px; }
  #st-isler .kb-card{
    width: 94%;
    margin: 0 auto;
    padding: 11px 12px;
    border-radius: 12px;
  }
}

/* === OUTER WRAPPER'I KALDIR + KART/ARKAPLANI AYRIŞTIR + KARTLARI DARALT === */
#st-isler.stl-wrap{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0px !important;

}
@media (min-width:1100px){
  #st-isler .kb-board{
    grid-template-columns: repeat(2, minmax(320px, 460px));
    gap: 28px;
    justify-content: center;
  }
  #st-isler .kb-col{
    background: transparent;
    border: 1px solid rgba(2,6,23,.10);
    border-radius: 14px;
    box-shadow: var(--shadow-1);
    padding: 4px 2px 6px;
  }
  #st-isler .kb-col:hover{ box-shadow: var(--shadow-2); }
  #st-isler .kb-col-head{
    position: sticky; top: 0; z-index: 1;
    background: transparent;
    border-bottom: 1px solid #eef2f7;
    padding: 8px 10px 6px;
  }
  #st-isler .kb-list{
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
    padding: 10px 12px; scrollbar-width: none;
  }
  #st-isler .kb-list::-webkit-scrollbar{ width:0; height:0; }
  #st-isler .kb-card{
    width: 86%;
    margin: 0 auto;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--card);
    box-shadow: var(--shadow-1);
  }
  #st-isler .kb-actions{ margin-top: 10px; gap: 6px; }
  #st-isler .stl-act--icon{ width: 32px; height: 32px; }
}

/* === Listeyi ve kartı daralt; liste↔kart boşluğunu minimuma indir === */
@media (min-width:1100px){
  #st-isler .kb-board{
    grid-template-columns: repeat(2, minmax(300px, 420px));
    gap: 22px;
    justify-content: center;
  }
  #st-isler .kb-col{ padding: 2px 1px 4px; border-radius: 12px; }
  #st-isler .kb-list{ padding: 8px 8px; gap: 12px; }
  #st-isler .kb-card{
    width: 94%;
    margin: 0 auto;
    padding: 10px 12px;
    border-radius: 12px;
  }
  #st-isler .kb-col-head{ padding: 6px 8px 4px; }
  #st-isler .kb-actions{ margin-top: 8px; gap: 6px; }
  #st-isler .stl-act--icon{ width: 30px; height: 30px; }
}

/* === Trello tarzı: Liste paneli ile kart arka planını ayrıştır (masaüstü) === */
@media (min-width:1100px){
  #st-isler{ --list-bg: #f1f2f4; --list-br: rgba(2,6,23,.10); }
  #st-isler .kb-board{
    grid-template-columns: repeat(2, minmax(300px, 420px));
    gap: 22px; justify-content: center;
  }
  #st-isler .kb-col{
    background: var(--list-bg);
    border: 1px solid var(--list-br);
    border-radius: 12px;
    padding: 6px 6px 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
    display: flex; flex-direction: column; min-height: 0;
  }
  #st-isler .kb-col-head{
    background: var(--list-bg);
    border-bottom: 1px dashed rgba(2,6,23,.06);
    padding: 8px 8px 4px;
    position: sticky; top: 0; z-index: 1;
  }
  #st-isler .kb-list{
    background: transparent;
    padding: 6px;
    gap: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #st-isler .kb-list::-webkit-scrollbar{ width:0; height:0; }
  #st-isler .kb-card{
    background: var(--card);
    border: 1px solid rgba(2,6,23,.06);
    border-radius: 12px;
    padding: 10px 12px;
    width: 95%;
    margin: 0 auto;
    box-shadow: var(--shadow-1);
  }
  #st-isler .kb-card:hover{ box-shadow: var(--shadow-2); }
  #st-isler .kb-actions{ margin-top: 8px; gap: 6px; }
  #st-isler .stl-act--icon{ width: 30px; height: 30px; }
}

/* === Üst satır: sağda yumuşak tarih rozeti (tekrar) === */
.st-badge--date{
  --bg:#f7f8fb; --fg:#6b7280; --bd:#eef2f7;
  background:var(--bg);
  color:var(--fg);
  border:1px solid var(--bd);
  border-radius:12px;
  padding:6px 10px;
  font-size:12px;
  font-weight:400;
  display:inline-flex;
  gap:6px;
  align-items:center;
}

/* İş tipi tipografisi (uyumlu) */
.st-type {
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    margin-bottom: 15px;
    margin-top: 5px;
}

/* ======= “Aktif yok” kutusu + İş ekle ======= */
.stl-emptybox{
  background: var(--soft-2);
  border: 1px dashed var(--b);
  color: var(--muted);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}
.stl-emptybox .msg{ margin-bottom: 8px; }
.stl-add-btn{
  appearance:none; border:1px solid var(--b);
  background:#fff; padding:8px 12px; border-radius:10px;
  cursor:pointer; font-size:13px; box-shadow:var(--shadow-1);
}
.stl-add-btn:hover{ box-shadow: var(--shadow-2); }

/* ======= Sonsuz kaydırma alt barı ======= */
.stl-loadmore{
  text-align:center;
  color: var(--muted);
  padding: 10px 8px 16px;
  font-size: 13px;
}

/* === Ek Süre butonu (tarih rozetinin sağı) === */
.st-extend-btn{
  border:1px solid #e5e7eb; background:#fff; color:#111827;
  width:24px; height:24px; border-radius:6px; font-weight:700;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:0 1px 2px rgba(2,6,23,.06);
  cursor:pointer; line-height:1;
}
.st-extend-btn:hover{ box-shadow:0 2px 8px rgba(2,6,23,.12); }
/* tarih rozeti yanında spacing */
.st-top-right{ display:flex; align-items:center; gap:6px; }
/* ek süre etiketi */
.st-badge--date .tag-ek{
  font-size:10px; padding:1px 6px; border-radius:999px;
  background:#eef2f7; color:#6b7280;
}




/* ================= NO-EDIT MODE (CSS ile kilit) =================
   İş düzenlemeyi (düzenle, durum değiştir, sil, iş ekle) devre dışı bırakır.
   Geri almak istersen bu bloğu yorum satırı yapman ya da silmen yeter.
================================================================= */



/* Bilgi ve Ek Süre butonları çalışmaya devam etsin */
#st-isler [data-st-info],
#st-isler [data-st-extend]{
  pointer-events: auto !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Eğer gizlemek yerine görünür ama tıklanamaz olsun istersen
   yukarıdaki display:none bloklarını yorumlayıp bunu aktifleştir. */
/*
#st-isler [data-st-edit],
#st-isler [data-st-status],
#st-isler [data-st-delete],
#st-isler [data-st-open-add]{
  pointer-events: none !important;
  opacity: .45 !important;
  filter: grayscale(80%);
  cursor: not-allowed !important;
}
*/
/* Aksiyon ikonları görünürlüğü ve boyutu */
.stl-actions{ display:flex; gap:8px; }
.stl-act--icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; line-height:1; border-radius:10px;
}
.stl-act--icon svg{
  display:block; width:18px; height:18px; 
  fill:currentColor; stroke:none; /* görünmezlik sorununu çözer */
}




/* Banner için sabit boşluk (layout shift engel) */
#st-filter-slot{
  height: 46px;               /* banner yüksekliği kadar yer ayır */
  position: relative;
  margin: 6px 4px 10px;
}

/* Banner kartı */
#st-filter-banner{
  position: absolute;         /* slot'un içinde, listeyi itmeden durur */
  inset: 0 auto auto 0;
  right: 0; top: 0; margin: 0;

  display: none;              /* filtre yokken */
  align-items: center; gap: 10px;
  padding: 8px 10px;
  background: #f8fafc; color:#0f172a;
  border:1px solid #e5e7eb; border-radius:10px;
  box-shadow:0 1px 2px rgba(2,6,23,.03);
}
#st-filter-banner.is-show{ display:flex; }

#st-filter-banner .ic{ width:16px; height:16px; opacity:.75; }
#st-filter-banner .txt{ font-size:13px; }
#st-filter-banner .txt b{ font-weight:600; }

/* Sağdaki temizleme tuşu */
#st-filter-banner .btn-clear{
  margin-left:auto;
  border:1px solid #e5e7eb; background:#fff;
  border-radius:8px; padding:4px 8px; font-size:12px; cursor:pointer;
}
#st-filter-banner .btn-clear:hover{ background:#f3f4f6; }



/* ——— Aksiyonları sola hizala (masaüstü + mobil) ——— */
#st-isler .kb-actions,
#st-isler .mb-actions{
  justify-content: flex-start !important;
}

/* ——— Butonları ve ikonları küçült ——— */
#st-isler .stl-actions{ gap: 6px !important; }

#st-isler .stl-act--icon{
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border-radius: 8px !important;
}

#st-isler .stl-act--icon svg{
  width: 16px !important;
  height: 16px !important;
  /* minimal görünüm: çizgisel */
  stroke: currentColor;
  fill: none;
}


/* === Aksiyon çubuğu: yeni aralık ve renkler === */
#st-isler .stl-actions{
  gap: 20px !important;                 /* ikonlar arası mesafe */
  align-items: center;
}

/* Buton görünümü ve ikon rengi (mobilde mavi olmasın) */
#st-isler .stl-act--icon {
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    color: #111827 !important;
    -webkit-tap-highlight-color: transparent;
    margin-top: 5px;
    margin-bottom: 5px;
}

#st-isler .stl-act--icon:hover{ background:#f8fafc !important; }
#st-isler .stl-act--icon:active{ transform: translateY(0.5px); }

/* İkon çizgileri: outline, mavi değil */
#st-isler .stl-act--icon svg{
  display:block;
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}

/* Aksiyonları sola hizalı tut (mobil + masaüstü) */
#st-isler .kb-actions,
#st-isler .mb-actions{
  justify-content: flex-start !important;
}


/* === ST_CONFIRM (özel onay modalı) === */
.stc-modal[aria-hidden="true"]{display:none}
.stc-modal{position:fixed; inset:0; z-index:2147483000}
.stc-backdrop{position:absolute; inset:0; background:rgba(2,6,23,.46); backdrop-filter:saturate(120%) blur(1.5px)}
.stc-dialog{position:relative; width:min(520px,92vw); margin:10vh auto; display:flex}
.stc-card{background:#fff; border-radius:14px; box-shadow:0 12px 28px rgba(2,6,23,.18); overflow:hidden; width:100%}
.stc-body{padding:14px 16px}
.stc-title{font-weight:700; color:#0f172a; margin:0 0 6px}
.stc-text{color:#374151; font-size:14px; line-height:1.5}
.stc-actions{display:flex; gap:8px; justify-content:flex-end; padding:10px 16px 14px; background:#f9fafb; border-top:1px solid #eef2f7}
.stc-btn{appearance:none; border:1px solid #e5e7eb; background:#fff; padding:8px 12px; border-radius:10px; font:inherit; font-size:14px; cursor:pointer; color:#111827; -webkit-tap-highlight-color:transparent}
.stc-btn.primary{background:#1a73e8; border-color:#1a73e8; color:#fff}
.stc-btn.danger{background:#ef4444; border-color:#ef4444; color:#fff}
.stc-btn:focus{outline:2px solid #94c6ff; outline-offset:1px}
@media (max-width:520px){
  .stc-dialog{margin:16vh auto 0}
  .stc-actions{padding:10px 12px 12px}
}


/* Konfeti için tam ekran canvas (library varsa bunu kullanırız) */
#st-confetti{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483600; /* modallardan da yukarı */
}


/* Konfeti tuvali: her zaman tam ekran ve en üstte */
canvas.confetti-canvas,
#st-confetti{
  position: fixed !important;
  inset: 0 !important;
  width: 100dvw !important;   /* mobil URL barına uyumlu */
  height: 100dvh !important;
  pointer-events: none !important;
  z-index: 2147483646 !important;
}



/* === Kartı ikiye böl: başlık (tıkla) + gövde (açılır) === */
.st-card-head{
  display:block; width:100%;
  background:transparent; border:0; padding:0; text-align:inherit;
  cursor:pointer;
}
.st-card-head:focus{ outline:2px solid #94c6ff; outline-offset:2px; }

/* Açılır gövde (slide) */
.st-collapse {
    overflow: hidden;
    max-height: 0;
    /* padding transition'ı kaldırdık, sadece yükseklik değişsin */
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    padding: 0; /* Dış kutuda padding olmamalı */
}

/* Kart açılınca dış kutuya padding ekleme işini İPTAL EDİYORUZ */
.kb-card.is-open .st-collapse {
    padding-top: 0; /* Burayı sıfırladık */
}

/* Başlık içindeki tipografi küçük dokunuş */
.kb-card .st-card-head .st-type{ margin-bottom:4px; }

/* Padding'i sabit iç kutuya veriyoruz */
/* Böylece animasyon sırasında içerik hep sabit boyutta kalır */
.st-collapse-inner {
    /*padding: 12px 4px 4px 4px; /* Üstten 12px, diğerleri 4px */
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* ---- Kart başlığı artık div[role=button] ---- */
.st-card-head{
  display:block; width:100%;
  background:transparent; border:0; padding:0; text-align:inherit;
  cursor:pointer;
}
.st-card-head:focus-visible{ outline:2px solid #94c6ff; outline-offset:2px; }
.kb-card .st-card-head .st-type{ margin-bottom:4px; }

/* ---- Mobilde kb-card için çerçeve/border getir ---- */
@media (max-width:1099.98px){
  .stl-mobile-list{ display:flex; flex-direction:column; gap:16px; }
  .kb-card{
    background: var(--card);
    border: 1px solid rgba(2,6,23,.06);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-1);
  }
  .kb-card:hover{ box-shadow: var(--shadow-2); }
}

/* ---- Açılır gövde animasyonu (güvence) ---- */
.st-collapse{
  overflow:hidden;
  max-height:0;
  transition:max-height .28s ease, padding .28s ease;
  padding:0 2px;
}
/*.kb-card.is-open .st-collapse{ padding-top:10px; }*/

/* Toggle başlığında tıklayınca çıkan mavi odak çerçevesini kapat */
.st-card-head{
  -webkit-tap-highlight-color: transparent;  /* iOS Safari dokunma parlaması */
}
.st-card-head:focus,
.st-card-head:active,
.st-card-head:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* Her ihtimale karşı kart düzeyindeki odak halkasını da kapat */
.kb-card:focus,
.kb-card:focus-within{
  outline: none !important;
  box-shadow: none !important;
}

/* === Mobil: arkaplanı hafif gri yap, kartları ayrıştır === */
@media (max-width:1099.98px){
  #st-isler .stl-list{
    background: #ffffff4a !important;
    border: 1px solid rgba(2,6,23,0);
    padding: 8px 8px 14px;
  }

  #st-isler .stl-mobile-list{ gap: 12px; }

  #st-isler .kb-card{
    background: #f9f9f9 !important;
    border: 1px solid rgba(2,6,23,.06);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-1);
  }

  #st-isler.stl-wrap{ 
	  
	  padding: 6px !important;
	  min-width: 92vw;
	
	}
}



/* === Mobil: kartların sağ/sol boşluğunu minimize et === */
@media (max-width:1099.98px){
  /* Dış sargıdaki kenar boşluğu: 8px → 4px */
  #st-isler.stl-wrap{
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /* Liste ve kartları kenara yaklaştır */
  #st-isler .stl-mobile-list{
    padding-left: 2px !important;
    padding-right: 2px !important;
    gap: 12px !important;      /* aradaki dikey boşluk makul kalsın */
  }
  #st-isler .kb-card{
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;    /* tam genişlik */
  }
}


/* === Mobil: sağ/sol boşluğu daha da azalt === */
@media (max-width:1099.98px){
  /* Dış sarma: 1px kenar payı bırak (gerekirse 0 yap) */
  #st-isler.stl-wrap{
    padding-left: 1px !important;
    padding-right: 1px !important;
  }
  /* Liste dolgusunu tamamen kaldır */
  #st-isler .stl-mobile-list{
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 12px !important;
  }
  /* Kartlar tam genişlik; köşe yumuşak dursun */
  #st-isler .kb-card{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 12px !important;
  }
}


@media (max-width:1099.98px){
  .stl-mobile-sep{
    display:flex; align-items:center; gap:10px;
    padding:0px 0px; margin:0px 0 0px;
  }
  .stl-mobile-sep::before,
  .stl-mobile-sep::after{
    content:""; flex:1 1 auto; height:1px; border-radius:2px;
    background: linear-gradient(
      to right,
      rgba(2,6,23,.04), rgba(2,6,23,.14), rgba(2,6,23,.04)
    );
  }
  .stl-mobile-sep .lbl{
    display:inline-flex; align-items:center; gap:6px;
    background:#fff; color:#0f172a;
    border:1px solid #e5e7eb; border-radius:999px;
    padding:6px 10px; font-weight:600; font-size:12.5px;
    box-shadow: var(--shadow-1);
  }
  .stl-mobile-sep .lbl .st-ic{ width:14px; height:14px; opacity:.75; }
  .stl-mobile-sep .lbl .cnt{ font-weight:600; font-size:12px; color:#6b7280; margin-left:2px; }
  /* aktiflerden sonra ayıracı biraz nefesli göster */
  .stl-mobile-list .stl-mobile-sep{ margin-top:25px; }
}


/* === Daha Fazla Yükle — kart gibi, kırpılmadan === */
#st-isler .kb-col{ overflow: visible !important; }      /* gölge kırpılmasın */
#st-isler .kb-list{
  overflow-y: auto;
  overflow-x: hidden;                               /* altta güvenli alan */
}
#st-isler .kb-list::after{ content:""; display:block; height: 4px; }

#st-isler .stl-more {
    display: flex;
    justify-content: center;
    margin: 8px auto 14px;
    width: 95%;
    padding: 10px 8px 50px;
}

/* “Pill” buton */
#st-isler .stl-more-btn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink, #0f172a);
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(2,6,23,.08), 0 1px 2px rgba(2,6,23,.06);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
#st-isler .stl-more-btn:hover{
  background:#f8fafc;
  transform: translateY(-1px);
}
#st-isler .stl-more-btn:active{ transform: translateY(0); box-shadow: 0 3px 8px rgba(2,6,23,.10); }
#st-isler .stl-more-btn:focus-visible{ outline:2px solid var(--primary,#1a73e8); outline-offset:2px; }




@media (min-width:1100px){
  #st-isler .kb-list{
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
    padding: 6px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: transparent #f1f1f1; /* Başlangıçta gizli */
  }
  #st-isler .kb-list.is-scrolling{
    scrollbar-color: #c1c1c1 #f1f1f1; /* Scroll'da görünür */
  }
  #st-isler .kb-list::-webkit-scrollbar{
    width: 8px; height: 8px;
  }
  #st-isler .kb-list::-webkit-scrollbar-track{
    background: #f1f1f1; border-radius: 10px;
  }
  #st-isler .kb-list::-webkit-scrollbar-thumb{
    background: transparent; border-radius: 10px;
    transition: background 0.3s;
  }
  #st-isler .kb-list.is-scrolling::-webkit-scrollbar-thumb{
    background: #c1c1c1;
  }
  #st-isler .kb-list::-webkit-scrollbar-thumb:hover{
    background: #a8a8a8;
  }
  #st-isler .kb-list::-webkit-scrollbar-button{
    display: none; /* Ok işaretleri gizle */
  }
}

@media (max-width:1099.98px){
  #st-isler .stl-list{
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: transparent #f1f1f1; /* Başlangıçta gizli */
  }
  #st-isler .stl-list.is-scrolling{
    scrollbar-color: #c1c1c1 #f1f1f1; /* Scroll'da görünür */
  }
  #st-isler .stl-list::-webkit-scrollbar{
    width: 8px; height: 8px;
  }
  #st-isler .stl-list::-webkit-scrollbar-track{
    background: #f1f1f1; border-radius: 10px;
  }
  #st-isler .stl-list::-webkit-scrollbar-thumb{
    background: transparent; border-radius: 10px;
    transition: background 0.3s;
  }
  #st-isler .stl-list.is-scrolling::-webkit-scrollbar-thumb{
    background: #c1c1c1;
  }
  #st-isler .stl-list::-webkit-scrollbar-thumb:hover{
    background: #a8a8a8;
  }
  #st-isler .stl-list::-webkit-scrollbar-button{
    display: none; /* Ok işaretleri gizle */
  }
}

@media (min-width:1100px){
#st-isler .kb-list::-webkit-scrollbar-button{
display: none !important; /* Yukarı aşağı okları kaldır */
}
}




/* =========================================================
   ST – SKELETON LOADER (NO TEXT) + LAYOUT STABILIZER
   (Tek parça – kopyala/yapıştır)
========================================================= */

/* 1) PHP’nin ilk render’ındaki “Yükleniyor…” yazısını tamamen gizle */
#st-isler .stl-list[aria-busy="true"] > .stl-empty,
#st-isler .stl-list[aria-busy="true"] .stl-empty{
  display:none !important;
}

/* “hourglass / loader” gibi olası loader sınıflarını sadece bu panelde gizle */
#st-isler .st-loader,
#st-isler .stl-loader,
#st-isler .lds-hourglass,
#st-isler .hourglass,
#st-isler [data-loader],
#st-isler .loading,
#st-isler .is-loading{
  display:none !important;
}

/* 2) Mobilde ilk yükte daralıp-genişleme hissini azalt (JS minWidth ile uyumlu) */
@media (max-width:1099.98px){
    #st-isler .stl-list {
        width: 100% !important;
        min-width: 0 !important;
        max-width: clamp(320px, 92vw, 520px) !important;
        margin-inline: auto;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
    }
}


/* 3) Skeleton “shimmer” altyapısı */
#st-isler{
  --skel-1: rgba(15,23,42,.07);
  --skel-2: rgba(15,23,42,.12);
  --skel-br: 10px;
  --skel-speed: 1.15s;
}

@keyframes st-skel-shimmer{
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce){
  #st-isler .st-skel-line,
  #st-isler .st-skel-pill,
  #st-isler .st-skel-date,
  #st-isler .st-skel-btn{
    animation: none !important;
  }
}

/* 4) İlk yükte JS’nin bastığı “skeleton board” elemanları */
#st-isler .st-skel-board,
#st-isler .st-skel-mobile{
  opacity: 1;
}

#st-isler .st-skel-line,
#st-isler .st-skel-pill,
#st-isler .st-skel-date,
#st-isler .st-skel-btn{
  background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 37%, var(--skel-1) 63%);
  background-size: 400% 100%;
  animation: st-skel-shimmer var(--skel-speed) ease-in-out infinite;
  border-radius: var(--skel-br);
}

/* genişlik yardımcıları */
#st-isler .st-skel-line{ display:block; height: 12px; }
#st-isler .st-skel-line.w-80{ width:80%; }
#st-isler .st-skel-line.w-70{ width:70%; }
#st-isler .st-skel-line.w-65{ width:65%; }
#st-isler .st-skel-line.w-55{ width:55%; }

#st-isler .st-skel-pill{ width: 130px; height: 26px; border-radius: 999px; }
#st-isler .st-skel-date{ width: 150px; height: 26px; border-radius: 12px; }

#st-isler .st-skel-btn{
  width: 30px; height: 30px;
  border-radius: 8px;
  display:inline-block;
}

/* skeleton kartlar tıklanmasın (sadece ilk yükte) */
#st-isler .st-skel-card{
  pointer-events: none;
}

/* 5) Yenilemede “mevcut kartlar kalsın ama içi skeletonize olsun”
      -> root’a JS ile .is-skeletonize geliyor
      -> gerçek kartlarda içerik gizlenir, üstüne shimmer bloklar oturur
*/
#st-isler.is-skeletonize .kb-card:not(.st-skel-card),
#st-isler.is-skeletonize .mb-card:not(.st-skel-card){
  position: relative;
}

/* skeletonize sırasında sadece etkileşimleri kilitle (scroll kalsın) */
#st-isler.is-skeletonize [data-st-toggle],
#st-isler.is-skeletonize [data-st-edit],
#st-isler.is-skeletonize [data-st-delete],
#st-isler.is-skeletonize [data-st-status],
#st-isler.is-skeletonize [data-st-info],
#st-isler.is-skeletonize [data-st-extend],
#st-isler.is-skeletonize [data-st-open-add]{
  pointer-events: none !important;
}

/* Üst rozetler: içerik görünmesin ama yer tutmaya devam etsin */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-left,
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-right,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-left,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-right{
  position: relative;
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-left > *,
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-right > *,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-left > *,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-right > *{
  visibility: hidden !important; /* yer kalsın */
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-left::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-left::after{
  content:"";
  display:block;
  width: 130px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 37%, var(--skel-1) 63%);
  background-size: 400% 100%;
  animation: st-skel-shimmer var(--skel-speed) ease-in-out infinite;
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-right::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-right::after{
  content:"";
  display:block;
  width: 70px;
  height: 15px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 37%, var(--skel-1) 63%);
  background-size: 400% 100%;
  animation: st-skel-shimmer var(--skel-speed) ease-in-out infinite;
}

/* Kart başlığı + satırlar: içeriği gizle, üstüne shimmer bloklar çiz */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-type,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-type,
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line{
  position: relative;
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-type > *,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-type > *,
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line > *,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line > *{
  visibility: hidden !important; /* yer kalsın */
}

/* meta satırındaki • gibi metin düğümlerini de görünmez yap */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line.st-meta,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line.st-meta{
  color: transparent !important;
}

/* shimmer blokları (genel) */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-type::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-type::after,
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line::after{
  content:"";
  position:absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  border-radius: var(--skel-br);
  background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 37%, var(--skel-1) 63%);
  background-size: 400% 100%;
  animation: st-skel-shimmer var(--skel-speed) ease-in-out infinite;
  max-width: 100%;
}

/* satır bazlı genişlikler (daha doğal görünsün diye) */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-type::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-type::after{
  width: min(260px, 62%);
  height: 14px;
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line.st-client::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line.st-client::after{
  width: min(240px, 55%);
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line.st-sender::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line.st-sender::after{
  width: min(300px, 72%);
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line.st-file::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line.st-file::after{
  width: min(280px, 66%);
}

#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-line.st-meta::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-line.st-meta::after{
  width: min(340px, 84%);
}

/* Aksiyon alanını da “sabit” tut ama görünmez kalsın (layout bozulmasın) */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .kb-actions,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .mb-actions{
  visibility: hidden !important;
}

/* skeletonize sırasında “Daha fazla yükle” alanı görünmesin (zıplama yapmasın) */
#st-isler.is-skeletonize .stl-more{
  visibility: hidden !important;
}



/* ===== PAGE SUMMARY SKELETON (Aktif iş sayısı bandı) ===== */
[data-st-summary]{
  position:relative;
  --skel-1: rgba(15,23,42,.07);
  --skel-2: rgba(15,23,42,.12);
  --skel-br: 10px;
  --skel-speed: 1.15s;
}

@keyframes st-sum-shimmer{
  0%{ background-position:100% 0; }
  100%{ background-position:0% 0; }
}

[data-st-summary][aria-busy="true"] > *{
  visibility:hidden !important; /* yer kalsın */
}

[data-st-summary][aria-busy="true"]::before{
  content:"";
  position:absolute;
  left:12px; top:50%;
  transform:translateY(-50%);
  width:18px; height:18px;
  border-radius:6px;
  background: linear-gradient(90deg,var(--skel-1) 25%,var(--skel-2) 37%,var(--skel-1) 63%);
  background-size:400% 100%;
  animation: st-sum-shimmer var(--skel-speed) ease-in-out infinite;
}

[data-st-summary][aria-busy="true"]::after{
  content:"";
  position:absolute;
  left:40px; top:50%;
  transform:translateY(-50%);
  height:12px;
  width: clamp(180px, 55%, 420px);
  border-radius: var(--skel-br);
  background: linear-gradient(90deg,var(--skel-1) 25%,var(--skel-2) 37%,var(--skel-1) 63%);
  background-size:400% 100%;
  animation: st-sum-shimmer var(--skel-speed) ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  [data-st-summary][aria-busy="true"]::before,
  [data-st-summary][aria-busy="true"]::after{ animation:none !important; }
}

/* =========================================================
   FIX: Kart yüksekliği hoplamasın (skeleton/refresh)
   -> bunu isler.css en altına ekle
========================================================= */

/* 1) İlk yük skeleton kartları: gerçek kart yüksekliğine yaklaştır */
#st-isler .st-skel-card{
  min-height: 150px; /* gerçek kart ~150px civarı; hoplamayı keser */
}

/* 2) Refresh sırasında mevcut kartları skeletonize ederken:
      st-top-left/right ::after'ları layout'a satır eklemesin */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-left,
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-right,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-left,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-right{
  position: relative;
}

/* SOL rozet shimmer (EKSTRA YÜKSEKLİK EKLEMEZ) */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-left::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-left::after{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:130px;
  height:26px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 37%, var(--skel-1) 63%);
  background-size:400% 100%;
  animation: st-skel-shimmer var(--skel-speed) ease-in-out infinite;
}

/* SAĞ tarih shimmer (EKSTRA YÜKSEKLİK EKLEMEZ) */
#st-isler.is-skeletonize .kb-card:not(.st-skel-card) .st-top-right::after,
#st-isler.is-skeletonize .mb-card:not(.st-skel-card) .st-top-right::after{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:150px;
  height:26px;
  border-radius:12px;
  background: linear-gradient(90deg, var(--skel-1) 25%, var(--skel-2) 37%, var(--skel-1) 63%);
  background-size:400% 100%;
  animation: st-skel-shimmer var(--skel-speed) ease-in-out infinite;
}


/* Takvim alanını referans al */
.st-cal-wrap{ position: relative; }



/* Scroll fix (SADECE işler modülü) */
#st-isler,
#st-isler .kb-col,
#st-isler .stl-list,
#st-isler .kb-list{
  min-height: 0 !important;
}

#st-isler .stl-list{
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#st-isler .kb-list{
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#st-isler .stl-list,
#st-isler .kb-list{
  touch-action: pan-y;
}


/* === Global Empty CTA (tek sefer) === */
#st-isler .st-global-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:26px 16px;
  margin: 14px auto 18px;
  max-width: 100%;
  background: #fff;
  border: 1px dashed var(--b);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  text-align:center;
}

#st-isler .st-global-add{
  width:64px;
  height:64px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
  box-shadow: var(--shadow-2);
  font-size:34px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#111827;
  -webkit-tap-highlight-color: transparent;
}

#st-isler .st-global-title{
  font-weight:700;
  color: var(--ink);
  font-size:16px;
}

#st-isler .st-global-text{
  color: var(--muted);
  font-size:13px;
  line-height:1.45;
  max-width: 46ch;
}

#st-isler .st-empty-state{
  padding: 18px 12px;
  text-align: center;
}


/* =========================================================
   GLOBAL SIRALAMA BAR (TEK BAR) — MINIMAL
   Aktif: tema mavisi + beyaz yazı
========================================================= */

#st-isler .st-global-sortbar{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0px 0 5px;
  padding: 5px 0px 10px;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  /* alttaki “kesik bar” hissi (kalsın demiştin) */
  border-bottom: 1px dashed rgba(15,23,42,.18) !important;
}

/* desktop ortalı, mobil sola */
@media (min-width:1100px){
  #st-isler .st-global-sortbar{ justify-content: center; }
}
@media (max-width:1099.98px){
  #st-isler .st-global-sortbar{ justify-content: flex-start; }
}

#st-isler .stg-btn{
  appearance: none;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 6px 10px;
  border-radius: 999px;

  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;

  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#st-isler .stg-btn .stg-arrow{
  margin-left: 6px;
  opacity: .7;
}

/* Seçili olan: tema mavisi + beyaz yazı */
#st-isler .stg-btn.is-active,
#st-isler .stg-btn[aria-pressed="true"]{
  background: #0a3d7963 !important;
  color: #fff !important;
}
#st-isler .stg-btn.is-active .stg-arrow,
#st-isler .stg-btn[aria-pressed="true"] .stg-arrow{
  opacity: 1;
}

/* (İsteğe bağlı) çok hafif ayraç: ayrık durmasın ama bağırmasın */
#st-isler .stg-btn + .stg-btn {
    position: relative;
    font-weight: 400;
    color: #ffffff;
}
#st-isler .stg-btn + .stg-btn::before{
  content:"";
  position:absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(15,23,42,.16);
}

#st-isler .stg-btn:focus-visible{
  outline: 2px solid rgba(26,115,232,.35);
  outline-offset: 2px;
}

@media (max-width:1099.98px){
    #st-isler .stg-btn {
        padding: 5px 10px;
        font-size: 12.5px;
        font-weight: 400;
        color: white;
    }
}





/* =========================
   EMPTY STATE (Takvim günü boş / Arama sonucu yok)
   CTA kart stilinde
========================= */

#st-isler .st-empty-wrap{
  min-height: clamp(260px, 25vh, 420px);
  display:flex;
  align-items:center;
  justify-content:center;

}

#st-isler .st-empty-cta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;

  width: 100%;
  padding: 22px 16px;

  background: #ffffffe8;
  border: 1px dashed var(--b);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  text-align:center;
}

#st-isler .st-empty-ic{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(2,6,23,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}

#st-isler .st-empty-ic svg{
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  opacity: .85;
}

#st-isler .st-empty-title{
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
  margin-top: 2px;
}

#st-isler .st-empty-text{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  max-width: 56ch;
}

#st-isler .st-empty-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:center;
  margin-top: 6px;
}

#st-isler .st-empty-btn{
  appearance:none;
  border:1px solid var(--b);
  background:#fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-1);
  -webkit-tap-highlight-color: transparent;
}

#st-isler .st-empty-btn:hover{ background:#f8fafc; box-shadow: var(--shadow-2); }

#st-isler .st-empty-btn.primary{
  background:#1a73e8;
  border-color:#1a73e8;
  color:#fff;
}
#st-isler .st-empty-btn.primary:hover{ filter: brightness(.98); }
#st-isler .st-empty-btn:focus-visible{
  outline:2px solid rgba(26,115,232,.35);
  outline-offset: 2px;
}




/* =========================================================
   METİNLİ BUTON GÜNCELLEMESİ
   (İkon + Metin Yan Yana)
========================================================= */

/* Buton genişliğini otomatiğe çek ve iç boşluk ver */
#st-isler .stl-act--icon {
    width: auto !important;     /* Sabit genişliği kaldır */
    height: 36px !important;    /* Yüksekliği koru */
    padding: 0 12px !important; /* Metin için yanlardan boşluk */
    gap: 5px !important;        /* İkon ve metin arası boşluk */
    border-radius: 8px !important;
    justify-content: center;
}

/* İçindeki metni (span) biçimlendir */
#st-isler .stl-act--icon span {
    font-size: 13px;
    font-weight: 400;
    color: inherit;
    white-space: nowrap; /* Metin alt satıra kaymasın */
    display: inline-block;
    line-height: 1;
}

/* Mobilde butonlar çok yer kaplarsa alt satıra geçmeleri için */
#st-isler .stl-actions {
    flex-wrap: wrap;
}

/* İkon boyutunu biraz dengeleyelim */
#st-isler .stl-act--icon svg {
    width: 16px !important;
    height: 16px !important;
}

/* =========================================================
   BUTONLARI TEK SATIRA SIĞDIRMA (FIX)
   Sıralama: Tamamla | Sil | Nasıl Hesaplandı
========================================================= */

/* Kapsayıcı: Asla alt satıra geçmesin (nowrap) ve sola yaslansın */
#st-isler .stl-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0px;
    /*padding-top: 10px;*/
}

/* Buton sitili: Küçültülmüş padding ve esnek yapı */
#st-isler .stl-act--icon {
    flex: 0 0 auto; /* Butonlar büzüşmesin */
    width: auto !important;
    height: 32px !important; /* Yüksekliği biraz azalttık (daha zarif) */
    padding: 0 10px !important; /* Yan boşlukları azalttık */
    border-radius: 8px !important;
    white-space: nowrap !important; /* Buton içi metin kaymasın */
}

/* Buton metni */
#st-isler .stl-act--icon span {
    font-size: 12px !important; /* Fontu 1 tık küçülttük ki sığsın */
    /*font-weight: 200;*/
    line-height: 1;
    display: inline-block;
}

/* İkon boyutu */
#st-isler .stl-act--icon svg {
    width: 15px !important;
    height: 15px !important;
    margin-right: 5px; /* İkon ile metin arası boşluk */
}

/* Mobilde (Ekstra küçük ekranlarda) "Nasıl Hesaplandı?" yazısını sığdırmak için */
@media (max-width: 380px) {
    #st-isler .stl-act--icon {
        padding: 0 8px !important;
    }
    #st-isler .stl-act--icon span {
        font-size: 11.5px !important;
    }
}

/* =========================================================
   HATA BİLDİR (Satır Görünümü)
   Hesaplama detayının en altında, çizgili ayrılmış alan
========================================================= */

.stl-calc-footer {
    margin-top: 10px;           /* Üstteki metinden uzaklaş */
    padding-top: 8px;           /* Çizgi ile buton arası boşluk */
    border-top: 1px dashed #e2e8f0; /* İnce kesik çizgi */
    display: flex;
    align-items: center;
}

.btn-report-line {
    background: transparent;
    border: none;
    padding: 0;                 /* Ekstra boşluk yok */
    
    display: inline-flex;
    align-items: center;
    gap: 6px;
    
    color: #94a3b8;             /* Hafif Gri */
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* İkon Ayarı */
.btn-report-line svg {
    width: 12px;
    height: 12px;
    opacity: 0.8;
}

/* Hover Efekti */
.btn-report-line:hover {
    color: #64748b;             /* Üzerine gelince koyulaşsın */
}

.btn-report-line:hover svg {
    opacity: 1;
}


/* Buton kilitliyken (disabled) içindeki SVG veya İkon dönsün */
#st-btn-refresh:disabled svg, 
#st-btn-refresh:disabled i {
    animation: st-spin 1s linear infinite;
}

@keyframes st-spin {
    100% { transform: rotate(360deg); }
}







/* =========================================================
   CANLI DURUM EFEKTLERİ VE STİLLERİ (Final Revize)
========================================================= */

/* 1. Sinyal Animasyonu (SADECE SON GÜN İÇİN) */
@keyframes st-radar-ping {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* SADECE SON GÜN (.st-live-mode) - Sinyal verir */
.st-live-mode {
    animation: st-radar-ping 2s infinite cubic-bezier(0, 0, 0.2, 1);
    transform: translateZ(0);
}

/* Noktayı sabitle */
.st-badge--danger .dot {
    animation: none !important;
}

/* DURUM: SÜRESİ GEÇTİ (.st-badge--over) 
   YENİ STİL: "Kaşe/Mühür" Görünümü.
   Diğerlerinden tamamen farklı: Koyu Zemin + Beyaz Yazı.
*/
.st-badge--over {
    background-color: #0000007a !important;
    color: #ffffff !important;
    border: #991b1b7a !important;
    animation: none !important;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* İkonu da beyaz yap */
.st-badge--over svg, 
.st-badge--over .st-ic {
    fill: #ffffff !important;
    color: #ffffff !important;
    opacity: 1 !important;
    animation: none !important;
}

/* Ek Süre Düzenleme Butonu */
.st-extend-btn.is-edit {
    background: #f59f00; /* Turuncu */
    color: #fff;
    font-size: 14px; /* Kalem biraz daha büyük olsun */
}
.st-extend-btn.is-edit:hover {
    background: #d97706;
}

/* ================= EK SÜRE DÜZENLEME KALEMİ ================= */

/* +Ek etiketini esnek kutu yap ki içindekiler hizalansın */
.tag-ek {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* Yazı ile kalem arası boşluk */
    padding-right: 6px; /* Sağdan biraz daha boşluk bırak */
}

/* Kutunun içindeki gri kalem ikonu */
.st-edit-icon {
    cursor: pointer;
    font-size: 1.1em; /* Yazıdan bir tık büyük olsun */
    line-height: 1;
    opacity: 0.6; /* Hafif soluk gri */
    transition: opacity 0.2s, transform 0.2s;
}

/* Üzerine gelince belirginleşsin */
.st-edit-icon:hover {
    opacity: 1; /* Tam gri */
    transform: scale(1.1); /* Hafif büyüsün */
}


/* ================= BUTON GRUBU DÜZENLEMESİ ================= */

/* Ana kapsayıcı: Esnek kutu */
.stl-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px; /* Buton grupları arası boşluk */
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* Yan yana duran küçük butonlar grubu */
.stl-actions-side {
    display: flex;
    align-items: center;
    gap: 4px; /* Küçük butonlar arası boşluk */
}

/* --- ANA BUTON (Tamamla/Geri Al) --- */
.stl-act--main {
    flex: 1; /* Kalan tüm boşluğu kapla */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.stl-act--main:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* İkon boyutu */
.stl-act--main svg {
    width: 16px;
    height: 16px;
}

/* --- KÜÇÜK BUTONLAR (Düzenle, Sil, Bilgi) --- */
.stl-btn-mini {
    flex: 0 0 36px; /* Sabit genişlik (Kare) */
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent; /* Çerçeve yok, temiz görünsün */
    background: transparent;
    color: #94a3b8; /* Soluk gri */
    cursor: pointer;
    transition: all 0.2s;
}

.stl-btn-mini svg {
    width: 18px;
    height: 18px;
}

/* Küçük buton hover */
.stl-btn-mini:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Sil butonu özel (Kırmızı hover) */
.stl-btn-mini.btn-danger:hover {
    background: #fef2f2;
    color: #ef4444;
}


/* ================= MİNİMALİST İKON BARI ================= */

.st-actions-bar {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end; /* Tüm butonları sağa yasla */
}

.st-actions-group {
    display: flex;
    align-items: center;
    gap: 6px; /* Butonlar arası boşluk */
    background: #f8fafc; /* Hafif bir zemin (isteğe bağlı, silinebilir) */
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Genel İkon Butonu */
.st-icon-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: #64748b; /* Gri ikon */
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-icon-btn svg {
    width: 18px;
    height: 18px;
}

.st-icon-btn:hover {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}



/* ================= HİBRİT BUTON DÜZENİ ================= */

.stl-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.stl-actions-side {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Ana Buton */
.stl-act--main {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.stl-act--main:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.stl-act--main svg { width: 16px; height: 16px; }

/* Küçük Kare Butonlar */
.stl-btn-mini {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}
.stl-btn-mini:hover {
    background: #f1f5f9;
    color: #334155;
}
.stl-btn-mini svg { width: 18px; height: 18px; }

/* Sil Kırmızısı */
.stl-btn-mini.btn-danger:hover {
    background: #fef2f2;
    color: #ef4444;
}


/* ================= HİBRİT BUTON DÜZENİ (KOMPAKT) ================= */

.stl-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    
    /* DÜZELTME: Boşlukları ciddi oranda azalttık */
    margin-top: 6px;  /* 12px yerine 6px */
    padding-top: 6px; /* 12px yerine 6px */
    border-top: 1px solid #f1f5f9;
}

.stl-actions-side {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Ana Buton */
.stl-act--main {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px; /* Yüksekliği biraz kıstık (36 -> 32) */
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.stl-act--main:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.stl-act--main svg { width: 16px; height: 16px; }

/* Küçük Kare Butonlar */
.stl-btn-mini {
    flex: 0 0 32px; /* Genişlik/Yükseklik kıstık (36 -> 32) */
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}
.stl-btn-mini:hover {
    background: #f1f5f9;
    color: #334155;
}
.stl-btn-mini svg { width: 18px; height: 18px; }

/* Sil Kırmızısı */
.stl-btn-mini.btn-danger:hover {
    background: #fef2f2;
    color: #ef4444;
}