/* pys_istakip.css — İş Takip · Liste + Haftalık Gözden Geçir
 * ===========================================================================
 * 25 Eylül 2026: birim sekmeleri ve haftalık kontrol (Yön A gövde, Yön B içinde).
 * 28 Eylül 2026 ferahlık turu (REV-21..38): üç yüzey var (hafif başlık, açık nötr
 * çalışma zemini, beyaz liste). Satırda rozet ve kapsül yok. Renk yalnız anlam
 * taşıdığı yerde: birim noktası, resmi kayıt işareti, tek risk satırı, ana düğme.
 * Ferahlık küçük yazıdan değil, daha az görsel nesneden geliyor.
 * Modülün rengi menüdeki çivit (work_track), yeni renk üretilmedi.
 * İş penceresi body'ye taşınır (glass-panel backdrop-filter tuzağı), bu yüzden
 * değişkenler hem sayfada hem pencerede tanımlı. Pencere ortada açılır, sağdan değil.
 * ===========================================================================
 */

#page-istakip,
.it-drawer-backdrop {
    --it-ink: #22303A;
    --it-ink-soft: #5C6B85;
    --it-ink-4: #64748B;
    --it-ink-5: #A6B0BE;
    --it-accent: #4F46E5;
    --it-accent-ink: #3730A3;
    --it-accent-soft: #EEF2FF;
    --it-accent-border: #C7D2FE;
    --it-hero: linear-gradient(135deg, #6D6AF5 0%, #4338CA 48%, #1E1B4B 100%);
    --it-primary: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    --it-glass: rgba(255, 255, 255, .92);
    --it-line: rgba(34, 48, 58, .08);
    --it-line-soft: #E4E7EE;
    --it-hair: rgba(15, 23, 42, .07);
    --it-ground: #FFFFFF;
    --it-field-bg: #F5F7FC;
    --it-danger: #B3202F;
    --it-danger-soft: #FFF1F2;
    --it-danger-border: #FECDD3;
    --it-warn: #B45309;
    --it-warn-icon: #D97706;
    --it-warn-soft: #FFFBEB;
    --it-warn-border: #FDE68A;
    --it-ok: #15803D;
    --it-ok-icon: #16A34A;
    --it-ok-soft: #ECFDF3;
    --it-ok-border: #BBF7D0;
    --it-wait: #1D4ED8;
    --it-wait-soft: #EFF6FF;
    --it-wait-border: #BFDBFE;
    --st-devam: #2563EB;
    --st-kontrol: #1C7A52;
    --st-tamam: #16A34A;
    --st-iptal: #4A3F82;
    --it-font: var(--pys-font-display, 'Plus Jakarta Sans'), system-ui, sans-serif;
}

/* Birim renkleri: nokta, pencere ve kartta aynı renk aynı birim. Listede renk
 * yalnız küçük noktadadır, birimin adı nötr yazılır. */
[data-unit="insan_kaynaklari"] { --it-unit-dot: #DB2777; --it-unit-soft: #FDF2F8; --it-unit-ink: #9D174D; }
[data-unit="satin_alma"]       { --it-unit-dot: #D97706; --it-unit-soft: #FFFBEB; --it-unit-ink: #92400E; }
[data-unit="bakim"]            { --it-unit-dot: #0D9488; --it-unit-soft: #F0FDFA; --it-unit-ink: #115E59; }
[data-unit="bilgi_islem"]      { --it-unit-dot: #2563EB; --it-unit-soft: #EFF6FF; --it-unit-ink: #1E40AF; }
[data-unit="proje"]            { --it-unit-dot: #C026D3; --it-unit-soft: #FDF4FF; --it-unit-ink: #86198F; }
/* İSG ve Üretim 27 Eyl 2026'da geldi: çarkta boş kalan kırmızı ve yeşil-sarı. */
[data-unit="isg"]              { --it-unit-dot: #DC2626; --it-unit-soft: #FEF2F2; --it-unit-ink: #991B1B; }
[data-unit="uretim"]           { --it-unit-dot: #65A30D; --it-unit-soft: #F7FEE7; --it-unit-ink: #3F6212; }
[data-unit="diger"]            { --it-unit-dot: #64748B; --it-unit-soft: #F1F5F9; --it-unit-ink: #334155; }

/* —— Sayfa zemini ——————————————————————————————————————————————————————
 * Açık nötr zemin; her iş kendi beyaz bloğunda durduğu için zemin ile satır arasındaki
 * fark bloğun gölgesinden gelir. Cam bulanıklığı yok. */
#main-app #page-istakip .glass-panel.pys-page-shell {
    background: var(--it-ground);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .05);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: clip;
}

/* —— Başlık: HÇP ve Takvim kalıbı (.hcp-uhead), İş Takip çividi ——————————————————
 * Alperen, 25 Eki 2026: "header yapısı mutlaka HÇP ve takvimdeki gibi, aynı dil, genişlik ve
 * uzunlukta." Bant ölçüleri ortak kuraldan gelir (50 px bant, 36 px simge, 18 px ad), burada
 * yalnız renk ve köşe. Bantta sağda arama. Bandın içinde görünüm sekmeleri Takvim'deki gibi
 * (35 px, seçili olan açık çivit hap). Altındaki beyaz kart HÇP'nin kartıyla aynı boyda (102 px):
 * solda büyük açık iş sayısı ve tek satır özet, sağda Aksiyon Gerekli, Filtre, Şerit ve Yeni İş. */
/* Bant öbür modüllerdeki gibi yalnız degrade (Alperen, 28 Eki 2026): 26 Ekim'deki çapraz çizgi deseni kalktı. */
#main-app #page-istakip .it-uhead { position: relative; overflow: hidden; background: var(--it-hero); border-radius: 19px 19px 0 0; }
.it-uhead .it-search {
    position: relative; margin-left: auto; display: flex; align-items: center; gap: 8px;
    height: 34px; width: auto; padding: 0 12px; overflow: visible; cursor: text;
    border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22);
    color: #fff; box-shadow: none; transition: background .18s ease, box-shadow .18s ease;
}
.it-uhead .it-search::before { content: ''; position: absolute; inset: -5px 0; }
.it-uhead .it-search > i { position: static; color: #fff; font-size: var(--pys-fi-sm); pointer-events: none; }
.it-uhead .it-search input { width: 190px; min-width: 0; opacity: 1; padding: 0; border: 0; background: transparent; outline: none; font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: #fff; }
.it-uhead .it-search input::placeholder { color: rgba(255, 255, 255, .78); font-weight: 600; }
.it-uhead .it-search:focus-within { background: rgba(255, 255, 255, .26); box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.it-uhead .it-search__clear { height: 34px; min-width: 28px; border: 0; background: transparent; color: #fff; cursor: pointer; padding: 0 0 0 4px; font-size: var(--pys-fs-md); line-height: 1; }
.it-uhead .it-search__clear:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.it-uhead .it-search__clear[hidden] { display: none; }
/* Görünmez etiket: arama kutusunun adı ekran okuyucuya gider, gözle görülmez. */
.it-gizli { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Sekmeler bandın içinde (Takvim kalıbı): saydam zemin, beyaz yazı; seçili olan açık çivit hap. */
.it-uhead .it-gorunum { position: relative; z-index: 2; display: flex; align-items: center; gap: 4px; margin: 2px 0 10px; padding: 0; border: 0; }
.it-uhead .it-gorunum[hidden] { display: none; }
.it-uhead .it-view { height: 35px; padding: 0 14px; border-radius: 10px; color: rgba(255, 255, 255, .82); font-size: var(--pys-fs-sm); font-weight: 700; transition: background .15s ease, color .15s ease; }
.it-uhead .it-view::before { inset: -5px 0; }
.it-uhead .it-view b { color: inherit; opacity: .8; }
.it-uhead .it-view:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.it-uhead .it-view[aria-selected="true"] { background: var(--it-accent-soft); color: var(--it-accent-ink); }
.it-uhead .it-view[aria-selected="true"] b { opacity: 1; color: var(--it-accent); }
.it-uhead .it-view[aria-selected="true"]::after { display: none; }
.it-uhead .it-view:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 10px; }
/* Beyaz kart: HÇP'nin kartıyla aynı boy. */
#main-app #page-istakip .it-uhead__card { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 16px; min-height: 102px; padding: 8px 14px; box-sizing: border-box; }
.it-bas { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 300px; font-family: var(--it-font); color: var(--it-ink); }
.it-bas__sayi { font-size: 72px; font-weight: 800; line-height: .9; letter-spacing: -.06em; color: var(--it-ink); font-variant-numeric: tabular-nums; }
.it-bas__ozet { margin: 0; min-width: 0; font-size: var(--pys-fs-sm); font-weight: 600; line-height: 1.4; color: var(--it-ink); }
.it-bas__sag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
/* Özetteki "en eskisi N gündür açık" düğmesi (konsey 8): noktalı alt çizgi, fare üstünde düz. */
.it-bas__eski { padding: 0; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.it-bas__eski:hover { text-decoration-style: solid; }
.it-bas__eski:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; border-radius: 3px; }
.it-gorunum__acts { display: flex; align-items: center; gap: 8px; }
.it-gorunum__acts[hidden] { display: none; }
.it-aksiyon__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 999px; background: var(--it-warn-soft); color: var(--it-warn); font-size: var(--pys-fs-xs); font-weight: 800; font-variant-numeric: tabular-nums; }
/* Düğmeler: beyaz zemin, ince kenar; ana düğme düz çivit (24 Eki 2026: gradyan ve parlama kalktı).
 * Görünen boy 36 piksel, dokunma alanı görünmez kenarla 44 piksele tamamlanır. */
.it-hbtn {
    position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, .14); background: #fff; color: var(--it-ink);
    font: inherit; font-size: var(--pys-fs-sm); font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}
.it-hbtn::before { content: ''; position: absolute; inset: -4px 0; }
.it-hbtn:hover { background: var(--it-field-bg); border-color: rgba(15, 23, 42, .24); }
.it-hbtn:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-hbtn[hidden] { display: none; }
.it-hbtn--on { background: var(--it-accent-soft); border-color: var(--it-accent-border); color: var(--it-accent-ink); }
.it-hbtn--solid { color: #fff; border-color: var(--it-accent); background: var(--it-accent); }
.it-hbtn--solid:hover { background: var(--it-accent-ink); border-color: var(--it-accent-ink); }
.it-hbtn--warn { border-color: var(--it-warn-border); color: var(--it-warn); }
.it-hbtn__n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 999px; background: var(--it-accent); color: #fff; font-size: var(--pys-fs-xs); font-weight: 700; }
.it-hbtn--warn .it-hbtn__n { background: var(--it-warn-icon); }
/* Telefon: arama daralır, sekmeler yana kayar, sayı küçülür, Yeni İş yalnız artı, öbür düğmeler yalnız simge. */
@media (max-width: 640px) {
    .it-uhead .it-search input { width: 120px; }
    #main-app #page-istakip .it-uhead__card { min-height: 0; gap: 10px; padding: 8px 10px; }
    .it-bas { flex-basis: 100%; gap: 12px; }
    .it-bas__sayi { font-size: 48px; }
    .it-bas__sag { width: 100%; margin-left: 0; flex-wrap: nowrap; justify-content: flex-start; }
    .it-bas__sag .it-hbtn:not(.it-hbtn--solid) { font-size: 0; gap: 0; min-width: 40px; padding: 0 10px; justify-content: center; }
    .it-bas__sag .it-hbtn:not(.it-hbtn--solid) > i { font-size: var(--pys-fi-sm); }
    .it-bas__sag .it-aksiyon .it-aksiyon__n { font-size: var(--pys-fs-xs); margin-left: 0; }
    .it-bas__sag .it-hbtn--solid { margin-left: auto; flex: 0 0 40px; width: 40px; padding: 0; gap: 0; justify-content: center; font-size: 0; }
    .it-bas__sag .it-hbtn--solid > i { font-size: var(--pys-fi-sm); }
}

/* —— Gövde ———————————————————————————————————————————————————————————————— */
/* Dikey ritim (konsey 9, 26 Eki 2026): bant ve kart HÇP ile aynı kalır, altındaki boşluklar daraldı; ilk iş yukarı çıkar. */
.it-body { padding: 12px 16px 28px; font-family: var(--it-font); color: var(--it-ink); }
@media (min-width: 768px) { .it-body { padding: 18px 28px 32px; } }
#it-liste[hidden], #it-kontrol-view[hidden] { display: none; }
.it-sep { display: inline-block; margin: 0 7px; color: var(--it-ink-5); }

/* —— Görünüm sekmeleri ——————————————————————————————————————————————————
 * Açık İşler, Haftalık Gözden Geçir, Tamamlananlar: 25 Eki 2026'dan beri bandın içinde (yukarıda
 * .it-uhead .it-view). Temel ölçüler burada, bant rengi ve seçili hap yukarıda. */
.it-views { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.it-view {
    position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0;
    background: transparent; font: inherit; font-size: var(--pys-fs-sm); font-weight: 700; color: var(--it-ink-4); cursor: pointer; white-space: nowrap;
}
.it-view::before { content: ''; position: absolute; inset: -2px 0; }
.it-view i { font-size: var(--pys-fi-sm); }
.it-view b { font-weight: 700; color: var(--it-ink-4); font-variant-numeric: tabular-nums; }
.it-view:focus-visible { outline: 2px solid var(--it-accent); outline-offset: -2px; border-radius: 8px; }
@media (max-width: 640px) {
    .it-views { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; }
    .it-views::-webkit-scrollbar { display: none; }
    .it-view { padding: 0 9px; }
}

/* —— Süzgeç satırı (24 Eki 2026) ————————————————————————————————————————————
 * Birimler yuvarlak çerçeveli düğme, her birinde sayı; seçili olan çivit çerçeveli. Solda
 * Benim İşlerim / Herkesin İşleri aynı biçimde, arada ince ayraç. Sağda sıra notu. */
.it-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 6px; }
.it-toolbar[hidden] { display: none; }
.it-toolbar__sep { display: none; }
.it-birimler { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; min-width: 0; }
.it-birimler[hidden] { display: none; }
.it-scope { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; padding-right: 10px; border-right: 1px solid var(--it-ink); }
.it-scope[hidden] { display: none; }
/* Yön A Mürekkep (26 Eki 2026): düğme değil yazı; seçili olanın altında iki piksel mürekkep çizgi. */
.it-birim {
    position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px; margin-right: 10px; border-radius: 0;
    border: 0; background: transparent; font: inherit; font-size: var(--pys-fs-sm); font-weight: 600;
    color: var(--it-ink-4); cursor: pointer; white-space: nowrap; transition: color .15s ease, box-shadow .15s ease;
}
.it-birim::before { content: ''; position: absolute; inset: -7px -5px; }
.it-birim i { font-size: var(--pys-fi-xs); color: var(--it-ink-5); }
.it-birim b { font-weight: 700; color: var(--it-ink-5); font-variant-numeric: tabular-nums; }
/* Fare üstünde ince alt çizgi (konsey 7): yazı olduğu halde tıklanacağı belli olur. */
.it-birim:hover { color: var(--it-ink); box-shadow: inset 0 -2px 0 rgba(34, 48, 58, .3); }
.it-birim[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--it-ink); color: var(--it-ink); }
.it-birim[aria-pressed="true"] b, .it-birim[aria-pressed="true"] i { color: var(--it-ink); }
.it-birim:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-bar__side { display: flex; align-items: center; margin-left: auto; }
/* Filtre düğmesi süzgeç satırının sağında (konsey 5): not onun yanında. */
.it-toolbar #it-filter-btn { margin-left: auto; height: 32px; }
#it-filter-btn:not([hidden]) + .it-bar__side { margin-left: 12px; }
.it-bar__side:empty { display: none; }
.it-sira { font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); white-space: nowrap; }

/* —— Açık süre şeridi (Alperen, 24 Eki 2026) ———————————————————————————————————
 * Satırlar tek yüzeyde, aralarında ince çizgi; dört sütun: sıra, iş, şerit, gün. Şerit işin
 * açıldığı günden bugüne uzanır, sağ kenarı bugüne sabittir; genişliği en eski işe oranlıdır,
 * rengi yaşından gelir (altı aydan sonra turuncu). Gün sayısı sağda büyük, altı ayı geçen
 * turuncu. Bugün çizgisi şerit sütununun sağ kenarında listenin tamamı boyunca iner;
 * yerini betik hesaplar. Sayfa açılırken şeritler sağdan açılır, satır başına 60 ms gecikmeyle.
 * Satırın üstüne gelince altında çivit çizgi soldan sağa dolar. */
.it-table.it-table--serit { display: block; }
.it-ser-k { --it-ser-no: 36px; --it-ser-sag: 420px; --it-ser-gun: 92px; position: relative; }
/* Eksen satırı yapışık (konsey 1, 26 Eki 2026): liste kaydırılınca üstte kalır, Bugün etiketi içinde. */
.it-ser__eksen {
    position: sticky; top: 0; z-index: 3; background: #fff;
    display: grid; grid-template-columns: var(--it-ser-no) minmax(0, 1fr) var(--it-ser-sag) var(--it-ser-gun); align-items: end;
    height: 26px; padding-bottom: 5px; border-bottom: 1px solid var(--it-line-soft);
    font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4);
}
.it-ser__er { position: relative; height: 100%; }
.it-ser__tik { position: absolute; bottom: 0; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.it-ser__tik--bas { transform: none; }
.it-ser__eg { text-align: right; white-space: nowrap; }
/* Eksen açıklaması (konsey 2, 26 Eki 2026): üç kelime, işaretlerin anlamı yazıyla. */
.it-ser__lej { display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; }
.it-lej { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.it-lej__nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--it-ink); }
.it-lej__cizgi { width: 0; height: 12px; border-left: 2px dotted rgba(34, 48, 58, .5); }
.it-lej__bugun { width: 2px; height: 12px; background: var(--it-ink); }
.it-ser {
    position: relative; display: grid; grid-template-columns: var(--it-ser-no) minmax(0, 1fr) var(--it-ser-sag) var(--it-ser-gun); align-items: center;
    width: 100%; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--it-line-soft);
    font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.it-ser::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--it-ink); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.it-ser:hover::after, .it-ser:focus-within::after, .it-ser.is-hover::after { transform: scaleX(1); }
/* Yeni iş (25 Eki 2026): bugün açılan işte "Yeni" etiketi; kayıttan sonra satır bir süre çivit zeminde kalır. */
.it-ser--flash { animation: it-ser-flash 2.4s ease-out 1; }
@keyframes it-ser-flash { 0%, 45% { background: var(--it-accent-soft); box-shadow: inset 3px 0 0 var(--it-accent); } 100% { background: transparent; box-shadow: none; } }
.it-yeni-et { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; background: var(--it-accent); color: #fff; font-size: 11px; font-weight: 700; }
/* Kontrol bekleyen en üstte (25 Eki 2026): çok açık yeşil zemin, durum kelimesi yeşil. */
.it-ser--kontrol { background: #F3FAF6; }
.it-ser--kontrol .it-ser__risk { color: var(--st-kontrol); }
/* O günkü sıra numarası: işin kimliği değil, listedeki yeri. Düz ve soluk. */
.it-ser__no { font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-4); font-variant-numeric: tabular-nums; }
/* Hatırlattım düğmesine kendi sütunu (konsey 6, 26 Eki 2026): beyaz hale yok, yazı altında kalmaz. */
.it-ser__is { position: relative; display: grid; gap: 3px; min-width: 0; padding-right: 128px; }
.it-ser__ts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.it-ser__t { min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--it-ink); text-decoration: none; overflow-wrap: anywhere; }
.it-ser:hover .it-ser__t, .it-ser.is-hover .it-ser__t { color: var(--it-ink); text-decoration: underline; text-underline-offset: 3px; }
.it-ser__t:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 3px; border-radius: 3px; }
.it-ser__ts .it-acil-tag { flex: 0 0 auto; height: 18px; margin-left: 0; }
.it-ser__m { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; min-width: 0; font-size: var(--pys-fs-sm); line-height: 1.4; color: var(--it-ink-4); }
.it-ser__m > span { white-space: nowrap; }
.it-ser__m .it-sep { margin: 0 6px; }
.it-ser__m b { font-weight: 700; color: var(--it-ink-soft); }
.it-ser__risk { font-weight: 600; color: var(--it-warn); }
.it-ser__iz { position: relative; align-self: stretch; min-height: 24px; }
.it-ser__cubuk { position: absolute; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 0; background: var(--it-yas, #DCE0E8); transform-origin: right center; }
/* Yaş rampası (Yön A): altı aya kadar iki gri, sonrası tek turuncu, bir yıldan sonra koyu turuncu. */
.it-ser--yas1 { --it-yas: #DCE0E8; }
.it-ser--yas2 { --it-yas: #A9B2C2; }
.it-ser--yas3 { --it-yas: #D97706; }
.it-ser--yas4 { --it-yas: #B45309; }
/* Son hatırlatma noktası (25 Eki 2026): mürekkep nokta, beyaz halka; noktadan bugüne kalan boşluk sessizlik. */
.it-ser__son { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px -4px 0 0; border-radius: 50%; background: var(--it-ink); box-shadow: 0 0 0 2px #fff; }
/* Altı ay çizgisi (25 Eki 2026): noktalı, soluk turuncu; eksende "6 ay" turuncu ve kalın. */
.it-ser__esik { position: absolute; bottom: 0; width: 0; border-left: 2px dotted rgba(34, 48, 58, .35); pointer-events: none; }
.it-ser__esik[hidden] { display: none; }
.it-ser__tik--esik { color: var(--it-ink); font-weight: 800; }
/* Tamamlananlar aynı dilde (25 Eki 2026): kapanan işin şeridi gri, sayı mürekkep; kapanış tarihi yeşil. */
.it-ser__el { font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); }
.it-ser--kapali .it-ser__cubuk { background: #A9B2C2; }
.it-ser--kapali .it-ser__gun { color: var(--it-ink); }
.it-ser__gun--yok { color: var(--it-ink-5); font-weight: 500; }
.it-ser__kapanis { color: var(--st-kontrol); font-weight: 600; }
.it-ser__gun { text-align: right; font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--it-ink); font-variant-numeric: tabular-nums; }
.it-ser--eski .it-ser__gun { color: var(--it-warn); }
.it-ser-k--ac .it-ser__cubuk { animation: it-serit-ac .8s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes it-serit-ac { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.it-bugun { position: absolute; top: 30px; bottom: 0; width: 2px; margin-left: -1px; background: var(--it-ink); pointer-events: none; }
.it-bugun[hidden] { display: none; }
.it-ser__bugunet { position: absolute; bottom: 0; right: 6px; font-weight: 700; color: var(--it-ink); white-space: nowrap; }
/* Üstüne gelince tek düğme (22 Eki 2026, IT-42): pencereyi Hatırlattım seçili açar. Masaüstünde
 * yazının sağ ucuna biner, satır kaymaz. Dokunmatikte düğme hep görünür, yalnız zil. */
/* Zil hep görünür (25 Eki 2026): soluk yuvarlak zil her satırda, fare üstünde dolu "Hatırlattım" düğmesi. */
.it-ser__hizli {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 0;
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: #fff; color: var(--it-ink-4); font: inherit; font-size: 0; font-weight: 700;
    white-space: nowrap; cursor: pointer; box-shadow: none; transition: background .15s ease, color .15s ease;
}
.it-ser__hizli i { font-size: 13px; color: var(--it-ink-5); }
.it-ser:hover .it-ser__hizli i, .it-ser:focus-within .it-ser__hizli i, .it-ser.is-hover .it-ser__hizli i { color: #fff; }
.it-ser:hover .it-ser__hizli, .it-ser:focus-within .it-ser__hizli, .it-ser.is-hover .it-ser__hizli, .it-ser__hizli:focus-visible {
    width: auto; padding: 0 12px; gap: 6px; border-radius: 9px; font-size: var(--pys-fs-xs); background: var(--it-accent); color: #fff;
}
.it-ser__hizli:hover { background: var(--it-accent-ink); }
.it-ser__hizli:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
@media (hover: none) {
    .it-ser__is { padding-right: 56px; }
    .it-ser__hizli { right: 8px; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 999px; font-size: 0; gap: 0; background: var(--it-accent); color: #fff; box-shadow: none; }
    .it-ser__hizli i { font-size: 13px; }
}
/* 900 pikselin altında eksen ve bugün çizgisi kalkar, şerit işin adının altına iner, gün sayısı küçülür. */
@container itliste (max-width: 900px) {
    .it-ser-k { --it-ser-gun: 72px; }
    .it-ser__eksen, .it-bugun, .it-ser__esik { display: none; }
    .it-ser { grid-template-columns: var(--it-ser-no) minmax(0, 1fr) var(--it-ser-gun); grid-template-areas: "no is gun" "no iz gun"; row-gap: 8px; }
    .it-ser__no { grid-area: no; align-self: start; padding-top: 3px; }
    .it-ser__is { grid-area: is; padding-right: 56px; }
    .it-ser__iz { grid-area: iz; align-self: auto; min-height: 10px; height: 10px; margin-right: 16px; }
    .it-ser__gun { grid-area: gun; font-size: 23px; }
}
@container itliste (max-width: 560px) {
    .it-ser-k { --it-ser-no: 28px; --it-ser-gun: 56px; }
}
@media (max-width: 640px) {
    .it-scope { padding-right: 0; border-right: 0; }
}

/* Küçük sayılar: kart değil, zeminsiz iki sayı. Sıfırsa soluk, değilse amber. */
.it-metrics { gap: 28px; align-items: flex-start; }
.it-metric { display: grid; gap: 1px; min-width: 60px; }
.it-metric b { font-size: var(--pys-fs-lg); font-weight: 600; line-height: 1.15; color: var(--it-ink-5); font-variant-numeric: tabular-nums; }
.it-metric span { font-size: var(--pys-fs-xs); font-weight: 500; color: var(--it-ink-4); white-space: nowrap; }
.it-metric--hot b { color: var(--it-warn); }
/* Tamamlananlar'da aynı yerde kapanış aralığı: tek sade seçim kutusu. */
.it-range {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 8px 0 12px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    color: var(--it-ink-4);
    font-size: var(--pys-fs-sm);
}
.it-range i { font-size: var(--pys-fi-sm); }
.it-range select { border: 0; background: transparent; font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink); outline: none; cursor: pointer; }
.it-range:focus-within { border-color: var(--it-accent-border); box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }

/* Filtre şeridi: yalnız düğmeyle açılır, birim şeridinin altında kutusuz durur. */
.it-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: -6px 0 20px; font-size: var(--pys-fs-sm); }
.it-filters[hidden] { display: none; }
.it-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.it-filters__l { margin-right: 4px; font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); }
.it-filters .it-chip { height: 30px; padding: 0 11px; border-radius: 8px; background: #fff; border-color: rgba(15, 23, 42, .08); font-weight: 500; }
.it-filters .it-chip b { margin-left: 2px; font-weight: 500; color: var(--it-ink-5); }
.it-filters .it-chip[aria-pressed="true"] { background: var(--it-accent-soft); border-color: var(--it-accent-border); color: var(--it-accent-ink); box-shadow: none; }
.it-filters .it-chip[aria-pressed="true"] b { color: var(--it-accent); }
.it-linkbtn {
    display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent;
    cursor: pointer; font: inherit; font-weight: 600; color: var(--it-accent);
}
.it-linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.it-linkbtn:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; border-radius: 4px; }
.it-note { margin: -8px 0 14px; font-size: var(--pys-fs-sm); color: var(--it-ink-4); }
.it-note b { font-weight: 600; color: var(--it-ink); }
.it-note .it-linkbtn { margin-left: 8px; }
.it-note[hidden] { display: none; }

/* Takip sorumlusu: Haftalık Gözden Geçir kartının üst satırında. */
.it-owner { font-weight: 500; color: var(--it-ink-soft); }

/* —— Liste: her iş kendi bloğunda (karma yön, 10 Eki 2026) —————————————————————
 * İki sütun (20 Eki 2026, IT-16/17): solda iş (ad, birim noktası, kişi, durum satırı),
 * sağda hatırlatma izi (kaç hatırlatma, son kayıt, ne dedi). Durum ve resmi kayıt sütunları
 * kalktı: satırda yalnız farklı olan yazılır. Satıra basınca son üç kayıt ve işlemler
 * satırın içinde açılır. Satırlar ilk açılışta sırayla belirir. */
.it-table { display: grid; gap: 0; container-type: inline-size; container-name: itliste; }
.it-thead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 28px; padding: 0 8px 6px; border-bottom: 1px solid var(--it-line-soft); font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-ink-4); }
.it-row {
    position: relative; background: #fff; border-bottom: 1px solid var(--it-line-soft);
    transition: background .15s ease, transform .2s ease, opacity .3s ease;
}
.it-row:hover { background: #F8F9FC; }
.it-row--pre { opacity: 0; transform: translateY(10px); }
.it-row--flash { animation: it-flash 1.6s ease-out 1; }
@keyframes it-flash { 0% { box-shadow: 0 0 0 3px rgba(79, 70, 229, .35); } 100% { box-shadow: 0 1px 2px rgba(15, 23, 42, .04); } }
.it-row__main {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 28px; align-items: start;
    width: 100%; padding: 13px 8px; border: 0; border-radius: 0; background: transparent; color: inherit;
    font: inherit; text-align: left; cursor: pointer;
}
.it-row__main:focus-visible { outline: 2px solid var(--it-accent); outline-offset: -2px; }
.it-is { min-width: 0; display: grid; gap: 5px; align-content: start; }
/* Kişi satırı ve durum satırı tek akışta (20 Eki 2026, dört iş ilk ekrana sığsın): sığarsa
 * yan yana, sığmazsa durum alt satıra kırılır. */
.it-is__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-width: 0; }
.it-is__t { font-size: var(--pys-fs-md); font-weight: 700; line-height: 1.35; color: var(--it-ink); overflow-wrap: anywhere; }
.it-is__t--btn { border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; font: inherit; font-size: var(--pys-fs-md); font-weight: 700; line-height: 1.35; color: var(--it-ink); }
.it-is__t--btn:hover { color: var(--it-accent-ink); }
.it-is__t--btn:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; border-radius: 6px; }
.it-is__m { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--pys-fs-sm); line-height: 1.45; color: var(--it-ink-4); }
.it-is__m .it-row__unit { color: var(--it-ink-soft); font-weight: 600; }
/* Birim yalnız yazıyla (24 Eki 2026): renkli nokta kalktı. */
.it-row__unit { display: inline-flex; align-items: center; color: var(--it-ink-soft); }
.it-riskline {
    justify-self: start; display: inline-flex; align-items: center; gap: 7px;
    font-size: var(--pys-fs-sm); font-weight: 700; line-height: 1.35; color: var(--it-warn);
}
.it-riskline i { font-size: var(--pys-fi-sm); color: var(--it-warn-icon); }
.it-riskline--late, .it-riskline--late i { color: var(--it-danger); }
/* Durum satırı (IT-16): yalnız farklı olan; boşsa hiç çizilmez. */
.it-durum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--pys-fs-sm); line-height: 1.35; }
.it-durum .it-pill { height: 22px; padding: 0 9px; }
.it-durum__not, .it-durum__takip, .it-durum__bitti { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--it-ink-4); }
.it-durum__takip i, .it-durum__bitti i { font-size: var(--pys-fi-sm); color: var(--it-ink-5); }
.it-durum__bitti i { color: var(--it-ok-icon); }
.it-durum__esc { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--it-warn); }
.it-durum__esc i { font-size: var(--pys-fi-sm); color: var(--it-warn-icon); }
/* Hatırlatma izi (IT-17): sayı yazı boyunda ve nötr, satırın en ağır öğesi işin adı. */
.it-iz { display: grid; gap: 1px; align-content: start; min-width: 0; }
.it-iz__say { font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-ink-4); }
.it-iz__say--none { font-weight: 600; }
.it-iz__n { display: inline-block; font-weight: 800; color: var(--it-ink-soft); font-variant-numeric: tabular-nums; }
.it-iz__n--pop { animation: it-pop .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes it-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); color: var(--it-accent); } 100% { transform: scale(1); } }
.it-iz__son { display: block; font-size: var(--pys-fs-sm); font-weight: 700; line-height: 1.4; color: var(--it-ink); min-width: 0; overflow-wrap: anywhere; }
.it-iz__son i { margin-right: 6px; color: var(--it-ink-4); font-size: var(--pys-fi-xs); }
.it-iz__son .it-sep { margin: 0 6px; }
.it-iz__son--none { color: var(--it-ink-4); font-weight: 500; }
.it-bell--shake { animation: it-shake .7s ease; transform-origin: top center; display: inline-block; }
@keyframes it-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-5deg); } }
.it-iz__dedi { font-size: var(--pys-fs-sm); color: var(--it-ink-soft); line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Resmi kayıt: kapsül yok, yalnız küçük işaret renkli. */
.it-rec {
    display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
    font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-soft);
    border: 0; background: transparent; padding: 0; cursor: default; white-space: nowrap;
}
.it-rec > i:first-child { flex: 0 0 auto; font-size: var(--pys-fi-sm); }
.it-rec__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.it-rec--ok > i:first-child { color: var(--it-ok-icon); }
.it-rec--no > i:first-child { color: var(--it-warn-icon); }
.it-rec--na { color: var(--it-ink-4); }
.it-rec--na > i:first-child { color: var(--it-ink-5); }
button.it-rec { cursor: pointer; border-radius: 6px; }
button.it-rec:hover .it-rec__t { color: var(--it-ink); text-decoration: underline; text-decoration-color: var(--it-warn-border); text-underline-offset: 3px; }
button.it-rec:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
/* Durum hapı: dolu renk, aynı durum her yerde aynı renk. */
.it-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; color: #fff; font-size: var(--pys-fs-xs); font-weight: 800; letter-spacing: .01em; white-space: nowrap; transition: background .3s ease; }
.it-pill i { font-size: var(--pys-fi-xs); }
.it-pill--acik { background: var(--st-devam); }
.it-pill--kontrol { background: var(--st-kontrol); }
.it-pill--tamamlandi { background: var(--st-tamam); }
.it-pill--iptal { background: var(--st-iptal); }
.it-pill--bekliyor { background: var(--it-ink-4); }
.it-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: var(--pys-fs-xs); font-weight: 700; background: var(--it-warn-soft); color: var(--it-warn); border: 1px solid var(--it-warn-border); white-space: nowrap; }
/* Bekleme nedeni (20 Eki 2026): uyarı değil bilgi, bu yüzden nötr gri. */
.it-tag--neden { background: #F1F5F9; color: #334155; border-color: #E2E8F0; }
.it-tag--neden i { color: #64748B; }
/* Acil (20 Eki 2026): işin adının yanında kırmızı etiket, simge ve yazıyla. */
.it-acil-tag {
    display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; margin-left: 2px; vertical-align: 2px;
    border-radius: 6px; font-size: var(--pys-fs-xs); font-weight: 800; letter-spacing: .01em; white-space: nowrap;
    background: var(--it-danger-soft); color: var(--it-danger); border: 1px solid var(--it-danger-border);
}
.it-acil-tag i { font-size: var(--pys-fi-xs); }
.it-drawer__kicker .it-acil-tag { margin-left: 0; }
.it-nowrap { white-space: nowrap; }
.it-menu { position: relative; display: inline-block; }
.it-menu__pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 200px; display: grid; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--it-hair); box-shadow: 0 14px 36px rgba(15, 23, 42, .16); }
.it-menu__pop[hidden] { display: none; }
.it-menu__pop button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink); cursor: pointer; text-align: left; }
.it-menu__pop button:hover { background: var(--it-field-bg); }
.it-menu__pop button.it-menu__dng { color: var(--it-danger); }
/* Dar liste: satır bloğu alt alta dizilir. */
@container itliste (max-width: 900px) {
    .it-thead { display: none; }
    .it-row__main { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
}
@media (max-width: 640px) {
    .it-row__main { padding: 14px; }
}
/* Telefon: sekmeler sıkılaşır, birim şeridi yana kayar. */
@media (max-width: 860px) {
    .it-toolbar { gap: 12px 16px; }
    .it-toolbar .it-bar__side { margin-left: 0; }
    .it-units { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .it-units::-webkit-scrollbar { display: none; }
}
/* Tamamlananlar: listenin altında yalnız sıradaki sayfa ya da yükleme yazısı. */
.it-foot { display: flex; justify-content: center; margin-top: 16px; }
.it-foot:empty { display: none; }
.it-more-btn {
    height: 34px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(15, 23, 42, .1); background: #fff;
    font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-soft); cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.it-more-btn:hover { color: var(--it-ink); border-color: rgba(15, 23, 42, .18); }
.it-more-btn:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-arsiv__msg { margin: 0; font-size: var(--pys-fs-sm); font-weight: 500; color: var(--it-ink-4); }
.it-arsiv__msg--err { color: var(--it-danger); }

/* —— Boş ve yüklenme durumları ———————————————————————————————————————————— */
.it-empty { padding: 48px 24px; text-align: center; color: var(--it-ink-soft); }
.it-empty--small { padding: 32px 20px; }
.it-empty__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.it-empty__icon {
    width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px;
    display: grid; place-items: center; font-size: var(--pys-fi-lg); color: var(--it-accent);
    background: var(--it-accent-soft);
}
.it-empty__t { margin: 0; font-size: var(--pys-fs-md); font-weight: 600; color: var(--it-ink); }
.it-empty__p { margin: 6px auto 0; max-width: 440px; font-size: var(--pys-fs-sm); line-height: 1.5; color: var(--it-ink-4); }
.it-empty__btn {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; margin-top: 16px; padding: 0 14px;
    border: 0; border-radius: 10px; background: var(--it-primary); color: #fff;
    font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; cursor: pointer;
    box-shadow: 0 1px 2px rgba(49, 46, 129, .2), 0 4px 12px rgba(79, 70, 229, .2);
}
.it-sk-wrap { display: block; }
.it-sk { display: grid; gap: 8px; }
.it-sk__unit, .it-sk__row {
    display: inline-block;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(15, 23, 42, .04), rgba(15, 23, 42, .075), rgba(15, 23, 42, .04));
    background-size: 200% 100%;
    animation: it-shimmer 1.3s linear infinite;
}
.it-sk__unit { width: 84px; height: 30px; margin-right: 6px; }
.it-sk__row { display: block; height: 86px; border-radius: 14px; }
@keyframes it-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.it-error { padding: 18px; border-radius: 14px; background: var(--it-danger-soft); border: 1px solid var(--it-danger-border); color: var(--it-danger); font-weight: 600; font-size: var(--pys-fs-sm); }

/* —— Haftalık Gözden Geçir: haftanın turu (B yönü, 10 Eki 2026) ——————————————
 * Koyu hafta başlığında kaçına bakıldığı, kaç hatırlatma yapıldığı, kaç bitti haberi
 * geldiği ve ilerleme çubuğu. Üç bölüm: kontrol bekleyenler, bu hafta bakılmayanlar,
 * bu hafta bakılanlar (soluk). */
/* Haftalık Tur Mürekkep dilinde (konsey 3, 26 Eki 2026): beyaz hafta başlığı, altında mürekkep çizgi; işler tek yüzeyde. */
.it-wk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 0 18px; padding: 8px 0 14px; border-radius: 0; background: #fff; color: var(--it-ink); box-shadow: inset 0 -2px 0 var(--it-ink); }
.it-wk__t { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.it-wk__d { font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-4); margin-top: 3px; }
.it-wk__sel { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 12px; border-radius: 9px; background: #fff; border: 1px solid rgba(15, 23, 42, .16); font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-soft); }
.it-wk__sel select { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--it-ink); outline: none; cursor: pointer; }
.it-wk__sel option { color: var(--it-ink); }
.it-wk__n { margin-left: auto; display: flex; gap: 26px; }
.it-wk__n div { display: grid; gap: 2px; text-align: right; }
.it-wk__n b { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.it-wk__n span { font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); white-space: nowrap; }
.it-wk__p { flex: 1 1 100%; height: 6px; border-radius: 0; background: var(--it-line-soft); overflow: hidden; margin-top: 2px; }
.it-wk__p i { display: block; height: 100%; width: 0; border-radius: 0; background: var(--it-ink); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.it-tsec { display: flex; align-items: baseline; gap: 10px; margin: 22px 2px 10px; padding-bottom: 8px; border-bottom: 2px solid var(--it-ink); }
.it-tsec:first-of-type { margin-top: 0; }
.it-tsec h3 { margin: 0; font-size: var(--pys-fs-md); font-weight: 800; color: var(--it-ink); }
.it-tsec b { font-weight: 700; color: var(--it-ink-4); font-size: var(--pys-fs-sm); font-variant-numeric: tabular-nums; }
.it-tsec__hint { margin-left: auto; font-size: var(--pys-fs-xs); color: var(--it-ink-4); font-weight: 600; }
.it-tlist { display: grid; gap: 8px; }
.it-tlist--dim .it-trow { opacity: .6; }
.it-trow {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px 230px; column-gap: 18px; align-items: center;
    padding: 14px 8px; background: transparent; border-radius: 0; border: 0; border-bottom: 1px solid var(--it-line-soft);
    transition: opacity .35s ease, transform .35s ease, background .15s ease;
}
.it-trow:hover { background: #FAFAFC; }
.it-trow--leave { opacity: 0; transform: translateX(28px); }
.it-th { display: grid; gap: 3px; min-width: 0; }
.it-th__n { font-size: var(--pys-fs-md); font-weight: 700; display: flex; align-items: center; gap: 6px; color: var(--it-ink); }
.it-th__n i { color: var(--it-ink-4); font-size: var(--pys-fi-xs); }
.it-th__n--ok { color: var(--st-kontrol); }
.it-th__n--none { color: var(--it-ink-4); font-weight: 500; }
.it-th__s { font-size: var(--pys-fs-sm); color: var(--it-ink-4); line-height: 1.4; }
.it-th__s b { color: var(--it-ink-soft); font-weight: 600; }
.it-trow__acts { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.it-th__done { display: inline-flex; align-items: center; gap: 6px; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-4); }
.it-kdone {
    margin: 14px 0 0; padding: 16px 20px; border-radius: 14px; text-align: center;
    background: var(--it-ok-soft); border: 1px solid var(--it-ok-border); color: var(--it-ok);
    font-size: var(--pys-fs-md); font-weight: 700;
}
.it-kdone i { margin-right: 6px; }
/* Boş tur bölümü tek satır (22 Eki 2026, IT-33). */
.it-tsec-bos { display: flex; align-items: center; gap: 8px; margin: 0 2px 16px; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-4); }
.it-tsec-bos i { color: var(--st-kontrol); }
#it-kontrol-view { container-type: inline-size; container-name: itkontrol; }
@container itkontrol (max-width: 900px) {
    .it-trow { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
    .it-th, .it-trow__acts { grid-column: 1 / -1; }
    .it-trow__acts { justify-content: flex-start; }
}
@media (max-width: 640px) { .it-wk__n { margin-left: 0; gap: 18px; } .it-wk { padding: 10px 14px; } }

/* —— Düğmeler: aynı iş her ekranda aynı renk ——————————————————————————— */
.it-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--it-line);
    background: #fff;
    font: inherit;
    font-size: var(--pys-fs-sm);
    font-weight: 700;
    color: var(--it-ink);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.it-btn i { font-size: var(--pys-fi-sm); }
.it-btn:hover { background: var(--it-field-bg); }
.it-btn:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 1px; }
.it-btn[disabled] { opacity: .55; cursor: not-allowed; }
.it-btn--primary { border-color: transparent; background: var(--it-hero); color: #fff; box-shadow: 0 8px 18px rgba(67, 56, 202, .3); }
.it-btn--primary:hover { background: var(--it-hero); filter: saturate(1.08); transform: translateY(-1px); }
.it-btn--done { border-color: var(--it-ok-border); background: var(--it-ok-soft); color: var(--it-ok); }
.it-btn--done:hover { background: #DCFCE7; }
.it-btn--reopen { border-color: var(--it-accent-border); background: var(--it-accent-soft); color: var(--it-accent-ink); }
.it-btn--cancel { color: var(--it-ink-soft); }
.it-btn--danger { border-color: var(--it-danger-border); color: var(--it-danger); }
.it-btn--danger:hover { background: var(--it-danger-soft); }
.it-btn--ghost { border-color: transparent; background: transparent; color: var(--it-ink-soft); }
.it-btn--sm { height: 32px; padding: 0 12px; border-radius: 9px; font-size: var(--pys-fs-sm); font-weight: 600; }
.it-btn--kontrol { border-color: #BBE5D1; background: #EAF7F0; color: var(--st-kontrol); }
.it-btn--kontrol:hover { background: #DDF2E6; }
/* İşi Güncelle (20 Eki 2026): satırın tek ana düğmesi, Yeni İş'le aynı çivit. */
.it-btn--guncelle { border-color: transparent; background: var(--it-primary); color: #fff; box-shadow: 0 6px 14px rgba(79, 70, 229, .24); }
.it-btn--guncelle:hover { background: var(--it-primary); filter: saturate(1.08); transform: translateY(-1px); }
.it-btn--warn { border-color: var(--it-warn-border); color: var(--it-warn); background: #fff; }
.it-btn--warn:hover { background: var(--it-warn-soft); }

/* —— İş penceresi (ortada açılır) —————————————————————————————————————————————
 * Alperen 27 Eyl 2026: hiçbir modülde sağdan açılan panel olmaz, ayrıntı ve form
 * ortada açılan pencerededir. Sınıf adı eskiden kalma "drawer", görünüm pencere.
 * Başlık ve alttaki düğmeler sabit durur, uzun içerik pencerenin içinde kayar. */
.it-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(34, 48, 58, .38);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    font-family: var(--it-font);
    color: var(--it-ink);
}
.it-drawer-backdrop.hidden { display: none; }
/* Ortak soru penceresi (Sil, Kaydetmeden Çıkılsın mı?) bu pencerenin ve hatırlatma sonrası
 * küçük pencerenin (170) üstünde açılır: katmanı ortak kuralda, 1100 (P-01, 29 Eyl 2026). */
.it-drawer {
    width: min(640px, 100%);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(34, 48, 58, .32), 0 4px 14px rgba(34, 48, 58, .12);
    transform: translateY(10px) scale(.98);
    opacity: 0;
    animation: it-pencere .24s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes it-pencere { to { transform: none; opacity: 1; } }
@media (max-width: 560px) {
    .it-drawer-backdrop { padding: 10px; }
    .it-drawer { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
}
/* Sakin Pencere (Yön B, 28 Eyl 2026): başlık koyu gradyan değil, sayfa başlığındaki
 * açık lavanta tül. Eylem şeridi başlığın altında kaymaz, gövde kayar. */
.it-drawer__head {
    flex: 0 0 auto; padding: 16px 18px 14px; display: flex; align-items: flex-start; gap: 12px;
    color: var(--it-ink);
    background: linear-gradient(100deg, #EEF0FE 0%, #F4F4FE 42%, #FBFBFD 100%);
    box-shadow: inset 0 -1px 0 rgba(79, 70, 229, .08);
}
.it-drawer__kicker { margin: 0 0 4px; font-size: var(--pys-fs-sm); font-weight: 500; color: var(--it-ink-4); display: flex; align-items: center; flex-wrap: wrap; }
/* Esnek kutuda simgeden sonraki boşluk düşüyor, "+Yeni İş" bitişik görünüyordu (P-12). */
.it-drawer__kicker > i { margin-right: 6px; }
.it-drawer__st { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--it-ink-soft); }
.it-drawer__st i { font-size: var(--pys-fi-sm); }
.it-drawer__st--tamamlandi { color: var(--it-ok); }
.it-drawer__title { margin: 0; font-size: var(--pys-fs-lg); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--it-ink); overflow-wrap: anywhere; }
.it-drawer__title[hidden] { display: none; }
/* Okuma kipinde başlık satırı: ad tek başına, düzenleme sağ sütundaki Düzenle'den (22 Eki 2026, IT-34). */
.it-drawer__titlerow { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.it-drawer__titlerow .it-drawer__title { flex: 1 1 auto; min-width: 0; }
.it-title-l { display: block; margin: 2px 0 4px; font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-soft); }
.it-title-l[hidden] { display: none; }
/* Ad alanı öteki alanlar gibi çerçeveli kutu: yalnız alt çizgiyken düzenlenebildiği
 * anlaşılmıyordu (Zeynep, 15 Eki 2026). */
.it-title-input {
    width: 100%; border: 1px solid var(--it-accent-border); border-radius: 11px; background: #fff; color: var(--it-ink);
    font: inherit; font-size: var(--pys-fs-lg); font-weight: 700; line-height: 1.35; padding: 7px 12px; outline: none; resize: none; overflow: hidden;
}
.it-title-input::placeholder { color: var(--it-ink-5); font-weight: 600; }
.it-title-input:focus { border-color: var(--it-accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }
/* index.html'deki genel :focus-visible çerçevesi kutunun kendi odak halkasına ikinci
 * çerçeve çizmesin. */
.it-title-input:focus-visible { outline: none; }
.it-title-input[disabled] { border-color: transparent; background: transparent; padding-left: 0; }
.it-title-input[hidden] { display: none; }
.it-drawer__meta { margin: 6px 0 0; font-size: var(--pys-fs-xs); font-weight: 500; color: var(--it-ink-4); }
.it-drawer__meta[hidden] { display: none; }
.it-drawer__close {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; border: 0;
    background: transparent; color: var(--it-ink-4); font-size: var(--pys-fs-xl); line-height: 1; cursor: pointer;
}
.it-drawer__close:hover { background: rgba(79, 70, 229, .08); color: var(--it-ink); }
.it-drawer__close:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 1px; }
.it-drawer__acts { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--it-line); }
.it-drawer__acts[hidden] { display: none; }
.it-drawer__acts .it-btn { height: 34px; padding: 0 12px; border-radius: 10px; font-size: var(--pys-fs-sm); font-weight: 600; }
.it-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 18px 18px; display: grid; gap: 14px; align-content: start; }
.it-drawer__body--read { padding-top: 16px; gap: 18px; }
/* Başkasının işinde "sen de yazabilirsin" notu. */
.it-missing { margin: -6px 0 0; font-size: var(--pys-fs-sm); line-height: 1.5; color: var(--it-ink-4); }
@media (max-width: 560px) {
    .it-drawer__acts { padding: 10px 14px; }
}
/* Düzenle kipi ve Yeni İş: kutusuz tek düzen, iki sütun (Yön B). Tür, Birim ve Kayıt
 * Yeri açılır kutu. Birim kutusunun başındaki nokta seçili birimin rengini taşır. */
.it-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.it-field--wide { grid-column: 1 / -1; }
.it-selwrap { position: relative; display: block; }
.it-selwrap::before {
    content: ''; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    border-radius: 50%; background: var(--it-unit-dot, transparent); pointer-events: none;
}
.it-selwrap select.it-input { padding-left: 28px; }
/* Birim seçilmemişken nokta yok, yazı Tür kutusundakiyle aynı yerden başlar (P-11). */
.it-selwrap[data-unit=""] select.it-input { padding-left: 12px; }
/* Tespit Tarihi, Sonraki Takip ve Termin tek satırda (P-11). */
.it-form__dates { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-items: start; }
/* align-content: start — yan yanadaki alanın alt yazısı bu alanı uzatınca etiket
 * satırı şişip kutu aşağı kaymasın (Sonraki Takip ile Termin aynı hizada). */
.it-field { display: grid; gap: 4px; align-content: start; min-width: 0; }
.it-field__l { font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-soft); }
/* iPad ve iPhone'da tarih kutusu kendi genişliğinde çiziliyor, sütundan taşıp yanındaki
 * kutunun üstüne biniyordu (Zeynep, 15 Eki 2026). Yalnız iOS'ta yerel görünüm kapanır. */
.it-input[type="date"] { min-width: 0; max-width: 100%; }
@supports (-webkit-touch-callout: none) {
    .it-input[type="date"] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; }
    .it-input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}
.it-field__l .it-req { color: var(--it-danger); margin-left: 2px; }
/* Acil anahtarı (20 Eki 2026): açıkken kırmızı, yanında ne işe yaradığı yazar. */
.it-acil { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; cursor: pointer; }
.it-acil input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.it-acil__sw {
    position: relative; flex: 0 0 auto; width: 36px; height: 20px; border-radius: 999px; background: #CBD5E1;
    transition: background .15s ease;
}
.it-acil__sw::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .2); transition: transform .15s ease;
}
.it-acil input:checked + .it-acil__sw { background: var(--it-danger); }
.it-acil input:checked + .it-acil__sw::after { transform: translateX(16px); }
.it-acil input:focus-visible + .it-acil__sw { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-acil input:disabled + .it-acil__sw { opacity: .5; }
.it-acil__t { font-size: var(--pys-fs-sm); font-weight: 700; color: var(--it-ink); }
.it-input {
    width: 100%; height: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--it-line); background: var(--it-field-bg);
    font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink);
}
.it-input:focus { outline: none; background: #fff; border-color: var(--it-accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }
.it-input[disabled] { color: var(--it-ink-soft); }
textarea.it-input { height: auto; min-height: 76px; padding: 9px 12px; line-height: 1.4; resize: vertical; }
select.it-input { padding-right: 30px; cursor: pointer; }
select.it-input[disabled] { cursor: not-allowed; }
/* Kapsül yalnız filtre şeridinde ve hatırlatma sonrası takip sorusunda kaldı. */
.it-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px;
    border: 1px solid var(--it-line); background: rgba(255, 255, 255, .85);
    font: inherit; font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-ink-soft); cursor: pointer; white-space: nowrap;
}
.it-chip:hover { background: #fff; color: var(--it-ink); }
.it-chip[aria-pressed="true"] { border-color: var(--it-unit-dot, var(--it-accent)); background: #fff; color: var(--it-ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--it-unit-dot, var(--it-accent)) 25%, transparent); }
.it-chip:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 1px; }
.it-chip[disabled] { opacity: .6; cursor: not-allowed; }
.it-hint { font-size: var(--pys-fs-xs); color: var(--it-ink-4); font-weight: 500; }
/* Kayıt no ya da bağlantı: bağlantıysa yanında aç düğmesi. */
.it-ref-row { display: flex; gap: 6px; align-items: center; }
.it-ref-row .it-input { flex: 1 1 auto; min-width: 0; }
.it-ref-open { flex: 0 0 auto; width: 38px; height: 38px; padding: 0; justify-content: center; text-decoration: none; }
.it-error-line { font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-danger); }
.it-error-line[hidden] { display: none; }

