/* Gelisim paneli (public/gelisim.js). Ortak tokenlar style.css'ten (--panel, --line, --text, --muted, --accent); siniflar gl- onekli.
   Alan renkleri kendi tokenlarinda, koyu temada yeniden tanimli. Dar pencere: 720 px ve 520 px kirilimlari. */
:root {
  --gl-kolaylik: #2f6fe4; --gl-verim: #b7790f; --gl-gorunum: #7c5cd6; --gl-guven: #1f9d55;
  --gl-bakim: #5a6f8c; --gl-cihaz: #c2410c; --gl-diger: #6b6b66;
  --gl-hi: #1f9d55; --gl-mid: #2f6fe4; --gl-lo: #8a8a84;
  --gl-done-a: #23a65b; --gl-done-b: #17803f; --gl-done-ink: #fff;
  --gl-hero-a: rgb(47 111 228 / .10); --gl-hero-b: rgb(124 92 214 / .08); --gl-hero-c: rgb(31 157 85 / .07);
  --gl-card-sh: 0 1px 0 rgb(30 30 25 / .03), 0 6px 18px -10px rgb(30 30 25 / .16);
  --gl-card-sh-h: 0 1px 0 rgb(30 30 25 / .04), 0 14px 32px -14px rgb(30 30 25 / .26);
}
@media (prefers-color-scheme: dark) {
  :root {
    --gl-kolaylik: #6e9cf2; --gl-verim: #e2a632; --gl-gorunum: #a78bfa; --gl-guven: #3ccf7c;
    --gl-bakim: #8fa6c8; --gl-cihaz: #fb923c; --gl-diger: #a3a3a0;
    --gl-hi: #3ccf7c; --gl-mid: #6e9cf2; --gl-lo: #7a7a78;
    --gl-done-a: #4fdc8b; --gl-done-b: #2fb768; --gl-done-ink: #04210f;
    --gl-hero-a: rgb(91 143 240 / .14); --gl-hero-b: rgb(167 139 250 / .10); --gl-hero-c: rgb(60 207 124 / .07);
    --gl-card-sh: 0 1px 0 rgb(255 255 255 / .02) inset, 0 8px 22px -12px rgb(0 0 0 / .6);
    --gl-card-sh-h: 0 1px 0 rgb(255 255 255 / .03) inset, 0 16px 36px -14px rgb(0 0 0 / .75);
  }
}

/* Iki gorunumde ayni genislik: baslik, suzgec ve secim cubugu Normal ile Kompakt arasinda gecerken ayni sekilde kalir. */
#gelisim .gl-wrap { max-width: 1320px; gap: 18px; }

/* ---------- baslik */
.gl-hero { position: relative; display: flex; align-items: flex-end; gap: 20px 28px; flex-wrap: wrap; padding: 22px 22px 20px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, var(--gl-hero-a), transparent 55%),
    radial-gradient(90% 120% at 100% 0%, var(--gl-hero-b), transparent 60%),
    radial-gradient(80% 120% at 60% 120%, var(--gl-hero-c), transparent 60%),
    var(--panel); }