.it-tl__txt { margin: 3px 0 0; font-size: var(--pys-fs-sm); line-height: 1.4; color: var(--it-ink); white-space: pre-wrap; word-break: break-word; }
.it-tl__at { display: block; margin-top: 3px; font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); }
/* Kendi hatırlatmasının Geri Al'ı, yazıldıktan sonra 10 dakika (26 Eki 2026). */
.it-tl__geri { margin-top: 6px; }
/* Düzenleme kaydı: değişen her alan bir madde, eski → yeni. */
.it-tl__changes { margin: 4px 0 0; padding-left: 16px; list-style: disc; font-size: var(--pys-fs-sm); line-height: 1.45; color: var(--it-ink); }
.it-tl__changes li::marker { color: var(--it-ink-4); }
.it-tl__f { font-weight: 700; }
.it-tl-empty { font-size: var(--pys-fs-xs); color: var(--it-ink-4); font-weight: 600; padding: 4px 0; }
/* Geçmişte kayda bağlı fotoğraflar; basınca büyük hâli yeni sekmede açılır. */
.it-tl__phs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.it-tl__ph { position: relative; display: block; width: 84px; height: 64px; border-radius: 9px; overflow: hidden; background: #E2E8F0; box-shadow: 0 0 0 1px var(--it-line); }
.it-tl__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.it-tl__ph em { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 4px; background: rgba(15, 23, 42, .68); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; }
.it-tl__ph:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-tl__phs--sm { margin-top: 4px; }
.it-tl__phs--sm .it-tl__ph { width: 44px; height: 34px; border-radius: 6px; }
.it-tl__phs--sm .it-tl__ph em { left: 2px; bottom: 2px; padding: 0 3px; font-size: 8.5px; }

/* Dar ekranda düğme yazısı kırılmaz, sığmayan düğme grubu alt satıra iner. */
.it-drawer__foot { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px 14px; border-top: 1px solid var(--it-line); background: #fff; }
.it-drawer__foot .it-btn { white-space: nowrap; }
.it-drawer__foot-right { margin-left: auto; display: flex; gap: 8px; }
.it-drawer__foot[hidden] { display: none; }
.it-dirty { font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-warn); }
.it-dirty[hidden] { display: none; }
@media (max-width: 560px) {
    .it-form, .it-form__dates { grid-template-columns: 1fr; }
}

/* —— Ana ekran özeti (27 Eyl 2026) ————————————————————————————————————————
 * #page-istakip dışında durduğu için değişkenler burada da tanımlı. Her sayı
 * İş Takip'i o süzgeçle açan bir düğmedir. */
.it-dash {
    --it-ink: #22303A; --it-ink-4: #7B8799; --it-ink-5: #A6B0BE; --it-accent-ink: #3730A3; --it-warn: #B45309;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    padding: 12px 16px; border-radius: 18px;
    background: rgba(255, 255, 255, .92); border: 1px solid rgba(34, 48, 58, .08);
    box-shadow: 0 2px 6px rgba(15, 23, 42, .05), 0 10px 26px rgba(15, 23, 42, .06);
    font-family: var(--pys-font-display, 'Plus Jakarta Sans'), system-ui, sans-serif; color: var(--it-ink);
}
/* Simge sayfa başlığındakiyle aynı. */
.it-dash__icon {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
    color: #fff; background: linear-gradient(135deg, #818CF8 0%, #4F46E5 100%); font-size: var(--pys-fi-md);
    box-shadow: 0 6px 14px rgba(79, 70, 229, .22);
}
/* Aç düğmesi sayıların hemen yanında durur: kart geniş olsa da öğeler iki yana savrulmaz. */
.it-dash__nums { display: flex; flex-wrap: wrap; gap: 4px 8px; flex: 0 1 auto; min-width: 0; }
.it-dash__m {
    display: grid; gap: 1px; min-width: 64px; padding: 5px 10px; border: 0; border-radius: 10px;
    background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--it-ink);
}
.it-dash__m b { font-size: var(--pys-fs-lg); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.it-dash__m span { font-size: var(--pys-fs-xs); font-weight: 500; color: var(--it-ink-4); white-space: nowrap; }
.it-dash__m--zero b { color: var(--it-ink-5); }
.it-dash__m--hot b { color: var(--it-warn); }
.it-dash__m:hover { background: #EEF2FF; }
.it-dash__go {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
    border: 1px solid rgba(15, 23, 42, .08); border-radius: 9px; background: #fff; cursor: pointer;
    font: inherit; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-accent-ink);
}
.it-dash__go i { font-size: var(--pys-fi-xs); }
.it-dash__go:hover { background: #EEF2FF; }
.it-dash__m:focus-visible, .it-dash__go:focus-visible { outline: 2px solid #4F46E5; outline-offset: 1px; }

/* —— Hatırlatma sonrası küçük pencere: sonraki takip ne zaman? ——————————————
 * body'de durur, çekmecenin (150) de üstünde. Değişkenler burada da tanımlı.
 * Ortak bildirim şeridi (hcp-plan-toast) altta 24px'te çıkar, pencere onun üstünde durur. */
.it-pop {
    --it-ink: #22303A; --it-ink-soft: #5C6B85; --it-ink-4: #7B8799; --it-line: rgba(34, 48, 58, .08);
    --it-accent: #4F46E5; --it-field-bg: #F5F7FC; --it-wait: #1D4ED8; --it-wait-soft: #EFF6FF;
    position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 170;
    width: min(440px, calc(100vw - 32px)); padding: 12px 14px 14px; border-radius: 16px;
    background: #fff; border: 1px solid var(--it-line);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .22), 0 2px 6px rgba(15, 23, 42, .08);
    font-family: var(--pys-font-display, 'Plus Jakarta Sans'), system-ui, sans-serif; color: var(--it-ink);
}
.it-pop[hidden] { display: none; }
.it-pop__row { display: flex; align-items: center; gap: 10px; }
.it-pop__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--it-wait-soft); color: var(--it-wait); font-size: var(--pys-fi-sm); flex: 0 0 auto; }
.it-pop__msg { flex: 1 1 auto; font-size: var(--pys-fs-sm); font-weight: 800; }
.it-pop__undo {
    padding: 0; border: 0; background: transparent; cursor: pointer;
    font: inherit; font-weight: 800; color: var(--it-accent); text-decoration: underline;
}
.it-pop__undo[disabled] { opacity: .5; cursor: not-allowed; }
.it-pop__x { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; border: 0; background: transparent; color: var(--it-ink-4); font-size: var(--pys-fs-lg); line-height: 1; cursor: pointer; }
.it-pop__x:hover { background: var(--it-field-bg); color: var(--it-ink); }
.it-pop__q { margin: 8px 0 8px 38px; font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-ink-soft); }
/* Hangi iş olduğu (P-04): tek satır, sığmayan kısım üç noktayla biter. */
.it-pop__is { margin: 4px 0 0 38px; font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-pop__is + .it-pop__opts { margin-top: 10px; }
.it-pop__opts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 38px; }
.it-pop__row + .it-pop__opts { margin-top: 10px; }
.it-pop__opts .it-chip { height: 30px; }
.it-pop__date { height: 30px; width: auto; min-width: 150px; }
.it-pop__date[hidden] { display: none; }
@media (max-width: 560px) {
    .it-pop__q, .it-pop__opts, .it-pop__is { margin-left: 0; }
}

/* Karanlık tema */
html.pys-theme-dark #page-istakip,
html.pys-theme-dark .it-drawer-backdrop {
    --it-ink: #E5EAF2;
    --it-ink-soft: #B8C2D3;
    --it-ink-4: #93A0B5;
    --it-glass: rgba(24, 31, 44, .92);
    --it-line: rgba(255, 255, 255, .1);
    --it-field-bg: #1E2636;
}
html.pys-theme-dark .it-drawer { background: #141A26; }
html.pys-theme-dark .it-drawer__head { background: #1A2130; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06); }
html.pys-theme-dark .it-drawer__foot, html.pys-theme-dark .it-kart { background: #1A2130; }
html.pys-theme-dark .it-table, html.pys-theme-dark .it-unit[aria-selected="true"] { background: #1A2130; }
html.pys-theme-dark .it-btn, html.pys-theme-dark .it-chip, html.pys-theme-dark .it-act__remind, html.pys-theme-dark .it-kh__sel { background: #1E2636; }

/* —— Küçük pencereler: hatırlatma kaydı, bitti haberi, not, iptal, silme talebi ————
 * body'de ortada açılır; iş penceresinin (150) üstünde, ortak soru penceresinin (1100)
 * altında. Değişkenler pencere body'de durduğu için burada da tanımlı. */
.it-win-backdrop {
    --it-ink: #22303A; --it-ink-soft: #5C6B85; --it-ink-4: #7B8799; --it-ink-5: #A6B0BE; --it-line: rgba(34, 48, 58, .08);
    --it-accent: #4F46E5; --it-accent-ink: #3730A3; --it-accent-soft: #EEF2FF; --it-accent-border: #C7D2FE;
    --it-field-bg: #F5F7FC; --it-wait: #1D4ED8; --it-wait-soft: #EFF6FF; --it-wait-border: #BFDBFE;
    --it-danger: #B3202F; --it-danger-soft: #FFF1F2; --it-danger-border: #FECDD3;
    --it-ok: #15803D; --it-ok-soft: #ECFDF3; --it-ok-border: #BBF7D0; --it-warn: #B45309; --it-warn-soft: #FFFBEB; --it-warn-border: #FDE68A;
    --st-kontrol: #1C7A52; --it-primary: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%); --it-hero: linear-gradient(135deg, #6D6AF5 0%, #4338CA 48%, #1E1B4B 100%);
    position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; padding: 24px 16px;
    background: rgba(34, 48, 58, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    font-family: var(--pys-font-display, 'Plus Jakarta Sans'), system-ui, sans-serif; color: var(--it-ink);
    animation: it-fade .18s ease;
}
.it-win-backdrop[hidden] { display: none; }
@keyframes it-fade { from { opacity: 0; } to { opacity: 1; } }
.it-win {
    width: min(560px, 100%); max-height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(34, 48, 58, .32), 0 4px 14px rgba(34, 48, 58, .12);
    animation: it-rise .24s cubic-bezier(.2, .8, .2, 1);
}
@keyframes it-rise { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.it-win__h { padding: 14px 18px 12px; background: linear-gradient(100deg, #EEF0FE 0%, #F4F4FE 42%, #FBFBFD 100%); box-shadow: inset 0 -1px 0 rgba(79, 70, 229, .08); display: flex; align-items: flex-start; gap: 12px; }
.it-win__h > div { min-width: 0; flex: 1; }
.it-win__k { margin: 0; font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-4); }
.it-win__t { margin: 3px 0 0; font-size: var(--pys-fs-md); font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.it-win__x { width: 32px; height: 32px; border-radius: 999px; border: 0; background: transparent; color: var(--it-ink-4); font-size: var(--pys-fs-xl); line-height: 1; cursor: pointer; }
.it-win__x:hover { background: rgba(79, 70, 229, .08); color: var(--it-ink); }
.it-win__b { padding: 14px 18px; display: grid; gap: 12px; overflow: auto; }
.it-win__p { margin: 0; font-size: var(--pys-fs-sm); color: var(--it-ink-soft); line-height: 1.5; }
.it-win__p b { color: var(--it-ink); }
.it-win__hint { margin: 0; font-size: var(--pys-fs-xs); color: var(--it-ink-4); font-weight: 500; }
.it-f { display: grid; gap: 5px; }
.it-f__l { font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-ink-soft); }
.it-win__who { display: inline-flex; align-items: center; gap: 8px; font-size: var(--pys-fs-sm); font-weight: 700; }
.it-win__who i { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--it-wait-soft); color: var(--it-wait); font-size: var(--pys-fi-xs); }
.it-win__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.it-win__chips .it-chip { height: 32px; }
.it-win__chips .it-chip[aria-pressed="true"] { border-color: var(--it-accent); background: #fff; color: var(--it-ink); box-shadow: 0 0 0 2px rgba(79, 70, 229, .22); }
.it-win__date { height: 32px; width: auto; min-width: 150px; }
.it-win__date[hidden] { display: none; }
.it-win__g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.it-win__f { display: flex; align-items: center; gap: 8px; padding: 12px 18px 14px; border-top: 1px solid var(--it-line); }
.it-win__f-right { margin-left: auto; display: flex; gap: 8px; }
.it-win__f .it-btn { height: 34px; padding: 0 12px; border-radius: 10px; font-size: var(--pys-fs-sm); font-weight: 600; }
/* İşi Güncelle sekmeleri: seçili sekme kendi işinin renginde (hatırlatma mavi, not mor,
 * bitti haberi kontrol yeşili), geçmişteki noktalarla aynı. */
.it-win__tabs { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--it-field-bg); border: 1px solid var(--it-line); }
.it-win__tab {
    flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 4px 10px;
    border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: var(--pys-fs-sm); font-weight: 700; line-height: 1.2;
    color: var(--it-ink-soft); cursor: pointer; text-align: center;
}
.it-win__tab:hover { color: var(--it-ink); }
.it-win__tab[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .14); }
.it-win__tab[data-it-wtab="hatirlat"][aria-selected="true"] { color: var(--it-wait); }
.it-win__tab[data-it-wtab="not"][aria-selected="true"] { color: #6D28D9; }
.it-win__tab[data-it-wtab="bitti"][aria-selected="true"] { color: var(--st-kontrol); }
.it-win__tab:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 1px; }
.it-win__pane { display: grid; gap: 12px; }
.it-win__pane[hidden] { display: none; }
@media (max-width: 480px) { .it-win__tab { font-size: var(--pys-fs-xs); gap: 5px; padding: 4px 6px; } }
/* Fotoğraf (20 Eki 2026): pencerede küçük kareler, üstte öncesi/sonrası yazısı (basınca
 * değişir) ve çıkar düğmesi. Sonrası yeşil, öncesi koyu: kapanışın rengiyle aynı dil. */
.it-phs { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.it-ph { position: relative; flex: 0 0 auto; width: 76px; height: 60px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: #E2E8F0; color: var(--it-ink-4); }
.it-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.it-ph--add {
    cursor: pointer; background: #fff; border: 1.5px dashed var(--it-accent-border); color: var(--it-accent);
    align-content: center; gap: 2px; font-size: var(--pys-fs-xs); font-weight: 700;
}
.it-ph--add:hover { background: var(--it-accent-soft); }
.it-ph--add:focus-within { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-ph--add[hidden] { display: none; }
.it-ph__in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.it-ph__tag {
    position: absolute; left: 4px; bottom: 4px; height: 18px; padding: 0 6px; border: 0; border-radius: 5px;
    background: rgba(15, 23, 42, .68); color: #fff; font: inherit; font-size: 10.5px; font-weight: 800; cursor: pointer;
}
.it-ph[data-tag="sonra"] .it-ph__tag { background: rgba(21, 128, 61, .88); }
.it-ph__x {
    position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: 0; border-radius: 999px;
    display: grid; place-items: center; background: rgba(15, 23, 42, .6); color: #fff; font-size: 14px; line-height: 1; cursor: pointer;
}
.it-ph__tag:focus-visible, .it-ph__x:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.it-win__err { margin: 0; font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-danger); }
.it-win__err[hidden] { display: none; }
.it-win textarea.it-input { height: auto; min-height: 56px; padding: 8px 12px; line-height: 1.4; font-weight: 500; }
.it-win .it-input { font-weight: 500; }
.it-dreq { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--it-line); }
.it-dreq:first-child { border-top: 0; padding-top: 0; }
.it-dreq__t { font-weight: 700; }
.it-dreq__m { font-size: var(--pys-fs-xs); color: var(--it-ink-4); font-weight: 600; }
.it-dreq__r { font-size: var(--pys-fs-sm); color: var(--it-ink-soft); }
.it-dreq__a { display: flex; gap: 8px; flex-wrap: wrap; }
.it-dreq__why { display: grid; gap: 8px; }
.it-dreq__why[hidden] { display: none; }
.it-conf { position: fixed; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; z-index: 1200; }
.it-tag--esc { background: var(--it-warn-soft); }
@media (max-width: 560px) { .it-win__g2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    .it-row, .it-row--pre, .it-wk__p i, .it-trow, .it-win, .it-win-backdrop { animation: none !important; transition: none !important; }
    .it-ser, .it-ser::after, .it-ser__t, .it-ser__hizli, .it-ser--flash, .it-ser-k--ac .it-ser__cubuk, .it-birim, .it-hbtn, .it-search { animation: none !important; transition: none !important; }
    .it-row--pre { opacity: 1; transform: none; }
    .it-iz__n--pop, .it-bell--shake { animation: none !important; }
}

/* —— Pencere Kreatif tarzda (Alperen, 20 Eki 2026) ————————————————————————————————
 * Düzenle ve Yeni İş beyaz başlıklı, Yeni İş tek cümle. Okuma kipi 28 Ekim 2026'dan beri
 * Durum Rengi (aşağıda): renkli başlık, tek sütun. Pencere yine ortada. */
.it-drawer.it-drawer--kr { width: min(720px, 100%); }
.it-drawer.it-drawer--oku { width: min(720px, 100%); }
/* Yön A Mürekkep (26 Eki 2026): pencere başlığı beyaz, altında iki piksel mürekkep çizgi; sayılar mürekkep. */
.it-drawer--kr .it-drawer__head { padding: 18px 22px 20px; background: #fff; color: var(--it-ink); box-shadow: inset 0 -2px 0 var(--it-ink); }
.it-drawer--kr .it-drawer__kicker { gap: 8px; margin-bottom: 10px; color: var(--it-ink-4); }
.it-drawer--kr .it-drawer__kicker > i { color: var(--it-ink-4); }
.it-drawer--kr .it-drawer__title { font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--it-ink); }
.it-drawer--kr .it-title-l { color: var(--it-ink-4); }
.it-drawer--kr .it-title-input { border-color: rgba(15, 23, 42, .2); background: #fff; color: var(--it-ink); font-size: 22px; font-weight: 800; }
.it-drawer--kr .it-title-input::placeholder { color: var(--it-ink-5); }
.it-drawer--kr .it-title-input:focus { border-color: var(--it-accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }
.it-drawer--kr .it-title-input[disabled] { background: transparent; }
.it-drawer--kr .it-drawer__close { background: #F3F4F8; color: var(--it-ink); }
.it-drawer--kr .it-drawer__close:hover { background: #E4E7EE; color: var(--it-ink); }
.it-drawer--kr .it-drawer__meta { margin-top: 16px; }
.it-drawer--kr .it-pill { height: 24px; }
.it-kr-no { font-weight: 800; color: var(--it-ink-4); font-variant-numeric: tabular-nums; }
.it-kr-etk { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--it-accent-soft); font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-accent-ink); white-space: nowrap; }
.it-kr-etk i:not(.fas) { width: 9px; height: 9px; border-radius: 3px; background: var(--it-unit-dot, #CBD2DE); }
.it-kr-etk i.fas { font-size: var(--pys-fi-xs); }
.it-kr-etk--acil { background: #B3202F; color: #fff; }
/* Gövde: tek sütun (Durum Rengi, 28 Eki 2026) */
.it-drawer__body.it-kr-govde { grid-template-columns: minmax(0, 1fr); align-items: start; }
/* Kayıt kutusu: hatırlatma, gelişme, bitti haberi, gözden geçirme */
.it-kutu { display: grid; gap: 10px; padding: 16px; border: 2px solid #14142B; border-radius: 16px; background: #fff; }
.it-kutu__q { margin: 0; font-size: var(--pys-fs-md); font-weight: 800; color: #14142B; }
.it-kutu__sec { display: flex; flex-wrap: wrap; gap: 6px; }
.it-kutu__b { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: #F1F2F7; font: inherit; font-size: var(--pys-fs-sm); font-weight: 700; color: #3A4660; cursor: pointer; }
.it-kutu__b i { font-size: var(--pys-fi-xs); }
.it-kutu__b:hover { background: #E7E9F2; }
.it-kutu__b[aria-selected="true"] { background: #14142B; color: #fff; }
.it-kutu__b:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
.it-kutu__pane { display: grid; gap: 10px; }
.it-kutu__pane[hidden] { display: none; }
.it-kutu textarea.it-input { height: auto; min-height: 60px; padding: 10px 12px; background: #F7F8FB; font-weight: 500; line-height: 1.4; }
.it-kutu__satir { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.it-kutu__l { margin-right: 2px; font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-ink-soft); }
.it-kutu .it-win__chips .it-chip { height: 30px; }
.it-kutu .it-win__chips .it-chip[aria-pressed="true"] { border-color: #14142B; background: #fff; color: #14142B; box-shadow: 0 0 0 2px rgba(20, 20, 43, .16); }
.it-kutu .it-win__date { height: 30px; width: auto; min-width: 150px; }
.it-kutu .it-win__date[hidden] { display: none; }
.it-kutu__ozet { margin: 0; font-size: var(--pys-fs-xs); font-weight: 600; line-height: 1.5; color: var(--it-ink-4); }
.it-kutu__ozet b { font-weight: 700; color: var(--it-ink-soft); }
.it-kutu__ozet .it-linkbtn { margin-left: 8px; font-size: var(--pys-fs-xs); }
.it-kutu__ozet .it-linkbtn[hidden] { display: none; }
.it-kutu__ayr { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: #F7F8FB; }
.it-kutu__ayr[hidden] { display: none; }
.it-kutu__ayr .it-input { background: #fff; }
.it-kutu__err { margin: 0; font-size: var(--pys-fs-xs); font-weight: 700; color: var(--it-danger); }
.it-kutu__err[hidden] { display: none; }
.it-kutu__alt { display: flex; justify-content: flex-end; }
.it-kutu__alt .it-btn { height: 36px; border-radius: 10px; }
.it-kutu--ok { border-color: var(--st-kontrol); background: #F6FBF8; }
.it-kutu__iki { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.it-kutu__iki .it-btn { justify-content: center; height: 40px; border-radius: 12px; }
.it-kutu__iki .it-btn--done { border-color: var(--st-kontrol); background: var(--st-kontrol); color: #fff; }
/* —— Pencere Durum Rengi (Alperen, 28 Eki 2026) ——————————————————————————————————
 * Okuma kipinde başlığın rengi işin hâlini söyler: yolunda çivit; altı aydan eski, takip günü ya
 * da termini geçmiş turuncu; bitti dendiyse ve tamamlandıysa yeşil; vazgeçildiyse mor. Başlıkta
 * dev gün sayısı, ad ve çipler; gövdede tek balon, kişiler, dört yuvarlak düğme ve tarih çipleri.
 * Düzenle ve Yeni İş beyaz başlıkla kalır. */
.it-drawer--kr[data-durum] { --it-durum: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%); --it-durum-soft: var(--it-accent-soft); }
.it-drawer--kr[data-durum="uyari"] { --it-durum: linear-gradient(135deg, #D97706 0%, #B45309 100%); --it-durum-soft: var(--it-warn-soft); }
.it-drawer--kr[data-durum="kontrol"] { --it-durum: linear-gradient(135deg, #15803D 0%, #1C7A52 100%); --it-durum-soft: var(--it-ok-soft); }
.it-drawer--kr[data-durum="tamam"] { --it-durum: linear-gradient(135deg, #16A34A 0%, #15803D 100%); --it-durum-soft: var(--it-ok-soft); }
.it-drawer--kr[data-durum="iptal"] { --it-durum: linear-gradient(135deg, #5B4F9A 0%, #4A3F82 100%); --it-durum-soft: #F3F1FA; }
.it-drawer--kr[data-durum] .it-drawer__head { position: relative; z-index: 2; display: block; padding: 16px 20px 18px; background: var(--it-durum); color: #fff; box-shadow: none; }
.it-drawer--kr[data-durum] .it-drawer__kicker { min-height: 34px; margin-bottom: 12px; padding-right: 44px; gap: 8px; color: rgba(255, 255, 255, .8); }
.it-drawer--kr[data-durum] .it-kr-no { color: rgba(255, 255, 255, .78); }
.it-drawer--kr[data-durum] .it-kr-etk { background: rgba(255, 255, 255, .18); color: #fff; }
.it-drawer--kr[data-durum] .it-kr-etk i:not(.fas) { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .75); }
.it-drawer--kr[data-durum] .it-kr-etk--acil { background: #fff; color: #B3202F; }
.it-drawer--kr[data-durum] .it-pill { background: #fff; color: var(--it-ink); }
.it-drawer--kr[data-durum] .it-drawer__titlerow { align-items: center; gap: 18px; }
.it-drawer--kr[data-durum] .it-drawer__title { font-size: 21px; color: #fff; }
.it-drawer--kr[data-durum] .it-drawer__meta { margin-top: 14px; }
.it-drawer--kr[data-durum] .it-drawer__close { position: absolute; top: 16px; right: 20px; width: 34px; height: 34px; background: rgba(255, 255, 255, .18); color: #fff; }
.it-drawer--kr[data-durum] .it-drawer__close:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.it-drawer--kr[data-durum] .it-drawer__close:focus-visible { outline-color: #fff; }
.it-kr-big { flex: none; margin: 0; display: grid; justify-items: start; color: #fff; }
.it-kr-big[hidden] { display: none; }
.it-kr-big b { font-size: 60px; font-weight: 800; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.it-kr-big span { margin-top: 4px; font-size: var(--pys-fs-xs); font-weight: 700; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.it-kr-info { width: 26px; height: 26px; margin-left: 2px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: var(--pys-fi-xs); vertical-align: 3px; cursor: pointer; }
.it-kr-info:hover, .it-kr-info[aria-expanded="true"] { background: #fff; color: var(--it-ink); }
.it-kr-acik { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: var(--pys-fs-sm); line-height: 1.5; color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.it-kr-acik[hidden] { display: none; }
.it-kr-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.it-kr-cip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; font: inherit; font-size: var(--pys-fs-sm); font-weight: 800; white-space: nowrap; text-decoration: none; font-variant-numeric: tabular-nums; }
.it-kr-cip i { font-size: var(--pys-fi-xs); }
a.it-kr-cip, button.it-kr-cip { cursor: pointer; }
a.it-kr-cip:hover, button.it-kr-cip:hover { background: rgba(255, 255, 255, .32); color: #fff; }
.it-kr-cip--dikkat { background: #fff; color: var(--it-warn); }
.it-kr-cip--bos { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); font-weight: 700; }
/* Araçlar kapat düğmesinin solunda sabit; künye satırı sağda onlara yer bırakır, kalabalıksa alta kayar. */
.it-kr-araclar { position: absolute; top: 16px; right: 62px; display: inline-flex; align-items: center; gap: 6px; }
.it-drawer--kr[data-durum] .it-kr-kunye--arac { padding-right: 146px; }
.it-drawer--kr[data-durum] .it-kr-kunye--arac3 { padding-right: 270px; }
.it-kr-arac { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 34px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font: inherit; font-size: var(--pys-fs-sm); font-weight: 700; cursor: pointer; }
.it-kr-arac--yazi { padding: 0 12px; }
.it-kr-arac:hover { background: rgba(255, 255, 255, .3); }
.it-kr-araclar .it-menu__pop { right: 0; left: auto; color: var(--it-ink); }
.it-kr-cip:focus-visible, .it-kr-info:focus-visible, .it-kr-arac:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Gövde: tek sütun */
.it-drawer__body.it-kr-govde { gap: 16px; padding: 18px 20px 22px; }
.it-haber { display: grid; gap: 6px; padding: 14px 16px; border-radius: 6px 18px 18px 18px; background: var(--it-durum-soft, var(--it-field-bg)); }
.it-haber__k { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: var(--pys-fs-xs); font-weight: 600; color: var(--it-ink-soft); }
.it-haber__k b { font-weight: 800; color: var(--it-ink); }
.it-haber__av, .it-kisi__av { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--it-accent); color: #fff; font-size: 10px; font-weight: 800; }
.it-haber .it-tl__txt { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.it-haber .it-tl__changes { margin: 0; }
.it-haber .it-tl__at { margin: 0; }
.it-haber .it-tl__geri { justify-self: start; margin: 2px 0 0; }
.it-haber__bos { margin: 0; font-size: var(--pys-fs-sm); font-weight: 600; color: var(--it-ink-4); }
.it-kisiler { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.it-kisi { display: inline-flex; align-items: center; gap: 8px; font-size: var(--pys-fs-sm); font-weight: 700; color: var(--it-ink); }
.it-kisi .it-kisi__av { width: 30px; height: 30px; font-size: 11px; }
.it-kisi .it-kisi__av--bina { background: #F1F5F9; color: #475569; font-size: 13px; }
button.it-kisi { padding: 0; border: 0; background: transparent; font: inherit; font-size: var(--pys-fs-sm); font-weight: 700; color: var(--it-accent); cursor: pointer; }
button.it-kisi:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; border-radius: 6px; }
.it-kr-govde .it-missing { margin: 0; }
/* Dört yuvarlak düğme: aynı iş her yerde aynı renk (hatırlatma çivit, gelişme mor, bitti yeşil, gözden geçirme gri). */
.it-kr-govde .it-kutu { gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.it-kr-govde .it-kutu__sec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.it-kr-govde .it-kutu__b { height: auto; display: grid; justify-items: center; gap: 8px; padding: 4px 2px; border-radius: 14px; background: transparent; color: var(--it-ink); text-align: center; }
.it-kr-govde .it-kutu__b:hover, .it-kr-govde .it-kutu__b[aria-selected="true"] { background: transparent; color: var(--it-ink); }
.it-kutu__d { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--it-k, #475569); color: #fff; box-shadow: 0 6px 14px rgba(20, 20, 43, .16); transition: transform .15s ease, box-shadow .15s ease; }
.it-kutu__b .it-kutu__d i { font-size: 20px; }
.it-kutu__b--hatirlat { --it-k: #4F46E5; }
.it-kutu__b--not { --it-k: #6D28D9; }
.it-kutu__b--bitti { --it-k: #1C7A52; }
.it-kutu__b--bakildi { --it-k: #475569; }
.it-kr-govde .it-kutu__b:hover .it-kutu__d { transform: translateY(-2px); }
.it-kr-govde .it-kutu__b[aria-selected="true"] .it-kutu__d { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--it-k); }
.it-kutu__panel { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #F7F8FB; }
.it-kutu[data-k=""] .it-kutu__panel { display: none; }
.it-kr-govde .it-kutu textarea.it-input { background: #fff; }
.it-kr-govde .it-kutu--ok { padding: 14px 16px; border-radius: 16px; background: var(--it-ok-soft); }
/* Geçmiş: tarih çipleri, seçilenin kaydı balonda */
.it-gecmis { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--it-line-soft); }
.it-gecmis:empty { display: none; }
.it-gecmis__c { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--it-gc-bg, #F1F5F9); color: var(--it-gc-ink, #475569); font: inherit; font-size: var(--pys-fs-sm); font-weight: 800; white-space: nowrap; cursor: pointer; font-variant-numeric: tabular-nums; }
.it-gecmis__c i { font-size: var(--pys-fi-xs); }
.it-gecmis__c--hatirlatma { --it-gc-bg: var(--it-wait-soft); --it-gc-ink: var(--it-wait); }
.it-gecmis__c--not { --it-gc-bg: #F5F3FF; --it-gc-ink: #6D28D9; }
.it-gecmis__c--durum { --it-gc-bg: var(--it-ok-soft); --it-gc-ink: var(--it-ok); }
.it-gecmis__c--olusturma { --it-gc-bg: var(--it-accent-soft); --it-gc-ink: var(--it-accent-ink); }
.it-gecmis__c[aria-pressed="true"] { background: var(--it-gc-ink); color: #fff; }
.it-gecmis__c:focus-visible { outline: 2px solid var(--it-accent); outline-offset: 2px; }
@media (max-width: 560px) {
    .it-drawer--kr[data-durum] .it-drawer__head { padding: 14px 16px 16px; }
    .it-drawer--kr[data-durum] .it-drawer__close { top: 14px; right: 16px; }
    .it-kr-araclar { top: 14px; right: 58px; }
    .it-kr-arac--yazi { width: 34px; padding: 0; gap: 0; font-size: 0; }
    .it-kr-arac--yazi i { font-size: var(--pys-fi-sm); }
    .it-drawer--kr[data-durum] .it-kr-kunye--arac3 { padding-right: 182px; }
    .it-drawer--kr[data-durum] .it-drawer__titlerow { gap: 12px; }
    .it-drawer--kr[data-durum] .it-drawer__title { font-size: 17px; }
    .it-kr-big b { font-size: 44px; }
    .it-drawer__body.it-kr-govde { padding: 16px; }
    .it-haber .it-tl__txt { font-size: 16px; }
    .it-kutu__d { width: 50px; height: 50px; }
    .it-kr-govde .it-kutu__b { font-size: var(--pys-fs-xs); }
}
@media (prefers-reduced-motion: reduce) { .it-kutu__d { transition: none; } .it-kr-govde .it-kutu__b:hover .it-kutu__d { transform: none; } }
/* Yeni İş: tek cümle */
.it-drawer__body.it-kr-cumle { gap: 4px; padding: 22px 26px 20px; }
.it-cm__p { margin: 0; font-size: 21px; font-weight: 700; line-height: 2.1; letter-spacing: -.01em; color: #14142B; }
.it-cm__kutu { position: relative; display: inline-block; }
.it-cm__kutu::after { content: '\f078'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: #4F46E5; pointer-events: none; }
.it-cm__sec, .it-cm__in {
    height: 38px; padding: 0 10px; border: 0; border-bottom: 3px solid #4F46E5; border-radius: 8px 8px 0 0; background: #F3F2FF;
    font: inherit; font-size: 20px; font-weight: 700; line-height: 38px; color: #3730A3; vertical-align: baseline; outline: none;
}
.it-cm__sec { -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer; field-sizing: content; }
.it-cm__in { field-sizing: content; min-width: 7ch; max-width: 100%; }
.it-cm__in::placeholder { color: #A5A3F0; font-weight: 600; }
.it-cm__sec:focus, .it-cm__in:focus { box-shadow: 0 0 0 3px rgba(79, 70, 229, .2); }
.it-cm__kutu[data-unit]:not([data-unit=""]) .it-cm__sec { border-bottom-color: var(--it-unit-dot); background: color-mix(in srgb, var(--it-unit-dot) 10%, #fff); color: var(--it-unit-ink); }
.it-cm__kutu[data-unit]:not([data-unit=""])::after { color: var(--it-unit-dot); }
.it-cm__tarih[hidden], .it-cm__no[hidden] { display: none; }
.it-cm__tarih { font-size: 17px; }
.it-cm__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--it-line); font-size: var(--pys-fs-sm); }
.it-cm__k { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--it-ink-soft); }
.it-cm__k .it-input { width: auto; height: 34px; }
.it-cm__acik { margin-top: 12px; }
.it-cm__acik[hidden] { display: none; }
@media (max-width: 760px) {
    .it-drawer--kr .it-drawer__title { font-size: 21px; }
    .it-cm__p { font-size: 17px; line-height: 2.2; }
    .it-cm__sec, .it-cm__in { height: 34px; font-size: 16px; line-height: 34px; }
    .it-kutu__iki { grid-template-columns: 1fr; }
}