.gl-hero h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.gl-hero h1 .ph { font-size: 22px; color: var(--gl-guven); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 4px 12px -6px rgb(31 157 85 / .5); }
/* Eylem blogu: ust satirda iki dugme ayni yukseklikte yan yana, altinda haftalik anahtar ve hemen altinda sonraki saat */
.gl-gen { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 1 auto; }
.gl-gen-btns { display: flex; gap: 8px; }
.gl-gen-btns .btn { height: 38px; }
.gl-gen-auto { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.gl-gen-auto > :not(.gl-auto) { text-align: right; }
.gl-genbtn { height: 38px; padding: 0 16px; font-weight: 600; gap: 8px; box-shadow: 0 6px 16px -8px var(--accent); }
.gl-genbtn .ph { font-size: 16px; }
.gl-genbtn:disabled { opacity: .85; cursor: progress; }
.gl-auto { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-size: 12.5px; user-select: none; }
.gl-auto input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gl-auto .track { width: 30px; height: 18px; border-radius: 999px; background: var(--off); position: relative; transition: background .16s ease; flex: none; }
.gl-auto .knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .18s cubic-bezier(.2, .8, .3, 1); }
.gl-auto input:checked + .track { background: var(--ok); }
.gl-auto input:checked + .track .knob { transform: translateX(12px); }
.gl-auto input:focus-visible + .track { box-shadow: 0 0 0 3px var(--accent-soft); }
.gl-next { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gl-spin { animation: gl-spin 1s linear infinite; display: inline-block; }
@keyframes gl-spin { to { transform: rotate(360deg); } }

/* ---------- son uretim */
/* Son uretim: tek ozet satiri; uretim turu kendi satirinda; eklenenler, atlananlar ve sinir Ayrintilar icinde */
.gl-lastrun { font-size: 12.5px; color: color-mix(in srgb, var(--text) 78%, transparent); display: grid; gap: 6px; }
.gl-lastrun p { margin: 0; }
.gl-lastrun .gl-lr-head { display: flex; align-items: flex-start; gap: 7px; line-height: 1.5; }
.gl-lastrun .gl-lr-head .ph { flex: none; font-size: 15px; margin-top: 2px; }
.gl-lastrun b { color: var(--text); font-weight: 600; }
.gl-lastrun .gl-lr-mode { padding-left: 22px; }
.gl-lr-more { padding-left: 22px; }
.gl-lr-more summary { cursor: pointer; width: max-content; color: var(--text); font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.gl-lr-more summary::-webkit-details-marker { display: none; }
.gl-lr-more summary::before { content: '›'; display: inline-block; transition: transform .15s ease; }
.gl-lr-more[open] summary::before { transform: rotate(90deg); }
.gl-lr-more ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.gl-lr-more li { display: flex; align-items: flex-start; gap: 6px; line-height: 1.45; }
.gl-lr-more li .ph { flex: none; font-size: 14px; margin-top: 2px; color: var(--muted); }
.gl-lr-more li.ok .ph { color: var(--gl-guven); }
/* Son uretimin ekledigi fikir: listede ayni renkte rozet, ozetteki "Eklendi" satiriyla eslesir */
.gl-fromrun { display: inline-flex; align-items: center; gap: 4px; color: var(--gl-guven) !important; font-weight: 600; border: 1px solid color-mix(in srgb, var(--gl-guven) 40%, transparent); border-radius: 999px; padding: 0 8px !important; }
.gl-lastrun.none { margin: 0; display: flex; align-items: center; gap: 6px; }
.gl-lastrun.bad .gl-lr-head { color: var(--bad); }
/* ---------- suzgec */
/* Genis ekran: durum cipleri + Sirala ust satirda, alan cipleri altta. Alan listesi yalniz dar ekranda. */
.gl-filters { display: grid; gap: 10px; position: sticky; top: -28px; z-index: 2; padding: 10px 0; margin: -6px 0 -4px;
  background: linear-gradient(var(--bg) 82%, transparent);
  grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "st view sort" "ar ar ar"; align-items: center; column-gap: 12px; }
.gl-st-row { grid-area: st; }
.gl-filters > .gl-sort { grid-area: sort; justify-self: end; }
.gl-areas { grid-area: ar; display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.gl-filters > .gl-areasel { grid-area: arsel; display: none; }
.gl-filters > .gl-stsel { grid-area: stsel; display: none; }
.gl-sort .ph, .gl-hsubbtn { display: none; }
.gl-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gl-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; min-width: 0; }
.gl-chip { height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; font-size: 12.5px; transition: border-color .12s ease, background .12s ease, color .12s ease; }
.gl-chip span { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.gl-chip .ph { font-size: 14px; }
.gl-chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.gl-chip.on span { color: inherit; opacity: .7; }
/* Secili alan: durum ciplerinden ayri, yumusak dolgu (odak halkasina benzemesin) */
.gl-chip.area.on { background: color-mix(in srgb, var(--gc, var(--accent)) 14%, var(--panel)); color: var(--text); border-color: color-mix(in srgb, var(--gc, var(--accent)) 40%, var(--line)); box-shadow: none; }
.gl-chip.area:not(.a-kolaylik):not(.a-verim):not(.a-gorunum):not(.a-guven):not(.a-bakim):not(.a-cihaz):not(.a-diger).on { --gc: var(--text); background: var(--panel-2); border-color: var(--line); }
/* Grup adlari: Durum ve Alan satirlarini ayirir */
.gl-flab { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.gl-st-hint { display: none; }
.gl-chip:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--accent-soft); }
@media (hover: hover) and (pointer: fine) { .gl-chip:not(.on):hover { border-color: var(--faint); color: var(--text); } }
.gl-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; flex: none; }
.gl-sort select { height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 0 8px; color: var(--text); }

/* alan rengi */
.a-kolaylik { --gc: var(--gl-kolaylik); } .a-verim { --gc: var(--gl-verim); } .a-gorunum { --gc: var(--gl-gorunum); }
.a-guven { --gc: var(--gl-guven); } .a-bakim { --gc: var(--gl-bakim); } .a-cihaz { --gc: var(--gl-cihaz); } .a-diger { --gc: var(--gl-diger); }
.gl-chip.area .ph { color: var(--gc); }

/* ---------- kart */
.gl-list { display: grid; gap: 10px; }
.gl-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 16px 14px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--gl-card-sh);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s cubic-bezier(.2, .8, .3, 1); }
@media (hover: hover) and (pointer: fine) { .gl-card:hover { box-shadow: var(--gl-card-sh-h); border-color: color-mix(in srgb, var(--line) 60%, var(--faint)); } }
.gl-card.st-secildi { border-color: color-mix(in srgb, var(--gl-verim) 45%, var(--line)); }
.gl-card.st-calisiyor { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.gl-card.st-bitti, .gl-card.st-reddedildi { box-shadow: none; background: color-mix(in srgb, var(--panel) 60%, var(--bg)); }
.gl-card.st-reddedildi .gl-title, .gl-card.st-reddedildi .gl-why { color: var(--faint); }
.gl-rank { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); color: var(--muted); }
.gl-rank b { font-size: 15px; font-weight: 600; color: var(--text); }
.gl-rank.none .ph { font-size: 17px; color: var(--faint); }
.gl-list .gl-card:nth-child(-n+3) .gl-rank:not(.none) { background: linear-gradient(160deg, color-mix(in srgb, var(--gl-hi) 22%, var(--panel)), var(--panel)); border-color: color-mix(in srgb, var(--gl-hi) 40%, var(--line)); }
.gl-body { min-width: 0; display: grid; gap: 7px; }
.gl-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.gl-area, .gl-st, .gl-job, .gl-new { height: 22px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.gl-area { color: var(--gc); background: color-mix(in srgb, var(--gc) 11%, transparent); }
.gl-area .ph, .gl-st .ph, .gl-job .ph { font-size: 13px; }
.gl-st { color: var(--muted); background: var(--panel-2); }
.gl-st.s-secildi { color: var(--gl-verim); background: color-mix(in srgb, var(--gl-verim) 12%, transparent); }
.gl-st.s-calisiyor { color: var(--accent); background: var(--accent-soft); }
.gl-st.s-calisiyor .ph { animation: gl-spin 1.6s linear infinite; }
.gl-st.s-bitti { color: var(--gl-guven); background: color-mix(in srgb, var(--gl-guven) 12%, transparent); }
/* Isi Hazir ya da Canlida olunca kendiliginden biten fikir: dolu yesil rozet, yesil sira kutusu ve ince yesil kenar. */
.gl-st.s-bitti.by-job { color: var(--gl-done-ink); font-weight: 600; cursor: help;
  background: linear-gradient(160deg, var(--gl-done-a), var(--gl-done-b));
  box-shadow: 0 1px 0 rgb(255 255 255 / .22) inset, 0 1px 3px -1px color-mix(in srgb, var(--gl-guven) 55%, transparent); }
.gl-card.st-bitti.by-job { border-color: color-mix(in srgb, var(--gl-guven) 35%, var(--line)); }
.gl-card.st-bitti.by-job .gl-rank { border-color: color-mix(in srgb, var(--gl-guven) 40%, var(--line));
  background: linear-gradient(160deg, color-mix(in srgb, var(--gl-guven) 18%, var(--panel)), var(--panel)); }
.gl-card.st-bitti.by-job .gl-rank .ph { color: var(--gl-guven); }
.gl-job { border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; }
.gl-job.off { color: var(--faint); cursor: default; }
@media (hover: hover) and (pointer: fine) { .gl-job:not(.off):hover { border-color: var(--accent); color: var(--accent); } }
.gl-new { color: var(--faint); padding: 0 2px; }
.gl-title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.gl-title button { all: unset; cursor: pointer; display: inline; }
.gl-title button .ph { font-size: 13px; color: var(--faint); margin-left: 6px; vertical-align: 1px; transition: color .12s ease; }
.gl-title button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .gl-title button:hover .ph { color: var(--text); } }
.gl-why { margin: 0; color: color-mix(in srgb, var(--text) 80%, var(--muted)); font-size: 14px; line-height: 1.55; }
.gl-card:not(.open) .gl-why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gl-why, .gl-card:not(.det) .gl-more .gl-sec { max-width: 104ch; }
.gl-meta { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.gl-m { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.gl-m .k { color: var(--muted); }
.gl-m b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.gl-m .ph { font-size: 14px; color: var(--faint); }
/* Puan cubuklari: kalin, dolu ve bos net ayrilir */
.gl-pips { display: inline-flex; gap: 3px; }
.gl-pips i { width: 12px; height: 8px; border-radius: 3px; background: transparent; border: 1.5px solid color-mix(in srgb, var(--muted) 55%, transparent); }
.gl-pips.b i.on { background: var(--gl-hi); border-color: transparent; }
.gl-pips.e i.on { background: var(--gl-verim); border-color: transparent; }
.gl-files { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); overflow: hidden; }
.gl-files .ph { font-size: 14px; flex: none; }
.gl-files em { font-style: normal; }
.gl-more { display: grid; gap: 12px; padding: 12px 14px; margin-top: 4px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.gl-sec h3 { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.gl-ornek { font-style: italic; border: 1px dashed var(--line); padding: 0 7px !important; }
.gl-sec p { margin: 0; line-height: 1.55; }
.gl-sec ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; line-height: 1.5; }
/* Kanit satiri okunur: metin rengine yakin, 13 px; kod parcasi gibi uzun sozcukler yalniz sigmazsa bolunur. */
.gl-ev p { color: color-mix(in srgb, var(--text) 78%, var(--muted)); font-size: 13px; overflow-wrap: break-word; }
.gl-fl { margin-top: 6px !important; display: flex; flex-wrap: wrap; gap: 4px; }
/* Dosya cipi bolunmez: tek satir, sigmazsa sonu ucla kisalir (tam yol ipucunda). */
.gl-fl code { font: 11.5px "Geist Mono", ui-monospace, monospace; padding: 1px 6px; border-radius: 5px; background: var(--panel-2); color: var(--text);
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* Eylemler: tek dolu ana dugme; digerleri sakin simge dugmeleri (genis ekranda ad ipucunda). */
.gl-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.gl-acts .btn { height: 32px; padding: 0 12px; gap: 6px; font-size: 12.5px; }
.gl-acts .btn .ph { font-size: 14px; }
.gl-acts .gl-go { font-weight: 600; background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 12px -6px var(--accent); }
.gl-acts .gl-go:hover { background: var(--accent); filter: brightness(1.08); }
.gl-side { display: inline-flex; gap: 2px; align-items: center; }
.gl-ib { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.gl-ib .ph { font-size: 16px; }
.gl-ib .gl-lbl { display: none; }
.gl-ib:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .gl-ib:hover { background: var(--panel-2); color: var(--text); } .gl-ib.gl-no:hover { color: var(--bad); } }

/* Oncelik: etiket sirasinin sonunda kucuk bir rozet; sira rozetiyle yarismaz. */
.gl-score { margin-left: auto; height: 22px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 11.5px; font-weight: 500; color: var(--muted); background: color-mix(in srgb, var(--tc) 11%, transparent); }
.gl-score b { font-size: 13px; font-weight: 600; color: var(--tc); font-variant-numeric: tabular-nums; }
/* Kanit satiri ve kodda yapilmis notu */
.gl-src { margin: 0; font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-src span { color: var(--muted); font-weight: 500; }
.gl-yap { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gl-guven); }
.gl-yap .ph { font-size: 15px; flex: none; }
.gl-score.t-hi { --tc: var(--gl-hi); } .gl-score.t-mid { --tc: var(--gl-mid); } .gl-score.t-lo { --tc: var(--gl-lo); }

.gl-empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 36px 16px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.gl-empty .ph { font-size: 18px; }

/* ---------- uretim gecmisi */
.gl-runs { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 0 14px; }
.gl-runs summary { display: flex; align-items: center; gap: 8px; height: 42px; cursor: pointer; font-weight: 500; list-style: none; }
.gl-runs summary::-webkit-details-marker { display: none; }
.gl-runs summary span { color: var(--faint); font-weight: 400; font-size: 12px; }
.gl-runs summary .ph { color: var(--muted); }
.gl-runs ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 2px; }
.gl-runs li { display: flex; gap: 12px; align-items: baseline; font-size: 12.5px; padding: 5px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.gl-runs li .w { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 132px; }
.gl-runs li .b { color: var(--faint); min-width: 64px; }
.gl-runs li .r { flex: 1; min-width: 180px; }
.gl-runs li .c { color: var(--faint); font-variant-numeric: tabular-nums; }
.gl-runs li.bad .r { color: var(--bad); }
/* Uretim turu rozeti: yerel tarama (model yerine kod ve plan dosyalari okundu) */
.gl-mode { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; line-height: 18px; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); max-width: 100%; }
.gl-mode .ph { font-size: 12px; }
.gl-lastrun .gl-mode { margin-left: 0; }
.gl-lastrun .gl-limit { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: color-mix(in srgb, var(--text) 72%, transparent); max-width: 72ch; }
.gl-runs .gl-rnote { display: block; font-style: normal; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 2px; }
.gl-runs ul.gl-skips { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.gl-runs ul.gl-skips li { border: 0; padding: 0; font-size: 12px; line-height: 1.45; color: var(--muted); gap: 6px; flex-wrap: nowrap; align-items: flex-start; }
.gl-runs ul.gl-skips .ph { color: var(--faint); flex: none; margin-top: 2px; }
.gl-runs p { margin: 0 0 12px; font-size: 12.5px; }
.gl-file { color: var(--faint); line-height: 1.6; }

/* ---------- istem penceresi */
.gl-dlg { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
.gl-dlg form { display: grid; gap: 10px; }
.gl-dh { display: flex; align-items: flex-start; gap: 12px; }
.gl-dh h2 { flex: 1; margin: 0; font-size: 17px; line-height: 1.35; }
.gl-dsub { margin: -4px 0 2px; color: var(--muted); font-size: 12.5px; }
.gl-dl { font-size: 12px; font-weight: 600; color: var(--muted); }
/* Arka plan belirgin karartilir ve bulaniklasir; ustteki sayfa metni pencerenin arkasindan okunmaz */
.gl-dlg::backdrop { background: rgb(8 8 10 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* Istem kutusu sabit yukseklikte, gorunur kaydirma cubugu ve altta solma: devami oldugu anlasilsin */
.gl-ta { position: relative; }
.gl-ta::after { content: ""; position: absolute; left: 1px; right: 14px; bottom: 1px; height: 40px; border-radius: 0 0 10px 10px; pointer-events: none;
  background: linear-gradient(transparent, var(--bg)); }
.gl-dlg textarea { display: block; width: 100%; height: min(46dvh, 420px); min-height: 220px; resize: none; overflow-y: scroll; padding: 12px 14px 28px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); font: 12.5px/1.6 "Geist Mono", ui-monospace, monospace; outline: 0;
  scrollbar-width: thin; scrollbar-color: var(--faint) transparent; }
.gl-dlg textarea::-webkit-scrollbar { width: 10px; }
.gl-dlg textarea::-webkit-scrollbar-thumb { background: var(--faint); border-radius: 10px; border: 2px solid var(--bg); }
.gl-tahint { margin: -4px 0 0; font-size: 12px; color: var(--muted); }
.gl-dlg textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.gl-dnote { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: 12.5px; line-height: 1.5; }
.gl-dnote .ph { color: var(--accent); font-size: 16px; margin-top: 1px; flex: none; }
.gl-dlg .actions { flex-wrap: wrap; }

/* ---------- dar pencere */
@media (max-width: 720px) {
  #gelisim .gl-wrap { gap: 8px; }
  .gl-hero { padding: 14px 14px 14px; gap: 12px; border-radius: 12px; }
  .gl-hero h1 { font-size: 18px; margin-bottom: 4px; }
  .gl-hero h1 .ph { width: 28px; height: 28px; font-size: 17px; border-radius: 8px; }
  .gl-lastrun .gl-lr-mode, .gl-lr-more { padding-left: 0; }
  /* Suzgec iki ince satir: ustte durum ve alan listesi yan yana, sagda simgeli Sirala; altta tam genislikte Normal / Kompakt.
     Durum cipleri telefonda gizli (ayni secim durum listesinde ve basliktaki adimlarda). */
  .gl-filters { top: -18px; gap: 8px; padding: 6px 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px; grid-template-areas: "stsel arsel sort" "view view view"; }
  .gl-st-row { display: none; }
  .gl-areas { display: none; }
  .gl-filters > .gl-areasel, .gl-filters > .gl-stsel { display: flex; min-width: 0; }
  .gl-areasel select, .gl-stsel select { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 0 8px; color: var(--text); min-width: 0; font-size: 14px; text-overflow: ellipsis; }
  /* Sirala: simgeli kare dugme, gercek secim kutusu ustunde gorunmez (dokununca telefonun kendi listesi acilir) */
  .gl-filters > .gl-sort { position: relative; width: 42px; height: 40px; justify-self: stretch; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); }
  .gl-filters > .gl-sort span { display: none; }
  .gl-filters > .gl-sort .ph { display: block; font-size: 18px; }
  .gl-filters > .gl-sort select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; }
  .gl-filters > .gl-view { width: 100%; justify-self: stretch; }
  .gl-filters > .gl-view .gl-vb { flex: 1 1 0; justify-content: center; }
  /* Yeni kabuk: Gelisim acikken Atolye menusu ustte tek satir, yatay kaydirilir (secili sekme gorunur kalir; revealNav). */
  html.isl-on[data-isv="atolye"]:has(#gelisim:not([hidden])) .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  html.isl-on[data-isv="atolye"]:has(#gelisim:not([hidden])) .is-atl { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 10px; gap: 4px; }
  html.isl-on[data-isv="atolye"]:has(#gelisim:not([hidden])) .is-atl::-webkit-scrollbar { display: none; }
  html.isl-on[data-isv="atolye"]:has(#gelisim:not([hidden])) .is-atl h3 { display: none; }
  html.isl-on[data-isv="atolye"]:has(#gelisim:not([hidden])) .is-atl button { flex: none; white-space: nowrap; height: 32px; }
  html.isl-on[data-isv="atolye"]:has(#gelisim:not([hidden])) .is-atl .is-atl-old { margin-top: 0; }
}
@media (max-width: 520px) {
  /* Kart: sira rozeti solda kucuk; etiket satirinda alan, durum ve oncelik yan yana; neden 3 satir */
  .gl-card { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 14px 14px 12px 12px; }
  .gl-rank { width: 26px; height: 26px; border-radius: 8px; }
  .gl-rank b { font-size: 12.5px; }
  .gl-body { gap: 6px; }
  .gl-card:not(.open) .gl-why { -webkit-line-clamp: 3; }
  .gl-meta { gap: 4px 12px; flex-wrap: nowrap; }
  .gl-files { display: none; }
  .gl-pips { display: none; }
  /* Eylemler: ana dugme tam genislik 44 px; digerleri tek satir, simge ve altinda kisa ad, 44 px */
  .gl-acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .gl-acts .btn { height: 44px; justify-content: center; font-size: 13.5px; }
  .gl-side { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
  .gl-ib { width: auto; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; }
  .gl-ib .gl-lbl { display: block; font-size: 11px; line-height: 1.2; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 4px; }
  .gl-hero h1 { font-size: 20px; }
  .gl-dlg textarea { height: 50dvh; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .gl-spin, .gl-st.s-calisiyor .ph { animation: none; } .gl-card { transition: none; } }

/* Toplu secim, yapilanlar kontrolu ve kanit satirlari */
/* Sol sutun: ustte sira rozeti, altinda kendi yerinde secim kutusu (ust uste binmez) */
.gl-lead { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gl-pick { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.gl-pick input { margin: 0; width: 15px; height: 15px; cursor: pointer; accent-color: var(--gl-mid); }
@media (hover: hover) and (pointer: fine) { .gl-pick:hover { border-color: var(--gl-mid); } }
@media (max-width: 520px) { .gl-lead { gap: 8px; } }
.gl-card.sel { outline: 2px solid color-mix(in srgb, var(--gl-mid) 60%, transparent); outline-offset: -1px; }
.gl-selbar { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 13px; }
.gl-selbar.on { border-color: color-mix(in srgb, var(--gl-mid) 50%, var(--line)); background: color-mix(in srgb, var(--gl-mid) 6%, var(--bg)); }
.gl-selall { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.gl-selall input { accent-color: var(--gl-mid); }
.gl-selinfo { color: var(--muted); }
.gl-sp { flex: 1; }
.gl-next.bad { color: #c9443a; }
.gl-evd { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 2px; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; }
.gl-evd > i { margin-top: 2px; flex: none; }
.gl-evd > span { flex: 1; min-width: 0; }
.gl-evd code { font-size: 11.5px; opacity: .8; }
.gl-evd.ok { background: color-mix(in srgb, var(--gl-hi) 10%, transparent); }
.gl-evd.half { background: color-mix(in srgb, var(--gl-mid) 9%, transparent); }
.gl-evd.warn { background: color-mix(in srgb, #e2a632 14%, transparent); align-items: center; }
.gl-evd .btn { flex: none; }
.gl-donelog li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
@media (max-width: 720px) { .gl-selbar .btn { flex: 1 1 auto; } .gl-donelog li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- kendi fikrin: not kutusu, analiz ve oneri kutusu, "Senin eklediklerin" basligi */
/* Kendi fikrin: tek satirlik kutu (odaklaninca ya da yazinca buyur), dugme sagda ilk satirla hizali, aciklama altta tek satir */
.gl-own { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--gl-card-sh); }
.gl-own-ic { flex: none; align-self: center; font-size: 18px; color: var(--gl-verim); margin-left: 2px; }
.gl-own:not(:focus-within) .gl-own-help { display: none; }
.gl-own label { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; }
.gl-own label .ph { color: var(--gl-verim); font-size: 16px; }
.gl-own-row { display: flex; align-items: flex-start; gap: 10px; }
.gl-own textarea { flex: 1; min-width: 0; height: 38px; min-height: 38px; resize: none; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; line-height: 1.5; transition: height .15s ease; }
.gl-own textarea:focus, .gl-own textarea:not(:placeholder-shown) { height: 76px; resize: vertical; }
.gl-own textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 0; border-color: transparent; }
.gl-own-row .btn { flex: none; height: 38px; }
.gl-own-row kbd { margin-left: 4px; font-size: 10.5px; opacity: .75; }
.gl-own-help { margin: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-sech { display: flex; align-items: center; gap: 7px; margin: 6px 2px 2px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.gl-sech span { font-weight: 500; color: var(--faint); }
.gl-mine { display: inline-flex; align-items: center; gap: 4px; color: var(--gl-verim); font-weight: 600; }
.gl-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.gl-ana { display: flex; align-items: flex-start; gap: 9px; margin: 8px 0 2px; padding: 9px 12px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.gl-ana > .ph { margin-top: 2px; font-size: 17px; flex: none; }
.gl-ana > div { flex: 1; min-width: 0; }
.gl-ana p { margin: 2px 0 0; color: var(--text); }
.gl-ana p.lk { color: var(--muted); font-size: 12px; }
.gl-ana .btn { flex: none; margin-left: auto; }
.gl-ana.run { background: color-mix(in srgb, var(--gl-mid) 10%, transparent); color: var(--muted); }
.gl-ana.ok { background: color-mix(in srgb, var(--gl-hi) 12%, transparent); }
.gl-ana.ok > .ph, .gl-ana.ok b { color: var(--gl-hi); }
.gl-ana.no { background: color-mix(in srgb, #e5484d 12%, transparent); }
.gl-ana.no > .ph, .gl-ana.no b { color: #e5484d; }
.gl-ana.has { background: color-mix(in srgb, var(--gl-mid) 11%, transparent); }
.gl-ana.has > .ph, .gl-ana.has b { color: var(--gl-mid); }
.gl-ana.may { background: color-mix(in srgb, var(--gl-verim) 13%, transparent); }
.gl-ana.may > .ph, .gl-ana.may b { color: var(--gl-verim); }
/* Dar pencere: yazi alani ve kare simge dugmesi tek satirda (kutu ince kalir, ekrandan tasmaz), yardim yazisi kesilmeden sarar */
@media (max-width: 720px) {
  .gl-own { padding: 6px; }
  .gl-own-row { flex-direction: row; align-items: stretch; gap: 6px; }
  .gl-own-row textarea { min-width: 0; height: 40px; min-height: 40px; }
  .gl-own-ic { display: none; }
  .gl-own-row .btn { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .gl-own-row .btn .gl-otx { display: none; }
  .gl-own-help { white-space: normal; }
}
/* Telefon: basliktaki secim kutusu dokunmaya yetecek buyuklukte */
@media (max-width: 520px) {
  .gl-trow .gl-pick { width: 30px; height: 30px; border-radius: 8px; }
  .gl-pick input { width: 16px; height: 16px; }
}

/* ================================================================ Kompakt mod, asama seridi, canli is, iyilestirme (20 Eki)
   Asama rengi --sc: Yeni soluk, Planlandi mor, Calisiyor mavi, Hazir ve Bitti yesil; senden bekleyen sari, duraklatilan gri.
   Klavye gezintisi animasyonsuz (sik kullanilir); yalniz canli nokta yavas atar (azaltilmis harekette durur). */
#gelisim .k-new, #gelisim .k-red { --sc: var(--faint); }
#gelisim .k-plan { --sc: var(--gl-gorunum); }
#gelisim .k-run { --sc: var(--accent); }
#gelisim .k-ready, #gelisim .k-done { --sc: var(--gl-hi); }
#gelisim .gl-att { --sc: var(--gl-verim); }
#gelisim .gl-paused { --sc: var(--muted); }

/* ---------- gorunum anahtari (Normal / Kompakt) ve klavye ipucu */
.gl-view { grid-area: view; display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.gl-vb { height: 26px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; cursor: pointer; transition: background-color .12s ease, color .12s ease, transform .12s ease-out; }
.gl-vb .ph { font-size: 15px; }
.gl-vb.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 0 0 1px var(--line); }
.gl-vb:active { transform: scale(.97); }
.gl-vb:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .gl-vb:not(.on):hover { color: var(--text); } }
.gl-keys { margin: -6px 2px 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 3px; font-size: 11.5px; color: var(--faint); }
.gl-keys .ph { font-size: 14px; margin-right: 4px; }
.gl-keys kbd { font: 10.5px/16px "Geist Mono", ui-monospace, monospace; min-width: 18px; text-align: center; padding: 0 4px; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 4px; background: var(--panel); color: var(--muted); }
@media (hover: none) { .gl-keys { display: none; } }

/* ---------- otomatik uretim: anahtar + siklik */
.gl-autow { display: inline-flex; align-items: center; gap: 8px; }
.gl-every { height: 26px; padding: 0 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--text); font-size: 12.5px; }
.gl-every:disabled { opacity: .55; }

/* ---------- asama akisi (baslik): her adim bir suzgec dugmesi; secili adim dolu */
.gl-flow { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.gl-flow li { --fc: var(--faint); display: inline-flex; align-items: center; }
.gl-flow li > button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; font: inherit; font-size: 12.5px; cursor: pointer;
  color: var(--muted); background: color-mix(in srgb, var(--fc) 9%, var(--panel)); border: 1px solid color-mix(in srgb, var(--fc) 26%, var(--line)); white-space: nowrap;
  transition: background-color .12s ease, border-color .12s ease, transform .12s ease-out; }
.gl-flow li > button:active { transform: scale(.97); }
.gl-flow li > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gl-flow li .ph { font-size: 15px; color: var(--fc); }
.gl-flow li b { font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.gl-flow li.f-plan { --fc: var(--gl-gorunum); } .gl-flow li.f-run { --fc: var(--accent); } .gl-flow li.f-ready, .gl-flow li.f-done { --fc: var(--gl-hi); }
.gl-flow li.zero > button { color: var(--faint); background: transparent; border-style: dashed; }
.gl-flow li.zero b { color: var(--muted); }
.gl-flow li.on > button { color: var(--text); background: color-mix(in srgb, var(--fc) 22%, var(--panel)); border-color: var(--fc); box-shadow: 0 0 0 1px var(--fc) inset; }
@media (hover: hover) and (pointer: fine) { .gl-flow li:not(.on) > button:hover { border-color: color-mix(in srgb, var(--fc) 60%, var(--line)); color: var(--text); } }
.gl-flow li.gl-fsep { color: var(--faint); }
.gl-flow li.gl-fsep .ph { font-size: 12px; color: var(--faint); }
.gl-flow li.f-done { margin-left: 6px; }
.gl-flow em.gl-att { font-style: normal; font-size: 11px; font-weight: 600; padding: 0 7px; line-height: 18px; border-radius: 999px; color: var(--gl-verim); background: color-mix(in srgb, var(--gl-verim) 14%, transparent); }
.gl-flow .gl-pulse { --sc: var(--fc); }
/* Ornek sayfada uydurma durumu sayan adim: kucuk deney sisesi (sayinin ornek oldugu belli; ipucunda kac tane) */
.gl-flow .gl-fornek { font-size: 13px; color: var(--gl-verim); margin-left: -2px; }

/* ---------- canli nokta */
.gl-pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sc, var(--accent)); }
.gl-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: .45; animation: gl-ring 1.8s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes gl-ring { from { transform: scale(1); opacity: .45; } to { transform: scale(2.4); opacity: 0; } }

/* ---------- asama seridi: kisa (dort ince parca) ve tam (adlariyla) */
.gl-strip { display: inline-flex; gap: 2px; align-items: center; flex: none; }
.gl-strip i { width: 8px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--line) 85%, var(--faint)); }
.gl-strip i.on { background: color-mix(in srgb, var(--sc) 55%, transparent); }
.gl-strip i.now, .gl-strip.k-done i.on { background: var(--sc); }
.gl-strip.k-new i.now { background: var(--faint); }
.gl-strip.none { width: 38px; }
.gl-top .gl-strip { margin: 0 2px; }
.gl-stripf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.gl-stripf li { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; height: 26px; padding: 0 6px; border-radius: 7px; font-size: 12px;
  color: var(--faint); background: color-mix(in srgb, var(--line) 45%, transparent); white-space: nowrap; overflow: hidden; }
.gl-stripf li .ph { font-size: 14px; flex: none; }
.gl-stripf li span { overflow: hidden; text-overflow: ellipsis; }
.gl-stripf li.on { color: var(--text); background: color-mix(in srgb, var(--sc) 12%, transparent); }
.gl-stripf li.on .ph { color: var(--sc); }
.gl-stripf li.now { color: var(--bg); background: var(--sc); font-weight: 600; }
.gl-stripf.k-new li.now { color: var(--text); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
/* Duraklatilan isin adimi: "Duraklatildi" adi ve simgesi, sari kenarli yumusak dolgu (gri kapali dugme gibi durmaz). */
.gl-stripf.gl-paused li.now { color: var(--text); background: color-mix(in srgb, var(--gl-verim) 15%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gl-verim) 55%, transparent); }
.gl-stripf.gl-paused li.now .ph { color: var(--gl-verim); }

/* ---------- canli is kutusu (kart ve ayrinti) */
.gl-live { display: grid; gap: 8px; margin: 6px 0 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--sc) 30%, var(--line));
  background: color-mix(in srgb, var(--sc) 5%, var(--panel)); }
.gl-live-r { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.gl-live-n { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.gl-live-n > .ph { font-size: 15px; color: var(--sc); }
.gl-live-n b { font-weight: 600; color: var(--text); }
.gl-live-n em { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gl-live-t { font-size: 12.5px; color: var(--muted); min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-live-a { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- is denetim dugmeleri */
.gl-ctl { display: inline-flex; align-items: center; gap: 2px; }
.gl-ctl.full { gap: 6px; flex-wrap: wrap; }
.gl-cb { height: 26px; min-width: 26px; padding: 0 5px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 12.5px; cursor: pointer; white-space: nowrap;
  transition: background-color .12s ease, color .12s ease, transform .12s ease-out; }
.gl-cb .ph { font-size: 15px; }
.gl-cb:active:not(:disabled) { transform: scale(.97); }
.gl-cb:disabled { opacity: .5; cursor: progress; }
.gl-cb:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gl-ctl.full .gl-cb, .gl-live-a > .gl-cb { height: 30px; padding: 0 10px; border-color: var(--line); background: var(--panel); color: var(--text); }
.gl-cb.c-resume { color: var(--gl-hi); }
.gl-ctl.full .gl-cb.c-resume { border-color: color-mix(in srgb, var(--gl-hi) 45%, var(--line)); }
.gl-cb.ask, .gl-ctl.full .gl-cb.ask { background: var(--bad); border-color: var(--bad); color: #fff; font-weight: 600; padding: 0 9px; }
@media (hover: hover) and (pointer: fine) {
  .gl-cb:not(.ask):hover { background: var(--panel-2); color: var(--text); }
  .gl-cb.c-stop:hover { color: var(--bad); }
}

/* ---------- baslik (iki modda ayni): ust satir ad + asama akisi + dugmeler, alt satir otomatik uretim ve son uretim */
.gl-hero-c { display: grid; gap: 8px; padding: 12px 16px; align-items: stretch; container: gl-hero / inline-size; }
.gl-hrow { display: flex; align-items: center; gap: 10px 16px; min-width: 0; }
.gl-hero-c h1 { margin: 0; font-size: 18px; flex: none; }
.gl-hero-c h1 .ph-plant { width: 30px; height: 30px; font-size: 18px; border-radius: 9px; }
.gl-info { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: -4px; border-radius: 50%; color: var(--faint); cursor: help; }
.gl-hero h1 .gl-info .ph { font-size: 15px; width: auto; height: auto; border: 0; background: none; box-shadow: none; color: inherit; }
.gl-info:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gl-hrow .gl-flow { flex: 1 1 auto; }
.gl-hrow .gl-gen-btns { margin-left: auto; flex: none; }
.gl-hrow .gl-gen-btns .btn { height: 34px; }
.gl-hrow .gl-chk { width: 34px; padding: 0; justify-content: center; }
.gl-hsub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: 12.5px; }
.gl-hsub .gl-gen-auto { display: flex; flex-direction: row; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.gl-hsub .gl-next { font-size: 12.5px; }
/* Son uretim tek satir: ozet, uretim turu rozeti ve Ayrintilar yan yana; acilinca ayrinti alta tam genislikte */
.gl-hsub .gl-lastrun { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; flex: 1 1 340px; min-width: 0; }
.gl-hsub .gl-lastrun .gl-lr-mode, .gl-hsub .gl-lr-more { padding-left: 0; }
.gl-hsub .gl-lr-more[open] { flex: 1 1 100%; }
/* Baslik tek satira sigmazsa asama adimlari butun olarak ikinci satira iner (Bitti tek basina alta dusmez); ad ve dugmeler ustte.
   Genislik iki modda ayni oldugu icin sekil de ayni. Telefon kurallari asagida (720 px). */
@container gl-hero (max-width: 1080px) {
  .gl-hrow { flex-wrap: wrap; row-gap: 8px; }
  .gl-hrow .gl-flow { order: 3; flex: 1 1 100%; }
}

/* ---------- kompakt liste */
.gl-klist { display: block; }
.gl-rows { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; box-shadow: var(--gl-card-sh); }
.gl-lh { margin: 0; padding: 7px 12px 6px; background: var(--bg); border-bottom: 1px solid var(--line); }
.gl-lh:not(:first-child) { border-top: 1px solid var(--line); }
.gl-sech.g-fly, .gl-sech.g-fly .ph { color: var(--accent); }
/* Sabit sutunlar (her satir ayni hizada): secim, sira, baslik (kalan genislik), alan, oncelik, asama seridi, is durumu, eylemler.
   Liste hep tam genislikte (ayrinti satirin altinda acilir). Serit ve is .gl-lmeta icinden (display: contents).
   Is sutunu yalniz isli satir varken; eylem sutunu her satirda ayni genislikte (adli ana eylem + yaninda ikincisi). */
.gl-li { --acts: 196px; display: grid; grid-template-columns: 20px 22px minmax(0, 1fr) 16px 44px 46px var(--acts); align-items: center; column-gap: 10px;
  min-height: 42px; padding: 0 10px 0 12px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); cursor: default; position: relative; }
.gl-rows.has-job .gl-li { grid-template-columns: 20px 22px minmax(0, 1fr) 16px 44px 46px 150px var(--acts); }
.gl-rows:not(.has-job) .gl-ljob { display: none; }
.gl-li:first-child, .gl-lh + .gl-li { border-top: 0; }
.gl-li.sel { background: color-mix(in srgb, var(--gl-mid) 7%, transparent); }
.gl-li.cur { background: color-mix(in srgb, var(--accent) 9%, var(--panel)); box-shadow: inset 3px 0 0 var(--accent); }
.gl-li.open { background: color-mix(in srgb, var(--accent) 13%, var(--panel)); }
.gl-li:focus { outline: 0; }
.gl-li:focus-visible { box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
@media (hover: hover) and (pointer: fine) { .gl-li:not(.cur):not(.open):hover { background: var(--panel-2); } }
.gl-lpick { display: grid; place-items: center; }
.gl-lpick input { margin: 0; width: 15px; height: 15px; cursor: pointer; accent-color: var(--gl-mid); }
.gl-lrank { font-size: 12px; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.gl-lt { all: unset; display: flex; align-items: center; gap: 6px; min-width: 0; padding: 9px 0; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--text); }
/* Baslik kesilmez: gerekirse iki satira sarar (tam adi ipucunda); satir yuksekligi tek satirlik basliklarda ayni kalir. */
.gl-lt > span { min-width: 0; overflow: hidden; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.gl-lt > .gl-rornek { flex: none; display: inline-flex; overflow: visible; align-items: center; gap: 3px; height: 18px; padding: 0 6px; border-radius: 999px; border: 1px dashed var(--line);
  font-size: 11px; font-weight: 400; font-style: italic; color: var(--muted); }
.gl-rornek .ph { font-size: 11px; }
.gl-lt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.gl-lt .ph { flex: none; font-size: 13px; }
.gl-rstar { color: var(--gl-verim); }
.gl-rmine { color: var(--gl-verim); }
.gl-rimp { color: var(--gl-gorunum); }
.gl-li.st-bitti .gl-lt, .gl-li.st-reddedildi .gl-lt { color: var(--muted); font-weight: 400; }
.gl-larea { font-size: 15px; color: var(--gc); justify-self: center; }
.gl-li > .gl-score { margin-left: 0; justify-self: stretch; justify-content: center; padding: 0 6px; }
.gl-lmeta { display: contents; }
/* Satirin tek durum isareti: dort parcali asama seridi (gecilen dolu, simdiki koyu) */
.gl-li .gl-strip { gap: 3px; justify-self: center; }
.gl-li .gl-strip i { width: 8px; height: 6px; border-radius: 2px; }
.gl-ljob { display: flex; align-items: center; min-width: 0; }
/* Is durumu sutunu doldurur: butun durumlar ayni genislikte tek sutun gibi okunur */
.gl-jc { all: unset; box-sizing: border-box; width: 100%; height: 26px; padding: 0 9px 0 8px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, transparent); cursor: pointer; white-space: nowrap; overflow: hidden; }
.gl-jc > .ph { font-size: 13px; flex: none; }
.gl-jc > span { overflow: hidden; text-overflow: ellipsis; }
.gl-jc em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.gl-jc.off { color: var(--faint); background: none; cursor: default; }
.gl-jc:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .gl-jc:not(.off):hover { background: color-mix(in srgb, var(--sc) 20%, transparent); } }
/* Eylem sutunu sabit genislikte, saga yasli; iptal onayi daha genisse sola tasar (yanindaki sutunun ustune) */
.gl-lq { display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.gl-qb { width: 30px; height: 30px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; padding: 0;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease, transform .12s ease-out; }
.gl-qb .ph { font-size: 16px; }
.gl-qb:active { transform: scale(.97); }
.gl-qb:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Satir dugmeleri adli: ana eylem (duraklat mavi, devam et yesil) dolu; iptal yaninda sakin. Isi olmayan fikirde ana eylem
   "Gorev hazirla"; bitti say ve istemiyorum simgeleri yalniz uzerine gelince ya da etkin satirda. */
.gl-lq .gl-cb { height: 30px; padding: 0 10px 0 8px; border-color: var(--line); background: var(--panel); color: var(--text); font-weight: 500; }
.gl-lq .gl-cb .ph { font-size: 16px; }
.gl-lq .gl-cb.pri { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.gl-lq .gl-cb.c-resume { background: var(--gl-hi); border-color: var(--gl-hi); }
.gl-lq .gl-cb.c-stop { color: var(--muted); }
.gl-lq .gl-cb.ask { flex: none; color: #fff; box-shadow: 0 4px 12px -6px var(--bad); }
.gl-qp { height: 30px; padding: 0 11px 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; transition: border-color .12s ease, color .12s ease, transform .12s ease-out; }
.gl-qp .ph { font-size: 15px; color: var(--accent); }
.gl-qp:active { transform: scale(.97); }
.gl-qp:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) {
  .gl-li:not(.cur):not(:hover):not(:focus-within):not(.sel) .gl-qb { opacity: 0; }
  .gl-qb:hover { background: var(--panel-2); border-color: var(--line); color: var(--text); }
  .gl-qb.gl-no:hover { color: var(--bad); }
  .gl-qp:hover { border-color: var(--accent); color: var(--accent); }
  .gl-lq .gl-cb:not(.ask):not(.pri):hover { border-color: var(--faint); background: var(--panel-2); color: var(--text); }
  .gl-lq .gl-cb.pri:hover { filter: brightness(1.08); }
}

/* ---------- ayrinti: secili satirin hemen altinda, satirla ayni vurgu cizgisiyle (hangi satira ait oldugu belli) */
.gl-inl { padding: 10px 16px 8px 54px; background: color-mix(in srgb, var(--accent) 4%, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: inset 3px 0 0 var(--accent); }
/* Kompakt ayrinti kart degil, satirin devami: kenarsiz, golgesiz. Baslik, serit ve is dugmeleri satirda; burada yalniz
   ne yapilacak, bitti sartlari ve kanit yan yana (genis pencerede uc sutun), altinda ince eylem satiri. */
/* Tek sutun: .gl-card'in sira rozeti sutunu (36 px, telefonda 26 px) burada yok; olsaydi ne yapilacak, bitti sartlari ve kanit o dar
   sutuna duser, eylem satiri yanlarina binerdi. .gl-card.det, .gl-card'in 520 px kuralindan ozgul oldugu icin orada da tek sutun. */
.gl-card.det { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 0; }
.gl-dtop { display: grid; gap: 6px; }
.gl-dtop > * { margin: 0; }
.gl-card.det .gl-dcols { display: grid; gap: 10px 24px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 13px; }
.gl-dcols .gl-sec h3 { margin-bottom: 3px; }
.gl-dcols .gl-sec p, .gl-dcols .gl-sec ul { line-height: 1.5; }
/* Kanit kesilmez (tam metin); kanit sutunu ne yapilacak kadar genis. */
@media (min-width: 900px) {
  .gl-card.det .gl-dcols { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.15fr); }
  .gl-dcols .gl-sec + .gl-sec { padding-left: 24px; border-left: 1px solid var(--line); }
}
.gl-dacts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 6px; border-top: 1px dashed var(--line); }
.gl-db { height: 28px; padding: 0 9px 0 7px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; transition: background-color .12s ease, color .12s ease; }
.gl-db .ph { font-size: 15px; }
.gl-db[data-g="improve"] .ph { color: var(--gl-gorunum); }
.gl-db:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gl-db:disabled { opacity: .5; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .gl-db:hover { background: var(--panel-2); color: var(--text); } }
/* Normal modda klavyeyle etkin kart: odak halkasi (secim ana hatti ile karismasin diye golge halka). */
.gl-card[data-card] { outline: 0; }
.gl-card.cur { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent), var(--gl-card-sh); }
/* Kartta secim kutusu baslik satirinda, basligin solunda */
.gl-trow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gl-trow .gl-title { flex: 1; min-width: 0; }
.gl-trow .gl-pick { flex: none; width: 24px; height: 24px; border-radius: 7px; }
.gl-st.star .ph { color: var(--gl-verim); }
.gl-st.s-plan { color: var(--gl-gorunum); background: color-mix(in srgb, var(--gl-gorunum) 12%, transparent); }
.gl-ornek .ph { font-size: 12px; }

/* ---------- secim cubugu: solda hepsini sec, sagda klavye ipucu; secim varsa toplu eylemler */
.gl-selbar .gl-keys { margin: 0; }
.gl-selacts { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; justify-content: flex-end; }
.gl-selacts .btn { height: 32px; padding: 0 11px; gap: 6px; font-size: 12.5px; }
.gl-selacts .btn .ph { font-size: 15px; }
.gl-bn { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: color-mix(in srgb, currentColor 16%, transparent); font-variant-numeric: tabular-nums; }
.gl-selacts .gl-no { color: var(--bad); }
.gl-selacts .gl-bask { background: var(--bad); border-color: var(--bad); color: #fff; font-weight: 600; }

/* ---------- iyilestir ve yeniden calistir */
.gl-acts .gl-impbtn .ph { color: var(--gl-gorunum); }
.gl-imp { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0 2px; padding: 9px 12px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.gl-imp > .ph { margin-top: 2px; font-size: 17px; flex: none; }
.gl-imp > div { flex: 1; min-width: 0; }
.gl-imp ul { margin: 4px 0 0; padding-left: 18px; font-size: 12.5px; display: grid; gap: 2px; }
.gl-imp .gl-imp-n { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.gl-imp-a { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.gl-imp-a .btn { height: 32px; gap: 6px; font-size: 12.5px; }
.gl-imp.run { background: color-mix(in srgb, var(--gl-mid) 10%, transparent); color: var(--muted); }
.gl-imp.ok { background: color-mix(in srgb, var(--gl-gorunum) 10%, transparent); }
.gl-imp.ok > .ph, .gl-imp.ok b { color: var(--gl-gorunum); }
.gl-imp.no { background: color-mix(in srgb, var(--bad) 11%, transparent); }
.gl-imp.no > .ph { color: var(--bad); }
.gl-imp .btn { flex: none; }
.gl-dchg { padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--gl-gorunum) 10%, transparent); font-size: 12.5px; line-height: 1.5; }
.gl-dchg b { display: inline-flex; align-items: center; gap: 6px; color: var(--gl-gorunum); }
.gl-dchg ul { margin: 4px 0 0; padding-left: 18px; }

/* ---------- dar pencere */
@media (max-width: 720px) {
  .gl-keys { display: none; }
  .gl-view { justify-self: end; }
  .gl-vb { height: 40px; padding: 0 10px; }
  /* Baslik iki ince satir: ustte ad ve simge dugmeleri (uret, guncelle, ayarlar), altta tek satir asama adimlari (sayi ve
     simge; senden bekleyen adim sari kenarli). Otomatik uretim ve son uretim satiri disli dugmesiyle acilir. */
  .gl-hero-c { padding: 8px 10px; gap: 6px; border-radius: 12px; }
  .gl-hrow { flex-wrap: wrap; gap: 6px 8px; }
  .gl-hero-c h1 { font-size: 17px; margin: 0; }
  .gl-hero-c h1 .ph-plant { width: 28px; height: 28px; font-size: 16px; }
  .gl-hrow .gl-flow { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gl-hrow .gl-flow::-webkit-scrollbar { display: none; }
  .gl-hrow .gl-gen-btns { gap: 6px; }
  .gl-hrow .gl-gen-btns .btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .gl-genbtn .gl-gtx { display: none; }
  .gl-hsubbtn { display: inline-flex; }
  .gl-hero-c:not(.sub-on) .gl-hsub { display: none; }
  .gl-hsub { gap: 4px 12px; padding-top: 6px; }
  .gl-flow { gap: 4px; }
  .gl-flow li > button { height: 30px; padding: 0 9px; gap: 4px; font-size: 12px; }
  .gl-flow li.gl-fsep { display: none; }
  .gl-flow li button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gl-flow li.f-done { margin-left: 0; }
  .gl-flow em.gl-att { display: none; }
  .gl-flow li.has-att > button { border-color: var(--gl-verim); box-shadow: 0 0 0 1px var(--gl-verim) inset; }
  /* Secim cubugu telefonda cerceveci kutu degil, ince satir */
  .gl-selbar { min-height: 0; gap: 8px; padding: 2px 4px; border-color: transparent; background: transparent; }
  .gl-selbar.on { padding: 8px; border-color: color-mix(in srgb, var(--gl-mid) 50%, var(--line)); }
  /* Satir iki kat: ustte secim, baslik (kesilmeden, uc satira kadar) ve oncelik; altta tek satirda serit, is durumu ve ana eylem.
     Dort sutun: baslik 2-3. sutunu, eylemler 3-4. sutunu kaplar; boylece eylem genisligi basligi daraltmaz. */
  .gl-li, .gl-rows.has-job .gl-li { grid-template-columns: 22px minmax(0, 1fr) auto auto; column-gap: 8px; row-gap: 4px; padding: 6px 8px 8px 10px; }
  .gl-lrank, .gl-larea { display: none; }
  .gl-lpick { grid-column: 1; grid-row: 1; }
  .gl-lt { grid-column: 2 / 4; grid-row: 1; padding: 4px 0; }
  .gl-lt > span { -webkit-line-clamp: 3; }
  .gl-li > .gl-score { grid-column: 4; grid-row: 1; }
  .gl-lmeta { display: flex; align-items: center; gap: 8px; grid-column: 2; grid-row: 2; min-width: 0; }
  .gl-ljob { flex: 1 1 auto; min-width: 0; }
  /* Eylemler durumun yaninda; iptal yalniz simge (adi ekran okuyucuda ve ipucunda, onay adiyla). Bitti say ve istemiyorum
     ayrintida ve toplu cubukta (satir sade kalir). */
  .gl-lq { grid-column: 3 / 5; grid-row: 2; justify-content: flex-end; }
  .gl-lq:empty { display: none; }
  .gl-lq .gl-qb { display: none; }
  .gl-qp, .gl-lq .gl-cb { height: 38px; }
  .gl-lq .gl-cb.c-stop:not(.ask) { width: 38px; padding: 0; }
  .gl-lq .gl-cb.c-stop:not(.ask) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* Ornek etiketi telefonda yalniz simge (adi ipucunda ve ekran okuyucuda) */
  .gl-lt > .gl-rornek { border: 0; padding: 0 2px; }
  .gl-rornek .gl-rotx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gl-flow .gl-fornek { display: none; }
  .gl-ctl.full .gl-cb, .gl-live-a > .gl-cb { height: 38px; }
  .gl-inl { padding: 8px 10px 8px 14px; }
  .gl-selacts { justify-content: flex-start; }
  .gl-selacts .btn { height: 38px; flex: 1 1 auto; justify-content: center; }
  /* Tam serit: simdiki adim adiyla genis, digerleri yalniz simge */
  .gl-stripf { display: flex; }
  .gl-stripf li { flex: 1 1 0; height: 30px; }
  .gl-stripf li.now { flex: 2.6 1 auto; }
  .gl-stripf li:not(.now) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gl-live-t { white-space: normal; }
  .gl-imp { flex-wrap: wrap; }
  .gl-imp-a { margin-left: 26px; }
}
@media (prefers-reduced-motion: reduce) { .gl-pulse::after { animation: none; opacity: 0; } .gl-vb, .gl-cb, .gl-qb, .gl-flow li > button { transition: none; } }
